Documentation ¶
Index ¶
- Variables
- type UniversalRouter
- type UniversalRouterCaller
- type UniversalRouterCallerRaw
- type UniversalRouterCallerSession
- type UniversalRouterFilterer
- type UniversalRouterRaw
- func (_UniversalRouter *UniversalRouterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UniversalRouter *UniversalRouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UniversalRouter *UniversalRouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UniversalRouterSession
- type UniversalRouterTransactor
- type UniversalRouterTransactorRaw
- type UniversalRouterTransactorSession
Constants ¶
This section is empty.
Variables ¶
var UniversalRouterABI = UniversalRouterMetaData.ABI
UniversalRouterABI is the input ABI used to generate the binding from. Deprecated: Use UniversalRouterMetaData.ABI instead.
var UniversalRouterMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"commands\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}
UniversalRouterMetaData contains all meta data concerning the UniversalRouter contract.
Functions ¶
This section is empty.
Types ¶
type UniversalRouter ¶
type UniversalRouter struct { UniversalRouterCaller // Read-only binding to the contract UniversalRouterTransactor // Write-only binding to the contract UniversalRouterFilterer // Log filterer for contract events }
UniversalRouter is an auto generated Go binding around an Ethereum contract.
func NewUniversalRouter ¶
func NewUniversalRouter(address common.Address, backend bind.ContractBackend) (*UniversalRouter, error)
NewUniversalRouter creates a new instance of UniversalRouter, bound to a specific deployed contract.
type UniversalRouterCaller ¶
type UniversalRouterCaller struct {
// contains filtered or unexported fields
}
UniversalRouterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUniversalRouterCaller ¶
func NewUniversalRouterCaller(address common.Address, caller bind.ContractCaller) (*UniversalRouterCaller, error)
NewUniversalRouterCaller creates a new read-only instance of UniversalRouter, bound to a specific deployed contract.
type UniversalRouterCallerRaw ¶
type UniversalRouterCallerRaw struct {
Contract *UniversalRouterCaller // Generic read-only contract binding to access the raw methods on
}
UniversalRouterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UniversalRouterCallerRaw) Call ¶
func (_UniversalRouter *UniversalRouterCallerRaw) 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 UniversalRouterCallerSession ¶
type UniversalRouterCallerSession struct { Contract *UniversalRouterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UniversalRouterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type UniversalRouterFilterer ¶
type UniversalRouterFilterer struct {
// contains filtered or unexported fields
}
UniversalRouterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUniversalRouterFilterer ¶
func NewUniversalRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*UniversalRouterFilterer, error)
NewUniversalRouterFilterer creates a new log filterer instance of UniversalRouter, bound to a specific deployed contract.
type UniversalRouterRaw ¶
type UniversalRouterRaw struct {
Contract *UniversalRouter // Generic contract binding to access the raw methods on
}
UniversalRouterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UniversalRouterRaw) Call ¶
func (_UniversalRouter *UniversalRouterRaw) 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 (*UniversalRouterRaw) Transact ¶
func (_UniversalRouter *UniversalRouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniversalRouterRaw) Transfer ¶
func (_UniversalRouter *UniversalRouterRaw) 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 UniversalRouterSession ¶
type UniversalRouterSession struct { Contract *UniversalRouter // 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 }
UniversalRouterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UniversalRouterSession) Execute ¶
func (_UniversalRouter *UniversalRouterSession) Execute(commands []byte, inputs [][]byte, deadline *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x3593564c.
Solidity: function execute(bytes commands, bytes[] inputs, uint256 deadline) payable returns()
type UniversalRouterTransactor ¶
type UniversalRouterTransactor struct {
// contains filtered or unexported fields
}
UniversalRouterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUniversalRouterTransactor ¶
func NewUniversalRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*UniversalRouterTransactor, error)
NewUniversalRouterTransactor creates a new write-only instance of UniversalRouter, bound to a specific deployed contract.
func (*UniversalRouterTransactor) Execute ¶
func (_UniversalRouter *UniversalRouterTransactor) Execute(opts *bind.TransactOpts, commands []byte, inputs [][]byte, deadline *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x3593564c.
Solidity: function execute(bytes commands, bytes[] inputs, uint256 deadline) payable returns()
type UniversalRouterTransactorRaw ¶
type UniversalRouterTransactorRaw struct {
Contract *UniversalRouterTransactor // Generic write-only contract binding to access the raw methods on
}
UniversalRouterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UniversalRouterTransactorRaw) Transact ¶
func (_UniversalRouter *UniversalRouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniversalRouterTransactorRaw) Transfer ¶
func (_UniversalRouter *UniversalRouterTransactorRaw) 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 UniversalRouterTransactorSession ¶
type UniversalRouterTransactorSession struct { Contract *UniversalRouterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UniversalRouterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UniversalRouterTransactorSession) Execute ¶
func (_UniversalRouter *UniversalRouterTransactorSession) Execute(commands []byte, inputs [][]byte, deadline *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x3593564c.
Solidity: function execute(bytes commands, bytes[] inputs, uint256 deadline) payable returns()