Best viewed in Obsidian
Reviews every important function and its call trace
- touch -- [[#^Base-initOperation]] (update storage: accum + lastUpdated, fees, shares, borrows), set a snapshot. (After the call it will be all checked on EVC)
- How is a snapshot used? [[#^Base-snapshot]]
- checkVaultStatus [[#^RiskManager-checkVaultStatus]]
- How is a snapshot used? [[#^Base-snapshot]]
- flashLoan -- get acc (msg.sender or ~msg.sender), send all the balance to acc, callback, check balance
- Is a nonReentrant modifier inherited? -- no, but since we do delegateCall it will be used
- Why no events!? -- didn't do delegate