wrappers

package
v4.0.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 License: Apache-2.0 Imports: 8 Imported by: 14

Documentation

Index

Constants

View Source
const CoordinatorRegistryABI = "" /* 810-byte string literal not displayed */

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

View Source
const DevUtilsABI = "" /* 9806-byte string literal not displayed */

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

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

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

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type CoordinatorRegistry

type CoordinatorRegistry struct {
	CoordinatorRegistryCaller     // Read-only binding to the contract
	CoordinatorRegistryTransactor // Write-only binding to the contract
	CoordinatorRegistryFilterer   // Log filterer for contract events
}

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

func NewCoordinatorRegistry

func NewCoordinatorRegistry(address common.Address, backend bind.ContractBackend) (*CoordinatorRegistry, error)

NewCoordinatorRegistry creates a new instance of CoordinatorRegistry, bound to a specific deployed contract.

type CoordinatorRegistryCaller

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

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

func NewCoordinatorRegistryCaller

func NewCoordinatorRegistryCaller(address common.Address, caller bind.ContractCaller) (*CoordinatorRegistryCaller, error)

NewCoordinatorRegistryCaller creates a new read-only instance of CoordinatorRegistry, bound to a specific deployed contract.

func (*CoordinatorRegistryCaller) GetCoordinatorEndpoint

func (_CoordinatorRegistry *CoordinatorRegistryCaller) GetCoordinatorEndpoint(opts *bind.CallOpts, coordinatorOperator common.Address) (string, error)

GetCoordinatorEndpoint is a free data retrieval call binding the contract method 0x6c90fedb.

Solidity: function getCoordinatorEndpoint(address coordinatorOperator) constant returns(string coordinatorEndpoint)

type CoordinatorRegistryCallerRaw

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

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

func (*CoordinatorRegistryCallerRaw) Call

func (_CoordinatorRegistry *CoordinatorRegistryCallerRaw) 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 CoordinatorRegistryCallerSession

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

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

func (*CoordinatorRegistryCallerSession) GetCoordinatorEndpoint

func (_CoordinatorRegistry *CoordinatorRegistryCallerSession) GetCoordinatorEndpoint(coordinatorOperator common.Address) (string, error)

GetCoordinatorEndpoint is a free data retrieval call binding the contract method 0x6c90fedb.

Solidity: function getCoordinatorEndpoint(address coordinatorOperator) constant returns(string coordinatorEndpoint)

type CoordinatorRegistryCoordinatorEndpointSet

type CoordinatorRegistryCoordinatorEndpointSet struct {
	CoordinatorOperator common.Address
	CoordinatorEndpoint string
	Raw                 types.Log // Blockchain specific contextual infos
}

CoordinatorRegistryCoordinatorEndpointSet represents a CoordinatorEndpointSet event raised by the CoordinatorRegistry contract.

type CoordinatorRegistryCoordinatorEndpointSetIterator

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

CoordinatorRegistryCoordinatorEndpointSetIterator is returned from FilterCoordinatorEndpointSet and is used to iterate over the raw logs and unpacked data for CoordinatorEndpointSet events raised by the CoordinatorRegistry contract.

func (*CoordinatorRegistryCoordinatorEndpointSetIterator) Close

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

func (*CoordinatorRegistryCoordinatorEndpointSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoordinatorRegistryCoordinatorEndpointSetIterator) 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 CoordinatorRegistryFilterer

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

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

func NewCoordinatorRegistryFilterer

func NewCoordinatorRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*CoordinatorRegistryFilterer, error)

NewCoordinatorRegistryFilterer creates a new log filterer instance of CoordinatorRegistry, bound to a specific deployed contract.

func (*CoordinatorRegistryFilterer) FilterCoordinatorEndpointSet

func (_CoordinatorRegistry *CoordinatorRegistryFilterer) FilterCoordinatorEndpointSet(opts *bind.FilterOpts) (*CoordinatorRegistryCoordinatorEndpointSetIterator, error)

FilterCoordinatorEndpointSet is a free log retrieval operation binding the contract event 0xd060052768902f3eecb84b8eae9d3a2608a1a9e60811a33968b46b8d552f266e.

Solidity: event CoordinatorEndpointSet(address coordinatorOperator, string coordinatorEndpoint)

func (*CoordinatorRegistryFilterer) WatchCoordinatorEndpointSet

func (_CoordinatorRegistry *CoordinatorRegistryFilterer) WatchCoordinatorEndpointSet(opts *bind.WatchOpts, sink chan<- *CoordinatorRegistryCoordinatorEndpointSet) (event.Subscription, error)

WatchCoordinatorEndpointSet is a free log subscription operation binding the contract event 0xd060052768902f3eecb84b8eae9d3a2608a1a9e60811a33968b46b8d552f266e.

Solidity: event CoordinatorEndpointSet(address coordinatorOperator, string coordinatorEndpoint)

type CoordinatorRegistryRaw

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

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

func (*CoordinatorRegistryRaw) Call

func (_CoordinatorRegistry *CoordinatorRegistryRaw) 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 (*CoordinatorRegistryRaw) Transact

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

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

func (*CoordinatorRegistryRaw) Transfer

func (_CoordinatorRegistry *CoordinatorRegistryRaw) 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 CoordinatorRegistrySession

type CoordinatorRegistrySession struct {
	Contract     *CoordinatorRegistry // 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
}

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

func (*CoordinatorRegistrySession) GetCoordinatorEndpoint

func (_CoordinatorRegistry *CoordinatorRegistrySession) GetCoordinatorEndpoint(coordinatorOperator common.Address) (string, error)

GetCoordinatorEndpoint is a free data retrieval call binding the contract method 0x6c90fedb.

Solidity: function getCoordinatorEndpoint(address coordinatorOperator) constant returns(string coordinatorEndpoint)

func (*CoordinatorRegistrySession) SetCoordinatorEndpoint

func (_CoordinatorRegistry *CoordinatorRegistrySession) SetCoordinatorEndpoint(coordinatorEndpoint string) (*types.Transaction, error)

SetCoordinatorEndpoint is a paid mutator transaction binding the contract method 0x5b2388be.

Solidity: function setCoordinatorEndpoint(string coordinatorEndpoint) returns()

type CoordinatorRegistryTransactor

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

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

func NewCoordinatorRegistryTransactor

func NewCoordinatorRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*CoordinatorRegistryTransactor, error)

NewCoordinatorRegistryTransactor creates a new write-only instance of CoordinatorRegistry, bound to a specific deployed contract.

func (*CoordinatorRegistryTransactor) SetCoordinatorEndpoint

func (_CoordinatorRegistry *CoordinatorRegistryTransactor) SetCoordinatorEndpoint(opts *bind.TransactOpts, coordinatorEndpoint string) (*types.Transaction, error)

SetCoordinatorEndpoint is a paid mutator transaction binding the contract method 0x5b2388be.

Solidity: function setCoordinatorEndpoint(string coordinatorEndpoint) returns()

type CoordinatorRegistryTransactorRaw

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

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

func (*CoordinatorRegistryTransactorRaw) Transact

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

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

func (*CoordinatorRegistryTransactorRaw) Transfer

func (_CoordinatorRegistry *CoordinatorRegistryTransactorRaw) 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 CoordinatorRegistryTransactorSession

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

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

func (*CoordinatorRegistryTransactorSession) SetCoordinatorEndpoint

func (_CoordinatorRegistry *CoordinatorRegistryTransactorSession) SetCoordinatorEndpoint(coordinatorEndpoint string) (*types.Transaction, error)

SetCoordinatorEndpoint is a paid mutator transaction binding the contract method 0x5b2388be.

Solidity: function setCoordinatorEndpoint(string coordinatorEndpoint) returns()

type DevUtils

type DevUtils struct {
	DevUtilsCaller     // Read-only binding to the contract
	DevUtilsTransactor // Write-only binding to the contract
	DevUtilsFilterer   // Log filterer for contract events
}

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

func NewDevUtils

func NewDevUtils(address common.Address, backend bind.ContractBackend) (*DevUtils, error)

NewDevUtils creates a new instance of DevUtils, bound to a specific deployed contract.

type DevUtilsCaller

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

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

func NewDevUtilsCaller

func NewDevUtilsCaller(address common.Address, caller bind.ContractCaller) (*DevUtilsCaller, error)

NewDevUtilsCaller creates a new read-only instance of DevUtils, bound to a specific deployed contract.

func (*DevUtilsCaller) DecodeERC1155AssetData

func (_DevUtils *DevUtilsCaller) DecodeERC1155AssetData(opts *bind.CallOpts, assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
	TokenIds     []*big.Int
	TokenValues  []*big.Int
	CallbackData []byte
}, error)

DecodeERC1155AssetData is a free data retrieval call binding the contract method 0x9eadc835.

Solidity: function decodeERC1155AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData)

func (*DevUtilsCaller) DecodeERC20AssetData

func (_DevUtils *DevUtilsCaller) DecodeERC20AssetData(opts *bind.CallOpts, assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
}, error)

DecodeERC20AssetData is a free data retrieval call binding the contract method 0x8f4ce479.

Solidity: function decodeERC20AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress)

func (*DevUtilsCaller) DecodeERC721AssetData

func (_DevUtils *DevUtilsCaller) DecodeERC721AssetData(opts *bind.CallOpts, assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
	TokenId      *big.Int
}, error)

DecodeERC721AssetData is a free data retrieval call binding the contract method 0x04a5618a.

Solidity: function decodeERC721AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256 tokenId)

func (*DevUtilsCaller) DecodeMultiAssetData

func (_DevUtils *DevUtilsCaller) DecodeMultiAssetData(opts *bind.CallOpts, assetData []byte) (struct {
	AssetProxyId    [4]byte
	Amounts         []*big.Int
	NestedAssetData [][]byte
}, error)

DecodeMultiAssetData is a free data retrieval call binding the contract method 0xbbb2dcf6.

Solidity: function decodeMultiAssetData(bytes assetData) constant returns(bytes4 assetProxyId, uint256[] amounts, bytes[] nestedAssetData)

func (*DevUtilsCaller) DecodeZeroExTransactionData

func (_DevUtils *DevUtilsCaller) DecodeZeroExTransactionData(opts *bind.CallOpts, transactionData []byte) (struct {
	FunctionName          string
	Orders                []Struct0
	TakerAssetFillAmounts []*big.Int
	Signatures            [][]byte
}, error)

DecodeZeroExTransactionData is a free data retrieval call binding the contract method 0x6f83188e.

Solidity: function decodeZeroExTransactionData(bytes transactionData) constant returns(string functionName, []Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures)

func (*DevUtilsCaller) ERC1155PROXYID

func (_DevUtils *DevUtilsCaller) ERC1155PROXYID(opts *bind.CallOpts) ([4]byte, error)

ERC1155PROXYID is a free data retrieval call binding the contract method 0x1bd0eb8f.

Solidity: function ERC1155_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCaller) ERC20PROXYID

func (_DevUtils *DevUtilsCaller) ERC20PROXYID(opts *bind.CallOpts) ([4]byte, error)

ERC20PROXYID is a free data retrieval call binding the contract method 0x8ee1a642.

Solidity: function ERC20_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCaller) ERC721PROXYID

func (_DevUtils *DevUtilsCaller) ERC721PROXYID(opts *bind.CallOpts) ([4]byte, error)

ERC721PROXYID is a free data retrieval call binding the contract method 0xa28fe02e.

Solidity: function ERC721_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCaller) EncodeERC1155AssetData

func (_DevUtils *DevUtilsCaller) EncodeERC1155AssetData(opts *bind.CallOpts, tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, callbackData []byte) ([]byte, error)

EncodeERC1155AssetData is a free data retrieval call binding the contract method 0xb43cffe1.

Solidity: function encodeERC1155AssetData(address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData) constant returns(bytes assetData)

func (*DevUtilsCaller) EncodeERC20AssetData

func (_DevUtils *DevUtilsCaller) EncodeERC20AssetData(opts *bind.CallOpts, tokenAddress common.Address) ([]byte, error)

EncodeERC20AssetData is a free data retrieval call binding the contract method 0x590aa875.

Solidity: function encodeERC20AssetData(address tokenAddress) constant returns(bytes assetData)

func (*DevUtilsCaller) EncodeERC721AssetData

func (_DevUtils *DevUtilsCaller) EncodeERC721AssetData(opts *bind.CallOpts, tokenAddress common.Address, tokenId *big.Int) ([]byte, error)

EncodeERC721AssetData is a free data retrieval call binding the contract method 0xa6627e9f.

Solidity: function encodeERC721AssetData(address tokenAddress, uint256 tokenId) constant returns(bytes assetData)

func (*DevUtilsCaller) EncodeMultiAssetData

func (_DevUtils *DevUtilsCaller) EncodeMultiAssetData(opts *bind.CallOpts, amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)

EncodeMultiAssetData is a free data retrieval call binding the contract method 0xd3d862d1.

Solidity: function encodeMultiAssetData(uint256[] amounts, bytes[] nestedAssetData) constant returns(bytes assetData)

func (*DevUtilsCaller) GetAssetProxyAllowance

func (_DevUtils *DevUtilsCaller) GetAssetProxyAllowance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetAssetProxyAllowance is a free data retrieval call binding the contract method 0xd186037f.

Solidity: function getAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 allowance)

func (*DevUtilsCaller) GetBalance

func (_DevUtils *DevUtilsCaller) GetBalance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x7d727512.

Solidity: function getBalance(address ownerAddress, bytes assetData) constant returns(uint256 balance)

func (*DevUtilsCaller) GetBalanceAndAssetProxyAllowance

func (_DevUtils *DevUtilsCaller) GetBalanceAndAssetProxyAllowance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (struct {
	Balance   *big.Int
	Allowance *big.Int
}, error)

GetBalanceAndAssetProxyAllowance is a free data retrieval call binding the contract method 0x0d7b7d76.

Solidity: function getBalanceAndAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 balance, uint256 allowance)

func (*DevUtilsCaller) GetBatchAssetProxyAllowances

func (_DevUtils *DevUtilsCaller) GetBatchAssetProxyAllowances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)

GetBatchAssetProxyAllowances is a free data retrieval call binding the contract method 0x4dfdac20.

Solidity: function getBatchAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] allowances)

func (*DevUtilsCaller) GetBatchBalances

func (_DevUtils *DevUtilsCaller) GetBatchBalances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)

GetBatchBalances is a free data retrieval call binding the contract method 0xd001c5dc.

Solidity: function getBatchBalances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances)

func (*DevUtilsCaller) GetBatchBalancesAndAssetProxyAllowances

func (_DevUtils *DevUtilsCaller) GetBatchBalancesAndAssetProxyAllowances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) (struct {
	Balances   []*big.Int
	Allowances []*big.Int
}, error)

GetBatchBalancesAndAssetProxyAllowances is a free data retrieval call binding the contract method 0xe4e6e7da.

Solidity: function getBatchBalancesAndAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances, uint256[] allowances)

func (*DevUtilsCaller) GetERC721TokenOwner

func (_DevUtils *DevUtilsCaller) GetERC721TokenOwner(opts *bind.CallOpts, tokenAddress common.Address, tokenId *big.Int) (common.Address, error)

GetERC721TokenOwner is a free data retrieval call binding the contract method 0xb6988463.

Solidity: function getERC721TokenOwner(address tokenAddress, uint256 tokenId) constant returns(address ownerAddress)

