Conversation
|
THIS PR
COMMENTS
LATER
|
|
final comment on broad solidity! NEW QS FOR CALEB
|
Todo Items (This PR)
Comments
All of the above will be added in a later PR.
Engine methods currently have auth. Need to add more tests for this though.
Will address in later PR. Todo Items (Later)
Additional Comments
Uni TWAP is current plan.
1e32 was just an arbitrarily large number I chose to avoid small-math errors. Will remove this in a later pass and do a more formal math-specific pass, eg solmate.
No need for erc20.decimals, it's actually better to do this in raw wei units. That's also why we don't need to handle weird cases like erc20s with 8 or 10 decimals. Decimals is just a frontend display unit - it doesn't actually impact the underlying math at all.
Vault Manager calls
Finalize position call isn't made to or from the engine; the contracts only check with the engine to make sure someone calling them is who they claim to be.
100% |
* fix late fee underpayment sandwich * add note about escrow owner disappearing * prevent blocklist griefing of foreclosure
No description provided.