Documentation ¶
Overview ¶
Package v042 is copy-pasted from: https://github.com/tendermint/liquidity/blob/v1.2.9/x/liquidity/types/keys.go
Index ¶
Constants ¶
View Source
const (
// ModuleName is the name of the liquidity module
ModuleName = "liquidity"
)
Variables ¶
View Source
var ( PoolByReserveAccIndexKeyPrefix = []byte{0x12} PoolBatchIndexKeyPrefix = []byte{0x21} // Last PoolBatchIndex )
Functions ¶
func GetPoolBatchIndexKey ¶
GetPoolBatchIndexKey returns kv indexing key of the latest index value of the pool batch
func GetPoolByReserveAccIndexKey ¶
func GetPoolByReserveAccIndexKey(reserveAcc sdk.AccAddress) []byte
- PoolByReserveAccIndex: `0x12 | ReserveAcc -> Id` GetPoolByReserveAccIndexKey returns kv indexing key of the pool indexed by reserve account
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.