contract

package
v1.4.9-beta Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: GPL-3.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 AbstractXDCXListingABI = "" /* 216-byte string literal not displayed */

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

View Source
const AbstractXDCXListingBin = `0x`

AbstractXDCXListingBin is the compiled bytecode used for deploying new contracts.

View Source
const ITRC21ABI = "" /* 2866-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 LAbstractRegistrationABI = "" /* 632-byte string literal not displayed */

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

View Source
const LAbstractRegistrationBin = `0x`

LAbstractRegistrationBin is the compiled bytecode used for deploying new contracts.

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

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

View Source
const LAbstractTokenTRC21Bin = `0x`

LAbstractTokenTRC21Bin is the compiled bytecode used for deploying new contracts.

View Source
const LAbstractXDCXListingABI = "" /* 216-byte string literal not displayed */

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

View Source
const LAbstractXDCXListingBin = `0x`

LAbstractXDCXListingBin is the compiled bytecode used for deploying new contracts.

View Source
const LendingABI = "" /* 5336-byte string literal not displayed */

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

View Source
const LendingBin = `` /* 18884-byte string literal not displayed */

LendingBin is the compiled bytecode used for deploying new contracts.

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

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

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

MyTRC21Bin is the compiled bytecode used for deploying new contracts.

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

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

View Source
const RelayerRegistrationBin = `` /* 31316-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 TRC21ABI = "" /* 3793-byte string literal not displayed */

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

View Source
const TRC21Bin = `` /* 5210-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.

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

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

View Source
const XDCXListingBin = `` /* 1470-byte string literal not displayed */

XDCXListingBin 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 AbstractXDCXListing

type AbstractXDCXListing struct {
	AbstractXDCXListingCaller     // Read-only binding to the contract
	AbstractXDCXListingTransactor // Write-only binding to the contract
	AbstractXDCXListingFilterer   // Log filterer for contract events
}

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

func DeployAbstractXDCXListing

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

DeployAbstractXDCXListing deploys a new Ethereum contract, binding an instance of AbstractXDCXListing to it.

func NewAbstractXDCXListing

func NewAbstractXDCXListing(address common.Address, backend bind.ContractBackend) (*AbstractXDCXListing, error)

NewAbstractXDCXListing creates a new instance of AbstractXDCXListing, bound to a specific deployed contract.

type AbstractXDCXListingCaller

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

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

func NewAbstractXDCXListingCaller

func NewAbstractXDCXListingCaller(address common.Address, caller bind.ContractCaller) (*AbstractXDCXListingCaller, error)

NewAbstractXDCXListingCaller creates a new read-only instance of AbstractXDCXListing, bound to a specific deployed contract.

func (*AbstractXDCXListingCaller) GetTokenStatus

func (_AbstractXDCXListing *AbstractXDCXListingCaller) GetTokenStatus(opts *bind.CallOpts, arg0 common.Address) (bool, error)

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

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

type AbstractXDCXListingCallerRaw

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

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

func (*AbstractXDCXListingCallerRaw) Call

func (_AbstractXDCXListing *AbstractXDCXListingCallerRaw) 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 AbstractXDCXListingCallerSession

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

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

func (*AbstractXDCXListingCallerSession) GetTokenStatus

func (_AbstractXDCXListing *AbstractXDCXListingCallerSession) GetTokenStatus(arg0 common.Address) (bool, error)

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

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

type AbstractXDCXListingFilterer

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

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

func NewAbstractXDCXListingFilterer

func NewAbstractXDCXListingFilterer(address common.Address, filterer bind.ContractFilterer) (*AbstractXDCXListingFilterer, error)

NewAbstractXDCXListingFilterer creates a new log filterer instance of AbstractXDCXListing, bound to a specific deployed contract.

type AbstractXDCXListingRaw

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

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

func (*AbstractXDCXListingRaw) Call

func (_AbstractXDCXListing *AbstractXDCXListingRaw) 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 (*AbstractXDCXListingRaw) Transact

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

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

func (*AbstractXDCXListingRaw) Transfer

func (_AbstractXDCXListing *AbstractXDCXListingRaw) 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 AbstractXDCXListingSession

type AbstractXDCXListingSession struct {
	Contract     *AbstractXDCXListing // 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
}

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

func (*AbstractXDCXListingSession) GetTokenStatus

func (_AbstractXDCXListing *AbstractXDCXListingSession) GetTokenStatus(arg0 common.Address) (bool, error)

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

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

type AbstractXDCXListingTransactor

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

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

func NewAbstractXDCXListingTransactor

func NewAbstractXDCXListingTransactor(address common.Address, transactor bind.ContractTransactor) (*AbstractXDCXListingTransactor, error)

NewAbstractXDCXListingTransactor creates a new write-only instance of AbstractXDCXListing, bound to a specific deployed contract.

type AbstractXDCXListingTransactorRaw

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

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

func (*AbstractXDCXListingTransactorRaw) Transact

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

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

func (*AbstractXDCXListingTransactorRaw) Transfer

func (_AbstractXDCXListing *AbstractXDCXListingTransactorRaw) 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 AbstractXDCXListingTransactorSession

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

AbstractXDCXListingTransactorSession 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) Decimals

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

