tokens

package
v0.0.0-...-5589fd4 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ERC20TokenABI = "" /* 2011-byte string literal not displayed */

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

View Source
const ERC20TokenBin = `` /* 2116-byte string literal not displayed */

ERC20TokenBin is the compiled bytecode used for deploying new contracts.

View Source
const TokenABI = "" /* 1832-byte string literal not displayed */

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

View Source
const TokenBin = `` /* 898-byte string literal not displayed */

TokenBin is the compiled bytecode used for deploying new contracts.

View Source
const UnlimitedAllowanceTokenABI = "" /* 2011-byte string literal not displayed */

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

View Source
const UnlimitedAllowanceTokenBin = `` /* 2194-byte string literal not displayed */

UnlimitedAllowanceTokenBin is the compiled bytecode used for deploying new contracts.

View Source
const WETH9ABI = "" /* 3261-byte string literal not displayed */

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

View Source
const WETH9Bin = `` /* 3968-byte string literal not displayed */

WETH9Bin is the compiled bytecode used for deploying new contracts.

View Source
const ZRXTokenABI = "" /* 2623-byte string literal not displayed */

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

View Source
const ZRXTokenBin = `` /* 2964-byte string literal not displayed */

ZRXTokenBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC20Token

type ERC20Token struct {
	ERC20TokenCaller     // Read-only binding to the contract
	ERC20TokenTransactor // Write-only binding to the contract
	ERC20TokenFilterer   // Log filterer for contract events
}

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

func DeployERC20Token

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

DeployERC20Token deploys a new Ethereum contract, binding an instance of ERC20Token to it.

func NewERC20Token

func NewERC20Token(address common.Address, backend bind.ContractBackend) (*ERC20Token, error)

NewERC20Token creates a new instance of ERC20Token, bound to a specific deployed contract.

type ERC20TokenApproval

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

ERC20TokenApproval represents a Approval event raised by the ERC20Token contract.

type ERC20TokenApprovalIterator

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

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

func (*ERC20TokenApprovalIterator) Close

func (it *ERC20TokenApprovalIterator) Close() error

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

func (*ERC20TokenApprovalIterator) Error

func (it *ERC20TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TokenApprovalIterator) Next

func (it *ERC20TokenApprovalIterator) 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 ERC20TokenCaller

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

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

func NewERC20TokenCaller

func NewERC20TokenCaller(address common.Address, caller bind.ContractCaller) (*ERC20TokenCaller, error)

NewERC20TokenCaller creates a new read-only instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenCaller) Allowance

func (_ERC20Token *ERC20TokenCaller) 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(address _owner, address _spender) constant returns(uint256)

func (*ERC20TokenCaller) BalanceOf

func (_ERC20Token *ERC20TokenCaller) 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(address _owner) constant returns(uint256)

func (*ERC20TokenCaller) TotalSupply

func (_ERC20Token *ERC20TokenCaller) 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 ERC20TokenCallerRaw

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

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

func (*ERC20TokenCallerRaw) Call

func (_ERC20Token *ERC20TokenCallerRaw) 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 ERC20TokenCallerSession

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

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

func (*ERC20TokenCallerSession) Allowance

func (_ERC20Token *ERC20TokenCallerSession) 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(address _owner, address _spender) constant returns(uint256)

func (*ERC20TokenCallerSession) BalanceOf

func (_ERC20Token *ERC20TokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*ERC20TokenCallerSession) TotalSupply

func (_ERC20Token *ERC20TokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20TokenFilterer

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

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

func NewERC20TokenFilterer

func NewERC20TokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20TokenFilterer, error)

NewERC20TokenFilterer creates a new log filterer instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenFilterer) FilterApproval

func (_ERC20Token *ERC20TokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ERC20TokenApprovalIterator, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*ERC20TokenFilterer) FilterTransfer

func (_ERC20Token *ERC20TokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ERC20TokenTransferIterator, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*ERC20TokenFilterer) WatchApproval

