Documentation
¶
Index ¶
- Variables
- type OrderBookReader
- type OrderBookReaderCaller
- func (_OrderBookReader *OrderBookReaderCaller) GetDecreaseOrders(opts *bind.CallOpts, _orderBookAddress common.Address, _account common.Address, ...) ([]*big.Int, []common.Address, error)
- func (_OrderBookReader *OrderBookReaderCaller) GetIncreaseOrders(opts *bind.CallOpts, _orderBookAddress common.Address, _account common.Address, ...) ([]*big.Int, []common.Address, error)
- func (_OrderBookReader *OrderBookReaderCaller) GetSwapOrders(opts *bind.CallOpts, _orderBookAddress common.Address, _account common.Address, ...) ([]*big.Int, []common.Address, error)
- type OrderBookReaderCallerRaw
- type OrderBookReaderCallerSession
- func (_OrderBookReader *OrderBookReaderCallerSession) GetDecreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
- func (_OrderBookReader *OrderBookReaderCallerSession) GetIncreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
- func (_OrderBookReader *OrderBookReaderCallerSession) GetSwapOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
- type OrderBookReaderFilterer
- type OrderBookReaderRaw
- func (_OrderBookReader *OrderBookReaderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OrderBookReader *OrderBookReaderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OrderBookReader *OrderBookReaderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OrderBookReaderSession
- func (_OrderBookReader *OrderBookReaderSession) GetDecreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
- func (_OrderBookReader *OrderBookReaderSession) GetIncreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
- func (_OrderBookReader *OrderBookReaderSession) GetSwapOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
- type OrderBookReaderTransactor
- type OrderBookReaderTransactorRaw
- type OrderBookReaderTransactorSession
Constants ¶
This section is empty.
Variables ¶
var OrderBookReaderABI = OrderBookReaderMetaData.ABI
OrderBookReaderABI is the input ABI used to generate the binding from. Deprecated: Use OrderBookReaderMetaData.ABI instead.
var OrderBookReaderMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"getDecreaseOrders\",\"inputs\":[{\"name\":\"_orderBookAddress\",\"type\":\"address\",\"internalType\":\"addresspayable\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_indices\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getIncreaseOrders\",\"inputs\":[{\"name\":\"_orderBookAddress\",\"type\":\"address\",\"internalType\":\"addresspayable\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_indices\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getSwapOrders\",\"inputs\":[{\"name\":\"_orderBookAddress\",\"type\":\"address\",\"internalType\":\"addresspayable\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_indices\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"view\"}]",
}
OrderBookReaderMetaData contains all meta data concerning the OrderBookReader contract.
Functions ¶
This section is empty.
Types ¶
type OrderBookReader ¶
type OrderBookReader struct { OrderBookReaderCaller // Read-only binding to the contract OrderBookReaderTransactor // Write-only binding to the contract OrderBookReaderFilterer // Log filterer for contract events }
OrderBookReader is an auto generated Go binding around an Ethereum contract.
func NewOrderBookReader ¶
func NewOrderBookReader(address common.Address, backend bind.ContractBackend) (*OrderBookReader, error)
NewOrderBookReader creates a new instance of OrderBookReader, bound to a specific deployed contract.
type OrderBookReaderCaller ¶
type OrderBookReaderCaller struct {
// contains filtered or unexported fields
}
OrderBookReaderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOrderBookReaderCaller ¶
func NewOrderBookReaderCaller(address common.Address, caller bind.ContractCaller) (*OrderBookReaderCaller, error)
NewOrderBookReaderCaller creates a new read-only instance of OrderBookReader, bound to a specific deployed contract.
func (*OrderBookReaderCaller) GetDecreaseOrders ¶
func (_OrderBookReader *OrderBookReaderCaller) GetDecreaseOrders(opts *bind.CallOpts, _orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetDecreaseOrders is a free data retrieval call binding the contract method 0x0ce933b9.
Solidity: function getDecreaseOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
func (*OrderBookReaderCaller) GetIncreaseOrders ¶
func (_OrderBookReader *OrderBookReaderCaller) GetIncreaseOrders(opts *bind.CallOpts, _orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetIncreaseOrders is a free data retrieval call binding the contract method 0xc38ccd50.
Solidity: function getIncreaseOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
func (*OrderBookReaderCaller) GetSwapOrders ¶
func (_OrderBookReader *OrderBookReaderCaller) GetSwapOrders(opts *bind.CallOpts, _orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetSwapOrders is a free data retrieval call binding the contract method 0x2e181469.
Solidity: function getSwapOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
type OrderBookReaderCallerRaw ¶
type OrderBookReaderCallerRaw struct {
Contract *OrderBookReaderCaller // Generic read-only contract binding to access the raw methods on
}
OrderBookReaderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OrderBookReaderCallerRaw) Call ¶
func (_OrderBookReader *OrderBookReaderCallerRaw) 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 OrderBookReaderCallerSession ¶
type OrderBookReaderCallerSession struct { Contract *OrderBookReaderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OrderBookReaderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OrderBookReaderCallerSession) GetDecreaseOrders ¶
func (_OrderBookReader *OrderBookReaderCallerSession) GetDecreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetDecreaseOrders is a free data retrieval call binding the contract method 0x0ce933b9.
Solidity: function getDecreaseOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
func (*OrderBookReaderCallerSession) GetIncreaseOrders ¶
func (_OrderBookReader *OrderBookReaderCallerSession) GetIncreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetIncreaseOrders is a free data retrieval call binding the contract method 0xc38ccd50.
Solidity: function getIncreaseOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
func (*OrderBookReaderCallerSession) GetSwapOrders ¶
func (_OrderBookReader *OrderBookReaderCallerSession) GetSwapOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetSwapOrders is a free data retrieval call binding the contract method 0x2e181469.
Solidity: function getSwapOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
type OrderBookReaderFilterer ¶
type OrderBookReaderFilterer struct {
// contains filtered or unexported fields
}
OrderBookReaderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOrderBookReaderFilterer ¶
func NewOrderBookReaderFilterer(address common.Address, filterer bind.ContractFilterer) (*OrderBookReaderFilterer, error)
NewOrderBookReaderFilterer creates a new log filterer instance of OrderBookReader, bound to a specific deployed contract.
type OrderBookReaderRaw ¶
type OrderBookReaderRaw struct {
Contract *OrderBookReader // Generic contract binding to access the raw methods on
}
OrderBookReaderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OrderBookReaderRaw) Call ¶
func (_OrderBookReader *OrderBookReaderRaw) 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 (*OrderBookReaderRaw) Transact ¶
func (_OrderBookReader *OrderBookReaderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OrderBookReaderRaw) Transfer ¶
func (_OrderBookReader *OrderBookReaderRaw) 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 OrderBookReaderSession ¶
type OrderBookReaderSession struct { Contract *OrderBookReader // 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 }
OrderBookReaderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OrderBookReaderSession) GetDecreaseOrders ¶
func (_OrderBookReader *OrderBookReaderSession) GetDecreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetDecreaseOrders is a free data retrieval call binding the contract method 0x0ce933b9.
Solidity: function getDecreaseOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
func (*OrderBookReaderSession) GetIncreaseOrders ¶
func (_OrderBookReader *OrderBookReaderSession) GetIncreaseOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetIncreaseOrders is a free data retrieval call binding the contract method 0xc38ccd50.
Solidity: function getIncreaseOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
func (*OrderBookReaderSession) GetSwapOrders ¶
func (_OrderBookReader *OrderBookReaderSession) GetSwapOrders(_orderBookAddress common.Address, _account common.Address, _indices []*big.Int) ([]*big.Int, []common.Address, error)
GetSwapOrders is a free data retrieval call binding the contract method 0x2e181469.
Solidity: function getSwapOrders(address _orderBookAddress, address _account, uint256[] _indices) view returns(uint256[], address[])
type OrderBookReaderTransactor ¶
type OrderBookReaderTransactor struct {
// contains filtered or unexported fields
}
OrderBookReaderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOrderBookReaderTransactor ¶
func NewOrderBookReaderTransactor(address common.Address, transactor bind.ContractTransactor) (*OrderBookReaderTransactor, error)
NewOrderBookReaderTransactor creates a new write-only instance of OrderBookReader, bound to a specific deployed contract.
type OrderBookReaderTransactorRaw ¶
type OrderBookReaderTransactorRaw struct {
Contract *OrderBookReaderTransactor // Generic write-only contract binding to access the raw methods on
}
OrderBookReaderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OrderBookReaderTransactorRaw) Transact ¶
func (_OrderBookReader *OrderBookReaderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OrderBookReaderTransactorRaw) Transfer ¶
func (_OrderBookReader *OrderBookReaderTransactorRaw) 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 OrderBookReaderTransactorSession ¶
type OrderBookReaderTransactorSession struct { Contract *OrderBookReaderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OrderBookReaderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.