token

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewCreate

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

func NewIssue

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

func NewTransfer

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

Types

type Create

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

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

type Issue

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

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

type Transfer

type Transfer struct {
	From     yta.AccountName `json:"from"`
	To       yta.AccountName `json:"to"`
	Quantity yta.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