You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The enforcer module should be named ERC7683ExperimentalEnforcer.sol and include complete unit test coverage.
User Story
As a I user I want to automate my cross-chain swaps using shared standards to receive the best possible prices.
Enforcer
The new ERC7683ExperimentalEnforcer.sol module should enforce that a transaction being executed from the Universal Wallet is using ERC-7683 for cross-chain orders and matches the user asset and maxAmount terms.
The ERC7683ExperimentalEnforcer module will probably derive the most value when combined with other low-level enforcers like TimestampEnforcer.sol and LimitCallsEnforcer.sol to delegate authority to a "trading agent" that can execute swap on a user's behalf.
Conclusion
Create a secure Delegation Framework Enforcer to restrict cross-chain token swaps to the ERC-7683 standard.
The full scope of the issue might not be captured in this ticket. Additional research and critical thinking is required. Do your best to think of all security concerns related to the implementation you choose.
Full unit test coverage is expected for a final implementation.
We increase bounty payouts for work that goes above and beyond!
The text was updated successfully, but these errors were encountered:
Context
The Universal wallet uses the MetaMask Delegation Framework for handling wallet delegations, authorizations and intents. The framework includes 20+ enforcer smart contract modules for dictating transaction execution capabilities.
We want to extend those capabilities.
Scope
Create a new enforcer module that uses the ERC-7683 standard proposed by Uniswap and Across.
ERC-7683: Cross Chain Intents Standard
Uniswap Labs and Across Propose Standard for Cross-chain Intents
The enforcer module should be named
ERC7683ExperimentalEnforcer.sol
and include complete unit test coverage.User Story
As a I user I want to automate my cross-chain swaps using shared standards to receive the best possible prices.
Enforcer
The new
ERC7683ExperimentalEnforcer.sol
module should enforce that a transaction being executed from the Universal Wallet is using ERC-7683 for cross-chain orders and matches the userasset
andmaxAmount
terms.Review AllowedMethodsEnforcer.sol and AllowedCalldataEnforcer.sol modules for inspiration.
The
ERC7683ExperimentalEnforcer
module will probably derive the most value when combined with other low-level enforcers like TimestampEnforcer.sol and LimitCallsEnforcer.sol to delegate authority to a "trading agent" that can execute swap on a user's behalf.Conclusion
Create a secure Delegation Framework Enforcer to restrict cross-chain token swaps to the ERC-7683 standard.
The full scope of the issue might not be captured in this ticket. Additional research and critical thinking is required. Do your best to think of all security concerns related to the implementation you choose.
Full unit test coverage is expected for a final implementation.
We increase bounty payouts for work that goes above and beyond!
The text was updated successfully, but these errors were encountered: