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
Create a new enforcer module that integrates with the Uniswap V4 GeomeanOracle.sol hook.
The enforcer module should be named UniV4GeomeanOracleEnforcer.sol and include complete unit test coverage.
User Story
As a I user I want to enable a transaction once a Uniswap V4 token pair price is within X-Y range.
Enforcer
The new UniV4GeomeanOracleEnforcer.sol module should request token pair price pricing using the GeomeanOracle.sol interfaces and allow a user to define a token pair price range for when a transaction can be executed.
For example the enforcer module should only allow a transaction to execute when the Uniswap ETH/USDC token pair price is between 1ETH/4200USDC and 1ETH/4201USDC
Conclusion
Create a secure Delegation Framework Enforcer to fetch token pair pricing from the Uniswap V4 GeomeanOracle hook.
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 integrates with the Uniswap V4 GeomeanOracle.sol hook.
The enforcer module should be named
UniV4GeomeanOracleEnforcer.sol
and include complete unit test coverage.User Story
As a I user I want to enable a transaction once a Uniswap V4 token pair price is within X-Y range.
Enforcer
The new
UniV4GeomeanOracleEnforcer.sol
module should request token pair price pricing using theGeomeanOracle.sol
interfaces and allow a user to define a token pair price range for when a transaction can be executed.For example the enforcer module should only allow a transaction to execute when the Uniswap ETH/USDC token pair price is between 1ETH/4200USDC and 1ETH/4201USDC
Conclusion
Create a secure Delegation Framework Enforcer to fetch token pair pricing from the Uniswap V4 GeomeanOracle hook.
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: