token

package
v0.0.0-...-dd31ef9 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AN = types.AN
View Source
var ActN = types.ActN
View Source
var PN = types.PN

Functions

func NewCreate

func NewCreate(issuer types.AccountName, maxSupply types.Asset) *types.Action

func NewIssue

func NewIssue(to types.AccountName, quantity types.Asset, memo string) *types.Action

func NewTransfer

func NewTransfer(from, to types.AccountName, quantity types.Asset, memo string) *types.Action

Types

type Create

type Create struct {
	Issuer        types.AccountName `json:"issuer"`
	MaximumSupply types.Asset       `json:"maximum_supply"`
}

Create represents the `create` struct on the `eosio.token` contract.

type Issue

type Issue struct {
	To       types.AccountName `json:"to"`
	Quantity types.Asset       `json:"quantity"`
	Memo     string            `json:"memo"`
}

Issue represents the `issue` struct on the `eosio.token` contract.

type Transfer

type Transfer struct {
	From     types.AccountName `json:"from"`
	To       types.AccountName `json:"to"`
	Quantity types.Asset       `json:"quantity"`
	Memo     string            `json:"memo"`
}

Transfer represents the `transfer` struct on `eosio.token` contract.

Jump to

Keyboard shortcuts

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