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
We receive dispute fees in DAI on Gnosis chain, we want to get WETH because it's the base currency for the court v2. Not doing so would expose some participants to currency risk for the duration of the dispute resolution.
Short-term solution (this issue)
A naive fee swapper which hits a DEX for each transaction. It should expose a clear interface to allow the Fee Swapper implementation to be changed seamlessly later.
Mid-term solution (out-of-scope for this issue)
Let the Fee Swapper hold some working capital (say 1 WETH) so that a DEX doesn't need to be involved in every transactions. Over time, the contract will accumulate DAI and run out of WETH. The contract should allow anyone (permissionless) to call a rebalance function and hit the DEX.
Problem
We receive dispute fees in DAI on Gnosis chain, we want to get WETH because it's the base currency for the court v2. Not doing so would expose some participants to currency risk for the duration of the dispute resolution.
Short-term solution (this issue)
A naive fee swapper which hits a DEX for each transaction. It should expose a clear interface to allow the Fee Swapper implementation to be changed seamlessly later.
Mid-term solution (out-of-scope for this issue)
Let the Fee Swapper hold some working capital (say 1 WETH) so that a DEX doesn't need to be involved in every transactions. Over time, the contract will accumulate DAI and run out of WETH. The contract should allow anyone (permissionless) to call a rebalance function and hit the DEX.
Blocks #44
The text was updated successfully, but these errors were encountered: