token

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewCreate

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

func NewIssue

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

func NewTransfer

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

Types

type Create

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

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

type Issue

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

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

type Transfer

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