func (_ERC20Token *ERC20TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20TokenApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*ERC20TokenFilterer) WatchTransfer

func (_ERC20Token *ERC20TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20TokenTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

type ERC20TokenRaw

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

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

func (*ERC20TokenRaw) Call

func (_ERC20Token *ERC20TokenRaw) 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 (*ERC20TokenRaw) Transact

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

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

func (*ERC20TokenRaw) Transfer

func (_ERC20Token *ERC20TokenRaw) 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 ERC20TokenSession

type ERC20TokenSession struct {
	Contract     *ERC20Token       // 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
}

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

func (*ERC20TokenSession) Allowance

func (_ERC20Token *ERC20TokenSession) 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(address _owner, address _spender) constant returns(uint256)

func (*ERC20TokenSession) Approve

func (_ERC20Token *ERC20TokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20TokenSession) BalanceOf

func (_ERC20Token *ERC20TokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*ERC20TokenSession) TotalSupply

func (_ERC20Token *ERC20TokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20TokenSession) Transfer

func (_ERC20Token *ERC20TokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20TokenSession) TransferFrom

func (_ERC20Token *ERC20TokenSession) 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(address _from, address _to, uint256 _value) returns(bool)

type ERC20TokenTransactor

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

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

func NewERC20TokenTransactor

func NewERC20TokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20TokenTransactor, error)

NewERC20TokenTransactor creates a new write-only instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenTransactor) Approve

func (_ERC20Token *ERC20TokenTransactor) 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(address _spender, uint256 _value) returns(bool)

func (*ERC20TokenTransactor) Transfer

func (_ERC20Token *ERC20TokenTransactor) 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(address _to, uint256 _value) returns(bool)

func (*ERC20TokenTransactor) TransferFrom

func (_ERC20Token *ERC20TokenTransactor) 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(address _from, address _to, uint256 _value) returns(bool)

type ERC20TokenTransactorRaw

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

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

func (*ERC20TokenTransactorRaw) Transact

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

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

func (*ERC20TokenTransactorRaw) Transfer

func (_ERC20Token *ERC20TokenTransactorRaw) 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 ERC20TokenTransactorSession

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

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

func (*ERC20TokenTransactorSession) Approve

func (_ERC20Token *ERC20TokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20TokenTransactorSession) Transfer

func (_ERC20Token *ERC20TokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20TokenTransactorSession) TransferFrom

func (_ERC20Token *ERC20TokenTransactorSession) 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(address _from, address _to, uint256 _value) returns(bool)

type ERC20TokenTransfer

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

ERC20TokenTransfer represents a Transfer event raised by the ERC20Token contract.

type ERC20TokenTransferIterator

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

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

func (*ERC20TokenTransferIterator) Close

func (it *ERC20TokenTransferIterator) Close() error

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

func (*ERC20TokenTransferIterator) Error

func (it *ERC20TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TokenTransferIterator) Next

func (it *ERC20TokenTransferIterator) 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 Token

type Token struct {
	TokenCaller     // Read-only binding to the contract
	TokenTransactor // Write-only binding to the contract
	TokenFilterer   // Log filterer for contract events
}

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

func DeployToken

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

DeployToken deploys a new Ethereum contract, binding an instance of Token to it.

func NewToken

func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error)

NewToken creates a new instance of Token, bound to a specific deployed contract.

type TokenApproval

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

TokenApproval represents a Approval event raised by the Token contract.

type TokenApprovalIterator

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

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

func (*TokenApprovalIterator) Close

func (it *TokenApprovalIterator) Close() error

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

func (*TokenApprovalIterator) Error

func (it *TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenApprovalIterator) Next

func (it *TokenApprovalIterator) 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 TokenCaller

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

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

func NewTokenCaller

func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)

NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.

func (*TokenCaller) Allowance

func (_Token *TokenCaller) 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(address _owner, address _spender) constant returns(uint256)

func (*TokenCaller) BalanceOf

