Documentation ¶
Index ¶
- Variables
- type IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
- func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- type Multicall3
- type Multicall3Call
- type Multicall3Call3
- type Multicall3Call3Value
- type Multicall3Caller
- func (_Multicall3 *Multicall3Caller) GetBasefee(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall3 *Multicall3Caller) GetBlockHash(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
- func (_Multicall3 *Multicall3Caller) GetBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall3 *Multicall3Caller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall3 *Multicall3Caller) GetCurrentBlockCoinbase(opts *bind.CallOpts) (common.Address, error)
- func (_Multicall3 *Multicall3Caller) GetCurrentBlockGasLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall3 *Multicall3Caller) GetCurrentBlockTimestamp(opts *bind.CallOpts) (*big.Int, error)
- func (_Multicall3 *Multicall3Caller) GetEthBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
- func (_Multicall3 *Multicall3Caller) GetLastBlockHash(opts *bind.CallOpts) ([32]byte, error)
- func (_Multicall3 *Multicall3Caller) GetPrevRanDao(opts *bind.CallOpts) (*big.Int, error)
- type Multicall3CallerRaw
- type Multicall3CallerSession
- func (_Multicall3 *Multicall3CallerSession) GetBasefee() (*big.Int, error)
- func (_Multicall3 *Multicall3CallerSession) GetBlockHash(blockNumber *big.Int) ([32]byte, error)
- func (_Multicall3 *Multicall3CallerSession) GetBlockNumber() (*big.Int, error)
- func (_Multicall3 *Multicall3CallerSession) GetChainId() (*big.Int, error)
- func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockCoinbase() (common.Address, error)
- func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockGasLimit() (*big.Int, error)
- func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockTimestamp() (*big.Int, error)
- func (_Multicall3 *Multicall3CallerSession) GetEthBalance(addr common.Address) (*big.Int, error)
- func (_Multicall3 *Multicall3CallerSession) GetLastBlockHash() ([32]byte, error)
- func (_Multicall3 *Multicall3CallerSession) GetPrevRanDao() (*big.Int, error)
- type Multicall3Filterer
- type Multicall3Raw
- func (_Multicall3 *Multicall3Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Multicall3 *Multicall3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Multicall3Result
- type Multicall3Session
- func (_Multicall3 *Multicall3Session) Aggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Session) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Session) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Session) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Session) GetBasefee() (*big.Int, error)
- func (_Multicall3 *Multicall3Session) GetBlockHash(blockNumber *big.Int) ([32]byte, error)
- func (_Multicall3 *Multicall3Session) GetBlockNumber() (*big.Int, error)
- func (_Multicall3 *Multicall3Session) GetChainId() (*big.Int, error)
- func (_Multicall3 *Multicall3Session) GetCurrentBlockCoinbase() (common.Address, error)
- func (_Multicall3 *Multicall3Session) GetCurrentBlockGasLimit() (*big.Int, error)
- func (_Multicall3 *Multicall3Session) GetCurrentBlockTimestamp() (*big.Int, error)
- func (_Multicall3 *Multicall3Session) GetEthBalance(addr common.Address) (*big.Int, error)
- func (_Multicall3 *Multicall3Session) GetLastBlockHash() ([32]byte, error)
- func (_Multicall3 *Multicall3Session) GetPrevRanDao() (*big.Int, error)
- func (_Multicall3 *Multicall3Session) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Session) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- type Multicall3Transactor
- func (_Multicall3 *Multicall3Transactor) Aggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Transactor) Aggregate3(opts *bind.TransactOpts, calls []Multicall3Call3) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Transactor) Aggregate3Value(opts *bind.TransactOpts, calls []Multicall3Call3Value) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Transactor) BlockAndAggregate(opts *bind.TransactOpts, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Transactor) TryAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3Transactor) TryBlockAndAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- type Multicall3TransactorRaw
- type Multicall3TransactorSession
- func (_Multicall3 *Multicall3TransactorSession) Aggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3TransactorSession) Aggregate3(calls []Multicall3Call3) (*types.Transaction, error)
- func (_Multicall3 *Multicall3TransactorSession) Aggregate3Value(calls []Multicall3Call3Value) (*types.Transaction, error)
- func (_Multicall3 *Multicall3TransactorSession) BlockAndAggregate(calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3TransactorSession) TryAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- func (_Multicall3 *Multicall3TransactorSession) TryBlockAndAggregate(requireSuccess bool, calls []Multicall3Call) (*types.Transaction, error)
- type PayableMulticall
- type PayableMulticallCaller
- type PayableMulticallCallerRaw
- type PayableMulticallCallerSession
- type PayableMulticallFilterer
- type PayableMulticallRaw
- func (_PayableMulticall *PayableMulticallRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PayableMulticall *PayableMulticallRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PayableMulticall *PayableMulticallRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PayableMulticallSession
- func (_PayableMulticall *PayableMulticallSession) IncNumber(amount *big.Int) (*types.Transaction, error)
- func (_PayableMulticall *PayableMulticallSession) Multicall(requireSuccess bool, data [][]byte) (*types.Transaction, error)
- func (_PayableMulticall *PayableMulticallSession) MulticallBalance() (*big.Int, error)
- func (_PayableMulticall *PayableMulticallSession) Receive() (*types.Transaction, error)
- type PayableMulticallTransactor
- func (_PayableMulticall *PayableMulticallTransactor) IncNumber(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_PayableMulticall *PayableMulticallTransactor) Multicall(opts *bind.TransactOpts, requireSuccess bool, data [][]byte) (*types.Transaction, error)
- func (_PayableMulticall *PayableMulticallTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- type PayableMulticallTransactorRaw
- type PayableMulticallTransactorSession
- func (_PayableMulticall *PayableMulticallTransactorSession) IncNumber(amount *big.Int) (*types.Transaction, error)
- func (_PayableMulticall *PayableMulticallTransactorSession) Multicall(requireSuccess bool, data [][]byte) (*types.Transaction, error)
- func (_PayableMulticall *PayableMulticallTransactorSession) Receive() (*types.Transaction, error)
- type PayableMulticallable
- type PayableMulticallableCaller
- type PayableMulticallableCallerRaw
- type PayableMulticallableCallerSession
- type PayableMulticallableFilterer
- type PayableMulticallableRaw
- func (_PayableMulticallable *PayableMulticallableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PayableMulticallable *PayableMulticallableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PayableMulticallable *PayableMulticallableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PayableMulticallableSession
- type PayableMulticallableTransactor
- type PayableMulticallableTransactorRaw
- type PayableMulticallableTransactorSession
Constants ¶
This section is empty.
Variables ¶
var IERC20ABI = IERC20MetaData.ABI
IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.
var IERC20MetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}
IERC20MetaData contains all meta data concerning the IERC20 contract.
var Multicall3ABI = Multicall3MetaData.ABI
Multicall3ABI is the input ABI used to generate the binding from. Deprecated: Use Multicall3MetaData.ABI instead.
var Multicall3MetaData = &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\":\"getPrevRanDao\",\"inputs\":[],\"outputs\":[{\"name\":\"difficulty\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"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\"}]",
}
Multicall3MetaData contains all meta data concerning the Multicall3 contract.
var PayableMulticallABI = PayableMulticallMetaData.ABI
PayableMulticallABI is the input ABI used to generate the binding from. Deprecated: Use PayableMulticallMetaData.ABI instead.
var PayableMulticallMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"incNumber\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"multicall\",\"inputs\":[{\"name\":\"requireSuccess\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"data\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"multicallBalance\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"error\",\"name\":\"AmountOverflow\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EthTransferFailed\",\"inputs\":[]}]",
}
PayableMulticallMetaData contains all meta data concerning the PayableMulticall contract.
var PayableMulticallableABI = PayableMulticallableMetaData.ABI
PayableMulticallableABI is the input ABI used to generate the binding from. Deprecated: Use PayableMulticallableMetaData.ABI instead.
var PayableMulticallableMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"multicall\",\"inputs\":[{\"name\":\"requireSuccess\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"data\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"stateMutability\":\"payable\"},{\"type\":\"error\",\"name\":\"AmountOverflow\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EthTransferFailed\",\"inputs\":[]}]",
}
PayableMulticallableMetaData contains all meta data concerning the PayableMulticallable contract.
Functions ¶
This section is empty.
Types ¶
type IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) Next() bool
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 IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Caller) BalanceOf ¶
func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) ParseApproval ¶
func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) ParseTransfer ¶
func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) 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 IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // 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 }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) Next() bool
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 Multicall3 ¶
type Multicall3 struct { Multicall3Caller // Read-only binding to the contract Multicall3Transactor // Write-only binding to the contract Multicall3Filterer // Log filterer for contract events }
Multicall3 is an auto generated Go binding around an Ethereum contract.
func NewMulticall3 ¶
func NewMulticall3(address common.Address, backend bind.ContractBackend) (*Multicall3, error)
NewMulticall3 creates a new instance of Multicall3, 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 Multicall3Caller ¶
type Multicall3Caller struct {
// contains filtered or unexported fields
}
Multicall3Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewMulticall3Caller ¶
func NewMulticall3Caller(address common.Address, caller bind.ContractCaller) (*Multicall3Caller, error)
NewMulticall3Caller creates a new read-only instance of Multicall3, bound to a specific deployed contract.
func (*Multicall3Caller) GetBasefee ¶
GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.
Solidity: function getBasefee() view returns(uint256 basefee)
func (*Multicall3Caller) GetBlockHash ¶
func (_Multicall3 *Multicall3Caller) 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 (*Multicall3Caller) GetBlockNumber ¶
GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.
Solidity: function getBlockNumber() view returns(uint256 blockNumber)
func (*Multicall3Caller) GetChainId ¶
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainid)
func (*Multicall3Caller) GetCurrentBlockCoinbase ¶
func (_Multicall3 *Multicall3Caller) 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 (*Multicall3Caller) GetCurrentBlockGasLimit ¶
GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.
Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)
func (*Multicall3Caller) GetCurrentBlockTimestamp ¶
func (_Multicall3 *Multicall3Caller) GetCurrentBlockTimestamp(opts *bind.CallOpts) (*big.Int, error)
GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.
Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)
func (*Multicall3Caller) GetEthBalance ¶
func (_Multicall3 *Multicall3Caller) 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 (*Multicall3Caller) GetLastBlockHash ¶
func (_Multicall3 *Multicall3Caller) 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)
func (*Multicall3Caller) GetPrevRanDao ¶
GetPrevRanDao is a free data retrieval call binding the contract method 0x28ade6be.
Solidity: function getPrevRanDao() view returns(uint256 difficulty)
type Multicall3CallerRaw ¶
type Multicall3CallerRaw struct {
Contract *Multicall3Caller // Generic read-only contract binding to access the raw methods on
}
Multicall3CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Multicall3CallerRaw) Call ¶
func (_Multicall3 *Multicall3CallerRaw) 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 Multicall3CallerSession ¶
type Multicall3CallerSession struct { Contract *Multicall3Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Multicall3CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Multicall3CallerSession) GetBasefee ¶
func (_Multicall3 *Multicall3CallerSession) GetBasefee() (*big.Int, error)
GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.
Solidity: function getBasefee() view returns(uint256 basefee)
func (*Multicall3CallerSession) GetBlockHash ¶
func (_Multicall3 *Multicall3CallerSession) 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 (*Multicall3CallerSession) GetBlockNumber ¶
func (_Multicall3 *Multicall3CallerSession) GetBlockNumber() (*big.Int, error)
GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.
Solidity: function getBlockNumber() view returns(uint256 blockNumber)
func (*Multicall3CallerSession) GetChainId ¶
func (_Multicall3 *Multicall3CallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainid)
func (*Multicall3CallerSession) GetCurrentBlockCoinbase ¶
func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockCoinbase() (common.Address, error)
GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.
Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)
func (*Multicall3CallerSession) GetCurrentBlockGasLimit ¶
func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockGasLimit() (*big.Int, error)
GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.
Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)
func (*Multicall3CallerSession) GetCurrentBlockTimestamp ¶
func (_Multicall3 *Multicall3CallerSession) GetCurrentBlockTimestamp() (*big.Int, error)
GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.
Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)
func (*Multicall3CallerSession) GetEthBalance ¶
GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.
Solidity: function getEthBalance(address addr) view returns(uint256 balance)
func (*Multicall3CallerSession) GetLastBlockHash ¶
func (_Multicall3 *Multicall3CallerSession) GetLastBlockHash() ([32]byte, error)
GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.
Solidity: function getLastBlockHash() view returns(bytes32 blockHash)
func (*Multicall3CallerSession) GetPrevRanDao ¶
func (_Multicall3 *Multicall3CallerSession) GetPrevRanDao() (*big.Int, error)
GetPrevRanDao is a free data retrieval call binding the contract method 0x28ade6be.
Solidity: function getPrevRanDao() view returns(uint256 difficulty)
type Multicall3Filterer ¶
type Multicall3Filterer struct {
// contains filtered or unexported fields
}
Multicall3Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMulticall3Filterer ¶
func NewMulticall3Filterer(address common.Address, filterer bind.ContractFilterer) (*Multicall3Filterer, error)
NewMulticall3Filterer creates a new log filterer instance of Multicall3, bound to a specific deployed contract.
type Multicall3Raw ¶
type Multicall3Raw struct {
Contract *Multicall3 // Generic contract binding to access the raw methods on
}
Multicall3Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Multicall3Raw) Call ¶
func (_Multicall3 *Multicall3Raw) 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 (*Multicall3Raw) Transact ¶
func (_Multicall3 *Multicall3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Multicall3Raw) Transfer ¶
func (_Multicall3 *Multicall3Raw) 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 Multicall3Result ¶
Multicall3Result is an auto generated low-level Go binding around an user-defined struct.
type Multicall3Session ¶
type Multicall3Session struct { Contract *Multicall3 // 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 }
Multicall3Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Multicall3Session) Aggregate ¶
func (_Multicall3 *Multicall3Session) 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 (*Multicall3Session) Aggregate3 ¶
func (_Multicall3 *Multicall3Session) 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 (*Multicall3Session) Aggregate3Value ¶
func (_Multicall3 *Multicall3Session) 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 (*Multicall3Session) BlockAndAggregate ¶
func (_Multicall3 *Multicall3Session) 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 (*Multicall3Session) GetBasefee ¶
func (_Multicall3 *Multicall3Session) GetBasefee() (*big.Int, error)
GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.
Solidity: function getBasefee() view returns(uint256 basefee)
func (*Multicall3Session) GetBlockHash ¶
func (_Multicall3 *Multicall3Session) 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 (*Multicall3Session) GetBlockNumber ¶
func (_Multicall3 *Multicall3Session) GetBlockNumber() (*big.Int, error)
GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.
Solidity: function getBlockNumber() view returns(uint256 blockNumber)
func (*Multicall3Session) GetChainId ¶
func (_Multicall3 *Multicall3Session) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainid)
func (*Multicall3Session) GetCurrentBlockCoinbase ¶
func (_Multicall3 *Multicall3Session) GetCurrentBlockCoinbase() (common.Address, error)
GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.
Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)
func (*Multicall3Session) GetCurrentBlockGasLimit ¶
func (_Multicall3 *Multicall3Session) GetCurrentBlockGasLimit() (*big.Int, error)
GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.
Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)
func (*Multicall3Session) GetCurrentBlockTimestamp ¶
func (_Multicall3 *Multicall3Session) GetCurrentBlockTimestamp() (*big.Int, error)
GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.
Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)
func (*Multicall3Session) GetEthBalance ¶
GetEthBalance is a free data retrieval call binding the contract method 0x4d2301cc.
Solidity: function getEthBalance(address addr) view returns(uint256 balance)
func (*Multicall3Session) GetLastBlockHash ¶
func (_Multicall3 *Multicall3Session) GetLastBlockHash() ([32]byte, error)
GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.
Solidity: function getLastBlockHash() view returns(bytes32 blockHash)
func (*Multicall3Session) GetPrevRanDao ¶
func (_Multicall3 *Multicall3Session) GetPrevRanDao() (*big.Int, error)
GetPrevRanDao is a free data retrieval call binding the contract method 0x28ade6be.
Solidity: function getPrevRanDao() view returns(uint256 difficulty)
func (*Multicall3Session) TryAggregate ¶
func (_Multicall3 *Multicall3Session) 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 (*Multicall3Session) TryBlockAndAggregate ¶
func (_Multicall3 *Multicall3Session) 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 Multicall3Transactor ¶
type Multicall3Transactor struct {
// contains filtered or unexported fields
}
Multicall3Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMulticall3Transactor ¶
func NewMulticall3Transactor(address common.Address, transactor bind.ContractTransactor) (*Multicall3Transactor, error)
NewMulticall3Transactor creates a new write-only instance of Multicall3, bound to a specific deployed contract.
func (*Multicall3Transactor) Aggregate ¶
func (_Multicall3 *Multicall3Transactor) 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 (*Multicall3Transactor) Aggregate3 ¶
func (_Multicall3 *Multicall3Transactor) 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 (*Multicall3Transactor) Aggregate3Value ¶
func (_Multicall3 *Multicall3Transactor) 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 (*Multicall3Transactor) BlockAndAggregate ¶
func (_Multicall3 *Multicall3Transactor) 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 (*Multicall3Transactor) TryAggregate ¶
func (_Multicall3 *Multicall3Transactor) 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 (*Multicall3Transactor) TryBlockAndAggregate ¶
func (_Multicall3 *Multicall3Transactor) 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 Multicall3TransactorRaw ¶
type Multicall3TransactorRaw struct {
Contract *Multicall3Transactor // Generic write-only contract binding to access the raw methods on
}
Multicall3TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Multicall3TransactorRaw) Transact ¶
func (_Multicall3 *Multicall3TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Multicall3TransactorRaw) Transfer ¶
func (_Multicall3 *Multicall3TransactorRaw) 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 Multicall3TransactorSession ¶
type Multicall3TransactorSession struct { Contract *Multicall3Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Multicall3TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Multicall3TransactorSession) Aggregate ¶
func (_Multicall3 *Multicall3TransactorSession) 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 (*Multicall3TransactorSession) Aggregate3 ¶
func (_Multicall3 *Multicall3TransactorSession) 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 (*Multicall3TransactorSession) Aggregate3Value ¶
func (_Multicall3 *Multicall3TransactorSession) 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 (*Multicall3TransactorSession) BlockAndAggregate ¶
func (_Multicall3 *Multicall3TransactorSession) 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 (*Multicall3TransactorSession) TryAggregate ¶
func (_Multicall3 *Multicall3TransactorSession) 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 (*Multicall3TransactorSession) TryBlockAndAggregate ¶
func (_Multicall3 *Multicall3TransactorSession) 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 PayableMulticall ¶
type PayableMulticall struct { PayableMulticallCaller // Read-only binding to the contract PayableMulticallTransactor // Write-only binding to the contract PayableMulticallFilterer // Log filterer for contract events }
PayableMulticall is an auto generated Go binding around an Ethereum contract.
func NewPayableMulticall ¶
func NewPayableMulticall(address common.Address, backend bind.ContractBackend) (*PayableMulticall, error)
NewPayableMulticall creates a new instance of PayableMulticall, bound to a specific deployed contract.
type PayableMulticallCaller ¶
type PayableMulticallCaller struct {
// contains filtered or unexported fields
}
PayableMulticallCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPayableMulticallCaller ¶
func NewPayableMulticallCaller(address common.Address, caller bind.ContractCaller) (*PayableMulticallCaller, error)
NewPayableMulticallCaller creates a new read-only instance of PayableMulticall, bound to a specific deployed contract.
func (*PayableMulticallCaller) MulticallBalance ¶
func (_PayableMulticall *PayableMulticallCaller) MulticallBalance(opts *bind.CallOpts) (*big.Int, error)
MulticallBalance is a free data retrieval call binding the contract method 0x2dd38eaa.
Solidity: function multicallBalance() view returns(uint256)
type PayableMulticallCallerRaw ¶
type PayableMulticallCallerRaw struct {
Contract *PayableMulticallCaller // Generic read-only contract binding to access the raw methods on
}
PayableMulticallCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PayableMulticallCallerRaw) Call ¶
func (_PayableMulticall *PayableMulticallCallerRaw) 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 PayableMulticallCallerSession ¶
type PayableMulticallCallerSession struct { Contract *PayableMulticallCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PayableMulticallCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PayableMulticallCallerSession) MulticallBalance ¶
func (_PayableMulticall *PayableMulticallCallerSession) MulticallBalance() (*big.Int, error)
MulticallBalance is a free data retrieval call binding the contract method 0x2dd38eaa.
Solidity: function multicallBalance() view returns(uint256)
type PayableMulticallFilterer ¶
type PayableMulticallFilterer struct {
// contains filtered or unexported fields
}
PayableMulticallFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPayableMulticallFilterer ¶
func NewPayableMulticallFilterer(address common.Address, filterer bind.ContractFilterer) (*PayableMulticallFilterer, error)
NewPayableMulticallFilterer creates a new log filterer instance of PayableMulticall, bound to a specific deployed contract.
type PayableMulticallRaw ¶
type PayableMulticallRaw struct {
Contract *PayableMulticall // Generic contract binding to access the raw methods on
}
PayableMulticallRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PayableMulticallRaw) Call ¶
func (_PayableMulticall *PayableMulticallRaw) 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 (*PayableMulticallRaw) Transact ¶
func (_PayableMulticall *PayableMulticallRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PayableMulticallRaw) Transfer ¶
func (_PayableMulticall *PayableMulticallRaw) 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 PayableMulticallSession ¶
type PayableMulticallSession struct { Contract *PayableMulticall // 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 }
PayableMulticallSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PayableMulticallSession) IncNumber ¶
func (_PayableMulticall *PayableMulticallSession) IncNumber(amount *big.Int) (*types.Transaction, error)
IncNumber is a paid mutator transaction binding the contract method 0xafd97196.
Solidity: function incNumber(uint256 amount) payable returns(uint256)
func (*PayableMulticallSession) Multicall ¶
func (_PayableMulticall *PayableMulticallSession) Multicall(requireSuccess bool, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xafe7260f.
Solidity: function multicall(bool requireSuccess, bytes[] data) payable returns(bytes[])
func (*PayableMulticallSession) MulticallBalance ¶
func (_PayableMulticall *PayableMulticallSession) MulticallBalance() (*big.Int, error)
MulticallBalance is a free data retrieval call binding the contract method 0x2dd38eaa.
Solidity: function multicallBalance() view returns(uint256)
func (*PayableMulticallSession) Receive ¶
func (_PayableMulticall *PayableMulticallSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type PayableMulticallTransactor ¶
type PayableMulticallTransactor struct {
// contains filtered or unexported fields
}
PayableMulticallTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPayableMulticallTransactor ¶
func NewPayableMulticallTransactor(address common.Address, transactor bind.ContractTransactor) (*PayableMulticallTransactor, error)
NewPayableMulticallTransactor creates a new write-only instance of PayableMulticall, bound to a specific deployed contract.
func (*PayableMulticallTransactor) IncNumber ¶
func (_PayableMulticall *PayableMulticallTransactor) IncNumber(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
IncNumber is a paid mutator transaction binding the contract method 0xafd97196.
Solidity: function incNumber(uint256 amount) payable returns(uint256)
func (*PayableMulticallTransactor) Multicall ¶
func (_PayableMulticall *PayableMulticallTransactor) Multicall(opts *bind.TransactOpts, requireSuccess bool, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xafe7260f.
Solidity: function multicall(bool requireSuccess, bytes[] data) payable returns(bytes[])
func (*PayableMulticallTransactor) Receive ¶
func (_PayableMulticall *PayableMulticallTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type PayableMulticallTransactorRaw ¶
type PayableMulticallTransactorRaw struct {
Contract *PayableMulticallTransactor // Generic write-only contract binding to access the raw methods on
}
PayableMulticallTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PayableMulticallTransactorRaw) Transact ¶
func (_PayableMulticall *PayableMulticallTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PayableMulticallTransactorRaw) Transfer ¶
func (_PayableMulticall *PayableMulticallTransactorRaw) 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 PayableMulticallTransactorSession ¶
type PayableMulticallTransactorSession struct { Contract *PayableMulticallTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PayableMulticallTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PayableMulticallTransactorSession) IncNumber ¶
func (_PayableMulticall *PayableMulticallTransactorSession) IncNumber(amount *big.Int) (*types.Transaction, error)
IncNumber is a paid mutator transaction binding the contract method 0xafd97196.
Solidity: function incNumber(uint256 amount) payable returns(uint256)
func (*PayableMulticallTransactorSession) Multicall ¶
func (_PayableMulticall *PayableMulticallTransactorSession) Multicall(requireSuccess bool, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xafe7260f.
Solidity: function multicall(bool requireSuccess, bytes[] data) payable returns(bytes[])
func (*PayableMulticallTransactorSession) Receive ¶
func (_PayableMulticall *PayableMulticallTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type PayableMulticallable ¶
type PayableMulticallable struct { PayableMulticallableCaller // Read-only binding to the contract PayableMulticallableTransactor // Write-only binding to the contract PayableMulticallableFilterer // Log filterer for contract events }
PayableMulticallable is an auto generated Go binding around an Ethereum contract.
func NewPayableMulticallable ¶
func NewPayableMulticallable(address common.Address, backend bind.ContractBackend) (*PayableMulticallable, error)
NewPayableMulticallable creates a new instance of PayableMulticallable, bound to a specific deployed contract.
type PayableMulticallableCaller ¶
type PayableMulticallableCaller struct {
// contains filtered or unexported fields
}
PayableMulticallableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPayableMulticallableCaller ¶
func NewPayableMulticallableCaller(address common.Address, caller bind.ContractCaller) (*PayableMulticallableCaller, error)
NewPayableMulticallableCaller creates a new read-only instance of PayableMulticallable, bound to a specific deployed contract.
type PayableMulticallableCallerRaw ¶
type PayableMulticallableCallerRaw struct {
Contract *PayableMulticallableCaller // Generic read-only contract binding to access the raw methods on
}
PayableMulticallableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PayableMulticallableCallerRaw) Call ¶
func (_PayableMulticallable *PayableMulticallableCallerRaw) 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 PayableMulticallableCallerSession ¶
type PayableMulticallableCallerSession struct { Contract *PayableMulticallableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PayableMulticallableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type PayableMulticallableFilterer ¶
type PayableMulticallableFilterer struct {
// contains filtered or unexported fields
}
PayableMulticallableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPayableMulticallableFilterer ¶
func NewPayableMulticallableFilterer(address common.Address, filterer bind.ContractFilterer) (*PayableMulticallableFilterer, error)
NewPayableMulticallableFilterer creates a new log filterer instance of PayableMulticallable, bound to a specific deployed contract.
type PayableMulticallableRaw ¶
type PayableMulticallableRaw struct {
Contract *PayableMulticallable // Generic contract binding to access the raw methods on
}
PayableMulticallableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PayableMulticallableRaw) Call ¶
func (_PayableMulticallable *PayableMulticallableRaw) 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 (*PayableMulticallableRaw) Transact ¶
func (_PayableMulticallable *PayableMulticallableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PayableMulticallableRaw) Transfer ¶
func (_PayableMulticallable *PayableMulticallableRaw) 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 PayableMulticallableSession ¶
type PayableMulticallableSession struct { Contract *PayableMulticallable // 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 }
PayableMulticallableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PayableMulticallableSession) Multicall ¶
func (_PayableMulticallable *PayableMulticallableSession) Multicall(requireSuccess bool, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xafe7260f.
Solidity: function multicall(bool requireSuccess, bytes[] data) payable returns(bytes[])
type PayableMulticallableTransactor ¶
type PayableMulticallableTransactor struct {
// contains filtered or unexported fields
}
PayableMulticallableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPayableMulticallableTransactor ¶
func NewPayableMulticallableTransactor(address common.Address, transactor bind.ContractTransactor) (*PayableMulticallableTransactor, error)
NewPayableMulticallableTransactor creates a new write-only instance of PayableMulticallable, bound to a specific deployed contract.
func (*PayableMulticallableTransactor) Multicall ¶
func (_PayableMulticallable *PayableMulticallableTransactor) Multicall(opts *bind.TransactOpts, requireSuccess bool, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xafe7260f.
Solidity: function multicall(bool requireSuccess, bytes[] data) payable returns(bytes[])
type PayableMulticallableTransactorRaw ¶
type PayableMulticallableTransactorRaw struct {
Contract *PayableMulticallableTransactor // Generic write-only contract binding to access the raw methods on
}
PayableMulticallableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PayableMulticallableTransactorRaw) Transact ¶
func (_PayableMulticallable *PayableMulticallableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PayableMulticallableTransactorRaw) Transfer ¶
func (_PayableMulticallable *PayableMulticallableTransactorRaw) 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 PayableMulticallableTransactorSession ¶
type PayableMulticallableTransactorSession struct { Contract *PayableMulticallableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PayableMulticallableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PayableMulticallableTransactorSession) Multicall ¶
func (_PayableMulticallable *PayableMulticallableTransactorSession) Multicall(requireSuccess bool, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xafe7260f.
Solidity: function multicall(bool requireSuccess, bytes[] data) payable returns(bytes[])