v042

package
v1.6.0-forced-withdraw... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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

func GetPoolBatchIndexKey(poolID uint64) []byte

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL