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
↓ 1 callers
Method
AddValidatorTokensAndShares
___________________________________________________________________________ Update the tokens of an existing validator, update the validators power in
x/stake/keeper/validator.go:127
↓ 1 callers
Method
AddVote
===================================================== Votes Adds a vote on a specific proposal
x/gov/keeper.go:288
↓ 1 callers
Method
AllocateTokens
Allocate fees handles distribution of the collected fees
x/distribution/keeper/allocation.go:9
↓ 1 callers
Function
Bech32ifyAccPub
---------------------------------------------------------------------------- auxiliary ---------------------------------------------------------------
types/address.go:395
↓ 1 callers
Function
Bech32ifyConsPub
Bech32ifyConsPub returns a Bech32 encoded string containing the Bech32PrefixConsPub prefixfor a given consensus node's PubKey.
types/address.go:429
↓ 1 callers
Function
Bech32ifyValPub
Bech32ifyValPub returns a Bech32 encoded string containing the Bech32PrefixValPub prefix for a given validator operator's PubKey.
types/address.go:412
↓ 1 callers
Method
BeginBlock
BeginBlock implements the ABCI application interface.
baseapp/baseapp.go:414
↓ 1 callers
Method
BeginRedelegation
complete unbonding an unbonding record
x/stake/keeper/delegation.go:563
↓ 1 callers
Method
BeginUnbonding
begin unbonding an unbonding record
x/stake/keeper/delegation.go:496
↓ 1 callers
Function
BlockRequestHandlerFn
REST REST handler to get a block
client/rpc/block.go:113
↓ 1 callers
Method
BondedRatio
____________________________________________________________________ get the bond ratio of the global state
x/stake/types/pool.go:42
↓ 1 callers
Method
BroadcastTxAndAwaitCommit
BroadcastTxAndAwaitCommit broadcasts transaction bytes to a Tendermint node and waits for a commit.
client/context/broadcast.go:46
↓ 1 callers
Function
BroadcastTxRequest
BroadcastTxRequest REST Handler nolint: gocyclo
client/tx/broadcast.go:29
↓ 1 callers
Function
BroadcastTxRequestHandlerFn
BroadcastTxRequestHandlerFn returns the broadcast tx REST handler
x/bank/client/rest/broadcast.go:18
↓ 1 callers
Method
BroadcastTxSync
BroadcastTxSync broadcasts transaction bytes to a Tendermint node synchronously.
client/context/broadcast.go:70
↓ 1 callers
Function
BufferStdin
BufferStdin is used to allow reading prompts for stdin multiple times, when we read from non-tty
client/input.go:19
↓ 1 callers
Method
BuildWithPubKey
BuildWithPubKey builds a single message to be signed from a TxBuilder given a set of messages and attach the public key associated to the given name.
x/auth/client/txbuilder/txbuilder.go:140
↓ 1 callers
Method
Bytes
get message bytes
x/auth/client/txbuilder/stdsignmsg.go:20
↓ 1 callers
Method
CacheMultiStore
---------------------------------------- +MultiStore Implements MultiStore.
store/rootmultistore.go:228
↓ 1 callers
Method
CacheMultiStore
Implements MultiStore.
store/cachemultistore.go:122
↓ 1 callers
Method
CacheWrap
Implements CacheWrapper/Store/CommitStore.
store/rootmultistore.go:215
↓ 1 callers
Method
CacheWrap
Implements CacheWrapper.
store/cachemultistore.go:112
↓ 1 callers
Function
CalculateGas
CalculateGas simulates the execution of a transaction and returns both the estimate obtained by the query and the adjusted amount.
client/utils/utils.go:74
↓ 1 callers
Method
ChainID
()
types/context.go:161
↓ 1 callers
Method
Check
nolint - Mostly for testing
baseapp/helpers.go:11
↓ 1 callers
Method
ClearCollectedFees
(ctx sdk.Context)
x/distribution/types/keepers.go:25
↓ 1 callers
Function
CodeToDefaultMsg
NOTE: Don't stringer this, we'll put better messages in later.
types/errors.go:76
↓ 1 callers
Method
CommitID
()
store/rootmultistore.go:411
↓ 1 callers
Method
CompleteRedelegation
complete unbonding an ongoing redelegation
x/stake/keeper/delegation.go:629
↓ 1 callers
Method
CompleteSetup
CompleteSetup completes the application setup after the routes have been registered.
x/mock/app.go:79
↓ 1 callers
Method
CompleteUnbonding
complete unbonding an unbonding record CONTRACT: Expects unbonding passed in has finished the unbonding period
x/stake/keeper/delegation.go:547
↓ 1 callers
Method
ComputeRootHash
ComputeRootHash returns the root hash for a given multi-store proof.
store/multistoreproof.go:22
↓ 1 callers
Function
ConsAddressFromBech32
ConsAddressFromBech32 creates a ConsAddress from a Bech32 string.
types/address.go:290
↓ 1 callers
Function
CreateTestInputAdvanced
hogpodge of all sorts of input required for testing
x/distribution/keeper/test_common.go:82
↓ 1 callers
Method
CurrentCommissionRewards
get the validator's commission pool rewards at this current state,
x/distribution/types/validator_info.go:139
↓ 1 callers
Method
CurrentDelegationRewardsAll
get all rewards for all delegations of a delegator
x/distribution/keeper/delegation.go:187
↓ 1 callers
Method
CurrentPoolRewards
get the validator's pool rewards at this current state,
x/distribution/types/validator_info.go:121
↓ 1 callers
Method
CurrentRewards
get the delegators rewards at this current state,
x/distribution/types/delegator_info.go:62
↓ 1 callers
Function
DefaultConfig
DefaultConfig returns server's default configuration.
server/config/config.go:37
↓ 1 callers
Function
DefaultGenesisState
get raw genesis raw message for testing
x/gov/genesis.go:42
↓ 1 callers
Function
DefaultParams
default minting module parameters
x/mint/params.go:19
↓ 1 callers
Function
DefaultParams
Default parameters used by Cosmos Hub
x/slashing/params.go:56
↓ 1 callers
Function
DefaultParams
DefaultParams returns a default set of parameters.
x/stake/types/params.go:58
↓ 1 callers
Method
DeleteLastValidatorPower
Delete the last validator power.
x/stake/keeper/keeper.go:116
↓ 1 callers
Method
DeleteProposal
Implements sdk.AccountKeeper.
x/gov/keeper.go:133
↓ 1 callers
Method
DeleteValidatorQueue
Delete a validator address from the validator queue
x/stake/keeper/validator.go:347
↓ 1 callers
Method
DeleteValidatorQueueTimeSlice
Deletes a specific validator queue timeslice.
x/stake/keeper/validator.go:330
↓ 1 callers
Method
Deliver
nolint
baseapp/helpers.go:21
↓ 1 callers
Method
DequeueAllMatureRedelegationQueue
Returns a concatenated list of all the timeslices before currTime, and deletes the timeslices from the queue
x/stake/keeper/delegation.go:348
↓ 1 callers
Method
DequeueAllMatureUnbondingQueue
Returns a concatenated list of all the timeslices before currTime, and deletes the timeslices from the queue
x/stake/keeper/delegation.go:196
↓ 1 callers
Method
DerivationPath
Return the BIP44 fields as an array.
crypto/keys/hd/hdpath.go:136
↓ 1 callers
Method
Derive
Compute a BIP39 seed from th mnemonic and bip39Passwd. Derive private key from the seed using the BIP44 params. Encrypt the key to disk using encryptP
crypto/keys/types.go:34
↓ 1 callers
Method
Div
Div divides Uint with Uint
types/int.go:457
↓ 1 callers
Method
DoubleSignUnbondDuration
Double-sign unbond duration
x/slashing/params.go:101
↓ 1 callers
Method
DowntimeUnbondDuration
Downtime unbond duration
x/slashing/params.go:107
↓ 1 callers
Function
EgressKey
Stores an outgoing IBC packet under "egress/chain_id/index".
x/ibc/mapper.go:118
↓ 1 callers
Method
Empty
Returns boolean for whether an AccAddress is empty
types/address.go:193
↓ 1 callers
Method
Empty
Returns boolean for whether an ConsAddress is empty
types/address.go:315
↓ 1 callers
Method
Empty
Returns whether a vote is empty
x/gov/depositsvotes.go:24
↓ 1 callers
Method
Empty
Returns whether a deposit is empty
x/gov/depositsvotes.go:42
↓ 1 callers
Method
EndBlock
EndBlock implements the ABCI application interface.
baseapp/baseapp.go:673
↓ 1 callers
Function
EndBlocker
Called every block, process inflation, update validator set
x/gov/handler.go:99
↓ 1 callers
Method
EnsureAccountExistsFromAddr
EnsureAccountExistsFromAddr ensures that an account exists for a given address. Instead of using the context's from name, a direct address is given. A
client/context/query.go:127
↓ 1 callers
Method
EnsureLength
EnsureLength ensures the length of a validator's description.
x/stake/types/validator.go:291
↓ 1 callers
Method
Equals
Equals implements the PrivKey interface. It makes sure two private keys refer to the same public key.
crypto/ledger_secp256k1.go:106
↓ 1 callers
Method
Equals
Returns whether 2 deposits are equal
x/gov/depositsvotes.go:37
↓ 1 callers
Method
Equals
checks if two proposals are equal
x/gov/proposals.go:344
↓ 1 callers
Function
ErrAlreadyFinishedProposal
(codespace sdk.CodespaceType, proposalID uint64)
x/gov/errors.go:41
↓ 1 callers
Function
ErrBadRedelegationAddr
(codespace sdk.CodespaceType)
x/stake/types/errors.go:150
↓ 1 callers
Function
ErrBadValidatorAddr
(codespace sdk.CodespaceType)
x/slashing/errors.go:25
↓ 1 callers
Function
ErrBadValidatorAddr
(codespace sdk.CodespaceType)
x/stake/types/errors.go:31
↓ 1 callers
Function
ErrCommissionChangeRateGTMaxRate
(codespace sdk.CodespaceType)
x/stake/types/errors.go:80
↓ 1 callers
Function
ErrCommissionChangeRateNegative
(codespace sdk.CodespaceType)
x/stake/types/errors.go:76
↓ 1 callers
Function
ErrCommissionGTMaxChangeRate
(codespace sdk.CodespaceType)
x/stake/types/errors.go:84
↓ 1 callers
Function
ErrCommissionHuge
(codespace sdk.CodespaceType)
x/stake/types/errors.go:64
↓ 1 callers
Function
ErrCommissionUpdateTime
(codespace sdk.CodespaceType)
x/stake/types/errors.go:72
↓ 1 callers
Function
ErrIdenticalChains
(codespace sdk.CodespaceType)
x/ibc/errors.go:32
↓ 1 callers
Function
ErrInactiveProposal
(codespace sdk.CodespaceType, proposalID uint64)
x/gov/errors.go:33
↓ 1 callers
Function
ErrInvalidDescription
(codespace sdk.CodespaceType, description string)
x/gov/errors.go:53
↓ 1 callers
Function
ErrInvalidProposalType
(codespace sdk.CodespaceType, proposalType ProposalKind)
x/gov/errors.go:57
↓ 1 callers
Function
ErrInvalidSequence
nolint
x/ibc/errors.go:29
↓ 1 callers
Function
ErrInvalidTitle
(codespace sdk.CodespaceType, title string)
x/gov/errors.go:49
↓ 1 callers
Function
ErrMissingSelfDelegation
(codespace sdk.CodespaceType)
x/slashing/errors.go:37
↓ 1 callers
Function
ErrNilWithdrawAddr
(codespace sdk.CodespaceType)
x/distribution/types/errors.go:19
↓ 1 callers
Function
ErrNoDelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:104
↓ 1 callers
Function
ErrNoInputs
(codespace sdk.CodespaceType)
x/bank/errors.go:35
↓ 1 callers
Function
ErrValidatorJailed
(codespace sdk.CodespaceType)
x/slashing/errors.go:29
↓ 1 callers
Function
ErrValidatorJailed
(codespace sdk.CodespaceType)
x/stake/types/errors.go:47
↓ 1 callers
Function
ErrValidatorNotJailed
(codespace sdk.CodespaceType)
x/slashing/errors.go:33
↓ 1 callers
Function
ErrValidatorOwnerExists
(codespace sdk.CodespaceType)
x/stake/types/errors.go:39
↓ 1 callers
Function
ErrValidatorPubKeyExists
(codespace sdk.CodespaceType)
x/stake/types/errors.go:43
↓ 1 callers
Function
ErrVerifyCommit
ErrVerifyCommit returns a common error reflecting that the blockchain commit at a given height can't be verified. The reason is that the base checkpoi
client/context/errors.go:18
↓ 1 callers
Method
ExportAppStateAndValidators
ExportAppStateAndValidators implements custom application logic that exposes various parts of the application's state and set of validators. An error
app/app.go:165
↓ 1 callers
Function
ExportCmd
ExportCmd dumps app state to JSON.
server/export.go:17
↓ 1 callers
Function
ExportGenesisFile
ExportGenesisFile creates and writes the genesis configuration to disk. An error is returned if building or writing the configuration to file fails.
oce/utils.go:14
↓ 1 callers
Method
FilterPeerByAddrPort
Filter peers by address / port
baseapp/baseapp.go:269
↓ 1 callers
Method
FilterPeerByPubKey
Filter peers by public key
baseapp/baseapp.go:277
↓ 1 callers
Method
Format
Format implements the fmt.Formatter interface. nolint: errcheck
types/address.go:139
↓ 1 callers
Function
FormatTxResults
parse the indexed txs into an array of Info
client/tx/search.go:124
↓ 1 callers
Method
GT
equal decimals
types/decimal.go:180
← previous
next →
601–700 of 2,183, ranked by callers