cw721

package
v0.0.0-...-7a9719f Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveNftTransfer

type ApproveNftTransfer struct {
	Spender string `json:"spender"`
	TokenId string `json:"token_id"`
	Expires string `json:"expires,omitempty"`
}

func (ApproveNftTransfer) Marshal

func (m ApproveNftTransfer) Marshal() ([]byte, error)

type InitiateNftContract

type InitiateNftContract struct {
	Name   string `json:"name"`
	Symbol string `json:"symbol"`
	Minter string `json:"minter"`
}

func (InitiateNftContract) Marshal

func (m InitiateNftContract) Marshal() ([]byte, error)

type Mint

type Mint struct {
	TokenId   string          `json:"token_id"`
	Owner     string          `json:"owner"`
	TokenUri  string          `json:"token_uri"`
	Extension json.RawMessage `json:"extension"`
}

func (Mint) Marshal

func (m Mint) Marshal() ([]byte, error)

type QueryNft

type QueryNft struct {
	Sender  string `json:"sender"`
	TokenId string `json:"token_id"`
	Expires string `json:"expires,omitempty"`
}

func (QueryNft) Marshal

func (m QueryNft) Marshal() ([]byte, error)

type TransferNft

type TransferNft struct {
	TokenId   string `json:"token_id"`
	Recipient string `json:"recipient"`
}

func (TransferNft) Marshal

func (m TransferNft) Marshal() ([]byte, error)

type WasmMsgApprove

type WasmMsgApprove struct {
	ApproveNftTransfer ApproveNftTransfer `json:"approve"`
}

func (WasmMsgApprove) Marshal

func (m WasmMsgApprove) Marshal() ([]byte, error)

type WasmMsgInitiateNftContract

type WasmMsgInitiateNftContract struct {
	InstantiateMsg InitiateNftContract `json:"instantiate_msg"`
}

func (WasmMsgInitiateNftContract) Marshal

func (m WasmMsgInitiateNftContract) Marshal() ([]byte, error)

type WasmMsgMint

type WasmMsgMint struct {
	Mint Mint `json:"mint"`
}

func (WasmMsgMint) Marshal

func (m WasmMsgMint) Marshal() ([]byte, error)

type WasmMsgQueryNft

type WasmMsgQueryNft struct {
	QueryNft QueryNft `json:"approve"`
}

func (WasmMsgQueryNft) Marshal

func (m WasmMsgQueryNft) Marshal() ([]byte, error)

type WasmMsgTransferNft

type WasmMsgTransferNft struct {
	TransferNft TransferNft `json:"transfer_nft"`
}

func (WasmMsgTransferNft) Marshal

func (m WasmMsgTransferNft) Marshal() ([]byte, error)

Jump to

Keyboard shortcuts

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