Documentation ¶
Index ¶
- Variables
- func NewCreate(issuer eos.AccountName, maxSupply eos.Asset) *eos.Action
- func NewIssue(to eos.AccountName, quantity eos.Asset, memo string) *eos.Action
- func NewTokenOpen(creator, owner string, symbol eos.Symbol, permission string) *eos.Action
- func NewTransfer(from, to string, quantity eos.Asset, memo string) *eos.Action
- func NewVestingOpen(creator, owner string, symbol eos.Symbol, permission string) *eos.Action
- type Create
- type Issue
- type Open
- type Transfer
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 NewTokenOpen ¶
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 Open ¶
type Open struct { Owner eos.AccountName `json:"owner"` Symbol eos.Symbol `json:"symbol"` RamPayer eos.AccountName `json:"ram_payer"` }
Create represents the `create` 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.
Click to show internal directories.
Click to hide internal directories.