From 369ffe5acd0379f4645294ddf57efb0cedf2412d Mon Sep 17 00:00:00 2001 From: dmitriy-woof-software Date: Wed, 29 Jan 2025 17:02:28 -0600 Subject: [PATCH] feat: remove solvBTC_BBN --- deployments/mainnet/wbtc/configuration.json | 8 -------- deployments/mainnet/wbtc/deploy.ts | 13 ------------- .../migrations/1737396251_configurate_and_ens.ts | 3 --- 3 files changed, 24 deletions(-) diff --git a/deployments/mainnet/wbtc/configuration.json b/deployments/mainnet/wbtc/configuration.json index 02091b899..b6f21c34a 100644 --- a/deployments/mainnet/wbtc/configuration.json +++ b/deployments/mainnet/wbtc/configuration.json @@ -27,14 +27,6 @@ }, "rewardTokenAddress": "0xc00e94Cb662C3520282E6f5717214004A7f26888", "assets": { - "SolvBTC.BBN": { - "address": "0xd9D920AA40f578ab794426F5C90F6C731D159DEf", - "decimals": "18", - "borrowCF": 0.81, - "liquidateCF": 0.84, - "liquidationFactor": 0.9, - "supplyCap": "0e18" - }, "LBTC": { "address": "0x8236a87084f8B84306f72007F36F2618A5634494", "priceFeed": "0x5c29868C58b6e15e2b962943278969Ab6a7D3212", diff --git a/deployments/mainnet/wbtc/deploy.ts b/deployments/mainnet/wbtc/deploy.ts index d5b67cd23..19b8d2569 100644 --- a/deployments/mainnet/wbtc/deploy.ts +++ b/deployments/mainnet/wbtc/deploy.ts @@ -3,23 +3,10 @@ import { DeploySpec, deployComet } from '../../../src/deploy'; export default async function deploy(deploymentManager: DeploymentManager, deploySpec: DeploySpec): Promise { const _WBTC = await deploymentManager.existing('WBTC', '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599'); - const _solvBTC_BBN = await deploymentManager.existing('SolvBTC.BBN', '0xd9D920AA40f578ab794426F5C90F6C731D159DEf'); const _LBTC = await deploymentManager.existing('LBTC', '0x8236a87084f8B84306f72007F36F2618A5634494'); const _pumpBTC = await deploymentManager.existing('pumpBTC', '0xF469fBD2abcd6B9de8E169d128226C0Fc90a012e'); const COMP = await deploymentManager.existing('COMP', '0xc00e94Cb662C3520282E6f5717214004A7f26888'); - const _solvBTC_BBNPriceFeed = await deploymentManager.deploy( - 'SolvBTC.BBN:priceFeed', - 'pricefeeds/MultiplicativePriceFeed.sol', - [ - '0x1f34794A16D644b9810477EbF3f0b3870141E2e3', // SolvBTC.BBN / SolvBTC price feed - '0x936B31C428C29713343E05D631e69304f5cF5f49', // SolvBTC / BTC price feed - 8, // decimals - 'solvBTC.BBN / BTC price feed' // description - ], - true - ); - // Deploy scaling price feed for pumpBTC const _pumpBTCScalingPriceFeed = await deploymentManager.deploy( 'pumpBTC:priceFeed', diff --git a/deployments/mainnet/wbtc/migrations/1737396251_configurate_and_ens.ts b/deployments/mainnet/wbtc/migrations/1737396251_configurate_and_ens.ts index 3b67220cf..1d9890ef6 100644 --- a/deployments/mainnet/wbtc/migrations/1737396251_configurate_and_ens.ts +++ b/deployments/mainnet/wbtc/migrations/1737396251_configurate_and_ens.ts @@ -122,16 +122,13 @@ export default migration('1737396251_configurate_and_ens', { timelock, COMP, pumpBTC, - 'SolvBTC.BBN': solvBTC_BBN, LBTC } = await deploymentManager.getContracts(); // 1. & 2. & 3. - const solvBTC_BBNInfo = await comet.getAssetInfoByAddress(solvBTC_BBN.address); const lbtcInfo = await comet.getAssetInfoByAddress(LBTC.address); const pumpBTCInfo = await comet.getAssetInfoByAddress(pumpBTC.address); - // expect(solvBTC_BBNInfo.supplyCap).to.be.eq(exp(18, 18)); // expect(lbtcInfo.supplyCap).to.be.eq(exp(200, 8)); // expect(pumpBTCInfo.supplyCap).to.be.eq(exp(15, 8));