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
String
Human readable string
types/int.go:262
Method
String
Human readable string
types/int.go:489
Method
String
()
types/store.go:272
Method
String
()
types/store.go:317
Method
String
Implements StoreKey
types/store.go:373
Method
String
String provides a human-readable representation of a coin
types/coin.go:29
Method
String
String implements the stringer interface for KeyType.
crypto/keys/types.go:73
Method
String
()
crypto/keys/hd/hdpath.go:150
Method
String
String implements the Stringer interface for a mult-store proof operation.
store/multistoreproof.go:96
Method
String
()
x/gov/msgs.go:61
Method
String
()
x/gov/msgs.go:122
Method
String
()
x/gov/msgs.go:180
Method
String
String implements the Stringer interface for a Commission.
x/stake/types/commission.go:68
Method
Sub
subtraction
types/decimal.go:198
Method
SubRaw
SubRaw subtracts int64 from Int
types/int.go:201
Method
SubRaw
SubRaw subtracts uint64 from Uint
types/int.go:433
Method
SubtractCoins
SubtractCoins subtracts amt from the coins at the addr.
x/bank/keeper.go:56
Method
Swap
(i, j int)
types/coin.go:308
Method
Swap
(i, j int)
x/gov/test_common.go:129
Function
TestingUpdateValidator
update validator for testing
x/stake/keeper/test_common.go:203
Method
ToKVPairs
Turn tags into KVPair list
types/tags.go:29
Method
TotalPower
get a particular validator by consensus address
types/stake.go:76
Method
TotalPower
(ctx sdk.Context)
x/distribution/types/keepers.go:12
Method
TotalPower
total power from the bond (not last, but current)
x/stake/keeper/sdk_types.go:92
Method
TraceSDK
Implements ABCIError. nolint: errcheck
types/errors.go:228
Method
TruncateDecimal
return the coins with trunctated decimals, and return the change
x/distribution/types/dec_coin.go:67
Method
TruncateInt64
TruncateInt64 truncates the decimals from the number and returns an int64
types/decimal.go:364
Method
TxBytes
()
types/context.go:163
Method
Type
Type returns the flag's value type.
client/flags.go:102
Method
Type
()
types/tx_msg.go:62
Method
Type
()
x/distribution/types/msg.go:31
Method
Type
()
x/distribution/types/msg.go:72
Method
Type
()
x/distribution/types/msg.go:112
Method
Type
()
x/distribution/types/msg.go:153
Method
Type
TODO: "bank/send"
x/bank/msgs.go:25
Method
Type
TODO: "bank/issue"
x/bank/msgs.go:108
Method
Type
()
x/gov/msgs.go:36
Method
Type
()
x/gov/msgs.go:103
Method
Type
()
x/gov/msgs.go:164
Method
Type
()
x/ibc/types.go:75
Method
Type
()
x/ibc/types.go:104
Method
Type
()
x/slashing/msg.go:29
Method
Type
()
x/stake/types/msg.go:52
Method
Type
()
x/stake/types/msg.go:134
Method
Type
()
x/stake/types/msg.go:186
Method
Type
()
x/stake/types/msg.go:237
Method
Type
()
x/stake/types/msg.go:297
Function
Uint64ToBigEndian
Uint64ToBigEndian - marshals uint64 to a bigendian byte slice so it can be sorted
types/utils.go:41
Function
UnarmorDecryptPrivKey
Unarmor and decrypt the private key.
crypto/keys/mintkey/mintkey.go:118
Function
UnarmorInfoBytes
----------------------------------------------------------------- remove armor Unarmor the InfoBytes
crypto/keys/mintkey/mintkey.go:64
Function
UnarmorPubKeyBytes
Unarmor the PubKeyBytes
crypto/keys/mintkey/mintkey.go:69
Method
Unjail
unjail a validator
x/stake/keeper/slash.go:131
Method
Unmarshal
Unmarshal sets the address to the given data. It is needed for protobuf compatibility.
types/address.go:210
Method
Unmarshal
Unmarshal sets the address to the given data. It is needed for protobuf compatibility.
types/address.go:332
Method
Unmarshal
Unmarshal needed for protobuf compatibility
x/gov/proposals.go:270
Method
UnmarshalAmino
UnmarshalAmino defines custom decoding scheme
types/int.go:280
Method
UnmarshalAmino
UnmarshalAmino defines custom decoding scheme
types/int.go:507
Method
UnmarshalAmino
requires a valid JSON string - strings quotes and calls UnmarshalText
types/decimal.go:409
Function
UnmarshalJSON
unmarshal json
client/keys/codec.go:20
Method
UnmarshalJSON
UnmarshalJSON defines custom decoding scheme
types/int.go:523
Method
UnmarshalJSON
UnmarshalJSON unmarshals from JSON assuming Bech32 encoding.
types/address.go:105
Method
UnmarshalJSON
UnmarshalJSON unmarshals from JSON assuming Bech32 encoding.
types/address.go:221
Method
UnmarshalJSON
UnmarshalJSON unmarshals from JSON assuming Bech32 encoding.
types/address.go:343
Method
UnmarshalJSON
UnmarshalJSON defines custom decoding scheme
types/decimal.go:429
Method
UnmarshalJSON
Unmarshals from JSON assuming Bech32 encoding
x/gov/depositsvotes.go:103
Method
UnmarshalJSON
Unmarshals from JSON assuming Bech32 encoding
x/gov/proposals.go:281
Method
Update
Update changes the passphrase with which an already stored key is encrypted. oldpass must be the current passphrase used for encryption, getNewpass i
crypto/keys/keybase.go:407
Function
UpdateKeyRequestHandler
update key REST handler
client/keys/update.go:64
Function
ValAddressFromHex
ValAddressFromHex creates a ValAddress from a hex string.
types/address.go:159
Function
ValEq
_______________________________________________________________________________________ intended to be used with require/assert: require.True(ValEq(.
x/stake/keeper/test_common.go:50
Method
Valid
Valid implements the Iterator interface.
store/tracekvstore.go:132
Method
ValidateBasic
ValidateBasic performs basic validation of a BaseReq. If custom validation logic is needed, the implementing request handler should perform those chec
client/utils/rest.go:176
Method
ValidateBasic
()
types/tx_msg.go:70
Method
ValidateBasic
quick validity check
x/distribution/types/msg.go:48
Method
ValidateBasic
quick validity check
x/distribution/types/msg.go:89
Method
ValidateBasic
quick validity check
x/distribution/types/msg.go:129
Method
ValidateBasic
quick validity check
x/distribution/types/msg.go:170
Method
ValidateBasic
Implements Msg.
x/bank/msgs.go:28
Method
ValidateBasic
Implements Msg.
x/bank/msgs.go:111
Method
ValidateBasic
ValidateBasic - validate transaction input
x/bank/msgs.go:167
Method
ValidateBasic
ValidateBasic - validate transaction output
x/bank/msgs.go:208
Method
ValidateBasic
validator the ibc packey
x/ibc/types.go:54
Method
ValidateBasic
validate ibc transfer message
x/ibc/types.go:86
Method
ValidateBasic
()
x/ibc/types.go:105
Method
ValidateBasic
quick validity check
x/slashing/msg.go:44
Method
ValidateBasic
quick validity check
x/stake/types/msg.go:89
Method
ValidateBasic
quick validity check
x/stake/types/msg.go:155
Method
ValidateBasic
quick validity check
x/stake/types/msg.go:201
Method
ValidateBasic
quick validity check
x/stake/types/msg.go:262
Method
ValidateBasic
quick validity check
x/stake/types/msg.go:318
Function
ValidateGenesis
ValidateGenesis validates the provided staking genesis state to ensure the expected invariants holds. (i.e. params in correct bounds, no duplicate val
x/mint/genesis.go:45
Function
ValidateGenesis
ValidateGenesis validates the provided staking genesis state to ensure the expected invariants holds. (i.e. params in correct bounds, no duplicate val
x/stake/genesis.go:133
Method
ValidateKey
ValidateKey allows us to verify the sanity of a public key after loading it from disk.
crypto/ledger_secp256k1.go:80
Method
Validator
(Context, ValAddress)
types/stake.go:74
Method
Validator
get the sdk.validator for a particular address
x/stake/keeper/sdk_types.go:74
Method
ValidatorByConsAddr
get a particular validator by operator address
types/stake.go:75
Method
ValidatorByConsAddr
get the sdk.validator for a particular pubkey
x/stake/keeper/sdk_types.go:83
Function
ValidatorByPowerIndexExists
_____________________________________________________________________________________ does a certain by-power index record exist
x/stake/keeper/test_common.go:197
Function
ValidatorCommand
TODO these next two functions feel kinda hacky based on their placement ValidatorCommand returns the validator set for a given height
client/rpc/validators.go:23
Method
ValidatorsPowerStoreIterator
returns an iterator for the current validator power store
x/stake/keeper/validator.go:304
← previous
next →
2,001–2,100 of 2,183, ranked by callers