func (_Token *TokenCaller) 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(address _owner) constant returns(uint256)

type TokenCallerRaw

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

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

func (*TokenCallerRaw) Call

func (_Token *TokenCallerRaw) 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 TokenCallerSession

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

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

func (*TokenCallerSession) Allowance

func (_Token *TokenCallerSession) 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(address _owner, address _spender) constant returns(uint256)

func (*TokenCallerSession) BalanceOf

func (_Token *TokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

type TokenFilterer

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

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

func NewTokenFilterer

func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)

NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.

func (*TokenFilterer) FilterApproval

func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*TokenApprovalIterator, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*TokenFilterer) FilterTransfer

func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*TokenTransferIterator, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*TokenFilterer) WatchApproval

func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*TokenFilterer) WatchTransfer

func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

type TokenRaw

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

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

func (*TokenRaw) Call

func (_Token *TokenRaw) 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 (*TokenRaw) Transact

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

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

func (*TokenRaw) Transfer

func (_Token *TokenRaw) 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 TokenSession

type TokenSession struct {
	Contract     *Token            // 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
}

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

func (*TokenSession) Allowance

func (_Token *TokenSession) 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(address _owner, address _spender) constant returns(uint256)

func (*TokenSession) Approve

func (_Token *TokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*TokenSession) BalanceOf

func (_Token *TokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*TokenSession) Transfer

func (_Token *TokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*TokenSession) TransferFrom

func (_Token *TokenSession) 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(address _from, address _to, uint256 _value) returns(bool)

type TokenTransactor

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

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

func NewTokenTransactor

func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)

NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.

func (*TokenTransactor) Approve

func (_Token *TokenTransactor) 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(address _spender, uint256 _value) returns(bool)

func (*TokenTransactor) Transfer

func (_Token *TokenTransactor) 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(address _to, uint256 _value) returns(bool)

func (*TokenTransactor) TransferFrom

func (_Token *TokenTransactor) 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(address _from, address _to, uint256 _value) returns(bool)

type TokenTransactorRaw

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

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

func (*TokenTransactorRaw) Transact

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

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

func (*TokenTransactorRaw) Transfer

func (_Token *TokenTransactorRaw) 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 TokenTransactorSession

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

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

func (*TokenTransactorSession) Approve

func (_Token *TokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*TokenTransactorSession) Transfer

func (_Token *TokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*TokenTransactorSession) TransferFrom

func (_Token *TokenTransactorSession) 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(address _from, address _to, uint256 _value) returns(bool)

type TokenTransfer

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

TokenTransfer represents a Transfer event raised by the Token contract.

type TokenTransferIterator

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

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

func (*TokenTransferIterator) Close

func (it *TokenTransferIterator) Close() error

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

func (*TokenTransferIterator) Error

func (it *TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTransferIterator) Next

func (it *TokenTransferIterator) 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 UnlimitedAllowanceToken

type UnlimitedAllowanceToken struct {
	UnlimitedAllowanceTokenCaller     // Read-only binding to the contract
	UnlimitedAllowanceTokenTransactor // Write-only binding to the contract
	UnlimitedAllowanceTokenFilterer   // Log filterer for contract events
}

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

func DeployUnlimitedAllowanceToken

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

DeployUnlimitedAllowanceToken deploys a new Ethereum contract, binding an instance of UnlimitedAllowanceToken to it.

func NewUnlimitedAllowanceToken

func NewUnlimitedAllowanceToken(address common.Address, backend bind.ContractBackend) (*UnlimitedAllowanceToken, error)

NewUnlimitedAllowanceToken creates a new instance of UnlimitedAllowanceToken, bound to a specific deployed contract.

type UnlimitedAllowanceTokenApproval

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

UnlimitedAllowanceTokenApproval represents a Approval event raised by the UnlimitedAllowanceToken contract.

type UnlimitedAllowanceTokenApprovalIterator

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

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

func (*UnlimitedAllowanceTokenApprovalIterator) Close

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

