Skip to content

Commit

Permalink
Update 1716798961_add_rseth_and_weeth.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
EviLord032 committed May 31, 2024
1 parent d2ea363 commit 4d909c1
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default migration('1716798961_add_rseth_and_weeth', {
'mainnet',
'contracts/ERC20.sol:ERC20'
);
const rsethPricefeed = await deploymentManager.existing(
const rsEthPricefeed = await deploymentManager.existing(
'rsETH:priceFeed',
rsETHScalingPriceFeed,
'mainnet'
Expand All @@ -57,7 +57,7 @@ export default migration('1716798961_add_rseth_and_weeth', {
'mainnet',
'contracts/ERC20.sol:ERC20'
);
const weethPricefeed = await deploymentManager.existing(
const weEthPricefeed = await deploymentManager.existing(
'weETH:priceFeed',
weETHScalingPriceFeed,
'mainnet'
Expand All @@ -72,7 +72,7 @@ export default migration('1716798961_add_rseth_and_weeth', {

const rsETHAssetConfig = {
asset: rsETH.address,
priceFeed: rsethPricefeed.address,
priceFeed: rsEthPricefeed.address,
decimals: await rsETH.decimals(),
borrowCollateralFactor: exp(0.80, 18),
liquidateCollateralFactor: exp(0.85, 18),
Expand All @@ -82,7 +82,7 @@ export default migration('1716798961_add_rseth_and_weeth', {

const weETHAssetConfig = {
asset: weETH.address,
priceFeed: weethPricefeed.address,
priceFeed: weEthPricefeed.address,
decimals: await weETH.decimals(),
borrowCollateralFactor: exp(0.82, 18),
liquidateCollateralFactor: exp(0.87, 18),
Expand Down Expand Up @@ -121,7 +121,7 @@ export default migration('1716798961_add_rseth_and_weeth', {
exp(1.15, 18) // newBorrowPerYearInterestRateSlopeHigh
],
},
// 3. Deploy and upgrade to a new version of Comet
// 5. Deploy and upgrade to a new version of Comet
{
contract: cometAdmin,
signature: 'deployAndUpgradeTo(address,address)',
Expand Down

0 comments on commit 4d909c1

Please sign in to comment.