MCPcopy Create free account

hub / github.com/OCEChain/OCEChain / functions

Functions2,183 in github.com/OCEChain/OCEChain

↓ 1 callersFunctionNewCommission
NewCommission returns an initialized validator commission.
x/stake/types/commission.go:38
↓ 1 callersFunctionNewCommissionWithTime
NewCommission returns an initialized validator commission with a specified update time which should be the current block BFT time.
x/stake/types/commission.go:49
↓ 1 callersFunctionNewContext
(config *cfg.Config, logger log.Logger)
server/util.go:40
↓ 1 callersFunctionNewDecCoinFromCoin
(coin sdk.Coin)
x/distribution/types/dec_coin.go:23
↓ 1 callersFunctionNewDecFromBigIntWithPrec
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision
types/decimal.go:93
↓ 1 callersFunctionNewDecFromIntWithPrec
create a new Dec from big integer with decimal place at prec CONTRACT: prec <= Precision
types/decimal.go:107
↓ 1 callersFunctionNewDecFromStr
create a decimal from an input decimal string. valid must come in the form: (-) whole integers (.) decimal integers examples of acceptable input inclu
types/decimal.go:126
↓ 1 callersFunctionNewDecWithPrec
create a new Dec from integer with decimal place at prec CONTRACT: prec <= Precision
types/decimal.go:79
↓ 1 callersFunctionNewDelegationDistInfo
(delegatorAddr sdk.AccAddress, valOperatorAddr sdk.ValAddress, currentHeight int64)
x/distribution/types/delegator_info.go:14
↓ 1 callersFunctionNewGasMeter
NewGasMeter returns a reference to a new basicGasMeter.
types/gas.go:40
↓ 1 callersFunctionNewGenesisState
(feePool FeePool, communityTax, baseProposerReward, bonusProposerReward sdk.Dec, vdis []ValidatorDistInfo, dd
x/distribution/types/genesis.go:24
↓ 1 callersFunctionNewGenesisState
(minter Minter, params Params)
x/mint/genesis.go:13
↓ 1 callersFunctionNewHandler
Handle all "gov" type messages.
x/gov/handler.go:11
↓ 1 callersFunctionNewInfiniteGasMeter
NewInfiniteGasMeter returns a reference to a new infiniteGasMeter.
types/gas.go:63
↓ 1 callersFunctionNewKeeper
(cdc *codec.Codec, key sdk.StoreKey, paramSpace params.Subspace, ck types.BankKeeper, sk types.StakeKeeper, f
x/distribution/keeper/keeper.go:23
↓ 1 callersFunctionNewKeeper
NewKeeper returns a governance keeper. It handles: - submitting governance proposals - depositing funds into proposals, and activating upon sufficient
x/gov/keeper.go:70
↓ 1 callersFunctionNewKeeper
NewKeeper creates a slashing keeper
x/slashing/keeper.go:26
↓ 1 callersFunctionNewKeeper
(cdc *codec.Codec, key, tkey sdk.StoreKey, ck bank.Keeper, paramstore params.Subspace, codespace sdk.Codespace
x/stake/keeper/keeper.go:25
↓ 1 callersFunctionNewList
NewList constructs new List
store/list.go:29
↓ 1 callersFunctionNewMsgCreateValidatorOnBehalfOf
Creates validator msg by delegator address on behalf of validator address
x/stake/types/msg.go:38
↓ 1 callersFunctionNewMultiStoreProof
(storeInfos []storeInfo)
store/multistoreproof.go:17
↓ 1 callersFunctionNewParams
NewParams creates a BIP 44 parameter object from the params: m / purpose' / coin_type' / account' / change / address_index
crypto/keys/hd/hdpath.go:47
↓ 1 callersFunctionNewPubKey
(pk string)
x/stake/keeper/test_common.go:125
↓ 1 callersFunctionNewQueryRouter
nolint NewRouter - create new router TODO either make Function unexported or make return type (router) Exported
baseapp/queryrouter.go:20
↓ 1 callersFunctionNewRouter
nolint NewRouter - create new router TODO either make Function unexported or make return type (router) Exported
baseapp/router.go:28
↓ 1 callersFunctionNewSubspace
NewSubspace constructs a store with namestore
x/params/subspace/subspace.go:24
↓ 1 callersMethodNewTextProposal
===================================================== Proposals Creates a NewProposal
x/gov/keeper.go:87
↓ 1 callersFunctionNewUintFromBigInt
NewUintFromBigUint constructs Uint from big.Uint
types/int.go:323
↓ 1 callersFunctionNewValidator
NewValidator - initialize a new validator
x/stake/types/validator.go:43
↓ 1 callersFunctionNewValidatorDistInfo
(operatorAddr sdk.ValAddress, currentHeight int64)
x/distribution/types/validator_info.go:41
↓ 1 callersMethodNext
Implements Iterator
store/prefixstore.go:154
↓ 1 callersMethodNextInflation
get the next inflation rate for the hour
x/mint/minter.go:48
↓ 1 callersFunctionNodeInfoRequestHandlerFn
REST REST handler for node info
client/rpc/status.go:68
↓ 1 callersFunctionNodeSyncingRequestHandlerFn
REST handler for node syncing
client/rpc/status.go:83
↓ 1 callersFunctionNodeVersionRequestHandler
connected node version REST handler endpoint
client/lcd/version.go:18
↓ 1 callersMethodOnDelegationCreated
(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress)
x/stake/keeper/hooks.go:44
↓ 1 callersMethodOnDelegationRemoved
Must be called when a delegation's shares are modified
types/stake.go:128
↓ 1 callersMethodOnDelegationRemoved
(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress)
x/stake/keeper/hooks.go:56
↓ 1 callersMethodOnDelegationSharesModified
Must be called when a delegation is created
types/stake.go:127
↓ 1 callersMethodOnValidatorModified
(ctx sdk.Context, valAddr sdk.ValAddress)
x/stake/keeper/hooks.go:14
↓ 1 callersFunctionParamTypeTable
______________________________________________________________________ PARAM STORE Type declaration for parameters
x/distribution/keeper/keeper.go:112
↓ 1 callersFunctionParamTypeTable
ParamTable for stake module
x/mint/keeper.go:42
↓ 1 callersFunctionParamTypeTable
Type declaration for parameters
x/gov/keeper.go:30
↓ 1 callersFunctionParamTypeTable
ParamTypeTable for slashing module
x/slashing/params.go:27
↓ 1 callersFunctionParamTypeTable
ParamTable for stake module
x/stake/keeper/params.go:17
↓ 1 callersFunctionParseCoin
ParseCoin parses a cli input for one coin type, returning errors if invalid. This returns an error on an empty string as well.
types/coin.go:331
↓ 1 callersFunctionParseFloat64OrReturnBadRequest
ParseFloat64OrReturnBadRequest converts s to a float64 value. It returns a default value, defaultIfEmpty, if the string is empty.
client/utils/rest.go:84
↓ 1 callersMethodPlus
Adds amounts of two coins with same denom
types/coin.go:71
↓ 1 callersMethodPostIBCPacket
XXX: This is not the public API. This will change in MVP2 and will henceforth only be invoked from another module directly and not through a user tran
x/ibc/mapper.go:32
↓ 1 callersFunctionPostProcessResponse
PostProcessResponse performs post process for rest response
client/utils/rest.go:265
↓ 1 callersFunctionPrefixActiveProposalQueueTime
Returns the key for a proposalID in the activeProposalQueue
x/gov/keeper_keys.go:48
↓ 1 callersFunctionPrefixInactiveProposalQueueTime
Returns the key for a proposalID in the activeProposalQueue
x/gov/keeper_keys.go:65
↓ 1 callersFunctionPrintPrefixed
PrintPrefixed prints a string with > prefixed for use in prompts.
client/input.go:130
↓ 1 callersMethodProcessProvisions
as defined by a julian year of 365.25 days process provisions for an hour period
x/mint/minter.go:37
↓ 1 callersFunctionProposalStatusFromString
ProposalStatusToString turns a string into a ProposalStatus
x/gov/proposals.go:236
↓ 1 callersFunctionProposalTypeFromString
String to proposalType byte. Returns ff if invalid.
x/gov/proposals.go:139
↓ 1 callersFunctionQueryAccountRequestHandlerFn
query accountREST Handler
x/auth/client/rest/query.go:33
↓ 1 callersFunctionQueryBalancesRequestHandlerFn
query accountREST Handler
x/auth/client/rest/query.go:71
↓ 1 callersFunctionQueryKeysRequestHandler
REST query key list REST handler
client/keys/list.go:37
↓ 1 callersFunctionQueryTxCmd
QueryTxCmd implements the default command for a tx query.
client/tx/query.go:26
↓ 1 callersFunctionQueryTxRequestHandlerFn
REST transaction query REST handler
client/tx/query.go:141
↓ 1 callersFunctionRandFromBigInterval
RandFromBigInterval chooses an interval uniformly from the provided list of BigIntervals, and then chooses an element from an interval uniformly at ra
x/mock/test_utils.go:24
↓ 1 callersFunctionReadGasFlag
ParseGasFlag parses the value of the --gas flag.
client/flags.go:118
↓ 1 callersFunctionReadOrCreatePrivValidator
ReadOrCreatePrivValidator read of create the private key file for this config
oce/utils.go:32
↓ 1 callersFunctionReadPassphraseFromStdin
ReadPassphraseFromStdin attempts to read a passphrase from STDIN return an error upon failure.
client/keys/utils.go:66
↓ 1 callersFunctionRecoverRequestHandler
RecoverRequestHandler performs key recover request
client/keys/add.go:277
↓ 1 callersMethodRedelegationQueueIterator
Returns all the redelegation queue timeslices from time 0 until endTime
x/stake/keeper/delegation.go:342
↓ 1 callersMethodRefundDeposits
Returns and deletes all the deposits on a specific proposal
x/gov/keeper.go:413
↓ 1 callersFunctionRegisterAmino
RegisterAmino registers all go-crypto related types in the given (amino) codec.
crypto/amino.go:16
↓ 1 callersFunctionRegisterCodec
Register concrete types on codec codec
x/distribution/types/codec.go:8
↓ 1 callersFunctionRegisterCodec
Register concrete types on codec codec for default AppAccount
x/auth/codec.go:8
↓ 1 callersFunctionRegisterCodec
Register concrete types on codec codec
x/bank/codec.go:8
↓ 1 callersFunctionRegisterCodec
Register concrete types on codec codec
x/gov/codec.go:8
↓ 1 callersFunctionRegisterCodec
Register concrete types on codec codec
x/stake/types/codec.go:8
↓ 1 callersFunctionRegisterCrypto
Register the go-crypto to the codec
codec/codec.go:20
↓ 1 callersMethodRegisterNext
RegisterNext reserves and returns the next available codespace, starting from a default, and panics if the maximum codespace is reached
types/codespacer.go:16
↓ 1 callersMethodRegisterOrPanic
RegisterOrPanic reserved a codespace or panics if it is unavailable
types/codespacer.go:30
↓ 1 callersMethodRemoveDelShares
RemoveDelShares removes delegator shares from a validator.
x/stake/types/validator.go:406
↓ 1 callersMethodRemoveDelegation
remove a delegation from store
x/stake/keeper/delegation.go:68
↓ 1 callersMethodRemoveDelegationDistInfo
remove a delegator distribution info
x/distribution/keeper/delegation.go:38
↓ 1 callersMethodRemoveRedelegation
remove a redelegation object and associated index
x/stake/keeper/delegation.go:302
↓ 1 callersMethodRemoveTokens
removes tokens from a validator
x/stake/types/validator.go:362
↓ 1 callersMethodRemoveUnbondingDelegation
remove the unbonding delegation object and associated index
x/stake/keeper/delegation.go:151
↓ 1 callersMethodRemoveValidatorDistInfo
remove a validator distribution info
x/distribution/keeper/validator.go:38
↓ 1 callersMethodRemoveValidatorTokens
Update the tokens of an existing validator, update the validators power index key
x/stake/keeper/validator.go:158
↓ 1 callersMethodRemoveValidatorTokensAndShares
Update the tokens of an existing validator, update the validators power index key
x/stake/keeper/validator.go:145
↓ 1 callersFunctionRequireProof
RequireProof returns whether proof is required for the subpath.
store/multistoreproof.go:31
↓ 1 callersMethodSeal
()
baseapp/options.go:116
↓ 1 callersFunctionSearchTxCmd
default client command to search through tagged transactions
client/tx/search.go:28
↓ 1 callersFunctionSearchTxRequestHandlerFn
REST Search Tx REST Handler
client/tx/search.go:140
↓ 1 callersFunctionSendRequestHandlerFn
SendRequestHandlerFn - http request handler to send coins to a address.
x/bank/client/rest/sendtx.go:35
↓ 1 callersMethodSet
Set() stores the element to the given position Setting element out of range will break length counting Use Push() instead of Set() to append a new ele
store/list.go:59
↓ 1 callersMethodSet
Set parameter, return error if stored parameter has different type from input Also set to the transient store to record change
x/params/subspace/subspace.go:117
↓ 1 callersMethodSetAddress
(sdk.AccAddress)
x/auth/account.go:19
↓ 1 callersMethodSetBeginBlocker
(beginBlocker sdk.BeginBlocker)
baseapp/options.go:70
↓ 1 callersMethodSetCoins
(sdk.Coins)
x/auth/account.go:28
↓ 1 callersMethodSetDepositEndTime
(time.Time)
x/gov/proposals.go:38
↓ 1 callersMethodSetIngressSequence
TODO add description
x/ibc/mapper.go:96
↓ 1 callersMethodSetInitialCommission
SetInitialCommission attempts to set a validator's initial commission. An error is returned if the commission is invalid.
x/stake/types/validator.go:373
↓ 1 callersMethodSetLastValidatorPower
Set the last validator power.
x/stake/keeper/keeper.go:109
← previousnext →801–900 of 2,183, ranked by callers