ERC2771Forwarder

package
v0.0.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC2771ForwarderABI = ERC2771ForwarderMetaData.ABI

ERC2771ForwarderABI is the input ABI used to generate the binding from. Deprecated: Use ERC2771ForwarderMetaData.ABI instead.

View Source
var ERC2771ForwarderMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"name\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"eip712Domain\",\"inputs\":[],\"outputs\":[{\"name\":\"fields\",\"type\":\"bytes1\",\"internalType\":\"bytes1\"},{\"name\":\"name\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"verifyingContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extensions\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"execute\",\"inputs\":[{\"name\":\"request\",\"type\":\"tuple\",\"internalType\":\"structERC2771Forwarder.ForwardRequestData\",\"components\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gas\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint48\",\"internalType\":\"uint48\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"executeBatch\",\"inputs\":[{\"name\":\"requests\",\"type\":\"tuple[]\",\"internalType\":\"structERC2771Forwarder.ForwardRequestData[]\",\"components\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gas\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint48\",\"internalType\":\"uint48\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"refundReceiver\",\"type\":\"address\",\"internalType\":\"addresspayable\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"isNonceUsed\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"structHash\",\"inputs\":[{\"name\":\"request\",\"type\":\"tuple\",\"internalType\":\"structERC2771Forwarder.ForwardRequest\",\"components\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gas\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint48\",\"internalType\":\"uint48\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verify\",\"inputs\":[{\"name\":\"request\",\"type\":\"tuple\",\"internalType\":\"structERC2771Forwarder.ForwardRequestData\",\"components\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gas\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint48\",\"internalType\":\"uint48\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"EIP712DomainChanged\",\"inputs\":[],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ExecutedForwardRequest\",\"inputs\":[{\"name\":\"signer\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"success\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AddressInsufficientBalance\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC2771ForwarderExpiredRequest\",\"inputs\":[{\"name\":\"deadline\",\"type\":\"uint48\",\"internalType\":\"uint48\"}]},{\"type\":\"error\",\"name\":\"ERC2771ForwarderInvalidSigner\",\"inputs\":[{\"name\":\"signer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC2771ForwarderMismatchedValue\",\"inputs\":[{\"name\":\"requestedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"msgValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ERC2771UntrustfulTarget\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"forwarder\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"FailedInnerCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidAccountNonce\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"currentNonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidShortString\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"StringTooLong\",\"inputs\":[{\"name\":\"str\",\"type\":\"string\",\"internalType\":\"string\"}]}]",
}

ERC2771ForwarderMetaData contains all meta data concerning the ERC2771Forwarder contract.

Functions

This section is empty.

Types

type ERC2771Forwarder

type ERC2771Forwarder struct {
	ERC2771ForwarderCaller     // Read-only binding to the contract
	ERC2771ForwarderTransactor // Write-only binding to the contract
	ERC2771ForwarderFilterer   // Log filterer for contract events
}

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

func NewERC2771Forwarder

func NewERC2771Forwarder(address common.Address, backend bind.ContractBackend) (*ERC2771Forwarder, error)

NewERC2771Forwarder creates a new instance of ERC2771Forwarder, bound to a specific deployed contract.

type ERC2771ForwarderCaller

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

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

func NewERC2771ForwarderCaller

func NewERC2771ForwarderCaller(address common.Address, caller bind.ContractCaller) (*ERC2771ForwarderCaller, error)

NewERC2771ForwarderCaller creates a new read-only instance of ERC2771Forwarder, bound to a specific deployed contract.

func (*ERC2771ForwarderCaller) Eip712Domain

func (_ERC2771Forwarder *ERC2771ForwarderCaller) 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 (*ERC2771ForwarderCaller) IsNonceUsed

func (_ERC2771Forwarder *ERC2771ForwarderCaller) IsNonceUsed(opts *bind.CallOpts, owner common.Address, data *big.Int) (bool, error)

IsNonceUsed is a free data retrieval call binding the contract method 0xcab7e8eb.

Solidity: function isNonceUsed(address owner, uint256 data) view returns(bool)

func (*ERC2771ForwarderCaller) StructHash

func (_ERC2771Forwarder *ERC2771ForwarderCaller) StructHash(opts *bind.CallOpts, request ERC2771ForwarderForwardRequest) ([32]byte, error)

