nft

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ModuleName = "nft"
)

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (

	// ModuleCdc references the global nft module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to nft and
	// defined at the application level.
	ModuleCdc = codec.NewHybridCodec(amino, types.NewInterfaceRegistry())
)

Functions

This section is empty.

Types

type BaseNFT

type BaseNFT struct {
	ID    string                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Name  string                                             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
	URI   string                                             `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty" yaml:"uri"`
	Data  string                                             `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" yaml:"data"`
	Owner github_com_bianjieai_irita_sdk_go_types.AccAddress `protobuf:"bytes,5,opt,name=owner,proto3,casttype=github.com/bianjieai/irita-sdk-go/types.AccAddress" json:"owner,omitempty"`
}

BaseNFT defines a non fungible token.

func (BaseNFT) Convert

func (this BaseNFT) Convert() interface{}

func (*BaseNFT) Descriptor

func (*BaseNFT) Descriptor() ([]byte, []int)

func (*BaseNFT) Equal

func (this *BaseNFT) Equal(that interface{}) bool

func (BaseNFT) GetData

func (this BaseNFT) GetData() string

GetData returns the metadata of nft

func (BaseNFT) GetID

func (this BaseNFT) GetID() string

GetID returns the ID of the token

func (BaseNFT) GetName

func (this BaseNFT) GetName() string

GetName returns the path to optional extra properties

func (BaseNFT) GetOwner

func (this BaseNFT) GetOwner() sdk.AccAddress

GetOwner returns the account address that owns the NFTI

func (BaseNFT) GetURI

func (this BaseNFT) GetURI() string

GetURI returns the path to optional extra properties

func (*BaseNFT) Marshal

func (m *BaseNFT) Marshal() (dAtA []byte, err error)

func (*BaseNFT) MarshalTo

func (m *BaseNFT) MarshalTo(dAtA []byte) (int, error)

func (*BaseNFT) MarshalToSizedBuffer

func (m *BaseNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BaseNFT) ProtoMessage

func (*BaseNFT) ProtoMessage()

func (*BaseNFT) Reset

func (m *BaseNFT) Reset()

func (*BaseNFT) Size

func (m *BaseNFT) Size() (n int)

func (*BaseNFT) String

func (m *BaseNFT) String() string

func (*BaseNFT) Unmarshal

func (m *BaseNFT) Unmarshal(dAtA []byte) error

func (*BaseNFT) XXX_DiscardUnknown

func (m *BaseNFT) XXX_DiscardUnknown()

func (*BaseNFT) XXX_Marshal

func (m *BaseNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BaseNFT) XXX_Merge

func (m *BaseNFT) XXX_Merge(src proto.Message)

func (*BaseNFT) XXX_Size

func (m *BaseNFT) XXX_Size() int

func (*BaseNFT) XXX_Unmarshal

func (m *BaseNFT) XXX_Unmarshal(b []byte) error

type BurnNFTRequest

type BurnNFTRequest struct {
	Denom string `json:"denom"`
	ID    string `json:"id"`
}

type Denom

type Denom struct {
	ID      string                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Name    string                                             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
	Schema  string                                             `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty" yaml:"schema"`
	Creator github_com_bianjieai_irita_sdk_go_types.AccAddress `` /* 127-byte string literal not displayed */
}

Denom defines a type of NFT.

func (Denom) Convert

func (this Denom) Convert() interface{}

func (*Denom) Descriptor

func (*Denom) Descriptor() ([]byte, []int)

func (*Denom) Equal

func (this *Denom) Equal(that interface{}) bool

func (*Denom) Marshal

func (m *Denom) Marshal() (dAtA []byte, err error)

func (*Denom) MarshalTo

func (m *Denom) MarshalTo(dAtA []byte) (int, error)

func (*Denom) MarshalToSizedBuffer

func (m *Denom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Denom) ProtoMessage

func (*Denom) ProtoMessage()

func (*Denom) Reset

func (m *Denom) Reset()

func (*Denom) Size

func (m *Denom) Size() (n int)

func (*Denom) String

func (m *Denom) String() string

func (*Denom) Unmarshal

func (m *Denom) Unmarshal(dAtA []byte) error

func (*Denom) XXX_DiscardUnknown

func (m *Denom) XXX_DiscardUnknown()

func (*Denom) XXX_Marshal

func (m *Denom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Denom) XXX_Merge

func (m *Denom) XXX_Merge(src proto.Message)

func (*Denom) XXX_Size

func (m *Denom) XXX_Size() int

func (*Denom) XXX_Unmarshal

func (m *Denom) XXX_Unmarshal(b []byte) error

type EditNFTRequest

type EditNFTRequest struct {
	Denom string `json:"denom"`
	ID    string `json:"id"`
	Name  string `json:"name"`
	URI   string `json:"uri"`
	Data  string `json:"data"`
}

type IDC

type IDC struct {
	Denom    string   `json:"denom" yaml:"denom"`
	TokenIDs []string `json:"token_ids" yaml:"token_ids"`
}

IDC defines a set of nft ids that belong to a specific

type IssueDenomRequest

type IssueDenomRequest struct {
	ID     string `json:"id"`
	Name   string `json:"name"`
	Schema string `json:"schema"`
}

type MintNFTRequest

type MintNFTRequest struct {
	Denom     string `json:"denom"`
	ID        string `json:"id"`
	Name      string `json:"name"`
	URI       string `json:"uri"`
	Data      string `json:"data"`
	Recipient string `json:"recipient"`
}

type MsgBurnNFT

type MsgBurnNFT struct {
	ID     string                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Denom  string                                             `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	Sender github_com_bianjieai_irita_sdk_go_types.AccAddress `protobuf:"bytes,3,opt,name=sender,proto3,casttype=github.com/bianjieai/irita-sdk-go/types.AccAddress" json:"sender,omitempty"`
}

MsgBurnNFT defines an SDK message for burn a NFT.

func (*MsgBurnNFT) Descriptor

func (*MsgBurnNFT) Descriptor() ([]byte, []int)

func (*MsgBurnNFT) Equal

func (this *MsgBurnNFT) Equal(that interface{}) bool

func (MsgBurnNFT) GetSignBytes

func (m MsgBurnNFT) GetSignBytes() []byte

func (MsgBurnNFT) GetSigners

func (m MsgBurnNFT) GetSigners() []sdk.AccAddress

func (*MsgBurnNFT) Marshal

func (m *MsgBurnNFT) Marshal() (dAtA []byte, err error)

func (*MsgBurnNFT) MarshalTo

func (m *MsgBurnNFT) MarshalTo(dAtA []byte) (int, error)

func (*MsgBurnNFT) MarshalToSizedBuffer

func (m *MsgBurnNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBurnNFT) ProtoMessage

func (*MsgBurnNFT) ProtoMessage()

func (*MsgBurnNFT) Reset

func (m *MsgBurnNFT) Reset()

func (MsgBurnNFT) Route

func (m MsgBurnNFT) Route() string

func (*MsgBurnNFT) Size

func (m *MsgBurnNFT) Size() (n int)

func (*MsgBurnNFT) String

func (m *MsgBurnNFT) String() string

func (MsgBurnNFT) Type

func (m MsgBurnNFT) Type() string

func (*MsgBurnNFT) Unmarshal

func (m *MsgBurnNFT) Unmarshal(dAtA []byte) error

func (MsgBurnNFT) ValidateBasic

func (m MsgBurnNFT) ValidateBasic() error

func (*MsgBurnNFT) XXX_DiscardUnknown

func (m *MsgBurnNFT) XXX_DiscardUnknown()

func (*MsgBurnNFT) XXX_Marshal

func (m *MsgBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBurnNFT) XXX_Merge

func (m *MsgBurnNFT) XXX_Merge(src proto.Message)

func (*MsgBurnNFT) XXX_Size

func (m *MsgBurnNFT) XXX_Size() int

func (*MsgBurnNFT) XXX_Unmarshal

func (m *MsgBurnNFT) XXX_Unmarshal(b []byte) error

type MsgEditNFT

type MsgEditNFT struct {
	ID     string                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Denom  string                                             `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	Name   string                                             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
	URI    string                                             `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty" yaml:"uri"`
	Data   string                                             `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty" yaml:"data"`
	Sender github_com_bianjieai_irita_sdk_go_types.AccAddress `protobuf:"bytes,6,opt,name=sender,proto3,casttype=github.com/bianjieai/irita-sdk-go/types.AccAddress" json:"sender,omitempty"`
}

