forwarder

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ForwarderABI = ForwarderMetaData.ABI

ForwarderABI is the input ABI used to generate the binding from. Deprecated: Use ForwarderMetaData.ABI instead.

View Source
var ForwarderMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint48\",\"name\":\"deadline\",\"type\":\"uint48\"}],\"name\":\"ERC2771ForwarderExpiredRequest\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"name\":\"ERC2771ForwarderInvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"requestedValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"msgValue\",\"type\":\"uint256\"}],\"name\":\"ERC2771ForwarderMismatchedValue\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"ERC2771UntrustfulTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidAccountNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"name\":\"ExecutedForwardRequest\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"aggregate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"returnData\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"requireSuccess\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Call3[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"aggregate3\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"requireSuccess\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Call3Value[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"aggregate3Value\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"blockAndAggregate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"deadline\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structERC2771Forwarder.ForwardRequestData\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"deadline\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structERC2771Forwarder.ForwardRequestData[]\",\"name\":\"requests\",\"type\":\"tuple[]\"}],\"name\":\"executeBatch\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"deadline\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structERC2771Forwarder.ForwardRequestData[]\",\"name\":\"requests\",\"type\":\"tuple[]\"},{\"internalType\":\"addresspayable\",\"name\":\"refundReceiver\",\"type\":\"address\"}],\"name\":\"executeBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBasefee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"basefee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"chainid\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentBlockCoinbase\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"coinbase\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentBlockGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"gaslimit\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentBlockTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getEthBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPrevRandao\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"prevrandao\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"requireSuccess\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"tryAggregate\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"requireSuccess\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"tryBlockAndAggregate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structTrustedMulticallForwarder.Result[]\",\"name\":\"returnData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"deadline\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structERC2771Forwarder.ForwardRequestData\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ForwarderMetaData contains all meta data concerning the Forwarder contract.

Functions

This section is empty.

Types

type ERC2771ForwarderForwardRequestData added in v0.1.28

type ERC2771ForwarderForwardRequestData struct {
	From      common.Address
	To        common.Address
	Value     *big.Int
	Gas       *big.Int
	Deadline  *big.Int
	Data      []byte
	Signature []byte
}

ERC2771ForwarderForwardRequestData is an auto generated low-level Go binding around an user-defined struct.

type Forwarder

type Forwarder struct {
	ForwarderCaller     // Read-only binding to the contract
	ForwarderTransactor // Write-only binding to the contract
	ForwarderFilterer   // Log filterer for contract events
}

Forwarder is an auto generated Go binding around an Ethereum contract.

func NewForwarder

func NewForwarder(address common.Address, backend bind.ContractBackend) (*Forwarder, error)

NewForwarder creates a new instance of Forwarder, bound to a specific deployed contract.

type ForwarderCaller

type ForwarderCaller struct {
	// contains filtered or unexported fields
}

ForwarderCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewForwarderCaller

func NewForwarderCaller(address common.Address, caller bind.ContractCaller) (*ForwarderCaller, error)

NewForwarderCaller creates a new read-only instance of Forwarder, bound to a specific deployed contract.

func (*ForwarderCaller) Eip712Domain

func (_Forwarder *ForwarderCaller) Eip712Domain(opts *bind.CallOpts) (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*ForwarderCaller) GetBasefee

func (_Forwarder *ForwarderCaller) GetBasefee(opts *bind.CallOpts) (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.

Solidity: function getBasefee() view returns(uint256 basefee)

func (*ForwarderCaller) GetBlockHash

func (_Forwarder *ForwarderCaller) 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 (*ForwarderCaller) GetBlockNumber

func (_Forwarder *ForwarderCaller) GetBlockNumber(opts *bind.CallOpts) (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256 blockNumber)

func (*ForwarderCaller) GetChainId

func (_Forwarder *ForwarderCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainid)

func (*ForwarderCaller) GetCurrentBlockCoinbase

func (_Forwarder *ForwarderCaller) 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 (*ForwarderCaller) GetCurrentBlockGasLimit

func (_Forwarder *ForwarderCaller) GetCurrentBlockGasLimit(opts *bind.CallOpts) (*big.Int, error)

GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.

Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)

func (*ForwarderCaller) GetCurrentBlockTimestamp

func (_Forwarder *ForwarderCaller) 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 (*ForwarderCaller) GetEthBalance

func (_Forwarder *ForwarderCaller) 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 (*ForwarderCaller) GetLastBlockHash

func (_Forwarder *ForwarderCaller) 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 (*ForwarderCaller) GetPrevRandao added in v0.1.28

func (_Forwarder *ForwarderCaller) GetPrevRandao(opts *bind.CallOpts) (*big.Int, error)

GetPrevRandao is a free data retrieval call binding the contract method 0xf4c3a9b8.

Solidity: function getPrevRandao() view returns(uint256 prevrandao)

func (*ForwarderCaller) Nonces added in v0.1.28

func (_Forwarder *ForwarderCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*ForwarderCaller) Verify

func (_Forwarder *ForwarderCaller) Verify(opts *bind.CallOpts, request ERC2771ForwarderForwardRequestData) (bool, error)

Verify is a free data retrieval call binding the contract method 0x19d8d38c.

Solidity: function verify((address,address,uint256,uint256,uint48,bytes,bytes) request) view returns(bool)

type ForwarderCallerRaw

type ForwarderCallerRaw struct {
	Contract *ForwarderCaller // Generic read-only contract binding to access the raw methods on
}

ForwarderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ForwarderCallerRaw) Call

func (_Forwarder *ForwarderCallerRaw) 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 ForwarderCallerSession

type ForwarderCallerSession struct {
	Contract *ForwarderCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

ForwarderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ForwarderCallerSession) Eip712Domain

func (_Forwarder *ForwarderCallerSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*ForwarderCallerSession) GetBasefee

func (_Forwarder *ForwarderCallerSession) GetBasefee() (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.

Solidity: function getBasefee() view returns(uint256 basefee)

func (*ForwarderCallerSession) GetBlockHash

func (_Forwarder *ForwarderCallerSession) 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 (*ForwarderCallerSession) GetBlockNumber

func (_Forwarder *ForwarderCallerSession) GetBlockNumber() (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256 blockNumber)

func (*ForwarderCallerSession) GetChainId

func (_Forwarder *ForwarderCallerSession) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainid)

func (*ForwarderCallerSession) GetCurrentBlockCoinbase

func (_Forwarder *ForwarderCallerSession) GetCurrentBlockCoinbase() (common.Address, error)

GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.

Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)

