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
BIP-592: Exit and Withdraw from BAL AURA ARB Pool Arbitrum #914
BIP-592: Exit and Withdraw from BAL AURA ARB Pool Arbitrum #914
Conversation
Instructions: https://docs.google.com/document/d/14Yaey2GbFvxN0ajrW9Tao7RlNXm6UZrN99ON7ejf4IA/edit Sim: https://dashboard.tenderly.co/public/safe/safe-apps/simulator/dc2a26ad-f60f-42f6-aa6a-8b2561eb68c7 #### Specification: The DAO Multisig on Arbitrum `0xaF23DC5983230E9eEAf93280e312e57539D098D0` will interact with the AuraArbBalGrant contract at `0x8D803f7f7e26E586ee90E5A872cf7830e21f7727` and write the `exit` function and for `_minOuts` will pass the return amounts in uint256 format from the queryExit of the poolId `0xbcaa6c053cab3dd73a2e898d89a4f84a180ae1ca000100000000000000000458` for a proportional exit for BAL, AURA, and ARB respectively. Following the exit, in the same transaction,, the DAO multisig `0xaF23DC5983230E9eEAf93280e312e57539D098D0` will also write the same contract, `0x8D803f7f7e26E586ee90E5A872cf7830e21f7727` function `withdrawBalances` to receive the tokens to the multisig. For Reference: AuraArbBalGrant Contract https://arbiscan.io/address/0x8d803f7f7e26e586ee90e5a872cf7830e21f7727#readContract BPT Held: https://arbiscan.io/token/0xbcaa6c053cab3dd73a2e898d89a4f84a180ae1ca?a=0x8d803f7f7e26e586ee90e5a872cf7830e21f7727 `balanceOf` returns `3242539693298704732855523`, 3,242,539.693 Pool tokens. At the time of writing `minOuts` would be: [`407389945800000000000000`, `2376519156700000000000000`, `1361586315300000000000000`] https://dashboard.tenderly.co/public/safe/safe-apps/simulator/dc2a26ad-f60f-42f6-aa6a-8b2561eb68c7 This is subject to change at the time of payload execution.
… reports) + reformat JSON
- assign BIP number to json and folder - Add name and description to payload
… reports) + reformat JSON
… reports) + reformat JSON
@@ -29,6 +29,17 @@ | |||
"contractInputsValues": { | |||
"_minOuts": "[396663000000000000000000, 2299087000000000000000000, 1360655000000000000000000]" | |||
} | |||
}, | |||
{ | |||
"to": "0x8D803f7f7e26E586ee90E5A872cf7830e21f7727", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call method looks good, verified on contract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be executed with private RPC>
Concerned that 2% is not enough room, prices could move, and this tx could start to revert. This would cuase the whole batch to have to be replaced. 1: Consider wider ranges |
this was discussed already right? numbers need to be adjusted as close to the actual posting of the tx as possible. and yea that could be done with 5% slippage or whatever as well |
Would be nice if this were in the BIP, specific details. I don't like making unilateral with the DAOs resources. My job here is only to execute what is instructed by governance, not to "think or interpret it". In this case I'll get a few approvals by Maxis on the final TX as I am not comfortable taking this decision without boundaries set/approved by governance. |
I suggest 10% below market price and we exec with private RPC. There's some risk someone could exec before us after the last siggy, but it seems very low risk. Current tenderly |
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"_minOuts": "[396663000000000000000000, 2299087000000000000000000, 1360655000000000000000000]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"_minOuts": "[396663000000000000000000, 2299087000000000000000000, 1360655000000000000000000]" | |
"_minOuts": "[36283773870000002039808, 2058925925750633987571712, 128719428660000012107776]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing as per comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commited into branch/new report should have final minouts.
BIP validation results for file BIPs/2024-W18/BIP-592 Exit and Withdraw from BAL/AURA/BIP-592.json:
|
FILENAME:
|
… reports) + reformat JSON
This reverts commit df637ee.
…AL-AURA-ARB-Pool-Arbitrum' into BIP-XXX-Exit-and-Withdraw-from-BAL-AURA-ARB-Pool-Arbitrum # Conflicts: # action-scripts/brownie/scripts/script_utils.py
See prettified report here, pending approval of logic change PR: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes from Mike
BIPs/2024-W18/BIP-592 Exit and Withdraw from BAL/AURA/BIP-592.json
Outdated
Show resolved
Hide resolved
…json Co-authored-by: Tritium <11885129+Tritium-VLK@users.noreply.github.com>
BIP validation results for file BIPs/2024-W18/BIP-592 Exit and Withdraw from BAL/AURA/BIP-592.json:
|
FILENAME:
|
…AL-AURA-ARB-Pool-Arbitrum' into BIP-XXX-Exit-and-Withdraw-from-BAL-AURA-ARB-Pool-Arbitrum # Conflicts: # BIPs/2024-W18/BIP-592 Exit and Withdraw from BAL/AURA/BIP-592.json
BIP validation results for file BIPs/2024-W18/BIP-592 Exit and Withdraw from BAL/AURA/BIP-592.json:
|
FILENAME:
|
… reports) + reformat JSON
Instructions: https://docs.google.com/document/d/14Yaey2GbFvxN0ajrW9Tao7RlNXm6UZrN99ON7ejf4IA/edit
Sim: https://dashboard.tenderly.co/public/safe/safe-apps/simulator/dc2a26ad-f60f-42f6-aa6a-8b2561eb68c7
Specification:
The DAO Multisig on Arbitrum
0xaF23DC5983230E9eEAf93280e312e57539D098D0
will interact with the AuraArbBalGrant contract at0x8D803f7f7e26E586ee90E5A872cf7830e21f7727
and write theexit
function and for_minOuts
will pass the return amounts in uint256 format from the queryExit of the poolId0xbcaa6c053cab3dd73a2e898d89a4f84a180ae1ca000100000000000000000458
for a proportional exit for BAL, AURA, and ARB respectively.Following the exit, in the same transaction,, the DAO multisig
0xaF23DC5983230E9eEAf93280e312e57539D098D0
will also write the same contract,0x8D803f7f7e26E586ee90E5A872cf7830e21f7727
functionwithdrawBalances
to receive the tokens to the multisig.For Reference:
AuraArbBalGrant Contract https://arbiscan.io/address/0x8d803f7f7e26e586ee90e5a872cf7830e21f7727#readContract
BPT Held: https://arbiscan.io/token/0xbcaa6c053cab3dd73a2e898d89a4f84a180ae1ca?a=0x8d803f7f7e26e586ee90e5a872cf7830e21f7727
balanceOf
returns3242539693298704732855523
, 3,242,539.693 Pool tokens.At the time of writing
minOuts
would be:[
407389945800000000000000
,2376519156700000000000000
,1361586315300000000000000
]https://dashboard.tenderly.co/public/safe/safe-apps/simulator/dc2a26ad-f60f-42f6-aa6a-8b2561eb68c7
This is subject to change at the time of payload execution.