Skip to content

Commit

Permalink
feat: add LBTC deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
kkirka committed Nov 28, 2024
1 parent 27d7979 commit f7f2934
Show file tree
Hide file tree
Showing 4 changed files with 1,022 additions and 0 deletions.
257 changes: 257 additions & 0 deletions deployments/ethereum/VToken_vLBTC_Core.json

Large diffs are not rendered by default.

458 changes: 458 additions & 0 deletions deployments/sepolia/MockLBTC.json

Large diffs are not rendered by default.

257 changes: 257 additions & 0 deletions deployments/sepolia/VToken_vLBTC_Core.json

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions helpers/deploymentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2864,6 +2864,13 @@ export const globalConfig: NetworkConfig = {
decimals: 18,
tokenAddress: ethers.constants.AddressZero,
},
{
isMock: true,
name: "Lombard Staked Bitcoin",
symbol: "LBTC",
decimals: 8,
tokenAddress: ethers.constants.AddressZero,
},
],
poolConfig: [
{
Expand Down Expand Up @@ -3089,6 +3096,24 @@ export const globalConfig: NetworkConfig = {
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
vTokenReceiver: preconfiguredAddresses.sepolia.VTreasury,
},
{
name: "Venus LBTC (Core)",
asset: "LBTC",
symbol: "vLBTC_Core",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: convertToUnit("0", 18),
multiplierPerYear: convertToUnit("0.09", 18),
jumpMultiplierPerYear: convertToUnit("2.0", 18),
kink_: convertToUnit("0.45", 18),
collateralFactor: convertToUnit("0.735", 18),
liquidationThreshold: convertToUnit("0.785", 18),
reserveFactor: convertToUnit("0.2", 18),
initialSupply: convertToUnit("0.106", 18),
supplyCap: convertToUnit("450", 18),
borrowCap: convertToUnit("45", 18),
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
vTokenReceiver: preconfiguredAddresses.sepolia.VTreasury,
},
],
rewards: [
// XVS Rewards Over 90 days (648000 blocks)
Expand Down Expand Up @@ -3625,6 +3650,13 @@ export const globalConfig: NetworkConfig = {
decimals: 18,
tokenAddress: "0xD9A442856C234a39a81a089C06451EBAa4306a72",
},
{
isMock: false,
name: "Lombard Staked Bitcoin",
symbol: "LBTC",
decimals: 8,
tokenAddress: "0x8236a87084f8B84306f72007F36F2618A5634494",
},
],
poolConfig: [
{
Expand Down Expand Up @@ -3832,6 +3864,24 @@ export const globalConfig: NetworkConfig = {
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
vTokenReceiver: preconfiguredAddresses.ethereum.VTreasury,
},
{
name: "Venus LBTC (Core)",
asset: "LBTC",
symbol: "vLBTC_Core",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: convertToUnit("0", 18),
multiplierPerYear: convertToUnit("0.09", 18),
jumpMultiplierPerYear: convertToUnit("2.0", 18),
kink_: convertToUnit("0.45", 18),
collateralFactor: convertToUnit("0.735", 18),
liquidationThreshold: convertToUnit("0.785", 18),
reserveFactor: convertToUnit("0.2", 18),
initialSupply: convertToUnit("0.106", 18),
supplyCap: convertToUnit("450", 18),
borrowCap: convertToUnit("45", 18),
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
vTokenReceiver: "0xCb09Ab3F6254437d225Ed3CABEBe0949782E2372",
},
],
rewards: [
// XVS Rewards Over 90 days (648000 blocks)
Expand Down

0 comments on commit f7f2934

Please sign in to comment.