Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gov): proposal to exit UDT uniswap positions on mainnet #15081

Merged
merged 16 commits into from
Nov 22, 2024

Conversation

clemsos
Copy link
Member

@clemsos clemsos commented Nov 14, 2024

Description

This proposal will decrease liquidity to zero on all UDT uniswap positions on mainnet and transfer the resulting amount to the bridged UDT on Base, so it can be later swapped to UP.

Issues

Fixes
Refs #15065

Checklist:

  • 1 PR, 1 purpose: my Pull Request applies to a single purpose
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the docs to reflect my changes if applicable
  • I have added tests (and stories for frontend components) that prove my fix is effective or that my feature works
  • I have performed a self-review of my own code
  • If my code involves visual changes, I am adding applicable screenshots to this thread

Release Note Draft Snippet

tokenId, // tokenId
]),

// bridge UDT to base
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually it will be easier to submit a second proposal (re-use the existing one) to bridge UDT to base, so we dont have to make estimate calculation about the balance

@clemsos clemsos marked this pull request as ready for review November 20, 2024 16:14
@clemsos
Copy link
Member Author

clemsos commented Nov 20, 2024

simulations of the calls passed correctly here : https://dashboard.tenderly.co/explorer/fork/d7718227-6103-4330-9129-50d1ca143c59/transactions

@clemsos
Copy link
Member Author

clemsos commented Nov 20, 2024

Exit UDT Uniswap positions

There are currently 3 positions owned by the DAO in the Uniswap UDT / WETH pool on mainnet. Liquidity for these positions is provided by the DAO treasury.

This proposal will result in exiting these positions by:

  1. decrease liquidity to zero on all these positions
  2. collect the UDT and WETH from the pools
  3. burn the Uniswap position NFT

Once executed, all UDT and WETH tokens currently held in pools will be transferred back to the DAO's timelock.

You can check the current positions here: 638761, 663230, 694069 ).

@julien51 julien51 merged commit c34d6c5 into master Nov 22, 2024
12 checks passed
@julien51 julien51 deleted the withdraw-udt-liquidity-from-mainnet branch November 22, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants