Documentation ¶
Index ¶
- type PRC721
- func (p *PRC721) ChangeSupplyAddr(stub shim.ChaincodeStubInterface, symbol, supplyAddress string) pb.Response
- func (p *PRC721) CreateToken(stub shim.ChaincodeStubInterface, name string, symbol string, UIDType string, ...) pb.Response
- func (p *PRC721) ExistTokenID(stub shim.ChaincodeStubInterface, assetTokenID string) (string, error)
- func (p *PRC721) GetAllTokenInfo(stub shim.ChaincodeStubInterface) []tokenIDInfo
- func (p *PRC721) GetOneTokenInfo(stub shim.ChaincodeStubInterface, symbol string) (*tokenIDInfo, error)
- func (p *PRC721) GetTokenURI(stub shim.ChaincodeStubInterface, assetTokenID string) string
- func (p *PRC721) Init(stub shim.ChaincodeStubInterface) pb.Response
- func (p *PRC721) Invoke(stub shim.ChaincodeStubInterface) pb.Response
- func (p *PRC721) SetTokenURI(stub shim.ChaincodeStubInterface, assetTokenID, tokenURI string) pb.Response
- func (p *PRC721) SupplyToken(stub shim.ChaincodeStubInterface, symbol string, supplyAmount uint64, ...) pb.Response
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) 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
Click to show internal directories.
Click to hide internal directories.