func (_ITRC21 *ITRC21CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

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

func (_ITRC21 *ITRC21Session) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

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 LAbstractRegistration

type LAbstractRegistration struct {
	LAbstractRegistrationCaller     // Read-only binding to the contract
	LAbstractRegistrationTransactor // Write-only binding to the contract
	LAbstractRegistrationFilterer   // Log filterer for contract events
}

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

func DeployLAbstractRegistration

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

DeployLAbstractRegistration deploys a new Ethereum contract, binding an instance of LAbstractRegistration to it.

func NewLAbstractRegistration

func NewLAbstractRegistration(address common.Address, backend bind.ContractBackend) (*LAbstractRegistration, error)

NewLAbstractRegistration creates a new instance of LAbstractRegistration, bound to a specific deployed contract.

type LAbstractRegistrationCaller

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

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

func NewLAbstractRegistrationCaller

func NewLAbstractRegistrationCaller(address common.Address, caller bind.ContractCaller) (*LAbstractRegistrationCaller, error)

NewLAbstractRegistrationCaller creates a new read-only instance of LAbstractRegistration, bound to a specific deployed contract.

func (*LAbstractRegistrationCaller) GetRelayerByCoinbase

func (_LAbstractRegistration *LAbstractRegistrationCaller) GetRelayerByCoinbase(opts *bind.CallOpts, arg0 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( address) constant returns(uint256, address, uint256, uint16, address[], address[])

func (*LAbstractRegistrationCaller) RESIGNREQUESTS

func (_LAbstractRegistration *LAbstractRegistrationCaller) RESIGNREQUESTS(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RESIGNREQUESTS is a free data retrieval call binding the contract method 0x500f99f7.

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

type LAbstractRegistrationCallerRaw

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

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

func (*LAbstractRegistrationCallerRaw) Call

func (_LAbstractRegistration *LAbstractRegistrationCallerRaw) 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 LAbstractRegistrationCallerSession

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

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

func (*LAbstractRegistrationCallerSession) GetRelayerByCoinbase

func (_LAbstractRegistration *LAbstractRegistrationCallerSession) GetRelayerByCoinbase(arg0 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( address) constant returns(uint256, address, uint256, uint16, address[], address[])

func (*LAbstractRegistrationCallerSession) RESIGNREQUESTS

func (_LAbstractRegistration *LAbstractRegistrationCallerSession) RESIGNREQUESTS(arg0 common.Address) (*big.Int, error)

RESIGNREQUESTS is a free data retrieval call binding the contract method 0x500f99f7.

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

type LAbstractRegistrationFilterer

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

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

func NewLAbstractRegistrationFilterer

func NewLAbstractRegistrationFilterer(address common.Address, filterer bind.ContractFilterer) (*LAbstractRegistrationFilterer, error)

NewLAbstractRegistrationFilterer creates a new log filterer instance of LAbstractRegistration, bound to a specific deployed contract.

type LAbstractRegistrationRaw

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

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

func (*LAbstractRegistrationRaw) Call

func (_LAbstractRegistration *LAbstractRegistrationRaw) 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 (*LAbstractRegistrationRaw) Transact

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

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

func (*LAbstractRegistrationRaw) Transfer

func (_LAbstractRegistration *LAbstractRegistrationRaw) 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 LAbstractRegistrationSession

type LAbstractRegistrationSession struct {
	Contract     *LAbstractRegistration // 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
}

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

func (*LAbstractRegistrationSession) GetRelayerByCoinbase

func (_LAbstractRegistration *LAbstractRegistrationSession) GetRelayerByCoinbase(arg0 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( address) constant returns(uint256, address, uint256, uint16, address[], address[])

func (*LAbstractRegistrationSession) RESIGNREQUESTS

func (_LAbstractRegistration *LAbstractRegistrationSession) RESIGNREQUESTS(arg0 common.Address) (*big.Int, error)

RESIGNREQUESTS is a free data retrieval call binding the contract method 0x500f99f7.

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

type LAbstractRegistrationTransactor

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

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

func NewLAbstractRegistrationTransactor

func NewLAbstractRegistrationTransactor(address common.Address, transactor bind.ContractTransactor) (*LAbstractRegistrationTransactor, error)

NewLAbstractRegistrationTransactor creates a new write-only instance of LAbstractRegistration, bound to a specific deployed contract.

type LAbstractRegistrationTransactorRaw

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

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

func (*LAbstractRegistrationTransactorRaw) Transact

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

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

func (*LAbstractRegistrationTransactorRaw) Transfer

func (_LAbstractRegistration *LAbstractRegistrationTransactorRaw) 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 LAbstractRegistrationTransactorSession

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

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

type LAbstractTokenTRC21

type LAbstractTokenTRC21 struct {
	LAbstractTokenTRC21Caller     // Read-only binding to the contract
	LAbstractTokenTRC21Transactor // Write-only binding to the contract
	LAbstractTokenTRC21Filterer   // Log filterer for contract events
}

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

func DeployLAbstractTokenTRC21

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

DeployLAbstractTokenTRC21 deploys a new Ethereum contract, binding an instance of LAbstractTokenTRC21 to it.

func NewLAbstractTokenTRC21

func NewLAbstractTokenTRC21(address common.Address, backend bind.ContractBackend) (*LAbstractTokenTRC21, error)

NewLAbstractTokenTRC21 creates a new instance of LAbstractTokenTRC21, bound to a specific deployed contract.

type LAbstractTokenTRC21Caller

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

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

func NewLAbstractTokenTRC21Caller

func NewLAbstractTokenTRC21Caller(address common.Address, caller bind.ContractCaller) (*LAbstractTokenTRC21Caller, error)

NewLAbstractTokenTRC21Caller creates a new read-only instance of LAbstractTokenTRC21, bound to a specific deployed contract.

func (*LAbstractTokenTRC21Caller) Issuer

func (_LAbstractTokenTRC21 *LAbstractTokenTRC21Caller) 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 LAbstractTokenTRC21CallerRaw

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

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

func (*LAbstractTokenTRC21CallerRaw) Call

func (_LAbstractTokenTRC21 *LAbstractTokenTRC21CallerRaw) 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 LAbstractTokenTRC21CallerSession

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

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

func (*LAbstractTokenTRC21CallerSession) Issuer

func (_LAbstractTokenTRC21 *LAbstractTokenTRC21CallerSession) Issuer() (common.Address, error)

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

Solidity: function issuer() constant returns(address)

type LAbstractTokenTRC21Filterer

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

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

func NewLAbstractTokenTRC21Filterer

func NewLAbstractTokenTRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*LAbstractTokenTRC21Filterer, error)

NewLAbstractTokenTRC21Filterer creates a new log filterer instance of LAbstractTokenTRC21, bound to a specific deployed contract.

type LAbstractTokenTRC21Raw

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

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

func (*LAbstractTokenTRC21Raw) Call

func (_LAbstractTokenTRC21 *LAbstractTokenTRC21Raw) 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 (*LAbstractTokenTRC21Raw) Transact

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

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

func (*LAbstractTokenTRC21Raw) Transfer

func (_LAbstractTokenTRC21 *LAbstractTokenTRC21Raw) 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 LAbstractTokenTRC21Session

type LAbstractTokenTRC21Session struct {
	Contract     *LAbstractTokenTRC21 // 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
}

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

func (*LAbstractTokenTRC21Session) Issuer

func (_LAbstractTokenTRC21 *LAbstractTokenTRC21Session) Issuer() (common.Address, error)

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

Solidity: function issuer() constant returns(address)

type LAbstractTokenTRC21Transactor

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

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

func NewLAbstractTokenTRC21Transactor

func NewLAbstractTokenTRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*LAbstractTokenTRC21Transactor, error)

NewLAbstractTokenTRC21Transactor creates a new write-only instance of LAbstractTokenTRC21, bound to a specific deployed contract.

type LAbstractTokenTRC21TransactorRaw

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

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

func (*LAbstractTokenTRC21TransactorRaw) Transact

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

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

func (*LAbstractTokenTRC21TransactorRaw) Transfer

func (_LAbstractTokenTRC21 *LAbstractTokenTRC21TransactorRaw) 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 LAbstractTokenTRC21TransactorSession

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

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

type LAbstractXDCXListing

type LAbstractXDCXListing struct {
	LAbstractXDCXListingCaller     // Read-only binding to the contract
	LAbstractXDCXListingTransactor // Write-only binding to the contract
	LAbstractXDCXListingFilterer   // Log filterer for contract events
}

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

func DeployLAbstractXDCXListing

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

DeployLAbstractXDCXListing deploys a new Ethereum contract, binding an instance of LAbstractXDCXListing to it.

func NewLAbstractXDCXListing

func NewLAbstractXDCXListing(address common.Address, backend bind.ContractBackend) (*LAbstractXDCXListing, error)

NewLAbstractXDCXListing creates a new instance of LAbstractXDCXListing, bound to a specific deployed contract.

type LAbstractXDCXListingCaller

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

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

func NewLAbstractXDCXListingCaller

func NewLAbstractXDCXListingCaller(address common.Address, caller bind.ContractCaller) (*LAbstractXDCXListingCaller, error)

NewLAbstractXDCXListingCaller creates a new read-only instance of LAbstractXDCXListing, bound to a specific deployed contract.

func (*LAbstractXDCXListingCaller) GetTokenStatus

func (_LAbstractXDCXListing *LAbstractXDCXListingCaller) GetTokenStatus(opts *bind.CallOpts, arg0 common.Address) (bool, error)

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

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

type LAbstractXDCXListingCallerRaw

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

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

func (*LAbstractXDCXListingCallerRaw) Call

func (_LAbstractXDCXListing *LAbstractXDCXListingCallerRaw) 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 LAbstractXDCXListingCallerSession

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

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

func (*LAbstractXDCXListingCallerSession) GetTokenStatus

func (_LAbstractXDCXListing *LAbstractXDCXListingCallerSession) GetTokenStatus(arg0 common.Address) (bool, error)

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

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

type LAbstractXDCXListingFilterer

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

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

func NewLAbstractXDCXListingFilterer

func NewLAbstractXDCXListingFilterer(address common.Address, filterer bind.ContractFilterer) (*LAbstractXDCXListingFilterer, error)

NewLAbstractXDCXListingFilterer creates a new log filterer instance of LAbstractXDCXListing, bound to a specific deployed contract.

type LAbstractXDCXListingRaw

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

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

func (*LAbstractXDCXListingRaw) Call

func (_LAbstractXDCXListing *LAbstractXDCXListingRaw) 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 (*LAbstractXDCXListingRaw) Transact

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

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

func (*LAbstractXDCXListingRaw) Transfer

func (_LAbstractXDCXListing *LAbstractXDCXListingRaw) 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 LAbstractXDCXListingSession

type LAbstractXDCXListingSession struct {
	Contract     *LAbstractXDCXListing // 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
}

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

func (*LAbstractXDCXListingSession) GetTokenStatus

func (_LAbstractXDCXListing *LAbstractXDCXListingSession) GetTokenStatus(arg0 common.Address) (bool, error)

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

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

type LAbstractXDCXListingTransactor

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

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

func NewLAbstractXDCXListingTransactor

func NewLAbstractXDCXListingTransactor(address common.Address, transactor bind.ContractTransactor) (*LAbstractXDCXListingTransactor, error)

NewLAbstractXDCXListingTransactor creates a new write-only instance of LAbstractXDCXListing, bound to a specific deployed contract.

type LAbstractXDCXListingTransactorRaw

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

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

func (*LAbstractXDCXListingTransactorRaw) Transact

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

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

func (*LAbstractXDCXListingTransactorRaw) Transfer

func (_LAbstractXDCXListing *LAbstractXDCXListingTransactorRaw) 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 LAbstractXDCXListingTransactorSession

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

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

type Lending

type Lending struct {
	LendingCaller     // Read-only binding to the contract
	LendingTransactor // Write-only binding to the contract
	LendingFilterer   // Log filterer for contract events
}

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

func DeployLending

DeployLending deploys a new Ethereum contract, binding an instance of Lending to it.

func NewLending

func NewLending(address common.Address, backend bind.ContractBackend) (*Lending, error)

NewLending creates a new instance of Lending, bound to a specific deployed contract.

type LendingCaller

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

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

func NewLendingCaller

func NewLendingCaller(address common.Address, caller bind.ContractCaller) (*LendingCaller, error)

NewLendingCaller creates a new read-only instance of Lending, bound to a specific deployed contract.

func (*LendingCaller) BASES

func (_Lending *LendingCaller) BASES(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BASES is a free data retrieval call binding the contract method 0x6d1dc42a.

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

func (*LendingCaller) COLLATERALLIST

func (_Lending *LendingCaller) COLLATERALLIST(opts *bind.CallOpts, arg0 common.Address) (struct {
	DepositRate     *big.Int
	LiquidationRate *big.Int
	RecallRate      *big.Int
}, error)

COLLATERALLIST is a free data retrieval call binding the contract method 0x82250701.

Solidity: function COLLATERAL_LIST( address) constant returns(_depositRate uint256, _liquidationRate uint256, _recallRate uint256)

func (*LendingCaller) COLLATERALS

func (_Lending *LendingCaller) COLLATERALS(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

COLLATERALS is a free data retrieval call binding the contract method 0x0811f05a.

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

func (*LendingCaller) GetCollateralPrice

func (_Lending *LendingCaller) GetCollateralPrice(opts *bind.CallOpts, token common.Address, lendingToken common.Address) (*big.Int, *big.Int, error)

GetCollateralPrice is a free data retrieval call binding the contract method 0xf2dbd070.

Solidity: function getCollateralPrice(token address, lendingToken address) constant returns(uint256, uint256)

func (*LendingCaller) GetLendingRelayerByCoinbase

func (_Lending *LendingCaller) GetLendingRelayerByCoinbase(opts *bind.CallOpts, coinbase common.Address) (uint16, []common.Address, []*big.Int, []common.Address, error)

GetLendingRelayerByCoinbase is a free data retrieval call binding the contract method 0xfe824700.

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

func (*LendingCaller) ILOCOLLATERALS

func (_Lending *LendingCaller) ILOCOLLATERALS(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

ILOCOLLATERALS is a free data retrieval call binding the contract method 0xb8687ec4.

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

func (*LendingCaller) LENDINGRELAYERLIST

func (_Lending *LendingCaller) LENDINGRELAYERLIST(opts *bind.CallOpts, arg0 common.Address) (uint16, error)

LENDINGRELAYERLIST is a free data retrieval call binding the contract method 0x0faf292c.

Solidity: function LENDINGRELAYER_LIST( address) constant returns(_tradeFee uint16)

func (*LendingCaller) MODERATOR

func (_Lending *LendingCaller) MODERATOR(opts *bind.CallOpts) (common.Address, error)

MODERATOR is a free data retrieval call binding the contract method 0x34b4e625.

Solidity: function MODERATOR() constant returns(address)

func (*LendingCaller) ORACLEPRICEFEEDER

func (_Lending *LendingCaller) ORACLEPRICEFEEDER(opts *bind.CallOpts) (common.Address, error)

ORACLEPRICEFEEDER is a free data retrieval call binding the contract method 0x0c4c2cbb.

Solidity: function ORACLE_PRICE_FEEDER() constant returns(address)

func (*LendingCaller) Relayer

func (_Lending *LendingCaller) Relayer(opts *bind.CallOpts) (common.Address, error)

Relayer is a free data retrieval call binding the contract method 0x264949d8.

Solidity: function Relayer() constant returns(address)

func (*LendingCaller) TERMS

func (_Lending *LendingCaller) TERMS(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

TERMS is a free data retrieval call binding the contract method 0x56327f57.

Solidity: function TERMS( uint256) constant returns(uint256)

func (*LendingCaller) XDCXListing

func (_Lending *LendingCaller) XDCXListing(opts *bind.CallOpts) (common.Address, error)

XDCXListing is a free data retrieval call binding the contract method 0x29a4ddec.

Solidity: function XDCXListing() constant returns(address)

type LendingCallerRaw

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

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

func (*LendingCallerRaw) Call

func (_Lending *LendingCallerRaw) 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 LendingCallerSession

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

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

func (*LendingCallerSession) BASES

func (_Lending *LendingCallerSession) BASES(arg0 *big.Int) (common.Address, error)

BASES is a free data retrieval call binding the contract method 0x6d1dc42a.

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

func (*LendingCallerSession) COLLATERALLIST

func (_Lending *LendingCallerSession) COLLATERALLIST(arg0 common.Address) (struct {
	DepositRate     *big.Int
	LiquidationRate *big.Int
	RecallRate      *big.Int
}, error)

COLLATERALLIST is a free data retrieval call binding the contract method 0x82250701.

Solidity: function COLLATERAL_LIST( address) constant returns(_depositRate uint256, _liquidationRate uint256, _recallRate uint256)

func (*LendingCallerSession) COLLATERALS

func (_Lending *LendingCallerSession) COLLATERALS(arg0 *big.Int) (common.Address, error)

COLLATERALS is a free data retrieval call binding the contract method 0x0811f05a.

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

func (*LendingCallerSession) GetCollateralPrice

func (_Lending *LendingCallerSession) GetCollateralPrice(token common.Address, lendingToken common.Address) (*big.Int, *big.Int, error)

GetCollateralPrice is a free data retrieval call binding the contract method 0xf2dbd070.

Solidity: function getCollateralPrice(token address, lendingToken address) constant returns(uint256, uint256)

func (*LendingCallerSession) GetLendingRelayerByCoinbase

func (_Lending *LendingCallerSession) GetLendingRelayerByCoinbase(coinbase common.Address) (uint16, []common.Address, []*big.Int, []common.Address, error)

GetLendingRelayerByCoinbase is a free data retrieval call binding the contract method 0xfe824700.

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

func (*LendingCallerSession) ILOCOLLATERALS

func (_Lending *LendingCallerSession) ILOCOLLATERALS(arg0 *big.Int) (common.Address, error)

ILOCOLLATERALS is a free data retrieval call binding the contract method 0xb8687ec4.

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

func (*LendingCallerSession) LENDINGRELAYERLIST

func (_Lending *LendingCallerSession) LENDINGRELAYERLIST(arg0 common.Address) (uint16, error)

LENDINGRELAYERLIST is a free data retrieval call binding the contract method 0x0faf292c.

Solidity: function LENDINGRELAYER_LIST( address) constant returns(_tradeFee uint16)

func (*LendingCallerSession) MODERATOR

func (_Lending *LendingCallerSession) MODERATOR() (common.Address, error)

MODERATOR is a free data retrieval call binding the contract method 0x34b4e625.

Solidity: function MODERATOR() constant returns(address)

func (*LendingCallerSession) ORACLEPRICEFEEDER

func (_Lending *LendingCallerSession) ORACLEPRICEFEEDER() (common.Address, error)

ORACLEPRICEFEEDER is a free data retrieval call binding the contract method 0x0c4c2cbb.

Solidity: function ORACLE_PRICE_FEEDER() constant returns(address)

func (*LendingCallerSession) Relayer

func (_Lending *LendingCallerSession) Relayer() (common.Address, error)

Relayer is a free data retrieval call binding the contract method 0x264949d8.

Solidity: function Relayer() constant returns(address)

func (*LendingCallerSession) TERMS

func (_Lending *LendingCallerSession) TERMS(arg0 *big.Int) (*big.Int, error)

TERMS is a free data retrieval call binding the contract method 0x56327f57.

Solidity: function TERMS( uint256) constant returns(uint256)

func (*LendingCallerSession) XDCXListing

func (_Lending *LendingCallerSession) XDCXListing() (common.Address, error)

XDCXListing is a free data retrieval call binding the contract method 0x29a4ddec.

Solidity: function XDCXListing() constant returns(address)

type LendingFilterer

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

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

func NewLendingFilterer

func NewLendingFilterer(address common.Address, filterer bind.ContractFilterer) (*LendingFilterer, error)

NewLendingFilterer creates a new log filterer instance of Lending, bound to a specific deployed contract.

type LendingRaw

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

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

func (*LendingRaw) Call

func (_Lending *LendingRaw) 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 (*LendingRaw) Transact

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

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

func (*LendingRaw) Transfer

func (_Lending *LendingRaw) 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 LendingSession

type LendingSession struct {
	Contract     *Lending          // 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
}

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

func (*LendingSession) AddBaseToken

func (_Lending *LendingSession) AddBaseToken(token common.Address) (*types.Transaction, error)

AddBaseToken is a paid mutator transaction binding the contract method 0x83e280d9.

Solidity: function addBaseToken(token address) returns()

func (*LendingSession) AddCollateral

func (_Lending *LendingSession) AddCollateral(token common.Address, depositRate *big.Int, liquidationRate *big.Int, recallRate *big.Int) (*types.Transaction, error)

AddCollateral is a paid mutator transaction binding the contract method 0xe5eecf68.

Solidity: function addCollateral(token address, depositRate uint256, liquidationRate uint256, recallRate uint256) returns()

func (*LendingSession) AddILOCollateral

func (_Lending *LendingSession) AddILOCollateral(token common.Address, depositRate *big.Int, liquidationRate *big.Int, recallRate *big.Int) (*types.Transaction, error)

AddILOCollateral is a paid mutator transaction binding the contract method 0x3b874827.

Solidity: function addILOCollateral(token address, depositRate uint256, liquidationRate uint256, recallRate uint256) returns()

func (*LendingSession) AddTerm

func (_Lending *LendingSession) AddTerm(term *big.Int) (*types.Transaction, error)

AddTerm is a paid mutator transaction binding the contract method 0x0c655955.

Solidity: function addTerm(term uint256) returns()

func (*LendingSession) BASES

func (_Lending *LendingSession) BASES(arg0 *big.Int) (common.Address, error)

BASES is a free data retrieval call binding the contract method 0x6d1dc42a.

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

func (*LendingSession) COLLATERALLIST

func (_Lending *LendingSession) COLLATERALLIST(arg0 common.Address) (struct {
	DepositRate     *big.Int
	LiquidationRate *big.Int
	RecallRate      *big.Int
}, error)

COLLATERALLIST is a free data retrieval call binding the contract method 0x82250701.

Solidity: function COLLATERAL_LIST( address) constant returns(_depositRate uint256, _liquidationRate uint256, _recallRate uint256)

func (*LendingSession) COLLATERALS

func (_Lending *LendingSession) COLLATERALS(arg0 *big.Int) (common.Address, error)

COLLATERALS is a free data retrieval call binding the contract method 0x0811f05a.

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

func (*LendingSession) ChangeModerator

func (_Lending *LendingSession) ChangeModerator(moderator common.Address) (*types.Transaction, error)

ChangeModerator is a paid mutator transaction binding the contract method 0x46642921.

Solidity: function changeModerator(moderator address) returns()

func (*LendingSession) ChangeOraclePriceFeeder

func (_Lending *LendingSession) ChangeOraclePriceFeeder(feeder common.Address) (*types.Transaction, error)

ChangeOraclePriceFeeder is a paid mutator transaction binding the contract method 0xc38f473f.

Solidity: function changeOraclePriceFeeder(feeder address) returns()

func (*LendingSession) GetCollateralPrice

func (_Lending *LendingSession) GetCollateralPrice(token common.Address, lendingToken common.Address) (*big.Int, *big.Int, error)

GetCollateralPrice is a free data retrieval call binding the contract method 0xf2dbd070.

Solidity: function getCollateralPrice(token address, lendingToken address) constant returns(uint256, uint256)

func (*LendingSession) GetLendingRelayerByCoinbase

func (_Lending *LendingSession) GetLendingRelayerByCoinbase(coinbase common.Address) (uint16, []common.Address, []*big.Int, []common.Address, error)

GetLendingRelayerByCoinbase is a free data retrieval call binding the contract method 0xfe824700.

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

func (*LendingSession) ILOCOLLATERALS

func (_Lending *LendingSession) ILOCOLLATERALS(arg0 *big.Int) (common.Address, error)

ILOCOLLATERALS is a free data retrieval call binding the contract method 0xb8687ec4.

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

func (*LendingSession) LENDINGRELAYERLIST

func (_Lending *LendingSession) LENDINGRELAYERLIST(arg0 common.Address) (uint16, error)

LENDINGRELAYERLIST is a free data retrieval call binding the contract method 0x0faf292c.

Solidity: function LENDINGRELAYER_LIST( address) constant returns(_tradeFee uint16)

func (*LendingSession) MODERATOR

func (_Lending *LendingSession) MODERATOR() (common.Address, error)

MODERATOR is a free data retrieval call binding the contract method 0x34b4e625.

Solidity: function MODERATOR() constant returns(address)

func (*LendingSession) ORACLEPRICEFEEDER

func (_Lending *LendingSession) ORACLEPRICEFEEDER() (common.Address, error)

ORACLEPRICEFEEDER is a free data retrieval call binding the contract method 0x0c4c2cbb.

Solidity: function ORACLE_PRICE_FEEDER() constant returns(address)

func (*LendingSession) Relayer

func (_Lending *LendingSession) Relayer() (common.Address, error)

Relayer is a free data retrieval call binding the contract method 0x264949d8.

Solidity: function Relayer() constant returns(address)

func (*LendingSession) SetCollateralPrice

func (_Lending *LendingSession) SetCollateralPrice(token common.Address, lendingToken common.Address, price *big.Int) (*types.Transaction, error)

SetCollateralPrice is a paid mutator transaction binding the contract method 0xacb8cd92.

Solidity: function setCollateralPrice(token address, lendingToken address, price uint256) returns()

func (*LendingSession) TERMS

func (_Lending *LendingSession) TERMS(arg0 *big.Int) (*big.Int, error)

TERMS is a free data retrieval call binding the contract method 0x56327f57.

Solidity: function TERMS( uint256) constant returns(uint256)

func (*LendingSession) Update

func (_Lending *LendingSession) Update(coinbase common.Address, tradeFee uint16, baseTokens []common.Address, terms []*big.Int, collaterals []common.Address) (*types.Transaction, error)

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

Solidity: function update(coinbase address, tradeFee uint16, baseTokens address[], terms uint256[], collaterals address[]) returns()

func (*LendingSession) UpdateFee

func (_Lending *LendingSession) UpdateFee(coinbase common.Address, tradeFee uint16) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x3ea2391f.

Solidity: function updateFee(coinbase address, tradeFee uint16) returns()

func (*LendingSession) XDCXListing

func (_Lending *LendingSession) XDCXListing() (common.Address, error)

XDCXListing is a free data retrieval call binding the contract method 0x29a4ddec.

Solidity: function XDCXListing() constant returns(address)

type LendingTransactor

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

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

func NewLendingTransactor

func NewLendingTransactor(address common.Address, transactor bind.ContractTransactor) (*LendingTransactor, error)

NewLendingTransactor creates a new write-only instance of Lending, bound to a specific deployed contract.

func (*LendingTransactor) AddBaseToken

func (_Lending *LendingTransactor) AddBaseToken(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

AddBaseToken is a paid mutator transaction binding the contract method 0x83e280d9.

Solidity: function addBaseToken(token address) returns()

func (*LendingTransactor) AddCollateral

func (_Lending *LendingTransactor) AddCollateral(opts *bind.TransactOpts, token common.Address, depositRate *big.Int, liquidationRate *big.Int, recallRate *big.Int) (*types.Transaction, error)

AddCollateral is a paid mutator transaction binding the contract method 0xe5eecf68.

Solidity: function addCollateral(token address, depositRate uint256, liquidationRate uint256, recallRate uint256) returns()

func (*LendingTransactor) AddILOCollateral

func (_Lending *LendingTransactor) AddILOCollateral(opts *bind.TransactOpts, token common.Address, depositRate *big.Int, liquidationRate *big.Int, recallRate *big.Int) (*types.Transaction, error)

AddILOCollateral is a paid mutator transaction binding the contract method 0x3b874827.

Solidity: function addILOCollateral(token address, depositRate uint256, liquidationRate uint256, recallRate uint256) returns()

func (*LendingTransactor) AddTerm

func (_Lending *LendingTransactor) AddTerm(opts *bind.TransactOpts, term *big.Int) (*types.Transaction, error)

AddTerm is a paid mutator transaction binding the contract method 0x0c655955.

Solidity: function addTerm(term uint256) returns()

func (*LendingTransactor) ChangeModerator

func (_Lending *LendingTransactor) ChangeModerator(opts *bind.TransactOpts, moderator common.Address) (*types.Transaction, error)

ChangeModerator is a paid mutator transaction binding the contract method 0x46642921.

Solidity: function changeModerator(moderator address) returns()

func (*LendingTransactor) ChangeOraclePriceFeeder

func (_Lending *LendingTransactor) ChangeOraclePriceFeeder(opts *bind.TransactOpts, feeder common.Address) (*types.Transaction, error)

ChangeOraclePriceFeeder is a paid mutator transaction binding the contract method 0xc38f473f.

Solidity: function changeOraclePriceFeeder(feeder address) returns()

func (*LendingTransactor) SetCollateralPrice

func (_Lending *LendingTransactor) SetCollateralPrice(opts *bind.TransactOpts, token common.Address, lendingToken common.Address, price *big.Int) (*types.Transaction, error)

SetCollateralPrice is a paid mutator transaction binding the contract method 0xacb8cd92.

Solidity: function setCollateralPrice(token address, lendingToken address, price uint256) returns()

func (*LendingTransactor) Update

func (_Lending *LendingTransactor) Update(opts *bind.TransactOpts, coinbase common.Address, tradeFee uint16, baseTokens []common.Address, terms []*big.Int, collaterals []common.Address) (*types.Transaction, error)

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

Solidity: function update(coinbase address, tradeFee uint16, baseTokens address[], terms uint256[], collaterals address[]) returns()

func (*LendingTransactor) UpdateFee

func (_Lending *LendingTransactor) UpdateFee(opts *bind.TransactOpts, coinbase common.Address, tradeFee uint16) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x3ea2391f.

Solidity: function updateFee(coinbase address, tradeFee uint16) returns()

type LendingTransactorRaw

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

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

func (*LendingTransactorRaw) Transact

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

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

func (*LendingTransactorRaw) Transfer

func (_Lending *LendingTransactorRaw) 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 LendingTransactorSession

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

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

func (*LendingTransactorSession) AddBaseToken

func (_Lending *LendingTransactorSession) AddBaseToken(token common.Address) (*types.Transaction, error)

AddBaseToken is a paid mutator transaction binding the contract method 0x83e280d9.

Solidity: function addBaseToken(token address) returns()

func (*LendingTransactorSession) AddCollateral

func (_Lending *LendingTransactorSession) AddCollateral(token common.Address, depositRate *big.Int, liquidationRate *big.Int, recallRate *big.Int) (*types.Transaction, error)

AddCollateral is a paid mutator transaction binding the contract method 0xe5eecf68.

Solidity: function addCollateral(token address, depositRate uint256, liquidationRate uint256, recallRate uint256) returns()

func (*LendingTransactorSession) AddILOCollateral

func (_Lending *LendingTransactorSession) AddILOCollateral(token common.Address, depositRate *big.Int, liquidationRate *big.Int, recallRate *big.Int) (*types.Transaction, error)

AddILOCollateral is a paid mutator transaction binding the contract method 0x3b874827.

Solidity: function addILOCollateral(token address, depositRate uint256, liquidationRate uint256, recallRate uint256) returns()

func (*LendingTransactorSession) AddTerm

func (_Lending *LendingTransactorSession) AddTerm(term *big.Int) (*types.Transaction, error)

AddTerm is a paid mutator transaction binding the contract method 0x0c655955.

Solidity: function addTerm(term uint256) returns()

func (*LendingTransactorSession) ChangeModerator

func (_Lending *LendingTransactorSession) ChangeModerator(moderator common.Address) (*types.Transaction, error)

ChangeModerator is a paid mutator transaction binding the contract method 0x46642921.

Solidity: function changeModerator(moderator address) returns()

func (*LendingTransactorSession) ChangeOraclePriceFeeder

func (_Lending *LendingTransactorSession) ChangeOraclePriceFeeder(feeder common.Address) (*types.Transaction, error)

ChangeOraclePriceFeeder is a paid mutator transaction binding the contract method 0xc38f473f.

Solidity: function changeOraclePriceFeeder(feeder address) returns()

func (*LendingTransactorSession) SetCollateralPrice

func (_Lending *LendingTransactorSession) SetCollateralPrice(token common.Address, lendingToken common.Address, price *big.Int) (*types.Transaction, error)

SetCollateralPrice is a paid mutator transaction binding the contract method 0xacb8cd92.

Solidity: function setCollateralPrice(token address, lendingToken address, price uint256) returns()

func (*LendingTransactorSession) Update

func (_Lending *LendingTransactorSession) Update(coinbase common.Address, tradeFee uint16, baseTokens []common.Address, terms []*big.Int, collaterals []common.Address) (*types.Transaction, error)

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

Solidity: function update(coinbase address, tradeFee uint16, baseTokens address[], terms uint256[], collaterals address[]) returns()

func (*LendingTransactorSession) UpdateFee

func (_Lending *LendingTransactorSession) UpdateFee(coinbase common.Address, tradeFee uint16) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x3ea2391f.

Solidity: function updateFee(coinbase address, tradeFee uint16) returns()

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, _owners []common.Address, _required *big.Int, _name string, _symbol string, _decimals uint8, cap *big.Int, minFee *big.Int, depositFee *big.Int, withdrawFee *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) BurnList

func (_MyTRC21 *MyTRC21Caller) BurnList(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Value  *big.Int
	Burner common.Address
	Data   []byte
}, error)

BurnList is a free data retrieval call binding the contract method 0x77661c64.

Solidity: function burnList( uint256) constant returns(value uint256, burner address, data bytes)

func (*MyTRC21Caller) Confirmations

func (_MyTRC21 *MyTRC21Caller) Confirmations(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)

Confirmations is a free data retrieval call binding the contract method 0x3411c81c.

Solidity: function confirmations( uint256, address) constant returns(bool)

func (*MyTRC21Caller) DEPOSITFEE

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

DEPOSITFEE is a free data retrieval call binding the contract method 0xde363e65.

Solidity: function DEPOSIT_FEE() 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) GetBurn

func (_MyTRC21 *MyTRC21Caller) GetBurn(opts *bind.CallOpts, burnId *big.Int) (struct {
	Burner common.Address
	Value  *big.Int
	Data   []byte
}, error)

GetBurn is a free data retrieval call binding the contract method 0x2eb3f49b.

Solidity: function getBurn(burnId uint256) constant returns(_burner address, _value uint256, _data bytes)

func (*MyTRC21Caller) GetBurnCount

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

GetBurnCount is a free data retrieval call binding the contract method 0xe7cf548c.

Solidity: function getBurnCount() constant returns(uint256)

func (*MyTRC21Caller) GetConfirmationCount

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

GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.

Solidity: function getConfirmationCount(transactionId uint256) constant returns(count uint256)

func (*MyTRC21Caller) GetConfirmations

func (_MyTRC21 *MyTRC21Caller) GetConfirmations(opts *bind.CallOpts, transactionId *big.Int) ([]common.Address, error)

GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.

Solidity: function getConfirmations(transactionId uint256) constant returns(_confirmations address[])

func (*MyTRC21Caller) GetOwners

func (_MyTRC21 *MyTRC21Caller) GetOwners(opts *bind.CallOpts) ([]common.Address, error)

GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.

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

func (*MyTRC21Caller) GetTransactionCount

func (_MyTRC21 *MyTRC21Caller) GetTransactionCount(opts *bind.CallOpts, pending bool, executed bool) (*big.Int, error)

GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.

Solidity: function getTransactionCount(pending bool, executed bool) constant returns(count uint256)

func (*MyTRC21Caller) GetTransactionIds

func (_MyTRC21 *MyTRC21Caller) GetTransactionIds(opts *bind.CallOpts, from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)

GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.

Solidity: function getTransactionIds(from uint256, to uint256, pending bool, executed bool) constant returns(_transactionIds uint256[])

func (*MyTRC21Caller) IsConfirmed

func (_MyTRC21 *MyTRC21Caller) IsConfirmed(opts *bind.CallOpts, transactionId *big.Int) (bool, error)

IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.

Solidity: function isConfirmed(transactionId uint256) constant returns(bool)

func (*MyTRC21Caller) IsOwner

func (_MyTRC21 *MyTRC21Caller) IsOwner(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner( address) constant returns(bool)

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

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

MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.

Solidity: function MAX_OWNER_COUNT() constant returns(uint256)

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

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

Owners is a free data retrieval call binding the contract method 0x025e7c27.

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

func (*MyTRC21Caller) Required

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

Required is a free data retrieval call binding the contract method 0xdc8452cd.

Solidity: function required() constant returns(uint256)

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)

func (*MyTRC21Caller) TransactionCount

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

TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.

Solidity: function transactionCount() constant returns(uint256)

func (*MyTRC21Caller) Transactions

func (_MyTRC21 *MyTRC21Caller) Transactions(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Destination common.Address
	Value       *big.Int
	Data        []byte
	Executed    bool
}, error)

Transactions is a free data retrieval call binding the contract method 0x9ace38c2.

Solidity: function transactions( uint256) constant returns(destination address, value uint256, data bytes, executed bool)

func (*MyTRC21Caller) WITHDRAWFEE

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

WITHDRAWFEE is a free data retrieval call binding the contract method 0x9bff5ddb.

Solidity: function WITHDRAW_FEE() 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) BurnList

func (_MyTRC21 *MyTRC21CallerSession) BurnList(arg0 *big.Int) (struct {
	Value  *big.Int
	Burner common.Address
	Data   []byte
}, error)

BurnList is a free data retrieval call binding the contract method 0x77661c64.

Solidity: function burnList( uint256) constant returns(value uint256, burner address, data bytes)

func (*MyTRC21CallerSession) Confirmations

func (_MyTRC21 *MyTRC21CallerSession) Confirmations(arg0 *big.Int, arg1 common.Address) (bool, error)

Confirmations is a free data retrieval call binding the contract method 0x3411c81c.

Solidity: function confirmations( uint256, address) constant returns(bool)

func (*MyTRC21CallerSession) DEPOSITFEE

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

DEPOSITFEE is a free data retrieval call binding the contract method 0xde363e65.

Solidity: function DEPOSIT_FEE() 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) GetBurn

func (_MyTRC21 *MyTRC21CallerSession) GetBurn(burnId *big.Int) (struct {
	Burner common.Address
	Value  *big.Int
	Data   []byte
}, error)

GetBurn is a free data retrieval call binding the contract method 0x2eb3f49b.

Solidity: function getBurn(burnId uint256) constant returns(_burner address, _value uint256, _data bytes)

func (*MyTRC21CallerSession) GetBurnCount

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

GetBurnCount is a free data retrieval call binding the contract method 0xe7cf548c.

Solidity: function getBurnCount() constant returns(uint256)

func (*MyTRC21CallerSession) GetConfirmationCount

func (_MyTRC21 *MyTRC21CallerSession) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)

GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.

Solidity: function getConfirmationCount(transactionId uint256) constant returns(count uint256)

func (*MyTRC21CallerSession) GetConfirmations

func (_MyTRC21 *MyTRC21CallerSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)

GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.

Solidity: function getConfirmations(transactionId uint256) constant returns(_confirmations address[])

func (*MyTRC21CallerSession) GetOwners

func (_MyTRC21 *MyTRC21CallerSession) GetOwners() ([]common.Address, error)

GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.

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

func (*MyTRC21CallerSession) GetTransactionCount

func (_MyTRC21 *MyTRC21CallerSession) GetTransactionCount(pending bool, executed bool) (*big.Int, error)

GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.

Solidity: function getTransactionCount(pending bool, executed bool) constant returns(count uint256)

func (*MyTRC21CallerSession) GetTransactionIds

func (_MyTRC21 *MyTRC21CallerSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)

GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.

Solidity: function getTransactionIds(from uint256, to uint256, pending bool, executed bool) constant returns(_transactionIds uint256[])

func (*MyTRC21CallerSession) IsConfirmed

func (_MyTRC21 *MyTRC21CallerSession) IsConfirmed(transactionId *big.Int) (bool, error)

IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.

Solidity: function isConfirmed(transactionId uint256) constant returns(bool)

func (*MyTRC21CallerSession) IsOwner

func (_MyTRC21 *MyTRC21CallerSession) IsOwner(arg0 common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner( address) constant returns(bool)

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

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

MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.

Solidity: function MAX_OWNER_COUNT() constant returns(uint256)

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

func (_MyTRC21 *MyTRC21CallerSession) Owners(arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

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

func (*MyTRC21CallerSession) Required

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

Required is a free data retrieval call binding the contract method 0xdc8452cd.

Solidity: function required() constant returns(uint256)

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)

func (*MyTRC21CallerSession) TransactionCount

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

TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.

Solidity: function transactionCount() constant returns(uint256)

func (*MyTRC21CallerSession) Transactions

func (_MyTRC21 *MyTRC21CallerSession) Transactions(arg0 *big.Int) (struct {
	Destination common.Address
	Value       *big.Int
	Data        []byte
	Executed    bool
}, error)

Transactions is a free data retrieval call binding the contract method 0x9ace38c2.

Solidity: function transactions( uint256) constant returns(destination address, value uint256, data bytes, executed bool)

func (*MyTRC21CallerSession) WITHDRAWFEE

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

WITHDRAWFEE is a free data retrieval call binding the contract method 0x9bff5ddb.

Solidity: function WITHDRAW_FEE() constant returns(uint256)

type MyTRC21Confirmation

type MyTRC21Confirmation struct {
	Sender        common.Address
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MyTRC21Confirmation represents a Confirmation event raised by the MyTRC21 contract.

type MyTRC21ConfirmationIterator

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

MyTRC21ConfirmationIterator is returned from FilterConfirmation and is used to iterate over the raw logs and unpacked data for Confirmation events raised by the MyTRC21 contract.

func (*MyTRC21ConfirmationIterator) Close

func (it *MyTRC21ConfirmationIterator) Close() error

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

func (*MyTRC21ConfirmationIterator) Error

func (it *MyTRC21ConfirmationIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21ConfirmationIterator) Next

func (it *MyTRC21ConfirmationIterator) 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 MyTRC21Execution

type MyTRC21Execution struct {
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MyTRC21Execution represents a Execution event raised by the MyTRC21 contract.

type MyTRC21ExecutionFailure

type MyTRC21ExecutionFailure struct {
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MyTRC21ExecutionFailure represents a ExecutionFailure event raised by the MyTRC21 contract.

type MyTRC21ExecutionFailureIterator

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

MyTRC21ExecutionFailureIterator is returned from FilterExecutionFailure and is used to iterate over the raw logs and unpacked data for ExecutionFailure events raised by the MyTRC21 contract.

func (*MyTRC21ExecutionFailureIterator) Close

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

func (*MyTRC21ExecutionFailureIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21ExecutionFailureIterator) 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 MyTRC21ExecutionIterator

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

MyTRC21ExecutionIterator is returned from FilterExecution and is used to iterate over the raw logs and unpacked data for Execution events raised by the MyTRC21 contract.

func (*MyTRC21ExecutionIterator) Close

func (it *MyTRC21ExecutionIterator) Close() error

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

func (*MyTRC21ExecutionIterator) Error

func (it *MyTRC21ExecutionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21ExecutionIterator) Next

func (it *MyTRC21ExecutionIterator) 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 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) FilterConfirmation

func (_MyTRC21 *MyTRC21Filterer) FilterConfirmation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*MyTRC21ConfirmationIterator, error)

FilterConfirmation is a free log retrieval operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.

Solidity: event Confirmation(sender indexed address, transactionId indexed uint256)

func (*MyTRC21Filterer) FilterExecution

func (_MyTRC21 *MyTRC21Filterer) FilterExecution(opts *bind.FilterOpts, transactionId []*big.Int) (*MyTRC21ExecutionIterator, error)

FilterExecution is a free log retrieval operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.

Solidity: event Execution(transactionId indexed uint256)

func (*MyTRC21Filterer) FilterExecutionFailure

func (_MyTRC21 *MyTRC21Filterer) FilterExecutionFailure(opts *bind.FilterOpts, transactionId []*big.Int) (*MyTRC21ExecutionFailureIterator, error)

FilterExecutionFailure is a free log retrieval operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.

Solidity: event ExecutionFailure(transactionId indexed 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) FilterOwnerAddition

func (_MyTRC21 *MyTRC21Filterer) FilterOwnerAddition(opts *bind.FilterOpts, owner []common.Address) (*MyTRC21OwnerAdditionIterator, error)

FilterOwnerAddition is a free log retrieval operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.

Solidity: event OwnerAddition(owner indexed address)

func (*MyTRC21Filterer) FilterOwnerRemoval

func (_MyTRC21 *MyTRC21Filterer) FilterOwnerRemoval(opts *bind.FilterOpts, owner []common.Address) (*MyTRC21OwnerRemovalIterator, error)

FilterOwnerRemoval is a free log retrieval operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.

Solidity: event OwnerRemoval(owner indexed address)

func (*MyTRC21Filterer) FilterRequirementChange

func (_MyTRC21 *MyTRC21Filterer) FilterRequirementChange(opts *bind.FilterOpts) (*MyTRC21RequirementChangeIterator, error)

FilterRequirementChange is a free log retrieval operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.

Solidity: event RequirementChange(required uint256)

func (*MyTRC21Filterer) FilterRevocation

func (_MyTRC21 *MyTRC21Filterer) FilterRevocation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*MyTRC21RevocationIterator, error)

FilterRevocation is a free log retrieval operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.

Solidity: event Revocation(sender indexed address, transactionId indexed uint256)

func (*MyTRC21Filterer) FilterSubmission

func (_MyTRC21 *MyTRC21Filterer) FilterSubmission(opts *bind.FilterOpts, transactionId []*big.Int) (*MyTRC21SubmissionIterator, error)

FilterSubmission is a free log retrieval operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.

Solidity: event Submission(transactionId indexed uint256)

func (*MyTRC21Filterer) FilterTokenBurn

func (_MyTRC21 *MyTRC21Filterer) FilterTokenBurn(opts *bind.FilterOpts, burnID []*big.Int, burner []common.Address) (*MyTRC21TokenBurnIterator, error)

FilterTokenBurn is a free log retrieval operation binding the contract event 0x6905852b196f81e7e03058512a599446c358027fc943c1e193b6649a39379bb5.

Solidity: event TokenBurn(burnID indexed uint256, burner indexed address, value uint256, data bytes)

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

func (_MyTRC21 *MyTRC21Filterer) WatchConfirmation(opts *bind.WatchOpts, sink chan<- *MyTRC21Confirmation, sender []common.Address, transactionId []*big.Int) (event.Subscription, error)

WatchConfirmation is a free log subscription operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.

Solidity: event Confirmation(sender indexed address, transactionId indexed uint256)

func (*MyTRC21Filterer) WatchExecution

func (_MyTRC21 *MyTRC21Filterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *MyTRC21Execution, transactionId []*big.Int) (event.Subscription, error)

WatchExecution is a free log subscription operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.

Solidity: event Execution(transactionId indexed uint256)

func (*MyTRC21Filterer) WatchExecutionFailure

func (_MyTRC21 *MyTRC21Filterer) WatchExecutionFailure(opts *bind.WatchOpts, sink chan<- *MyTRC21ExecutionFailure, transactionId []*big.Int) (event.Subscription, error)

WatchExecutionFailure is a free log subscription operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.

Solidity: event ExecutionFailure(transactionId indexed 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) WatchOwnerAddition

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

WatchOwnerAddition is a free log subscription operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.

Solidity: event OwnerAddition(owner indexed address)

func (*MyTRC21Filterer) WatchOwnerRemoval

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

WatchOwnerRemoval is a free log subscription operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.

Solidity: event OwnerRemoval(owner indexed address)

func (*MyTRC21Filterer) WatchRequirementChange

func (_MyTRC21 *MyTRC21Filterer) WatchRequirementChange(opts *bind.WatchOpts, sink chan<- *MyTRC21RequirementChange) (event.Subscription, error)

WatchRequirementChange is a free log subscription operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.

Solidity: event RequirementChange(required uint256)

func (*MyTRC21Filterer) WatchRevocation

func (_MyTRC21 *MyTRC21Filterer) WatchRevocation(opts *bind.WatchOpts, sink chan<- *MyTRC21Revocation, sender []common.Address, transactionId []*big.Int) (event.Subscription, error)

WatchRevocation is a free log subscription operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.

Solidity: event Revocation(sender indexed address, transactionId indexed uint256)

func (*MyTRC21Filterer) WatchSubmission

func (_MyTRC21 *MyTRC21Filterer) WatchSubmission(opts *bind.WatchOpts, sink chan<- *MyTRC21Submission, transactionId []*big.Int) (event.Subscription, error)

WatchSubmission is a free log subscription operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.

Solidity: event Submission(transactionId indexed uint256)

func (*MyTRC21Filterer) WatchTokenBurn

func (_MyTRC21 *MyTRC21Filterer) WatchTokenBurn(opts *bind.WatchOpts, sink chan<- *MyTRC21TokenBurn, burnID []*big.Int, burner []common.Address) (event.Subscription, error)

WatchTokenBurn is a free log subscription operation binding the contract event 0x6905852b196f81e7e03058512a599446c358027fc943c1e193b6649a39379bb5.

Solidity: event TokenBurn(burnID indexed uint256, burner indexed address, value uint256, data bytes)

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 MyTRC21OwnerAddition

type MyTRC21OwnerAddition struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

MyTRC21OwnerAddition represents a OwnerAddition event raised by the MyTRC21 contract.

type MyTRC21OwnerAdditionIterator

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

MyTRC21OwnerAdditionIterator is returned from FilterOwnerAddition and is used to iterate over the raw logs and unpacked data for OwnerAddition events raised by the MyTRC21 contract.

func (*MyTRC21OwnerAdditionIterator) Close

func (it *MyTRC21OwnerAdditionIterator) Close() error

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

func (*MyTRC21OwnerAdditionIterator) Error

func (it *MyTRC21OwnerAdditionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21OwnerAdditionIterator) 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 MyTRC21OwnerRemoval

type MyTRC21OwnerRemoval struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

MyTRC21OwnerRemoval represents a OwnerRemoval event raised by the MyTRC21 contract.

type MyTRC21OwnerRemovalIterator

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

MyTRC21OwnerRemovalIterator is returned from FilterOwnerRemoval and is used to iterate over the raw logs and unpacked data for OwnerRemoval events raised by the MyTRC21 contract.

func (*MyTRC21OwnerRemovalIterator) Close

func (it *MyTRC21OwnerRemovalIterator) Close() error

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

func (*MyTRC21OwnerRemovalIterator) Error

func (it *MyTRC21OwnerRemovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21OwnerRemovalIterator) Next

func (it *MyTRC21OwnerRemovalIterator) 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 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 MyTRC21RequirementChange

type MyTRC21RequirementChange struct {
	Required *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MyTRC21RequirementChange represents a RequirementChange event raised by the MyTRC21 contract.

type MyTRC21RequirementChangeIterator

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

MyTRC21RequirementChangeIterator is returned from FilterRequirementChange and is used to iterate over the raw logs and unpacked data for RequirementChange events raised by the MyTRC21 contract.

func (*MyTRC21RequirementChangeIterator) Close

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

func (*MyTRC21RequirementChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21RequirementChangeIterator) 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 MyTRC21Revocation

type MyTRC21Revocation struct {
	Sender        common.Address
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MyTRC21Revocation represents a Revocation event raised by the MyTRC21 contract.

type MyTRC21RevocationIterator

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

MyTRC21RevocationIterator is returned from FilterRevocation and is used to iterate over the raw logs and unpacked data for Revocation events raised by the MyTRC21 contract.

func (*MyTRC21RevocationIterator) Close

func (it *MyTRC21RevocationIterator) Close() error

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

func (*MyTRC21RevocationIterator) Error

func (it *MyTRC21RevocationIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21RevocationIterator) Next

func (it *MyTRC21RevocationIterator) 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 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) AddOwner

func (_MyTRC21 *MyTRC21Session) AddOwner(owner common.Address) (*types.Transaction, error)

AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.

Solidity: function addOwner(owner address) returns()

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

func (_MyTRC21 *MyTRC21Session) Burn(value *big.Int, data []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xfe9d9303.

Solidity: function burn(value uint256, data bytes) returns()

func (*MyTRC21Session) BurnList

func (_MyTRC21 *MyTRC21Session) BurnList(arg0 *big.Int) (struct {
	Value  *big.Int
	Burner common.Address
	Data   []byte
}, error)

BurnList is a free data retrieval call binding the contract method 0x77661c64.

Solidity: function burnList( uint256) constant returns(value uint256, burner address, data bytes)

func (*MyTRC21Session) ChangeRequirement

func (_MyTRC21 *MyTRC21Session) ChangeRequirement(_required *big.Int) (*types.Transaction, error)

ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.

Solidity: function changeRequirement(_required uint256) returns()

func (*MyTRC21Session) ConfirmTransaction

func (_MyTRC21 *MyTRC21Session) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)

ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.

Solidity: function confirmTransaction(transactionId uint256) returns()

func (*MyTRC21Session) Confirmations

func (_MyTRC21 *MyTRC21Session) Confirmations(arg0 *big.Int, arg1 common.Address) (bool, error)

Confirmations is a free data retrieval call binding the contract method 0x3411c81c.

Solidity: function confirmations( uint256, address) constant returns(bool)

func (*MyTRC21Session) DEPOSITFEE

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

DEPOSITFEE is a free data retrieval call binding the contract method 0xde363e65.

Solidity: function DEPOSIT_FEE() 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) ExecuteTransaction

func (_MyTRC21 *MyTRC21Session) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)

ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.

Solidity: function executeTransaction(transactionId uint256) returns()

func (*MyTRC21Session) GetBurn

func (_MyTRC21 *MyTRC21Session) GetBurn(burnId *big.Int) (struct {
	Burner common.Address
	Value  *big.Int
	Data   []byte
}, error)

GetBurn is a free data retrieval call binding the contract method 0x2eb3f49b.

Solidity: function getBurn(burnId uint256) constant returns(_burner address, _value uint256, _data bytes)

func (*MyTRC21Session) GetBurnCount

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

GetBurnCount is a free data retrieval call binding the contract method 0xe7cf548c.

Solidity: function getBurnCount() constant returns(uint256)

func (*MyTRC21Session) GetConfirmationCount

func (_MyTRC21 *MyTRC21Session) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)

GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.

Solidity: function getConfirmationCount(transactionId uint256) constant returns(count uint256)

func (*MyTRC21Session) GetConfirmations

func (_MyTRC21 *MyTRC21Session) GetConfirmations(transactionId *big.Int) ([]common.Address, error)

GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.

Solidity: function getConfirmations(transactionId uint256) constant returns(_confirmations address[])

func (*MyTRC21Session) GetOwners

func (_MyTRC21 *MyTRC21Session) GetOwners() ([]common.Address, error)

GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.

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

func (*MyTRC21Session) GetTransactionCount

func (_MyTRC21 *MyTRC21Session) GetTransactionCount(pending bool, executed bool) (*big.Int, error)

GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.

Solidity: function getTransactionCount(pending bool, executed bool) constant returns(count uint256)

func (*MyTRC21Session) GetTransactionIds

func (_MyTRC21 *MyTRC21Session) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)

GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.

Solidity: function getTransactionIds(from uint256, to uint256, pending bool, executed bool) constant returns(_transactionIds uint256[])

func (*MyTRC21Session) IsConfirmed

func (_MyTRC21 *MyTRC21Session) IsConfirmed(transactionId *big.Int) (bool, error)

IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.

Solidity: function isConfirmed(transactionId uint256) constant returns(bool)

func (*MyTRC21Session) IsOwner

func (_MyTRC21 *MyTRC21Session) IsOwner(arg0 common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner( address) constant returns(bool)

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

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

MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.

Solidity: function MAX_OWNER_COUNT() constant returns(uint256)

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

func (_MyTRC21 *MyTRC21Session) Owners(arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

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

func (*MyTRC21Session) RemoveOwner

func (_MyTRC21 *MyTRC21Session) RemoveOwner(owner common.Address) (*types.Transaction, error)

RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.

Solidity: function removeOwner(owner address) returns()

func (*MyTRC21Session) ReplaceOwner

func (_MyTRC21 *MyTRC21Session) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)

ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.

Solidity: function replaceOwner(owner address, newOwner address) returns()

func (*MyTRC21Session) Required

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

Required is a free data retrieval call binding the contract method 0xdc8452cd.

Solidity: function required() constant returns(uint256)

func (*MyTRC21Session) RevokeConfirmation

func (_MyTRC21 *MyTRC21Session) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)

RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.

Solidity: function revokeConfirmation(transactionId uint256) returns()

func (*MyTRC21Session) SetDepositFee

func (_MyTRC21 *MyTRC21Session) SetDepositFee(depositFee *big.Int) (*types.Transaction, error)

SetDepositFee is a paid mutator transaction binding the contract method 0x490ae210.

Solidity: function setDepositFee(depositFee uint256) returns()

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

func (_MyTRC21 *MyTRC21Session) SetWithdrawFee(withdrawFee *big.Int) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0xb6ac642a.

Solidity: function setWithdrawFee(withdrawFee uint256) returns()

func (*MyTRC21Session) SubmitTransaction

func (_MyTRC21 *MyTRC21Session) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)

SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.

Solidity: function submitTransaction(destination address, value uint256, data bytes) returns(transactionId uint256)

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

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

TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.

Solidity: function transactionCount() constant returns(uint256)

func (*MyTRC21Session) Transactions

func (_MyTRC21 *MyTRC21Session) Transactions(arg0 *big.Int) (struct {
	Destination common.Address
	Value       *big.Int
	Data        []byte
	Executed    bool
}, error)

Transactions is a free data retrieval call binding the contract method 0x9ace38c2.

Solidity: function transactions( uint256) constant returns(destination address, value uint256, data bytes, executed bool)

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

func (_MyTRC21 *MyTRC21Session) TransferContractIssuer(newOwner common.Address) (*types.Transaction, error)

TransferContractIssuer is a paid mutator transaction binding the contract method 0xc28ce6ff.

Solidity: function transferContractIssuer(newOwner address) returns()

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)

func (*MyTRC21Session) WITHDRAWFEE

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

