oneinchlimitorder

package
v0.0.0-...-8c998e4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OneInchLimitOrderABI = OneInchLimitOrderMetaData.ABI

OneInchLimitOrderABI is the input ABI used to generate the binding from. Deprecated: Use OneInchLimitOrderMetaData.ABI instead.

View Source
var OneInchLimitOrderMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"}],\"name\":\"NonceIncreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remainingRaw\",\"type\":\"uint256\"}],\"name\":\"OrderCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remaining\",\"type\":\"uint256\"}],\"name\":\"OrderFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"}],\"name\":\"OrderFilledRFQ\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LIMIT_ORDER_RFQ_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LIMIT_ORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"amount\",\"type\":\"uint8\"}],\"name\":\"advanceNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"and\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"arbitraryStaticCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getMakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getTakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"predicate\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"}],\"internalType\":\"structOrderMixin.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"cancelOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderInfo\",\"type\":\"uint256\"}],\"name\":\"cancelOrderRFQ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getMakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getTakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"predicate\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"}],\"internalType\":\"structOrderMixin.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"checkPredicate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractAggregatorV3Interface\",\"name\":\"oracle1\",\"type\":\"address\"},{\"internalType\":\"contractAggregatorV3Interface\",\"name\":\"oracle2\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"spread\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"doublePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"eq\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getMakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getTakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"predicate\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"}],\"internalType\":\"structOrderMixin.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"thresholdAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOrderRFQMixin.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOrderRFQMixin.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"fillOrderRFQTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOrderRFQMixin.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"fillOrderRFQToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getMakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getTakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"predicate\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"}],\"internalType\":\"structOrderMixin.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"thresholdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"fillOrderTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getMakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getTakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"predicate\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"}],\"internalType\":\"structOrderMixin.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"thresholdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"fillOrderToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderMakerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"orderTakerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapTakerAmount\",\"type\":\"uint256\"}],\"name\":\"getMakerAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderMakerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"orderTakerAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapMakerAmount\",\"type\":\"uint256\"}],\"name\":\"getTakerAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"gt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getMakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"getTakerAmount\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"predicate\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"}],\"internalType\":\"structOrderMixin.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"hashOrder\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increaseNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"invalidatorForOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"lt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"makerAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makerNonce\",\"type\":\"uint256\"}],\"name\":\"nonceEquals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"or\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"remaining\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"remainingRaw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"orderHashes\",\"type\":\"bytes32[]\"}],\"name\":\"remainingsRaw\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"simulateCalls\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractAggregatorV3Interface\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inverseAndSpread\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"singlePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"timestampBelow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

OneInchLimitOrderMetaData contains all meta data concerning the OneInchLimitOrder contract.

Functions

This section is empty.

Types

type OneInchLimitOrder

type OneInchLimitOrder struct {
	OneInchLimitOrderCaller     // Read-only binding to the contract
	OneInchLimitOrderTransactor // Write-only binding to the contract
	OneInchLimitOrderFilterer   // Log filterer for contract events
}

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

func NewOneInchLimitOrder

func NewOneInchLimitOrder(address common.Address, backend bind.ContractBackend) (*OneInchLimitOrder, error)

NewOneInchLimitOrder creates a new instance of OneInchLimitOrder, bound to a specific deployed contract.

type OneInchLimitOrderCaller

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

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

func NewOneInchLimitOrderCaller

func NewOneInchLimitOrderCaller(address common.Address, caller bind.ContractCaller) (*OneInchLimitOrderCaller, error)

NewOneInchLimitOrderCaller creates a new read-only instance of OneInchLimitOrder, bound to a specific deployed contract.

func (*OneInchLimitOrderCaller) And

func (_OneInchLimitOrder *OneInchLimitOrderCaller) And(opts *bind.CallOpts, targets []common.Address, data [][]byte) (bool, error)

And is a free data retrieval call binding the contract method 0x961d5b1e.

Solidity: function and(address[] targets, bytes[] data) view returns(bool)

func (*OneInchLimitOrderCaller) ArbitraryStaticCall

func (_OneInchLimitOrder *OneInchLimitOrderCaller) ArbitraryStaticCall(opts *bind.CallOpts, target common.Address, data []byte) (*big.Int, error)

ArbitraryStaticCall is a free data retrieval call binding the contract method 0xbf15fcd8.

Solidity: function arbitraryStaticCall(address target, bytes data) view returns(uint256)

func (*OneInchLimitOrderCaller) CheckPredicate

func (_OneInchLimitOrder *OneInchLimitOrderCaller) CheckPredicate(opts *bind.CallOpts, order OrderMixinOrder) (bool, error)

CheckPredicate is a free data retrieval call binding the contract method 0xa65a0e71.

