This proposal is to enable a number of security improvements and bug fixes to currently deployed Gearbox V2 contracts. The core system parameters, such as asset LTs, fees, etc. will not be changed, but some new security parameters will be added (see below). All changes are audited by Chainsecurity.
For motivation and an in-depth description of changes, see the forum discussion.
The contracts to be replaced:
The new versions of the contracts can be found in:
New security parameters will be established:
Maximal cumulative loss before pausing a CM - equal to maxBorrowedAmount for each respective CM: 1.1) DAI - 1'000'000; 1.2) USDC - 1'000'000; 1.3) WETH - 600; 1.4) wstETH - 600; 1.5) WBTC - 50; 1.6) FRAX - 1'000'000;
Emergency liquidation premium - 4% for all CMs;
Total debt limit - corresponding pool's expected liquidity at the time of deployment;
Additionally, two dev team bot addresses will be added into the emergency liquidator list:
For UI users:
For smart contract users and integrators:
CreditFacade.multicall() - this includes both adapters and CreditFacade functions for managing existing accounts, such as increaseDebt. Account opening/closing is unaffected.The dev team is essentially ready to deploy, so the changes should be live within 1-2 days after the proposal is successfully voted on.