func (*DevUtilsCaller) GetEthBalances

func (_DevUtils *DevUtilsCaller) GetEthBalances(opts *bind.CallOpts, addresses []common.Address) ([]*big.Int, error)

GetEthBalances is a free data retrieval call binding the contract method 0xa0901e51.

Solidity: function getEthBalances(address[] addresses) constant returns(uint256[])

func (*DevUtilsCaller) GetOrderRelevantState

func (_DevUtils *DevUtilsCaller) GetOrderRelevantState(opts *bind.CallOpts, order Struct0, signature []byte) (struct {
	OrderInfo                Struct1
	FillableTakerAssetAmount *big.Int
	IsValidSignature         bool
}, error)

GetOrderRelevantState is a free data retrieval call binding the contract method 0x8f5afa52.

Solidity: function getOrderRelevantState(Struct0 order, bytes signature) constant returns(Struct1 orderInfo, uint256 fillableTakerAssetAmount, bool isValidSignature)

func (*DevUtilsCaller) GetOrderRelevantStates

func (_DevUtils *DevUtilsCaller) GetOrderRelevantStates(opts *bind.CallOpts, orders []Struct0, signatures [][]byte) (struct {
	OrdersInfo                []Struct1
	FillableTakerAssetAmounts []*big.Int
	IsValidSignature          []bool
}, error)

GetOrderRelevantStates is a free data retrieval call binding the contract method 0x7f46448d.

Solidity: function getOrderRelevantStates([]Struct0 orders, bytes[] signatures) constant returns([]Struct1 ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)

func (*DevUtilsCaller) GetTransferableAssetAmount

func (_DevUtils *DevUtilsCaller) GetTransferableAssetAmount(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetTransferableAssetAmount is a free data retrieval call binding the contract method 0x2322cf76.

Solidity: function getTransferableAssetAmount(address ownerAddress, bytes assetData) constant returns(uint256 transferableAssetAmount)

func (*DevUtilsCaller) MULTIASSETPROXYID

func (_DevUtils *DevUtilsCaller) MULTIASSETPROXYID(opts *bind.CallOpts) ([4]byte, error)

MULTIASSETPROXYID is a free data retrieval call binding the contract method 0xb37fda04.

Solidity: function MULTI_ASSET_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCaller) STATICCALLPROXYID

func (_DevUtils *DevUtilsCaller) STATICCALLPROXYID(opts *bind.CallOpts) ([4]byte, error)

STATICCALLPROXYID is a free data retrieval call binding the contract method 0xd965b998.

Solidity: function STATIC_CALL_PROXY_ID() constant returns(bytes4)

type DevUtilsCallerRaw

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

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

func (*DevUtilsCallerRaw) Call

func (_DevUtils *DevUtilsCallerRaw) 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 DevUtilsCallerSession

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

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

func (*DevUtilsCallerSession) DecodeERC1155AssetData

func (_DevUtils *DevUtilsCallerSession) DecodeERC1155AssetData(assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
	TokenIds     []*big.Int
	TokenValues  []*big.Int
	CallbackData []byte
}, error)

DecodeERC1155AssetData is a free data retrieval call binding the contract method 0x9eadc835.

Solidity: function decodeERC1155AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData)

func (*DevUtilsCallerSession) DecodeERC20AssetData

func (_DevUtils *DevUtilsCallerSession) DecodeERC20AssetData(assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
}, error)

DecodeERC20AssetData is a free data retrieval call binding the contract method 0x8f4ce479.

Solidity: function decodeERC20AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress)

func (*DevUtilsCallerSession) DecodeERC721AssetData

func (_DevUtils *DevUtilsCallerSession) DecodeERC721AssetData(assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
	TokenId      *big.Int
}, error)

DecodeERC721AssetData is a free data retrieval call binding the contract method 0x04a5618a.

Solidity: function decodeERC721AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256 tokenId)

func (*DevUtilsCallerSession) DecodeMultiAssetData

func (_DevUtils *DevUtilsCallerSession) DecodeMultiAssetData(assetData []byte) (struct {
	AssetProxyId    [4]byte
	Amounts         []*big.Int
	NestedAssetData [][]byte
}, error)

DecodeMultiAssetData is a free data retrieval call binding the contract method 0xbbb2dcf6.

Solidity: function decodeMultiAssetData(bytes assetData) constant returns(bytes4 assetProxyId, uint256[] amounts, bytes[] nestedAssetData)

func (*DevUtilsCallerSession) DecodeZeroExTransactionData

func (_DevUtils *DevUtilsCallerSession) DecodeZeroExTransactionData(transactionData []byte) (struct {
	FunctionName          string
	Orders                []Struct0
	TakerAssetFillAmounts []*big.Int
	Signatures            [][]byte
}, error)

DecodeZeroExTransactionData is a free data retrieval call binding the contract method 0x6f83188e.

Solidity: function decodeZeroExTransactionData(bytes transactionData) constant returns(string functionName, []Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures)

func (*DevUtilsCallerSession) ERC1155PROXYID

func (_DevUtils *DevUtilsCallerSession) ERC1155PROXYID() ([4]byte, error)

ERC1155PROXYID is a free data retrieval call binding the contract method 0x1bd0eb8f.

