Skip to content

Commit

Permalink
fix: deployed vtoken on ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
web3rover committed Oct 30, 2024
1 parent fd58eb0 commit e095560
Show file tree
Hide file tree
Showing 3 changed files with 890 additions and 0 deletions.

Large diffs are not rendered by default.

257 changes: 257 additions & 0 deletions deployments/ethereum/VToken_veBTC.json

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions helpers/deploymentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3554,6 +3554,13 @@ export const globalConfig: NetworkConfig = {
decimals: 18,
tokenAddress: "0x917ceE801a67f933F2e6b33fC0cD1ED2d5909D88",
},
{
isMock: false,
name: "ether.fi BTC",
symbol: "eBTC",
decimals: 8,
tokenAddress: "0x657e8C867D8B37dCC18fA4Caead9C45EB088C642",
},
],
poolConfig: [
{
Expand Down Expand Up @@ -3725,6 +3732,24 @@ export const globalConfig: NetworkConfig = {
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
vTokenReceiver: "0x6e74053a3798e0fC9a9775F7995316b27f21c4D2",
},
{
name: "Venus eBTC",
asset: "eBTC",
symbol: "veBTC",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: "0",
multiplierPerYear: convertToUnit("0.09", 18),
jumpMultiplierPerYear: convertToUnit("2", 18),
kink_: convertToUnit("0.45", 18),
collateralFactor: convertToUnit("0.68", 18),
liquidationThreshold: convertToUnit("0.72", 18),
reserveFactor: convertToUnit("0.2", 18),
initialSupply: convertToUnit("0.14471345", 8),
supplyCap: convertToUnit("25", 8),
borrowCap: convertToUnit("12.5", 8),
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
vTokenReceiver: preconfiguredAddresses.ethereum.VTreasury,
},
],
rewards: [
// XVS Rewards Over 90 days (648000 blocks)
Expand Down

0 comments on commit e095560

Please sign in to comment.