Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

market/v1 package

Overview

Package market trades Launchpad NFTs: fixed-price listings and funded offers. A sale pays the seller, the treasury and the collection's royalty receivers inside the same transaction. The realm holds only the escrow of open offers, which their buyers can always take back, and has no admin. It keeps open orders only: a closed one is deleted, so its storage deposit is released, and its history is the event log.

Function

TraitLeaf

func TraitLeaf(collection string, number int64, trait string) merkle.Hash

TraitLeaf is the Merkle leaf that proves a token carries a trait, as committed by the collection's creator in the NFT ledger.

Params

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/samcrew/launchpad/market/v1.TraitLeaf(,,)"

Result