Solidity: function ERC1155_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCallerSession) ERC20PROXYID

func (_DevUtils *DevUtilsCallerSession) ERC20PROXYID() ([4]byte, error)

ERC20PROXYID is a free data retrieval call binding the contract method 0x8ee1a642.

Solidity: function ERC20_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCallerSession) ERC721PROXYID

func (_DevUtils *DevUtilsCallerSession) ERC721PROXYID() ([4]byte, error)

ERC721PROXYID is a free data retrieval call binding the contract method 0xa28fe02e.

Solidity: function ERC721_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCallerSession) EncodeERC1155AssetData

func (_DevUtils *DevUtilsCallerSession) EncodeERC1155AssetData(tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, callbackData []byte) ([]byte, error)

EncodeERC1155AssetData is a free data retrieval call binding the contract method 0xb43cffe1.

Solidity: function encodeERC1155AssetData(address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData) constant returns(bytes assetData)

func (*DevUtilsCallerSession) EncodeERC20AssetData

func (_DevUtils *DevUtilsCallerSession) EncodeERC20AssetData(tokenAddress common.Address) ([]byte, error)

EncodeERC20AssetData is a free data retrieval call binding the contract method 0x590aa875.

Solidity: function encodeERC20AssetData(address tokenAddress) constant returns(bytes assetData)

func (*DevUtilsCallerSession) EncodeERC721AssetData

func (_DevUtils *DevUtilsCallerSession) EncodeERC721AssetData(tokenAddress common.Address, tokenId *big.Int) ([]byte, error)

EncodeERC721AssetData is a free data retrieval call binding the contract method 0xa6627e9f.

Solidity: function encodeERC721AssetData(address tokenAddress, uint256 tokenId) constant returns(bytes assetData)

func (*DevUtilsCallerSession) EncodeMultiAssetData

func (_DevUtils *DevUtilsCallerSession) EncodeMultiAssetData(amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)

EncodeMultiAssetData is a free data retrieval call binding the contract method 0xd3d862d1.

Solidity: function encodeMultiAssetData(uint256[] amounts, bytes[] nestedAssetData) constant returns(bytes assetData)

func (*DevUtilsCallerSession) GetAssetProxyAllowance

func (_DevUtils *DevUtilsCallerSession) GetAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetAssetProxyAllowance is a free data retrieval call binding the contract method 0xd186037f.

Solidity: function getAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 allowance)

func (*DevUtilsCallerSession) GetBalance

func (_DevUtils *DevUtilsCallerSession) GetBalance(ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x7d727512.

Solidity: function getBalance(address ownerAddress, bytes assetData) constant returns(uint256 balance)

func (*DevUtilsCallerSession) GetBalanceAndAssetProxyAllowance

func (_DevUtils *DevUtilsCallerSession) GetBalanceAndAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (struct {
	Balance   *big.Int
	Allowance *big.Int
}, error)

GetBalanceAndAssetProxyAllowance is a free data retrieval call binding the contract method 0x0d7b7d76.

Solidity: function getBalanceAndAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 balance, uint256 allowance)

func (*DevUtilsCallerSession) GetBatchAssetProxyAllowances

func (_DevUtils *DevUtilsCallerSession) GetBatchAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)

GetBatchAssetProxyAllowances is a free data retrieval call binding the contract method 0x4dfdac20.

Solidity: function getBatchAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] allowances)

func (*DevUtilsCallerSession) GetBatchBalances

func (_DevUtils *DevUtilsCallerSession) GetBatchBalances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)

GetBatchBalances is a free data retrieval call binding the contract method 0xd001c5dc.

Solidity: function getBatchBalances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances)

func (*DevUtilsCallerSession) GetBatchBalancesAndAssetProxyAllowances

func (_DevUtils *DevUtilsCallerSession) GetBatchBalancesAndAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) (struct {
	Balances   []*big.Int
	Allowances []*big.Int
}, error)

GetBatchBalancesAndAssetProxyAllowances is a free data retrieval call binding the contract method 0xe4e6e7da.

Solidity: function getBatchBalancesAndAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances, uint256[] allowances)

func (*DevUtilsCallerSession) GetERC721TokenOwner

func (_DevUtils *DevUtilsCallerSession) GetERC721TokenOwner(tokenAddress common.Address, tokenId *big.Int) (common.Address, error)

GetERC721TokenOwner is a free data retrieval call binding the contract method 0xb6988463.

Solidity: function getERC721TokenOwner(address tokenAddress, uint256 tokenId) constant returns(address ownerAddress)

func (*DevUtilsCallerSession) GetEthBalances

func (_DevUtils *DevUtilsCallerSession) GetEthBalances(addresses []common.Address) ([]*big.Int, error)

GetEthBalances is a free data retrieval call binding the contract method 0xa0901e51.

Solidity: function getEthBalances(address[] addresses) constant returns(uint256[])

func (*DevUtilsCallerSession) GetOrderRelevantState

func (_DevUtils *DevUtilsCallerSession) GetOrderRelevantState(order Struct0, signature []byte) (struct {
	OrderInfo                Struct1
	FillableTakerAssetAmount *big.Int
	IsValidSignature         bool
}, error)

GetOrderRelevantState is a free data retrieval call binding the contract method 0x8f5afa52.

