token

package
v0.0.0-...-9ffcaaa Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewCreate

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

func NewIssue

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

func NewTransfer

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

Types

type Create

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

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

type Issue

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

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

type Transfer

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

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

Jump to

Keyboard shortcuts

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