func (*UnlimitedAllowanceTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnlimitedAllowanceTokenApprovalIterator) 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 UnlimitedAllowanceTokenCaller

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

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

func NewUnlimitedAllowanceTokenCaller

func NewUnlimitedAllowanceTokenCaller(address common.Address, caller bind.ContractCaller) (*UnlimitedAllowanceTokenCaller, error)

NewUnlimitedAllowanceTokenCaller creates a new read-only instance of UnlimitedAllowanceToken, bound to a specific deployed contract.

func (*UnlimitedAllowanceTokenCaller) Allowance

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenCaller) 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(address _owner, address _spender) constant returns(uint256)

func (*UnlimitedAllowanceTokenCaller) BalanceOf

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenCaller) 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(address _owner) constant returns(uint256)

func (*UnlimitedAllowanceTokenCaller) TotalSupply

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenCaller) 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 UnlimitedAllowanceTokenCallerRaw

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

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

func (*UnlimitedAllowanceTokenCallerRaw) Call

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenCallerRaw) 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 UnlimitedAllowanceTokenCallerSession

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

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

func (*UnlimitedAllowanceTokenCallerSession) Allowance

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenCallerSession) 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(address _owner, address _spender) constant returns(uint256)

func (*UnlimitedAllowanceTokenCallerSession) BalanceOf

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*UnlimitedAllowanceTokenCallerSession) TotalSupply

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type UnlimitedAllowanceTokenFilterer

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

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

func NewUnlimitedAllowanceTokenFilterer

func NewUnlimitedAllowanceTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*UnlimitedAllowanceTokenFilterer, error)

NewUnlimitedAllowanceTokenFilterer creates a new log filterer instance of UnlimitedAllowanceToken, bound to a specific deployed contract.

func (*UnlimitedAllowanceTokenFilterer) FilterApproval

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*UnlimitedAllowanceTokenApprovalIterator, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*UnlimitedAllowanceTokenFilterer) FilterTransfer

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*UnlimitedAllowanceTokenTransferIterator, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*UnlimitedAllowanceTokenFilterer) WatchApproval

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UnlimitedAllowanceTokenApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*UnlimitedAllowanceTokenFilterer) WatchTransfer

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UnlimitedAllowanceTokenTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

type UnlimitedAllowanceTokenRaw

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

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

func (*UnlimitedAllowanceTokenRaw) Call

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenRaw) 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 (*UnlimitedAllowanceTokenRaw) Transact

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

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

func (*UnlimitedAllowanceTokenRaw) Transfer

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenRaw) 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 UnlimitedAllowanceTokenSession

type UnlimitedAllowanceTokenSession struct {
	Contract     *UnlimitedAllowanceToken // 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
}

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

func (*UnlimitedAllowanceTokenSession) Allowance

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenSession) 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(address _owner, address _spender) constant returns(uint256)

func (*UnlimitedAllowanceTokenSession) Approve

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*UnlimitedAllowanceTokenSession) BalanceOf

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*UnlimitedAllowanceTokenSession) TotalSupply

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*UnlimitedAllowanceTokenSession) Transfer

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*UnlimitedAllowanceTokenSession) TransferFrom

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenSession) 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(address _from, address _to, uint256 _value) returns(bool)

type UnlimitedAllowanceTokenTransactor

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

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

func NewUnlimitedAllowanceTokenTransactor

func NewUnlimitedAllowanceTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*UnlimitedAllowanceTokenTransactor, error)

NewUnlimitedAllowanceTokenTransactor creates a new write-only instance of UnlimitedAllowanceToken, bound to a specific deployed contract.

func (*UnlimitedAllowanceTokenTransactor) Approve

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenTransactor) 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(address _spender, uint256 _value) returns(bool)

func (*UnlimitedAllowanceTokenTransactor) Transfer

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenTransactor) 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(address _to, uint256 _value) returns(bool)

func (*UnlimitedAllowanceTokenTransactor) TransferFrom

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenTransactor) 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(address _from, address _to, uint256 _value) returns(bool)

type UnlimitedAllowanceTokenTransactorRaw

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

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

func (*UnlimitedAllowanceTokenTransactorRaw) Transact

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

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

func (*UnlimitedAllowanceTokenTransactorRaw) Transfer

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenTransactorRaw) 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 UnlimitedAllowanceTokenTransactorSession

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

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

func (*UnlimitedAllowanceTokenTransactorSession) Approve

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*UnlimitedAllowanceTokenTransactorSession) Transfer

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*UnlimitedAllowanceTokenTransactorSession) TransferFrom

func (_UnlimitedAllowanceToken *UnlimitedAllowanceTokenTransactorSession) 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(address _from, address _to, uint256 _value) returns(bool)

type UnlimitedAllowanceTokenTransfer

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

UnlimitedAllowanceTokenTransfer represents a Transfer event raised by the UnlimitedAllowanceToken contract.

type UnlimitedAllowanceTokenTransferIterator

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

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

func (*UnlimitedAllowanceTokenTransferIterator) Close

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

func (*UnlimitedAllowanceTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnlimitedAllowanceTokenTransferIterator) 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 WETH9

type WETH9 struct {
	WETH9Caller     // Read-only binding to the contract
	WETH9Transactor // Write-only binding to the contract
	WETH9Filterer   // Log filterer for contract events
}

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

func DeployWETH9

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

DeployWETH9 deploys a new Ethereum contract, binding an instance of WETH9 to it.

func NewWETH9

func NewWETH9(address common.Address, backend bind.ContractBackend) (*WETH9, error)

NewWETH9 creates a new instance of WETH9, bound to a specific deployed contract.

type WETH9Approval

type WETH9Approval struct {
	Src common.Address
	Guy common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

WETH9Approval represents a Approval event raised by the WETH9 contract.

type WETH9ApprovalIterator

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

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

func (*WETH9ApprovalIterator) Close

func (it *WETH9ApprovalIterator) Close() error

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

func (*WETH9ApprovalIterator) Error

func (it *WETH9ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WETH9ApprovalIterator) Next

func (it *WETH9ApprovalIterator) 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 WETH9Caller

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

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

func NewWETH9Caller

func NewWETH9Caller(address common.Address, caller bind.ContractCaller) (*WETH9Caller, error)

NewWETH9Caller creates a new read-only instance of WETH9, bound to a specific deployed contract.

func (*WETH9Caller) Allowance

func (_WETH9 *WETH9Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*WETH9Caller) BalanceOf

func (_WETH9 *WETH9Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

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

func (*WETH9Caller) Decimals

func (_WETH9 *WETH9Caller) 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 (*WETH9Caller) Name

func (_WETH9 *WETH9Caller) 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 (*WETH9Caller) Symbol

func (_WETH9 *WETH9Caller) 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 (*WETH9Caller) TotalSupply

func (_WETH9 *WETH9Caller) 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 WETH9CallerRaw

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

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

func (*WETH9CallerRaw) Call

func (_WETH9 *WETH9CallerRaw) 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 WETH9CallerSession

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

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

func (*WETH9CallerSession) Allowance

func (_WETH9 *WETH9CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*WETH9CallerSession) BalanceOf

func (_WETH9 *WETH9CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*WETH9CallerSession) Decimals

func (_WETH9 *WETH9CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*WETH9CallerSession) Name

func (_WETH9 *WETH9CallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*WETH9CallerSession) Symbol

func (_WETH9 *WETH9CallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*WETH9CallerSession) TotalSupply

func (_WETH9 *WETH9CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type WETH9Deposit

type WETH9Deposit struct {
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

WETH9Deposit represents a Deposit event raised by the WETH9 contract.

type WETH9DepositIterator

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

WETH9DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WETH9 contract.

func (*WETH9DepositIterator) Close

func (it *WETH9DepositIterator) Close() error

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

func (*WETH9DepositIterator) Error

func (it *WETH9DepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WETH9DepositIterator) Next

func (it *WETH9DepositIterator) 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 WETH9Filterer

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

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

func NewWETH9Filterer

func NewWETH9Filterer(address common.Address, filterer bind.ContractFilterer) (*WETH9Filterer, error)

NewWETH9Filterer creates a new log filterer instance of WETH9, bound to a specific deployed contract.

func (*WETH9Filterer) FilterApproval

func (_WETH9 *WETH9Filterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*WETH9ApprovalIterator, error)

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

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*WETH9Filterer) FilterDeposit

func (_WETH9 *WETH9Filterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*WETH9DepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*WETH9Filterer) FilterTransfer

func (_WETH9 *WETH9Filterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*WETH9TransferIterator, error)

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

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*WETH9Filterer) FilterWithdrawal

func (_WETH9 *WETH9Filterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*WETH9WithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

func (*WETH9Filterer) WatchApproval

func (_WETH9 *WETH9Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WETH9Approval, src []common.Address, guy []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*WETH9Filterer) WatchDeposit

func (_WETH9 *WETH9Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WETH9Deposit, dst []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*WETH9Filterer) WatchTransfer

func (_WETH9 *WETH9Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WETH9Transfer, src []common.Address, dst []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*WETH9Filterer) WatchWithdrawal

func (_WETH9 *WETH9Filterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WETH9Withdrawal, src []common.Address) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

type WETH9Raw

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

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

func (*WETH9Raw) Call

func (_WETH9 *WETH9Raw) 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 (*WETH9Raw) Transact

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

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

func (*WETH9Raw) Transfer

func (_WETH9 *WETH9Raw) 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 WETH9Session

type WETH9Session struct {
	Contract     *WETH9            // 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
}

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

func (*WETH9Session) Allowance

func (_WETH9 *WETH9Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*WETH9Session) Approve

func (_WETH9 *WETH9Session) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*WETH9Session) BalanceOf

func (_WETH9 *WETH9Session) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*WETH9Session) Decimals

func (_WETH9 *WETH9Session) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*WETH9Session) Deposit

