mintage

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JsonMintage = `` /* 1233-byte string literal not displayed */

	MethodNameMintage         = "Mintage"
	MethodNameMintageWithdraw = "Withdraw"
	VariableNameToken         = "token"
	VariableNameGenesisToken  = "genesisToken"
)

Variables

Functions

func NewTokenHash

func NewTokenHash(address types.Address, previous types.Hash, tokenName string) types.Hash

func ParseGenesisTokenInfo

func ParseGenesisTokenInfo(data []byte) (*types.TokenInfo, error)

func ParseTokenInfo

func ParseTokenInfo(data []byte) (*types.TokenInfo, error)

Types

type ParamMintage

type ParamMintage struct {
	TokenId     types.Hash
	TokenName   string
	TokenSymbol string
	TotalSupply *big.Int
	Decimals    uint8
	Beneficial  types.Address
	NEP5TxId    string
}

Jump to

Keyboard shortcuts

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