StructHash is a free data retrieval call binding the contract method 0xf1109062.

Solidity: function structHash((address,address,uint256,uint256,uint256,uint48,bytes) request) view returns(bytes32)

type ERC2771ForwarderCallerRaw

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

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

func (*ERC2771ForwarderCallerRaw) Call

func (_ERC2771Forwarder *ERC2771ForwarderCallerRaw) 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 ERC2771ForwarderCallerSession

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

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

func (*ERC2771ForwarderCallerSession) Eip712Domain

func (_ERC2771Forwarder *ERC2771ForwarderCallerSession) 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 (*ERC2771ForwarderCallerSession) IsNonceUsed

func (_ERC2771Forwarder *ERC2771ForwarderCallerSession) IsNonceUsed(owner common.Address, data *big.Int) (bool, error)

IsNonceUsed is a free data retrieval call binding the contract method 0xcab7e8eb.

Solidity: function isNonceUsed(address owner, uint256 data) view returns(bool)

func (*ERC2771ForwarderCallerSession) StructHash

func (_ERC2771Forwarder *ERC2771ForwarderCallerSession) StructHash(request ERC2771ForwarderForwardRequest) ([32]byte, error)

StructHash is a free data retrieval call binding the contract method 0xf1109062.

Solidity: function structHash((address,address,uint256,uint256,uint256,uint48,bytes) request) view returns(bytes32)

type ERC2771ForwarderEIP712DomainChanged

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

ERC2771ForwarderEIP712DomainChanged represents a EIP712DomainChanged event raised by the ERC2771Forwarder contract.

type ERC2771ForwarderEIP712DomainChangedIterator

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

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

func (*ERC2771ForwarderEIP712DomainChangedIterator) Close

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

func (*ERC2771ForwarderEIP712DomainChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC2771ForwarderEIP712DomainChangedIterator) 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 ERC2771ForwarderExecutedForwardRequest

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

ERC2771ForwarderExecutedForwardRequest represents a ExecutedForwardRequest event raised by the ERC2771Forwarder contract.

type ERC2771ForwarderExecutedForwardRequestIterator

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

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

func (*ERC2771ForwarderExecutedForwardRequestIterator) Close

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

func (*ERC2771ForwarderExecutedForwardRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC2771ForwarderExecutedForwardRequestIterator) 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 ERC2771ForwarderFilterer

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

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

func NewERC2771ForwarderFilterer

func NewERC2771ForwarderFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC2771ForwarderFilterer, error)

NewERC2771ForwarderFilterer creates a new log filterer instance of ERC2771Forwarder, bound to a specific deployed contract.

func (*ERC2771ForwarderFilterer) FilterEIP712DomainChanged

func (_ERC2771Forwarder *ERC2771ForwarderFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*ERC2771ForwarderEIP712DomainChangedIterator, error)

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

Solidity: event EIP712DomainChanged()

func (*ERC2771ForwarderFilterer) FilterExecutedForwardRequest

func (_ERC2771Forwarder *ERC2771ForwarderFilterer) FilterExecutedForwardRequest(opts *bind.FilterOpts, signer []common.Address) (*ERC2771ForwarderExecutedForwardRequestIterator, error)

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

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

func (*ERC2771ForwarderFilterer) ParseEIP712DomainChanged

func (_ERC2771Forwarder *ERC2771ForwarderFilterer) ParseEIP712DomainChanged(log types.Log) (*ERC2771ForwarderEIP712DomainChanged, error)

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

Solidity: event EIP712DomainChanged()

func (*ERC2771ForwarderFilterer) ParseExecutedForwardRequest

func (_ERC2771Forwarder *ERC2771ForwarderFilterer) ParseExecutedForwardRequest(log types.Log) (*ERC2771ForwarderExecutedForwardRequest, error)

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

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

func (*ERC2771ForwarderFilterer) WatchEIP712DomainChanged

func (_ERC2771Forwarder *ERC2771ForwarderFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *ERC2771ForwarderEIP712DomainChanged) (event.Subscription, error)

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

Solidity: event EIP712DomainChanged()

func (*ERC2771ForwarderFilterer) WatchExecutedForwardRequest