Solidity: function checkPredicate((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) view returns(bool)

func (*OneInchLimitOrderCaller) DOMAINSEPARATOR

func (_OneInchLimitOrder *OneInchLimitOrderCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*OneInchLimitOrderCaller) DoublePrice

func (_OneInchLimitOrder *OneInchLimitOrderCaller) DoublePrice(opts *bind.CallOpts, oracle1 common.Address, oracle2 common.Address, spread *big.Int, amount *big.Int) (*big.Int, error)

DoublePrice is a free data retrieval call binding the contract method 0x36006bf3.

Solidity: function doublePrice(address oracle1, address oracle2, uint256 spread, uint256 amount) view returns(uint256)

func (*OneInchLimitOrderCaller) Eq

func (_OneInchLimitOrder *OneInchLimitOrderCaller) Eq(opts *bind.CallOpts, value *big.Int, target common.Address, data []byte) (bool, error)

Eq is a free data retrieval call binding the contract method 0x32565d61.

Solidity: function eq(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderCaller) GetMakerAmount

func (_OneInchLimitOrder *OneInchLimitOrderCaller) GetMakerAmount(opts *bind.CallOpts, orderMakerAmount *big.Int, orderTakerAmount *big.Int, swapTakerAmount *big.Int) (*big.Int, error)

GetMakerAmount is a free data retrieval call binding the contract method 0xf4a215c3.

Solidity: function getMakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapTakerAmount) pure returns(uint256)

func (*OneInchLimitOrderCaller) GetTakerAmount

func (_OneInchLimitOrder *OneInchLimitOrderCaller) GetTakerAmount(opts *bind.CallOpts, orderMakerAmount *big.Int, orderTakerAmount *big.Int, swapMakerAmount *big.Int) (*big.Int, error)

GetTakerAmount is a free data retrieval call binding the contract method 0x296637bf.

Solidity: function getTakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapMakerAmount) pure returns(uint256)

func (*OneInchLimitOrderCaller) Gt

func (_OneInchLimitOrder *OneInchLimitOrderCaller) Gt(opts *bind.CallOpts, value *big.Int, target common.Address, data []byte) (bool, error)

Gt is a free data retrieval call binding the contract method 0x057702e9.

Solidity: function gt(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderCaller) HashOrder

func (_OneInchLimitOrder *OneInchLimitOrderCaller) HashOrder(opts *bind.CallOpts, order OrderMixinOrder) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0xfa1cb9f2.

Solidity: function hashOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) view returns(bytes32)

func (*OneInchLimitOrderCaller) InvalidatorForOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderCaller) InvalidatorForOrderRFQ(opts *bind.CallOpts, maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*OneInchLimitOrderCaller) LIMITORDERRFQTYPEHASH

func (_OneInchLimitOrder *OneInchLimitOrderCaller) LIMITORDERRFQTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

LIMITORDERRFQTYPEHASH is a free data retrieval call binding the contract method 0x06bf53d0.

Solidity: function LIMIT_ORDER_RFQ_TYPEHASH() view returns(bytes32)

func (*OneInchLimitOrderCaller) LIMITORDERTYPEHASH

func (_OneInchLimitOrder *OneInchLimitOrderCaller) LIMITORDERTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

LIMITORDERTYPEHASH is a free data retrieval call binding the contract method 0x54dd5f74.

Solidity: function LIMIT_ORDER_TYPEHASH() view returns(bytes32)

func (*OneInchLimitOrderCaller) Lt

func (_OneInchLimitOrder *OneInchLimitOrderCaller) Lt(opts *bind.CallOpts, value *big.Int, target common.Address, data []byte) (bool, error)

Lt is a free data retrieval call binding the contract method 0x871919d5.

Solidity: function lt(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderCaller) Nonce

func (_OneInchLimitOrder *OneInchLimitOrderCaller) Nonce(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*OneInchLimitOrderCaller) NonceEquals

func (_OneInchLimitOrder *OneInchLimitOrderCaller) NonceEquals(opts *bind.CallOpts, makerAddress common.Address, makerNonce *big.Int) (bool, error)

NonceEquals is a free data retrieval call binding the contract method 0xcf6fc6e3.

Solidity: function nonceEquals(address makerAddress, uint256 makerNonce) view returns(bool)

func (*OneInchLimitOrderCaller) Or

func (_OneInchLimitOrder *OneInchLimitOrderCaller) Or(opts *bind.CallOpts, targets []common.Address, data [][]byte) (bool, error)

Or is a free data retrieval call binding the contract method 0xe6133301.

Solidity: function or(address[] targets, bytes[] data) view returns(bool)

func (*OneInchLimitOrderCaller) Remaining

func (_OneInchLimitOrder *OneInchLimitOrderCaller) Remaining(opts *bind.CallOpts, orderHash [32]byte) (*big.Int, error)

Remaining is a free data retrieval call binding the contract method 0xbc1ed74c.

Solidity: function remaining(bytes32 orderHash) view returns(uint256)

func (*OneInchLimitOrderCaller) RemainingRaw

func (_OneInchLimitOrder *OneInchLimitOrderCaller) RemainingRaw(opts *bind.CallOpts, orderHash [32]byte) (*big.Int, error)

RemainingRaw is a free data retrieval call binding the contract method 0x7e54f092.

Solidity: function remainingRaw(bytes32 orderHash) view returns(uint256)

func (*OneInchLimitOrderCaller) RemainingsRaw

func (_OneInchLimitOrder *OneInchLimitOrderCaller) RemainingsRaw(opts *bind.CallOpts, orderHashes [][32]byte) ([]*big.Int, error)

RemainingsRaw is a free data retrieval call binding the contract method 0x942461bb.

Solidity: function remainingsRaw(bytes32[] orderHashes) view returns(uint256[])

func (*OneInchLimitOrderCaller) SinglePrice

func (_OneInchLimitOrder *OneInchLimitOrderCaller) SinglePrice(opts *bind.CallOpts, oracle common.Address, inverseAndSpread *big.Int, amount *big.Int) (*big.Int, error)

SinglePrice is a free data retrieval call binding the contract method 0xc05435f1.

