Documentation ¶
Index ¶
- Variables
- func NewCreate(issuer types.AccountName, maxSupply types.Asset) *types.Action
- func NewIssue(to types.AccountName, quantity types.Asset, memo string) *types.Action
- func NewTransfer(from, to types.AccountName, quantity types.Asset, memo string) *types.Action
- type Create
- type Issue
- type Transfer
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 NewTransfer ¶
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.
Click to show internal directories.
Click to hide internal directories.