func (_ERC2771Forwarder *ERC2771ForwarderFilterer) WatchExecutedForwardRequest(opts *bind.WatchOpts, sink chan<- *ERC2771ForwarderExecutedForwardRequest, 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 ERC2771ForwarderForwardRequest

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

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

type ERC2771ForwarderForwardRequestData

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

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

type ERC2771ForwarderRaw

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

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

func (*ERC2771ForwarderRaw) Call

func (_ERC2771Forwarder *ERC2771ForwarderRaw) 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 (*ERC2771ForwarderRaw) Transact

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

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

func (*ERC2771ForwarderRaw) Transfer

func (_ERC2771Forwarder *ERC2771ForwarderRaw) 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 ERC2771ForwarderSession

type ERC2771ForwarderSession struct {
	Contract     *ERC2771Forwarder // 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
}

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

func (*ERC2771ForwarderSession) Eip712Domain

func (_ERC2771Forwarder *ERC2771ForwarderSession) 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 (*ERC2771ForwarderSession) Execute

func (_ERC2771Forwarder *ERC2771ForwarderSession) Execute(request ERC2771ForwarderForwardRequestData) (*types.Transaction, error)

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

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

func (*ERC2771ForwarderSession) ExecuteBatch

func (_ERC2771Forwarder *ERC2771ForwarderSession) ExecuteBatch(requests []ERC2771ForwarderForwardRequestData, refundReceiver common.Address) (*types.Transaction, error)

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

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

func (*ERC2771ForwarderSession) IsNonceUsed

func (_ERC2771Forwarder *ERC2771ForwarderSession) IsNonceUsed(owner common.Address, data *big.Int) (bool, error)

IsNonceUsed is a free data retrieval call binding the contract method 0xcab7e8eb.

Solidity: function isNonceUsed(address owner, uint256 data) view returns(bool)

func (*ERC2771ForwarderSession) StructHash

func (_ERC2771Forwarder *ERC2771ForwarderSession) StructHash(request ERC2771ForwarderForwardRequest) ([32]byte, error)

StructHash is a free data retrieval call binding the contract method 0xf1109062.

Solidity: function structHash((address,address,uint256,uint256,uint256,uint48,bytes) request) view returns(bytes32)

func (*ERC2771ForwarderSession) Verify

func (_ERC2771Forwarder *ERC2771ForwarderSession) Verify(request ERC2771ForwarderForwardRequestData) (*types.Transaction, error)

Verify is a paid mutator transaction binding the contract method 0xafeb5022.

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

type ERC2771ForwarderTransactor

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

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

func NewERC2771ForwarderTransactor

func NewERC2771ForwarderTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC2771ForwarderTransactor, error)

NewERC2771ForwarderTransactor creates a new write-only instance of ERC2771Forwarder, bound to a specific deployed contract.

func (*ERC2771ForwarderTransactor) Execute

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

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

func (*ERC2771ForwarderTransactor) ExecuteBatch

func (_ERC2771Forwarder *ERC2771ForwarderTransactor) ExecuteBatch(opts *bind.TransactOpts, requests []ERC2771ForwarderForwardRequestData, refundReceiver common.Address) (*types.Transaction, error)

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

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

func (*ERC2771ForwarderTransactor) Verify

Verify is a paid mutator transaction binding the contract method 0xafeb5022.

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

type ERC2771ForwarderTransactorRaw

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

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

func (*ERC2771ForwarderTransactorRaw) Transact

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

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

func (*ERC2771ForwarderTransactorRaw) Transfer

func (_ERC2771Forwarder *ERC2771ForwarderTransactorRaw) 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 ERC2771ForwarderTransactorSession

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

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

func (*ERC2771ForwarderTransactorSession) Execute

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

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

func (*ERC2771ForwarderTransactorSession) ExecuteBatch

func (_ERC2771Forwarder *ERC2771ForwarderTransactorSession) ExecuteBatch(requests []ERC2771ForwarderForwardRequestData, refundReceiver common.Address) (*types.Transaction, error)

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

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

func (*ERC2771ForwarderTransactorSession) Verify

Verify is a paid mutator transaction binding the contract method 0xafeb5022.

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

Jump to

Keyboard shortcuts

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