ascc

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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

Init initializes ascc

func (*AssetSysCC) Invoke

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

Jump to

Keyboard shortcuts

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