File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2
2
* reserve change on each swap
3
3
! Better revert messages when a swap cannot be satisifed due to debt-limit/utilisation/etc
4
4
* currently it's an arithmetic underflow
5
+ ! Don't make quotes that would cause a swap to fail due to supply or borrow caps
6
+ ! Use `myDebt() == 0` condition for disabling controller: more accurate
7
+ ! In _computeQuote() use vault.cash() method instead of token.balanceOf() otherwise donations could cause quoted swaps to fail
8
+ ! In _computeQuote(), exactOut swaps should verify the *amount* (not quote) is withdrawable
5
9
* ConstantSum: incorporate price multipliers in quote methods
6
10
* natspec
7
11
* permit2 instead of regular approval: measure gas savings
12
+ * in constructor, check the two vaults have the correct EVC() return value
13
+ * maybe even that they were created by the EVK factory?
14
+ ? a really small swap could fail because deposit() results in 0 shares, which EVK fails on. call convertToShares() first? Seems like overkill
8
15
? pause guardian
9
16
? how should aggregators find instances
10
17
? factory/registry contract
You can’t perform that action at this time.
0 commit comments