Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OCEChain/OCEChain
/ functions
Functions
2,183 in github.com/OCEChain/OCEChain
⨍
Functions
2,183
◇
Types & classes
280
↓ 4 callers
Method
WithBlockHeader
(header abci.Header)
types/context.go:179
↓ 4 callers
Method
WithGasMeter
(meter GasMeter)
types/context.go:220
↓ 4 callers
Method
WithMinimumFees
(minFees Coins)
types/context.go:226
↓ 4 callers
Method
WithMultiStore
(ms MultiStore)
types/context.go:177
↓ 4 callers
Method
WithSequence
WithSequence returns a copy of the context with an updated sequence number.
x/auth/client/txbuilder/txbuilder.go:74
↓ 4 callers
Method
addOrUpdateValidatorSlashingPeriod
Stored by validator Tendermint address (not operator address) This function sets a validator slashing period for a particular validator, start height,
x/slashing/slashing_period.go:73
↓ 4 callers
Function
addrKey
(address types.AccAddress)
crypto/keys/keybase.go:465
↓ 4 callers
Function
cp
----------------------------------------
store/iavlstore.go:436
↓ 4 callers
Method
getTop
()
store/queue.go:24
↓ 4 callers
Method
getValidatorSigningInfo
Stored by *validator* address (not operator address)
x/slashing/signing_info.go:11
↓ 4 callers
Function
inputIsTty
inputIsTty returns true iff we have an interactive prompt, where we can disable echo and request to repeat the password. If false, we can optimize for
client/input.go:114
↓ 4 callers
Function
isHardened
(field string)
crypto/keys/hd/hdpath.go:124
↓ 4 callers
Method
key
(key []byte)
store/prefixstore.go:28
↓ 4 callers
Function
newError
(codespace sdk.CodespaceType, code sdk.CodeType, msg string)
x/bank/errors.go:56
↓ 4 callers
Method
persistDerivedKey
(seed []byte, passwd, name, fullHdPath string)
crypto/keys/keybase.go:178
↓ 4 callers
Function
printCreate
(info keys.Info, seed string)
client/keys/add.go:125
↓ 4 callers
Function
printStep
()
client/keys/new.go:186
↓ 4 callers
Function
query
(node string, key []byte, storeName string)
x/ibc/client/cli/relay.go:165
↓ 4 callers
Function
queryDelegator
(cliCtx context.CLIContext, cdc *codec.Codec, endpoint string)
x/stake/client/rest/utils.go:85
↓ 4 callers
Function
readInfo
decoding info
crypto/keys/types.go:190
↓ 4 callers
Method
setValidatorSigningInfo
Stored by *validator* address (not operator address)
x/slashing/signing_info.go:39
↓ 4 callers
Method
skipUntilExistsOrInvalid
Fast forwards cache (or parent+cache in case of deleted items) until current item exists, or until iterator becomes invalid. Returns whether the itera
store/cachemergeiterator.go:175
↓ 4 callers
Method
waitInit
()
store/iavlstore.go:409
↓ 3 callers
Method
ABCICode
Implements ABCIError.
types/errors.go:243
↓ 3 callers
Method
AddCoins
(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins)
x/bank/keeper.go:24
↓ 3 callers
Method
AddCoins
AddCoins adds amt to the coins at the addr.
x/bank/keeper.go:64
↓ 3 callers
Method
AddRoute
(r string, h sdk.Handler)
baseapp/router.go:11
↓ 3 callers
Function
AddressStoreKey
Turn an address to key used to get it from the account store
x/auth/keeper.go:47
↓ 3 callers
Method
ApplyAndReturnValidatorSetUpdates
Apply and return accumulated updates to the bonded validator set. Also, * Updates the active valset as keyed by LastValidatorPowerKey. * Updates the t
x/stake/keeper/val_state_change.go:26
↓ 3 callers
Method
BondedTokens
Get the bonded tokens which the validator holds
x/stake/types/validator.go:428
↓ 3 callers
Method
CreateKey
CreateKey takes a mnemonic and derives, a password. This method is temporary
crypto/keys/types.go:27
↓ 3 callers
Method
Delegate
_____________________________________________________________________________________ Perform a delegation, set/update everything necessary within the
x/stake/keeper/delegation.go:364
↓ 3 callers
Method
Delegation
(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress)
x/distribution/types/keepers.go:9
↓ 3 callers
Method
DelegatorShareExRate
DelegatorShareExRate gets the exchange rate of tokens over delegator shares. UNITS: tokens/delegator-shares
x/stake/types/validator.go:420
↓ 3 callers
Function
EgressLengthKey
Stores the number of outgoing IBC packets under "egress/index".
x/ibc/mapper.go:123
↓ 3 callers
Function
ElemKey
Key for the elements of the list
store/list.go:17
↓ 3 callers
Function
EnrichCtxWithGas
EnrichCtxWithGas calculates the gas estimate that would be consumed by the transaction and set the transaction's respective value accordingly.
client/utils/utils.go:64
↓ 3 callers
Function
ErrCommissionNegative
(codespace sdk.CodespaceType)
x/stake/types/errors.go:60
↓ 3 callers
Function
ErrInvalidGenesis
(codespace sdk.CodespaceType, msg string)
x/gov/errors.go:65
↓ 3 callers
Function
ErrNilDelegatorAddr
(codespace sdk.CodespaceType)
x/distribution/types/errors.go:16
↓ 3 callers
Method
GasConsumed
()
types/gas.go:30
↓ 3 callers
Function
GenTx
GenTx generates a signed mock transaction.
x/mock/app.go:145
↓ 3 callers
Function
GetDelegationKey
______________________________________________________________________________ gets the key for delegator bond with validator VALUE: stake/types.Deleg
x/stake/keeper/key.go:113
↓ 3 callers
Function
GetDelegatorWithdrawAddrKey
gets the prefix for a delegator's withdraw info
x/distribution/keeper/key.go:44
↓ 3 callers
Method
GetDeposit
===================================================== Deposits Gets the deposit of a specific depositer on a specific proposal
x/gov/keeper.go:344
↓ 3 callers
Method
GetJailed
()
types/stake.go:39
↓ 3 callers
Method
GetKVStore
(StoreKey)
types/store.go:68
↓ 3 callers
Function
GetKeyBase
TODO make keybase take a database not load from the directory GetKeyBase initializes a read-only KeyBase based on the configuration.
client/keys/utils.go:81
↓ 3 callers
Method
GetLastTotalPower
(ctx sdk.Context)
x/distribution/types/keepers.go:13
↓ 3 callers
Method
GetLastValidatorPower
(ctx sdk.Context, valAddr sdk.ValAddress)
x/distribution/types/keepers.go:14
↓ 3 callers
Function
GetLastValidatorPowerKey
get the bonded validator index key for an operator address
x/stake/keeper/key.go:70
↓ 3 callers
Method
GetMsgs
Gets the Msg.
types/tx_msg.go:37
↓ 3 callers
Method
GetParams
______________________________________________________________________ get inflation params from the global param store
x/mint/keeper.go:76
↓ 3 callers
Function
GetPassword
GetPassword will prompt for a password one-time (to sign a tx) It enforces the password length
client/input.go:25
↓ 3 callers
Method
GetPower
validation consensus address
types/stake.go:45
↓ 3 callers
Function
GetREDsKey
______________ gets the prefix keyspace for redelegations from a delegator
x/stake/keeper/key.go:244
↓ 3 callers
Function
GetRedelegationTimeKey
gets the prefix for all unbonding delegations from a delegator
x/stake/keeper/key.go:236
↓ 3 callers
Function
GetString
GetString simply returns the trimmed string output of a given reader.
client/input.go:99
↓ 3 callers
Method
GetSubmitTime
()
x/gov/proposals.go:34
↓ 3 callers
Method
GetTallyResult
()
x/gov/proposals.go:31
↓ 3 callers
Method
GetTotalValAccum
get the total validator accum for the fee pool without modifying the state
x/distribution/types/fee_pool.go:22
↓ 3 callers
Function
GetUBDsKey
______________ gets the prefix for all unbonding delegations from a delegator
x/stake/keeper/key.go:152
↓ 3 callers
Method
GetUnbondingDelegation
return a unbonding delegation
x/stake/keeper/delegation.go:97
↓ 3 callers
Function
GetUnbondingDelegationTimeKey
gets the prefix for all unbonding delegations from a delegator
x/stake/keeper/key.go:162
↓ 3 callers
Method
GetValidatorAddr
delegator AccAddress for the bond
types/stake.go:93
↓ 3 callers
Function
GetValidatorByConsAddrKey
gets the key for the validator with pubkey VALUE: validator operator address ([]byte)
x/stake/keeper/key.go:51
↓ 3 callers
Function
GetValidatorKey
~220,000,000 atoms created at launch gets the key for the validator with address VALUE: stake/types.Validator
x/stake/keeper/key.go:45
↓ 3 callers
Function
GetValidatorMissedBlockBitArrayKey
stored by *Tendermint* address (not operator address)
x/slashing/keys.go:38
↓ 3 callers
Method
GetVotingStartTime
()
x/gov/proposals.go:43
↓ 3 callers
Method
HasValidatorDistInfo
check whether a validator has distribution info
x/distribution/keeper/validator.go:9
↓ 3 callers
Method
IsAllGTE
IsAllGTE returns True iff for every denom in coins, the denom is present at an equal or greater amount in coinsB.
types/coin.go:199
↓ 3 callers
Method
IsInt64
IsInt64 returns true if Int64() not panics
types/int.go:146
↓ 3 callers
Method
IterateDelegations
(ctx sdk.Context, delegator sdk.AccAddress, fn func(index int64, delegation sdk.Delegation) (stop bool))
x/distribution/types/keepers.go:7
↓ 3 callers
Method
Key
Implements Iterator
store/prefixstore.go:165
↓ 3 callers
Function
KeyProposal
Key for getting a specific proposal from the store
x/gov/keeper_keys.go:23
↓ 3 callers
Method
KeyValuePairs
()
x/params/subspace/pair.go:14
↓ 3 callers
Function
KeyVote
Key for getting a specific vote from the store
x/gov/keeper_keys.go:33
↓ 3 callers
Method
LTE
less than
types/decimal.go:183
↓ 3 callers
Method
LastCommitID
()
types/store.go:37
↓ 3 callers
Method
MinSignedPerWindow
Downtime slashing thershold - default 50% of the SignedBlocksWindow
x/slashing/params.go:93
↓ 3 callers
Method
Mod
Mod returns remainder after dividing with Int
types/int.go:239
↓ 3 callers
Method
Neg
Neg negates Int
types/int.go:252
↓ 3 callers
Method
Neg
less than or equal
types/decimal.go:184
↓ 3 callers
Function
NewIntFromBigInt
NewIntFromBigInt constructs Int from big.Int
types/int.go:92
↓ 3 callers
Method
Next
Next implements Iterator
store/cachemergeiterator.go:55
↓ 3 callers
Method
OnValidatorCreated
(ctx Context, valAddr ValAddress)
types/stake.go:118
↓ 3 callers
Method
Plus
Plus combines two sets of coins CONTRACT: Plus will never return Coins where one Coin has a 0 amount.
types/coin.go:129
↓ 3 callers
Method
ProofOp
ProofOp return a merkle proof operation from a given multi-store proof operation.
store/multistoreproof.go:86
↓ 3 callers
Method
Route
(path string)
baseapp/router.go:12
↓ 3 callers
Method
SendCoins
(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins)
x/bank/keeper.go:90
↓ 3 callers
Method
SetCoins
(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins)
x/bank/keeper.go:22
↓ 3 callers
Method
SetDelegation
set the delegation
x/stake/keeper/delegation.go:61
↓ 3 callers
Method
SetInitChainer
(initChainer sdk.InitChainer)
baseapp/options.go:63
↓ 3 callers
Method
SetIntraTxCounter
set the current in-block validator operation counter
x/stake/keeper/keeper.go:136
↓ 3 callers
Method
SetRedelegation
set a redelegation and associated index
x/stake/keeper/delegation.go:277
↓ 3 callers
Method
SetStatus
(ProposalStatus)
x/gov/proposals.go:29
↓ 3 callers
Method
SetUnbondingDelegation
set the unbonding delegation and associated index
x/stake/keeper/delegation.go:142
↓ 3 callers
Method
SetValidatorQueueTimeSlice
Sets a specific validator queue timeslice.
x/stake/keeper/validator.go:323
↓ 3 callers
Method
SignStdTx
SignStdTx appends a signature to a StdTx and returns a copy of a it. If append is false, it replaces the signatures already attached with the new sign
x/auth/client/txbuilder/txbuilder.go:166
↓ 3 callers
Method
TracingEnabled
TracingEnabled returns if tracing is enabled for the MultiStore.
types/store.go:71
← previous
next →
201–300 of 2,183, ranked by callers