Skip to content

Commit

Permalink
feat: remove solvBTC_BBN
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-woof-software committed Jan 29, 2025
1 parent efca8e6 commit 369ffe5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
8 changes: 0 additions & 8 deletions deployments/mainnet/wbtc/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
13 changes: 0 additions & 13 deletions deployments/mainnet/wbtc/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,10 @@ import { DeploySpec, deployComet } from '../../../src/deploy';

export default async function deploy(deploymentManager: DeploymentManager, deploySpec: DeploySpec): Promise<Deployed> {
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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 369ffe5

Please sign in to comment.