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
↓ 161 callers
Method
String
()
types/store.go:296
↓ 136 callers
Method
Error
Implements ABCIError.
types/errors.go:234
↓ 130 callers
Method
KVStore
KVStore fetches a KVStore from the MultiStore.
types/context.go:75
↓ 87 callers
Method
Write
Write syncs with the underlying store.
types/store.go:242
↓ 86 callers
Method
Get
Get returns nil iff key doesn't exist. Panics on nil key.
types/store.go:126
↓ 79 callers
Method
Set
Set sets the key. Panics on nil key or value.
types/store.go:132
↓ 72 callers
Method
Error
()
crypto/keys/keyerror/errors.go:26
↓ 55 callers
Method
Valid
Implements Iterator.
store/iavlstore.go:348
↓ 54 callers
Method
Result
()
types/errors.go:183
↓ 54 callers
Method
Value
---------------------------------------- Getting a value context value for the provided key
types/context.go:63
↓ 49 callers
Method
Next
Implements Iterator.
store/iavlstore.go:358
↓ 45 callers
Method
Close
Implements Iterator.
store/iavlstore.go:390
↓ 40 callers
Method
Bytes
fee bytes for signing later
x/auth/stdtx.go:85
↓ 37 callers
Method
Key
Implements Iterator.
store/iavlstore.go:368
↓ 34 callers
Method
Add
Add adds Int from another
types/int.go:176
↓ 34 callers
Method
Delete
Delete deletes the key. Panics on nil key.
types/store.go:135
↓ 34 callers
Method
Sub
Sub subtracts Int from another
types/int.go:191
↓ 34 callers
Method
WithCodec
WithCodec returns a copy of the context with an updated codec.
x/auth/client/txbuilder/txbuilder.go:50
↓ 32 callers
Method
PubKey
PubKey returns the cached public key.
crypto/ledger_secp256k1.go:74
↓ 29 callers
Method
MarshalJSON
Marshals to JSON using string
x/gov/proposals.go:174
↓ 28 callers
Method
Sign
Sign some bytes, looking up the private key to use
crypto/keys/types.go:21
↓ 27 callers
Method
BlockHeader
()
types/context.go:153
↓ 26 callers
Method
Equal
nolint
x/stake/types/pool.go:18
↓ 23 callers
Method
BlockHeight
()
types/context.go:155
↓ 23 callers
Method
GetPool
_______________________________________________________________________ load the pool
x/stake/keeper/keeper.go:57
↓ 22 callers
Method
MountStoreWithDB
Mount a store of type using the given db. If db == nil, the new store will use the CommitMultiStore db.
types/store.go:99
↓ 21 callers
Method
ConsAddress
return the TM validator address
x/stake/types/validator.go:241
↓ 20 callers
Method
withValue
(key interface{}, value interface{})
types/context.go:113
↓ 19 callers
Method
IsZero
IsZero returns true if Int is zero
types/int.go:151
↓ 19 callers
Method
MarshalJSON
MarshalJSON defines custom encoding scheme
types/int.go:288
↓ 18 callers
Method
GT
GT returns true if first Int is greater than second
types/int.go:166
↓ 18 callers
Method
Get
(name string)
crypto/keys/types.go:16
↓ 18 callers
Method
Info
______________________________________________________________________________ ABCI Implements ABCI
baseapp/baseapp.go:235
↓ 18 callers
Method
Plus
Adds amounts of two coins with same denom
x/distribution/types/dec_coin.go:31
↓ 18 callers
Method
QueryWithData
Query information about the connected node with a data payload
client/context/query.go:39
↓ 18 callers
Method
UnmarshalJSON
Unmarshals from JSON assuming Bech32 encoding
x/gov/proposals.go:179
↓ 17 callers
Method
Quo
quotient
types/decimal.go:229
↓ 17 callers
Method
SetPool
set the pool
x/stake/keeper/keeper.go:68
↓ 17 callers
Function
WriteErrorResponse
---------------------------------------- Basic HTTP utilities WriteErrorResponse prepares and writes a HTTP error given a status code and an error mes
client/utils/rest.go:30
↓ 16 callers
Method
ConsumeGas
(amount Gas, descriptor string)
types/gas.go:31
↓ 16 callers
Method
GetValidator
get a single validator
x/stake/keeper/validator.go:27
↓ 15 callers
Method
QueryResult
()
types/errors.go:184
↓ 14 callers
Method
Iterator
Iterator over a domain of keys in ascending order. End is exclusive. Start must be less than end, or the Iterator is invalid. Iterator must be closed
types/store.go:142
↓ 14 callers
Method
LT
LT returns true if first Int is lesser than second
types/int.go:171
↓ 14 callers
Method
Mul
Mul multiples two Ints
types/int.go:206
↓ 14 callers
Method
QueryStore
QueryStore performs a query from a Tendermint node with the provided key and store name.
client/context/query.go:45
↓ 14 callers
Function
newErrorWithRootCodespace
(code CodeType, format string, args ...interface{})
types/errors.go:192
↓ 13 callers
Method
GetPubKey
Public key
crypto/keys/types.go:84
↓ 12 callers
Method
Bytes
Bytes implements the PrivKey interface. It stores the cached public key so we can verify the same key when we reconnect to a ledger.
crypto/ledger_secp256k1.go:100
↓ 12 callers
Method
Codespace
_________________________________________________________________________ return the codespace
x/stake/keeper/keeper.go:50
↓ 12 callers
Method
Equal
Equal compares two Ints
types/int.go:161
↓ 12 callers
Method
GasMeter
()
types/context.go:171
↓ 12 callers
Function
GetConfig
GetConfig returns the config instance for the SDK.
types/config.go:31
↓ 12 callers
Method
GetProposalID
()
x/gov/proposals.go:16
↓ 12 callers
Method
GetStatus
()
x/gov/proposals.go:28
↓ 12 callers
Method
MarshalJSON
MarshalJSON marshals the validator to JSON using Bech32
x/stake/types/validator.go:178
↓ 12 callers
Method
SetValidator
___________________________________________________________________________ set the main record holding validator details
x/stake/keeper/validator.go:88
↓ 12 callers
Method
UnmarshalJSON
UnmarshalJSON unmarshals the validator from JSON using Bech32
x/stake/types/validator.go:201
↓ 12 callers
Method
ValidateBasic
ValidateBasic does a simple validation check that doesn't require access to any other information.
types/tx_msg.go:20
↓ 11 callers
Method
Bytes
Bytes returns the raw address bytes.
types/address.go:122
↓ 11 callers
Method
GetFromAddress
GetFromAddress returns the from address from the context's name.
client/context/query.go:84
↓ 11 callers
Method
GetNode
GetNode returns an RPC client. If the context's client is not defined, an error is returned.
client/context/query.go:25
↓ 11 callers
Method
Has
Has checks if a key exists. Panics on nil key.
types/store.go:129
↓ 11 callers
Method
IsOK
TODO: In the future, more codes may be OK.
types/result.go:30
↓ 11 callers
Method
MulDec
multiply all the coins by a decimal
x/distribution/types/dec_coin.go:131
↓ 11 callers
Method
Valid
Valid implements Iterator.
store/cachemergeiterator.go:50
↓ 11 callers
Method
WithAccountDecoder
WithAccountDecoder returns a copy of the context with an updated account decoder.
client/context/context.go:180
↓ 10 callers
Method
Marshal
Marshal returns the raw address bytes. It is needed for protobuf compatibility.
types/address.go:88
↓ 10 callers
Method
Name
()
types/store.go:295
↓ 10 callers
Function
NewCacheKVStore
nolint
store/cachekvstore.go:30
↓ 10 callers
Method
Query
(abci.RequestQuery)
types/store.go:52
↓ 9 callers
Method
GetParams
Get all parameteras as types.Params
x/stake/keeper/params.go:40
↓ 9 callers
Method
NewContext
NewContext returns a new Context with the correct store, the given header, and nil txBytes.
baseapp/baseapp.go:198
↓ 9 callers
Method
TraceSDK
convenience
types/errors.go:174
↓ 9 callers
Method
Unmarshal
Unmarshal sets the address to the given data. It is needed for protobuf compatibility.
types/address.go:94
↓ 9 callers
Method
UnmarshalJSON
UnmarshalJSON defines custom decoding scheme
types/int.go:296
↓ 9 callers
Function
infoKey
(name string)
crypto/keys/keybase.go:469
↓ 8 callers
Method
BigInt
BigInt converts Int to big.Int
types/int.go:82
↓ 8 callers
Method
GetAccount
Implements sdk.AccountKeeper.
x/auth/keeper.go:52
↓ 8 callers
Function
GetKeyBaseWithWritePerm
GetKeyBaseWithWritePerm initialize a keybase based on the configuration with write permissions.
client/keys/utils.go:87
↓ 8 callers
Method
GetProposal
Get Proposal from store by ProposalID
x/gov/keeper.go:112
↓ 8 callers
Method
GetPubKey
errors if already set.
x/auth/account.go:21
↓ 8 callers
Method
IsNotNegative
IsNotNegative returns true if coin amount is not negative
types/coin.go:66
↓ 8 callers
Method
Minus
Subtracts amounts of two coins with same denom
x/distribution/types/dec_coin.go:39
↓ 8 callers
Function
NewGasKVStore
NewGasKVStore returns a reference to a new GasKVStore. nolint
store/gaskvstore.go:21
↓ 8 callers
Method
SetValidatorByPowerIndex
validator index
x/stake/keeper/validator.go:102
↓ 7 callers
Method
BroadcastTx
BroadcastTx broadcasts a transactions either synchronously or asynchronously based on the context parameters. The result of the broadcast is parsed in
client/context/broadcast.go:30
↓ 7 callers
Method
CacheMultiStore
Cache wrap MultiStore. NOTE: Caller should probably not call .Write() on each, but call CacheMultiStore.Write().
types/store.go:64
↓ 7 callers
Method
Codespace
()
types/errors.go:180
↓ 7 callers
Method
GetValidatorDistInfo
get the validator distribution info
x/distribution/keeper/validator.go:16
↓ 7 callers
Method
Key
Key implements Iterator
store/cachemergeiterator.go:85
↓ 7 callers
Method
LoadLatestVersion
Load the latest persisted version. Called once after all calls to Mount*Store() are complete.
types/store.go:109
↓ 7 callers
Method
Logger
()
types/context.go:165
↓ 7 callers
Method
Mul
multiplication
types/decimal.go:208
↓ 7 callers
Function
NewInt
NewInt constructs Int from int64
types/int.go:87
↓ 7 callers
Method
ReverseIterator
Iterator over a domain of keys in descending order. End is exclusive. Start must be greater than end, or the Iterator is invalid. Iterator must be clo
types/store.go:148
↓ 7 callers
Method
RoundInt64
RoundInt64 rounds the decimal using bankers rounding
types/decimal.go:338
↓ 7 callers
Method
Subspace
Allocate subspace used for keepers
x/params/keeper.go:33
↓ 7 callers
Method
compare
Like bytes.Compare but opposite if not ascending.
store/cachemergeiterator.go:151
↓ 6 callers
Method
AppendTag
Append a single tag
types/tags.go:19
next →
1–100 of 2,183, ranked by callers