Skip to content

Commit

Permalink
Merge pull request #308 from VenusProtocol/feat/ven-1997
Browse files Browse the repository at this point in the history
[VEN-1997]: add SnBNB market deployments
  • Loading branch information
GitGuru7 authored Sep 29, 2023
2 parents 925e64a + add6956 commit 7f593a6
Show file tree
Hide file tree
Showing 10 changed files with 4,666 additions and 0 deletions.
1,270 changes: 1,270 additions & 0 deletions deployments/bscmainnet/RewardsDistributor_LiquidStakedBNB_4.json

Large diffs are not rendered by default.

277 changes: 277 additions & 0 deletions deployments/bscmainnet/RewardsDistributor_LiquidStakedBNB_4_Proxy.json

Large diffs are not rendered by default.

246 changes: 246 additions & 0 deletions deployments/bscmainnet/VToken_vSnBNB_LiquidStakedBNB.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

450 changes: 450 additions & 0 deletions deployments/bsctestnet/MockSnBNB.json

Large diffs are not rendered by default.

1,270 changes: 1,270 additions & 0 deletions deployments/bsctestnet/RewardsDistributor_LiquidStakedBNB_4.json

Large diffs are not rendered by default.

277 changes: 277 additions & 0 deletions deployments/bsctestnet/RewardsDistributor_LiquidStakedBNB_4_Proxy.json

Large diffs are not rendered by default.

246 changes: 246 additions & 0 deletions deployments/bsctestnet/VToken_vSnBNB_LiquidStakedBNB.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions helpers/deploymentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,13 @@ export const globalConfig: NetworkConfig = {
decimals: 18,
tokenAddress: ethers.constants.AddressZero,
},
{
isMock: false,
name: "Synclub Staked BNB",
symbol: "SnBNB",
decimals: 18,
tokenAddress: "0xd2aF6A916Bc77764dc63742BC30f71AF4cF423F4",
},
],
poolConfig: [
{
Expand Down Expand Up @@ -1061,6 +1068,23 @@ export const globalConfig: NetworkConfig = {
borrowCap: convertToUnit("1600000", 18),
vTokenReceiver: "0x3DdfA8eC3052539b6C9549F12cEA2C295cfF5296",
},
{
name: "Venus SnBNB (Liquid Staked BNB)",
asset: "SnBNB",
symbol: "vSnBNB_LiquidStakedBNB",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: convertToUnit("0.02", 18),
multiplierPerYear: convertToUnit("0.2", 18),
jumpMultiplierPerYear: convertToUnit("3", 18),
kink_: convertToUnit("0.5", 18),
collateralFactor: convertToUnit("0.87", 18),
liquidationThreshold: convertToUnit("0.9", 18),
reserveFactor: convertToUnit("0.25", 18),
initialSupply: convertToUnit("47", 18),
supplyCap: convertToUnit("1000", 18),
borrowCap: convertToUnit("100", 18),
vTokenReceiver: "0xDC2D855A95Ee70d7282BebD35c96f905CDE31f55",
},
],
rewards: [
{
Expand All @@ -1087,6 +1111,12 @@ export const globalConfig: NetworkConfig = {
supplySpeeds: ["1157407407407407"], // 1000 SD over 30 days (864000 blocks)
borrowSpeeds: ["1157407407407407"], // 1000 SD over 30 days (864000 blocks)
},
{
asset: "HAY",
markets: ["SnBNB"],
supplySpeeds: ["930059523809523"], // 1500 HAY over 56 days (1612800 blocks)
borrowSpeeds: ["930059523809523"], // 1500 HAY over 56 days (1612800 blocks)
},
],
},
{
Expand Down Expand Up @@ -1363,6 +1393,13 @@ export const globalConfig: NetworkConfig = {
decimals: 18,
tokenAddress: "0x3BC5AC0dFdC871B365d159f728dd1B9A0B5481E8",
},
{
isMock: false,
name: "Synclub Staked BNB",
symbol: "SnBNB",
decimals: 18,
tokenAddress: "0xB0b84D294e0C75A6abe60171b70edEb2EFd14A1B",
},
],
poolConfig: [
{
Expand Down Expand Up @@ -1766,6 +1803,23 @@ export const globalConfig: NetworkConfig = {
borrowCap: convertToUnit("1600000", 18),
vTokenReceiver: "0x3DdfA8eC3052539b6C9549F12cEA2C295cfF5296",
},
{
name: "Venus SnBNB (Liquid Staked BNB)",
asset: "SnBNB",
symbol: "vSnBNB_LiquidStakedBNB",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: convertToUnit("0.02", 18),
multiplierPerYear: convertToUnit("0.2", 18),
jumpMultiplierPerYear: convertToUnit("3", 18),
kink_: convertToUnit("0.5", 18),
collateralFactor: convertToUnit("0.87", 18),
liquidationThreshold: convertToUnit("0.9", 18),
reserveFactor: convertToUnit("0.25", 18),
initialSupply: convertToUnit("47", 18),
supplyCap: convertToUnit("1000", 18),
borrowCap: convertToUnit("100", 18),
vTokenReceiver: "0xDC2D855A95Ee70d7282BebD35c96f905CDE31f55",
},
],
rewards: [
{
Expand All @@ -1792,6 +1846,12 @@ export const globalConfig: NetworkConfig = {
supplySpeeds: ["1157407407407407"], // 1000 SD over 30 days (864000 blocks)
borrowSpeeds: ["1157407407407407"], // 1000 SD over 30 days (864000 blocks)
},
{
asset: "HAY",
markets: ["SnBNB"],
supplySpeeds: ["930059523809523"], // 1500 HAY over 56 days (1612800 blocks)
borrowSpeeds: ["930059523809523"], // 1500 HAY over 56 days (1612800 blocks)
},
],
},
{
Expand Down

0 comments on commit 7f593a6

Please sign in to comment.