
Dashboard
Markets
Stake
Governance
Transparency
More
Connect
Connect
Details
AlienDev
Forum Post: https://forum.inverse.finance/t/enable-swap-proxies-on-alev4/630
isExchangeProxy) for swap routers used in leverage/deleverage flows.0xCf5540fFFCdC3d510B18bFcA6d2b9987b07725590x111111125421cA6dc452d289314280a0f8842A65allowProxy for both addresses on ALEV4 so that existing leverage/deleverage flows can route via Odos/1inch as intended.In the DBR Helpers → new TriDBR pool migration, we:
ALEV4 introduces a safety improvement around swap routing:
exchangeProxy.markets[_market].useProxy and isExchangeProxy[_proxy].allowProxy() can be used as swap routers.This pattern is already in use (e.g. prior 0x → 1inch switch), but when we migrated to ALEV4 we did not include the allowProxy calls in the on-chain steps, so both Odos and 1inch are currently not enabled on the new ALE.
The result is that any leverage/deleverage flow that passes these routers as exchangeProxy will revert with InvalidProxyAddress().
Formally authorize the two swap routers used by FiRM as valid exchange proxies on ALEV2 so that:
No other changes are in scope.
isExchangeProxy. No state related to user escrows, market debt, or DBR accounting is modified.On ALEV4: 0x39D167Fe676EFC3be49bE874a37349A5D89f9058
ALEV4.allowProxy(0xCf5540fFFCdC3d510B18bFcA6d2b9987b0772559);
ALEV4.allowProxy(0x111111125421cA6dc452d289314280a0f8842A65);
Members allowed to make Drafts can sign the fact that they reviewed the Draft Proposal
Loading...
Subscribe to Our Newsletter
Join thousands of subscribers in receiving weekly updates about Inverse products, partnerships, and early-bird news shared only with subscribers!