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
UpdateForNewHeight
update total accumulation factor for the new height CONTRACT: height should be greater than the old height
x/distribution/types/total_accum.go:22
↓ 2 callers
Method
Valid
Implements Iterator.
store/gaskvstore.go:143
↓ 2 callers
Method
Validate
Validate performs basic sanity validation checks of initial commission parameters. If validation fails, an SDK error is returned.
x/stake/types/commission.go:76
↓ 2 callers
Function
ValidateTxResult
ValidateTxResult performs transaction verification
client/tx/query.go:91
↓ 2 callers
Method
ValidatorQueueIterator
Returns all the validator queue timeslices from time 0 until endTime
x/stake/keeper/validator.go:363
↓ 2 callers
Method
VersionExists
VersionExists returns whether or not a given version is stored.
store/iavlstore.go:119
↓ 2 callers
Method
WithNodeURI
WithNodeURI returns a copy of the context with an updated node URI.
client/context/context.go:210
↓ 2 callers
Method
WithTracer
WithTracer sets the tracer for the MultiStore that the underlying stores will utilize to trace operations. A MultiStore is returned.
types/store.go:75
↓ 2 callers
Method
WithTxBytes
(txBytes []byte)
types/context.go:212
↓ 2 callers
Method
WithValue
---------------------------------------- With* (setting a value) nolint
types/context.go:88
↓ 2 callers
Method
WithVoteInfos
(VoteInfos []abci.VoteInfo)
types/context.go:216
↓ 2 callers
Method
WithdrawDelegationReward
___________________________________________________________________________________________ withdraw all rewards for a single delegation NOTE: This ge
x/distribution/keeper/delegation.go:129
↓ 2 callers
Method
WithdrawValidatorRewardsAll
withdrawal all the validator rewards including the commission
x/distribution/keeper/validator.go:60
↓ 2 callers
Function
ZeroInt
ZeroInt returns Int value with zero
types/int.go:131
↓ 2 callers
Function
add
(i *big.Int, i2 *big.Int)
types/int.go:21
↓ 2 callers
Method
addPubkey
(ctx sdk.Context, pubkey crypto.PubKey)
x/slashing/keeper.go:174
↓ 2 callers
Function
armorBytes
(bz []byte, blockType string)
crypto/keys/mintkey/mintkey.go:52
↓ 2 callers
Method
bondValidator
perform all the store operations for when a validator status becomes bonded
x/stake/keeper/val_state_change.go:182
↓ 2 callers
Function
buildUnsignedStdTxOffline
(txBldr authtxb.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg)
client/utils/utils.go:200
↓ 2 callers
Function
chopPrecisionAndRoundNonMutative
(d *big.Int)
types/decimal.go:332
↓ 2 callers
Function
chopPrecisionAndTruncateNonMutative
(d *big.Int)
types/decimal.go:358
↓ 2 callers
Method
consumeSeekGas
consumeSeekGas consumes a flat gas cost for seeking and a variable gas cost based on the current value's length.
store/gaskvstore.go:179
↓ 2 callers
Method
currentDelegationReward
get all rewards for all delegations of a delegator
x/distribution/keeper/delegation.go:90
↓ 2 callers
Method
decodeAccount
(bz []byte)
x/auth/keeper.go:139
↓ 2 callers
Function
div
(i *big.Int, i2 *big.Int)
types/int.go:27
↓ 2 callers
Function
equal
(i *big.Int, i2 *big.Int)
types/int.go:15
↓ 2 callers
Function
errKeyNameConflict
(name string)
client/keys/errors.go:5
↓ 2 callers
Function
errMissingPassword
()
client/keys/errors.go:13
↓ 2 callers
Function
fingerprintForCertificate
(certBytes []byte)
client/lcd/certificates.go:142
↓ 2 callers
Function
formatTxResult
(cdc *codec.Codec, res *ctypes.ResultTx)
client/tx/query.go:104
↓ 2 callers
Function
getBechKeyOut
(bechPrefix string)
client/keys/show.go:130
↓ 2 callers
Method
getBeginInfo
______________________________________________________________________________________________________ get info for begin functions: MinTime and Creat
x/stake/keeper/delegation.go:469
↓ 2 callers
Function
getCommitInfo
Gets commitInfo from disk.
store/rootmultistore.go:503
↓ 2 callers
Function
getKeyBaseFromDirWithOpts
(rootDir string, o *opt.Options)
client/keys/utils.go:107
↓ 2 callers
Method
getPubKey
getPubKey reads the pubkey the ledger itself since this involves IO, it may return an error, which is not exposed in the PubKey interface, so this fun
crypto/ledger_secp256k1.go:131
↓ 2 callers
Method
getPubkey
(ctx sdk.Context, address crypto.Address)
x/slashing/keeper.go:179
↓ 2 callers
Function
getSeed
function to just a new seed to display in the UI before actually persisting it in the keybase
client/keys/add.go:246
↓ 2 callers
Function
getShares
( storeName string, cdc *codec.Codec, sharesAmountStr, sharesPercentStr string, delAddr sdk.AccAddress, valA
x/stake/client/cli/utils.go:13
↓ 2 callers
Method
getValidatorSlashingPeriodForHeight
Stored by validator Tendermint address (not operator address) This function retrieves the most recent slashing period starting before a particular hei
x/slashing/slashing_period.go:41
↓ 2 callers
Function
gt
(i *big.Int, i2 *big.Int)
types/int.go:17
↓ 2 callers
Function
i64
i64 returns the two halfs of the SHA512 HMAC of key and data.
crypto/keys/hd/hdpath.go:250
↓ 2 callers
Method
initFromStore
initializes the remaining logic from app.cms
baseapp/baseapp.go:179
↓ 2 callers
Function
inputOutputCoins
InputOutputCoins handles a list of inputs and outputs NOTE: Make sure to revert state changes from tx on error
x/bank/keeper.go:240
↓ 2 callers
Method
iterator
(start, end []byte, ascending bool)
store/cachekvstore.go:153
↓ 2 callers
Method
iterator
(start, end []byte, ascending bool)
store/gaskvstore.go:107
↓ 2 callers
Method
iterator
iterator facilitates iteration over a KVStore. It delegates the necessary calls to it's parent KVStore.
store/tracekvstore.go:104
↓ 2 callers
Method
jailValidator
send a validator to jail
x/stake/keeper/val_state_change.go:158
↓ 2 callers
Method
loadCommitStoreFromParams
----------------------------------------
store/rootmultistore.go:339
↓ 2 callers
Function
lt
(i *big.Int, i2 *big.Int)
types/int.go:19
↓ 2 callers
Function
marshalAmino
MarshalAmino for custom encoding scheme
types/int.go:43
↓ 2 callers
Function
marshalJSON
MarshalJSON for custom encoding scheme Must be encoded as a string for JSON precision
types/int.go:55
↓ 2 callers
Function
min
(i *big.Int, i2 *big.Int)
types/int.go:35
↓ 2 callers
Function
mod
(i *big.Int, i2 *big.Int)
types/int.go:29
↓ 2 callers
Function
mul
(i *big.Int, i2 *big.Int)
types/int.go:25
↓ 2 callers
Method
mustGetValidatorByConsAddr
(ctx sdk.Context, consAddr sdk.ConsAddress)
x/stake/keeper/validator.go:77
↓ 2 callers
Function
newError
(codespace CodespaceType, code CodeType, format string, args ...interface{})
types/errors.go:196
↓ 2 callers
Function
newError
------------------------- Helpers nolint: unparam
x/ibc/errors.go:40
↓ 2 callers
Function
newIAVLIterator
newIAVLIterator will create a new iavlIterator. CONTRACT: Caller must release the iavlIterator, as each one creates a new goroutine.
store/iavlstore.go:305
↓ 2 callers
Function
newIntegerFromString
(s string)
types/int.go:11
↓ 2 callers
Function
newPrefixIterator
(prefix, start, end []byte, parent Iterator)
store/prefixstore.go:133
↓ 2 callers
Function
prepareTxBuilder
(txBldr authtxb.TxBuilder, cliCtx context.CLIContext)
client/utils/utils.go:168
↓ 2 callers
Function
printKeyInfo
(keyInfo keys.Info, bechKeyOut bechKeyOutFn)
client/keys/utils.go:196
↓ 2 callers
Function
printKeyOutput
(ko KeyOutput)
client/keys/utils.go:236
↓ 2 callers
Function
printPrefixed
(msg string)
client/keys/new.go:182
↓ 2 callers
Function
printlnJSON
(v interface{})
server/tm_cmds.go:85
↓ 2 callers
Method
queryStore
queryStore performs a query from a Tendermint node with the provided a store name and path.
client/context/query.go:224
↓ 2 callers
Function
queryTx
(cdc *codec.Codec, cliCtx context.CLIContext, hashHexStr string)
client/tx/query.go:56
↓ 2 callers
Function
random
(i *big.Int)
types/int.go:33
↓ 2 callers
Method
receiveNext
()
store/iavlstore.go:413
↓ 2 callers
Method
runMsgs
Iterates through msgs and executes them
baseapp/baseapp.go:524
↓ 2 callers
Function
searchTxs
(cliCtx context.CLIContext, cdc *codec.Codec, tags []string)
client/tx/search.go:82
↓ 2 callers
Function
sendCoins
SendCoins moves coins from one account to another NOTE: Make sure to revert state changes from tx on error
x/bank/keeper.go:224
↓ 2 callers
Method
setDeliverState
(header abci.Header)
baseapp/baseapp.go:222
↓ 2 callers
Method
setTop
(top uint64)
store/queue.go:34
↓ 2 callers
Method
setVote
(ctx sdk.Context, proposalID uint64, voterAddr sdk.AccAddress, vote Vote)
x/gov/keeper.go:323
↓ 2 callers
Method
skipCacheDeletes
Skip all delete-items from the cache w/ `key < until`. After this function, current cache item is a non-delete-item, or `until <= key`. If the curren
store/cachemergeiterator.go:163
↓ 2 callers
Function
sub
(i *big.Int, i2 *big.Int)
types/int.go:23
↓ 2 callers
Function
tally
(ctx sdk.Context, keeper Keeper, proposal Proposal)
x/gov/tally.go:16
↓ 2 callers
Method
transientStore
Returns a KVStore identical with ctx.TransientStore(s.tkey).Prefix()
x/params/subspace/subspace.go:68
↓ 2 callers
Function
unarmorBytes
(armorStr, blockType string)
crypto/keys/mintkey/mintkey.go:73
↓ 2 callers
Function
unmarshalAmino
UnmarshalAmino for custom decoding scheme
types/int.go:49
↓ 2 callers
Function
unmarshalBinaryPanic
(cdc *codec.Codec, bz []byte, ptr interface{})
x/ibc/mapper.go:71
↓ 2 callers
Function
unmarshalJSON
UnmarshalJSON for custom decoding scheme Must be encoded as a string for JSON precision
types/int.go:65
↓ 2 callers
Method
unmarshalSlashingPeriodKeyValue
Unmarshal key/value into a ValidatorSlashingPeriod
x/slashing/slashing_period.go:84
↓ 2 callers
Function
urlQueryHasArg
(url *url.URL, arg string)
client/utils/rest.go:116
↓ 2 callers
Function
validVoteOption
Is defined VoteOption
x/gov/depositsvotes.go:76
↓ 2 callers
Method
withdrawDelegationReward
___________________________________________________________________________________________ return all rewards for a delegation
x/distribution/keeper/delegation.go:73
↓ 2 callers
Method
withdrawDelegationRewardsAll
(ctx sdk.Context, delAddr sdk.AccAddress)
x/distribution/keeper/delegation.go:166
↓ 2 callers
Method
writeLocalKey
(priv tmcrypto.PrivKey, name, passphrase string)
crypto/keys/keybase.go:435
↓ 1 callers
Method
ABCICode
()
types/errors.go:182
↓ 1 callers
Method
ABCILog
()
types/errors.go:181
↓ 1 callers
Method
ABCIValidatorUpdate
ABCIValidatorUpdate returns an abci.ValidatorUpdate from a staked validator type with the full validator power
x/stake/types/validator.go:310
↓ 1 callers
Method
ABCIValidatorUpdateZero
ABCIValidatorUpdateZero returns an abci.ValidatorUpdate from a staked validator type with zero power used for validator updates.
x/stake/types/validator.go:319
↓ 1 callers
Method
Abs
reverse the decimal sign
types/decimal.go:185
↓ 1 callers
Function
AccAddressFromBech32
AccAddressFromBech32 creates an AccAddress from a Bech32 string.
types/address.go:57
↓ 1 callers
Method
ActiveProposalQueueIterator
===================================================== ProposalQueues Returns an iterator for all the proposals in the Active Queue that expire by endT
x/gov/keeper.go:456
↓ 1 callers
Method
Add
Add adds Uint from another
types/int.go:408
↓ 1 callers
Method
AddCoins
(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins)
x/distribution/types/keepers.go:19
↓ 1 callers
Function
AddNewKeyRequestHandler
add new key REST handler
client/keys/add.go:172
↓ 1 callers
Method
AddTokensFromDel
_________________________________________________________________________________________________________ AddTokensFromDel adds tokens to a validator
x/stake/types/validator.go:385
← previous
next →
501–600 of 2,183, ranked by callers