func (*ForwarderCallerSession) GetCurrentBlockGasLimit

func (_Forwarder *ForwarderCallerSession) GetCurrentBlockGasLimit() (*big.Int, error)

GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.

Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)

func (*ForwarderCallerSession) GetCurrentBlockTimestamp

func (_Forwarder *ForwarderCallerSession) GetCurrentBlockTimestamp() (*big.Int, error)

GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.

Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)

func (*ForwarderCallerSession) GetEthBalance

func (_Forwarder *ForwarderCallerSession) GetEthBalance(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 (*ForwarderCallerSession) GetLastBlockHash

func (_Forwarder *ForwarderCallerSession) GetLastBlockHash() ([32]byte, error)

GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.

Solidity: function getLastBlockHash() view returns(bytes32 blockHash)

func (*ForwarderCallerSession) GetPrevRandao added in v0.1.28

func (_Forwarder *ForwarderCallerSession) GetPrevRandao() (*big.Int, error)

GetPrevRandao is a free data retrieval call binding the contract method 0xf4c3a9b8.

Solidity: function getPrevRandao() view returns(uint256 prevrandao)

func (*ForwarderCallerSession) Nonces added in v0.1.28

func (_Forwarder *ForwarderCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*ForwarderCallerSession) Verify

Verify is a free data retrieval call binding the contract method 0x19d8d38c.

Solidity: function verify((address,address,uint256,uint256,uint48,bytes,bytes) request) view returns(bool)

type ForwarderEIP712DomainChanged

type ForwarderEIP712DomainChanged struct {
	Raw types.Log // Blockchain specific contextual infos
}

ForwarderEIP712DomainChanged represents a EIP712DomainChanged event raised by the Forwarder contract.

type ForwarderEIP712DomainChangedIterator

type ForwarderEIP712DomainChangedIterator struct {
	Event *ForwarderEIP712DomainChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ForwarderEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the Forwarder contract.

func (*ForwarderEIP712DomainChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ForwarderEIP712DomainChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ForwarderEIP712DomainChangedIterator) Next

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 ForwarderExecutedForwardRequest added in v0.1.28

type ForwarderExecutedForwardRequest struct {
	Signer  common.Address
	Nonce   *big.Int
	Success bool
	Raw     types.Log // Blockchain specific contextual infos
}

ForwarderExecutedForwardRequest represents a ExecutedForwardRequest event raised by the Forwarder contract.

type ForwarderExecutedForwardRequestIterator added in v0.1.28

type ForwarderExecutedForwardRequestIterator struct {
	Event *ForwarderExecutedForwardRequest // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ForwarderExecutedForwardRequestIterator is returned from FilterExecutedForwardRequest and is used to iterate over the raw logs and unpacked data for ExecutedForwardRequest events raised by the Forwarder contract.

func (*ForwarderExecutedForwardRequestIterator) Close added in v0.1.28

Close terminates the iteration process, releasing any pending underlying resources.

func (*ForwarderExecutedForwardRequestIterator) Error added in v0.1.28

Error returns any retrieval or parsing error occurred during filtering.

func (*ForwarderExecutedForwardRequestIterator) Next added in v0.1.28

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 ForwarderFilterer

type ForwarderFilterer struct {
	// contains filtered or unexported fields
}

ForwarderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewForwarderFilterer

func NewForwarderFilterer(address common.Address, filterer bind.ContractFilterer) (*ForwarderFilterer, error)

NewForwarderFilterer creates a new log filterer instance of Forwarder, bound to a specific deployed contract.

func (*ForwarderFilterer) FilterEIP712DomainChanged

func (_Forwarder *ForwarderFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*ForwarderEIP712DomainChangedIterator, error)

FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*ForwarderFilterer) FilterExecutedForwardRequest added in v0.1.28

func (_Forwarder *ForwarderFilterer) FilterExecutedForwardRequest(opts *bind.FilterOpts, signer []common.Address) (*ForwarderExecutedForwardRequestIterator, error)

FilterExecutedForwardRequest is a free log retrieval operation binding the contract event 0x842fb24a83793558587a3dab2be7674da4a51d09c5542d6dd354e5d0ea70813c.

Solidity: event ExecutedForwardRequest(address indexed signer, uint256 nonce, bool success)

func (*ForwarderFilterer) ParseEIP712DomainChanged

func (_Forwarder *ForwarderFilterer) ParseEIP712DomainChanged(log types.Log) (*ForwarderEIP712DomainChanged, error)

ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*ForwarderFilterer) ParseExecutedForwardRequest added in v0.1.28

func (_Forwarder *ForwarderFilterer) ParseExecutedForwardRequest(log types.Log) (*ForwarderExecutedForwardRequest, error)

ParseExecutedForwardRequest is a log parse operation binding the contract event 0x842fb24a83793558587a3dab2be7674da4a51d09c5542d6dd354e5d0ea70813c.

Solidity: event ExecutedForwardRequest(address indexed signer, uint256 nonce, bool success)

func (*ForwarderFilterer) WatchEIP712DomainChanged

func (_Forwarder *ForwarderFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *ForwarderEIP712DomainChanged) (event.Subscription, error)

WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*ForwarderFilterer) WatchExecutedForwardRequest added in v0.1.28