Solidity: function singlePrice(address oracle, uint256 inverseAndSpread, uint256 amount) view returns(uint256)

func (*OneInchLimitOrderCaller) TimestampBelow

func (_OneInchLimitOrder *OneInchLimitOrderCaller) TimestampBelow(opts *bind.CallOpts, time *big.Int) (bool, error)

TimestampBelow is a free data retrieval call binding the contract method 0x63592c2b.

Solidity: function timestampBelow(uint256 time) view returns(bool)

type OneInchLimitOrderCallerRaw

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

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

func (*OneInchLimitOrderCallerRaw) Call

func (_OneInchLimitOrder *OneInchLimitOrderCallerRaw) 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 OneInchLimitOrderCallerSession

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

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

func (*OneInchLimitOrderCallerSession) And

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) And(targets []common.Address, data [][]byte) (bool, error)

And is a free data retrieval call binding the contract method 0x961d5b1e.

Solidity: function and(address[] targets, bytes[] data) view returns(bool)

func (*OneInchLimitOrderCallerSession) ArbitraryStaticCall

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) ArbitraryStaticCall(target common.Address, data []byte) (*big.Int, error)

ArbitraryStaticCall is a free data retrieval call binding the contract method 0xbf15fcd8.

Solidity: function arbitraryStaticCall(address target, bytes data) view returns(uint256)

func (*OneInchLimitOrderCallerSession) CheckPredicate

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) CheckPredicate(order OrderMixinOrder) (bool, error)

CheckPredicate is a free data retrieval call binding the contract method 0xa65a0e71.

Solidity: function checkPredicate((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) view returns(bool)

func (*OneInchLimitOrderCallerSession) DOMAINSEPARATOR

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*OneInchLimitOrderCallerSession) DoublePrice

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) DoublePrice(oracle1 common.Address, oracle2 common.Address, spread *big.Int, amount *big.Int) (*big.Int, error)

DoublePrice is a free data retrieval call binding the contract method 0x36006bf3.

Solidity: function doublePrice(address oracle1, address oracle2, uint256 spread, uint256 amount) view returns(uint256)

func (*OneInchLimitOrderCallerSession) Eq

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) Eq(value *big.Int, target common.Address, data []byte) (bool, error)

Eq is a free data retrieval call binding the contract method 0x32565d61.

Solidity: function eq(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderCallerSession) GetMakerAmount

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) GetMakerAmount(orderMakerAmount *big.Int, orderTakerAmount *big.Int, swapTakerAmount *big.Int) (*big.Int, error)

GetMakerAmount is a free data retrieval call binding the contract method 0xf4a215c3.

Solidity: function getMakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapTakerAmount) pure returns(uint256)

func (*OneInchLimitOrderCallerSession) GetTakerAmount

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) GetTakerAmount(orderMakerAmount *big.Int, orderTakerAmount *big.Int, swapMakerAmount *big.Int) (*big.Int, error)

GetTakerAmount is a free data retrieval call binding the contract method 0x296637bf.

Solidity: function getTakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapMakerAmount) pure returns(uint256)

func (*OneInchLimitOrderCallerSession) Gt

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) Gt(value *big.Int, target common.Address, data []byte) (bool, error)

Gt is a free data retrieval call binding the contract method 0x057702e9.

Solidity: function gt(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderCallerSession) HashOrder

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) HashOrder(order OrderMixinOrder) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0xfa1cb9f2.

Solidity: function hashOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) view returns(bytes32)

func (*OneInchLimitOrderCallerSession) InvalidatorForOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) InvalidatorForOrderRFQ(maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*OneInchLimitOrderCallerSession) LIMITORDERRFQTYPEHASH

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) LIMITORDERRFQTYPEHASH() ([32]byte, error)

LIMITORDERRFQTYPEHASH is a free data retrieval call binding the contract method 0x06bf53d0.

Solidity: function LIMIT_ORDER_RFQ_TYPEHASH() view returns(bytes32)

func (*OneInchLimitOrderCallerSession) LIMITORDERTYPEHASH

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) LIMITORDERTYPEHASH() ([32]byte, error)

LIMITORDERTYPEHASH is a free data retrieval call binding the contract method 0x54dd5f74.

Solidity: function LIMIT_ORDER_TYPEHASH() view returns(bytes32)

func (*OneInchLimitOrderCallerSession) Lt

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) Lt(value *big.Int, target common.Address, data []byte) (bool, error)

Lt is a free data retrieval call binding the contract method 0x871919d5.

Solidity: function lt(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderCallerSession) Nonce

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*OneInchLimitOrderCallerSession) NonceEquals

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) NonceEquals(makerAddress common.Address, makerNonce *big.Int) (bool, error)

NonceEquals is a free data retrieval call binding the contract method 0xcf6fc6e3.

Solidity: function nonceEquals(address makerAddress, uint256 makerNonce) view returns(bool)

func (*OneInchLimitOrderCallerSession) Or

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) Or(targets []common.Address, data [][]byte) (bool, error)

Or is a free data retrieval call binding the contract method 0xe6133301.

Solidity: function or(address[] targets, bytes[] data) view returns(bool)

func (*OneInchLimitOrderCallerSession) Remaining

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) Remaining(orderHash [32]byte) (*big.Int, error)

Remaining is a free data retrieval call binding the contract method 0xbc1ed74c.

Solidity: function remaining(bytes32 orderHash) view returns(uint256)

