package
6.6.0
Repository: https://github.com/umee-network/umee.git
Documentation: pkg.go.dev

# Functions

DeleteByPrefixStore will delete all keys stored in prefix store.
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 (0, false) if no value is stored.
GetInt retrieves an sdkmath.Int from a KVStore, or returns (0, false) if no value is stored.
No description provided by the author
GetTimeMs retrieves time saved as Unix time in Miliseconds.
GetValue loads value from the store using default Unmarshaler.
GetValueCdc is similar to GetValue, but uses codec for marshaling.
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.
LoadAllDecCoins iterates over all records in the prefix store and unmarshals value into the dec coin list.
LoadAllKV 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.
SetInteger saves integre value to the state.
SetTimeMs saves time as Unix time in Miliseconds.
SetValue saves value in the store using default Marshaler.
SetValueCdc is similar to the SetValue, but uses codec for marshaling.
SumCoins aggregates all coins saved as (denom: Int) pairs in store.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Slice of sdk.Coin.
No description provided by the author

# 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
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.
No description provided by the author
No description provided by the author