From 7bf53e187d4f514b96955ef3dac32a8a01bc4f48 Mon Sep 17 00:00:00 2001 From: Adam Bavosa Date: Wed, 27 Mar 2024 19:46:40 -0400 Subject: [PATCH] redo config for new deploy --- .../base-sepolia/weth/configuration.json | 28 +++++++++++++++++-- deployments/base-sepolia/weth/relations.ts | 5 ++++ deployments/base-sepolia/weth/roots.json | 8 ++++++ 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 deployments/base-sepolia/weth/roots.json diff --git a/deployments/base-sepolia/weth/configuration.json b/deployments/base-sepolia/weth/configuration.json index e560bb6f3..fdd0d0144 100644 --- a/deployments/base-sepolia/weth/configuration.json +++ b/deployments/base-sepolia/weth/configuration.json @@ -3,13 +3,35 @@ "symbol": "cWETHv3", "baseToken": "WETH", "baseTokenAddress": "0x4200000000000000000000000000000000000006", + "baseTokenPriceFeed": "", + "pauseGuardian": "", + "borrowMin": "0e0", + "storeFrontPriceFactor": 1, + "targetReserves": "5000e18", + "rates": { + "supplyKink": 0.9, + "supplySlopeLow": 0.0283824, + "supplySlopeHigh": 0.6066567706, + "supplyBase": 0, + "borrowKink": 0.9, + "borrowSlopeLow": 0.037, + "borrowSlopeHigh": 0.5171500339, + "borrowBase": 0.009945209674 + }, + "tracking": { + "indexScale": "1e15", + "baseSupplySpeed": "0e0", + "baseBorrowSpeed": "0e0", + "baseMinForRewards": "100e18" + }, + "rewardToken": "COMP", "assets": { "cbETH": { "address": "0x774eD9EDB0C5202dF9A86183804b5D9E99dC6CA3", "decimals": "18", - "borrowCF": 0, - "liquidateCF": 0, - "liquidationFactor": 0, + "borrowCF": 0.90, + "liquidateCF": 0.93, + "liquidationFactor": 0.975, "supplyCap": "0e18" } } diff --git a/deployments/base-sepolia/weth/relations.ts b/deployments/base-sepolia/weth/relations.ts index f6010d1ea..4792f02c6 100644 --- a/deployments/base-sepolia/weth/relations.ts +++ b/deployments/base-sepolia/weth/relations.ts @@ -11,6 +11,11 @@ export default { artifact: 'contracts/ERC20.sol:ERC20', }, + // WETH + '0x4200000000000000000000000000000000000006': { + artifact: 'contracts/ERC20.sol:ERC20', + }, + // COMP '0x2f535da74048c0874400f0371fba20df983a56e2': { artifact: 'contracts/ERC20.sol:ERC20', diff --git a/deployments/base-sepolia/weth/roots.json b/deployments/base-sepolia/weth/roots.json new file mode 100644 index 000000000..1524bcf4e --- /dev/null +++ b/deployments/base-sepolia/weth/roots.json @@ -0,0 +1,8 @@ +{ + "bridgeReceiver": "0x80c116493DB619560e3380D0fF195e749D8857D7", + "l2CrossDomainMessenger": "0x4200000000000000000000000000000000000007", + "l2StandardBridge": "0x4200000000000000000000000000000000000010", + "bulker": "0x7D25b2AecF07B5CB87B05e17Aa5cecbA8BCfDBD1", + "fauceteer": "0xD76cB57d8B097B80a6eE4D1b4d5ef872bfBa6051", + "COMP": "0x2f535da74048c0874400f0371Fba20DF983A56e2" +} \ No newline at end of file