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
Method
CreateFundraiserKey
CreateFundraiserKey converts a mnemonic to a private key and persists it, encrypted with the given password. TODO(ismail)
crypto/keys/keybase.go:134
Function
CreateGenAccounts
CreateGenAccounts generates genesis accounts loaded with coins, and returns their addresses, pubkeys, and privkeys.
x/mock/app.go:114
Method
CreateKey
TEMPORARY METHOD UNTIL WE FIGURE OUT USER FACING HD DERIVATION API
crypto/keys/keybase.go:117
Method
CreateLedger
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
Method
CreateMnemonic
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
Function
CreateMsg
create the sendTx msg
x/bank/client/util.go:9
Method
CreateOffline
Create, store, and return a new offline key reference
crypto/keys/types.go:40
Method
CreateOffline
CreateOffline creates a new reference to an offline keypair It returns the created key info
crypto/keys/keybase.go:174
Function
CreateTestInput
hogpodge of all sorts of input required for testing
x/stake/keeper/test_common.go:78
Function
CreateTestInputDefault
test input with default values
x/distribution/keeper/test_common.go:74
Method
CurrentDelegationReward
current rewards for a single delegation
x/distribution/keeper/delegation.go:146
Method
CurrentValidatorRewardsAll
get all the validator rewards including the commission
x/distribution/keeper/validator.go:82
Function
DecEq
intended to be used with require/assert: require.True(DecEq(...))
types/decimal.go:482
Function
DecsEqual
___________________________________________________________________________________ helpers test if two decimal arrays are equal
types/decimal.go:452
Function
DefaultChainID
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
Function
DefaultGenesisState
get raw genesis raw message for testing
x/distribution/types/genesis.go:40
Function
DefaultGenesisState
Return a default genesis state
x/auth/genesis.go:20
Function
DefaultGenesisState
get raw genesis raw message for testing
x/mint/genesis.go:21
Function
DefaultGenesisState
HubDefaultGenesisState - default GenesisState used by Cosmos Hub
x/slashing/genesis.go:23
Function
DefaultGenesisState
get raw genesis raw message for testing
x/stake/types/genesis.go:29
Function
DefaultGenesisWithValidators
default genesis utility function, initialize for starting validator set
x/distribution/types/genesis.go:50
Function
DefaultProofRuntime
----------------------------------------------------------------------------- XXX: This should be managed by the rootMultiStore which may want to regi
store/multistoreproof.go:133
Function
DefaultTestComponents
Returns components for testing
x/params/subspace/test_common.go:24
Function
DefaultTxDecoder
logic for standard transaction decoding
x/auth/stdtx.go:142
Method
Delegation
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
Method
Delegation
get the delegation for a particular set of delegator and validator addresses
x/stake/keeper/sdk_types.go:122
Method
Delete
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
Method
Delete
Implements KVStore
store/prefixstore.go:68
Method
Delete
Implements KVStore.
store/iavlstore.go:155
Method
Delete
Implements KVStore.
store/cachekvstore.go:76
Method
Delete
Implements KVStore.
store/gaskvstore.go:61
Method
Delete
Delete implements the KVStore interface. It traces a write operation and delegates the Delete call to the parent KVStore.
store/tracekvstore.go:69
Method
Delete
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
Function
DeleteKeyRequestHandler
delete key REST handler
client/keys/delete.go:63
Method
DeliverTx
Implements ABCI
baseapp/baseapp.go:469
Method
Derive
(name, mnemonic, bip39Passphrase, encryptPasswd string, params hd.BIP44Params)
crypto/keys/keybase.go:148
Function
DerivePrivateKeyForPath
DerivePrivateKeyForPath derives the private key by following the BIP 32/44 path from privKeyBytes, using the given chainCode.
crypto/keys/hd/hdpath.go:176
Function
DiffKVStores
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
Method
DivRaw
DivRaw divides Int with int64
types/int.go:234
Method
DivRaw
Div divides Uint with uint64
types/int.go:466
Method
Domain
Implements Iterator
store/prefixstore.go:144
Method
Domain
Implements Iterator.
store/iavlstore.go:343
Method
Domain
()
store/memiterator.go:33
Method
Domain
Implements Iterator.
store/gaskvstore.go:138
Method
Domain
Domain implements Iterator. If the domains are different, returns the union.
store/cachemergeiterator.go:33
Method
Domain
Domain implements the Iterator interface.
store/tracekvstore.go:127
Function
EmptyTags
New empty tags
types/tags.go:14
Function
EncryptArmorPrivKey
----------------------------------------------------------------- encrypt/decrypt with armor Encrypt and armor the private key.
crypto/keys/mintkey/mintkey.go:93
Function
EndBlocker
Called every block, update validator set
x/stake/handler.go:34
Method
EndBlocker
EndBlocker reflects logic to run after all TXs are processed by the application.
app/app.go:130
Method
Equal
Equal compares two Uints
types/int.go:393
Method
Equal
nolint
types/stake.go:33
Method
Equal
Equal checks if the given Commission object is equal to the receiving Commission object.
x/stake/types/commission.go:60
Method
Equal
___________________________________________________________________ only the vitals - does not check bond height of IntraTxCounter
x/stake/types/validator.go:230
Method
Equal
Equal returns a boolean determining if two Param types are identical.
x/stake/types/params.go:51
Method
Equal
nolint
x/stake/types/delegation.go:181
Method
Equal
nolint
x/stake/types/delegation.go:277
Method
Equals
Returns boolean for whether two AccAddresses are Equal
types/address.go:68
Method
Equals
Returns boolean for whether two ValAddresses are Equal
types/address.go:184
Method
Equals
Returns boolean for whether two ConsAddress are Equal
types/address.go:306
Function
ErrAddressNotStaked
(codespace sdk.CodespaceType, address sdk.AccAddress)
x/gov/errors.go:45
Function
ErrAlreadyActiveProposal
(codespace sdk.CodespaceType, proposalID uint64)
x/gov/errors.go:37
Function
ErrBadDelegatorAddr
(codespace sdk.CodespaceType)
x/stake/types/errors.go:108
Function
ErrBadRedelegationDst
(codespace sdk.CodespaceType)
x/stake/types/errors.go:162
Function
ErrBadRemoveValidator
(codespace sdk.CodespaceType)
x/stake/types/errors.go:51
Function
ErrBadSharesPercent
(codespace sdk.CodespaceType)
x/stake/types/errors.go:132
Function
ErrBothShareMsgsGiven
(codespace sdk.CodespaceType)
x/stake/types/errors.go:181
Function
ErrConflictingRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:171
Function
ErrDelegationValidatorEmpty
(codespace sdk.CodespaceType)
x/stake/types/errors.go:120
Function
ErrDelegatorShareExRateInvalid
(codespace sdk.CodespaceType)
x/stake/types/errors.go:176
Function
ErrExistingUnbondingDelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:146
Function
ErrInsufficientCoins
(msg string)
types/errors.go:143
Function
ErrInsufficientFee
(msg string)
types/errors.go:155
Function
ErrInsufficientFunds
(msg string)
types/errors.go:128
Function
ErrInsufficientShares
(codespace sdk.CodespaceType)
x/stake/types/errors.go:116
Function
ErrInternal
-------------------------------------------------------------------------------- All errors are created via constructors so as to enable us to hijack
types/errors.go:116
Function
ErrInvalidAddress
(msg string)
types/errors.go:134
Function
ErrInvalidCoins
(msg string)
types/errors.go:146
Function
ErrInvalidInput
---------------------------------------- Error constructors
x/bank/errors.go:31
Function
ErrInvalidOutput
(codespace sdk.CodespaceType, msg string)
x/bank/errors.go:39
Function
ErrInvalidPubKey
(msg string)
types/errors.go:140
Function
ErrInvalidSequence
(msg string)
types/errors.go:122
Function
ErrMemoTooLarge
(msg string)
types/errors.go:152
Function
ErrMissingSignature
(codespace sdk.CodespaceType)
x/stake/types/errors.go:189
Function
ErrNeitherShareMsgsGiven
(codespace sdk.CodespaceType)
x/stake/types/errors.go:185
Function
ErrNoDelegationDistInfo
(codespace sdk.CodespaceType)
x/distribution/types/errors.go:25
Function
ErrNoDelegatorForAddress
(codespace sdk.CodespaceType)
x/stake/types/errors.go:112
Function
ErrNoRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:154
Function
ErrNoUnbondingDelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:142
Function
ErrNoValidatorDistInfo
(codespace sdk.CodespaceType)
x/distribution/types/errors.go:28
Function
ErrNotEnoughDelegationShares
(codespace sdk.CodespaceType, shares string)
x/stake/types/errors.go:124
Function
ErrNotMature
(codespace sdk.CodespaceType, operation, descriptor string, got, min time.Time)
x/stake/types/errors.go:136
Function
ErrOutOfGas
(msg string)
types/errors.go:149
Function
ErrSelfRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:158
Function
ErrTransitiveRedelegation
(codespace sdk.CodespaceType)
x/stake/types/errors.go:166
Function
ErrTxDecode
(msg string)
types/errors.go:119
Function
ErrUnauthorized
(msg string)
types/errors.go:125
Function
ErrUnknownAddress
(msg string)
types/errors.go:137
Method
Error
()
crypto/keys/keyerror/errors.go:59
Method
Export
(name string)
crypto/keys/types.go:46
← previous
next →
1,301–1,400 of 2,183, ranked by callers