MsgEditNFT defines an SDK message for editing a nft.

func (*MsgEditNFT) Descriptor

func (*MsgEditNFT) Descriptor() ([]byte, []int)

func (*MsgEditNFT) Equal

func (this *MsgEditNFT) Equal(that interface{}) bool

func (MsgEditNFT) GetSignBytes

func (m MsgEditNFT) GetSignBytes() []byte

func (MsgEditNFT) GetSigners

func (m MsgEditNFT) GetSigners() []sdk.AccAddress

func (*MsgEditNFT) Marshal

func (m *MsgEditNFT) Marshal() (dAtA []byte, err error)

func (*MsgEditNFT) MarshalTo

func (m *MsgEditNFT) MarshalTo(dAtA []byte) (int, error)

func (*MsgEditNFT) MarshalToSizedBuffer

func (m *MsgEditNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgEditNFT) ProtoMessage

func (*MsgEditNFT) ProtoMessage()

func (*MsgEditNFT) Reset

func (m *MsgEditNFT) Reset()

func (MsgEditNFT) Route

func (m MsgEditNFT) Route() string

func (*MsgEditNFT) Size

func (m *MsgEditNFT) Size() (n int)

func (*MsgEditNFT) String

func (m *MsgEditNFT) String() string

func (MsgEditNFT) Type

func (m MsgEditNFT) Type() string

func (*MsgEditNFT) Unmarshal

func (m *MsgEditNFT) Unmarshal(dAtA []byte) error

func (MsgEditNFT) ValidateBasic

func (m MsgEditNFT) ValidateBasic() error

func (*MsgEditNFT) XXX_DiscardUnknown

func (m *MsgEditNFT) XXX_DiscardUnknown()

func (*MsgEditNFT) XXX_Marshal

func (m *MsgEditNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgEditNFT) XXX_Merge

func (m *MsgEditNFT) XXX_Merge(src proto.Message)

func (*MsgEditNFT) XXX_Size

func (m *MsgEditNFT) XXX_Size() int

func (*MsgEditNFT) XXX_Unmarshal

func (m *MsgEditNFT) XXX_Unmarshal(b []byte) error

type MsgIssueDenom

type MsgIssueDenom struct {
	ID     string                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Name   string                                             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
	Schema string                                             `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty" yaml:"schema"`
	Sender github_com_bianjieai_irita_sdk_go_types.AccAddress `protobuf:"bytes,4,opt,name=sender,proto3,casttype=github.com/bianjieai/irita-sdk-go/types.AccAddress" json:"sender,omitempty"`
}

MsgIssueDenom defines an SDK message for creating a new denom.

func (*MsgIssueDenom) Descriptor

func (*MsgIssueDenom) Descriptor() ([]byte, []int)

func (*MsgIssueDenom) Equal

func (this *MsgIssueDenom) Equal(that interface{}) bool

func (MsgIssueDenom) GetSignBytes

func (m MsgIssueDenom) GetSignBytes() []byte

func (MsgIssueDenom) GetSigners

func (m MsgIssueDenom) GetSigners() []sdk.AccAddress

func (*MsgIssueDenom) Marshal

func (m *MsgIssueDenom) Marshal() (dAtA []byte, err error)

func (*MsgIssueDenom) MarshalTo

func (m *MsgIssueDenom) MarshalTo(dAtA []byte) (int, error)

func (*MsgIssueDenom) MarshalToSizedBuffer

func (m *MsgIssueDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIssueDenom) ProtoMessage

func (*MsgIssueDenom) ProtoMessage()

func (*MsgIssueDenom) Reset

func (m *MsgIssueDenom) Reset()

func (MsgIssueDenom) Route

func (m MsgIssueDenom) Route() string

func (*MsgIssueDenom) Size

func (m *MsgIssueDenom) Size() (n int)

func (*MsgIssueDenom) String

func (m *MsgIssueDenom) String() string

func (MsgIssueDenom) Type

func (m MsgIssueDenom) Type() string

func (*MsgIssueDenom) Unmarshal