Solidity: function getOrderRelevantState(Struct0 order, bytes signature) constant returns(Struct1 orderInfo, uint256 fillableTakerAssetAmount, bool isValidSignature)

func (*DevUtilsCallerSession) GetOrderRelevantStates

func (_DevUtils *DevUtilsCallerSession) GetOrderRelevantStates(orders []Struct0, signatures [][]byte) (struct {
	OrdersInfo                []Struct1
	FillableTakerAssetAmounts []*big.Int
	IsValidSignature          []bool
}, error)

GetOrderRelevantStates is a free data retrieval call binding the contract method 0x7f46448d.

Solidity: function getOrderRelevantStates([]Struct0 orders, bytes[] signatures) constant returns([]Struct1 ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)

func (*DevUtilsCallerSession) GetTransferableAssetAmount

func (_DevUtils *DevUtilsCallerSession) GetTransferableAssetAmount(ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetTransferableAssetAmount is a free data retrieval call binding the contract method 0x2322cf76.

Solidity: function getTransferableAssetAmount(address ownerAddress, bytes assetData) constant returns(uint256 transferableAssetAmount)

func (*DevUtilsCallerSession) MULTIASSETPROXYID

func (_DevUtils *DevUtilsCallerSession) MULTIASSETPROXYID() ([4]byte, error)

MULTIASSETPROXYID is a free data retrieval call binding the contract method 0xb37fda04.

Solidity: function MULTI_ASSET_PROXY_ID() constant returns(bytes4)

func (*DevUtilsCallerSession) STATICCALLPROXYID

func (_DevUtils *DevUtilsCallerSession) STATICCALLPROXYID() ([4]byte, error)

STATICCALLPROXYID is a free data retrieval call binding the contract method 0xd965b998.

Solidity: function STATIC_CALL_PROXY_ID() constant returns(bytes4)

type DevUtilsFilterer

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

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

func NewDevUtilsFilterer

func NewDevUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*DevUtilsFilterer, error)

NewDevUtilsFilterer creates a new log filterer instance of DevUtils, bound to a specific deployed contract.

type DevUtilsRaw

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

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

func (*DevUtilsRaw) Call

func (_DevUtils *DevUtilsRaw) 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 (*DevUtilsRaw) Transact

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

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

func (*DevUtilsRaw) Transfer

func (_DevUtils *DevUtilsRaw) 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 DevUtilsSession

type DevUtilsSession struct {
	Contract     *DevUtils         // 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
}

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

func (*DevUtilsSession) DecodeERC1155AssetData

func (_DevUtils *DevUtilsSession) DecodeERC1155AssetData(assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
	TokenIds     []*big.Int
	TokenValues  []*big.Int
	CallbackData []byte
}, error)

DecodeERC1155AssetData is a free data retrieval call binding the contract method 0x9eadc835.

Solidity: function decodeERC1155AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData)

func (*DevUtilsSession) DecodeERC20AssetData

func (_DevUtils *DevUtilsSession) DecodeERC20AssetData(assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
}, error)

DecodeERC20AssetData is a free data retrieval call binding the contract method 0x8f4ce479.

Solidity: function decodeERC20AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress)

func (*DevUtilsSession) DecodeERC721AssetData

func (_DevUtils *DevUtilsSession) DecodeERC721AssetData(assetData []byte) (struct {
	AssetProxyId [4]byte
	TokenAddress common.Address
	TokenId      *big.Int
}, error)

DecodeERC721AssetData is a free data retrieval call binding the contract method 0x04a5618a.

Solidity: function decodeERC721AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256 tokenId)

func (*DevUtilsSession) DecodeMultiAssetData

func (_DevUtils *DevUtilsSession) DecodeMultiAssetData(assetData []byte) (struct {
	AssetProxyId    [4]byte
	Amounts         []*big.Int
	NestedAssetData [][]byte
}, error)

DecodeMultiAssetData is a free data retrieval call binding the contract method 0xbbb2dcf6.

Solidity: function decodeMultiAssetData(bytes assetData) constant returns(bytes4 assetProxyId, uint256[] amounts, bytes[] nestedAssetData)

func (*DevUtilsSession) DecodeZeroExTransactionData

func (_DevUtils *DevUtilsSession) DecodeZeroExTransactionData(transactionData []byte) (struct {
	FunctionName          string
	Orders                []Struct0
	TakerAssetFillAmounts []*big.Int
	Signatures            [][]byte
}, error)

DecodeZeroExTransactionData is a free data retrieval call binding the contract method 0x6f83188e.

Solidity: function decodeZeroExTransactionData(bytes transactionData) constant returns(string functionName, []Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures)

func (*DevUtilsSession) ERC1155PROXYID

func (_DevUtils *DevUtilsSession) ERC1155PROXYID() ([4]byte, error)

ERC1155PROXYID is a free data retrieval call binding the contract method 0x1bd0eb8f.

Solidity: function ERC1155_PROXY_ID() constant returns(bytes4)

func (*DevUtilsSession) ERC20PROXYID

func (_DevUtils *DevUtilsSession) ERC20PROXYID() ([4]byte, error)

ERC20PROXYID is a free data retrieval call binding the contract method 0x8ee1a642.

Solidity: function ERC20_PROXY_ID() constant returns(bytes4)

func (*DevUtilsSession) ERC721PROXYID

func (_DevUtils *DevUtilsSession) ERC721PROXYID() ([4]byte, error)

ERC721PROXYID is a free data retrieval call binding the contract method 0xa28fe02e.

Solidity: function ERC721_PROXY_ID() constant returns(bytes4)

func (*DevUtilsSession) EncodeERC1155AssetData

func (_DevUtils *DevUtilsSession) EncodeERC1155AssetData(tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, callbackData []byte) ([]byte, error)

EncodeERC1155AssetData is a free data retrieval call binding the contract method 0xb43cffe1.

Solidity: function encodeERC1155AssetData(address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData) constant returns(bytes assetData)

func (*DevUtilsSession) EncodeERC20AssetData

func (_DevUtils *DevUtilsSession) EncodeERC20AssetData(tokenAddress common.Address) ([]byte, error)

EncodeERC20AssetData is a free data retrieval call binding the contract method 0x590aa875.

Solidity: function encodeERC20AssetData(address tokenAddress) constant returns(bytes assetData)

func (*DevUtilsSession) EncodeERC721AssetData

func (_DevUtils *DevUtilsSession) EncodeERC721AssetData(tokenAddress common.Address, tokenId *big.Int) ([]byte, error)

EncodeERC721AssetData is a free data retrieval call binding the contract method 0xa6627e9f.

Solidity: function encodeERC721AssetData(address tokenAddress, uint256 tokenId) constant returns(bytes assetData)

func (*DevUtilsSession) EncodeMultiAssetData

func (_DevUtils *DevUtilsSession) EncodeMultiAssetData(amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)

EncodeMultiAssetData is a free data retrieval call binding the contract method 0xd3d862d1.

Solidity: function encodeMultiAssetData(uint256[] amounts, bytes[] nestedAssetData) constant returns(bytes assetData)

func (*DevUtilsSession) GetAssetProxyAllowance

func (_DevUtils *DevUtilsSession) GetAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetAssetProxyAllowance is a free data retrieval call binding the contract method 0xd186037f.

Solidity: function getAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 allowance)

func (*DevUtilsSession) GetBalance

func (_DevUtils *DevUtilsSession) GetBalance(ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x7d727512.

Solidity: function getBalance(address ownerAddress, bytes assetData) constant returns(uint256 balance)

func (*DevUtilsSession) GetBalanceAndAssetProxyAllowance

func (_DevUtils *DevUtilsSession) GetBalanceAndAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (struct {
	Balance   *big.Int
	Allowance *big.Int
}, error)

GetBalanceAndAssetProxyAllowance is a free data retrieval call binding the contract method 0x0d7b7d76.

Solidity: function getBalanceAndAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 balance, uint256 allowance)

func (*DevUtilsSession) GetBatchAssetProxyAllowances

func (_DevUtils *DevUtilsSession) GetBatchAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)

GetBatchAssetProxyAllowances is a free data retrieval call binding the contract method 0x4dfdac20.

Solidity: function getBatchAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] allowances)

func (*DevUtilsSession) GetBatchBalances

func (_DevUtils *DevUtilsSession) GetBatchBalances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)

GetBatchBalances is a free data retrieval call binding the contract method 0xd001c5dc.

Solidity: function getBatchBalances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances)

func (*DevUtilsSession) GetBatchBalancesAndAssetProxyAllowances

func (_DevUtils *DevUtilsSession) GetBatchBalancesAndAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) (struct {
	Balances   []*big.Int
	Allowances []*big.Int
}, error)

GetBatchBalancesAndAssetProxyAllowances is a free data retrieval call binding the contract method 0xe4e6e7da.

Solidity: function getBatchBalancesAndAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances, uint256[] allowances)

func (*DevUtilsSession) GetERC721TokenOwner

func (_DevUtils *DevUtilsSession) GetERC721TokenOwner(tokenAddress common.Address, tokenId *big.Int) (common.Address, error)

GetERC721TokenOwner is a free data retrieval call binding the contract method 0xb6988463.

Solidity: function getERC721TokenOwner(address tokenAddress, uint256 tokenId) constant returns(address ownerAddress)

func (*DevUtilsSession) GetEthBalances

func (_DevUtils *DevUtilsSession) GetEthBalances(addresses []common.Address) ([]*big.Int, error)

GetEthBalances is a free data retrieval call binding the contract method 0xa0901e51.

Solidity: function getEthBalances(address[] addresses) constant returns(uint256[])

func (*DevUtilsSession) GetOrderRelevantState

func (_DevUtils *DevUtilsSession) GetOrderRelevantState(order Struct0, signature []byte) (struct {
	OrderInfo                Struct1
	FillableTakerAssetAmount *big.Int
	IsValidSignature         bool
}, error)

GetOrderRelevantState is a free data retrieval call binding the contract method 0x8f5afa52.

Solidity: function getOrderRelevantState(Struct0 order, bytes signature) constant returns(Struct1 orderInfo, uint256 fillableTakerAssetAmount, bool isValidSignature)

func (*DevUtilsSession) GetOrderRelevantStates

func (_DevUtils *DevUtilsSession) GetOrderRelevantStates(orders []Struct0, signatures [][]byte) (struct {
	OrdersInfo                []Struct1
	FillableTakerAssetAmounts []*big.Int
	IsValidSignature          []bool
}, error)

