Closed ilpepepig closed 2 months ago
We would need a function which does https://github.com/bcnmy/metatx-standard/blob/master/src/contracts/EIP712MetaTransaction.sol#L37 So that any relayer can sign the msg -> invoke this function and
- get the real msg.sender
- override _msgSender
- know which function to call with what data
Is this right ? (I'm assuming we'd do this in a follow up ticket)
@thelostone-mc Correct! This will be part of https://github.com/allo-protocol/allo-v2/issues/594
Closes #593.
Supporting meta-transactions as suggested in #594 would probably become as easy as overriding
_msgSender()
. Depending on how meta-transactions are expected to work in Allo, OZ::ERC2771Context.sol could be used.The usage of
onlyOwner
remains unchanged for the following reasons: