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
↓ 6 callers
Method
DeleteValidatorByPowerIndex
validator index
x/stake/keeper/validator.go:112
↓ 6 callers
Function
ErrUnknownProposal
---------------------------------------- Error constructors
x/gov/errors.go:29
↓ 6 callers
Function
ErrUnknownRequest
(msg string)
types/errors.go:131
↓ 6 callers
Method
Gas
Gas consuming store CONTRACT: when Gas is called on a KVStore more than once, the concatanation of the meters/configs is applied
types/store.go:164
↓ 6 callers
Method
GetDelegation
return a specific delegation
x/stake/keeper/delegation.go:12
↓ 6 callers
Function
GetFromBech32
GetFromBech32 decodes a bytestring from a Bech32 encoded string.
types/address.go:530
↓ 6 callers
Method
GetName
Name of the key
crypto/keys/types.go:82
↓ 6 callers
Method
GetOperator
status of the validator
types/stake.go:42
↓ 6 callers
Method
GetSignBytes
Get the canonical byte representation of the Msg.
types/tx_msg.go:23
↓ 6 callers
Method
GetVotes
Gets all the votes on a specific proposal
x/gov/keeper.go:330
↓ 6 callers
Method
HumanReadableString
HumanReadableString returns a human readable string representation of a pool.
x/stake/types/pool.go:72
↓ 6 callers
Method
IsValid
IsValid asserts the Coins are sorted, and don't have 0 amounts
types/coin.go:105
↓ 6 callers
Method
IsZero
IsZero returns if this represents no money
types/coin.go:39
↓ 6 callers
Method
MulInt
multiplication
types/decimal.go:219
↓ 6 callers
Method
Sanitize
Sanitize performs basic sanitization on a BaseReq object.
client/utils/rest.go:133
↓ 6 callers
Method
SetValidatorDistInfo
set the validator distribution info
x/distribution/keeper/validator.go:31
↓ 6 callers
Method
WithTypeTable
WithTypeTable initializes TypeTable and returns modified Subspace
x/params/subspace/subspace.go:39
↓ 6 callers
Function
getCoins
______________________________________________________________________________________________
x/bank/keeper.go:166
↓ 6 callers
Method
mustGetValidator
(ctx sdk.Context, addr sdk.ValAddress)
x/stake/keeper/validator.go:59
↓ 5 callers
Method
AppendTags
Append two lists of tags
types/tags.go:24
↓ 5 callers
Function
ErrNilValidatorAddr
validator
x/stake/types/errors.go:27
↓ 5 callers
Method
GetAddress
Address
crypto/keys/types.go:86
↓ 5 callers
Method
GetAddress
()
x/auth/account.go:18
↓ 5 callers
Method
GetCoins
()
x/auth/account.go:27
↓ 5 callers
Method
GetConsPubKey
operator address to receive/return validators coins
types/stake.go:43
↓ 5 callers
Function
GetDelegationsKey
gets the prefix for a delegator for all validators
x/stake/keeper/key.go:118
↓ 5 callers
Method
GetDepositEndTime
()
x/gov/proposals.go:37
↓ 5 callers
Method
GetFeePool
______________________________________________________________________ get the global fee pool distribution info
x/distribution/keeper/keeper.go:41
↓ 5 callers
Function
GetREDKey
________________________________________________________________________________ gets the key for a redelegation VALUE: stake/types.RedelegationKey
x/stake/keeper/key.go:171
↓ 5 callers
Method
GetSequence
()
x/auth/account.go:24
↓ 5 callers
Method
GetSignatures
Signatures returns the signature of signers who signed the Msg. GetSignatures returns the signature of signers who signed the Msg. CONTRACT: Length re
x/auth/stdtx.go:65
↓ 5 callers
Method
GetSigners
Signers returns the addrs of signers that must sign. CONTRACT: All signatures must be present to be valid. CONTRACT: Returns addrs in some determinist
types/tx_msg.go:28
↓ 5 callers
Method
GetStoreType
nolint
types/store.go:30
↓ 5 callers
Method
GetTotalDeposit
()
x/gov/proposals.go:40
↓ 5 callers
Method
GetVotingEndTime
()
x/gov/proposals.go:46
↓ 5 callers
Method
Int64
Int64 converts Int to int64 Panics if the value is out of range
types/int.go:138
↓ 5 callers
Method
IsPositive
IsPositive returns true if coin amount is positive
types/coin.go:61
↓ 5 callers
Function
NewTraceKVStore
NewTraceKVStore returns a reference to a new traceKVStore given a parent KVStore implementation and a buffered writer.
store/tracekvstore.go:47
↓ 5 callers
Function
NewUint
NewUint constructs Uint from int64
types/int.go:316
↓ 5 callers
Function
PostProcessResponse
PostProcessResponse performs post process for rest response
client/keys/utils.go:259
↓ 5 callers
Method
QuoDec
divide all the coins by a multiple
x/distribution/types/dec_coin.go:144
↓ 5 callers
Method
SameDenomAs
SameDenomAs returns true if the two coins are the same denom
types/coin.go:34
↓ 5 callers
Method
Seal
Seal seals the config such that the config state could not be modified further
types/config.go:69
↓ 5 callers
Method
SetAccount
Implements sdk.AccountKeeper.
x/auth/keeper.go:63
↓ 5 callers
Method
SetFeePool
set the global fee pool distribution info
x/distribution/keeper/keeper.go:52
↓ 5 callers
Method
SetProposal
Implements sdk.AccountKeeper.
x/gov/keeper.go:126
↓ 5 callers
Method
SignedBlocksWindow
SignedBlocksWindow - sliding window for downtime slashing
x/slashing/params.go:87
↓ 5 callers
Method
Validator
(ctx sdk.Context, valAddr sdk.ValAddress)
x/distribution/types/keepers.go:10
↓ 5 callers
Method
assertIsValid
assertIsValid panics if the iterator is invalid. If unlockMutex is true, it also unlocks the mutex before panicing, to prevent deadlocks in code that
store/iavlstore.go:425
↓ 5 callers
Function
cloneAppend
(bz []byte, tail []byte)
store/prefixstore.go:21
↓ 5 callers
Function
hardenedInt
(field string)
crypto/keys/hd/hdpath.go:112
↓ 5 callers
Method
kvStore
Returns a KVStore identical with ctx.KVStore(s.key).Prefix()
x/params/subspace/subspace.go:61
↓ 5 callers
Method
onValidatorModified
Withdraw all validator rewards
x/distribution/keeper/hooks.go:25
↓ 5 callers
Method
runTx
runTx processes a transaction. The transactions is proccessed via an anteHandler. txBytes may be nil in some cases, eg. in tests. Also, in the future
baseapp/baseapp.go:602
↓ 5 callers
Function
writeOperation
writeOperation writes a KVStore operation to the underlying io.Writer as JSON-encoded data where the key/value pair is base64 encoded. nolint: errchec
store/tracekvstore.go:183
↓ 4 callers
Function
Bech32KeyOutput
create a KeyOutput in bech32 format
client/keys/utils.go:146
↓ 4 callers
Method
BondDenom
BondDenom - Bondable coin denomination
x/stake/keeper/params.go:34
↓ 4 callers
Method
Build
Build builds a single message to be signed from a TxBuilder given a set of messages. It returns an error if a fee is supplied but cannot be parsed.
x/auth/client/txbuilder/txbuilder.go:87
↓ 4 callers
Method
BuildAndSign
BuildAndSign builds a single message to be signed, and signs a transaction with the built message given a name, passphrase, and a set of messages.
x/auth/client/txbuilder/txbuilder.go:127
↓ 4 callers
Method
Bytes
Bytes returns the raw address bytes.
types/address.go:239
↓ 4 callers
Method
Bytes
Bytes returns the raw address bytes.
types/address.go:361
↓ 4 callers
Method
Commit
()
types/store.go:36
↓ 4 callers
Method
CreateMnemonic
CreateMnemonic creates a new mnemonic, and derives a hierarchical deterministic key from that.
crypto/keys/types.go:25
↓ 4 callers
Method
Empty
Returns boolean for whether an AccAddress is empty
types/address.go:77
↓ 4 callers
Method
Equals
Returns whether 2 votes are equal
x/gov/depositsvotes.go:19
↓ 4 callers
Function
ErrDescriptionLength
(codespace sdk.CodespaceType, descriptor string, got, max int)
x/stake/types/errors.go:55
↓ 4 callers
Function
ErrNilDelegatorAddr
(codespace sdk.CodespaceType)
x/stake/types/errors.go:88
↓ 4 callers
Method
Get
Get returns the public information about one key.
crypto/keys/keybase.go:218
↓ 4 callers
Function
GetChainHeight
get the current blockchain height
client/rpc/block.go:73
↓ 4 callers
Function
GetDelegationDistInfoKey
gets the key for delegator distribution for a validator VALUE: distribution/types.DelegationDistInfo
x/distribution/keeper/key.go:34
↓ 4 callers
Method
GetDelegatorShares
validator commission rate
types/stake.go:48
↓ 4 callers
Method
GetDepositParams
===================================================== Params Returns the current DepositParams from the global param store nolint: errcheck
x/gov/keeper.go:247
↓ 4 callers
Method
GetDeposits
Gets all the deposits on a specific proposal
x/gov/keeper.go:407
↓ 4 callers
Method
GetFromName
GetFromName returns the key name for the current context.
client/context/query.go:89
↓ 4 callers
Function
GetKeyInfo
GetKeyInfo returns key info for a given name. An error is returned if the keybase cannot be retrieved or getting the info fails.
client/keys/utils.go:31
↓ 4 callers
Method
GetMemo
nolint
x/auth/stdtx.go:55
↓ 4 callers
Method
GetShares
validator operator address
types/stake.go:94
↓ 4 callers
Method
GetTitle
()
x/gov/proposals.go:19
↓ 4 callers
Method
GetType
Human-readable type for key listing
crypto/keys/types.go:80
↓ 4 callers
Function
GetUBDKey
______________________________________________________________________________ gets the key for an unbonding delegation by delegator and validator add
x/stake/keeper/key.go:126
↓ 4 callers
Method
GetValAccum
Get the validator accum at the provided height
x/distribution/types/validator_info.go:63
↓ 4 callers
Method
GetValidatorByConsAddr
get a single validator by consensus address
x/stake/keeper/validator.go:68
↓ 4 callers
Function
GetValidatorDistInfoKey
gets the key for the validator distribution info from address VALUE: distribution/types.ValidatorDistInfo
x/distribution/keeper/key.go:28
↓ 4 callers
Function
GetValidatorQueueTimeKey
gets the prefix for all unbonding delegations from a delegator
x/stake/keeper/key.go:104
↓ 4 callers
Function
GetValidatorsByPowerIndexKey
get the validator by power index. Power index is the key used in the power-store, and represents the relative power ranking of the validator. VALUE: v
x/stake/keeper/key.go:64
↓ 4 callers
Method
GetWithdrawContext
______________________________________________________________________ get context required for withdraw operations
x/distribution/keeper/keeper.go:94
↓ 4 callers
Method
Hash
Implements merkle.Hasher.
store/rootmultistore.go:436
↓ 4 callers
Method
Len
Len() returns the length of the list The length is only increased by Push() and not decreased List dosen't check if an index is in bounds The user sho
store/list.go:40
↓ 4 callers
Method
List
CRUD on the keystore
crypto/keys/types.go:15
↓ 4 callers
Method
MaxValidators
MaxValidators - Maximum number of validators
x/stake/keeper/params.go:28
↓ 4 callers
Method
MountStore
Mount a store to the provided key in the BaseApp multistore, using the default DB
baseapp/baseapp.go:146
↓ 4 callers
Method
Plus
Plus combines two sets of coins CONTRACT: Plus will never return Coins where one Coin has a 0 amount.
x/distribution/types/dec_coin.go:80
↓ 4 callers
Method
QuerySubspace
QuerySubspace performs a query from a Tendermint node with the provided store name and subspace.
client/context/query.go:51
↓ 4 callers
Method
SetDelegationDistInfo
set the delegator distribution info
x/distribution/keeper/delegation.go:31
↓ 4 callers
Method
SetPruning
(PruningStrategy)
types/store.go:38
↓ 4 callers
Method
Sort
Sort is a helper function to sort the set of coins inplace
types/coin.go:313
↓ 4 callers
Method
TruncateDecimal
return the decimal coins with trunctated decimals, and return the change
x/distribution/types/dec_coin.go:47
↓ 4 callers
Method
TruncateInt
TruncateInt truncates the decimals from the number and returns an Int
types/decimal.go:373
↓ 4 callers
Method
Value
Implements Iterator.
store/iavlstore.go:379
↓ 4 callers
Method
Verify
Verify verifies the consensus proof at given height.
client/context/query.go:177
← previous
next →
101–200 of 2,183, ranked by callers