Better Vault Value checker interface #1201
Labels
contracts
Works related to contracts
enhancement
New feature or request
good first issue
Good for newcomers
P2
Small number of users are affected, major cosmetic issue
planned
In-scope at the beginning of the sprint
Right now the vault vault checker, used to verify that no MEV has happened strategist allocations, the checks the upper and lower bound of allowed totalSupply and vaultValue. This is safe, and safer that what we had before, but has two disadvantages.
The metastrategy creates or removes large amounts of OUSD during moves in and out. The amount of these changes can be affected by other users in the curve pools, and can dwarf the actual profit and loss. Because of this, an unrelated trade in the OUSD/3pool can drastically change the amounts, and cause a previously valid strategist allocation transaction to fail the checks.
Secondly, the parameters are a little bit of a pain to check. For example, the last allocation looked like this:
This does show that we are thinking about roughly a 1.3 million reduction in supply from moving funds out of the metastrategy, but makes it extremely difficult to see the far more important expected profit/loss of the move, and is very sensitive to metastrategy changes.
An alternate API for the vault value checker might be:
The text was updated successfully, but these errors were encountered: