v2

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: GPL-3.0, GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PRC721

type PRC721 struct {
}

PRC721 chainCode name

func (*PRC721) ChangeSupplyAddr

func (p *PRC721) ChangeSupplyAddr(stub shim.ChaincodeStubInterface, symbol, supplyAddress string) pb.Response

ChangeSupplyAddr

func (*PRC721) CreateToken

func (p *PRC721) CreateToken(stub shim.ChaincodeStubInterface, name string, symbol string, UIDType string,
	totalSupply uint64, tokenIDMetas string, supplyAddress string) pb.Response

CreateToken

func (*PRC721) ExistTokenID

func (p *PRC721) ExistTokenID(stub shim.ChaincodeStubInterface, assetTokenID string) (string, error)

ExistTokenID

func (*PRC721) GetAllTokenInfo

func (p *PRC721) GetAllTokenInfo(stub shim.ChaincodeStubInterface) []tokenIDInfo

GetAllTokenInfo

func (*PRC721) GetOneTokenInfo

func (p *PRC721) GetOneTokenInfo(stub shim.ChaincodeStubInterface, symbol string) (*tokenIDInfo, error)

GetOneTokenInfo

func (*PRC721) GetTokenURI

func (p *PRC721) GetTokenURI(stub shim.ChaincodeStubInterface, assetTokenID string) string

GetTokenURI

func (*PRC721) Init

Init

func (*PRC721) Invoke

func (p *PRC721) Invoke(stub shim.ChaincodeStubInterface) pb.Response

Invoke

func (*PRC721) SetTokenURI

func (p *PRC721) SetTokenURI(stub shim.ChaincodeStubInterface, assetTokenID, tokenURI string) pb.Response

SetTokenURI

func (*PRC721) SupplyToken

func (p *PRC721) SupplyToken(stub shim.ChaincodeStubInterface, symbol string, supplyAmount uint64, tokenIDMetas string) pb.Response

SupplyToken

Jump to

Keyboard shortcuts

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