contract

package
v2.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 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 = "" /* 2692-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 = "" /* 3876-byte string literal not displayed */

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

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

MyTRC21Bin is the compiled bytecode used for deploying new contracts.

View Source
const RelayerRegistrationABI = "" /* 6747-byte string literal not displayed */

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

View Source
const RelayerRegistrationBin = `` /* 19346-byte string literal not displayed */

RelayerRegistrationBin is the compiled bytecode used for deploying new contracts.

View Source
const SafeMathABI = "[]"

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

View Source
const SafeMathBin = `` /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
const TOMOXListingABI = "" /* 578-byte string literal not displayed */

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

View Source
const TOMOXListingBin = `` /* 1336-byte string literal not displayed */

TOMOXListingBin 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 = `` /* 3506-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 = `` /* 2224-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) Issuer

func (_ITRC21 *ITRC21Caller) 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 (*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) Issuer

func (_ITRC21 *ITRC21CallerSession) Issuer() (common.Address, error)

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

Solidity: function issuer() constant returns(address)

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) Issuer

func (_ITRC21 *ITRC21Session) Issuer() (common.Address, error)

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

Solidity: function issuer() constant returns(address)

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) SetMinFee

func (_MyTRC21 *MyTRC21Session) SetMinFee(value *big.Int) (*types.Transaction, error)

SetMinFee is a paid mutator transaction binding the contract method 0x31ac9920.

Solidity: function setMinFee(value uint256) returns()

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) SetMinFee

func (_MyTRC21 *MyTRC21Transactor) SetMinFee(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

SetMinFee is a paid mutator transaction binding the contract method 0x31ac9920.

Solidity: function setMinFee(value uint256) returns()

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) SetMinFee

func (_MyTRC21 *MyTRC21TransactorSession) SetMinFee(value *big.Int) (*types.Transaction, error)

SetMinFee is a paid mutator transaction binding the contract method 0x31ac9920.

Solidity: function setMinFee(value uint256) returns()

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 RelayerRegistration

type RelayerRegistration struct {
	RelayerRegistrationCaller     // Read-only binding to the contract
	RelayerRegistrationTransactor // Write-only binding to the contract
	RelayerRegistrationFilterer   // Log filterer for contract events
}

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

func DeployRelayerRegistration

func DeployRelayerRegistration(auth *bind.TransactOpts, backend bind.ContractBackend, maxRelayers *big.Int, maxTokenList *big.Int, minDeposit *big.Int) (common.Address, *types.Transaction, *RelayerRegistration, error)

DeployRelayerRegistration deploys a new Ethereum contract, binding an instance of RelayerRegistration to it.

func NewRelayerRegistration

func NewRelayerRegistration(address common.Address, backend bind.ContractBackend) (*RelayerRegistration, error)

NewRelayerRegistration creates a new instance of RelayerRegistration, bound to a specific deployed contract.

type RelayerRegistrationBuyEvent

type RelayerRegistrationBuyEvent struct {
	Success  bool
	Coinbase common.Address
	Price    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

RelayerRegistrationBuyEvent represents a BuyEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationBuyEventIterator

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

RelayerRegistrationBuyEventIterator is returned from FilterBuyEvent and is used to iterate over the raw logs and unpacked data for BuyEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationBuyEventIterator) Close

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

func (*RelayerRegistrationBuyEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationBuyEventIterator) Next

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 RelayerRegistrationCaller

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

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

func NewRelayerRegistrationCaller

func NewRelayerRegistrationCaller(address common.Address, caller bind.ContractCaller) (*RelayerRegistrationCaller, error)

NewRelayerRegistrationCaller creates a new read-only instance of RelayerRegistration, bound to a specific deployed contract.

func (*RelayerRegistrationCaller) CONTRACTOWNER

func (_RelayerRegistration *RelayerRegistrationCaller) CONTRACTOWNER(opts *bind.CallOpts) (common.Address, error)

CONTRACTOWNER is a free data retrieval call binding the contract method 0xfd301c49.

Solidity: function CONTRACT_OWNER() constant returns(address)

func (*RelayerRegistrationCaller) GetRelayerByCoinbase

func (_RelayerRegistration *RelayerRegistrationCaller) GetRelayerByCoinbase(opts *bind.CallOpts, coinbase common.Address) (*big.Int, common.Address, *big.Int, uint16, []common.Address, []common.Address, error)

GetRelayerByCoinbase is a free data retrieval call binding the contract method 0x540105c7.

Solidity: function getRelayerByCoinbase(coinbase address) constant returns(uint256, address, uint256, uint16, address[], address[])

func (*RelayerRegistrationCaller) MaximumRelayers

func (_RelayerRegistration *RelayerRegistrationCaller) MaximumRelayers(opts *bind.CallOpts) (*big.Int, error)

MaximumRelayers is a free data retrieval call binding the contract method 0x0e5c0fee.

Solidity: function MaximumRelayers() constant returns(uint256)

func (*RelayerRegistrationCaller) MaximumTokenList

func (_RelayerRegistration *RelayerRegistrationCaller) MaximumTokenList(opts *bind.CallOpts) (*big.Int, error)

MaximumTokenList is a free data retrieval call binding the contract method 0xcfaece12.

Solidity: function MaximumTokenList() constant returns(uint256)

func (*RelayerRegistrationCaller) MinimumDeposit

func (_RelayerRegistration *RelayerRegistrationCaller) MinimumDeposit(opts *bind.CallOpts) (*big.Int, error)

MinimumDeposit is a free data retrieval call binding the contract method 0xc635a9f2.

Solidity: function MinimumDeposit() constant returns(uint256)

func (*RelayerRegistrationCaller) RELAYERCOINBASES

func (_RelayerRegistration *RelayerRegistrationCaller) RELAYERCOINBASES(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

RELAYERCOINBASES is a free data retrieval call binding the contract method 0x4fa33927.

Solidity: function RELAYER_COINBASES( uint256) constant returns(address)

func (*RelayerRegistrationCaller) RELAYERONSALELIST

func (_RelayerRegistration *RelayerRegistrationCaller) RELAYERONSALELIST(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RELAYERONSALELIST is a free data retrieval call binding the contract method 0x885b7137.

Solidity: function RELAYER_ON_SALE_LIST( address) constant returns(uint256)

func (*RelayerRegistrationCaller) RelayerCount

func (_RelayerRegistration *RelayerRegistrationCaller) RelayerCount(opts *bind.CallOpts) (*big.Int, error)

RelayerCount is a free data retrieval call binding the contract method 0x87d340ab.

Solidity: function RelayerCount() constant returns(uint256)

type RelayerRegistrationCallerRaw

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

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

func (*RelayerRegistrationCallerRaw) Call

func (_RelayerRegistration *RelayerRegistrationCallerRaw) 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 RelayerRegistrationCallerSession

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

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

func (*RelayerRegistrationCallerSession) CONTRACTOWNER

func (_RelayerRegistration *RelayerRegistrationCallerSession) CONTRACTOWNER() (common.Address, error)

CONTRACTOWNER is a free data retrieval call binding the contract method 0xfd301c49.

Solidity: function CONTRACT_OWNER() constant returns(address)

func (*RelayerRegistrationCallerSession) GetRelayerByCoinbase

func (_RelayerRegistration *RelayerRegistrationCallerSession) GetRelayerByCoinbase(coinbase common.Address) (*big.Int, common.Address, *big.Int, uint16, []common.Address, []common.Address, error)

GetRelayerByCoinbase is a free data retrieval call binding the contract method 0x540105c7.

Solidity: function getRelayerByCoinbase(coinbase address) constant returns(uint256, address, uint256, uint16, address[], address[])

func (*RelayerRegistrationCallerSession) MaximumRelayers

func (_RelayerRegistration *RelayerRegistrationCallerSession) MaximumRelayers() (*big.Int, error)

MaximumRelayers is a free data retrieval call binding the contract method 0x0e5c0fee.

Solidity: function MaximumRelayers() constant returns(uint256)

func (*RelayerRegistrationCallerSession) MaximumTokenList

func (_RelayerRegistration *RelayerRegistrationCallerSession) MaximumTokenList() (*big.Int, error)

MaximumTokenList is a free data retrieval call binding the contract method 0xcfaece12.

Solidity: function MaximumTokenList() constant returns(uint256)

func (*RelayerRegistrationCallerSession) MinimumDeposit

func (_RelayerRegistration *RelayerRegistrationCallerSession) MinimumDeposit() (*big.Int, error)

MinimumDeposit is a free data retrieval call binding the contract method 0xc635a9f2.

Solidity: function MinimumDeposit() constant returns(uint256)

func (*RelayerRegistrationCallerSession) RELAYERCOINBASES

func (_RelayerRegistration *RelayerRegistrationCallerSession) RELAYERCOINBASES(arg0 *big.Int) (common.Address, error)

RELAYERCOINBASES is a free data retrieval call binding the contract method 0x4fa33927.

Solidity: function RELAYER_COINBASES( uint256) constant returns(address)

func (*RelayerRegistrationCallerSession) RELAYERONSALELIST

func (_RelayerRegistration *RelayerRegistrationCallerSession) RELAYERONSALELIST(arg0 common.Address) (*big.Int, error)

RELAYERONSALELIST is a free data retrieval call binding the contract method 0x885b7137.

Solidity: function RELAYER_ON_SALE_LIST( address) constant returns(uint256)

func (*RelayerRegistrationCallerSession) RelayerCount

func (_RelayerRegistration *RelayerRegistrationCallerSession) RelayerCount() (*big.Int, error)

RelayerCount is a free data retrieval call binding the contract method 0x87d340ab.

Solidity: function RelayerCount() constant returns(uint256)

type RelayerRegistrationConfigEvent

type RelayerRegistrationConfigEvent struct {
	MaxRelayer *big.Int
	MaxToken   *big.Int
	MinDeposit *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

RelayerRegistrationConfigEvent represents a ConfigEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationConfigEventIterator

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

RelayerRegistrationConfigEventIterator is returned from FilterConfigEvent and is used to iterate over the raw logs and unpacked data for ConfigEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationConfigEventIterator) Close

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

func (*RelayerRegistrationConfigEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationConfigEventIterator) Next

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 RelayerRegistrationFilterer

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

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

func NewRelayerRegistrationFilterer

func NewRelayerRegistrationFilterer(address common.Address, filterer bind.ContractFilterer) (*RelayerRegistrationFilterer, error)

NewRelayerRegistrationFilterer creates a new log filterer instance of RelayerRegistration, bound to a specific deployed contract.

func (*RelayerRegistrationFilterer) FilterBuyEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterBuyEvent(opts *bind.FilterOpts) (*RelayerRegistrationBuyEventIterator, error)

FilterBuyEvent is a free log retrieval operation binding the contract event 0x07e248a3b3d2184a9491c3b45089a6e15aac742b9d974e691e7beb0f6e7c58c6.

Solidity: event BuyEvent(success bool, coinbase address, price uint256)

func (*RelayerRegistrationFilterer) FilterConfigEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterConfigEvent(opts *bind.FilterOpts) (*RelayerRegistrationConfigEventIterator, error)

FilterConfigEvent is a free log retrieval operation binding the contract event 0x8f6bd709a98381db4e403a67ba106d598972dad177e946f19b54777f54d93923.

Solidity: event ConfigEvent(max_relayer uint256, max_token uint256, min_deposit uint256)

func (*RelayerRegistrationFilterer) FilterRefundEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterRefundEvent(opts *bind.FilterOpts) (*RelayerRegistrationRefundEventIterator, error)

FilterRefundEvent is a free log retrieval operation binding the contract event 0xfaba1aac53309af4c1c439f38c29500d3828405ee1ca5e7641b0432d17d30250.

Solidity: event RefundEvent(success bool, remaining_time uint256, deposit_amount uint256)

func (*RelayerRegistrationFilterer) FilterRegisterEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterRegisterEvent(opts *bind.FilterOpts) (*RelayerRegistrationRegisterEventIterator, error)

FilterRegisterEvent is a free log retrieval operation binding the contract event 0xcf24380d990b0bb3dd21518926bca48f81495ac131ee92655696db28c43b1b1b.

Solidity: event RegisterEvent(deposit uint256, tradeFee uint16, fromTokens address[], toTokens address[])

func (*RelayerRegistrationFilterer) FilterResignEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterResignEvent(opts *bind.FilterOpts) (*RelayerRegistrationResignEventIterator, error)

FilterResignEvent is a free log retrieval operation binding the contract event 0x2e821a4329d6351a6b13fe0c12fd7674cd0f4a2283685a4713e1325f36415ae5.

Solidity: event ResignEvent(deposit_release_time uint256, deposit_amount uint256)

func (*RelayerRegistrationFilterer) FilterSellEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterSellEvent(opts *bind.FilterOpts) (*RelayerRegistrationSellEventIterator, error)

FilterSellEvent is a free log retrieval operation binding the contract event 0xdb3d5e65fcde89731529c01d62b87bab1c64471cffdd528fc1adbc1712b5d082.

Solidity: event SellEvent(is_on_sale bool, coinbase address, price uint256)

func (*RelayerRegistrationFilterer) FilterTransferEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterTransferEvent(opts *bind.FilterOpts) (*RelayerRegistrationTransferEventIterator, error)

FilterTransferEvent is a free log retrieval operation binding the contract event 0xc13ab794f75ba420a1f52192a8e35a2cf2c74ae31ed94f53f47ce7712011b662.

Solidity: event TransferEvent(owner address, deposit uint256, tradeFee uint16, fromTokens address[], toTokens address[])

func (*RelayerRegistrationFilterer) FilterUpdateEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterUpdateEvent(opts *bind.FilterOpts) (*RelayerRegistrationUpdateEventIterator, error)

FilterUpdateEvent is a free log retrieval operation binding the contract event 0xcaa8c94daf6ecfd00518cea95158f5273730574cca907eb0cd47e50732314c4f.

Solidity: event UpdateEvent(deposit uint256, tradeFee uint16, fromTokens address[], toTokens address[])

func (*RelayerRegistrationFilterer) WatchBuyEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchBuyEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationBuyEvent) (event.Subscription, error)

WatchBuyEvent is a free log subscription operation binding the contract event 0x07e248a3b3d2184a9491c3b45089a6e15aac742b9d974e691e7beb0f6e7c58c6.

Solidity: event BuyEvent(success bool, coinbase address, price uint256)

func (*RelayerRegistrationFilterer) WatchConfigEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchConfigEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationConfigEvent) (event.Subscription, error)

WatchConfigEvent is a free log subscription operation binding the contract event 0x8f6bd709a98381db4e403a67ba106d598972dad177e946f19b54777f54d93923.

Solidity: event ConfigEvent(max_relayer uint256, max_token uint256, min_deposit uint256)

func (*RelayerRegistrationFilterer) WatchRefundEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchRefundEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationRefundEvent) (event.Subscription, error)

WatchRefundEvent is a free log subscription operation binding the contract event 0xfaba1aac53309af4c1c439f38c29500d3828405ee1ca5e7641b0432d17d30250.

Solidity: event RefundEvent(success bool, remaining_time uint256, deposit_amount uint256)

func (*RelayerRegistrationFilterer) WatchRegisterEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchRegisterEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationRegisterEvent) (event.Subscription, error)

WatchRegisterEvent is a free log subscription operation binding the contract event 0xcf24380d990b0bb3dd21518926bca48f81495ac131ee92655696db28c43b1b1b.

Solidity: event RegisterEvent(deposit uint256, tradeFee uint16, fromTokens address[], toTokens address[])

func (*RelayerRegistrationFilterer) WatchResignEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchResignEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationResignEvent) (event.Subscription, error)

WatchResignEvent is a free log subscription operation binding the contract event 0x2e821a4329d6351a6b13fe0c12fd7674cd0f4a2283685a4713e1325f36415ae5.

Solidity: event ResignEvent(deposit_release_time uint256, deposit_amount uint256)

func (*RelayerRegistrationFilterer) WatchSellEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchSellEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationSellEvent) (event.Subscription, error)

WatchSellEvent is a free log subscription operation binding the contract event 0xdb3d5e65fcde89731529c01d62b87bab1c64471cffdd528fc1adbc1712b5d082.

Solidity: event SellEvent(is_on_sale bool, coinbase address, price uint256)

func (*RelayerRegistrationFilterer) WatchTransferEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchTransferEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationTransferEvent) (event.Subscription, error)

WatchTransferEvent is a free log subscription operation binding the contract event 0xc13ab794f75ba420a1f52192a8e35a2cf2c74ae31ed94f53f47ce7712011b662.

Solidity: event TransferEvent(owner address, deposit uint256, tradeFee uint16, fromTokens address[], toTokens address[])

func (*RelayerRegistrationFilterer) WatchUpdateEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) WatchUpdateEvent(opts *bind.WatchOpts, sink chan<- *RelayerRegistrationUpdateEvent) (event.Subscription, error)

WatchUpdateEvent is a free log subscription operation binding the contract event 0xcaa8c94daf6ecfd00518cea95158f5273730574cca907eb0cd47e50732314c4f.

Solidity: event UpdateEvent(deposit uint256, tradeFee uint16, fromTokens address[], toTokens address[])

type RelayerRegistrationRaw

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

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

func (*RelayerRegistrationRaw) Call

func (_RelayerRegistration *RelayerRegistrationRaw) 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 (*RelayerRegistrationRaw) Transact

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

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

func (*RelayerRegistrationRaw) Transfer

func (_RelayerRegistration *RelayerRegistrationRaw) 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 RelayerRegistrationRefundEvent

type RelayerRegistrationRefundEvent struct {
	Success       bool
	RemainingTime *big.Int
	DepositAmount *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

RelayerRegistrationRefundEvent represents a RefundEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationRefundEventIterator

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

RelayerRegistrationRefundEventIterator is returned from FilterRefundEvent and is used to iterate over the raw logs and unpacked data for RefundEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationRefundEventIterator) Close

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

func (*RelayerRegistrationRefundEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationRefundEventIterator) Next

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 RelayerRegistrationRegisterEvent

type RelayerRegistrationRegisterEvent struct {
	Deposit    *big.Int
	TradeFee   uint16
	FromTokens []common.Address
	ToTokens   []common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

RelayerRegistrationRegisterEvent represents a RegisterEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationRegisterEventIterator

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

RelayerRegistrationRegisterEventIterator is returned from FilterRegisterEvent and is used to iterate over the raw logs and unpacked data for RegisterEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationRegisterEventIterator) Close

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

func (*RelayerRegistrationRegisterEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationRegisterEventIterator) Next

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 RelayerRegistrationResignEvent

type RelayerRegistrationResignEvent struct {
	DepositReleaseTime *big.Int
	DepositAmount      *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

RelayerRegistrationResignEvent represents a ResignEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationResignEventIterator

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

RelayerRegistrationResignEventIterator is returned from FilterResignEvent and is used to iterate over the raw logs and unpacked data for ResignEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationResignEventIterator) Close

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

func (*RelayerRegistrationResignEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationResignEventIterator) Next

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 RelayerRegistrationSellEvent

type RelayerRegistrationSellEvent struct {
	IsOnSale bool
	Coinbase common.Address
	Price    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

RelayerRegistrationSellEvent represents a SellEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationSellEventIterator

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

RelayerRegistrationSellEventIterator is returned from FilterSellEvent and is used to iterate over the raw logs and unpacked data for SellEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationSellEventIterator) Close

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

func (*RelayerRegistrationSellEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationSellEventIterator) Next

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 RelayerRegistrationSession

type RelayerRegistrationSession struct {
	Contract     *RelayerRegistration // 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
}

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

func (*RelayerRegistrationSession) BuyRelayer

func (_RelayerRegistration *RelayerRegistrationSession) BuyRelayer(coinbase common.Address) (*types.Transaction, error)

BuyRelayer is a paid mutator transaction binding the contract method 0xe699df0e.

Solidity: function buyRelayer(coinbase address) returns()

func (*RelayerRegistrationSession) CONTRACTOWNER

func (_RelayerRegistration *RelayerRegistrationSession) CONTRACTOWNER() (common.Address, error)

CONTRACTOWNER is a free data retrieval call binding the contract method 0xfd301c49.

Solidity: function CONTRACT_OWNER() constant returns(address)

func (*RelayerRegistrationSession) CancelSelling

func (_RelayerRegistration *RelayerRegistrationSession) CancelSelling(coinbase common.Address) (*types.Transaction, error)

CancelSelling is a paid mutator transaction binding the contract method 0x5b673b1f.

Solidity: function cancelSelling(coinbase address) returns()

func (*RelayerRegistrationSession) DepositMore

func (_RelayerRegistration *RelayerRegistrationSession) DepositMore(coinbase common.Address) (*types.Transaction, error)

DepositMore is a paid mutator transaction binding the contract method 0x4ce69bf5.

Solidity: function depositMore(coinbase address) returns()

func (*RelayerRegistrationSession) GetRelayerByCoinbase

func (_RelayerRegistration *RelayerRegistrationSession) GetRelayerByCoinbase(coinbase common.Address) (*big.Int, common.Address, *big.Int, uint16, []common.Address, []common.Address, error)

GetRelayerByCoinbase is a free data retrieval call binding the contract method 0x540105c7.

Solidity: function getRelayerByCoinbase(coinbase address) constant returns(uint256, address, uint256, uint16, address[], address[])

func (*RelayerRegistrationSession) MaximumRelayers

func (_RelayerRegistration *RelayerRegistrationSession) MaximumRelayers() (*big.Int, error)

MaximumRelayers is a free data retrieval call binding the contract method 0x0e5c0fee.

Solidity: function MaximumRelayers() constant returns(uint256)

func (*RelayerRegistrationSession) MaximumTokenList

func (_RelayerRegistration *RelayerRegistrationSession) MaximumTokenList() (*big.Int, error)

MaximumTokenList is a free data retrieval call binding the contract method 0xcfaece12.

Solidity: function MaximumTokenList() constant returns(uint256)

func (*RelayerRegistrationSession) MinimumDeposit

func (_RelayerRegistration *RelayerRegistrationSession) MinimumDeposit() (*big.Int, error)

MinimumDeposit is a free data retrieval call binding the contract method 0xc635a9f2.

Solidity: function MinimumDeposit() constant returns(uint256)

func (*RelayerRegistrationSession) RELAYERCOINBASES

func (_RelayerRegistration *RelayerRegistrationSession) RELAYERCOINBASES(arg0 *big.Int) (common.Address, error)

RELAYERCOINBASES is a free data retrieval call binding the contract method 0x4fa33927.

Solidity: function RELAYER_COINBASES( uint256) constant returns(address)

func (*RelayerRegistrationSession) RELAYERONSALELIST

func (_RelayerRegistration *RelayerRegistrationSession) RELAYERONSALELIST(arg0 common.Address) (*big.Int, error)

RELAYERONSALELIST is a free data retrieval call binding the contract method 0x885b7137.

Solidity: function RELAYER_ON_SALE_LIST( address) constant returns(uint256)

func (*RelayerRegistrationSession) Reconfigure

func (_RelayerRegistration *RelayerRegistrationSession) Reconfigure(maxRelayer *big.Int, maxToken *big.Int, minDeposit *big.Int) (*types.Transaction, error)

Reconfigure is a paid mutator transaction binding the contract method 0x57ea3c41.

Solidity: function reconfigure(maxRelayer uint256, maxToken uint256, minDeposit uint256) returns()

func (*RelayerRegistrationSession) Refund

func (_RelayerRegistration *RelayerRegistrationSession) Refund(coinbase common.Address) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0xfa89401a.

Solidity: function refund(coinbase address) returns()

func (*RelayerRegistrationSession) Register

func (_RelayerRegistration *RelayerRegistrationSession) Register(coinbase common.Address, tradeFee uint16, fromTokens []common.Address, toTokens []common.Address) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xc6c71aed.

Solidity: function register(coinbase address, tradeFee uint16, fromTokens address[], toTokens address[]) returns()

func (*RelayerRegistrationSession) RelayerCount

func (_RelayerRegistration *RelayerRegistrationSession) RelayerCount() (*big.Int, error)

RelayerCount is a free data retrieval call binding the contract method 0x87d340ab.

Solidity: function RelayerCount() constant returns(uint256)

func (*RelayerRegistrationSession) Resign

func (_RelayerRegistration *RelayerRegistrationSession) Resign(coinbase common.Address) (*types.Transaction, error)

Resign is a paid mutator transaction binding the contract method 0xae6e43f5.

Solidity: function resign(coinbase address) returns()

func (*RelayerRegistrationSession) SellRelayer

func (_RelayerRegistration *RelayerRegistrationSession) SellRelayer(coinbase common.Address, price *big.Int) (*types.Transaction, error)

SellRelayer is a paid mutator transaction binding the contract method 0x87c6bbcd.

Solidity: function sellRelayer(coinbase address, price uint256) returns()

func (*RelayerRegistrationSession) Transfer

func (_RelayerRegistration *RelayerRegistrationSession) Transfer(coinbase common.Address, new_owner common.Address) (*types.Transaction, error)

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

Solidity: function transfer(coinbase address, new_owner address) returns()

func (*RelayerRegistrationSession) Update

func (_RelayerRegistration *RelayerRegistrationSession) Update(coinbase common.Address, tradeFee uint16, fromTokens []common.Address, toTokens []common.Address) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x56246b68.

Solidity: function update(coinbase address, tradeFee uint16, fromTokens address[], toTokens address[]) returns()

type RelayerRegistrationTransactor

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

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

func NewRelayerRegistrationTransactor

func NewRelayerRegistrationTransactor(address common.Address, transactor bind.ContractTransactor) (*RelayerRegistrationTransactor, error)

NewRelayerRegistrationTransactor creates a new write-only instance of RelayerRegistration, bound to a specific deployed contract.

func (*RelayerRegistrationTransactor) BuyRelayer

func (_RelayerRegistration *RelayerRegistrationTransactor) BuyRelayer(opts *bind.TransactOpts, coinbase common.Address) (*types.Transaction, error)

BuyRelayer is a paid mutator transaction binding the contract method 0xe699df0e.

Solidity: function buyRelayer(coinbase address) returns()

func (*RelayerRegistrationTransactor) CancelSelling

func (_RelayerRegistration *RelayerRegistrationTransactor) CancelSelling(opts *bind.TransactOpts, coinbase common.Address) (*types.Transaction, error)

CancelSelling is a paid mutator transaction binding the contract method 0x5b673b1f.

Solidity: function cancelSelling(coinbase address) returns()

func (*RelayerRegistrationTransactor) DepositMore

func (_RelayerRegistration *RelayerRegistrationTransactor) DepositMore(opts *bind.TransactOpts, coinbase common.Address) (*types.Transaction, error)

DepositMore is a paid mutator transaction binding the contract method 0x4ce69bf5.

Solidity: function depositMore(coinbase address) returns()

func (*RelayerRegistrationTransactor) Reconfigure

func (_RelayerRegistration *RelayerRegistrationTransactor) Reconfigure(opts *bind.TransactOpts, maxRelayer *big.Int, maxToken *big.Int, minDeposit *big.Int) (*types.Transaction, error)

Reconfigure is a paid mutator transaction binding the contract method 0x57ea3c41.

Solidity: function reconfigure(maxRelayer uint256, maxToken uint256, minDeposit uint256) returns()

func (*RelayerRegistrationTransactor) Refund

func (_RelayerRegistration *RelayerRegistrationTransactor) Refund(opts *bind.TransactOpts, coinbase common.Address) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0xfa89401a.

Solidity: function refund(coinbase address) returns()

func (*RelayerRegistrationTransactor) Register

func (_RelayerRegistration *RelayerRegistrationTransactor) Register(opts *bind.TransactOpts, coinbase common.Address, tradeFee uint16, fromTokens []common.Address, toTokens []common.Address) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xc6c71aed.

Solidity: function register(coinbase address, tradeFee uint16, fromTokens address[], toTokens address[]) returns()

func (*RelayerRegistrationTransactor) Resign

func (_RelayerRegistration *RelayerRegistrationTransactor) Resign(opts *bind.TransactOpts, coinbase common.Address) (*types.Transaction, error)

Resign is a paid mutator transaction binding the contract method 0xae6e43f5.

Solidity: function resign(coinbase address) returns()

func (*RelayerRegistrationTransactor) SellRelayer

func (_RelayerRegistration *RelayerRegistrationTransactor) SellRelayer(opts *bind.TransactOpts, coinbase common.Address, price *big.Int) (*types.Transaction, error)

SellRelayer is a paid mutator transaction binding the contract method 0x87c6bbcd.

Solidity: function sellRelayer(coinbase address, price uint256) returns()

func (*RelayerRegistrationTransactor) Transfer

func (_RelayerRegistration *RelayerRegistrationTransactor) Transfer(opts *bind.TransactOpts, coinbase common.Address, new_owner common.Address) (*types.Transaction, error)

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

Solidity: function transfer(coinbase address, new_owner address) returns()

func (*RelayerRegistrationTransactor) Update

func (_RelayerRegistration *RelayerRegistrationTransactor) Update(opts *bind.TransactOpts, coinbase common.Address, tradeFee uint16, fromTokens []common.Address, toTokens []common.Address) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x56246b68.

Solidity: function update(coinbase address, tradeFee uint16, fromTokens address[], toTokens address[]) returns()

type RelayerRegistrationTransactorRaw

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

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

func (*RelayerRegistrationTransactorRaw) Transact

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

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

func (*RelayerRegistrationTransactorRaw) Transfer

func (_RelayerRegistration *RelayerRegistrationTransactorRaw) 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 RelayerRegistrationTransactorSession

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

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

func (*RelayerRegistrationTransactorSession) BuyRelayer

func (_RelayerRegistration *RelayerRegistrationTransactorSession) BuyRelayer(coinbase common.Address) (*types.Transaction, error)

BuyRelayer is a paid mutator transaction binding the contract method 0xe699df0e.

Solidity: function buyRelayer(coinbase address) returns()

func (*RelayerRegistrationTransactorSession) CancelSelling

func (_RelayerRegistration *RelayerRegistrationTransactorSession) CancelSelling(coinbase common.Address) (*types.Transaction, error)

CancelSelling is a paid mutator transaction binding the contract method 0x5b673b1f.

Solidity: function cancelSelling(coinbase address) returns()

func (*RelayerRegistrationTransactorSession) DepositMore

func (_RelayerRegistration *RelayerRegistrationTransactorSession) DepositMore(coinbase common.Address) (*types.Transaction, error)

DepositMore is a paid mutator transaction binding the contract method 0x4ce69bf5.

Solidity: function depositMore(coinbase address) returns()

func (*RelayerRegistrationTransactorSession) Reconfigure

func (_RelayerRegistration *RelayerRegistrationTransactorSession) Reconfigure(maxRelayer *big.Int, maxToken *big.Int, minDeposit *big.Int) (*types.Transaction, error)

Reconfigure is a paid mutator transaction binding the contract method 0x57ea3c41.

Solidity: function reconfigure(maxRelayer uint256, maxToken uint256, minDeposit uint256) returns()

func (*RelayerRegistrationTransactorSession) Refund

func (_RelayerRegistration *RelayerRegistrationTransactorSession) Refund(coinbase common.Address) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0xfa89401a.

Solidity: function refund(coinbase address) returns()

func (*RelayerRegistrationTransactorSession) Register

func (_RelayerRegistration *RelayerRegistrationTransactorSession) Register(coinbase common.Address, tradeFee uint16, fromTokens []common.Address, toTokens []common.Address) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xc6c71aed.

Solidity: function register(coinbase address, tradeFee uint16, fromTokens address[], toTokens address[]) returns()

func (*RelayerRegistrationTransactorSession) Resign

func (_RelayerRegistration *RelayerRegistrationTransactorSession) Resign(coinbase common.Address) (*types.Transaction, error)

Resign is a paid mutator transaction binding the contract method 0xae6e43f5.

Solidity: function resign(coinbase address) returns()

func (*RelayerRegistrationTransactorSession) SellRelayer

func (_RelayerRegistration *RelayerRegistrationTransactorSession) SellRelayer(coinbase common.Address, price *big.Int) (*types.Transaction, error)

SellRelayer is a paid mutator transaction binding the contract method 0x87c6bbcd.

Solidity: function sellRelayer(coinbase address, price uint256) returns()

func (*RelayerRegistrationTransactorSession) Transfer

func (_RelayerRegistration *RelayerRegistrationTransactorSession) Transfer(coinbase common.Address, new_owner common.Address) (*types.Transaction, error)

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

Solidity: function transfer(coinbase address, new_owner address) returns()

func (*RelayerRegistrationTransactorSession) Update

func (_RelayerRegistration *RelayerRegistrationTransactorSession) Update(coinbase common.Address, tradeFee uint16, fromTokens []common.Address, toTokens []common.Address) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x56246b68.

Solidity: function update(coinbase address, tradeFee uint16, fromTokens address[], toTokens address[]) returns()

type RelayerRegistrationTransferEvent

type RelayerRegistrationTransferEvent struct {
	Owner      common.Address
	Deposit    *big.Int
	TradeFee   uint16
	FromTokens []common.Address
	ToTokens   []common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

RelayerRegistrationTransferEvent represents a TransferEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationTransferEventIterator

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

RelayerRegistrationTransferEventIterator is returned from FilterTransferEvent and is used to iterate over the raw logs and unpacked data for TransferEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationTransferEventIterator) Close

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

func (*RelayerRegistrationTransferEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationTransferEventIterator) Next

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 RelayerRegistrationUpdateEvent

type RelayerRegistrationUpdateEvent struct {
	Deposit    *big.Int
	TradeFee   uint16
	FromTokens []common.Address
	ToTokens   []common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

RelayerRegistrationUpdateEvent represents a UpdateEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationUpdateEventIterator

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

RelayerRegistrationUpdateEventIterator is returned from FilterUpdateEvent and is used to iterate over the raw logs and unpacked data for UpdateEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationUpdateEventIterator) Close

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

func (*RelayerRegistrationUpdateEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationUpdateEventIterator) Next

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 SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

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

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

type TOMOXListing

type TOMOXListing struct {
	TOMOXListingCaller     // Read-only binding to the contract
	TOMOXListingTransactor // Write-only binding to the contract
	TOMOXListingFilterer   // Log filterer for contract events
}

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

func DeployTOMOXListing

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

DeployTOMOXListing deploys a new Ethereum contract, binding an instance of TOMOXListing to it.

func NewTOMOXListing

func NewTOMOXListing(address common.Address, backend bind.ContractBackend) (*TOMOXListing, error)

NewTOMOXListing creates a new instance of TOMOXListing, bound to a specific deployed contract.

type TOMOXListingCaller

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

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

func NewTOMOXListingCaller

func NewTOMOXListingCaller(address common.Address, caller bind.ContractCaller) (*TOMOXListingCaller, error)

NewTOMOXListingCaller creates a new read-only instance of TOMOXListing, bound to a specific deployed contract.

func (*TOMOXListingCaller) GetTokenStatus

func (_TOMOXListing *TOMOXListingCaller) GetTokenStatus(opts *bind.CallOpts, token common.Address) (bool, error)

GetTokenStatus is a free data retrieval call binding the contract method 0xa3ff31b5.

Solidity: function getTokenStatus(token address) constant returns(bool)

func (*TOMOXListingCaller) Tokens

func (_TOMOXListing *TOMOXListingCaller) 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 TOMOXListingCallerRaw

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

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

func (*TOMOXListingCallerRaw) Call

func (_TOMOXListing *TOMOXListingCallerRaw) 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 TOMOXListingCallerSession

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

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

func (*TOMOXListingCallerSession) GetTokenStatus

func (_TOMOXListing *TOMOXListingCallerSession) GetTokenStatus(token common.Address) (bool, error)

GetTokenStatus is a free data retrieval call binding the contract method 0xa3ff31b5.

Solidity: function getTokenStatus(token address) constant returns(bool)

func (*TOMOXListingCallerSession) Tokens

func (_TOMOXListing *TOMOXListingCallerSession) Tokens() ([]common.Address, error)

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

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

type TOMOXListingFilterer

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

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

func NewTOMOXListingFilterer

func NewTOMOXListingFilterer(address common.Address, filterer bind.ContractFilterer) (*TOMOXListingFilterer, error)

NewTOMOXListingFilterer creates a new log filterer instance of TOMOXListing, bound to a specific deployed contract.

type TOMOXListingRaw

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

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

func (*TOMOXListingRaw) Call

func (_TOMOXListing *TOMOXListingRaw) 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 (*TOMOXListingRaw) Transact

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

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

func (*TOMOXListingRaw) Transfer

func (_TOMOXListing *TOMOXListingRaw) 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 TOMOXListingSession

type TOMOXListingSession struct {
	Contract     *TOMOXListing     // 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
}

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

func (*TOMOXListingSession) Apply

func (_TOMOXListing *TOMOXListingSession) 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 (*TOMOXListingSession) GetTokenStatus

func (_TOMOXListing *TOMOXListingSession) GetTokenStatus(token common.Address) (bool, error)

GetTokenStatus is a free data retrieval call binding the contract method 0xa3ff31b5.

Solidity: function getTokenStatus(token address) constant returns(bool)

func (*TOMOXListingSession) Tokens

func (_TOMOXListing *TOMOXListingSession) Tokens() ([]common.Address, error)

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

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

type TOMOXListingTransactor

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

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

func NewTOMOXListingTransactor

func NewTOMOXListingTransactor(address common.Address, transactor bind.ContractTransactor) (*TOMOXListingTransactor, error)

NewTOMOXListingTransactor creates a new write-only instance of TOMOXListing, bound to a specific deployed contract.

func (*TOMOXListingTransactor) Apply

func (_TOMOXListing *TOMOXListingTransactor) 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()

type TOMOXListingTransactorRaw

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

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

func (*TOMOXListingTransactorRaw) Transact

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

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

func (*TOMOXListingTransactorRaw) Transfer

func (_TOMOXListing *TOMOXListingTransactorRaw) 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 TOMOXListingTransactorSession

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

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

func (*TOMOXListingTransactorSession) Apply

func (_TOMOXListing *TOMOXListingTransactorSession) Apply(token common.Address) (*types.Transaction, error)

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

Solidity: function apply(token address) returns()

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