MCPcopy Create free account

hub / github.com/OCEChain/OCEChain / functions

Functions2,183 in github.com/OCEChain/OCEChain

MethodCreateFundraiserKey
CreateFundraiserKey converts a mnemonic to a private key and persists it, encrypted with the given password. TODO(ismail)
crypto/keys/keybase.go:134
FunctionCreateGenAccounts
CreateGenAccounts generates genesis accounts loaded with coins, and returns their addresses, pubkeys, and privkeys.
x/mock/app.go:114
MethodCreateKey
TEMPORARY METHOD UNTIL WE FIGURE OUT USER FACING HD DERIVATION API
crypto/keys/keybase.go:117
MethodCreateLedger
CreateLedger creates a new locally-stored reference to a Ledger keypair It returns the created key info and an error if the Ledger could not be querie
crypto/keys/keybase.go:160
MethodCreateMnemonic
CreateMnemonic generates a new key and persists it to storage, encrypted using the provided password. It returns the generated mnemonic and the key In
crypto/keys/keybase.go:91
FunctionCreateMsg
create the sendTx msg
x/bank/client/util.go:9
MethodCreateOffline
Create, store, and return a new offline key reference
crypto/keys/types.go:40
MethodCreateOffline
CreateOffline creates a new reference to an offline keypair It returns the created key info
crypto/keys/keybase.go:174
FunctionCreateTestInput
hogpodge of all sorts of input required for testing
x/stake/keeper/test_common.go:78
FunctionCreateTestInputDefault
test input with default values
x/distribution/keeper/test_common.go:74
MethodCurrentDelegationReward
current rewards for a single delegation
x/distribution/keeper/delegation.go:146
MethodCurrentValidatorRewardsAll
get all the validator rewards including the commission
x/distribution/keeper/validator.go:82
FunctionDecEq
intended to be used with require/assert: require.True(DecEq(...))
types/decimal.go:482
FunctionDecsEqual
___________________________________________________________________________________ helpers test if two decimal arrays are equal
types/decimal.go:452
FunctionDefaultChainID
DefaultChainID returns the chain ID from the genesis file if present. An error is returned if the file cannot be read or parsed. TODO: This should be
types/utils.go:70
FunctionDefaultGenesisState
get raw genesis raw message for testing
x/distribution/types/genesis.go:40
FunctionDefaultGenesisState
Return a default genesis state
x/auth/genesis.go:20
FunctionDefaultGenesisState
get raw genesis raw message for testing
x/mint/genesis.go:21
FunctionDefaultGenesisState
HubDefaultGenesisState - default GenesisState used by Cosmos Hub
x/slashing/genesis.go:23
FunctionDefaultGenesisState
get raw genesis raw message for testing
x/stake/types/genesis.go:29
FunctionDefaultGenesisWithValidators
default genesis utility function, initialize for starting validator set
x/distribution/types/genesis.go:50
FunctionDefaultProofRuntime
----------------------------------------------------------------------------- XXX: This should be managed by the rootMultiStore which may want to regi
store/multistoreproof.go:133
FunctionDefaultTestComponents
Returns components for testing
x/params/subspace/test_common.go:24
FunctionDefaultTxDecoder
logic for standard transaction decoding
x/auth/stdtx.go:142
MethodDelegation
unjail a validator Delegation allows for getting a particular delegation for a given validator and delegator outside the scope of the staking module.
types/stake.go:85
MethodDelegation
get the delegation for a particular set of delegator and validator addresses
x/stake/keeper/sdk_types.go:122
MethodDelete
Delete removes key forever, but we must present the proper passphrase before deleting it (for security). A passphrase of 'yes' is used to delete store
crypto/keys/keybase.go:372
MethodDelete
Implements KVStore
store/prefixstore.go:68
MethodDelete
Implements KVStore.
store/iavlstore.go:155
MethodDelete
Implements KVStore.
store/cachekvstore.go:76
MethodDelete
Implements KVStore.
store/gaskvstore.go:61
MethodDelete
Delete implements the KVStore interface. It traces a write operation and delegates the Delete call to the parent KVStore.
store/tracekvstore.go:69
MethodDelete
Delete() deletes the element in the given position Other elements' indices are preserved after deletion Panics when the index is out of range
store/list.go:67
FunctionDeleteKeyRequestHandler
delete key REST handler
client/keys/delete.go:63
MethodDeliverTx
Implements ABCI
baseapp/baseapp.go:469
MethodDerive
(name, mnemonic, bip39Passphrase, encryptPasswd string, params hd.BIP44Params)
crypto/keys/keybase.go:148
FunctionDerivePrivateKeyForPath
DerivePrivateKeyForPath derives the private key by following the BIP 32/44 path from privKeyBytes, using the given chainCode.
crypto/keys/hd/hdpath.go:176
FunctionDiffKVStores
Compare two KVstores, return either the first key/value pair at which they differ and whether or not they are equal, skipping value comparison for a s
types/store.go:183
MethodDivRaw
DivRaw divides Int with int64
types/int.go:234
MethodDivRaw
Div divides Uint with uint64
types/int.go:466
MethodDomain
Implements Iterator
store/prefixstore.go:144
MethodDomain
Implements Iterator.
store/iavlstore.go:343
MethodDomain
()
store/memiterator.go:33
MethodDomain
Implements Iterator.
store/gaskvstore.go:138
MethodDomain
Domain implements Iterator. If the domains are different, returns the union.
store/cachemergeiterator.go:33
MethodDomain
Domain implements the Iterator interface.
store/tracekvstore.go:127
FunctionEmptyTags
New empty tags
types/tags.go:14
FunctionEncryptArmorPrivKey
----------------------------------------------------------------- encrypt/decrypt with armor Encrypt and armor the private key.
crypto/keys/mintkey/mintkey.go:93
FunctionEndBlocker
Called every block, update validator set
x/stake/handler.go:34
MethodEndBlocker
EndBlocker reflects logic to run after all TXs are processed by the application.
app/app.go:130
MethodEqual
Equal compares two Uints
types/int.go:393
MethodEqual
nolint
types/stake.go:33
MethodEqual
Equal checks if the given Commission object is equal to the receiving Commission object.
x/stake/types/commission.go:60
MethodEqual
___________________________________________________________________ only the vitals - does not check bond height of IntraTxCounter
x/stake/types/validator.go:230
MethodEqual
Equal returns a boolean determining if two Param types are identical.
x/stake/types/params.go:51
MethodEqual
nolint
x/stake/types/delegation.go:181
MethodEqual
nolint
x/stake/types/delegation.go:277
MethodEquals
Returns boolean for whether two AccAddresses are Equal
types/address.go:68
MethodEquals
Returns boolean for whether two ValAddresses are Equal
types/address.go:184
MethodEquals
Returns boolean for whether two ConsAddress are Equal
types/address.go:306
FunctionErrAddressNotStaked
(codespace sdk.CodespaceType, address sdk.AccAddress)
x/gov/errors.go:45
FunctionErrAlreadyActiveProposal
(codespace sdk.CodespaceType, proposalID uint64)
x/gov/errors.go:37
FunctionErrBadDelegatorAddr
(codespace sdk.CodespaceType)
x/stake/types/errors.go:108
FunctionErrBadRedelegationDst
(codespace sdk.CodespaceType)
x/stake/types/errors.go:162
FunctionErrBadRemoveValidator
(codespace sdk.CodespaceType)
x/stake/types/errors.go:51
FunctionErrBadSharesPercent
(codespace sdk.CodespaceType)
x/stake/types/errors.go:132
FunctionErrBothShareMsgsGiven
(codespace sdk.CodespaceType)
x/stake/types/errors.go:181
FunctionErrConflictingRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:171
FunctionErrDelegationValidatorEmpty
(codespace sdk.CodespaceType)
x/stake/types/errors.go:120
FunctionErrDelegatorShareExRateInvalid
(codespace sdk.CodespaceType)
x/stake/types/errors.go:176
FunctionErrExistingUnbondingDelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:146
FunctionErrInsufficientCoins
(msg string)
types/errors.go:143
FunctionErrInsufficientFee
(msg string)
types/errors.go:155
FunctionErrInsufficientFunds
(msg string)
types/errors.go:128
FunctionErrInsufficientShares
(codespace sdk.CodespaceType)
x/stake/types/errors.go:116
FunctionErrInternal
-------------------------------------------------------------------------------- All errors are created via constructors so as to enable us to hijack
types/errors.go:116
FunctionErrInvalidAddress
(msg string)
types/errors.go:134
FunctionErrInvalidCoins
(msg string)
types/errors.go:146
FunctionErrInvalidInput
---------------------------------------- Error constructors
x/bank/errors.go:31
FunctionErrInvalidOutput
(codespace sdk.CodespaceType, msg string)
x/bank/errors.go:39
FunctionErrInvalidPubKey
(msg string)
types/errors.go:140
FunctionErrInvalidSequence
(msg string)
types/errors.go:122
FunctionErrMemoTooLarge
(msg string)
types/errors.go:152
FunctionErrMissingSignature
(codespace sdk.CodespaceType)
x/stake/types/errors.go:189
FunctionErrNeitherShareMsgsGiven
(codespace sdk.CodespaceType)
x/stake/types/errors.go:185
FunctionErrNoDelegationDistInfo
(codespace sdk.CodespaceType)
x/distribution/types/errors.go:25
FunctionErrNoDelegatorForAddress
(codespace sdk.CodespaceType)
x/stake/types/errors.go:112
FunctionErrNoRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:154
FunctionErrNoUnbondingDelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:142
FunctionErrNoValidatorDistInfo
(codespace sdk.CodespaceType)
x/distribution/types/errors.go:28
FunctionErrNotEnoughDelegationShares
(codespace sdk.CodespaceType, shares string)
x/stake/types/errors.go:124
FunctionErrNotMature
(codespace sdk.CodespaceType, operation, descriptor string, got, min time.Time)
x/stake/types/errors.go:136
FunctionErrOutOfGas
(msg string)
types/errors.go:149
FunctionErrSelfRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:158
FunctionErrTransitiveRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:166
FunctionErrTxDecode
(msg string)
types/errors.go:119
FunctionErrUnauthorized
(msg string)
types/errors.go:125
FunctionErrUnknownAddress
(msg string)
types/errors.go:137
MethodError
()
crypto/keys/keyerror/errors.go:59
MethodExport
(name string)
crypto/keys/types.go:46
← previousnext →1,301–1,400 of 2,183, ranked by callers