MCPcopy Create free account

hub / github.com/OCEChain/OCEChain / functions

Functions2,183 in github.com/OCEChain/OCEChain

MethodString
Human readable string
types/int.go:262
MethodString
Human readable string
types/int.go:489
MethodString
()
types/store.go:272
MethodString
()
types/store.go:317
MethodString
Implements StoreKey
types/store.go:373
MethodString
String provides a human-readable representation of a coin
types/coin.go:29
MethodString
String implements the stringer interface for KeyType.
crypto/keys/types.go:73
MethodString
()
crypto/keys/hd/hdpath.go:150
MethodString
String implements the Stringer interface for a mult-store proof operation.
store/multistoreproof.go:96
MethodString
()
x/gov/msgs.go:61
MethodString
()
x/gov/msgs.go:122
MethodString
()
x/gov/msgs.go:180
MethodString
String implements the Stringer interface for a Commission.
x/stake/types/commission.go:68
MethodSub
subtraction
types/decimal.go:198
MethodSubRaw
SubRaw subtracts int64 from Int
types/int.go:201
MethodSubRaw
SubRaw subtracts uint64 from Uint
types/int.go:433
MethodSubtractCoins
SubtractCoins subtracts amt from the coins at the addr.
x/bank/keeper.go:56
MethodSwap
(i, j int)
types/coin.go:308
MethodSwap
(i, j int)
x/gov/test_common.go:129
FunctionTestingUpdateValidator
update validator for testing
x/stake/keeper/test_common.go:203
MethodToKVPairs
Turn tags into KVPair list
types/tags.go:29
MethodTotalPower
get a particular validator by consensus address
types/stake.go:76
MethodTotalPower
(ctx sdk.Context)
x/distribution/types/keepers.go:12
MethodTotalPower
total power from the bond (not last, but current)
x/stake/keeper/sdk_types.go:92
MethodTraceSDK
Implements ABCIError. nolint: errcheck
types/errors.go:228
MethodTruncateDecimal
return the coins with trunctated decimals, and return the change
x/distribution/types/dec_coin.go:67
MethodTruncateInt64
TruncateInt64 truncates the decimals from the number and returns an int64
types/decimal.go:364
MethodTxBytes
()
types/context.go:163
MethodType
Type returns the flag's value type.
client/flags.go:102
MethodType
()
types/tx_msg.go:62
MethodType
()
x/distribution/types/msg.go:31
MethodType
()
x/distribution/types/msg.go:72
MethodType
()
x/distribution/types/msg.go:112
MethodType
()
x/distribution/types/msg.go:153
MethodType
TODO: "bank/send"
x/bank/msgs.go:25
MethodType
TODO: "bank/issue"
x/bank/msgs.go:108
MethodType
()
x/gov/msgs.go:36
MethodType
()
x/gov/msgs.go:103
MethodType
()
x/gov/msgs.go:164
MethodType
()
x/ibc/types.go:75
MethodType
()
x/ibc/types.go:104
MethodType
()
x/slashing/msg.go:29
MethodType
()
x/stake/types/msg.go:52
MethodType
()
x/stake/types/msg.go:134
MethodType
()
x/stake/types/msg.go:186
MethodType
()
x/stake/types/msg.go:237
MethodType
()
x/stake/types/msg.go:297
FunctionUint64ToBigEndian
Uint64ToBigEndian - marshals uint64 to a bigendian byte slice so it can be sorted
types/utils.go:41
FunctionUnarmorDecryptPrivKey
Unarmor and decrypt the private key.
crypto/keys/mintkey/mintkey.go:118
FunctionUnarmorInfoBytes
----------------------------------------------------------------- remove armor Unarmor the InfoBytes
crypto/keys/mintkey/mintkey.go:64
FunctionUnarmorPubKeyBytes
Unarmor the PubKeyBytes
crypto/keys/mintkey/mintkey.go:69
MethodUnjail
unjail a validator
x/stake/keeper/slash.go:131
MethodUnmarshal
Unmarshal sets the address to the given data. It is needed for protobuf compatibility.
types/address.go:210
MethodUnmarshal
Unmarshal sets the address to the given data. It is needed for protobuf compatibility.
types/address.go:332
MethodUnmarshal
Unmarshal needed for protobuf compatibility
x/gov/proposals.go:270
MethodUnmarshalAmino
UnmarshalAmino defines custom decoding scheme
types/int.go:280
MethodUnmarshalAmino
UnmarshalAmino defines custom decoding scheme
types/int.go:507
MethodUnmarshalAmino
requires a valid JSON string - strings quotes and calls UnmarshalText
types/decimal.go:409
FunctionUnmarshalJSON
unmarshal json
client/keys/codec.go:20
MethodUnmarshalJSON
UnmarshalJSON defines custom decoding scheme
types/int.go:523
MethodUnmarshalJSON
UnmarshalJSON unmarshals from JSON assuming Bech32 encoding.
types/address.go:105
MethodUnmarshalJSON
UnmarshalJSON unmarshals from JSON assuming Bech32 encoding.
types/address.go:221
MethodUnmarshalJSON
UnmarshalJSON unmarshals from JSON assuming Bech32 encoding.
types/address.go:343
MethodUnmarshalJSON
UnmarshalJSON defines custom decoding scheme
types/decimal.go:429
MethodUnmarshalJSON
Unmarshals from JSON assuming Bech32 encoding
x/gov/depositsvotes.go:103
MethodUnmarshalJSON
Unmarshals from JSON assuming Bech32 encoding
x/gov/proposals.go:281
MethodUpdate
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
FunctionUpdateKeyRequestHandler
update key REST handler
client/keys/update.go:64
FunctionValAddressFromHex
ValAddressFromHex creates a ValAddress from a hex string.
types/address.go:159
FunctionValEq
_______________________________________________________________________________________ intended to be used with require/assert: require.True(ValEq(.
x/stake/keeper/test_common.go:50
MethodValid
Valid implements the Iterator interface.
store/tracekvstore.go:132
MethodValidateBasic
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
MethodValidateBasic
()
types/tx_msg.go:70
MethodValidateBasic
quick validity check
x/distribution/types/msg.go:48
MethodValidateBasic
quick validity check
x/distribution/types/msg.go:89
MethodValidateBasic
quick validity check
x/distribution/types/msg.go:129
MethodValidateBasic
quick validity check
x/distribution/types/msg.go:170
MethodValidateBasic
Implements Msg.
x/bank/msgs.go:28
MethodValidateBasic
Implements Msg.
x/bank/msgs.go:111
MethodValidateBasic
ValidateBasic - validate transaction input
x/bank/msgs.go:167
MethodValidateBasic
ValidateBasic - validate transaction output
x/bank/msgs.go:208
MethodValidateBasic
validator the ibc packey
x/ibc/types.go:54
MethodValidateBasic
validate ibc transfer message
x/ibc/types.go:86
MethodValidateBasic
()
x/ibc/types.go:105
MethodValidateBasic
quick validity check
x/slashing/msg.go:44
MethodValidateBasic
quick validity check
x/stake/types/msg.go:89
MethodValidateBasic
quick validity check
x/stake/types/msg.go:155
MethodValidateBasic
quick validity check
x/stake/types/msg.go:201
MethodValidateBasic
quick validity check
x/stake/types/msg.go:262
MethodValidateBasic
quick validity check
x/stake/types/msg.go:318
FunctionValidateGenesis
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
FunctionValidateGenesis
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
MethodValidateKey
ValidateKey allows us to verify the sanity of a public key after loading it from disk.
crypto/ledger_secp256k1.go:80
MethodValidator
(Context, ValAddress)
types/stake.go:74
MethodValidator
get the sdk.validator for a particular address
x/stake/keeper/sdk_types.go:74
MethodValidatorByConsAddr
get a particular validator by operator address
types/stake.go:75
MethodValidatorByConsAddr
get the sdk.validator for a particular pubkey
x/stake/keeper/sdk_types.go:83
FunctionValidatorByPowerIndexExists
_____________________________________________________________________________________ does a certain by-power index record exist
x/stake/keeper/test_common.go:197
FunctionValidatorCommand
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
MethodValidatorsPowerStoreIterator
returns an iterator for the current validator power store
x/stake/keeper/validator.go:304
← previousnext →2,001–2,100 of 2,183, ranked by callers