token

package
v0.8.16-0.41 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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 NewDelegateVesting

func NewDelegateVesting(from, to string, val eos.Asset, interest uint16, permissionFrom, permissionTo string) *eos.Action

func NewDelegateVestingCyber

func NewDelegateVestingCyber(from, to string, val eos.Asset, permissionFrom string) *eos.Action

func NewDelegateVestingCyberOpen

func NewDelegateVestingCyberOpen(from, to, permissionFrom string) *eos.Action

func NewIssue

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

func NewTokenOpen

func NewTokenOpen(creator, owner string, symbol eos.Symbol, permission string) *eos.Action

func NewTransfer

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

func NewUnDelegateVesting

func NewUnDelegateVesting(from, to string, val eos.Asset, interest uint16, permission string) *eos.Action

func NewVestingOpen

func NewVestingOpen(creator, owner string, symbol eos.Symbol, permission 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 Delegate

type Delegate struct {
	From         eos.AccountName `json:"from"`
	To           eos.AccountName `json:"to"`
	Quantity     eos.Asset       `json:"quantity"`
	InterestRate uint16          `json:"interest_rate"`
}

type DelegateCyber

type DelegateCyber struct {
	From     eos.AccountName `json:"grantor_name"`
	To       eos.AccountName `json:"recipient_name"`
	Quantity eos.Asset       `json:"quantity"`
}

type DelegateCyberOpen

type DelegateCyberOpen struct {
	To    eos.AccountName `json:"owner"`
	Token eos.SymbolCode  `json:"token_code"`
	From  eos.AccountName `json:"ram_payer"`
}

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.

type UnDelegate

type UnDelegate struct {
	From     eos.AccountName `json:"from"`
	To       eos.AccountName `json:"to"`
	Quantity eos.Asset       `json:"quantity"`
}

Jump to

Keyboard shortcuts

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