transferAgency

package
v0.0.0-...-24d451d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Tag      = "TAC(BCB)"
	BuyToken = ""
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagerInfo

type ManagerInfo struct {
	AddressList []smc.Address `json:"addressList"` // 管理者地址
}

type TokenFeeInfo

type TokenFeeInfo struct {
	TokenName string      `json:"tokenName"` // 代币名称
	TokenAddr smc.Address `json:"tokenAddr"` // 代币地址
	Fee       Number      `json:"fee"`       // 代币手续费
}

type TransferAgency

type TransferAgency struct {
	*smcapi.SmcApi
	// contains filtered or unexported fields
}

new

func (*TransferAgency) ReceiptOfSetManager

func (tac *TransferAgency) ReceiptOfSetManager(addressList []smc.Address)

func (*TransferAgency) ReceiptOfSetTokenFeeInfo

func (tac *TransferAgency) ReceiptOfSetTokenFeeInfo(tokenFeeInfo []TokenFeeInfo)

func (*TransferAgency) SetManager

func (tac *TransferAgency) SetManager(addressList []smc.Address) (err smc.Error)

func (*TransferAgency) SetManagerInfoDB

func (tac *TransferAgency) SetManagerInfoDB(v *ManagerInfo) error

func (*TransferAgency) SetTokenFee

func (tac *TransferAgency) SetTokenFee(strTokenFee string) (err smc.Error)

func (*TransferAgency) Transfer

func (tac *TransferAgency) Transfer(tokenName string, to smc.Address, amount Number) (err smc.Error)

func (*TransferAgency) WithdrawFunds

func (tac *TransferAgency) WithdrawFunds(tokenName string, withdrawAmount Number) (err smc.Error)

Jump to

Keyboard shortcuts

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