Get Mystery Box with random crypto!

Hector Bank Upgrade Tomorrow our friends of @OLA Finance (Par | HectroDAO Ann

Hector Bank Upgrade

Tomorrow our friends of @OLA Finance (Partner) will deploy an upgrade to our lending platform
It won't cause any downtime.
After these upgrades, something more will come....
Stay tuned.

Changelog:

1. Global Re-entrancy Locks:
The original locks implemented in Compound's code base prevented re-entrancy within a single Money Market (MM), but not re-entracy across multiple MMs. To exploit this, an attacker could deposit in MM1 and continously borrow from MM2 before the operation completed. The Global Re-entrancy Locks prevent this kind of cross market re-entrancy.
2. Corrected Checks-effect-interaction Pattern:
When calling borrow and redeem functions, we will first register the "effect" (ie. the loan taken or collateral withdrawn) before completing the "interaction" (ie. sending the tokens to the user). This fixes the original Compound code which has this logic reversed.
3. Support for Stakeable CTokens:
Stakeable CTokens are unique MMs that allow the collateral to be borrowed against while generating yield for the depositor. Deposited funds gets forwarded into yield generating contracts (ie. staking contracts, etc.) allowing them to borrow and leverage their position. These MMs cannot be borrowed from, only used as collateral to borrow against.

All the changes are already audited and safu
https://drive.google.com/file/d/1Rpuaxm5xxZAZWRxPWjYE6_bxVbPNcwJz/view?usp=sharing