wrappers

package
v0.0.0-...-da200cc Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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

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

View Source
const OrderValidationUtilsABI = "" /* 8369-byte string literal not displayed */

OrderValidationUtilsABI 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 EthBalanceChecker

type EthBalanceChecker struct {
	EthBalanceCheckerCaller     // Read-only binding to the contract
	EthBalanceCheckerTransactor // Write-only binding to the contract
	EthBalanceCheckerFilterer   // Log filterer for contract events
}

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

func NewEthBalanceChecker

func NewEthBalanceChecker(address common.Address, backend bind.ContractBackend) (*EthBalanceChecker, error)

NewEthBalanceChecker creates a new instance of EthBalanceChecker, bound to a specific deployed contract.

type EthBalanceCheckerCaller

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

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

func NewEthBalanceCheckerCaller

func NewEthBalanceCheckerCaller(address common.Address, caller bind.ContractCaller) (*EthBalanceCheckerCaller, error)

NewEthBalanceCheckerCaller creates a new read-only instance of EthBalanceChecker, bound to a specific deployed contract.

func (*EthBalanceCheckerCaller) GetEthBalances

func (_EthBalanceChecker *EthBalanceCheckerCaller) 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[])

type EthBalanceCheckerCallerRaw

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

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

func (*EthBalanceCheckerCallerRaw) Call

func (_EthBalanceChecker *EthBalanceCheckerCallerRaw) 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 EthBalanceCheckerCallerSession

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

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

func (*EthBalanceCheckerCallerSession) GetEthBalances

func (_EthBalanceChecker *EthBalanceCheckerCallerSession) 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[])

type EthBalanceCheckerFilterer

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

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

func NewEthBalanceCheckerFilterer

func NewEthBalanceCheckerFilterer(address common.Address, filterer bind.ContractFilterer) (*EthBalanceCheckerFilterer, error)

NewEthBalanceCheckerFilterer creates a new log filterer instance of EthBalanceChecker, bound to a specific deployed contract.

type EthBalanceCheckerRaw

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

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

func (*EthBalanceCheckerRaw) Call

func (_EthBalanceChecker *EthBalanceCheckerRaw) 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 (*EthBalanceCheckerRaw) Transact

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

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

func (*EthBalanceCheckerRaw) Transfer

func (_EthBalanceChecker *EthBalanceCheckerRaw) 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 EthBalanceCheckerSession

type EthBalanceCheckerSession struct {
	Contract     *EthBalanceChecker // 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
}

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

func (*EthBalanceCheckerSession) GetEthBalances

func (_EthBalanceChecker *EthBalanceCheckerSession) 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[])

type EthBalanceCheckerTransactor

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

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

func NewEthBalanceCheckerTransactor

func NewEthBalanceCheckerTransactor(address common.Address, transactor bind.ContractTransactor) (*EthBalanceCheckerTransactor, error)

NewEthBalanceCheckerTransactor creates a new write-only instance of EthBalanceChecker, bound to a specific deployed contract.

type EthBalanceCheckerTransactorRaw

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

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

func (*EthBalanceCheckerTransactorRaw) Transact

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

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

func (*EthBalanceCheckerTransactorRaw) Transfer

func (_EthBalanceChecker *EthBalanceCheckerTransactorRaw) 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 EthBalanceCheckerTransactorSession

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

EthBalanceCheckerTransactorSession 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 OrderValidationUtils

type OrderValidationUtils struct {
	OrderValidationUtilsCaller     // Read-only binding to the contract
	OrderValidationUtilsTransactor // Write-only binding to the contract
	OrderValidationUtilsFilterer   // Log filterer for contract events
}

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

func NewOrderValidationUtils

func NewOrderValidationUtils(address common.Address, backend bind.ContractBackend) (*OrderValidationUtils, error)

NewOrderValidationUtils creates a new instance of OrderValidationUtils, bound to a specific deployed contract.

type OrderValidationUtilsCaller

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

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

func NewOrderValidationUtilsCaller

func NewOrderValidationUtilsCaller(address common.Address, caller bind.ContractCaller) (*OrderValidationUtilsCaller, error)

NewOrderValidationUtilsCaller creates a new read-only instance of OrderValidationUtils, bound to a specific deployed contract.

