contract

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AbstractTokenTRC21ABI = "" /* 175-byte string literal not displayed */

AbstractTokenTRC21ABI is the input ABI used to generate the binding from.

View Source
const AbstractTokenTRC21Bin = `0x`

AbstractTokenTRC21Bin is the compiled bytecode used for deploying new contracts.

View Source
const ITRC21ABI = "" /* 2518-byte string literal not displayed */

ITRC21ABI is the input ABI used to generate the binding from.

View Source
const ITRC21Bin = `0x`

ITRC21Bin is the compiled bytecode used for deploying new contracts.

View Source
const MyTRC21ABI = "" /* 3687-byte string literal not displayed */

MyTRC21ABI is the input ABI used to generate the binding from.

View Source
const MyTRC21Bin = `` /* 5732-byte string literal not displayed */

MyTRC21Bin is the compiled bytecode used for deploying new contracts.

View Source
const TRC21ABI = "" /* 2868-byte string literal not displayed */

TRC21ABI is the input ABI used to generate the binding from.

View Source
const TRC21Bin = `` /* 3478-byte string literal not displayed */

TRC21Bin is the compiled bytecode used for deploying new contracts.

View Source
const TRC21IssuerABI = "" /* 1582-byte string literal not displayed */

TRC21IssuerABI is the input ABI used to generate the binding from.

View Source
const TRC21IssuerBin = `` /* 2300-byte string literal not displayed */

TRC21IssuerBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractTokenTRC21

type AbstractTokenTRC21 struct {
	AbstractTokenTRC21Caller     // Read-only binding to the contract
	AbstractTokenTRC21Transactor // Write-only binding to the contract
	AbstractTokenTRC21Filterer   // Log filterer for contract events
}

AbstractTokenTRC21 is an auto generated Go binding around an Ethereum contract.

func DeployAbstractTokenTRC21

func DeployAbstractTokenTRC21(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AbstractTokenTRC21, error)

DeployAbstractTokenTRC21 deploys a new Ethereum contract, binding an instance of AbstractTokenTRC21 to it.

func NewAbstractTokenTRC21

func NewAbstractTokenTRC21(address common.Address, backend bind.ContractBackend) (*AbstractTokenTRC21, error)

NewAbstractTokenTRC21 creates a new instance of AbstractTokenTRC21, bound to a specific deployed contract.

type AbstractTokenTRC21Caller

type AbstractTokenTRC21Caller struct {
	// contains filtered or unexported fields
}

AbstractTokenTRC21Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewAbstractTokenTRC21Caller

func NewAbstractTokenTRC21Caller(address common.Address, caller bind.ContractCaller) (*AbstractTokenTRC21Caller, error)

NewAbstractTokenTRC21Caller creates a new read-only instance of AbstractTokenTRC21, bound to a specific deployed contract.

func (*AbstractTokenTRC21Caller) Issuer

func (_AbstractTokenTRC21 *AbstractTokenTRC21Caller) Issuer(opts *bind.CallOpts) (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

type AbstractTokenTRC21CallerRaw

type AbstractTokenTRC21CallerRaw struct {
	Contract *AbstractTokenTRC21Caller // Generic read-only contract binding to access the raw methods on
}

AbstractTokenTRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*AbstractTokenTRC21CallerRaw) Call

func (_AbstractTokenTRC21 *AbstractTokenTRC21CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type AbstractTokenTRC21CallerSession

type AbstractTokenTRC21CallerSession struct {
	Contract *AbstractTokenTRC21Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts             // Call options to use throughout this session
}

AbstractTokenTRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*AbstractTokenTRC21CallerSession) Issuer

func (_AbstractTokenTRC21 *AbstractTokenTRC21CallerSession) Issuer() (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

type AbstractTokenTRC21Filterer

type AbstractTokenTRC21Filterer struct {
	// contains filtered or unexported fields
}

AbstractTokenTRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewAbstractTokenTRC21Filterer

func NewAbstractTokenTRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*AbstractTokenTRC21Filterer, error)

NewAbstractTokenTRC21Filterer creates a new log filterer instance of AbstractTokenTRC21, bound to a specific deployed contract.

type AbstractTokenTRC21Raw

type AbstractTokenTRC21Raw struct {
	Contract *AbstractTokenTRC21 // Generic contract binding to access the raw methods on
}

AbstractTokenTRC21Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*AbstractTokenTRC21Raw) Call

func (_AbstractTokenTRC21 *AbstractTokenTRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*AbstractTokenTRC21Raw) Transact

func (_AbstractTokenTRC21 *AbstractTokenTRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AbstractTokenTRC21Raw) Transfer

func (_AbstractTokenTRC21 *AbstractTokenTRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AbstractTokenTRC21Session

type AbstractTokenTRC21Session struct {
	Contract     *AbstractTokenTRC21 // Generic contract binding to set the session for
	CallOpts     bind.CallOpts       // Call options to use throughout this session
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

AbstractTokenTRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*AbstractTokenTRC21Session) Issuer

func (_AbstractTokenTRC21 *AbstractTokenTRC21Session) Issuer() (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

type AbstractTokenTRC21Transactor

type AbstractTokenTRC21Transactor struct {
	// contains filtered or unexported fields
}

AbstractTokenTRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewAbstractTokenTRC21Transactor

func NewAbstractTokenTRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*AbstractTokenTRC21Transactor, error)

NewAbstractTokenTRC21Transactor creates a new write-only instance of AbstractTokenTRC21, bound to a specific deployed contract.

type AbstractTokenTRC21TransactorRaw

type AbstractTokenTRC21TransactorRaw struct {
	Contract *AbstractTokenTRC21Transactor // Generic write-only contract binding to access the raw methods on
}

AbstractTokenTRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*AbstractTokenTRC21TransactorRaw) Transact