func (*OneInchLimitOrderCallerSession) RemainingRaw

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) RemainingRaw(orderHash [32]byte) (*big.Int, error)

RemainingRaw is a free data retrieval call binding the contract method 0x7e54f092.

Solidity: function remainingRaw(bytes32 orderHash) view returns(uint256)

func (*OneInchLimitOrderCallerSession) RemainingsRaw

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) RemainingsRaw(orderHashes [][32]byte) ([]*big.Int, error)

RemainingsRaw is a free data retrieval call binding the contract method 0x942461bb.

Solidity: function remainingsRaw(bytes32[] orderHashes) view returns(uint256[])

func (*OneInchLimitOrderCallerSession) SinglePrice

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) SinglePrice(oracle common.Address, inverseAndSpread *big.Int, amount *big.Int) (*big.Int, error)

SinglePrice is a free data retrieval call binding the contract method 0xc05435f1.

Solidity: function singlePrice(address oracle, uint256 inverseAndSpread, uint256 amount) view returns(uint256)

func (*OneInchLimitOrderCallerSession) TimestampBelow

func (_OneInchLimitOrder *OneInchLimitOrderCallerSession) TimestampBelow(time *big.Int) (bool, error)

TimestampBelow is a free data retrieval call binding the contract method 0x63592c2b.

Solidity: function timestampBelow(uint256 time) view returns(bool)

type OneInchLimitOrderFilterer

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

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

func NewOneInchLimitOrderFilterer

func NewOneInchLimitOrderFilterer(address common.Address, filterer bind.ContractFilterer) (*OneInchLimitOrderFilterer, error)

NewOneInchLimitOrderFilterer creates a new log filterer instance of OneInchLimitOrder, bound to a specific deployed contract.

func (*OneInchLimitOrderFilterer) FilterNonceIncreased

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) FilterNonceIncreased(opts *bind.FilterOpts, maker []common.Address) (*OneInchLimitOrderNonceIncreasedIterator, error)

FilterNonceIncreased is a free log retrieval operation binding the contract event 0xfc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db.

Solidity: event NonceIncreased(address indexed maker, uint256 newNonce)

func (*OneInchLimitOrderFilterer) FilterOrderCanceled

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) FilterOrderCanceled(opts *bind.FilterOpts, maker []common.Address) (*OneInchLimitOrderOrderCanceledIterator, error)

FilterOrderCanceled is a free log retrieval operation binding the contract event 0xcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1.

Solidity: event OrderCanceled(address indexed maker, bytes32 orderHash, uint256 remainingRaw)

func (*OneInchLimitOrderFilterer) FilterOrderFilled

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) FilterOrderFilled(opts *bind.FilterOpts, maker []common.Address) (*OneInchLimitOrderOrderFilledIterator, error)

FilterOrderFilled is a free log retrieval operation binding the contract event 0xb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02.

Solidity: event OrderFilled(address indexed maker, bytes32 orderHash, uint256 remaining)

func (*OneInchLimitOrderFilterer) FilterOrderFilledRFQ

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) FilterOrderFilledRFQ(opts *bind.FilterOpts) (*OneInchLimitOrderOrderFilledRFQIterator, error)

FilterOrderFilledRFQ is a free log retrieval operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*OneInchLimitOrderFilterer) ParseNonceIncreased

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) ParseNonceIncreased(log types.Log) (*OneInchLimitOrderNonceIncreased, error)

ParseNonceIncreased is a log parse operation binding the contract event 0xfc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db.

Solidity: event NonceIncreased(address indexed maker, uint256 newNonce)

func (*OneInchLimitOrderFilterer) ParseOrderCanceled

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) ParseOrderCanceled(log types.Log) (*OneInchLimitOrderOrderCanceled, error)

ParseOrderCanceled is a log parse operation binding the contract event 0xcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1.

Solidity: event OrderCanceled(address indexed maker, bytes32 orderHash, uint256 remainingRaw)

func (*OneInchLimitOrderFilterer) ParseOrderFilled

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) ParseOrderFilled(log types.Log) (*OneInchLimitOrderOrderFilled, error)

ParseOrderFilled is a log parse operation binding the contract event 0xb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02.

Solidity: event OrderFilled(address indexed maker, bytes32 orderHash, uint256 remaining)

func (*OneInchLimitOrderFilterer) ParseOrderFilledRFQ

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) ParseOrderFilledRFQ(log types.Log) (*OneInchLimitOrderOrderFilledRFQ, error)

ParseOrderFilledRFQ is a log parse operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*OneInchLimitOrderFilterer) WatchNonceIncreased

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) WatchNonceIncreased(opts *bind.WatchOpts, sink chan<- *OneInchLimitOrderNonceIncreased, maker []common.Address) (event.Subscription, error)

WatchNonceIncreased is a free log subscription operation binding the contract event 0xfc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db.

Solidity: event NonceIncreased(address indexed maker, uint256 newNonce)

func (*OneInchLimitOrderFilterer) WatchOrderCanceled

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) WatchOrderCanceled(opts *bind.WatchOpts, sink chan<- *OneInchLimitOrderOrderCanceled, maker []common.Address) (event.Subscription, error)

WatchOrderCanceled is a free log subscription operation binding the contract event 0xcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1.

Solidity: event OrderCanceled(address indexed maker, bytes32 orderHash, uint256 remainingRaw)

