Documentation ¶
Index ¶
- Variables
- type Condition
- type SimpleRfqSolver
- type SimpleRfqSolverCaller
- type SimpleRfqSolverCallerRaw
- type SimpleRfqSolverCallerSession
- type SimpleRfqSolverFilterer
- type SimpleRfqSolverRaw
- func (_SimpleRfqSolver *SimpleRfqSolverRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SimpleRfqSolver *SimpleRfqSolverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleRfqSolverSession
- func (_SimpleRfqSolver *SimpleRfqSolverSession) AtlasSolverCall(solverOpFrom common.Address, executionEnvironment common.Address, ...) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverSession) FulfillRFQ(swapIntent SwapIntent, executionEnvironment common.Address) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverSession) Receive() (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverSession) WETHADDRESS() (common.Address, error)
- type SimpleRfqSolverTransactor
- func (_SimpleRfqSolver *SimpleRfqSolverTransactor) AtlasSolverCall(opts *bind.TransactOpts, solverOpFrom common.Address, ...) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverTransactor) FulfillRFQ(opts *bind.TransactOpts, swapIntent SwapIntent, ...) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleRfqSolverTransactorRaw
- type SimpleRfqSolverTransactorSession
- func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) AtlasSolverCall(solverOpFrom common.Address, executionEnvironment common.Address, ...) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) FulfillRFQ(swapIntent SwapIntent, executionEnvironment common.Address) (*types.Transaction, error)
- func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) Receive() (*types.Transaction, error)
- type SwapIntent
Constants ¶
This section is empty.
Variables ¶
var SimpleRfqSolverABI = SimpleRfqSolverMetaData.ABI
SimpleRfqSolverABI is the input ABI used to generate the binding from. Deprecated: Use SimpleRfqSolverMetaData.ABI instead.
var SimpleRfqSolverMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"weth\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"atlas\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"WETH_ADDRESS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"atlasSolverCall\",\"inputs\":[{\"name\":\"solverOpFrom\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"executionEnvironment\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"bidToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"bidAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"solverOpData\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"fulfillRFQ\",\"inputs\":[{\"name\":\"swapIntent\",\"type\":\"tuple\",\"internalType\":\"structSwapIntent\",\"components\":[{\"name\":\"tokenUserBuys\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amountUserBuys\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokenUserSells\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amountUserSells\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"auctionBaseCurrency\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"conditions\",\"type\":\"tuple[]\",\"internalType\":\"structCondition[]\",\"components\":[{\"name\":\"antecedent\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"context\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}]},{\"name\":\"executionEnvironment\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
}
SimpleRfqSolverMetaData contains all meta data concerning the SimpleRfqSolver contract.
Functions ¶
This section is empty.
Types ¶
type SimpleRfqSolver ¶
type SimpleRfqSolver struct { SimpleRfqSolverCaller // Read-only binding to the contract SimpleRfqSolverTransactor // Write-only binding to the contract SimpleRfqSolverFilterer // Log filterer for contract events }
SimpleRfqSolver is an auto generated Go binding around an Ethereum contract.
func NewSimpleRfqSolver ¶
func NewSimpleRfqSolver(address common.Address, backend bind.ContractBackend) (*SimpleRfqSolver, error)
NewSimpleRfqSolver creates a new instance of SimpleRfqSolver, bound to a specific deployed contract.
type SimpleRfqSolverCaller ¶
type SimpleRfqSolverCaller struct {
// contains filtered or unexported fields
}
SimpleRfqSolverCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleRfqSolverCaller ¶
func NewSimpleRfqSolverCaller(address common.Address, caller bind.ContractCaller) (*SimpleRfqSolverCaller, error)
NewSimpleRfqSolverCaller creates a new read-only instance of SimpleRfqSolver, bound to a specific deployed contract.
func (*SimpleRfqSolverCaller) WETHADDRESS ¶
func (_SimpleRfqSolver *SimpleRfqSolverCaller) WETHADDRESS(opts *bind.CallOpts) (common.Address, error)
WETHADDRESS is a free data retrieval call binding the contract method 0x040141e5.
Solidity: function WETH_ADDRESS() view returns(address)
type SimpleRfqSolverCallerRaw ¶
type SimpleRfqSolverCallerRaw struct {
Contract *SimpleRfqSolverCaller // Generic read-only contract binding to access the raw methods on
}
SimpleRfqSolverCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleRfqSolverCallerRaw) Call ¶
func (_SimpleRfqSolver *SimpleRfqSolverCallerRaw) 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 SimpleRfqSolverCallerSession ¶
type SimpleRfqSolverCallerSession struct { Contract *SimpleRfqSolverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SimpleRfqSolverCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleRfqSolverCallerSession) WETHADDRESS ¶
func (_SimpleRfqSolver *SimpleRfqSolverCallerSession) WETHADDRESS() (common.Address, error)
WETHADDRESS is a free data retrieval call binding the contract method 0x040141e5.
Solidity: function WETH_ADDRESS() view returns(address)
type SimpleRfqSolverFilterer ¶
type SimpleRfqSolverFilterer struct {
// contains filtered or unexported fields
}
SimpleRfqSolverFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleRfqSolverFilterer ¶
func NewSimpleRfqSolverFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleRfqSolverFilterer, error)
NewSimpleRfqSolverFilterer creates a new log filterer instance of SimpleRfqSolver, bound to a specific deployed contract.
type SimpleRfqSolverRaw ¶
type SimpleRfqSolverRaw struct {
Contract *SimpleRfqSolver // Generic contract binding to access the raw methods on
}
SimpleRfqSolverRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleRfqSolverRaw) Call ¶
func (_SimpleRfqSolver *SimpleRfqSolverRaw) 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 (*SimpleRfqSolverRaw) Transact ¶
func (_SimpleRfqSolver *SimpleRfqSolverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleRfqSolverRaw) Transfer ¶
func (_SimpleRfqSolver *SimpleRfqSolverRaw) 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 SimpleRfqSolverSession ¶
type SimpleRfqSolverSession struct { Contract *SimpleRfqSolver // 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 }
SimpleRfqSolverSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleRfqSolverSession) AtlasSolverCall ¶
func (_SimpleRfqSolver *SimpleRfqSolverSession) AtlasSolverCall(solverOpFrom common.Address, executionEnvironment common.Address, bidToken common.Address, bidAmount *big.Int, solverOpData []byte, arg5 []byte) (*types.Transaction, error)
AtlasSolverCall is a paid mutator transaction binding the contract method 0x024181a6.
Solidity: function atlasSolverCall(address solverOpFrom, address executionEnvironment, address bidToken, uint256 bidAmount, bytes solverOpData, bytes ) payable returns()
func (*SimpleRfqSolverSession) Fallback ¶
func (_SimpleRfqSolver *SimpleRfqSolverSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*SimpleRfqSolverSession) FulfillRFQ ¶
func (_SimpleRfqSolver *SimpleRfqSolverSession) FulfillRFQ(swapIntent SwapIntent, executionEnvironment common.Address) (*types.Transaction, error)
FulfillRFQ is a paid mutator transaction binding the contract method 0x2ad99656.
Solidity: function fulfillRFQ((address,uint256,address,uint256,address,(address,bytes)[]) swapIntent, address executionEnvironment) returns()
func (*SimpleRfqSolverSession) Receive ¶
func (_SimpleRfqSolver *SimpleRfqSolverSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*SimpleRfqSolverSession) WETHADDRESS ¶
func (_SimpleRfqSolver *SimpleRfqSolverSession) WETHADDRESS() (common.Address, error)
WETHADDRESS is a free data retrieval call binding the contract method 0x040141e5.
Solidity: function WETH_ADDRESS() view returns(address)
type SimpleRfqSolverTransactor ¶
type SimpleRfqSolverTransactor struct {
// contains filtered or unexported fields
}
SimpleRfqSolverTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleRfqSolverTransactor ¶
func NewSimpleRfqSolverTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleRfqSolverTransactor, error)
NewSimpleRfqSolverTransactor creates a new write-only instance of SimpleRfqSolver, bound to a specific deployed contract.
func (*SimpleRfqSolverTransactor) AtlasSolverCall ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactor) AtlasSolverCall(opts *bind.TransactOpts, solverOpFrom common.Address, executionEnvironment common.Address, bidToken common.Address, bidAmount *big.Int, solverOpData []byte, arg5 []byte) (*types.Transaction, error)
AtlasSolverCall is a paid mutator transaction binding the contract method 0x024181a6.
Solidity: function atlasSolverCall(address solverOpFrom, address executionEnvironment, address bidToken, uint256 bidAmount, bytes solverOpData, bytes ) payable returns()
func (*SimpleRfqSolverTransactor) Fallback ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*SimpleRfqSolverTransactor) FulfillRFQ ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactor) FulfillRFQ(opts *bind.TransactOpts, swapIntent SwapIntent, executionEnvironment common.Address) (*types.Transaction, error)
FulfillRFQ is a paid mutator transaction binding the contract method 0x2ad99656.
Solidity: function fulfillRFQ((address,uint256,address,uint256,address,(address,bytes)[]) swapIntent, address executionEnvironment) returns()
func (*SimpleRfqSolverTransactor) Receive ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type SimpleRfqSolverTransactorRaw ¶
type SimpleRfqSolverTransactorRaw struct {
Contract *SimpleRfqSolverTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleRfqSolverTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleRfqSolverTransactorRaw) Transact ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleRfqSolverTransactorRaw) Transfer ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactorRaw) 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 SimpleRfqSolverTransactorSession ¶
type SimpleRfqSolverTransactorSession struct { Contract *SimpleRfqSolverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SimpleRfqSolverTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleRfqSolverTransactorSession) AtlasSolverCall ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) AtlasSolverCall(solverOpFrom common.Address, executionEnvironment common.Address, bidToken common.Address, bidAmount *big.Int, solverOpData []byte, arg5 []byte) (*types.Transaction, error)
AtlasSolverCall is a paid mutator transaction binding the contract method 0x024181a6.
Solidity: function atlasSolverCall(address solverOpFrom, address executionEnvironment, address bidToken, uint256 bidAmount, bytes solverOpData, bytes ) payable returns()
func (*SimpleRfqSolverTransactorSession) Fallback ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*SimpleRfqSolverTransactorSession) FulfillRFQ ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) FulfillRFQ(swapIntent SwapIntent, executionEnvironment common.Address) (*types.Transaction, error)
FulfillRFQ is a paid mutator transaction binding the contract method 0x2ad99656.
Solidity: function fulfillRFQ((address,uint256,address,uint256,address,(address,bytes)[]) swapIntent, address executionEnvironment) returns()
func (*SimpleRfqSolverTransactorSession) Receive ¶
func (_SimpleRfqSolver *SimpleRfqSolverTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()