func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error

func (MsgIssueDenom) ValidateBasic

func (m MsgIssueDenom) ValidateBasic() error

func (*MsgIssueDenom) XXX_DiscardUnknown

func (m *MsgIssueDenom) XXX_DiscardUnknown()

func (*MsgIssueDenom) XXX_Marshal

func (m *MsgIssueDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIssueDenom) XXX_Merge

func (m *MsgIssueDenom) XXX_Merge(src proto.Message)

func (*MsgIssueDenom) XXX_Size

func (m *MsgIssueDenom) XXX_Size() int

func (*MsgIssueDenom) XXX_Unmarshal

func (m *MsgIssueDenom) XXX_Unmarshal(b []byte) error

type MsgMintNFT

type MsgMintNFT struct {
	ID        string                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Denom     string                                             `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	Name      string                                             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
	URI       string                                             `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty" yaml:"uri"`
	Data      string                                             `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty" yaml:"data"`
	Sender    github_com_bianjieai_irita_sdk_go_types.AccAddress `protobuf:"bytes,6,opt,name=sender,proto3,casttype=github.com/bianjieai/irita-sdk-go/types.AccAddress" json:"sender,omitempty"`
	Recipient github_com_bianjieai_irita_sdk_go_types.AccAddress `` /* 131-byte string literal not displayed */
}

MsgMintNFT defines an SDK message for creating a new NFT.

func (*MsgMintNFT) Descriptor

func (*MsgMintNFT) Descriptor() ([]byte, []int)

func (*MsgMintNFT) Equal

func (this *MsgMintNFT) Equal(that interface{}) bool

func (MsgMintNFT) GetSignBytes

func (m MsgMintNFT) GetSignBytes() []byte

func (MsgMintNFT) GetSigners

func (m MsgMintNFT) GetSigners() []sdk.AccAddress

func (*MsgMintNFT) Marshal

func (m *MsgMintNFT) Marshal() (dAtA []byte, err error)

func (*MsgMintNFT) MarshalTo

func (m *MsgMintNFT) MarshalTo(dAtA []byte) (int, error)

func (*MsgMintNFT) MarshalToSizedBuffer

func (m *MsgMintNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMintNFT) ProtoMessage

func (*MsgMintNFT) ProtoMessage()

func (*MsgMintNFT) Reset

func (m *MsgMintNFT) Reset()

func (MsgMintNFT) Route

func (m MsgMintNFT) Route() string

func (*MsgMintNFT) Size

func (m *MsgMintNFT) Size() (n int)

func (*MsgMintNFT) String

func (m *MsgMintNFT) String() string

func (MsgMintNFT) Type

func (m MsgMintNFT) Type() string

func (*MsgMintNFT) Unmarshal

func (m *MsgMintNFT) Unmarshal(dAtA []byte) error

func (MsgMintNFT) ValidateBasic

func (m MsgMintNFT) ValidateBasic() error

func (*MsgMintNFT) XXX_DiscardUnknown

func (m *MsgMintNFT) XXX_DiscardUnknown()

func (*MsgMintNFT) XXX_Marshal

func (m *MsgMintNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMintNFT) XXX_Merge

func (m *MsgMintNFT) XXX_Merge(src proto.Message)

func (*MsgMintNFT) XXX_Size

func (m *MsgMintNFT) XXX_Size() int

func (*MsgMintNFT) XXX_Unmarshal

func (m *MsgMintNFT) XXX_Unmarshal(b []byte) error

type MsgTransferNFT

type MsgTransferNFT struct {
	ID        string                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Denom     string                                             `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
	Name      string                                             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
	URI       string                                             `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty" yaml:"uri"`
	Data      string                                             `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty" yaml:"data"`
	Sender    github_com_bianjieai_irita_sdk_go_types.AccAddress `protobuf:"bytes,6,opt,name=sender,proto3,casttype=github.com/bianjieai/irita-sdk-go/types.AccAddress" json:"sender,omitempty"`
	Recipient github_com_bianjieai_irita_sdk_go_types.AccAddress `` /* 131-byte string literal not displayed */
}

MsgTransferNFT defines an SDK message for transfer a NFT to recipient.

func (*MsgTransferNFT) Descriptor

func (*MsgTransferNFT) Descriptor() ([]byte, []int)

func (*MsgTransferNFT) Equal

func (this *MsgTransferNFT) Equal(that interface{}) bool

func (MsgTransferNFT) GetSignBytes

func (m MsgTransferNFT) GetSignBytes() []byte

func (MsgTransferNFT) GetSigners

func (m MsgTransferNFT) GetSigners() []sdk.AccAddress

func (*MsgTransferNFT) Marshal

func (m *MsgTransferNFT) Marshal() (dAtA []byte, err error)

func (*MsgTransferNFT) MarshalTo

func (m *MsgTransferNFT) MarshalTo(dAtA []byte) (int, error)

func (*MsgTransferNFT) MarshalToSizedBuffer

func (m *MsgTransferNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTransferNFT) ProtoMessage

func (*MsgTransferNFT) ProtoMessage()

func (*MsgTransferNFT) Reset

func (m *MsgTransferNFT) Reset()

func (MsgTransferNFT) Route

func (m MsgTransferNFT) Route() string

func (*MsgTransferNFT) Size

func (m *MsgTransferNFT) Size() (n int)

func (*MsgTransferNFT) String

func (m *MsgTransferNFT) String() string

func (MsgTransferNFT) Type

func (m MsgTransferNFT) Type() string

func (*MsgTransferNFT) Unmarshal

func (m *MsgTransferNFT) Unmarshal(dAtA []byte) error

func (MsgTransferNFT) ValidateBasic

func (m MsgTransferNFT) ValidateBasic() error

func (*MsgTransferNFT) XXX_DiscardUnknown

func (m *MsgTransferNFT) XXX_DiscardUnknown()

func (*MsgTransferNFT) XXX_Marshal

func (m *MsgTransferNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTransferNFT) XXX_Merge

func (m *MsgTransferNFT) XXX_Merge(src proto.Message)

func (*MsgTransferNFT) XXX_Size

func (m *MsgTransferNFT) XXX_Size() int

func (*MsgTransferNFT) XXX_Unmarshal

func (m *MsgTransferNFT) XXX_Unmarshal(b []byte) error

type NFTI

type NFTI interface {
	sdk.Module
	IssueDenom(request IssueDenomRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error)
	MintNFT(request MintNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error)
	EditNFT(request EditNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error)
	TransferNFT(request TransferNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error)
	BurnNFT(request BurnNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error)

	QuerySupply(denomID, creator string) (uint64, sdk.Error)
	QueryOwner(creator, denomID string) (QueryOwnerResponse, sdk.Error)
	QueryCollection(denomID string) (QueryCollectionResponse, sdk.Error)
	QueryDenom(denomID string) (QueryDenomResponse, sdk.Error)
	QueryDenoms() ([]QueryDenomResponse, sdk.Error)
	QueryNFT(denomID, tokenID string) (QueryNFTResponse, sdk.Error)
}

expose NFT module api for user

func NewClient

func NewClient(bc sdk.BaseClient, cdc codec.Marshaler) NFTI

type NFTs

type NFTs []BaseNFT

type QueryCollectionResponse

type QueryCollectionResponse struct {
	Denom QueryDenomResponse `json:"denom" yaml:"denom"`
	NFTs  []QueryNFTResponse `json:"nfts" yaml:"nfts"`
}

type QueryDenomResponse

type QueryDenomResponse struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Schema  string `json:"schema"`
	Creator string `json:"creator"`
}

type QueryNFTResponse

type QueryNFTResponse struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	URI     string `json:"uri"`
	Data    string `json:"data"`
	Creator string `json:"creator"`
}

BaseNFT non fungible token definition

type QueryOwnerResponse

type QueryOwnerResponse struct {
	Address string `json:"address" yaml:"address"`
	IDCs    []IDC  `json:"idcs" yaml:"idcs"`
}

type TransferNFTRequest

type TransferNFTRequest struct {
	Denom     string `json:"denom"`
	ID        string `json:"id"`
	URI       string `json:"uri"`
	Data      string `json:"data"`
	Name      string `json:"name"`
	Recipient string `json:"recipient"`
}

Jump to

Keyboard shortcuts

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