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
↓ 2 callers
Method
GetProposalType
()
x/gov/proposals.go:25
↓ 2 callers
Method
GetProposalsFiltered
Get Proposal from store by ProposalID
x/gov/keeper.go:142
↓ 2 callers
Function
GetREDByValDstIndexKey
gets the index-key for a redelegation, stored by destination-validator-index VALUE: none (key rearrangement used)
x/stake/keeper/key.go:197
↓ 2 callers
Function
GetREDByValSrcIndexKey
gets the index-key for a redelegation, stored by source-validator-index VALUE: none (key rearrangement used)
x/stake/keeper/key.go:183
↓ 2 callers
Function
GetREDsFromValSrcIndexKey
gets the prefix keyspace for all redelegations redelegating away from a source validator
x/stake/keeper/key.go:249
↓ 2 callers
Function
GetREDsToValDstIndexKey
gets the prefix keyspace for all redelegations redelegating towards a destination validator
x/stake/keeper/key.go:254
↓ 2 callers
Method
GetRedelegation
return a redelegation
x/stake/keeper/delegation.go:231
↓ 2 callers
Method
GetRedelegationsFromValidator
return all redelegations from a particular validator
x/stake/keeper/delegation.go:246
↓ 2 callers
Method
GetTallyParams
Returns the current Tallying Procedure from the global param store nolint: errcheck
x/gov/keeper.go:263
↓ 2 callers
Function
GetUBDByValIndexKey
gets the index-key for an unbonding delegation, stored by validator-index VALUE: none (key rearrangement used)
x/stake/keeper/key.go:134
↓ 2 callers
Function
GetUBDsByValIndexKey
gets the prefix keyspace for the indexes of unbonding delegations for a validator
x/stake/keeper/key.go:157
↓ 2 callers
Method
GetUnbondingDelegationsFromValidator
return all unbonding delegations from a particular validator
x/stake/keeper/delegation.go:112
↓ 2 callers
Function
GetValidatorMissedBlockBitArrayPrefixKey
stored by *Tendermint* address (not operator address)
x/slashing/keys.go:33
↓ 2 callers
Method
GetValidatorQueueTimeSlice
gets a specific validator queue timeslice. A timeslice is a slice of ValAddresses corresponding to unbonding validators that expire at a certain time.
x/stake/keeper/validator.go:312
↓ 2 callers
Function
GetValidatorSigningInfoKey
stored by *Tendermint* address (not operator address)
x/slashing/keys.go:19
↓ 2 callers
Function
GetValidatorSlashingPeriodKey
stored by *Tendermint* address (not operator address) followed by start height
x/slashing/keys.go:50
↓ 2 callers
Function
GetValidatorSlashingPeriodPrefix
stored by *Tendermint* address (not operator address)
x/slashing/keys.go:45
↓ 2 callers
Method
GetVote
Gets the vote of a specific voter on a specific proposal
x/gov/keeper.go:312
↓ 2 callers
Method
GetVotingParams
Returns the current Voting Procedure from the global param store nolint: errcheck
x/gov/keeper.go:255
↓ 2 callers
Method
HasDelegationDistInfo
check whether a delegator distribution info exists
x/distribution/keeper/delegation.go:9
↓ 2 callers
Function
HasDryRunArg
HasDryRunArg returns true if the request's URL query contains the dry run argument and its value is set to "true".
client/utils/rest.go:44
↓ 2 callers
Method
Hash
Hash returns the simple merkle root hash of the stores sorted by name.
store/rootmultistore.go:401
↓ 2 callers
Function
IngressSequenceKey
Stores the sequence number of incoming IBC packet under "ingress/index".
x/ibc/mapper.go:128
↓ 2 callers
Function
InitialFeePool
zero fee pool
x/distribution/types/fee_pool.go:27
↓ 2 callers
Method
InsertRedelegationQueue
Insert an redelegation delegation to the appropriate timeslice in the redelegation queue
x/stake/keeper/delegation.go:330
↓ 2 callers
Method
InsertUnbondingQueue
Insert an unbonding delegation to the appropriate timeslice in the unbonding queue
x/stake/keeper/delegation.go:178
↓ 2 callers
Method
InsertValidatorQueue
Insert an validator address to the appropriate timeslice in the validator queue
x/stake/keeper/validator.go:336
↓ 2 callers
Method
IsEqual
IsEqual returns true if the two sets of Coins have the same value
types/coin.go:56
↓ 2 callers
Method
IterateAccounts
Implements sdk.AccountKeeper.
x/auth/keeper.go:78
↓ 2 callers
Method
Jail
(Context, ConsAddress)
types/stake.go:80
↓ 2 callers
Function
KVGasConfig
KVGasConfig returns a default gas config for KVStores.
types/gas.go:90
↓ 2 callers
Function
KeyActiveProposalQueueProposal
Returns the key for a proposalID in the activeProposalQueue
x/gov/keeper_keys.go:56
↓ 2 callers
Function
KeyDeposit
Key for getting a specific deposit from the store
x/gov/keeper_keys.go:28
↓ 2 callers
Function
KeyInactiveProposalQueueProposal
Returns the key for a proposalID in the activeProposalQueue
x/gov/keeper_keys.go:73
↓ 2 callers
Method
LT
greater than or equal
types/decimal.go:182
↓ 2 callers
Function
LengthKey
Key for the length of the list
store/list.go:12
↓ 2 callers
Method
LoadVersion
Load a specific persisted version. When you load an old version, or when the last commit attempt didn't complete, the next commit after loading must
types/store.go:115
↓ 2 callers
Function
MakeSignature
MakeSignature builds a StdSignature given key name, passphrase, and a StdSignMsg.
x/auth/client/txbuilder/txbuilder.go:189
↓ 2 callers
Method
Marshal
Marshal needed for protobuf compatibility
x/gov/proposals.go:163
↓ 2 callers
Function
MarshalJSON
marshal keys
client/keys/codec.go:15
↓ 2 callers
Method
MinimumFees
()
types/context.go:175
↓ 2 callers
Method
Minus
Subtracts amounts of two coins with same denom
types/coin.go:79
↓ 2 callers
Method
Minus
Minus subtracts a set of coins from another (adds the inverse)
types/coin.go:183
↓ 2 callers
Method
NewAccountWithAddress
Implaements sdk.AccountKeeper.
x/auth/keeper.go:36
↓ 2 callers
Function
NewCommissionMsg
NewCommissionMsg returns an initialized validator commission message.
x/stake/types/commission.go:29
↓ 2 callers
Function
NewGenesisState
Create a new genesis state
x/auth/genesis.go:13
↓ 2 callers
Function
NewMultiStoreProofOp
(key []byte, proof *MultiStoreProof)
store/multistoreproof.go:59
↓ 2 callers
Function
NewTotalAccum
(height int64)
x/distribution/types/total_accum.go:13
↓ 2 callers
Method
OnDelegationCreated
Called at EndBlock when a validator's power did change
types/stake.go:126
↓ 2 callers
Method
OnDelegationSharesModified
(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress)
x/stake/keeper/hooks.go:50
↓ 2 callers
Method
OnValidatorBeginUnbonding
Must be called when a validator is bonded
types/stake.go:123
↓ 2 callers
Method
OnValidatorBonded
Must be called when a validator is deleted
types/stake.go:122
↓ 2 callers
Method
OnValidatorModified
Must be called when a validator is created
types/stake.go:119
↓ 2 callers
Method
OnValidatorPowerDidChange
Must be called when a validator begins unbonding
types/stake.go:124
↓ 2 callers
Method
OnValidatorRemoved
Must be called when a validator's state changes
types/stake.go:120
↓ 2 callers
Method
Prefix
TODO Not yet implemented. CreateSubKVStore(key *storeKey) (KVStore, error) TODO Not yet implemented. GetSubKVStore(key *storeKey) KVStore Prefix appli
types/store.go:159
↓ 2 callers
Function
PrefixEndBytes
PrefixEndBytes returns the []byte that would end a range query for all []byte with a certain prefix Deals with last byte of prefix being FF without ov
types/store.go:324
↓ 2 callers
Method
RegisterCodespace
Register the next available codespace through the baseapp's codespacer, starting from a default
baseapp/baseapp.go:122
↓ 2 callers
Method
RegisterParamSet
Register multiple pairs from ParamSet
x/params/subspace/table.go:66
↓ 2 callers
Method
RegisterType
Register single key-type pair
x/params/subspace/table.go:41
↓ 2 callers
Method
RemoveFromActiveProposalQueue
removes a proposalID from the Active Proposal Queue
x/gov/keeper.go:469
↓ 2 callers
Method
RemoveFromInactiveProposalQueue
removes a proposalID from the Inactive Proposal Queue
x/gov/keeper.go:488
↓ 2 callers
Method
RemoveValidator
remove the validator record and associated indexes except for the bonded validator index which is only handled in ApplyAndReturnTendermintUpdates
x/stake/keeper/validator.go:187
↓ 2 callers
Method
ResetTraceContext
ResetTraceContext resets the current tracing context.
types/store.go:83
↓ 2 callers
Method
RoundInt
RoundInt round the decimal using bankers rounding
types/decimal.go:347
↓ 2 callers
Method
Router
()
baseapp/options.go:105
↓ 2 callers
Method
SetAnteHandler
(ah sdk.AnteHandler)
baseapp/options.go:84
↓ 2 callers
Method
SetBaseProposerReward
nolint: errcheck
x/distribution/keeper/keeper.go:142
↓ 2 callers
Method
SetBonusProposerReward
nolint: errcheck
x/distribution/keeper/keeper.go:155
↓ 2 callers
Method
SetCommunityTax
nolint: errcheck
x/distribution/keeper/keeper.go:129
↓ 2 callers
Method
SetDelegatorWithdrawAddr
set the delegator withdraw address
x/distribution/keeper/delegation.go:59
↓ 2 callers
Method
SetEndBlocker
(endBlocker sdk.EndBlocker)
baseapp/options.go:77
↓ 2 callers
Method
SetHooks
Set the validator hooks
x/stake/keeper/keeper.go:39
↓ 2 callers
Method
SetLastTotalPower
Set the last total validator power.
x/stake/keeper/keeper.go:88
↓ 2 callers
Method
SetMinter
set the minter
x/mint/keeper.go:67
↓ 2 callers
Method
SetParamSet
Set from ParamSet
x/params/subspace/subspace.go:153
↓ 2 callers
Method
SetParams
set inflation params from the global param store
x/mint/keeper.go:83
↓ 2 callers
Method
SetParams
set the params
x/stake/keeper/params.go:48
↓ 2 callers
Method
SetPreviousProposerConsAddr
get the proposer public key for this block
x/distribution/keeper/keeper.go:85
↓ 2 callers
Method
SetRedelegationQueueTimeSlice
Sets a specific redelegation queue timeslice.
x/stake/keeper/delegation.go:323
↓ 2 callers
Method
SetSequence
(int64)
x/auth/account.go:25
↓ 2 callers
Method
SetUnbondingQueueTimeSlice
Sets a specific unbonding queue timeslice.
x/stake/keeper/delegation.go:171
↓ 2 callers
Method
SetValidatorByConsAddr
validator index
x/stake/keeper/validator.go:95
↓ 2 callers
Method
Simulate
nolint - full tx execution
baseapp/helpers.go:16
↓ 2 callers
Method
Slash
total power of the validator set slash the validator and delegators of the validator, specifying offence height, offence power, and slash fraction
types/stake.go:79
↓ 2 callers
Function
SortByteArrays
Public
x/gov/test_common.go:134
↓ 2 callers
Method
String
String implements the Stringer interface.
types/address.go:127
↓ 2 callers
Method
String
String implements the Stringer interface.
types/address.go:244
↓ 2 callers
Method
String
String implements the Stringer interface.
types/address.go:366
↓ 2 callers
Method
String
Turns VoteOption byte to String
x/gov/depositsvotes.go:119
↓ 2 callers
Method
String
Turns VoteOption byte to String
x/gov/proposals.go:195
↓ 2 callers
Method
String
Turns VoteStatus byte to String
x/gov/proposals.go:297
↓ 2 callers
Method
SubtractCoins
(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins)
x/bank/keeper.go:23
↓ 2 callers
Method
TakeFeePoolRewards
Move any available accumulated fees in the FeePool to the validator's pool - updates validator info's FeePoolWithdrawalHeight, thus setting accum to 0
x/distribution/types/validator_info.go:77
↓ 2 callers
Method
TokenSupply
____________________________________________________________________ Sum total of all staking tokens in the pool
x/stake/types/pool.go:35
↓ 2 callers
Function
TopKey
Key for the top element position in the queue
store/queue.go:9
↓ 2 callers
Method
TracingEnabled
TracingEnabled returns if tracing is enabled for the MultiStore.
store/cachemultistore.go:88
↓ 2 callers
Method
UnbondingTime
UnbondingTime
x/stake/keeper/params.go:22
↓ 2 callers
Method
Unmarshal
Unmarshal needed for protobuf compatibility
x/gov/proposals.go:168
↓ 2 callers
Method
Update
The following operations will *only* work on locally-stored keys
crypto/keys/types.go:43
← previous
next →
401–500 of 2,183, ranked by callers