184 - OZ MinimalForwarder
OpenZeppelin MinimalForwarder: provides a simple minimal forwarder (as described in OZ ERC2771Context) to be used together with an ERC2771 compatible contract. It verifies the nonce and signature of the forwarded request before calling the destination contract.
-
struct ForwardRequest {address from; address to; uint256 value; uint256 gas; uint256 nonce; bytes data;}
-
verify(ForwardRequest calldata req, bytes calldata signature) public view
→(bool)
-
execute(ForwardRequest calldata req, bytes calldata signature)
→(success, returndata)
- ERC-2771 Meta-transactions
- Simple Minimal Forwarder
- Nonce & Signature Checks
verify(req, signature)
execut(req, signature)