Documentation ¶
Index ¶
- Variables
- func NewCreate(issuer potato.AccountName, maxSupply potato.Asset) *potato.Action
- func NewIssue(to potato.AccountName, quantity potato.Asset, memo string) *potato.Action
- func NewTransfer(from, to potato.AccountName, quantity potato.Asset, memo string) *potato.Action
- type Create
- type Issue
- type Transfer
Constants ¶
This section is empty.
Variables ¶
View Source
var AN = potato.AN
View Source
var ActN = potato.ActN
View Source
var PN = potato.PN
Functions ¶
func NewTransfer ¶
Types ¶
type Create ¶
type Create struct { Issuer potato.AccountName `json:"issuer"` MaximumSupply potato.Asset `json:"maximum_supply"` }
Create represents the `create` struct on the `poc.token` contract.
type Issue ¶
type Issue struct { To potato.AccountName `json:"to"` Quantity potato.Asset `json:"quantity"` Memo string `json:"memo"` }
Issue represents the `issue` struct on the `poc.token` contract.
type Transfer ¶
type Transfer struct { From potato.AccountName `json:"from"` To potato.AccountName `json:"to"` Quantity potato.Asset `json:"quantity"` Memo string `json:"memo"` }
Transfer represents the `transfer` struct on `poc.token` contract.
Click to show internal directories.
Click to hide internal directories.