action

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenAccountName = eos.AN("force.token")

TokenAccountName account name for token contact to chain

Functions

func NewTransfer

func NewTransfer(from, to eos.AccountName, asset eos.Asset, memo string) *types.Action

NewTransfer new transfer action by TokenAccountName contract

Types

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 action data for force.token::transfer action

Jump to

Keyboard shortcuts

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