exported

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 1 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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