Closed petrovska-petro closed 7 months ago
may need addy update from the assoc.msig, once @sajanrajdev has final deets
@petrovska-petro, I took the liberty of merging main and changing payments multisig to the new one.
Just wanted to note that the operation will not result in a balance state for stables. This is acceptable as discussed during the Treasury call as the stables balancing and yearly runway coverage are goals to be achieved by the end of each quarter, as per policy. Here is some napkin math on the expect final state:
1,154,912 DAI
for 1154948.396852 USDC
leaves 34555.62 DAI
With the LUSD sold for USDC, we obtain an additional 682526.398697 USDC
.
So, after the trades we will have: 95,651.0265+1154948.396852+682526.398697 = 1,933125.82205 USDC
After the transfers, the USDC amount will be reduced to: 1933125.82205 - (2927.77*5 + 300000 + 1154918) = 463568.97205 USDC
Therefore, the final state will be:
34555.62 DAI
584,807.4172 USDT
463568.97205 USDC
0 LUSD
Swapping ~half of USDT for DAI would do the trick, as previously suggested but it might make sense to wait until a decision around extending the stable runway is made.
@petrovska-petro, I took the liberty of pushing a simulation, assertions and snaphots that I added while reviewing locally. You will find that core logic was left intact, these just add extra sanity and qa.
LGTM
tackles #1489 and #1491
run:
1st step
2nd step once cow swaps are settled