func (_WETH9 *WETH9Session) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns()

func (*WETH9Session) Name

func (_WETH9 *WETH9Session) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*WETH9Session) Symbol

func (_WETH9 *WETH9Session) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*WETH9Session) TotalSupply

func (_WETH9 *WETH9Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*WETH9Session) Transfer

func (_WETH9 *WETH9Session) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*WETH9Session) TransferFrom

func (_WETH9 *WETH9Session) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*WETH9Session) Withdraw

func (_WETH9 *WETH9Session) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type WETH9Transactor

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

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

func NewWETH9Transactor

func NewWETH9Transactor(address common.Address, transactor bind.ContractTransactor) (*WETH9Transactor, error)

NewWETH9Transactor creates a new write-only instance of WETH9, bound to a specific deployed contract.

func (*WETH9Transactor) Approve

func (_WETH9 *WETH9Transactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*WETH9Transactor) Deposit

func (_WETH9 *WETH9Transactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns()

func (*WETH9Transactor) Transfer

func (_WETH9 *WETH9Transactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*WETH9Transactor) TransferFrom

func (_WETH9 *WETH9Transactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*WETH9Transactor) Withdraw

func (_WETH9 *WETH9Transactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type WETH9TransactorRaw

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

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

func (*WETH9TransactorRaw) Transact

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

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

func (*WETH9TransactorRaw) Transfer

func (_WETH9 *WETH9TransactorRaw) 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 WETH9TransactorSession

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

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

func (*WETH9TransactorSession) Approve

func (_WETH9 *WETH9TransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*WETH9TransactorSession) Deposit

func (_WETH9 *WETH9TransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns()

func (*WETH9TransactorSession) Transfer

func (_WETH9 *WETH9TransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*WETH9TransactorSession) TransferFrom

func (_WETH9 *WETH9TransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*WETH9TransactorSession) Withdraw

func (_WETH9 *WETH9TransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type WETH9Transfer

type WETH9Transfer struct {
	Src common.Address
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

WETH9Transfer represents a Transfer event raised by the WETH9 contract.

type WETH9TransferIterator

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

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

func (*WETH9TransferIterator) Close

func (it *WETH9TransferIterator) Close() error

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

func (*WETH9TransferIterator) Error

func (it *WETH9TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WETH9TransferIterator) Next

func (it *WETH9TransferIterator) 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 WETH9Withdrawal

type WETH9Withdrawal struct {
	Src common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

WETH9Withdrawal represents a Withdrawal event raised by the WETH9 contract.

type WETH9WithdrawalIterator

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

WETH9WithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the WETH9 contract.

func (*WETH9WithdrawalIterator) Close

func (it *WETH9WithdrawalIterator) Close() error

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

func (*WETH9WithdrawalIterator) Error

func (it *WETH9WithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WETH9WithdrawalIterator) Next

func (it *WETH9WithdrawalIterator) 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 ZRXToken

type ZRXToken struct {
	ZRXTokenCaller     // Read-only binding to the contract
	ZRXTokenTransactor // Write-only binding to the contract
	ZRXTokenFilterer   // Log filterer for contract events
}

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

func DeployZRXToken

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

DeployZRXToken deploys a new Ethereum contract, binding an instance of ZRXToken to it.

func NewZRXToken

func NewZRXToken(address common.Address, backend bind.ContractBackend) (*ZRXToken, error)

NewZRXToken creates a new instance of ZRXToken, bound to a specific deployed contract.

type ZRXTokenApproval

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

ZRXTokenApproval represents a Approval event raised by the ZRXToken contract.

type ZRXTokenApprovalIterator

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

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

func (*ZRXTokenApprovalIterator) Close

func (it *ZRXTokenApprovalIterator) Close() error

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

func (*ZRXTokenApprovalIterator) Error

func (it *ZRXTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZRXTokenApprovalIterator) Next

func (it *ZRXTokenApprovalIterator) 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 ZRXTokenCaller

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

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

func NewZRXTokenCaller

func NewZRXTokenCaller(address common.Address, caller bind.ContractCaller) (*ZRXTokenCaller, error)

NewZRXTokenCaller creates a new read-only instance of ZRXToken, bound to a specific deployed contract.

func (*ZRXTokenCaller) Allowance

func (_ZRXToken *ZRXTokenCaller) 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(address _owner, address _spender) constant returns(uint256)

func (*ZRXTokenCaller) BalanceOf

func (_ZRXToken *ZRXTokenCaller) 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(address _owner) constant returns(uint256)

func (*ZRXTokenCaller) Decimals

func (_ZRXToken *ZRXTokenCaller) 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 (*ZRXTokenCaller) Name

func (_ZRXToken *ZRXTokenCaller) 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 (*ZRXTokenCaller) Symbol

func (_ZRXToken *ZRXTokenCaller) 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 (*ZRXTokenCaller) TotalSupply

func (_ZRXToken *ZRXTokenCaller) 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 ZRXTokenCallerRaw

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

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

func (*ZRXTokenCallerRaw) Call

func (_ZRXToken *ZRXTokenCallerRaw) 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 ZRXTokenCallerSession

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

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

func (*ZRXTokenCallerSession) Allowance

func (_ZRXToken *ZRXTokenCallerSession) 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(address _owner, address _spender) constant returns(uint256)

func (*ZRXTokenCallerSession) BalanceOf

func (_ZRXToken *ZRXTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*ZRXTokenCallerSession) Decimals

func (_ZRXToken *ZRXTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*ZRXTokenCallerSession) Name

func (_ZRXToken *ZRXTokenCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*ZRXTokenCallerSession) Symbol

func (_ZRXToken *ZRXTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*ZRXTokenCallerSession) TotalSupply

func (_ZRXToken *ZRXTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ZRXTokenFilterer

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

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

func NewZRXTokenFilterer

func NewZRXTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ZRXTokenFilterer, error)

NewZRXTokenFilterer creates a new log filterer instance of ZRXToken, bound to a specific deployed contract.

func (*ZRXTokenFilterer) FilterApproval

func (_ZRXToken *ZRXTokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ZRXTokenApprovalIterator, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*ZRXTokenFilterer) FilterTransfer

func (_ZRXToken *ZRXTokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ZRXTokenTransferIterator, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*ZRXTokenFilterer) WatchApproval

func (_ZRXToken *ZRXTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZRXTokenApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*ZRXTokenFilterer) WatchTransfer

func (_ZRXToken *ZRXTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ZRXTokenTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

type ZRXTokenRaw

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

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

func (*ZRXTokenRaw) Call

func (_ZRXToken *ZRXTokenRaw) 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 (*ZRXTokenRaw) Transact

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

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

func (*ZRXTokenRaw) Transfer

func (_ZRXToken *ZRXTokenRaw) 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 ZRXTokenSession

type ZRXTokenSession struct {
	Contract     *ZRXToken         // 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
}

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

func (*ZRXTokenSession) Allowance

func (_ZRXToken *ZRXTokenSession) 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(address _owner, address _spender) constant returns(uint256)

func (*ZRXTokenSession) Approve

func (_ZRXToken *ZRXTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ZRXTokenSession) BalanceOf

func (_ZRXToken *ZRXTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*ZRXTokenSession) Decimals

func (_ZRXToken *ZRXTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*ZRXTokenSession) Name

func (_ZRXToken *ZRXTokenSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*ZRXTokenSession) Symbol

func (_ZRXToken *ZRXTokenSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*ZRXTokenSession) TotalSupply

func (_ZRXToken *ZRXTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ZRXTokenSession) Transfer

func (_ZRXToken *ZRXTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ZRXTokenSession) TransferFrom

func (_ZRXToken *ZRXTokenSession) 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(address _from, address _to, uint256 _value) returns(bool)

type ZRXTokenTransactor

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

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

func NewZRXTokenTransactor

func NewZRXTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ZRXTokenTransactor, error)

NewZRXTokenTransactor creates a new write-only instance of ZRXToken, bound to a specific deployed contract.

func (*ZRXTokenTransactor) Approve

func (_ZRXToken *ZRXTokenTransactor) 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(address _spender, uint256 _value) returns(bool)

func (*ZRXTokenTransactor) Transfer

func (_ZRXToken *ZRXTokenTransactor) 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(address _to, uint256 _value) returns(bool)

func (*ZRXTokenTransactor) TransferFrom

func (_ZRXToken *ZRXTokenTransactor) 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(address _from, address _to, uint256 _value) returns(bool)

type ZRXTokenTransactorRaw

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

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

func (*ZRXTokenTransactorRaw) Transact

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

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

func (*ZRXTokenTransactorRaw) Transfer

func (_ZRXToken *ZRXTokenTransactorRaw) 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 ZRXTokenTransactorSession

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

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

func (*ZRXTokenTransactorSession) Approve

func (_ZRXToken *ZRXTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ZRXTokenTransactorSession) Transfer

func (_ZRXToken *ZRXTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ZRXTokenTransactorSession) TransferFrom

func (_ZRXToken *ZRXTokenTransactorSession) 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(address _from, address _to, uint256 _value) returns(bool)

type ZRXTokenTransfer

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

ZRXTokenTransfer represents a Transfer event raised by the ZRXToken contract.

type ZRXTokenTransferIterator

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

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

func (*ZRXTokenTransferIterator) Close

func (it *ZRXTokenTransferIterator) Close() error

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

func (*ZRXTokenTransferIterator) Error

func (it *ZRXTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZRXTokenTransferIterator) Next

func (it *ZRXTokenTransferIterator) Next() bool

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

Jump to

Keyboard shortcuts

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