func (_Forwarder *ForwarderFilterer) WatchExecutedForwardRequest(opts *bind.WatchOpts, sink chan<- *ForwarderExecutedForwardRequest, signer []common.Address) (event.Subscription, error)

WatchExecutedForwardRequest is a free log subscription operation binding the contract event 0x842fb24a83793558587a3dab2be7674da4a51d09c5542d6dd354e5d0ea70813c.

Solidity: event ExecutedForwardRequest(address indexed signer, uint256 nonce, bool success)

type ForwarderRaw

type ForwarderRaw struct {
	Contract *Forwarder // Generic contract binding to access the raw methods on
}

ForwarderRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ForwarderRaw) Call

func (_Forwarder *ForwarderRaw) 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 (*ForwarderRaw) Transact

func (_Forwarder *ForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ForwarderRaw) Transfer

func (_Forwarder *ForwarderRaw) 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 ForwarderSession

type ForwarderSession struct {
	Contract     *Forwarder        // 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
}

ForwarderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ForwarderSession) Aggregate

func (_Forwarder *ForwarderSession) Aggregate(calls []TrustedMulticallForwarderCall) (*types.Transaction, error)

Aggregate is a paid mutator transaction binding the contract method 0x252dba42.

Solidity: function aggregate((address,bytes)[] calls) returns(uint256 blockNumber, bytes[] returnData)