func (*OneInchLimitOrderFilterer) WatchOrderFilled

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) WatchOrderFilled(opts *bind.WatchOpts, sink chan<- *OneInchLimitOrderOrderFilled, maker []common.Address) (event.Subscription, error)

WatchOrderFilled is a free log subscription operation binding the contract event 0xb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02.

Solidity: event OrderFilled(address indexed maker, bytes32 orderHash, uint256 remaining)

func (*OneInchLimitOrderFilterer) WatchOrderFilledRFQ

func (_OneInchLimitOrder *OneInchLimitOrderFilterer) WatchOrderFilledRFQ(opts *bind.WatchOpts, sink chan<- *OneInchLimitOrderOrderFilledRFQ) (event.Subscription, error)

WatchOrderFilledRFQ is a free log subscription operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

type OneInchLimitOrderNonceIncreased

type OneInchLimitOrderNonceIncreased struct {
	Maker    common.Address
	NewNonce *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

OneInchLimitOrderNonceIncreased represents a NonceIncreased event raised by the OneInchLimitOrder contract.

type OneInchLimitOrderNonceIncreasedIterator

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

OneInchLimitOrderNonceIncreasedIterator is returned from FilterNonceIncreased and is used to iterate over the raw logs and unpacked data for NonceIncreased events raised by the OneInchLimitOrder contract.

func (*OneInchLimitOrderNonceIncreasedIterator) Close

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

func (*OneInchLimitOrderNonceIncreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchLimitOrderNonceIncreasedIterator) 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 OneInchLimitOrderOrderCanceled

type OneInchLimitOrderOrderCanceled struct {
	Maker        common.Address
	OrderHash    [32]byte
	RemainingRaw *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

OneInchLimitOrderOrderCanceled represents a OrderCanceled event raised by the OneInchLimitOrder contract.

type OneInchLimitOrderOrderCanceledIterator

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

OneInchLimitOrderOrderCanceledIterator is returned from FilterOrderCanceled and is used to iterate over the raw logs and unpacked data for OrderCanceled events raised by the OneInchLimitOrder contract.

func (*OneInchLimitOrderOrderCanceledIterator) Close

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

func (*OneInchLimitOrderOrderCanceledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchLimitOrderOrderCanceledIterator) 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 OneInchLimitOrderOrderFilled

type OneInchLimitOrderOrderFilled struct {
	Maker     common.Address
	OrderHash [32]byte
	Remaining *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OneInchLimitOrderOrderFilled represents a OrderFilled event raised by the OneInchLimitOrder contract.

type OneInchLimitOrderOrderFilledIterator

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

OneInchLimitOrderOrderFilledIterator is returned from FilterOrderFilled and is used to iterate over the raw logs and unpacked data for OrderFilled events raised by the OneInchLimitOrder contract.

func (*OneInchLimitOrderOrderFilledIterator) Close

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

func (*OneInchLimitOrderOrderFilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchLimitOrderOrderFilledIterator) 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 OneInchLimitOrderOrderFilledRFQ

type OneInchLimitOrderOrderFilledRFQ struct {
	OrderHash    [32]byte
	MakingAmount *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

OneInchLimitOrderOrderFilledRFQ represents a OrderFilledRFQ event raised by the OneInchLimitOrder contract.

type OneInchLimitOrderOrderFilledRFQIterator

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

OneInchLimitOrderOrderFilledRFQIterator is returned from FilterOrderFilledRFQ and is used to iterate over the raw logs and unpacked data for OrderFilledRFQ events raised by the OneInchLimitOrder contract.

func (*OneInchLimitOrderOrderFilledRFQIterator) Close

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

func (*OneInchLimitOrderOrderFilledRFQIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchLimitOrderOrderFilledRFQIterator) 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 OneInchLimitOrderRaw

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

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

func (*OneInchLimitOrderRaw) Call

func (_OneInchLimitOrder *OneInchLimitOrderRaw) 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 (*OneInchLimitOrderRaw) Transact

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

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

func (*OneInchLimitOrderRaw) Transfer

func (_OneInchLimitOrder *OneInchLimitOrderRaw) 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 OneInchLimitOrderSession

type OneInchLimitOrderSession struct {
	Contract     *OneInchLimitOrder // 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
}

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

func (*OneInchLimitOrderSession) AdvanceNonce

func (_OneInchLimitOrder *OneInchLimitOrderSession) AdvanceNonce(amount uint8) (*types.Transaction, error)

AdvanceNonce is a paid mutator transaction binding the contract method 0x72c244a8.

Solidity: function advanceNonce(uint8 amount) returns()

func (*OneInchLimitOrderSession) And

func (_OneInchLimitOrder *OneInchLimitOrderSession) And(targets []common.Address, data [][]byte) (bool, error)

And is a free data retrieval call binding the contract method 0x961d5b1e.

Solidity: function and(address[] targets, bytes[] data) view returns(bool)

func (*OneInchLimitOrderSession) ArbitraryStaticCall

func (_OneInchLimitOrder *OneInchLimitOrderSession) ArbitraryStaticCall(target common.Address, data []byte) (*big.Int, error)

ArbitraryStaticCall is a free data retrieval call binding the contract method 0xbf15fcd8.

Solidity: function arbitraryStaticCall(address target, bytes data) view returns(uint256)

func (*OneInchLimitOrderSession) CancelOrder

func (_OneInchLimitOrder *OneInchLimitOrderSession) CancelOrder(order OrderMixinOrder) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0xb244b450.

Solidity: function cancelOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) returns()

func (*OneInchLimitOrderSession) CancelOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderSession) CancelOrderRFQ(orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*OneInchLimitOrderSession) CheckPredicate

func (_OneInchLimitOrder *OneInchLimitOrderSession) CheckPredicate(order OrderMixinOrder) (bool, error)

CheckPredicate is a free data retrieval call binding the contract method 0xa65a0e71.

Solidity: function checkPredicate((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) view returns(bool)

func (*OneInchLimitOrderSession) DOMAINSEPARATOR

func (_OneInchLimitOrder *OneInchLimitOrderSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*OneInchLimitOrderSession) DoublePrice

func (_OneInchLimitOrder *OneInchLimitOrderSession) DoublePrice(oracle1 common.Address, oracle2 common.Address, spread *big.Int, amount *big.Int) (*big.Int, error)

DoublePrice is a free data retrieval call binding the contract method 0x36006bf3.

Solidity: function doublePrice(address oracle1, address oracle2, uint256 spread, uint256 amount) view returns(uint256)

func (*OneInchLimitOrderSession) Eq

func (_OneInchLimitOrder *OneInchLimitOrderSession) Eq(value *big.Int, target common.Address, data []byte) (bool, error)

Eq is a free data retrieval call binding the contract method 0x32565d61.

Solidity: function eq(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderSession) FillOrder

func (_OneInchLimitOrder *OneInchLimitOrderSession) FillOrder(order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int) (*types.Transaction, error)

FillOrder is a paid mutator transaction binding the contract method 0x655d13cd.

Solidity: function fillOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount) returns(uint256, uint256)

func (*OneInchLimitOrderSession) FillOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderSession) FillOrderRFQ(order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0xd0a3b665.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount) returns(uint256, uint256)

func (*OneInchLimitOrderSession) FillOrderRFQTo

func (_OneInchLimitOrder *OneInchLimitOrderSession) FillOrderRFQTo(order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0xbaba5855.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target) returns(uint256, uint256)

func (*OneInchLimitOrderSession) FillOrderRFQToWithPermit

func (_OneInchLimitOrder *OneInchLimitOrderSession) FillOrderRFQToWithPermit(order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x4cc4a27b.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target, bytes permit) returns(uint256, uint256)

func (*OneInchLimitOrderSession) FillOrderTo

func (_OneInchLimitOrder *OneInchLimitOrderSession) FillOrderTo(order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderTo is a paid mutator transaction binding the contract method 0xb2610fe3.

Solidity: function fillOrderTo((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount, address target) returns(uint256, uint256)

func (*OneInchLimitOrderSession) FillOrderToWithPermit

func (_OneInchLimitOrder *OneInchLimitOrderSession) FillOrderToWithPermit(order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderToWithPermit is a paid mutator transaction binding the contract method 0x6073cc20.

Solidity: function fillOrderToWithPermit((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount, address target, bytes permit) returns(uint256, uint256)

func (*OneInchLimitOrderSession) GetMakerAmount

func (_OneInchLimitOrder *OneInchLimitOrderSession) GetMakerAmount(orderMakerAmount *big.Int, orderTakerAmount *big.Int, swapTakerAmount *big.Int) (*big.Int, error)

GetMakerAmount is a free data retrieval call binding the contract method 0xf4a215c3.

Solidity: function getMakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapTakerAmount) pure returns(uint256)

func (*OneInchLimitOrderSession) GetTakerAmount

func (_OneInchLimitOrder *OneInchLimitOrderSession) GetTakerAmount(orderMakerAmount *big.Int, orderTakerAmount *big.Int, swapMakerAmount *big.Int) (*big.Int, error)

GetTakerAmount is a free data retrieval call binding the contract method 0x296637bf.

Solidity: function getTakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapMakerAmount) pure returns(uint256)

func (*OneInchLimitOrderSession) Gt

func (_OneInchLimitOrder *OneInchLimitOrderSession) Gt(value *big.Int, target common.Address, data []byte) (bool, error)

Gt is a free data retrieval call binding the contract method 0x057702e9.

Solidity: function gt(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderSession) HashOrder

func (_OneInchLimitOrder *OneInchLimitOrderSession) HashOrder(order OrderMixinOrder) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0xfa1cb9f2.

Solidity: function hashOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) view returns(bytes32)

func (*OneInchLimitOrderSession) IncreaseNonce

func (_OneInchLimitOrder *OneInchLimitOrderSession) IncreaseNonce() (*types.Transaction, error)

IncreaseNonce is a paid mutator transaction binding the contract method 0xc53a0292.

Solidity: function increaseNonce() returns()

func (*OneInchLimitOrderSession) InvalidatorForOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderSession) InvalidatorForOrderRFQ(maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*OneInchLimitOrderSession) LIMITORDERRFQTYPEHASH

func (_OneInchLimitOrder *OneInchLimitOrderSession) LIMITORDERRFQTYPEHASH() ([32]byte, error)

LIMITORDERRFQTYPEHASH is a free data retrieval call binding the contract method 0x06bf53d0.

Solidity: function LIMIT_ORDER_RFQ_TYPEHASH() view returns(bytes32)

func (*OneInchLimitOrderSession) LIMITORDERTYPEHASH

func (_OneInchLimitOrder *OneInchLimitOrderSession) LIMITORDERTYPEHASH() ([32]byte, error)

LIMITORDERTYPEHASH is a free data retrieval call binding the contract method 0x54dd5f74.

Solidity: function LIMIT_ORDER_TYPEHASH() view returns(bytes32)

func (*OneInchLimitOrderSession) Lt

func (_OneInchLimitOrder *OneInchLimitOrderSession) Lt(value *big.Int, target common.Address, data []byte) (bool, error)

Lt is a free data retrieval call binding the contract method 0x871919d5.

Solidity: function lt(uint256 value, address target, bytes data) view returns(bool)

func (*OneInchLimitOrderSession) Nonce

func (_OneInchLimitOrder *OneInchLimitOrderSession) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*OneInchLimitOrderSession) NonceEquals

func (_OneInchLimitOrder *OneInchLimitOrderSession) NonceEquals(makerAddress common.Address, makerNonce *big.Int) (bool, error)

NonceEquals is a free data retrieval call binding the contract method 0xcf6fc6e3.

Solidity: function nonceEquals(address makerAddress, uint256 makerNonce) view returns(bool)

func (*OneInchLimitOrderSession) Or

func (_OneInchLimitOrder *OneInchLimitOrderSession) Or(targets []common.Address, data [][]byte) (bool, error)

Or is a free data retrieval call binding the contract method 0xe6133301.

Solidity: function or(address[] targets, bytes[] data) view returns(bool)

func (*OneInchLimitOrderSession) Remaining

func (_OneInchLimitOrder *OneInchLimitOrderSession) Remaining(orderHash [32]byte) (*big.Int, error)

Remaining is a free data retrieval call binding the contract method 0xbc1ed74c.

Solidity: function remaining(bytes32 orderHash) view returns(uint256)

func (*OneInchLimitOrderSession) RemainingRaw

func (_OneInchLimitOrder *OneInchLimitOrderSession) RemainingRaw(orderHash [32]byte) (*big.Int, error)

RemainingRaw is a free data retrieval call binding the contract method 0x7e54f092.

Solidity: function remainingRaw(bytes32 orderHash) view returns(uint256)

