types

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ModuleName is the name of the module
	ModuleName = "merkledrop"

	// StoreKey is the string store representation
	StoreKey string = ModuleName

	// QuerierRoute is the querier route for the module
	QuerierRoute string = ModuleName

	// RouterKey is the msg router key for the module
	RouterKey string = ModuleName
)

Variables

View Source
var (
	PrefixMerkleDrop        = []byte{0x01}
	PrefixMerkleDropByOwner = []byte{0x02}
	KeyLastMerkleDropId     = []byte{0x03}

	PrefixClaimedMerkleDrop = []byte{0x04}

	PrefixMerkleDropByEndHeight = []byte{0x10}
)

Keys for merkledrop store Items are stored with the following keys => values - 0x01:<merkledropID_bytes>: merkledrop - 0x02:<owner>:<merkledropID_bytes>: merkledrop - 0x03: lastMerkledropID - 0x04:<merkledropID_bytes>:<merkledropIndex>: true - 0x10:<merkedropEndHeight>: merkledropID

Functions

func ClaimedMerkledropIndexKey

func ClaimedMerkledropIndexKey(id, index uint64) []byte

func ClaimedMerkledropKey

func ClaimedMerkledropKey(id uint64) []byte

func LastMerkledropIDKey

func LastMerkledropIDKey() []byte

func MerkledropEndHeightAndIDKey

func MerkledropEndHeightAndIDKey(height int64, id uint64) []byte

func MerkledropEndHeightKey

func MerkledropEndHeightKey(height int64) []byte

func MerkledropKey

func MerkledropKey(id uint64) []byte

func MerkledropOwnerKey

func MerkledropOwnerKey(id uint64, owner sdk.AccAddress) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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