# Functions
GetAddress retrieves an sdk.AccAddress from a KVStore, or an empty address if no value is stored.
GetBinValue is similar to GetValue (loads value in the store), but uses UnmarshalBinary interface instead of protobuf.
GetDec retrieves an sdk.Dec from a KVStore, or returns zero if no value is stored.
GetInt retrieves an sdkmath.Int from a KVStore, or returns zero if no value is stored.
No description provided by the author
GetObject gets and unmarshals a structure from KVstore.
GetValue loads value from the store using default Unmarshaler.
Int converts bytes to sdk.Int, and panics on failure or negative value with a message which includes the name of the value being retrieved.
Iterate through all keys in a kvStore that start with a given prefix using a provided function.
IteratePaginated through keys in a kvStore that start with a given prefix using a provided function.
LoadAll iterates over all records in the prefix store and unmarshals value into the list.
MustLoadAll executes LoadAll and panics on error.
SetAddress stores an sdk.AccAddress in a KVStore, or clears if setting to an empty or nil address.
SetBinValue is similar to SetValue (stores value in the store), but uses UnmarshalBinary interface instead of protobuf.
SetDec stores an sdk.Dec in a KVStore, or clears if setting to zero or nil.
SetInt stores an sdkmath.Int in a KVStore, or clears if setting to zero or nil.
No description provided by the author
SetObject marshals and sets a structure in KVstore.
SetValue saves value in the store using default Marshaler.
SumCoins aggregates all coins saved as (denom: Int) pairs in store.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
StrExtractor is a function type which will take a bytes string value and extracts string out of it.