Documentation ¶
Index ¶
- Variables
- type Multicall
- type Multicall3Call
- type Multicall3Result
- type MulticallCaller
- type MulticallCallerRaw
- type MulticallCallerSession
- type MulticallFilterer
- type MulticallRaw
- func (_Multicall *MulticallRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Multicall *MulticallRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Multicall *MulticallRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MulticallSession
- type MulticallTransactor
- type MulticallTransactorRaw
- type MulticallTransactorSession
Constants ¶
This section is empty.
Variables ¶
var MulticallABI = MulticallMetaData.ABI
MulticallABI is the input ABI used to generate the binding from. Deprecated: Use MulticallMetaData.ABI instead.
var MulticallMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"requireSuccess\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"tryAggregate\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMulticall3.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
MulticallMetaData contains all meta data concerning the Multicall contract.
Functions ¶
This section is empty.
Types ¶
type Multicall ¶
type Multicall struct { MulticallCaller // Read-only binding to the contract MulticallTransactor // Write-only binding to the contract MulticallFilterer // Log filterer for contract events }
Multicall is an auto generated Go binding around an Ethereum contract.
func NewMulticall ¶
NewMulticall creates a new instance of Multicall, bound to a specific deployed contract.
type Multicall3Call ¶
Multicall3Call is an auto generated low-level Go binding around an user-defined struct.
type Multicall3Result ¶
Multicall3Result is an auto generated low-level Go binding around an user-defined struct.
type MulticallCaller ¶
type MulticallCaller struct {
// contains filtered or unexported fields
}
MulticallCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMulticallCaller ¶
func NewMulticallCaller(address common.Address, caller bind.ContractCaller) (*MulticallCaller, error)
NewMulticallCaller creates a new read-only instance of Multicall, bound to a specific deployed contract.
func (*MulticallCaller) TryAggregate ¶
func (_Multicall *MulticallCaller) TryAggregate(opts *bind.CallOpts, requireSuccess bool, calls []Multicall3Call) ([]Multicall3Result, error)
TryAggregate is a free data retrieval call binding the contract method 0xbce38bd7.
Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) view returns((bool,bytes)[] returnData)
type MulticallCallerRaw ¶
type MulticallCallerRaw struct {
Contract *MulticallCaller // Generic read-only contract binding to access the raw methods on
}
MulticallCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MulticallCallerRaw) Call ¶
func (_Multicall *MulticallCallerRaw) 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 MulticallCallerSession ¶
type MulticallCallerSession struct { Contract *MulticallCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MulticallCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MulticallCallerSession) TryAggregate ¶
func (_Multicall *MulticallCallerSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) ([]Multicall3Result, error)
TryAggregate is a free data retrieval call binding the contract method 0xbce38bd7.
Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) view returns((bool,bytes)[] returnData)
type MulticallFilterer ¶
type MulticallFilterer struct {
// contains filtered or unexported fields
}
MulticallFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMulticallFilterer ¶
func NewMulticallFilterer(address common.Address, filterer bind.ContractFilterer) (*MulticallFilterer, error)
NewMulticallFilterer creates a new log filterer instance of Multicall, bound to a specific deployed contract.
type MulticallRaw ¶
type MulticallRaw struct {
Contract *Multicall // Generic contract binding to access the raw methods on
}
MulticallRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MulticallRaw) Call ¶
func (_Multicall *MulticallRaw) 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 (*MulticallRaw) Transact ¶
func (_Multicall *MulticallRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MulticallRaw) Transfer ¶
func (_Multicall *MulticallRaw) 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 MulticallSession ¶
type MulticallSession struct { Contract *Multicall // 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 }
MulticallSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MulticallSession) TryAggregate ¶
func (_Multicall *MulticallSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) ([]Multicall3Result, error)
TryAggregate is a free data retrieval call binding the contract method 0xbce38bd7.
Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) view returns((bool,bytes)[] returnData)
type MulticallTransactor ¶
type MulticallTransactor struct {
// contains filtered or unexported fields
}
MulticallTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMulticallTransactor ¶
func NewMulticallTransactor(address common.Address, transactor bind.ContractTransactor) (*MulticallTransactor, error)
NewMulticallTransactor creates a new write-only instance of Multicall, bound to a specific deployed contract.
type MulticallTransactorRaw ¶
type MulticallTransactorRaw struct {
Contract *MulticallTransactor // Generic write-only contract binding to access the raw methods on
}
MulticallTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MulticallTransactorRaw) Transact ¶
func (_Multicall *MulticallTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MulticallTransactorRaw) Transfer ¶
func (_Multicall *MulticallTransactorRaw) 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 MulticallTransactorSession ¶
type MulticallTransactorSession struct { Contract *MulticallTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MulticallTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.