WITHDRAWFEE is a free data retrieval call binding the contract method 0x9bff5ddb.

Solidity: function WITHDRAW_FEE() constant returns(uint256)

type MyTRC21Submission

type MyTRC21Submission struct {
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MyTRC21Submission represents a Submission event raised by the MyTRC21 contract.

type MyTRC21SubmissionIterator

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

MyTRC21SubmissionIterator is returned from FilterSubmission and is used to iterate over the raw logs and unpacked data for Submission events raised by the MyTRC21 contract.

func (*MyTRC21SubmissionIterator) Close

func (it *MyTRC21SubmissionIterator) Close() error

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

func (*MyTRC21SubmissionIterator) Error

func (it *MyTRC21SubmissionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21SubmissionIterator) Next

func (it *MyTRC21SubmissionIterator) 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 MyTRC21TokenBurn

type MyTRC21TokenBurn struct {
	BurnID *big.Int
	Burner common.Address
	Value  *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

MyTRC21TokenBurn represents a TokenBurn event raised by the MyTRC21 contract.

type MyTRC21TokenBurnIterator

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

MyTRC21TokenBurnIterator is returned from FilterTokenBurn and is used to iterate over the raw logs and unpacked data for TokenBurn events raised by the MyTRC21 contract.

func (*MyTRC21TokenBurnIterator) Close

func (it *MyTRC21TokenBurnIterator) Close() error

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

func (*MyTRC21TokenBurnIterator) Error

func (it *MyTRC21TokenBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MyTRC21TokenBurnIterator) Next

func (it *MyTRC21TokenBurnIterator) 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 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) AddOwner

func (_MyTRC21 *MyTRC21Transactor) AddOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.

Solidity: function addOwner(owner address) returns()

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

func (_MyTRC21 *MyTRC21Transactor) Burn(opts *bind.TransactOpts, value *big.Int, data []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xfe9d9303.

Solidity: function burn(value uint256, data bytes) returns()

func (*MyTRC21Transactor) ChangeRequirement

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

ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.

Solidity: function changeRequirement(_required uint256) returns()

func (*MyTRC21Transactor) ConfirmTransaction

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

ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.

Solidity: function confirmTransaction(transactionId uint256) returns()

func (*MyTRC21Transactor) ExecuteTransaction

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

ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.

Solidity: function executeTransaction(transactionId uint256) returns()

func (*MyTRC21Transactor) RemoveOwner

func (_MyTRC21 *MyTRC21Transactor) RemoveOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.

Solidity: function removeOwner(owner address) returns()

func (*MyTRC21Transactor) ReplaceOwner

func (_MyTRC21 *MyTRC21Transactor) ReplaceOwner(opts *bind.TransactOpts, owner common.Address, newOwner common.Address) (*types.Transaction, error)

ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.

Solidity: function replaceOwner(owner address, newOwner address) returns()

func (*MyTRC21Transactor) RevokeConfirmation

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

RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.

Solidity: function revokeConfirmation(transactionId uint256) returns()

func (*MyTRC21Transactor) SetDepositFee

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

SetDepositFee is a paid mutator transaction binding the contract method 0x490ae210.

Solidity: function setDepositFee(depositFee uint256) returns()

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

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

SetWithdrawFee is a paid mutator transaction binding the contract method 0xb6ac642a.

Solidity: function setWithdrawFee(withdrawFee uint256) returns()

func (*MyTRC21Transactor) SubmitTransaction

func (_MyTRC21 *MyTRC21Transactor) SubmitTransaction(opts *bind.TransactOpts, destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)

SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.

Solidity: function submitTransaction(destination address, value uint256, data bytes) returns(transactionId uint256)

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

func (_MyTRC21 *MyTRC21Transactor) TransferContractIssuer(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferContractIssuer is a paid mutator transaction binding the contract method 0xc28ce6ff.

Solidity: function transferContractIssuer(newOwner address) returns()

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

func (_MyTRC21 *MyTRC21TransactorSession) AddOwner(owner common.Address) (*types.Transaction, error)

AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.

Solidity: function addOwner(owner address) returns()

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

func (_MyTRC21 *MyTRC21TransactorSession) Burn(value *big.Int, data []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xfe9d9303.

Solidity: function burn(value uint256, data bytes) returns()

func (*MyTRC21TransactorSession) ChangeRequirement

func (_MyTRC21 *MyTRC21TransactorSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)

ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.

Solidity: function changeRequirement(_required uint256) returns()

func (*MyTRC21TransactorSession) ConfirmTransaction

func (_MyTRC21 *MyTRC21TransactorSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)

ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.

Solidity: function confirmTransaction(transactionId uint256) returns()

func (*MyTRC21TransactorSession) ExecuteTransaction

func (_MyTRC21 *MyTRC21TransactorSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)

ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.

Solidity: function executeTransaction(transactionId uint256) returns()

func (*MyTRC21TransactorSession) RemoveOwner

func (_MyTRC21 *MyTRC21TransactorSession) RemoveOwner(owner common.Address) (*types.Transaction, error)

RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.

Solidity: function removeOwner(owner address) returns()

func (*MyTRC21TransactorSession) ReplaceOwner

func (_MyTRC21 *MyTRC21TransactorSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)

ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.

Solidity: function replaceOwner(owner address, newOwner address) returns()

func (*MyTRC21TransactorSession) RevokeConfirmation

func (_MyTRC21 *MyTRC21TransactorSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)

RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.

Solidity: function revokeConfirmation(transactionId uint256) returns()

func (*MyTRC21TransactorSession) SetDepositFee

func (_MyTRC21 *MyTRC21TransactorSession) SetDepositFee(depositFee *big.Int) (*types.Transaction, error)

SetDepositFee is a paid mutator transaction binding the contract method 0x490ae210.

Solidity: function setDepositFee(depositFee uint256) returns()

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

func (_MyTRC21 *MyTRC21TransactorSession) SetWithdrawFee(withdrawFee *big.Int) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0xb6ac642a.

Solidity: function setWithdrawFee(withdrawFee uint256) returns()

func (*MyTRC21TransactorSession) SubmitTransaction

func (_MyTRC21 *MyTRC21TransactorSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)

SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.

Solidity: function submitTransaction(destination address, value uint256, data bytes) returns(transactionId uint256)

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

func (_MyTRC21 *MyTRC21TransactorSession) TransferContractIssuer(newOwner common.Address) (*types.Transaction, error)

TransferContractIssuer is a paid mutator transaction binding the contract method 0xc28ce6ff.

Solidity: function transferContractIssuer(newOwner address) returns()

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, XDCxListing common.Address, 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) ActiveRelayerCount

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

ActiveRelayerCount is a free data retrieval call binding the contract method 0x735db683.

Solidity: function ActiveRelayerCount() constant returns(uint256)

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

func (_RelayerRegistration *RelayerRegistrationCaller) RELAYERLIST(opts *bind.CallOpts, arg0 common.Address) (struct {
	Deposit  *big.Int
	TradeFee uint16
	Index    *big.Int
	Owner    common.Address
}, error)

RELAYERLIST is a free data retrieval call binding the contract method 0x49ba1f70.

Solidity: function RELAYER_LIST( address) constant returns(_deposit uint256, _tradeFee uint16, _index uint256, _owner 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) RESIGNREQUESTS

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

RESIGNREQUESTS is a free data retrieval call binding the contract method 0x500f99f7.

Solidity: function RESIGN_REQUESTS( 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) ActiveRelayerCount

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

ActiveRelayerCount is a free data retrieval call binding the contract method 0x735db683.

Solidity: function ActiveRelayerCount() constant returns(uint256)

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

func (_RelayerRegistration *RelayerRegistrationCallerSession) RELAYERLIST(arg0 common.Address) (struct {
	Deposit  *big.Int
	TradeFee uint16
	Index    *big.Int
	Owner    common.Address
}, error)

RELAYERLIST is a free data retrieval call binding the contract method 0x49ba1f70.

Solidity: function RELAYER_LIST( address) constant returns(_deposit uint256, _tradeFee uint16, _index uint256, _owner 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) RESIGNREQUESTS

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

RESIGNREQUESTS is a free data retrieval call binding the contract method 0x500f99f7.

Solidity: function RESIGN_REQUESTS( 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) FilterUpdateFeeEvent

func (_RelayerRegistration *RelayerRegistrationFilterer) FilterUpdateFeeEvent(opts *bind.FilterOpts) (*RelayerRegistrationUpdateFeeEventIterator, error)

FilterUpdateFeeEvent is a free log retrieval operation binding the contract event 0x5a4f79c1a68f4f5ef7148ac4f279a5a6caeb3237082c64f692e92c9e02ffc459.

Solidity: event UpdateFeeEvent(coinbase address, tradeFee uint16)

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[])

func (*RelayerRegistrationFilterer) WatchUpdateFeeEvent

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

WatchUpdateFeeEvent is a free log subscription operation binding the contract event 0x5a4f79c1a68f4f5ef7148ac4f279a5a6caeb3237082c64f692e92c9e02ffc459.

Solidity: event UpdateFeeEvent(coinbase address, tradeFee uint16)

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

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

ActiveRelayerCount is a free data retrieval call binding the contract method 0x735db683.

Solidity: function ActiveRelayerCount() constant returns(uint256)

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

func (_RelayerRegistration *RelayerRegistrationSession) ChangeContractOwner(owner common.Address) (*types.Transaction, error)

ChangeContractOwner is a paid mutator transaction binding the contract method 0x3ead67b5.

Solidity: function changeContractOwner(owner address) returns()

func (*RelayerRegistrationSession) DeListToken

func (_RelayerRegistration *RelayerRegistrationSession) DeListToken(coinbase common.Address, fromToken common.Address, toToken common.Address) (*types.Transaction, error)

DeListToken is a paid mutator transaction binding the contract method 0x7aa66730.

Solidity: function deListToken(coinbase address, fromToken address, toToken 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) ListToken

func (_RelayerRegistration *RelayerRegistrationSession) ListToken(coinbase common.Address, fromToken common.Address, toToken common.Address) (*types.Transaction, error)

ListToken is a paid mutator transaction binding the contract method 0x08764b9d.

Solidity: function listToken(coinbase address, fromToken address, toToken address) returns()

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

func (_RelayerRegistration *RelayerRegistrationSession) RELAYERLIST(arg0 common.Address) (struct {
	Deposit  *big.Int
	TradeFee uint16
	Index    *big.Int
	Owner    common.Address
}, error)

RELAYERLIST is a free data retrieval call binding the contract method 0x49ba1f70.

Solidity: function RELAYER_LIST( address) constant returns(_deposit uint256, _tradeFee uint16, _index uint256, _owner 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) RESIGNREQUESTS

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

RESIGNREQUESTS is a free data retrieval call binding the contract method 0x500f99f7.

Solidity: function RESIGN_REQUESTS( 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()

func (*RelayerRegistrationSession) UpdateFee

func (_RelayerRegistration *RelayerRegistrationSession) UpdateFee(coinbase common.Address, tradeFee uint16) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x3ea2391f.

Solidity: function updateFee(coinbase address, tradeFee uint16) 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) ChangeContractOwner

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

ChangeContractOwner is a paid mutator transaction binding the contract method 0x3ead67b5.

Solidity: function changeContractOwner(owner address) returns()

func (*RelayerRegistrationTransactor) DeListToken

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

DeListToken is a paid mutator transaction binding the contract method 0x7aa66730.

Solidity: function deListToken(coinbase address, fromToken address, toToken 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) ListToken

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

ListToken is a paid mutator transaction binding the contract method 0x08764b9d.

Solidity: function listToken(coinbase address, fromToken address, toToken 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()

func (*RelayerRegistrationTransactor) UpdateFee

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

UpdateFee is a paid mutator transaction binding the contract method 0x3ea2391f.

Solidity: function updateFee(coinbase address, tradeFee uint16) 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) ChangeContractOwner

func (_RelayerRegistration *RelayerRegistrationTransactorSession) ChangeContractOwner(owner common.Address) (*types.Transaction, error)

ChangeContractOwner is a paid mutator transaction binding the contract method 0x3ead67b5.

Solidity: function changeContractOwner(owner address) returns()

func (*RelayerRegistrationTransactorSession) DeListToken

func (_RelayerRegistration *RelayerRegistrationTransactorSession) DeListToken(coinbase common.Address, fromToken common.Address, toToken common.Address) (*types.Transaction, error)

DeListToken is a paid mutator transaction binding the contract method 0x7aa66730.

Solidity: function deListToken(coinbase address, fromToken address, toToken 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) ListToken

func (_RelayerRegistration *RelayerRegistrationTransactorSession) ListToken(coinbase common.Address, fromToken common.Address, toToken common.Address) (*types.Transaction, error)

ListToken is a paid mutator transaction binding the contract method 0x08764b9d.

Solidity: function listToken(coinbase address, fromToken address, toToken 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()

func (*RelayerRegistrationTransactorSession) UpdateFee

func (_RelayerRegistration *RelayerRegistrationTransactorSession) UpdateFee(coinbase common.Address, tradeFee uint16) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x3ea2391f.

Solidity: function updateFee(coinbase address, tradeFee uint16) 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 RelayerRegistrationUpdateFeeEvent

type RelayerRegistrationUpdateFeeEvent struct {
	Coinbase common.Address
	TradeFee uint16
	Raw      types.Log // Blockchain specific contextual infos
}

RelayerRegistrationUpdateFeeEvent represents a UpdateFeeEvent event raised by the RelayerRegistration contract.

type RelayerRegistrationUpdateFeeEventIterator

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

RelayerRegistrationUpdateFeeEventIterator is returned from FilterUpdateFeeEvent and is used to iterate over the raw logs and unpacked data for UpdateFeeEvent events raised by the RelayerRegistration contract.

func (*RelayerRegistrationUpdateFeeEventIterator) Close

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

func (*RelayerRegistrationUpdateFeeEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RelayerRegistrationUpdateFeeEventIterator) 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 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, name string, symbol string, decimals uint8) (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) Decimals

func (_TRC21 *TRC21Caller) 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 (*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) Name

func (_TRC21 *TRC21Caller) 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 (*TRC21Caller) Symbol

func (_TRC21 *TRC21Caller) 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 (*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) Decimals

func (_TRC21 *TRC21CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

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

func (_TRC21 *TRC21CallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TRC21CallerSession) Symbol

func (_TRC21 *TRC21CallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

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

func (_TRC21 *TRC21Session) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

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

func (_TRC21 *TRC21Session) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TRC21Session) SetMinFee

func (_TRC21 *TRC21Session) 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 (*TRC21Session) Symbol

func (_TRC21 *TRC21Session) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

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

func (_TRC21 *TRC21Transactor) 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 (*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) SetMinFee

func (_TRC21 *TRC21TransactorSession) 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 (*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.

type XDCXListing

type XDCXListing struct {
	XDCXListingCaller     // Read-only binding to the contract
	XDCXListingTransactor // Write-only binding to the contract
	XDCXListingFilterer   // Log filterer for contract events
}

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

func DeployXDCXListing

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

DeployXDCXListing deploys a new Ethereum contract, binding an instance of XDCXListing to it.

func NewXDCXListing

func NewXDCXListing(address common.Address, backend bind.ContractBackend) (*XDCXListing, error)

NewXDCXListing creates a new instance of XDCXListing, bound to a specific deployed contract.

type XDCXListingCaller

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

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

func NewXDCXListingCaller

func NewXDCXListingCaller(address common.Address, caller bind.ContractCaller) (*XDCXListingCaller, error)

NewXDCXListingCaller creates a new read-only instance of XDCXListing, bound to a specific deployed contract.

func (*XDCXListingCaller) GetTokenStatus

func (_XDCXListing *XDCXListingCaller) 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 (*XDCXListingCaller) Tokens

func (_XDCXListing *XDCXListingCaller) 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 XDCXListingCallerRaw

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

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

func (*XDCXListingCallerRaw) Call

func (_XDCXListing *XDCXListingCallerRaw) 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 XDCXListingCallerSession

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

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

func (*XDCXListingCallerSession) GetTokenStatus

func (_XDCXListing *XDCXListingCallerSession) 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 (*XDCXListingCallerSession) Tokens

func (_XDCXListing *XDCXListingCallerSession) Tokens() ([]common.Address, error)

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

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

type XDCXListingFilterer

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

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

func NewXDCXListingFilterer

func NewXDCXListingFilterer(address common.Address, filterer bind.ContractFilterer) (*XDCXListingFilterer, error)

NewXDCXListingFilterer creates a new log filterer instance of XDCXListing, bound to a specific deployed contract.

type XDCXListingRaw

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

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

func (*XDCXListingRaw) Call

func (_XDCXListing *XDCXListingRaw) 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 (*XDCXListingRaw) Transact

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

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

func (*XDCXListingRaw) Transfer

func (_XDCXListing *XDCXListingRaw) 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 XDCXListingSession

type XDCXListingSession struct {
	Contract     *XDCXListing      // 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
}

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

func (*XDCXListingSession) Apply

func (_XDCXListing *XDCXListingSession) 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 (*XDCXListingSession) GetTokenStatus

func (_XDCXListing *XDCXListingSession) 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 (*XDCXListingSession) Tokens

func (_XDCXListing *XDCXListingSession) Tokens() ([]common.Address, error)

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

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

type XDCXListingTransactor

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

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

func NewXDCXListingTransactor

func NewXDCXListingTransactor(address common.Address, transactor bind.ContractTransactor) (*XDCXListingTransactor, error)

NewXDCXListingTransactor creates a new write-only instance of XDCXListing, bound to a specific deployed contract.

func (*XDCXListingTransactor) Apply

func (_XDCXListing *XDCXListingTransactor) 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 XDCXListingTransactorRaw

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

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

func (*XDCXListingTransactorRaw) Transact

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

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

func (*XDCXListingTransactorRaw) Transfer

func (_XDCXListing *XDCXListingTransactorRaw) 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 XDCXListingTransactorSession

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

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

func (*XDCXListingTransactorSession) Apply

func (_XDCXListing *XDCXListingTransactorSession) Apply(token common.Address) (*types.Transaction, error)

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

Solidity: function apply(token address) returns()

Jump to

Keyboard shortcuts

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