GetOrderRelevantStates is a free data retrieval call binding the contract method 0x7f46448d.

Solidity: function getOrderRelevantStates([]Struct0 orders, bytes[] signatures) constant returns([]Struct1 ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)

func (*DevUtilsSession) GetTransferableAssetAmount

func (_DevUtils *DevUtilsSession) GetTransferableAssetAmount(ownerAddress common.Address, assetData []byte) (*big.Int, error)

GetTransferableAssetAmount is a free data retrieval call binding the contract method 0x2322cf76.

Solidity: function getTransferableAssetAmount(address ownerAddress, bytes assetData) constant returns(uint256 transferableAssetAmount)

func (*DevUtilsSession) MULTIASSETPROXYID

func (_DevUtils *DevUtilsSession) MULTIASSETPROXYID() ([4]byte, error)

MULTIASSETPROXYID is a free data retrieval call binding the contract method 0xb37fda04.

Solidity: function MULTI_ASSET_PROXY_ID() constant returns(bytes4)

func (*DevUtilsSession) STATICCALLPROXYID

func (_DevUtils *DevUtilsSession) STATICCALLPROXYID() ([4]byte, error)

STATICCALLPROXYID is a free data retrieval call binding the contract method 0xd965b998.

Solidity: function STATIC_CALL_PROXY_ID() constant returns(bytes4)

type DevUtilsTransactor

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

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

func NewDevUtilsTransactor

func NewDevUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*DevUtilsTransactor, error)

NewDevUtilsTransactor creates a new write-only instance of DevUtils, bound to a specific deployed contract.

type DevUtilsTransactorRaw

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

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

func (*DevUtilsTransactorRaw) Transact

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

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

func (*DevUtilsTransactorRaw) Transfer

func (_DevUtils *DevUtilsTransactorRaw) 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 DevUtilsTransactorSession

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

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

type OrderInfo

type OrderInfo = Struct1

OrderInfo contains the status and filled amount of an order.

type OrderWithoutExchangeAddress

type OrderWithoutExchangeAddress = Struct0

OrderWithoutExchangeAddress is a 0x order representation expected by the smart contracts.

type Struct0

type Struct0 struct {
	MakerAddress          common.Address
	TakerAddress          common.Address
	FeeRecipientAddress   common.Address
	SenderAddress         common.Address
	MakerAssetAmount      *big.Int
	TakerAssetAmount      *big.Int
	MakerFee              *big.Int
	TakerFee              *big.Int
	ExpirationTimeSeconds *big.Int
	Salt                  *big.Int
	MakerAssetData        []byte
	TakerAssetData        []byte
}

Struct0 is an auto generated low-level Go binding around an user-defined struct.

type Struct1

type Struct1 struct {
	OrderStatus                 uint8
	OrderHash                   [32]byte
	OrderTakerAssetFilledAmount *big.Int
}

Struct1 is an auto generated low-level Go binding around an user-defined struct.

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 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 {
	Owner   common.Address
	Spender common.Address
	Value   *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 {
	Owner common.Address
	Value *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, _owner []common.Address, _spender []common.Address) (*WETH9ApprovalIterator, 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 (*WETH9Filterer) FilterDeposit

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

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

Solidity: event Deposit(address indexed _owner, uint256 _value)

func (*WETH9Filterer) FilterTransfer

func (_WETH9 *WETH9Filterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*WETH9TransferIterator, 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 (*WETH9Filterer) FilterWithdrawal

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

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

Solidity: event Withdrawal(address indexed _owner, uint256 _value)

func (*WETH9Filterer) ParseApproval

func (_WETH9 *WETH9Filterer) ParseApproval(log types.Log) (*WETH9Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*WETH9Filterer) ParseDeposit

func (_WETH9 *WETH9Filterer) ParseDeposit(log types.Log) (*WETH9Deposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed _owner, uint256 _value)

func (*WETH9Filterer) ParseTransfer

func (_WETH9 *WETH9Filterer) ParseTransfer(log types.Log) (*WETH9Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*WETH9Filterer) ParseWithdrawal

func (_WETH9 *WETH9Filterer) ParseWithdrawal(log types.Log) (*WETH9Withdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed _owner, uint256 _value)

func (*WETH9Filterer) WatchApproval

func (_WETH9 *WETH9Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WETH9Approval, _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 (*WETH9Filterer) WatchDeposit

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

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

Solidity: event Deposit(address indexed _owner, uint256 _value)

func (*WETH9Filterer) WatchTransfer

func (_WETH9 *WETH9Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WETH9Transfer, _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)

func (*WETH9Filterer) WatchWithdrawal

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

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

Solidity: event Withdrawal(address indexed _owner, uint256 _value)

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 {
	From  common.Address
	To    common.Address
	Value *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 {
	Owner common.Address
	Value *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 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) ParseApproval

func (_ZRXToken *ZRXTokenFilterer) ParseApproval(log types.Log) (*ZRXTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*ZRXTokenFilterer) ParseTransfer

func (_ZRXToken *ZRXTokenFilterer) ParseTransfer(log types.Log) (*ZRXTokenTransfer, error)

ParseTransfer is a log parse 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