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
↓ 3 callers
Method
Type
Returns a human-readable string for the message, intended for utilization within tags
types/tx_msg.go:16
↓ 3 callers
Method
UpdateStatus
UpdateStatus updates the location of the shares within a validator to reflect the new status
x/stake/types/validator.go:328
↓ 3 callers
Method
Valid
Implements Iterator
store/prefixstore.go:149
↓ 3 callers
Method
ValidatorByConsAddr
(ctx sdk.Context, consAddr sdk.ConsAddress)
x/distribution/types/keepers.go:11
↓ 3 callers
Method
Value
Value implements Iterator
store/cachemergeiterator.go:115
↓ 3 callers
Method
WithBlockHeight
(height int64)
types/context.go:196
↓ 3 callers
Method
WithCodec
WithCodec returns a copy of the context with an updated codec.
client/context/context.go:173
↓ 3 callers
Method
WithTracingContext
WithTracingContext sets the tracing context for a MultiStore. It is implied that the caller should update the context when necessary between tracing o
types/store.go:80
↓ 3 callers
Method
WithdrawToDelegator
___________________________________________________________________________________________ withdraw all rewards for a single delegation NOTE: This ge
x/distribution/keeper/delegation.go:111
↓ 3 callers
Function
addCoins
AddCoins adds amt to the coins at the addr.
x/bank/keeper.go:210
↓ 3 callers
Method
assertNotSealed
()
types/config.go:35
↓ 3 callers
Method
assertValid
()
store/memiterator.go:41
↓ 3 callers
Method
assertValid
If not valid, panics. NOTE: May have side-effect of iterating over cache.
store/cachemergeiterator.go:228
↓ 3 callers
Method
assertValidKey
---------------------------------------- etc
store/cachekvstore.go:194
↓ 3 callers
Method
bondedTokensToLoose
(bondedTokens sdk.Dec)
x/stake/types/pool.go:61
↓ 3 callers
Function
chopPrecisionAndRound
____ __| |__ "chop 'em ` \ round!" ___|| ~ _ -bankers | | __ | | | __|__|__ |_____: / | $$$ | |________| nol
types/decimal.go:299
↓ 3 callers
Function
contains
contains checks if the a given query contains one of the tx types
x/stake/client/rest/utils.go:20
↓ 3 callers
Function
cpIncr
wrapping sdk.PrefixEndBytes
store/prefixstore.go:196
↓ 3 callers
Function
errMissingName
()
client/keys/errors.go:9
↓ 3 callers
Function
getAddrPubkeyRelationKey
(address []byte)
x/slashing/keys.go:57
↓ 3 callers
Function
getBlock
(cliCtx context.CLIContext, height *int64)
client/rpc/block.go:34
↓ 3 callers
Function
getNodeStatus
(cliCtx context.CLIContext)
client/rpc/status.go:30
↓ 3 callers
Function
getState
Returns the applicantion's deliverState if app is in runTxModeDeliver, otherwise it returns the application's checkstate.
baseapp/baseapp.go:584
↓ 3 callers
Function
getValidators
(cliCtx context.CLIContext, height *int64)
client/rpc/validators.go:67
↓ 3 callers
Function
hasCoins
HasCoins returns whether or not an account has at least amt coins.
x/bank/keeper.go:191
↓ 3 callers
Function
isAlphaNumeric
(key []byte)
x/params/subspace/table.go:29
↓ 3 callers
Method
looseTokensToBonded
_______________________________________________________________________
x/stake/types/pool.go:52
↓ 3 callers
Function
marshalBinaryPanic
-------------------------- Functions for accessing the underlying KVStore.
x/ibc/mapper.go:63
↓ 3 callers
Method
multiStore
NOTE: Do not expose MultiStore. MultiStore exposes all the keys. Instead, pass the context and the store key.
types/context.go:149
↓ 3 callers
Function
newPubKey
(pk string)
x/slashing/test_common.go:100
↓ 3 callers
Function
openDB
(rootDir string)
server/constructors.go:25
↓ 3 callers
Function
openTraceWriter
(traceWriterFile string)
server/constructors.go:31
↓ 3 callers
Method
peekCurrentProposalID
Peeks the next available ProposalID without incrementing it
x/gov/keeper.go:221
↓ 3 callers
Function
precisionMultiplier
get the precision multiplier, do not mutate result
types/decimal.go:63
↓ 3 callers
Method
query
query performs a query from a Tendermint node with the provided store name and path.
client/context/query.go:142
↓ 3 callers
Function
queryBonds
(cliCtx context.CLIContext, cdc *codec.Codec, endpoint string)
x/stake/client/rest/utils.go:52
↓ 3 callers
Function
queryValidator
(cliCtx context.CLIContext, cdc *codec.Codec, endpoint string)
x/stake/client/rest/utils.go:115
↓ 3 callers
Function
readLineFromBuf
readLineFromBuf reads one line from stdin. Subsequent calls reuse the same buffer, so we don't lose any input when reading a password twice (to verify
client/input.go:121
↓ 3 callers
Method
setCacheValue
Only entrypoint to mutate ci.cache.
store/cachekvstore.go:207
↓ 3 callers
Method
setCheckState
(header abci.Header)
baseapp/baseapp.go:214
↓ 3 callers
Function
setCoins
(ctx sdk.Context, am auth.AccountKeeper, addr sdk.AccAddress, amt sdk.Coins)
x/bank/keeper.go:175
↓ 3 callers
Method
setCollectedFees
(ctx sdk.Context, coins sdk.Coins)
x/auth/feekeeper.go:43
↓ 3 callers
Method
setDeposit
(ctx sdk.Context, proposalID uint64, depositerAddr sdk.AccAddress, deposit Deposit)
x/gov/keeper.go:355
↓ 3 callers
Method
setValidatorMissedBlockBitArray
Stored by *validator* address (not operator address)
x/slashing/signing_info.go:77
↓ 3 callers
Function
subtractCoins
SubtractCoins subtracts amt from the coins at the addr.
x/bank/keeper.go:197
↓ 3 callers
Method
unbond
unbond the the delegation return
x/stake/keeper/delegation.go:410
↓ 3 callers
Method
writeInfo
(info Info, name string)
crypto/keys/keybase.go:457
↓ 3 callers
Method
writeOfflineKey
(pub tmcrypto.PubKey, name string)
crypto/keys/keybase.go:451
↓ 2 callers
Method
ABCILog
Implements ABCIError.
types/errors.go:258
↓ 2 callers
Method
Add
absolute value addition
types/decimal.go:188
↓ 2 callers
Method
AddCollectedFees
(sdk.Context, sdk.Coins)
x/mint/expected_keepers.go:16
↓ 2 callers
Method
AddDeposit
Adds or updates a deposit of a specific depositer on a specific proposal Activates voting period when appropriate
x/gov/keeper.go:363
↓ 2 callers
Function
AddressFromLastValidatorPowerKey
Get the validator operator address from LastValidatorPowerKey
x/stake/keeper/key.go:56
↓ 2 callers
Function
Bech32KeysOutput
create a list of KeyOutput in bech32 format
client/keys/utils.go:133
↓ 2 callers
Method
BondedRatio
(ctx sdk.Context)
x/mint/expected_keepers.go:10
↓ 2 callers
Method
BroadcastTxAsync
BroadcastTxAsync broadcasts transaction bytes to a Tendermint node asynchronously.
client/context/broadcast.go:86
↓ 2 callers
Method
CacheWrap
CacheWrap recursively wraps again.
types/store.go:245
↓ 2 callers
Method
CacheWrapWithTrace
CacheWrapWithTrace recursively wraps again with tracing enabled.
types/store.go:248
↓ 2 callers
Method
Clone
()
types/context.go:251
↓ 2 callers
Method
Code
()
crypto/keys/keyerror/errors.go:14
↓ 2 callers
Method
CreateLedger
Create, store, and return a new Ledger key reference
crypto/keys/types.go:37
↓ 2 callers
Method
Delete
(name, passphrase string)
crypto/keys/types.go:18
↓ 2 callers
Method
DeleteDeposits
Deletes all the deposits on a specific proposal without refunding them
x/gov/keeper.go:433
↓ 2 callers
Method
Div
Div divides Int with Int
types/int.go:225
↓ 2 callers
Function
EmptyTallyResult
checks if two proposals are equal
x/gov/proposals.go:334
↓ 2 callers
Method
EnsureAccountExists
EnsureAccountExists ensures that an account exists for a given context. An error is returned if it does not.
client/context/query.go:106
↓ 2 callers
Method
Equal
is equal to zero
types/decimal.go:179
↓ 2 callers
Method
Equal
nolint
x/stake/types/delegation.go:89
↓ 2 callers
Function
ErrBadDelegationAddr
(codespace sdk.CodespaceType)
x/stake/types/errors.go:96
↓ 2 callers
Function
ErrBadDelegationAmount
(codespace sdk.CodespaceType)
x/stake/types/errors.go:100
↓ 2 callers
Function
ErrBadDenom
(codespace sdk.CodespaceType)
x/stake/types/errors.go:92
↓ 2 callers
Function
ErrBadSharesAmount
(codespace sdk.CodespaceType)
x/stake/types/errors.go:128
↓ 2 callers
Function
ErrCommissionGTMaxRate
(codespace sdk.CodespaceType)
x/stake/types/errors.go:68
↓ 2 callers
Function
ErrInvalidAccount
ErrInvalidAccount returns a standardized error reflecting that a given account address does not exist.
client/context/errors.go:10
↓ 2 callers
Function
ErrInvalidVote
(codespace sdk.CodespaceType, voteOption VoteOption)
x/gov/errors.go:61
↓ 2 callers
Function
ErrNilValidatorAddr
(codespace sdk.CodespaceType)
x/distribution/types/errors.go:22
↓ 2 callers
Function
ErrNoOutputs
(codespace sdk.CodespaceType)
x/bank/errors.go:43
↓ 2 callers
Function
ErrNoValidatorForAddress
(codespace sdk.CodespaceType)
x/slashing/errors.go:21
↓ 2 callers
Function
ErrNoValidatorFound
(codespace sdk.CodespaceType)
x/stake/types/errors.go:35
↓ 2 callers
Method
GetAccountSequence
GetAccountSequence returns the sequence number for the given account address.
client/context/query.go:95
↓ 2 callers
Method
GetAccum
get total accumulation factor for the given height CONTRACT: height should be greater than the old height
x/distribution/types/total_accum.go:34
↓ 2 callers
Method
GetAllValidators
___________________________________________________________________________ get groups of validators get the set of all validators with no limits, use
x/stake/keeper/validator.go:216
↓ 2 callers
Method
GetBaseProposerReward
Returns the current BaseProposerReward rate from the global param store nolint: errcheck
x/distribution/keeper/keeper.go:135
↓ 2 callers
Method
GetBech32AccountAddrPrefix
GetBech32AccountAddrPrefix returns the Bech32 prefix for account address
types/config.go:78
↓ 2 callers
Method
GetBech32AccountPubPrefix
GetBech32AccountPubPrefix returns the Bech32 prefix for account public key
types/config.go:93
↓ 2 callers
Method
GetBech32ConsensusAddrPrefix
GetBech32ConsensusAddrPrefix returns the Bech32 prefix for consensus node address
types/config.go:88
↓ 2 callers
Method
GetBech32ConsensusPubPrefix
GetBech32ConsensusPubPrefix returns the Bech32 prefix for consensus node public key
types/config.go:103
↓ 2 callers
Method
GetBech32ValidatorAddrPrefix
GetBech32ValidatorAddrPrefix returns the Bech32 prefix for validator address
types/config.go:83
↓ 2 callers
Method
GetBech32ValidatorPubPrefix
GetBech32ValidatorPubPrefix returns the Bech32 prefix for validator public key
types/config.go:98
↓ 2 callers
Method
GetBonusProposerReward
Returns the current BaseProposerReward rate from the global param store nolint: errcheck
x/distribution/keeper/keeper.go:148
↓ 2 callers
Method
GetCollectedFees
(ctx sdk.Context)
x/distribution/types/keepers.go:24
↓ 2 callers
Method
GetCommission
validation tokens
types/stake.go:47
↓ 2 callers
Method
GetCommunityTax
Returns the current CommunityTax rate from the global param store nolint: errcheck
x/distribution/keeper/keeper.go:122
↓ 2 callers
Method
GetDelAccum
Get the calculated accum of this delegator at the provided height
x/distribution/types/delegator_info.go:25
↓ 2 callers
Method
GetDelegationDistInfo
get the delegator distribution info
x/distribution/keeper/delegation.go:16
↓ 2 callers
Method
GetDescription
()
x/gov/proposals.go:22
↓ 2 callers
Method
GetIntraTxCounter
__________________________________________________________________________ get the current in-block validator operation counter
x/stake/keeper/keeper.go:124
↓ 2 callers
Method
GetMinter
______________________________________________________________________ get the minter
x/mint/keeper.go:56
↓ 2 callers
Method
GetPreviousProposerConsAddr
______________________________________________________________________ set the proposer public key for this block
x/distribution/keeper/keeper.go:72
↓ 2 callers
Method
GetProposalID
nolint
x/gov/proposals.go:91
← previous
next →
301–400 of 2,183, ranked by callers