func (*OrderValidationUtilsCaller) DecodeERC1155AssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) DecodeERC20AssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) DecodeERC721AssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) DecodeMultiAssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) ERC1155PROXYID

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) ERC20PROXYID

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) ERC721PROXYID

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) EncodeERC1155AssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) EncodeERC20AssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) EncodeERC721AssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) EncodeMultiAssetData

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetAssetProxyAllowance

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetBalance

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetBalanceAndAssetProxyAllowance

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetBatchAssetProxyAllowances

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetBatchBalances

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetBatchBalancesAndAssetProxyAllowances

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetERC721TokenOwner

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetOrderRelevantState

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) GetOrderRelevantStates

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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((address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures) constant returns((uint8,bytes32,uint256)[] ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)

func (*OrderValidationUtilsCaller) GetTransferableAssetAmount

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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 (*OrderValidationUtilsCaller) MULTIASSETPROXYID

func (_OrderValidationUtils *OrderValidationUtilsCaller) 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)

type OrderValidationUtilsCallerRaw

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

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

func (*OrderValidationUtilsCallerRaw) Call

func (_OrderValidationUtils *OrderValidationUtilsCallerRaw) 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 OrderValidationUtilsCallerSession

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

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

func (*OrderValidationUtilsCallerSession) DecodeERC1155AssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) DecodeERC20AssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) DecodeERC721AssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) DecodeMultiAssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) ERC1155PROXYID

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) ERC20PROXYID

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) ERC721PROXYID

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) EncodeERC1155AssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) EncodeERC20AssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) EncodeERC721AssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) EncodeMultiAssetData

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetAssetProxyAllowance

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetBalance

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetBalanceAndAssetProxyAllowance

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetBatchAssetProxyAllowances

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetBatchBalances

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetBatchBalancesAndAssetProxyAllowances

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetERC721TokenOwner

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetOrderRelevantState

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) GetOrderRelevantStates

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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((address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures) constant returns((uint8,bytes32,uint256)[] ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)

func (*OrderValidationUtilsCallerSession) GetTransferableAssetAmount

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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 (*OrderValidationUtilsCallerSession) MULTIASSETPROXYID

func (_OrderValidationUtils *OrderValidationUtilsCallerSession) 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)

type OrderValidationUtilsFilterer

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

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

func NewOrderValidationUtilsFilterer

func NewOrderValidationUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*OrderValidationUtilsFilterer, error)

NewOrderValidationUtilsFilterer creates a new log filterer instance of OrderValidationUtils, bound to a specific deployed contract.

type OrderValidationUtilsRaw

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

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

func (*OrderValidationUtilsRaw) Call

func (_OrderValidationUtils *OrderValidationUtilsRaw) 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 (*OrderValidationUtilsRaw) Transact

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

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

func (*OrderValidationUtilsRaw) Transfer

func (_OrderValidationUtils *OrderValidationUtilsRaw) 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 OrderValidationUtilsSession

type OrderValidationUtilsSession struct {
	Contract     *OrderValidationUtils // 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
}

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

func (*OrderValidationUtilsSession) DecodeERC1155AssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) DecodeERC20AssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) DecodeERC721AssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) DecodeMultiAssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) ERC1155PROXYID

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) ERC20PROXYID

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) ERC721PROXYID

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) EncodeERC1155AssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) EncodeERC20AssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) EncodeERC721AssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) EncodeMultiAssetData

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetAssetProxyAllowance

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetBalance

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetBalanceAndAssetProxyAllowance

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetBatchAssetProxyAllowances

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetBatchBalances

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetBatchBalancesAndAssetProxyAllowances

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetERC721TokenOwner

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetOrderRelevantState

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) GetOrderRelevantStates

func (_OrderValidationUtils *OrderValidationUtilsSession) 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((address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures) constant returns((uint8,bytes32,uint256)[] ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)

func (*OrderValidationUtilsSession) GetTransferableAssetAmount

func (_OrderValidationUtils *OrderValidationUtilsSession) 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 (*OrderValidationUtilsSession) MULTIASSETPROXYID

func (_OrderValidationUtils *OrderValidationUtilsSession) 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)

type OrderValidationUtilsTransactor

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

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

func NewOrderValidationUtilsTransactor

func NewOrderValidationUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*OrderValidationUtilsTransactor, error)

NewOrderValidationUtilsTransactor creates a new write-only instance of OrderValidationUtils, bound to a specific deployed contract.

type OrderValidationUtilsTransactorRaw

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

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

func (*OrderValidationUtilsTransactorRaw) Transact

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

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

func (*OrderValidationUtilsTransactorRaw) Transfer

func (_OrderValidationUtils *OrderValidationUtilsTransactorRaw) 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 OrderValidationUtilsTransactorSession

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

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

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.

Jump to

Keyboard shortcuts

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