Documentation ¶
Index ¶
Constants ¶
View Source
const ( //invoke functions RegisterAndIssueToken string = "registerAndIssueToken" InvalidateToken string = "invalidateToken" QueryToken string = "queryToken" //token status Created string = "created" Delivered string = "issued" Invalidate string = "invalidated" )
These are function names from Invoke first parameter
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetSysCC ¶
type AssetSysCC struct {
// contains filtered or unexported fields
}
-------------- the ascc ------------------
func (*AssetSysCC) Init ¶
func (t *AssetSysCC) Init(stub shim.ChaincodeStubInterface) pb.Response
Init initializes ascc
func (*AssetSysCC) Invoke ¶
func (t *AssetSysCC) Invoke(stub shim.ChaincodeStubInterface) pb.Response
Invoke func
type Token ¶
type Token struct { // token name Name string `json:"tokenName"` // initial address to issue Address string `json:"address"` // token status : Created, Delivered, Invalidate Status string `json:"status"` // token decimals Decimals int `json:"decimals"` // contains filtered or unexported fields }
type GenAccount
Click to show internal directories.
Click to hide internal directories.