[GIP-250] Allow new system contracts, patch rate keeper factory, activate new instances
Authors
lekho.eth
Summary
This is another proposal to configure Gearbox within the new Permissionless framework by executing the following Cross-Chain Multisig batch:
- allow
MultiPauseandTreasuryLiquidatoras new system contracts; - roll out
RateKeeperFactoryv3.1.1 patch; - activate Gearbox instance on 11 more chains.
Specification
Allow new system contracts
It is proposed to allow two new system contracts to be deployed from the Bytecode Repository:
MultiPause(bytecode hash0xa000...6fde) allows risk curators to pause multiple contracts simultaneously in case of emergency;TreasuryLiquidator(bytecode hash0xdc481...0485) allows DAO to perform the liquidation of Credit Accounts using treasury funds in scenarios where the default atomic liquidation is not possible due to thin market liquidity or collateralโs market price temporarily deviating from its fundamental value.
Both contracts have been audited by Decurity (report).
Patch rate keeper factory
During more extensive use of the Permissionless framework, a bug was discovered in the RateKeeperFactory contract that wonโt allow risk curators to change the rate keeper in existing markets.
While the bug does not put any funds at risk and requires no immediate action from any party, it is proposed to roll out the patch RateKeeperFactory v3.1.1 (bytecode hash 0x752d...bb53) so that newly deployed market configurators used the correct version from the beginning. Risk curators of existing markets may upgrade by calling MarketConfigurator.upgradeRateKeeperFactory.
The patch has been audited by ChainSecurity (report).
Activate new instances
It is proposed to activate Gearbox instance on eight networks (Superseed, Sophon, Beam, BSquared, Swellchain, Kaia, Botanix, Katana) and three public testnets (Rise, Kadena, MIDL) with the following parameters:
| Network | Chain ID | instanceOwner | treasury | weth |
|---|---|---|---|---|
| Superseed | 5330 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0x4200000000000000000000000000000000000006 |
| Sophon | 50104 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0x2b1A859dE6A55c553520D7780Bc5805712B128F9 |
| Beam | 4337 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0xD51BFa777609213A653a2CD067c9A0132a2D316A |
| BSquared | 223 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0x4200000000000000000000000000000000000006 |
| Swellchain | 1923 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0x4200000000000000000000000000000000000006 |
| Kaia | 8217 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0x19Aac5f612f524B754CA7e7c41cbFa2E981A4432 |
| Botanix | 3637 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0x0D2437F93Fed6EA64Ef01cCde385FB1263910C56 |
| Katana | 747474 | 0x1E9ec044853611F4bCD4BBcFE7657508BD1c53D3 | 0xef78F5FfD8c6c5aa45bCAb7f4BA638B0A4fbc7A1 | 0xEE7D8BCFb72bC1880D0Cf19822eB0A2e6577aB62 |
| Rise Testnet | 11155931 | 0x18B1778f45944D1cE779A5BF2A386215d8F04d5F | 0x18B1778f45944D1cE779A5BF2A386215d8F04d5F | 0x4200000000000000000000000000000000000006 |
| Kadena Testnet | 5920 | 0x18B1778f45944D1cE779A5BF2A386215d8F04d5F | 0x18B1778f45944D1cE779A5BF2A386215d8F04d5F | 0x32E10f12e5dE1F8f591c83BbCb920E39A8F172F4 |
| MIDL Testnet | 777 | 0x96992B7E28147767701d4408FC45Eaba86c30f15 | 0x96992B7E28147767701d4408FC45Eaba86c30f15 | 0x76818770D192A506F90e79D5cB844E708be0D7A0 |
GEAR token address is set to zero on all those chains as it is not present there.
Implementation
The GIP asks DAO to authorize Technical/Cross-Chain Multisig members to sign the pair of SafeTx (in TM) and CompactBatch (in CCM) messages to submit and execute the batch 0xf03a9a54de933620b4078606377e1ab99252eb8eda8a0d360786cf7049220831 implementing the described actions.
The messages were generated using the script create-gip-250-messages.sh and can be found here.
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0xb9b7...6CceeA | 63.678M | For |
0xf3D4...49d89E | 60.094M | For |
0xD374...aA65B0 | 24.8M | For |
0x88C4...3A6464 | 20M | For |
0x3372...02bb8a | 20M | For |
VOTE POWER
Proposal Status
- Sat August 02 2025, 01:20 pmVoting Period Starts
- Tue August 05 2025, 01:20 pmEnd Voting Period
Current Results
1-For
275.564M