func (*OneInchLimitOrderSession) RemainingsRaw

func (_OneInchLimitOrder *OneInchLimitOrderSession) RemainingsRaw(orderHashes [][32]byte) ([]*big.Int, error)

RemainingsRaw is a free data retrieval call binding the contract method 0x942461bb.

Solidity: function remainingsRaw(bytes32[] orderHashes) view returns(uint256[])

func (*OneInchLimitOrderSession) SimulateCalls

func (_OneInchLimitOrder *OneInchLimitOrderSession) SimulateCalls(targets []common.Address, data [][]byte) (*types.Transaction, error)

SimulateCalls is a paid mutator transaction binding the contract method 0x7f29a59d.

Solidity: function simulateCalls(address[] targets, bytes[] data) returns()

func (*OneInchLimitOrderSession) SinglePrice

func (_OneInchLimitOrder *OneInchLimitOrderSession) SinglePrice(oracle common.Address, inverseAndSpread *big.Int, amount *big.Int) (*big.Int, error)

SinglePrice is a free data retrieval call binding the contract method 0xc05435f1.

Solidity: function singlePrice(address oracle, uint256 inverseAndSpread, uint256 amount) view returns(uint256)

func (*OneInchLimitOrderSession) TimestampBelow

func (_OneInchLimitOrder *OneInchLimitOrderSession) TimestampBelow(time *big.Int) (bool, error)

TimestampBelow is a free data retrieval call binding the contract method 0x63592c2b.

Solidity: function timestampBelow(uint256 time) view returns(bool)

type OneInchLimitOrderTransactor

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

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

func NewOneInchLimitOrderTransactor

func NewOneInchLimitOrderTransactor(address common.Address, transactor bind.ContractTransactor) (*OneInchLimitOrderTransactor, error)

NewOneInchLimitOrderTransactor creates a new write-only instance of OneInchLimitOrder, bound to a specific deployed contract.

func (*OneInchLimitOrderTransactor) AdvanceNonce

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) AdvanceNonce(opts *bind.TransactOpts, amount uint8) (*types.Transaction, error)

AdvanceNonce is a paid mutator transaction binding the contract method 0x72c244a8.

Solidity: function advanceNonce(uint8 amount) returns()

func (*OneInchLimitOrderTransactor) CancelOrder

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) CancelOrder(opts *bind.TransactOpts, order OrderMixinOrder) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0xb244b450.

Solidity: function cancelOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) returns()

func (*OneInchLimitOrderTransactor) CancelOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) CancelOrderRFQ(opts *bind.TransactOpts, orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*OneInchLimitOrderTransactor) FillOrder

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) FillOrder(opts *bind.TransactOpts, order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int) (*types.Transaction, error)

FillOrder is a paid mutator transaction binding the contract method 0x655d13cd.

Solidity: function fillOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount) returns(uint256, uint256)

func (*OneInchLimitOrderTransactor) FillOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) FillOrderRFQ(opts *bind.TransactOpts, order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0xd0a3b665.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount) returns(uint256, uint256)

func (*OneInchLimitOrderTransactor) FillOrderRFQTo

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) FillOrderRFQTo(opts *bind.TransactOpts, order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0xbaba5855.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target) returns(uint256, uint256)

func (*OneInchLimitOrderTransactor) FillOrderRFQToWithPermit

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) FillOrderRFQToWithPermit(opts *bind.TransactOpts, order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x4cc4a27b.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target, bytes permit) returns(uint256, uint256)