func (*ForwarderSession) Aggregate3

func (_Forwarder *ForwarderSession) Aggregate3(calls []TrustedMulticallForwarderCall3) (*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 (*ForwarderSession) Aggregate3Value

func (_Forwarder *ForwarderSession) Aggregate3Value(calls []TrustedMulticallForwarderCall3Value) (*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 (*ForwarderSession) BlockAndAggregate

func (_Forwarder *ForwarderSession) BlockAndAggregate(calls []TrustedMulticallForwarderCall) (*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 (*ForwarderSession) Eip712Domain

func (_Forwarder *ForwarderSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*ForwarderSession) Execute

Execute is a paid mutator transaction binding the contract method 0xdf905caf.

Solidity: function execute((address,address,uint256,uint256,uint48,bytes,bytes) request) payable returns()

func (*ForwarderSession) ExecuteBatch added in v0.1.28

func (_Forwarder *ForwarderSession) ExecuteBatch(requests []ERC2771ForwarderForwardRequestData) (*types.Transaction, error)

ExecuteBatch is a paid mutator transaction binding the contract method 0x79165ff3.

Solidity: function executeBatch((address,address,uint256,uint256,uint48,bytes,bytes)[] requests) payable returns((bool,bytes)[] returnData)

func (*ForwarderSession) ExecuteBatch0 added in v0.1.28

func (_Forwarder *ForwarderSession) ExecuteBatch0(requests []ERC2771ForwarderForwardRequestData, refundReceiver common.Address) (*types.Transaction, error)

ExecuteBatch0 is a paid mutator transaction binding the contract method 0xccf96b4a.

Solidity: function executeBatch((address,address,uint256,uint256,uint48,bytes,bytes)[] requests, address refundReceiver) payable returns()

func (*ForwarderSession) GetBasefee

func (_Forwarder *ForwarderSession) GetBasefee() (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0x3e64a696.

Solidity: function getBasefee() view returns(uint256 basefee)

func (*ForwarderSession) GetBlockHash

func (_Forwarder *ForwarderSession) 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 (*ForwarderSession) GetBlockNumber

func (_Forwarder *ForwarderSession) GetBlockNumber() (*big.Int, error)

GetBlockNumber is a free data retrieval call binding the contract method 0x42cbb15c.

Solidity: function getBlockNumber() view returns(uint256 blockNumber)

func (*ForwarderSession) GetChainId

func (_Forwarder *ForwarderSession) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainid)

func (*ForwarderSession) GetCurrentBlockCoinbase

func (_Forwarder *ForwarderSession) GetCurrentBlockCoinbase() (common.Address, error)

GetCurrentBlockCoinbase is a free data retrieval call binding the contract method 0xa8b0574e.

Solidity: function getCurrentBlockCoinbase() view returns(address coinbase)

func (*ForwarderSession) GetCurrentBlockGasLimit

func (_Forwarder *ForwarderSession) GetCurrentBlockGasLimit() (*big.Int, error)

GetCurrentBlockGasLimit is a free data retrieval call binding the contract method 0x86d516e8.

Solidity: function getCurrentBlockGasLimit() view returns(uint256 gaslimit)

func (*ForwarderSession) GetCurrentBlockTimestamp

func (_Forwarder *ForwarderSession) GetCurrentBlockTimestamp() (*big.Int, error)

GetCurrentBlockTimestamp is a free data retrieval call binding the contract method 0x0f28c97d.

Solidity: function getCurrentBlockTimestamp() view returns(uint256 timestamp)

func (*ForwarderSession) GetEthBalance

func (_Forwarder *ForwarderSession) GetEthBalance(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 (*ForwarderSession) GetLastBlockHash

func (_Forwarder *ForwarderSession) GetLastBlockHash() ([32]byte, error)

GetLastBlockHash is a free data retrieval call binding the contract method 0x27e86d6e.

Solidity: function getLastBlockHash() view returns(bytes32 blockHash)

func (*ForwarderSession) GetPrevRandao added in v0.1.28

func (_Forwarder *ForwarderSession) GetPrevRandao() (*big.Int, error)

GetPrevRandao is a free data retrieval call binding the contract method 0xf4c3a9b8.

Solidity: function getPrevRandao() view returns(uint256 prevrandao)

func (*ForwarderSession) Nonces added in v0.1.28

func (_Forwarder *ForwarderSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*ForwarderSession) TryAggregate

func (_Forwarder *ForwarderSession) TryAggregate(requireSuccess bool, calls []TrustedMulticallForwarderCall) (*types.Transaction, error)

TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.

Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) returns((bool,bytes)[] returnData)

func (*ForwarderSession) TryBlockAndAggregate

func (_Forwarder *ForwarderSession) TryBlockAndAggregate(requireSuccess bool, calls []TrustedMulticallForwarderCall) (*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)

func (*ForwarderSession) Verify

func (_Forwarder *ForwarderSession) Verify(request ERC2771ForwarderForwardRequestData) (bool, error)

Verify is a free data retrieval call binding the contract method 0x19d8d38c.

Solidity: function verify((address,address,uint256,uint256,uint48,bytes,bytes) request) view returns(bool)

type ForwarderTransactor

type ForwarderTransactor struct {
	// contains filtered or unexported fields
}

ForwarderTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewForwarderTransactor

func NewForwarderTransactor(address common.Address, transactor bind.ContractTransactor) (*ForwarderTransactor, error)

NewForwarderTransactor creates a new write-only instance of Forwarder, bound to a specific deployed contract.

func (*ForwarderTransactor) Aggregate

func (_Forwarder *ForwarderTransactor) Aggregate(opts *bind.TransactOpts, calls []TrustedMulticallForwarderCall) (*types.Transaction, error)

Aggregate is a paid mutator transaction binding the contract method 0x252dba42.

Solidity: function aggregate((address,bytes)[] calls) returns(uint256 blockNumber, bytes[] returnData)

func (*ForwarderTransactor) Aggregate3

func (_Forwarder *ForwarderTransactor) Aggregate3(opts *bind.TransactOpts, calls []TrustedMulticallForwarderCall3) (*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 (*ForwarderTransactor) Aggregate3Value

func (_Forwarder *ForwarderTransactor) Aggregate3Value(opts *bind.TransactOpts, calls []TrustedMulticallForwarderCall3Value) (*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 (*ForwarderTransactor) BlockAndAggregate

func (_Forwarder *ForwarderTransactor) BlockAndAggregate(opts *bind.TransactOpts, calls []TrustedMulticallForwarderCall) (*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 (*ForwarderTransactor) Execute

Execute is a paid mutator transaction binding the contract method 0xdf905caf.

Solidity: function execute((address,address,uint256,uint256,uint48,bytes,bytes) request) payable returns()

func (*ForwarderTransactor) ExecuteBatch added in v0.1.28

func (_Forwarder *ForwarderTransactor) ExecuteBatch(opts *bind.TransactOpts, requests []ERC2771ForwarderForwardRequestData) (*types.Transaction, error)

ExecuteBatch is a paid mutator transaction binding the contract method 0x79165ff3.

Solidity: function executeBatch((address,address,uint256,uint256,uint48,bytes,bytes)[] requests) payable returns((bool,bytes)[] returnData)

func (*ForwarderTransactor) ExecuteBatch0 added in v0.1.28

func (_Forwarder *ForwarderTransactor) ExecuteBatch0(opts *bind.TransactOpts, requests []ERC2771ForwarderForwardRequestData, refundReceiver common.Address) (*types.Transaction, error)

ExecuteBatch0 is a paid mutator transaction binding the contract method 0xccf96b4a.

Solidity: function executeBatch((address,address,uint256,uint256,uint48,bytes,bytes)[] requests, address refundReceiver) payable returns()

func (*ForwarderTransactor) TryAggregate

func (_Forwarder *ForwarderTransactor) TryAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []TrustedMulticallForwarderCall) (*types.Transaction, error)

TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.

Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) returns((bool,bytes)[] returnData)

func (*ForwarderTransactor) TryBlockAndAggregate

func (_Forwarder *ForwarderTransactor) TryBlockAndAggregate(opts *bind.TransactOpts, requireSuccess bool, calls []TrustedMulticallForwarderCall) (*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 ForwarderTransactorRaw

type ForwarderTransactorRaw struct {
	Contract *ForwarderTransactor // Generic write-only contract binding to access the raw methods on
}

ForwarderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ForwarderTransactorRaw) Transact

func (_Forwarder *ForwarderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ForwarderTransactorRaw) Transfer

func (_Forwarder *ForwarderTransactorRaw) 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 ForwarderTransactorSession

type ForwarderTransactorSession struct {
	Contract     *ForwarderTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

ForwarderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ForwarderTransactorSession) Aggregate

Aggregate is a paid mutator transaction binding the contract method 0x252dba42.

Solidity: function aggregate((address,bytes)[] calls) returns(uint256 blockNumber, bytes[] returnData)

func (*ForwarderTransactorSession) Aggregate3

Aggregate3 is a paid mutator transaction binding the contract method 0x82ad56cb.

Solidity: function aggregate3((address,bool,bytes)[] calls) payable returns((bool,bytes)[] returnData)

func (*ForwarderTransactorSession) Aggregate3Value

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 (*ForwarderTransactorSession) BlockAndAggregate

func (_Forwarder *ForwarderTransactorSession) BlockAndAggregate(calls []TrustedMulticallForwarderCall) (*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 (*ForwarderTransactorSession) Execute

Execute is a paid mutator transaction binding the contract method 0xdf905caf.

Solidity: function execute((address,address,uint256,uint256,uint48,bytes,bytes) request) payable returns()

func (*ForwarderTransactorSession) ExecuteBatch added in v0.1.28

func (_Forwarder *ForwarderTransactorSession) ExecuteBatch(requests []ERC2771ForwarderForwardRequestData) (*types.Transaction, error)

ExecuteBatch is a paid mutator transaction binding the contract method 0x79165ff3.

Solidity: function executeBatch((address,address,uint256,uint256,uint48,bytes,bytes)[] requests) payable returns((bool,bytes)[] returnData)

func (*ForwarderTransactorSession) ExecuteBatch0 added in v0.1.28

func (_Forwarder *ForwarderTransactorSession) ExecuteBatch0(requests []ERC2771ForwarderForwardRequestData, refundReceiver common.Address) (*types.Transaction, error)

ExecuteBatch0 is a paid mutator transaction binding the contract method 0xccf96b4a.

Solidity: function executeBatch((address,address,uint256,uint256,uint48,bytes,bytes)[] requests, address refundReceiver) payable returns()

func (*ForwarderTransactorSession) TryAggregate

func (_Forwarder *ForwarderTransactorSession) TryAggregate(requireSuccess bool, calls []TrustedMulticallForwarderCall) (*types.Transaction, error)

TryAggregate is a paid mutator transaction binding the contract method 0xbce38bd7.

Solidity: function tryAggregate(bool requireSuccess, (address,bytes)[] calls) returns((bool,bytes)[] returnData)

func (*ForwarderTransactorSession) TryBlockAndAggregate

func (_Forwarder *ForwarderTransactorSession) TryBlockAndAggregate(requireSuccess bool, calls []TrustedMulticallForwarderCall) (*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 TrustedMulticallForwarderCall

type TrustedMulticallForwarderCall struct {
	Target   common.Address
	CallData []byte
}

TrustedMulticallForwarderCall is an auto generated low-level Go binding around an user-defined struct.

type TrustedMulticallForwarderCall3

type TrustedMulticallForwarderCall3 struct {
	Target         common.Address
	RequireSuccess bool
	CallData       []byte
}

TrustedMulticallForwarderCall3 is an auto generated low-level Go binding around an user-defined struct.

type TrustedMulticallForwarderCall3Value

type TrustedMulticallForwarderCall3Value struct {
	Target         common.Address
	RequireSuccess bool
	Value          *big.Int
	CallData       []byte
}

TrustedMulticallForwarderCall3Value is an auto generated low-level Go binding around an user-defined struct.

type TrustedMulticallForwarderResult

type TrustedMulticallForwarderResult struct {
	Success    bool
	ReturnData []byte
}

TrustedMulticallForwarderResult is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL