Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApproveNftTransfer ¶
type InitiateNftContract ¶
type Mint ¶
type Mint struct { /// Unique ID of the NFT TokenId string `json:"token_id"` /// The owner of the newly minter NFT Owner string `json:"owner"` /// Universal resource identifier for this NFT /// Should point to a JSON file that conforms to the ERC721 /// Metadata JSON Schema TokenUri string `json:"token_uri"` /// Any custom extension used by this contract Extension json.RawMessage `json:"extension"` }
/ Mint a new NFT, can only be called by the contract minter
type OwnerOfResponse ¶ added in v0.20.0
type TransferNft ¶
type WasmMsgApprove ¶
type WasmMsgApprove struct {
ApproveNftTransfer ApproveNftTransfer `json:"approve"`
}
/ Allows operator to transfer / send the token from the owner's account. / If expiration is set, then this allowance has a time/height limit
type WasmMsgInitiateNftContract ¶
type WasmMsgInitiateNftContract struct {
InstantiateMsg InitiateNftContract `json:"instantiate_msg"`
}
type WasmMsgMint ¶
type WasmMsgMint struct {
Mint Mint `json:"mint"`
}
type WasmMsgTransferNft ¶
type WasmMsgTransferNft struct {
TransferNft TransferNft `json:"transfer_nft"`
}
/ Transfer is a base message to move a token to another account without triggering actions
type WasmQueryOwnerOf ¶ added in v0.20.0
type WasmQueryOwnerOf struct {
OwnerOf OwnerOf `json:"owner_of"`
}
/ Return the owner of the given token, error if token does not exist #[returns(cw721::OwnerOfResponse)]
Click to show internal directories.
Click to hide internal directories.