func (*OneInchLimitOrderTransactor) FillOrderTo

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) FillOrderTo(opts *bind.TransactOpts, order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderTo is a paid mutator transaction binding the contract method 0xb2610fe3.

Solidity: function fillOrderTo((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount, address target) returns(uint256, uint256)

func (*OneInchLimitOrderTransactor) FillOrderToWithPermit

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) FillOrderToWithPermit(opts *bind.TransactOpts, order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderToWithPermit is a paid mutator transaction binding the contract method 0x6073cc20.

Solidity: function fillOrderToWithPermit((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount, address target, bytes permit) returns(uint256, uint256)

func (*OneInchLimitOrderTransactor) IncreaseNonce

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) IncreaseNonce(opts *bind.TransactOpts) (*types.Transaction, error)

IncreaseNonce is a paid mutator transaction binding the contract method 0xc53a0292.

Solidity: function increaseNonce() returns()

func (*OneInchLimitOrderTransactor) SimulateCalls

func (_OneInchLimitOrder *OneInchLimitOrderTransactor) SimulateCalls(opts *bind.TransactOpts, targets []common.Address, data [][]byte) (*types.Transaction, error)

SimulateCalls is a paid mutator transaction binding the contract method 0x7f29a59d.

Solidity: function simulateCalls(address[] targets, bytes[] data) returns()

type OneInchLimitOrderTransactorRaw

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

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

func (*OneInchLimitOrderTransactorRaw) Transact

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

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

func (*OneInchLimitOrderTransactorRaw) Transfer

func (_OneInchLimitOrder *OneInchLimitOrderTransactorRaw) 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 OneInchLimitOrderTransactorSession

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

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

func (*OneInchLimitOrderTransactorSession) AdvanceNonce

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) AdvanceNonce(amount uint8) (*types.Transaction, error)

AdvanceNonce is a paid mutator transaction binding the contract method 0x72c244a8.

Solidity: function advanceNonce(uint8 amount) returns()

func (*OneInchLimitOrderTransactorSession) CancelOrder

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) CancelOrder(order OrderMixinOrder) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0xb244b450.

Solidity: function cancelOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order) returns()

func (*OneInchLimitOrderTransactorSession) CancelOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) CancelOrderRFQ(orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*OneInchLimitOrderTransactorSession) FillOrder

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) FillOrder(order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int) (*types.Transaction, error)

FillOrder is a paid mutator transaction binding the contract method 0x655d13cd.

Solidity: function fillOrder((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount) returns(uint256, uint256)

func (*OneInchLimitOrderTransactorSession) FillOrderRFQ

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) FillOrderRFQ(order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0xd0a3b665.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount) returns(uint256, uint256)

func (*OneInchLimitOrderTransactorSession) FillOrderRFQTo

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) FillOrderRFQTo(order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0xbaba5855.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target) returns(uint256, uint256)

func (*OneInchLimitOrderTransactorSession) FillOrderRFQToWithPermit

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) FillOrderRFQToWithPermit(order OrderRFQMixinOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x4cc4a27b.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target, bytes permit) returns(uint256, uint256)

func (*OneInchLimitOrderTransactorSession) FillOrderTo

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) FillOrderTo(order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderTo is a paid mutator transaction binding the contract method 0xb2610fe3.

Solidity: function fillOrderTo((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount, address target) returns(uint256, uint256)

func (*OneInchLimitOrderTransactorSession) FillOrderToWithPermit

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) FillOrderToWithPermit(order OrderMixinOrder, signature []byte, makingAmount *big.Int, takingAmount *big.Int, thresholdAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderToWithPermit is a paid mutator transaction binding the contract method 0x6073cc20.

Solidity: function fillOrderToWithPermit((uint256,address,address,address,address,address,uint256,uint256,bytes,bytes,bytes,bytes,bytes,bytes,bytes) order, bytes signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount, address target, bytes permit) returns(uint256, uint256)

func (*OneInchLimitOrderTransactorSession) IncreaseNonce

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) IncreaseNonce() (*types.Transaction, error)

IncreaseNonce is a paid mutator transaction binding the contract method 0xc53a0292.

Solidity: function increaseNonce() returns()

func (*OneInchLimitOrderTransactorSession) SimulateCalls

func (_OneInchLimitOrder *OneInchLimitOrderTransactorSession) SimulateCalls(targets []common.Address, data [][]byte) (*types.Transaction, error)

SimulateCalls is a paid mutator transaction binding the contract method 0x7f29a59d.

Solidity: function simulateCalls(address[] targets, bytes[] data) returns()

type OrderMixinOrder

type OrderMixinOrder struct {
	Salt           *big.Int
	MakerAsset     common.Address
	TakerAsset     common.Address
	Maker          common.Address
	Receiver       common.Address
	AllowedSender  common.Address
	MakingAmount   *big.Int
	TakingAmount   *big.Int
	MakerAssetData []byte
	TakerAssetData []byte
	GetMakerAmount []byte
	GetTakerAmount []byte
	Predicate      []byte
	Permit         []byte
	Interaction    []byte
}

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

type OrderRFQMixinOrderRFQ

type OrderRFQMixinOrderRFQ struct {
	Info          *big.Int
	MakerAsset    common.Address
	TakerAsset    common.Address
	Maker         common.Address
	AllowedSender common.Address
	MakingAmount  *big.Int
	TakingAmount  *big.Int
}

OrderRFQMixinOrderRFQ 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