func (_AbstractTokenTRC21 *AbstractTokenTRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AbstractTokenTRC21TransactorRaw) Transfer

func (_AbstractTokenTRC21 *AbstractTokenTRC21TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AbstractTokenTRC21TransactorSession

type AbstractTokenTRC21TransactorSession struct {
	Contract     *AbstractTokenTRC21Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts             // Transaction auth options to use throughout this session
}

AbstractTokenTRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type ITRC21

type ITRC21 struct {
	ITRC21Caller     // Read-only binding to the contract
	ITRC21Transactor // Write-only binding to the contract
	ITRC21Filterer   // Log filterer for contract events
}

ITRC21 is an auto generated Go binding around an Ethereum contract.

func DeployITRC21

func DeployITRC21(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ITRC21, error)

DeployITRC21 deploys a new Ethereum contract, binding an instance of ITRC21 to it.

func NewITRC21

func NewITRC21(address common.Address, backend bind.ContractBackend) (*ITRC21, error)

NewITRC21 creates a new instance of ITRC21, bound to a specific deployed contract.

type ITRC21Approval

type ITRC21Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ITRC21Approval represents a Approval event raised by the ITRC21 contract.

type ITRC21ApprovalIterator

type ITRC21ApprovalIterator struct {
	Event *ITRC21Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ITRC21ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ITRC21 contract.

func (*ITRC21ApprovalIterator) Close

func (it *ITRC21ApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ITRC21ApprovalIterator) Error

func (it *ITRC21ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ITRC21ApprovalIterator) Next

func (it *ITRC21ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ITRC21Caller

type ITRC21Caller struct {
	// contains filtered or unexported fields
}

ITRC21Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewITRC21Caller

func NewITRC21Caller(address common.Address, caller bind.ContractCaller) (*ITRC21Caller, error)

NewITRC21Caller creates a new read-only instance of ITRC21, bound to a specific deployed contract.

func (*ITRC21Caller) Allowance

func (_ITRC21 *ITRC21Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*ITRC21Caller) BalanceOf

func (_ITRC21 *ITRC21Caller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(uint256)

func (*ITRC21Caller) EstimateFee

func (_ITRC21 *ITRC21Caller) EstimateFee(opts *bind.CallOpts, value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*ITRC21Caller) TotalSupply

func (_ITRC21 *ITRC21Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ITRC21CallerRaw

type ITRC21CallerRaw struct {
	Contract *ITRC21Caller // Generic read-only contract binding to access the raw methods on
}

ITRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ITRC21CallerRaw) Call

func (_ITRC21 *ITRC21CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ITRC21CallerSession

type ITRC21CallerSession struct {
	Contract *ITRC21Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

ITRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ITRC21CallerSession) Allowance

func (_ITRC21 *ITRC21CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*ITRC21CallerSession) BalanceOf

func (_ITRC21 *ITRC21CallerSession) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(uint256)

func (*ITRC21CallerSession) EstimateFee

func (_ITRC21 *ITRC21CallerSession) EstimateFee(value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*ITRC21CallerSession) TotalSupply

func (_ITRC21 *ITRC21CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ITRC21Fee

type ITRC21Fee struct {
	From   common.Address
	To     common.Address
	Issuer common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ITRC21Fee represents a Fee event raised by the ITRC21 contract.

type ITRC21FeeIterator

type ITRC21FeeIterator struct {
	Event *ITRC21Fee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ITRC21FeeIterator is returned from FilterFee and is used to iterate over the raw logs and unpacked data for Fee events raised by the ITRC21 contract.

func (*ITRC21FeeIterator) Close

func (it *ITRC21FeeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ITRC21FeeIterator) Error

func (it *ITRC21FeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ITRC21FeeIterator) Next

func (it *ITRC21FeeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ITRC21Filterer

type ITRC21Filterer struct {
	// contains filtered or unexported fields
}

ITRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewITRC21Filterer

func NewITRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*ITRC21Filterer, error)

NewITRC21Filterer creates a new log filterer instance of ITRC21, bound to a specific deployed contract.

func (*ITRC21Filterer) FilterApproval

func (_ITRC21 *ITRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ITRC21ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*ITRC21Filterer) FilterFee

func (_ITRC21 *ITRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, issuer []common.Address) (*ITRC21FeeIterator, error)

FilterFee is a free log retrieval operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.

Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)

func (*ITRC21Filterer) FilterTransfer

func (_ITRC21 *ITRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ITRC21TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

func (*ITRC21Filterer) WatchApproval

func (_ITRC21 *ITRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ITRC21Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*ITRC21Filterer) WatchFee

func (_ITRC21 *ITRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *ITRC21Fee, from []common.Address, to []common.Address, issuer []common.Address) (event.Subscription, error)

WatchFee is a free log subscription operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.

Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)

func (*ITRC21Filterer) WatchTransfer

func (_ITRC21 *ITRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ITRC21Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

type ITRC21Raw

type ITRC21Raw struct {
	Contract *ITRC21 // Generic contract binding to access the raw methods on
}

ITRC21Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*ITRC21Raw) Call

func (_ITRC21 *ITRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ITRC21Raw) Transact

func (_ITRC21 *ITRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ITRC21Raw) Transfer

func (_ITRC21 *ITRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ITRC21Session

type ITRC21Session struct {
	Contract     *ITRC21           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ITRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ITRC21Session) Allowance

func (_ITRC21 *ITRC21Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*ITRC21Session) Approve

func (_ITRC21 *ITRC21Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*ITRC21Session) BalanceOf

func (_ITRC21 *ITRC21Session) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(uint256)

func (*ITRC21Session) EstimateFee

func (_ITRC21 *ITRC21Session) EstimateFee(value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*ITRC21Session) TotalSupply

func (_ITRC21 *ITRC21Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*ITRC21Session) Transfer

func (_ITRC21 *ITRC21Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*ITRC21Session) TransferFrom

func (_ITRC21 *ITRC21Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type ITRC21Transactor

type ITRC21Transactor struct {
	// contains filtered or unexported fields
}

ITRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewITRC21Transactor

func NewITRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*ITRC21Transactor, error)

NewITRC21Transactor creates a new write-only instance of ITRC21, bound to a specific deployed contract.

func (*ITRC21Transactor) Approve

func (_ITRC21 *ITRC21Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*ITRC21Transactor) Transfer

func (_ITRC21 *ITRC21Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*ITRC21Transactor) TransferFrom

func (_ITRC21 *ITRC21Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type ITRC21TransactorRaw

type ITRC21TransactorRaw struct {
	Contract *ITRC21Transactor // Generic write-only contract binding to access the raw methods on
}

ITRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ITRC21TransactorRaw) Transact

func (_ITRC21 *ITRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ITRC21TransactorRaw) Transfer

func (_ITRC21 *ITRC21TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ITRC21TransactorSession

type ITRC21TransactorSession struct {
	Contract     *ITRC21Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ITRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ITRC21TransactorSession) Approve

func (_ITRC21 *ITRC21TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*ITRC21TransactorSession) Transfer

func (_ITRC21 *ITRC21TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*ITRC21TransactorSession) TransferFrom

func (_ITRC21 *ITRC21TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type ITRC21Transfer

type ITRC21Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ITRC21Transfer represents a Transfer event raised by the ITRC21 contract.

type ITRC21TransferIterator

type ITRC21TransferIterator struct {
	Event *ITRC21Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ITRC21TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ITRC21 contract.

func (*ITRC21TransferIterator) Close

func (it *ITRC21TransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ITRC21TransferIterator) Error

func (it *ITRC21TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ITRC21TransferIterator) Next

func (it *ITRC21TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MyTRC21

type MyTRC21 struct {
	MyTRC21Caller     // Read-only binding to the contract
	MyTRC21Transactor // Write-only binding to the contract
	MyTRC21Filterer   // Log filterer for contract events
}

MyTRC21 is an auto generated Go binding around an Ethereum contract.

func DeployMyTRC21

func DeployMyTRC21(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, decimals uint8, cap *big.Int, minFee *big.Int) (common.Address, *types.Transaction, *MyTRC21, error)

DeployMyTRC21 deploys a new Ethereum contract, binding an instance of MyTRC21 to it.

func NewMyTRC21

func NewMyTRC21(address common.Address, backend bind.ContractBackend) (*MyTRC21, error)

NewMyTRC21 creates a new instance of MyTRC21, bound to a specific deployed contract.

type MyTRC21Approval

type MyTRC21Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MyTRC21Approval represents a Approval event raised by the MyTRC21 contract.

type MyTRC21ApprovalIterator

type MyTRC21ApprovalIterator struct {
	Event *MyTRC21Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MyTRC21ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MyTRC21 contract.

func (*MyTRC21ApprovalIterator) Close

func (it *MyTRC21ApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MyTRC21ApprovalIterator) Error

func (it *MyTRC21ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21ApprovalIterator) Next

func (it *MyTRC21ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MyTRC21Caller

type MyTRC21Caller struct {
	// contains filtered or unexported fields
}

MyTRC21Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewMyTRC21Caller

func NewMyTRC21Caller(address common.Address, caller bind.ContractCaller) (*MyTRC21Caller, error)

NewMyTRC21Caller creates a new read-only instance of MyTRC21, bound to a specific deployed contract.

func (*MyTRC21Caller) Allowance

func (_MyTRC21 *MyTRC21Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*MyTRC21Caller) BalanceOf

func (_MyTRC21 *MyTRC21Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(owner address) constant returns(uint256)

func (*MyTRC21Caller) Decimals

func (_MyTRC21 *MyTRC21Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MyTRC21Caller) EstimateFee

func (_MyTRC21 *MyTRC21Caller) EstimateFee(opts *bind.CallOpts, value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*MyTRC21Caller) Issuer

func (_MyTRC21 *MyTRC21Caller) Issuer(opts *bind.CallOpts) (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

func (*MyTRC21Caller) MinFee

func (_MyTRC21 *MyTRC21Caller) MinFee(opts *bind.CallOpts) (*big.Int, error)

MinFee is a free data retrieval call binding the contract method 0x24ec7590.

Solidity: function minFee() constant returns(uint256)

func (*MyTRC21Caller) Name

func (_MyTRC21 *MyTRC21Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MyTRC21Caller) Symbol

func (_MyTRC21 *MyTRC21Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MyTRC21Caller) TotalSupply

func (_MyTRC21 *MyTRC21Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type MyTRC21CallerRaw

type MyTRC21CallerRaw struct {
	Contract *MyTRC21Caller // Generic read-only contract binding to access the raw methods on
}

MyTRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MyTRC21CallerRaw) Call

func (_MyTRC21 *MyTRC21CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type MyTRC21CallerSession

type MyTRC21CallerSession struct {
	Contract *MyTRC21Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

MyTRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MyTRC21CallerSession) Allowance

func (_MyTRC21 *MyTRC21CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*MyTRC21CallerSession) BalanceOf

func (_MyTRC21 *MyTRC21CallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(owner address) constant returns(uint256)

func (*MyTRC21CallerSession) Decimals

func (_MyTRC21 *MyTRC21CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MyTRC21CallerSession) EstimateFee

func (_MyTRC21 *MyTRC21CallerSession) EstimateFee(value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*MyTRC21CallerSession) Issuer

func (_MyTRC21 *MyTRC21CallerSession) Issuer() (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

func (*MyTRC21CallerSession) MinFee

func (_MyTRC21 *MyTRC21CallerSession) MinFee() (*big.Int, error)

MinFee is a free data retrieval call binding the contract method 0x24ec7590.

Solidity: function minFee() constant returns(uint256)

func (*MyTRC21CallerSession) Name

func (_MyTRC21 *MyTRC21CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MyTRC21CallerSession) Symbol

func (_MyTRC21 *MyTRC21CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MyTRC21CallerSession) TotalSupply

func (_MyTRC21 *MyTRC21CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type MyTRC21Fee

type MyTRC21Fee struct {
	From   common.Address
	To     common.Address
	Issuer common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MyTRC21Fee represents a Fee event raised by the MyTRC21 contract.

type MyTRC21FeeIterator

type MyTRC21FeeIterator struct {
	Event *MyTRC21Fee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MyTRC21FeeIterator is returned from FilterFee and is used to iterate over the raw logs and unpacked data for Fee events raised by the MyTRC21 contract.

func (*MyTRC21FeeIterator) Close

func (it *MyTRC21FeeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MyTRC21FeeIterator) Error

func (it *MyTRC21FeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21FeeIterator) Next

func (it *MyTRC21FeeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MyTRC21Filterer

type MyTRC21Filterer struct {
	// contains filtered or unexported fields
}

MyTRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMyTRC21Filterer

func NewMyTRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*MyTRC21Filterer, error)

NewMyTRC21Filterer creates a new log filterer instance of MyTRC21, bound to a specific deployed contract.

func (*MyTRC21Filterer) FilterApproval

func (_MyTRC21 *MyTRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MyTRC21ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*MyTRC21Filterer) FilterFee

func (_MyTRC21 *MyTRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, issuer []common.Address) (*MyTRC21FeeIterator, error)

FilterFee is a free log retrieval operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.

Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)

func (*MyTRC21Filterer) FilterTransfer

func (_MyTRC21 *MyTRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MyTRC21TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

func (*MyTRC21Filterer) WatchApproval

func (_MyTRC21 *MyTRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MyTRC21Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*MyTRC21Filterer) WatchFee

func (_MyTRC21 *MyTRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *MyTRC21Fee, from []common.Address, to []common.Address, issuer []common.Address) (event.Subscription, error)

WatchFee is a free log subscription operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.

Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)

func (*MyTRC21Filterer) WatchTransfer

func (_MyTRC21 *MyTRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MyTRC21Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

type MyTRC21Raw

type MyTRC21Raw struct {
	Contract *MyTRC21 // Generic contract binding to access the raw methods on
}

MyTRC21Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*MyTRC21Raw) Call

func (_MyTRC21 *MyTRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*MyTRC21Raw) Transact

func (_MyTRC21 *MyTRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MyTRC21Raw) Transfer

func (_MyTRC21 *MyTRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MyTRC21Session

type MyTRC21Session struct {
	Contract     *MyTRC21          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

MyTRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MyTRC21Session) Allowance

func (_MyTRC21 *MyTRC21Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*MyTRC21Session) Approve

func (_MyTRC21 *MyTRC21Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*MyTRC21Session) BalanceOf

func (_MyTRC21 *MyTRC21Session) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(owner address) constant returns(uint256)

func (*MyTRC21Session) Decimals

func (_MyTRC21 *MyTRC21Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MyTRC21Session) EstimateFee

func (_MyTRC21 *MyTRC21Session) EstimateFee(value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*MyTRC21Session) Issuer

func (_MyTRC21 *MyTRC21Session) Issuer() (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

func (*MyTRC21Session) MinFee

func (_MyTRC21 *MyTRC21Session) MinFee() (*big.Int, error)

MinFee is a free data retrieval call binding the contract method 0x24ec7590.

Solidity: function minFee() constant returns(uint256)

func (*MyTRC21Session) Name

func (_MyTRC21 *MyTRC21Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MyTRC21Session) Symbol

func (_MyTRC21 *MyTRC21Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MyTRC21Session) TotalSupply

func (_MyTRC21 *MyTRC21Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*MyTRC21Session) Transfer

func (_MyTRC21 *MyTRC21Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*MyTRC21Session) TransferFrom

func (_MyTRC21 *MyTRC21Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type MyTRC21Transactor

type MyTRC21Transactor struct {
	// contains filtered or unexported fields
}

MyTRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMyTRC21Transactor

func NewMyTRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*MyTRC21Transactor, error)

NewMyTRC21Transactor creates a new write-only instance of MyTRC21, bound to a specific deployed contract.

func (*MyTRC21Transactor) Approve

func (_MyTRC21 *MyTRC21Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*MyTRC21Transactor) Transfer

func (_MyTRC21 *MyTRC21Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*MyTRC21Transactor) TransferFrom

func (_MyTRC21 *MyTRC21Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type MyTRC21TransactorRaw

type MyTRC21TransactorRaw struct {
	Contract *MyTRC21Transactor // Generic write-only contract binding to access the raw methods on
}

MyTRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MyTRC21TransactorRaw) Transact

func (_MyTRC21 *MyTRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MyTRC21TransactorRaw) Transfer

func (_MyTRC21 *MyTRC21TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MyTRC21TransactorSession

type MyTRC21TransactorSession struct {
	Contract     *MyTRC21Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

MyTRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MyTRC21TransactorSession) Approve

func (_MyTRC21 *MyTRC21TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*MyTRC21TransactorSession) Transfer

func (_MyTRC21 *MyTRC21TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*MyTRC21TransactorSession) TransferFrom

func (_MyTRC21 *MyTRC21TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type MyTRC21Transfer

type MyTRC21Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MyTRC21Transfer represents a Transfer event raised by the MyTRC21 contract.

type MyTRC21TransferIterator

type MyTRC21TransferIterator struct {
	Event *MyTRC21Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MyTRC21TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MyTRC21 contract.

func (*MyTRC21TransferIterator) Close

func (it *MyTRC21TransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MyTRC21TransferIterator) Error

func (it *MyTRC21TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21TransferIterator) Next

func (it *MyTRC21TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TRC21

type TRC21 struct {
	TRC21Caller     // Read-only binding to the contract
	TRC21Transactor // Write-only binding to the contract
	TRC21Filterer   // Log filterer for contract events
}

TRC21 is an auto generated Go binding around an Ethereum contract.

func DeployTRC21

func DeployTRC21(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TRC21, error)

DeployTRC21 deploys a new Ethereum contract, binding an instance of TRC21 to it.

func NewTRC21

func NewTRC21(address common.Address, backend bind.ContractBackend) (*TRC21, error)

NewTRC21 creates a new instance of TRC21, bound to a specific deployed contract.

type TRC21Approval

type TRC21Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TRC21Approval represents a Approval event raised by the TRC21 contract.

type TRC21ApprovalIterator

type TRC21ApprovalIterator struct {
	Event *TRC21Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TRC21ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the TRC21 contract.

func (*TRC21ApprovalIterator) Close

func (it *TRC21ApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TRC21ApprovalIterator) Error

func (it *TRC21ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TRC21ApprovalIterator) Next

func (it *TRC21ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TRC21Caller

type TRC21Caller struct {
	// contains filtered or unexported fields
}

TRC21Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewTRC21Caller

func NewTRC21Caller(address common.Address, caller bind.ContractCaller) (*TRC21Caller, error)

NewTRC21Caller creates a new read-only instance of TRC21, bound to a specific deployed contract.

func (*TRC21Caller) Allowance

func (_TRC21 *TRC21Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*TRC21Caller) BalanceOf

func (_TRC21 *TRC21Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(owner address) constant returns(uint256)

func (*TRC21Caller) EstimateFee

func (_TRC21 *TRC21Caller) EstimateFee(opts *bind.CallOpts, value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*TRC21Caller) Issuer

func (_TRC21 *TRC21Caller) Issuer(opts *bind.CallOpts) (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

func (*TRC21Caller) MinFee

func (_TRC21 *TRC21Caller) MinFee(opts *bind.CallOpts) (*big.Int, error)

MinFee is a free data retrieval call binding the contract method 0x24ec7590.

Solidity: function minFee() constant returns(uint256)

func (*TRC21Caller) TotalSupply

func (_TRC21 *TRC21Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type TRC21CallerRaw

type TRC21CallerRaw struct {
	Contract *TRC21Caller // Generic read-only contract binding to access the raw methods on
}

TRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TRC21CallerRaw) Call

func (_TRC21 *TRC21CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TRC21CallerSession

type TRC21CallerSession struct {
	Contract *TRC21Caller  // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

TRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TRC21CallerSession) Allowance

func (_TRC21 *TRC21CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*TRC21CallerSession) BalanceOf

func (_TRC21 *TRC21CallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(owner address) constant returns(uint256)

func (*TRC21CallerSession) EstimateFee

func (_TRC21 *TRC21CallerSession) EstimateFee(value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*TRC21CallerSession) Issuer

func (_TRC21 *TRC21CallerSession) Issuer() (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

func (*TRC21CallerSession) MinFee

func (_TRC21 *TRC21CallerSession) MinFee() (*big.Int, error)

MinFee is a free data retrieval call binding the contract method 0x24ec7590.

Solidity: function minFee() constant returns(uint256)

func (*TRC21CallerSession) TotalSupply

func (_TRC21 *TRC21CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type TRC21Fee

type TRC21Fee struct {
	From   common.Address
	To     common.Address
	Issuer common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TRC21Fee represents a Fee event raised by the TRC21 contract.

type TRC21FeeIterator

type TRC21FeeIterator struct {
	Event *TRC21Fee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TRC21FeeIterator is returned from FilterFee and is used to iterate over the raw logs and unpacked data for Fee events raised by the TRC21 contract.

func (*TRC21FeeIterator) Close

func (it *TRC21FeeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TRC21FeeIterator) Error

func (it *TRC21FeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TRC21FeeIterator) Next

func (it *TRC21FeeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TRC21Filterer

type TRC21Filterer struct {
	// contains filtered or unexported fields
}

TRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTRC21Filterer

func NewTRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*TRC21Filterer, error)

NewTRC21Filterer creates a new log filterer instance of TRC21, bound to a specific deployed contract.

func (*TRC21Filterer) FilterApproval

func (_TRC21 *TRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TRC21ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*TRC21Filterer) FilterFee

func (_TRC21 *TRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, issuer []common.Address) (*TRC21FeeIterator, error)

FilterFee is a free log retrieval operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.

Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)

func (*TRC21Filterer) FilterTransfer

func (_TRC21 *TRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TRC21TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

func (*TRC21Filterer) WatchApproval

func (_TRC21 *TRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TRC21Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*TRC21Filterer) WatchFee

func (_TRC21 *TRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *TRC21Fee, from []common.Address, to []common.Address, issuer []common.Address) (event.Subscription, error)

WatchFee is a free log subscription operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.

Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)

func (*TRC21Filterer) WatchTransfer

func (_TRC21 *TRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TRC21Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

type TRC21Issuer

type TRC21Issuer struct {
	TRC21IssuerCaller     // Read-only binding to the contract
	TRC21IssuerTransactor // Write-only binding to the contract
	TRC21IssuerFilterer   // Log filterer for contract events
}

TRC21Issuer is an auto generated Go binding around an Ethereum contract.

func DeployTRC21Issuer

func DeployTRC21Issuer(auth *bind.TransactOpts, backend bind.ContractBackend, value *big.Int) (common.Address, *types.Transaction, *TRC21Issuer, error)

DeployTRC21Issuer deploys a new Ethereum contract, binding an instance of TRC21Issuer to it.

func NewTRC21Issuer

func NewTRC21Issuer(address common.Address, backend bind.ContractBackend) (*TRC21Issuer, error)

NewTRC21Issuer creates a new instance of TRC21Issuer, bound to a specific deployed contract.

type TRC21IssuerApply

type TRC21IssuerApply struct {
	Issuer common.Address
	Token  common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TRC21IssuerApply represents a Apply event raised by the TRC21Issuer contract.

type TRC21IssuerApplyIterator

type TRC21IssuerApplyIterator struct {
	Event *TRC21IssuerApply // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TRC21IssuerApplyIterator is returned from FilterApply and is used to iterate over the raw logs and unpacked data for Apply events raised by the TRC21Issuer contract.

func (*TRC21IssuerApplyIterator) Close

func (it *TRC21IssuerApplyIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TRC21IssuerApplyIterator) Error

func (it *TRC21IssuerApplyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TRC21IssuerApplyIterator) Next

func (it *TRC21IssuerApplyIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TRC21IssuerCaller

type TRC21IssuerCaller struct {
	// contains filtered or unexported fields
}

TRC21IssuerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTRC21IssuerCaller

func NewTRC21IssuerCaller(address common.Address, caller bind.ContractCaller) (*TRC21IssuerCaller, error)

NewTRC21IssuerCaller creates a new read-only instance of TRC21Issuer, bound to a specific deployed contract.

func (*TRC21IssuerCaller) GetTokenCapacity

func (_TRC21Issuer *TRC21IssuerCaller) GetTokenCapacity(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetTokenCapacity is a free data retrieval call binding the contract method 0x8f3a981c.

Solidity: function getTokenCapacity(token address) constant returns(uint256)

func (*TRC21IssuerCaller) MinCap

func (_TRC21Issuer *TRC21IssuerCaller) MinCap(opts *bind.CallOpts) (*big.Int, error)

MinCap is a free data retrieval call binding the contract method 0x3fa615b0.

Solidity: function minCap() constant returns(uint256)

func (*TRC21IssuerCaller) Tokens

func (_TRC21Issuer *TRC21IssuerCaller) Tokens(opts *bind.CallOpts) ([]common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x9d63848a.

Solidity: function tokens() constant returns(address[])

type TRC21IssuerCallerRaw

type TRC21IssuerCallerRaw struct {
	Contract *TRC21IssuerCaller // Generic read-only contract binding to access the raw methods on
}

TRC21IssuerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TRC21IssuerCallerRaw) Call

func (_TRC21Issuer *TRC21IssuerCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TRC21IssuerCallerSession

type TRC21IssuerCallerSession struct {
	Contract *TRC21IssuerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

TRC21IssuerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TRC21IssuerCallerSession) GetTokenCapacity

func (_TRC21Issuer *TRC21IssuerCallerSession) GetTokenCapacity(token common.Address) (*big.Int, error)

GetTokenCapacity is a free data retrieval call binding the contract method 0x8f3a981c.

Solidity: function getTokenCapacity(token address) constant returns(uint256)

func (*TRC21IssuerCallerSession) MinCap

func (_TRC21Issuer *TRC21IssuerCallerSession) MinCap() (*big.Int, error)

MinCap is a free data retrieval call binding the contract method 0x3fa615b0.

Solidity: function minCap() constant returns(uint256)

func (*TRC21IssuerCallerSession) Tokens

func (_TRC21Issuer *TRC21IssuerCallerSession) Tokens() ([]common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x9d63848a.

Solidity: function tokens() constant returns(address[])

type TRC21IssuerCharge

type TRC21IssuerCharge struct {
	Supporter common.Address
	Token     common.Address
	Value     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

TRC21IssuerCharge represents a Charge event raised by the TRC21Issuer contract.

type TRC21IssuerChargeIterator

type TRC21IssuerChargeIterator struct {
	Event *TRC21IssuerCharge // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TRC21IssuerChargeIterator is returned from FilterCharge and is used to iterate over the raw logs and unpacked data for Charge events raised by the TRC21Issuer contract.

func (*TRC21IssuerChargeIterator) Close

func (it *TRC21IssuerChargeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TRC21IssuerChargeIterator) Error

func (it *TRC21IssuerChargeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TRC21IssuerChargeIterator) Next

func (it *TRC21IssuerChargeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TRC21IssuerFilterer

type TRC21IssuerFilterer struct {
	// contains filtered or unexported fields
}

TRC21IssuerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTRC21IssuerFilterer

func NewTRC21IssuerFilterer(address common.Address, filterer bind.ContractFilterer) (*TRC21IssuerFilterer, error)

NewTRC21IssuerFilterer creates a new log filterer instance of TRC21Issuer, bound to a specific deployed contract.

func (*TRC21IssuerFilterer) FilterApply

func (_TRC21Issuer *TRC21IssuerFilterer) FilterApply(opts *bind.FilterOpts, issuer []common.Address, token []common.Address) (*TRC21IssuerApplyIterator, error)

FilterApply is a free log retrieval operation binding the contract event 0x2d485624158277d5113a56388c3abf5c20e3511dd112123ba376d16b21e4d716.

Solidity: event Apply(issuer indexed address, token indexed address, value uint256)

func (*TRC21IssuerFilterer) FilterCharge

func (_TRC21Issuer *TRC21IssuerFilterer) FilterCharge(opts *bind.FilterOpts, supporter []common.Address, token []common.Address) (*TRC21IssuerChargeIterator, error)

FilterCharge is a free log retrieval operation binding the contract event 0x5cffac866325fd9b2a8ea8df2f110a0058313b279402d15ae28dd324a2282e06.

Solidity: event Charge(supporter indexed address, token indexed address, value uint256)

func (*TRC21IssuerFilterer) WatchApply

func (_TRC21Issuer *TRC21IssuerFilterer) WatchApply(opts *bind.WatchOpts, sink chan<- *TRC21IssuerApply, issuer []common.Address, token []common.Address) (event.Subscription, error)

WatchApply is a free log subscription operation binding the contract event 0x2d485624158277d5113a56388c3abf5c20e3511dd112123ba376d16b21e4d716.

Solidity: event Apply(issuer indexed address, token indexed address, value uint256)

func (*TRC21IssuerFilterer) WatchCharge

func (_TRC21Issuer *TRC21IssuerFilterer) WatchCharge(opts *bind.WatchOpts, sink chan<- *TRC21IssuerCharge, supporter []common.Address, token []common.Address) (event.Subscription, error)

WatchCharge is a free log subscription operation binding the contract event 0x5cffac866325fd9b2a8ea8df2f110a0058313b279402d15ae28dd324a2282e06.

Solidity: event Charge(supporter indexed address, token indexed address, value uint256)

type TRC21IssuerRaw

type TRC21IssuerRaw struct {
	Contract *TRC21Issuer // Generic contract binding to access the raw methods on
}

TRC21IssuerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TRC21IssuerRaw) Call

func (_TRC21Issuer *TRC21IssuerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TRC21IssuerRaw) Transact

func (_TRC21Issuer *TRC21IssuerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TRC21IssuerRaw) Transfer

func (_TRC21Issuer *TRC21IssuerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TRC21IssuerSession

type TRC21IssuerSession struct {
	Contract     *TRC21Issuer      // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TRC21IssuerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TRC21IssuerSession) Apply

func (_TRC21Issuer *TRC21IssuerSession) Apply(token common.Address) (*types.Transaction, error)

Apply is a paid mutator transaction binding the contract method 0xc6b32f34.

Solidity: function apply(token address) returns()

func (*TRC21IssuerSession) Charge

func (_TRC21Issuer *TRC21IssuerSession) Charge(token common.Address) (*types.Transaction, error)

Charge is a paid mutator transaction binding the contract method 0xfc6bd76a.

Solidity: function charge(token address) returns()

func (*TRC21IssuerSession) GetTokenCapacity

func (_TRC21Issuer *TRC21IssuerSession) GetTokenCapacity(token common.Address) (*big.Int, error)

GetTokenCapacity is a free data retrieval call binding the contract method 0x8f3a981c.

Solidity: function getTokenCapacity(token address) constant returns(uint256)

func (*TRC21IssuerSession) MinCap

func (_TRC21Issuer *TRC21IssuerSession) MinCap() (*big.Int, error)

MinCap is a free data retrieval call binding the contract method 0x3fa615b0.

Solidity: function minCap() constant returns(uint256)

func (*TRC21IssuerSession) Tokens

func (_TRC21Issuer *TRC21IssuerSession) Tokens() ([]common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x9d63848a.

Solidity: function tokens() constant returns(address[])

type TRC21IssuerTransactor

type TRC21IssuerTransactor struct {
	// contains filtered or unexported fields
}

TRC21IssuerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTRC21IssuerTransactor

func NewTRC21IssuerTransactor(address common.Address, transactor bind.ContractTransactor) (*TRC21IssuerTransactor, error)

NewTRC21IssuerTransactor creates a new write-only instance of TRC21Issuer, bound to a specific deployed contract.

func (*TRC21IssuerTransactor) Apply

func (_TRC21Issuer *TRC21IssuerTransactor) Apply(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Apply is a paid mutator transaction binding the contract method 0xc6b32f34.

Solidity: function apply(token address) returns()

func (*TRC21IssuerTransactor) Charge

func (_TRC21Issuer *TRC21IssuerTransactor) Charge(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Charge is a paid mutator transaction binding the contract method 0xfc6bd76a.

Solidity: function charge(token address) returns()

type TRC21IssuerTransactorRaw

type TRC21IssuerTransactorRaw struct {
	Contract *TRC21IssuerTransactor // Generic write-only contract binding to access the raw methods on
}

TRC21IssuerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TRC21IssuerTransactorRaw) Transact

func (_TRC21Issuer *TRC21IssuerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TRC21IssuerTransactorRaw) Transfer

func (_TRC21Issuer *TRC21IssuerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TRC21IssuerTransactorSession

type TRC21IssuerTransactorSession struct {
	Contract     *TRC21IssuerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

TRC21IssuerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TRC21IssuerTransactorSession) Apply

func (_TRC21Issuer *TRC21IssuerTransactorSession) Apply(token common.Address) (*types.Transaction, error)

Apply is a paid mutator transaction binding the contract method 0xc6b32f34.

Solidity: function apply(token address) returns()

func (*TRC21IssuerTransactorSession) Charge

func (_TRC21Issuer *TRC21IssuerTransactorSession) Charge(token common.Address) (*types.Transaction, error)

Charge is a paid mutator transaction binding the contract method 0xfc6bd76a.

Solidity: function charge(token address) returns()

type TRC21Raw

type TRC21Raw struct {
	Contract *TRC21 // Generic contract binding to access the raw methods on
}

TRC21Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*TRC21Raw) Call

func (_TRC21 *TRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TRC21Raw) Transact

func (_TRC21 *TRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TRC21Raw) Transfer

func (_TRC21 *TRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TRC21Session

type TRC21Session struct {
	Contract     *TRC21            // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TRC21Session) Allowance

func (_TRC21 *TRC21Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*TRC21Session) Approve

func (_TRC21 *TRC21Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*TRC21Session) BalanceOf

func (_TRC21 *TRC21Session) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(owner address) constant returns(uint256)

func (*TRC21Session) EstimateFee

func (_TRC21 *TRC21Session) EstimateFee(value *big.Int) (*big.Int, error)

EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.

Solidity: function estimateFee(value uint256) constant returns(uint256)

func (*TRC21Session) Issuer

func (_TRC21 *TRC21Session) Issuer() (common.Address, error)

Issuer is a free data retrieval call binding the contract method 0x1d143848.

Solidity: function issuer() constant returns(address)

func (*TRC21Session) MinFee

func (_TRC21 *TRC21Session) MinFee() (*big.Int, error)

MinFee is a free data retrieval call binding the contract method 0x24ec7590.

Solidity: function minFee() constant returns(uint256)

func (*TRC21Session) TotalSupply

func (_TRC21 *TRC21Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*TRC21Session) Transfer

func (_TRC21 *TRC21Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*TRC21Session) TransferFrom

func (_TRC21 *TRC21Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type TRC21Transactor

type TRC21Transactor struct {
	// contains filtered or unexported fields
}

TRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTRC21Transactor

func NewTRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*TRC21Transactor, error)

NewTRC21Transactor creates a new write-only instance of TRC21, bound to a specific deployed contract.

func (*TRC21Transactor) Approve

func (_TRC21 *TRC21Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*TRC21Transactor) Transfer

func (_TRC21 *TRC21Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*TRC21Transactor) TransferFrom

func (_TRC21 *TRC21Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type TRC21TransactorRaw

type TRC21TransactorRaw struct {
	Contract *TRC21Transactor // Generic write-only contract binding to access the raw methods on
}

TRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TRC21TransactorRaw) Transact

func (_TRC21 *TRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TRC21TransactorRaw) Transfer

func (_TRC21 *TRC21TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TRC21TransactorSession

type TRC21TransactorSession struct {
	Contract     *TRC21Transactor  // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TRC21TransactorSession) Approve

func (_TRC21 *TRC21TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*TRC21TransactorSession) Transfer

func (_TRC21 *TRC21TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(to address, value uint256) returns(bool)

func (*TRC21TransactorSession) TransferFrom

func (_TRC21 *TRC21TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type TRC21Transfer

type TRC21Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

TRC21Transfer represents a Transfer event raised by the TRC21 contract.

type TRC21TransferIterator

type TRC21TransferIterator struct {
	Event *TRC21Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TRC21TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the TRC21 contract.

func (*TRC21TransferIterator) Close

func (it *TRC21TransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TRC21TransferIterator) Error

func (it *TRC21TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TRC21TransferIterator) Next

func (it *TRC21TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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