# Packages
No description provided by the author
# Functions
CloseLogError closes the given iterator and logs if an error is returned.
CommonValidation is used to check for duplicates in the input list and validate the input information simultaneously.
IsMainnet returns true if the chain-id has the Evmos mainnet EIP155 chain prefix.
IsSupportedKey returns true if the pubkey type is supported by the chain (i.e eth_secp256k1, amino multisig, ed25519).
IsTestnet returns true if the chain-id has the Evmos testnet EIP155 chain prefix.
No description provided by the author
No description provided by the author
KeyFromBz returns a structured key.
KeyFromStr applies the optional string transformations to the given key in sequence and returns a structured key.
LowerCaseKey returns a key with the input converted to lower case.
NewNormalizedStore returns a new KVStore.
NoValidation wraps a ProtoMarshaler so it can be used by the store without actually adding any validation.
SortByPower sorts operators, their pubkeys, and their powers by the powers.
WithValidation adds a ValidateBasic function to an existing ProtoMarshaler.
# Constants
BaseDenom defines the Evmos mainnet denomination.
DefaultChainID is the standard chain id used for testing purposes.
DefaultDelimiter represents the default delimiter used for the KV store keys.
DelimiterForCombinedKey is the delimiter used for constructing the combined key.
DelimiterForID Delimiter used for constructing the stakerID and assetID.
MainnetChainID defines the Evmos EIP155 chain ID for mainnet TODO: the mainnet chainid is still under consideration and need to be finalized later.
TestnetChainID defines the Evmos EIP155 chain ID for testnet TODO: the testnet chainid is still under consideration and need to be finalized later.
# Structs
KVStore is a wrapper around the cosmos-sdk KVStore to provide more safety regarding key management and better ease-of-use.
# Interfaces
Iterator is an easier and safer to use sdk.Iterator extension.
Key represents a store key to interact with the KVStore Deprecated: use key.Key instead.
StringKey extends the Key interface for simplified appending and prepending Deprecated: use key.Key instead.
ValidatedProtoMarshaler is a ProtoMarshaler that can also be validated.