Documentation ¶
Index ¶
- Constants
- Variables
- func ClaimedMerkledropIndexKey(id, index uint64) []byte
- func ClaimedMerkledropKey(id uint64) []byte
- func LastMerkledropIDKey() []byte
- func MerkledropEndHeightAndIDKey(height int64, id uint64) []byte
- func MerkledropEndHeightKey(height int64) []byte
- func MerkledropKey(id uint64) []byte
- func MerkledropOwnerKey(id uint64, owner sdk.AccAddress) []byte
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 ClaimedMerkledropKey ¶
func LastMerkledropIDKey ¶
func LastMerkledropIDKey() []byte
func MerkledropEndHeightKey ¶
func MerkledropKey ¶
func MerkledropOwnerKey ¶
func MerkledropOwnerKey(id uint64, owner sdk.AccAddress) []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.