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
Function
newThePast
()
types/context.go:268
↓ 1 callers
Function
newTraceIterator
(w io.Writer, parent sdk.Iterator, tc TraceContext)
store/tracekvstore.go:122
↓ 1 callers
Function
newTransientStore
Constructs new MemDB adapter
store/transientstore.go:16
↓ 1 callers
Method
onDelegationCreated
_________________________________________________________________________________________ Create a new delegator distribution record
x/distribution/keeper/hooks.go:60
↓ 1 callers
Method
onDelegationRemoved
Withdrawal all validator distribution rewards and cleanup the distribution record
x/distribution/keeper/hooks.go:81
↓ 1 callers
Method
onDelegationSharesModified
Withdrawal all validator rewards
x/distribution/keeper/hooks.go:72
↓ 1 callers
Method
onValidatorBeginUnbonding
Mark the slashing period as having ended when a validator begins unbonding
x/slashing/hooks.go:35
↓ 1 callers
Method
onValidatorBonded
Withdraw all validator rewards
x/distribution/keeper/hooks.go:35
↓ 1 callers
Method
onValidatorBonded
(ctx sdk.Context, address sdk.ConsAddress, _ sdk.ValAddress)
x/slashing/hooks.go:11
↓ 1 callers
Method
onValidatorCreated
Create a new validator distribution record
x/distribution/keeper/hooks.go:11
↓ 1 callers
Method
onValidatorCreated
When a validator is created, add the address-pubkey relation.
x/slashing/hooks.go:42
↓ 1 callers
Method
onValidatorPowerDidChange
Sanity check, very useful!
x/distribution/keeper/hooks.go:44
↓ 1 callers
Method
onValidatorRemoved
Withdrawal all validator distribution rewards and cleanup the distribution record
x/distribution/keeper/hooks.go:53
↓ 1 callers
Method
onValidatorRemoved
When a validator is removed, delete the address-pubkey relation.
x/slashing/hooks.go:48
↓ 1 callers
Function
paramsHandlerFn
HTTP request handler to query the staking params values
x/stake/client/rest/query.go:253
↓ 1 callers
Function
parsePath
parsePath expects a format like /<storeName>[/<subpath>] Must start with /, subpath may be empty Returns error if it doesn't start with /
store/rootmultistore.go:321
↓ 1 callers
Function
parseQueryResponse
(cdc *amino.Codec, rawRes []byte)
client/utils/utils.go:160
↓ 1 callers
Function
parseQueryStorePath
parseQueryStorePath expects a format like /store/<storeName>/key.
client/context/query.go:250
↓ 1 callers
Function
parseTx
(cdc *codec.Codec, txBytes []byte)
client/tx/query.go:126
↓ 1 callers
Function
pemBlockForKey
(priv *ecdsa.PrivateKey)
client/lcd/certificates.go:109
↓ 1 callers
Function
poolHandlerFn
HTTP request handler to query the pool information
x/stake/client/rest/query.go:241
↓ 1 callers
Function
postProposalHandlerFn
(cdc *codec.Codec, cliCtx context.CLIContext)
x/gov/client/rest/rest.go:64
↓ 1 callers
Function
precisionInt
()
types/decimal.go:44
↓ 1 callers
Function
printInfos
(infos []keys.Info)
client/keys/utils.go:216
↓ 1 callers
Function
printKeyAddress
(info keys.Info, bechKeyOut bechKeyOutFn)
client/keys/utils.go:240
↓ 1 callers
Function
printPubKey
(info keys.Info, bechKeyOut bechKeyOutFn)
client/keys/utils.go:249
↓ 1 callers
Function
printSignatures
(stdTx auth.StdTx)
x/auth/client/cli/sign.go:112
↓ 1 callers
Function
processPubKey
(acc Account, sig StdSignature, simulate bool)
x/auth/ante.go:199
↓ 1 callers
Function
processSig
verify the signature and increment the sequence. if the account doesn't have a pubkey, set it.
x/auth/ante.go:166
↓ 1 callers
Method
pubkeyLedgerSecp256k1
()
crypto/ledger_secp256k1.go:144
↓ 1 callers
Function
queryDelegation
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:246
↓ 1 callers
Function
queryDelegatorDelegations
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:156
↓ 1 callers
Function
queryDelegatorRedelegations
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:190
↓ 1 callers
Function
queryDelegatorUnbondingDelegations
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:173
↓ 1 callers
Function
queryDelegatorValidator
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:226
↓ 1 callers
Function
queryDelegatorValidators
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:207
↓ 1 callers
Function
queryDeposit
nolint: unparam
x/gov/queryable.go:75
↓ 1 callers
Function
queryDepositHandlerFn
(cdc *codec.Codec, cliCtx context.CLIContext)
x/gov/client/rest/rest.go:246
↓ 1 callers
Function
queryDeposits
nolint: unparam
x/gov/queryable.go:118
↓ 1 callers
Function
queryDepositsHandlerFn
(cdc *codec.Codec, cliCtx context.CLIContext)
x/gov/client/rest/rest.go:216
↓ 1 callers
Function
queryParameters
(ctx sdk.Context, cdc *codec.Codec, k keep.Keeper)
x/stake/querier/queryable.go:296
↓ 1 callers
Function
queryPool
(ctx sdk.Context, cdc *codec.Codec, k keep.Keeper)
x/stake/querier/queryable.go:286
↓ 1 callers
Function
queryProposal
nolint: unparam
x/gov/queryable.go:49
↓ 1 callers
Function
queryProposalHandlerFn
(cdc *codec.Codec, cliCtx context.CLIContext)
x/gov/client/rest/rest.go:180
↓ 1 callers
Function
queryProposals
nolint: unparam
x/gov/queryable.go:178
↓ 1 callers
Function
queryProposalsWithParameterFn
todo: Split this functionality into helper functions to remove the above
x/gov/client/rest/rest.go:414
↓ 1 callers
Function
queryTally
nolint: unparam
x/gov/queryable.go:200
↓ 1 callers
Function
queryTxs
queries staking txs
x/stake/client/rest/utils.go:30
↓ 1 callers
Function
queryUnbondingDelegation
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:266
↓ 1 callers
Function
queryValidator
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:102
↓ 1 callers
Function
queryValidatorRedelegations
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:139
↓ 1 callers
Function
queryValidatorUnbondingDelegations
(ctx sdk.Context, cdc *codec.Codec, req abci.RequestQuery, k keep.Keeper)
x/stake/querier/queryable.go:122
↓ 1 callers
Function
queryValidators
(ctx sdk.Context, cdc *codec.Codec, k keep.Keeper)
x/stake/querier/queryable.go:91
↓ 1 callers
Function
queryVote
nolint: unparam
x/gov/queryable.go:97
↓ 1 callers
Function
queryVoteHandlerFn
(cdc *codec.Codec, cliCtx context.CLIContext)
x/gov/client/rest/rest.go:310
↓ 1 callers
Function
queryVotes
nolint: unparam
x/gov/queryable.go:146
↓ 1 callers
Function
queryVotesOnProposalHandlerFn
todo: Split this functionality into helper functions to remove the above
x/gov/client/rest/rest.go:378
↓ 1 callers
Function
readAndUnmarshalStdTx
(cdc *amino.Codec, filename string)
x/auth/client/cli/sign.go:139
↓ 1 callers
Function
readAndUnmarshalStdTx
(cdc *amino.Codec, filename string)
x/bank/client/cli/broadcast.go:42
↓ 1 callers
Method
refine
(bz []byte, sequence int64, passphrase string)
x/ibc/client/cli/relay.go:193
↓ 1 callers
Function
registerQueryRoutes
(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)
x/slashing/client/rest/query.go:14
↓ 1 callers
Function
registerQueryRoutes
(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)
x/stake/client/rest/query.go:19
↓ 1 callers
Function
registerSwaggerUI
(r *mux.Router)
client/lcd/root.go:176
↓ 1 callers
Function
registerTxRoutes
(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec, kb keys.Keybase)
x/slashing/client/rest/tx.go:17
↓ 1 callers
Function
registerTxRoutes
(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec, kb keys.Keybase)
x/stake/client/rest/tx.go:22
↓ 1 callers
Function
resultBroadcastTxToCommit
TODO: This should get deleted eventually, and perhaps ctypes.ResultBroadcastTx be stripped of unused fields, and ctypes.ResultBroadcastTxCommit return
client/context/broadcast.go:19
↓ 1 callers
Method
setAddrPubkeyRelation
(ctx sdk.Context, addr crypto.Address, pubkey crypto.PubKey)
x/slashing/keeper.go:189
↓ 1 callers
Function
setCommitInfo
Set a commitInfo for given version.
store/rootmultistore.go:523
↓ 1 callers
Method
setDepositParams
nolint: errcheck
x/gov/keeper.go:270
↓ 1 callers
Function
setGasMeter
(simulate bool, ctx sdk.Context, stdTx StdTx)
x/auth/ante.go:282
↓ 1 callers
Method
setInitialProposalID
(ctx sdk.Context, proposalID uint64)
x/gov/keeper.go:186
↓ 1 callers
Method
setInvalid
()
store/iavlstore.go:403
↓ 1 callers
Function
setLatestVersion
Set the latest version.
store/rootmultistore.go:470
↓ 1 callers
Method
setNext
----------------------------------------
store/iavlstore.go:396
↓ 1 callers
Method
setTallyParams
nolint: errcheck
x/gov/keeper.go:280
↓ 1 callers
Method
setVotingParams
nolint: errcheck
x/gov/keeper.go:275
↓ 1 callers
Function
showKeysCmd
()
client/keys/show.go:43
↓ 1 callers
Method
signLedgerSecp256k1
(msg []byte)
crypto/ledger_secp256k1.go:140
↓ 1 callers
Function
signingInfoHandlerFn
http request handler to query signing info nolint: unparam
x/slashing/client/rest/query.go:23
↓ 1 callers
Function
simulateMsgs
nolint SimulateMsgs simulates the transaction and returns the gas estimate and the adjusted value.
client/utils/utils.go:147
↓ 1 callers
Function
skipInterface
(iface net.Interface)
server/util.go:226
↓ 1 callers
Function
skipOne
(iter Iterator, skipKey []byte)
store/prefixstore.go:220
↓ 1 callers
Method
slashRedelegation
slash a redelegation and update the pool return the amount that would have been slashed assuming the unbonding delegation had enough stake to slash (t
x/stake/keeper/slash.go:191
↓ 1 callers
Method
slashUnbondingDelegation
slash an unbonding delegation and update the pool return the amount that would have been slashed assuming the unbonding delegation had enough stake to
x/stake/keeper/slash.go:145
↓ 1 callers
Method
sortNoLongerBonded
given a map of remaining validators to previous bonded power returns the list of validators to be unbonded, sorted by operator address
x/stake/keeper/val_state_change.go:273
↓ 1 callers
Function
splitPath
Splits a string path using the delimter '/'. i.e. "this/is/funny" becomes []string{"this", "is", "funny"}
baseapp/baseapp.go:285
↓ 1 callers
Function
startInProcess
(ctx *Context, appCreator AppCreator)
server/start.go:96
↓ 1 callers
Function
startStandAlone
(ctx *Context, appCreator AppCreator)
server/start.go:57
↓ 1 callers
Function
statusCommand
()
client/rpc/status.go:17
↓ 1 callers
Function
stripPrefix
copied from github.com/tendermint/tendermint/libs/db/prefix_db.go
store/prefixstore.go:188
↓ 1 callers
Function
uint32ToBytes
(i uint32)
crypto/keys/hd/hdpath.go:243
↓ 1 callers
Method
unbondedToBonded
(ctx sdk.Context, validator types.Validator)
x/stake/keeper/val_state_change.go:142
↓ 1 callers
Function
unbondingDelegationHandlerFn
HTTP request handler to query an unbonding-delegation
x/stake/client/rest/query.go:194
↓ 1 callers
Method
unbondingToBonded
(ctx sdk.Context, validator types.Validator)
x/stake/keeper/val_state_change.go:135
↓ 1 callers
Method
unbondingToUnbonded
switches a validator from unbonding state to unbonded state
x/stake/keeper/val_state_change.go:150
↓ 1 callers
Function
unjailRequestHandlerFn
(cdc *codec.Codec, kb keys.Keybase, cliCtx context.CLIContext)
x/slashing/client/rest/tx.go:29
↓ 1 callers
Method
unjailValidator
remove a validator from jail
x/stake/keeper/val_state_change.go:170
↓ 1 callers
Function
unknownCodeMsg
(code CodeType)
types/errors.go:71
↓ 1 callers
Function
unmarshalBodyOrReturnBadRequest
(cliCtx context.CLIContext, w http.ResponseWriter, r *http.Request, m *broadcastBody)
x/bank/client/rest/broadcast.go:41
↓ 1 callers
Function
updateKeyCommand
()
client/keys/update.go:16
← previous
next →
1,101–1,200 of 2,183, ranked by callers