Documentation
¶
Index ¶
- Variables
- type Multicall
- type Multicall3Call
- type Multicall3Call3
- type Multicall3Call3Value
- type Multicall3Result
- type MulticallCaller
- func (_Multicall *MulticallCaller) GetBasefee(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall *MulticallCaller) GetBlockHash(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
- func (_Multicall *MulticallCaller) GetBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall *MulticallCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall *MulticallCaller) GetCurrentBlockCoinbase(opts *bind.CallOpts) (common.Address, error)
- func (_Multicall *MulticallCaller) GetCurrentBlockGasLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall *MulticallCaller) GetCurrentBlockTimestamp(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall *MulticallCaller) GetEthBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
- func (_Multicall *MulticallCaller) GetLastBlockHash(opts *bind.CallOpts) ([32]byte, error)
- type MulticallCallerRaw
- type MulticallCallerSession
- func (_Multicall *MulticallCallerSession) GetBasefee() (*big.Int, error)
- func (_Multicall *MulticallCallerSession) GetBlockHash(blockNumber *big.Int) ([32]byte, error)
- func (_Multicall *MulticallCallerSession) GetBlockNumber() (*big.Int, error)
- func (_Multicall *MulticallCallerSession) GetChainId() (*big.Int, error)
- func (_Multicall *MulticallCallerSession) GetCurrentBlockCoinbase() (common.Address, error)
- func (_Multicall *MulticallCallerSession) GetCurrentBlockGasLimit() (*big.Int, error)
- func (_Multicall *MulticallCallerSession) GetCurrentBlockTimestamp() (*big.Int, error)
- func (_Multicall *MulticallCallerSession) GetEthBalance(addr common.Address) (*big.Int, error)
- func (_Multicall *MulticallCallerSession) GetLastBlockHash() ([32]byte, error)
- 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
- func (_Multicall *MulticallSession) Aggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallSession) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)
- func (_Multicall *MulticallSession) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)
- func (_Multicall *MulticallSession) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallSession) GetBasefee() (*big.Int, error)
- func (_Multicall *MulticallSession) GetBlockHash(blockNumber *big.Int) ([32]byte, error)
- func (_Multicall *MulticallSession) GetBlockNumber() (*big.Int, error)
- func (_Multicall *MulticallSession) GetChainId() (*big.Int, error)
- func (_Multicall *MulticallSession) GetCurrentBlockCoinbase() (common.Address, error)
- func (_Multicall *MulticallSession) GetCurrentBlockGasLimit() (*big.Int, error)
- func (_Multicall *MulticallSession) GetCurrentBlockTimestamp() (*big.Int, error)
- func (_Multicall *MulticallSession) GetEthBalance(addr common.Address) (*big.Int, error)
- func (_Multicall *MulticallSession) GetLastBlockHash() ([32]byte, error)
- func (_Multicall *MulticallSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallSession) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- type MulticallTransactor
- func (_Multicall *MulticallTransactor) Aggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallTransactor) Aggregate3(opts *bind.TransactOpts, calls []Multicall3Call3) (*types.Transaction, error)
- func (_Multicall *MulticallTransactor) Aggregate3Value(opts *bind.TransactOpts, calls []Multicall3Call3Value) (*types.Transaction, error)
- func (_Multicall *MulticallTransactor) BlockAndAggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallTransactor) TryAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallTransactor) TryBlockAndAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- type MulticallTransactorRaw
- type MulticallTransactorSession
- func (_Multicall *MulticallTransactorSession) Aggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallTransactorSession) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)
- func (_Multicall *MulticallTransactorSession) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)
- func (_Multicall *MulticallTransactorSession) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallTransactorSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall *MulticallTransactorSession) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
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: "[{\"type\":\"function\",\"name\":\"aggregate\",\"inputs\":[{\"name\":\"calls\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Call[]\",\"components\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"returnData\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"aggregate3\",\"inputs\":[{\"name\":\"calls\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Call3[]\",\"components\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"allowFailure\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"callData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"returnData\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Result[]\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"returnData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"aggregate3Value\",\"inputs\":[{\"name\":\"calls\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Call3Value[]\",\"components\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"allowFailure\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"callData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"returnData\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Result[]\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"returnData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"blockAndAggregate\",\"inputs\":[{\"name\":\"calls\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Call[]\",\"components\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"returnData\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Result[]\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"returnData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"getBasefee\",\"inputs\":[],\"outputs\":[{\"name\":\"basefee\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getBlockHash\",\"inputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getBlockNumber\",\"inputs\":[],\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getChainId\",\"inputs\":[],\"outputs\":[{\"name\":\"chainid\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getCurrentBlockCoinbase\",\"inputs\":[],\"outputs\":[{\"name\":\"coinbase\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getCurrentBlockGasLimit\",\"inputs\":[],\"outputs\":[{\"name\":\"gaslimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getCurrentBlockTimestamp\",\"inputs\":[],\"outputs\":[{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getEthBalance\",\"inputs\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getLastBlockHash\",\"inputs\":[],\"outputs\":[{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tryAggregate\",\"inputs\":[{\"name\":\"requireSuccess\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"calls\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Call[]\",\"components\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"returnData\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Result[]\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"returnData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"tryBlockAndAggregate\",\"inputs\":[{\"name\":\"requireSuccess\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"calls\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Call[]\",\"components\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"returnData\",\"type\":\"tuple[]\",\"internalType\":\"structMulticall3.Result[]\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"returnData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"payable\"}]",
}
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 Multicall3Call3 ¶
Multicall3Call3 is an auto generated low-level Go binding around an user-defined struct.
type Multicall3Call3Value ¶
type Multicall3Call3Value struct { Target common.Address AllowFailure bool Value *big.Int CallData []byte }
Multicall3Call3Value 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) GetBasefee ¶
GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.
Solidity: function getBasefee() view returns(uint256 basefee)
func (*MulticallCaller) GetBlockHash ¶
func (_Multicall *MulticallCaller) GetBlockHash(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.
Solidity: function getBlockHash(uint256 blockNumber) view returns(bytes32 blockHash)
func (*MulticallCaller) GetBlockNumber ¶
GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.
Solidity: function getBlockNumber() view returns(uint256 blockNumber)
func (*MulticallCaller) GetChainId ¶
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainid)
func (*MulticallCaller) GetCurrentBlockCoinbase ¶
func (_Multicall *MulticallCaller) GetCurrentBlockCoinbase(opts *bind.CallOpts) (common.Address, error)
GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.
Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)
func (*MulticallCaller) GetCurrentBlockGasLimit ¶
GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.
Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)
func (*MulticallCaller) GetCurrentBlockTimestamp ¶
GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.
Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)
func (*MulticallCaller) GetEthBalance ¶
func (_Multicall *MulticallCaller) GetEthBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.
Solidity: function getEthBalance(address addr) view returns(uint256 balance)
func (*MulticallCaller) GetLastBlockHash ¶
func (_Multicall *MulticallCaller) GetLastBlockHash(opts *bind.CallOpts) ([32]byte, error)
GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.
Solidity: function getLastBlockHash() view returns(bytes32 blockHash)
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) GetBasefee ¶
func (_Multicall *MulticallCallerSession) GetBasefee() (*big.Int, error)
GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.
Solidity: function getBasefee() view returns(uint256 basefee)
func (*MulticallCallerSession) GetBlockHash ¶
func (_Multicall *MulticallCallerSession) GetBlockHash(blockNumber *big.Int) ([32]byte, error)
GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.
Solidity: function getBlockHash(uint256 blockNumber) view returns(bytes32 blockHash)
func (*MulticallCallerSession) GetBlockNumber ¶
func (_Multicall *MulticallCallerSession) GetBlockNumber() (*big.Int, error)
GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.
Solidity: function getBlockNumber() view returns(uint256 blockNumber)
func (*MulticallCallerSession) GetChainId ¶
func (_Multicall *MulticallCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainid)
func (*MulticallCallerSession) GetCurrentBlockCoinbase ¶
func (_Multicall *MulticallCallerSession) GetCurrentBlockCoinbase() (common.Address, error)
GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.
Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)
func (*MulticallCallerSession) GetCurrentBlockGasLimit ¶
func (_Multicall *MulticallCallerSession) GetCurrentBlockGasLimit() (*big.Int, error)
GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.
Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)
func (*MulticallCallerSession) GetCurrentBlockTimestamp ¶
func (_Multicall *MulticallCallerSession) GetCurrentBlockTimestamp() (*big.Int, error)
GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.
Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)
func (*MulticallCallerSession) GetEthBalance ¶
GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.
Solidity: function getEthBalance(address addr) view returns(uint256 balance)
func (*MulticallCallerSession) GetLastBlockHash ¶
func (_Multicall *MulticallCallerSession) GetLastBlockHash() ([32]byte, error)
GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.
Solidity: function getLastBlockHash() view returns(bytes32 blockHash)
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) Aggregate ¶
func (_Multicall *MulticallSession) Aggregate(calls []Multicall3Call) (*types.Transaction, error)
Aggregate is a paid mutator transaction binding the contract method 0x252dba42.
Solidity: function aggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes[] returnData)
func (*MulticallSession) Aggregate3 ¶
func (_Multicall *MulticallSession) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)
Aggregate3 is a paid mutator transaction binding the contract method 0x82ad56cb.
Solidity: function aggregate3((address,bool,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallSession) Aggregate3Value ¶
func (_Multicall *MulticallSession) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)
Aggregate3Value is a paid mutator transaction binding the contract method 0x174dea71.
Solidity: function aggregate3Value((address,bool,uint256,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallSession) BlockAndAggregate ¶
func (_Multicall *MulticallSession) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)
BlockAndAggregate is a paid mutator transaction binding the contract method 0xc3077fa9.
Solidity: function blockAndAggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)
func (*MulticallSession) GetBasefee ¶
func (_Multicall *MulticallSession) GetBasefee() (*big.Int, error)
GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.
Solidity: function getBasefee() view returns(uint256 basefee)
func (*MulticallSession) GetBlockHash ¶
func (_Multicall *MulticallSession) GetBlockHash(blockNumber *big.Int) ([32]byte, error)
GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.
Solidity: function getBlockHash(uint256 blockNumber) view returns(bytes32 blockHash)
func (*MulticallSession) GetBlockNumber ¶
func (_Multicall *MulticallSession) GetBlockNumber() (*big.Int, error)
GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.
Solidity: function getBlockNumber() view returns(uint256 blockNumber)
func (*MulticallSession) GetChainId ¶
func (_Multicall *MulticallSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainid)
func (*MulticallSession) GetCurrentBlockCoinbase ¶
func (_Multicall *MulticallSession) GetCurrentBlockCoinbase() (common.Address, error)
GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.
Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)
func (*MulticallSession) GetCurrentBlockGasLimit ¶
func (_Multicall *MulticallSession) GetCurrentBlockGasLimit() (*big.Int, error)
GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.
Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)
func (*MulticallSession) GetCurrentBlockTimestamp ¶
func (_Multicall *MulticallSession) GetCurrentBlockTimestamp() (*big.Int, error)
GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.
Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)
func (*MulticallSession) GetEthBalance ¶
GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.
Solidity: function getEthBalance(address addr) view returns(uint256 balance)
func (*MulticallSession) GetLastBlockHash ¶
func (_Multicall *MulticallSession) GetLastBlockHash() ([32]byte, error)
GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.
Solidity: function getLastBlockHash() view returns(bytes32 blockHash)
func (*MulticallSession) TryAggregate ¶
func (_Multicall *MulticallSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.
Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallSession) TryBlockAndAggregate ¶
func (_Multicall *MulticallSession) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
TryBlockAndAggregate is a paid mutator transaction binding the contract method 0x399542e9.
Solidity: function tryBlockAndAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (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.
func (*MulticallTransactor) Aggregate ¶
func (_Multicall *MulticallTransactor) Aggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)
Aggregate is a paid mutator transaction binding the contract method 0x252dba42.
Solidity: function aggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes[] returnData)
func (*MulticallTransactor) Aggregate3 ¶
func (_Multicall *MulticallTransactor) Aggregate3(opts *bind.TransactOpts, calls []Multicall3Call3) (*types.Transaction, error)
Aggregate3 is a paid mutator transaction binding the contract method 0x82ad56cb.
Solidity: function aggregate3((address,bool,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallTransactor) Aggregate3Value ¶
func (_Multicall *MulticallTransactor) Aggregate3Value(opts *bind.TransactOpts, calls []Multicall3Call3Value) (*types.Transaction, error)
Aggregate3Value is a paid mutator transaction binding the contract method 0x174dea71.
Solidity: function aggregate3Value((address,bool,uint256,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallTransactor) BlockAndAggregate ¶
func (_Multicall *MulticallTransactor) BlockAndAggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)
BlockAndAggregate is a paid mutator transaction binding the contract method 0xc3077fa9.
Solidity: function blockAndAggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)
func (*MulticallTransactor) TryAggregate ¶
func (_Multicall *MulticallTransactor) TryAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.
Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallTransactor) TryBlockAndAggregate ¶
func (_Multicall *MulticallTransactor) TryBlockAndAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
TryBlockAndAggregate is a paid mutator transaction binding the contract method 0x399542e9.
Solidity: function tryBlockAndAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)
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.
func (*MulticallTransactorSession) Aggregate ¶
func (_Multicall *MulticallTransactorSession) Aggregate(calls []Multicall3Call) (*types.Transaction, error)
Aggregate is a paid mutator transaction binding the contract method 0x252dba42.
Solidity: function aggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes[] returnData)
func (*MulticallTransactorSession) Aggregate3 ¶
func (_Multicall *MulticallTransactorSession) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)
Aggregate3 is a paid mutator transaction binding the contract method 0x82ad56cb.
Solidity: function aggregate3((address,bool,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallTransactorSession) Aggregate3Value ¶
func (_Multicall *MulticallTransactorSession) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)
Aggregate3Value is a paid mutator transaction binding the contract method 0x174dea71.
Solidity: function aggregate3Value((address,bool,uint256,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallTransactorSession) BlockAndAggregate ¶
func (_Multicall *MulticallTransactorSession) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)
BlockAndAggregate is a paid mutator transaction binding the contract method 0xc3077fa9.
Solidity: function blockAndAggregate((address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)
func (*MulticallTransactorSession) TryAggregate ¶
func (_Multicall *MulticallTransactorSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.
Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns((bool,bytes)[] returnData)
func (*MulticallTransactorSession) TryBlockAndAggregate ¶
func (_Multicall *MulticallTransactorSession) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
TryBlockAndAggregate is a paid mutator transaction binding the contract method 0x399542e9.
Solidity: function tryBlockAndAggregate(bool requireSuccess, (address,bytes)[] calls) payable returns(uint256 blockNumber, bytes32 blockHash, (bool,bytes)[] returnData)