Last updated
Last updated
Inherits: , ,
Author: Inverter Network
This contract enables users to interact with smart contracts indirectly through a trusted forwarder. It supports meta transactions, allowing transactions to be sent by one party but signed and paid for by another. It also handles batch transactions (multi-call), facilitating complex, multi-step interactions within a single transaction.
Integrates and to manage and relay meta transactions. It handles nonce management, signature verification, and ensures only trusted calls are forwarded.
Storage gap for future upgrades.
Creates a digest for the given ForwardRequestData
.
The signature field of the given ForwardRequestData
can be empty.
Parameters
Returns
Enables the execution of multiple calls in a single transaction.
Parameters
Returns
Returns the digest for the given ForwardRequestData
.
Parameters
Returns
req
ForwardRequestData
The ForwardRequest you want to get the digest from.
digest
bytes32
The digest needed to create a signature for the request.
calls
SingleCall[]
Array of call structs that should be executed in the multicall.
results
Result[]
returnData The return data of the calls that were executed.
req
ERC2771ForwarderUpgradeable.ForwardRequestData
The ForwardRequest you want to get the digest from.
<none>
bytes32
digest The digest needed to create a signature for the request.