Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NFT ¶
type NFT interface { GetID() string GetOwners() TokenOwners SetOwners(owners TokenOwners) NFT GetCreator() sdk.AccAddress GetTokenURI() string EditMetadata(tokenURI string) NFT GetReserve() sdk.Int GetAllowMint() bool String() string }
NFT non fungible token interface
type TokenOwner ¶
type TokenOwner interface { GetAddress() sdk.AccAddress GetSubTokenIDs() []int64 SetSubTokenID(id int64) TokenOwner SortSubTokensFix() TokenOwner RemoveSubTokenID(id int64) TokenOwner String() string }
type TokenOwners ¶
type TokenOwners interface { GetOwners() []TokenOwner SetOwner(owner TokenOwner) TokenOwners GetOwner(owner sdk.AccAddress) TokenOwner String() string }
Click to show internal directories.
Click to hide internal directories.