@venusprotocol/isolated-pools 2.1.0-dev.3 → 2.1.0-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,7 +87,10 @@ const func = async function (hre) {
87
87
  vTokenDecimals,
88
88
  preconfiguredAddresses.NormalTimelock || deployer,
89
89
  accessControlManagerAddress,
90
- [ADDRESS_ONE, treasuryAddress],
90
+ [
91
+ preconfiguredAddresses.Shortfall || ADDRESS_ONE,
92
+ preconfiguredAddresses.ProtocolShareReserve || treasuryAddress,
93
+ ],
91
94
  reserveFactor,
92
95
  ];
93
96
  await deploy(`VToken_${symbol}`, {
@@ -24,6 +24,8 @@ const preconfiguredAddresses = {
24
24
  WBNB: "0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd",
25
25
  VBNB_CorePool: "0x2E7222e51c0f6e98610A1543Aa3836E092CDe62c",
26
26
  SwapRouter_CorePool: "0x83edf1deE1B730b7e8e13C00ba76027D63a51ac0",
27
+ ProtocolShareReserve: "0xc987a03ab6C2A5891Fc0919f021cc693B5E55278",
28
+ Shortfall: "0x503574a82fE2A9f968d355C8AAc1Ba0481859369",
27
29
  },
28
30
  bscmainnet: {
29
31
  VTreasury: "0xF322942f644A996A617BD29c16bd7d231d9F35E9",
@@ -36,6 +38,8 @@ const preconfiguredAddresses = {
36
38
  WBNB: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
37
39
  VBNB_CorePool: "0xA07c5b74C9B40447a954e1466938b865b6BBea36",
38
40
  SwapRouter_CorePool: "0x8938E6dA30b59c1E27d5f70a94688A89F7c815a4",
41
+ ProtocolShareReserve: "0xfB5bE09a1FA6CFDA075aB1E69FE83ce8324682e4",
42
+ Shortfall: "0xf37530A8a810Fcb501AA0Ecd0B0699388F0F2209",
39
43
  },
40
44
  };
41
45
  const poolRegistryPermissions = () => {
@@ -582,6 +586,20 @@ exports.globalConfig = {
582
586
  decimals: 18,
583
587
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
584
588
  },
589
+ {
590
+ isMock: false,
591
+ name: "agEUR",
592
+ symbol: "agEUR",
593
+ decimals: 18,
594
+ tokenAddress: "0x63061de4A25f24279AAab80400040684F92Ee319",
595
+ },
596
+ {
597
+ isMock: false,
598
+ name: "ANGLE_bsc",
599
+ symbol: "ANGLE",
600
+ decimals: 18,
601
+ tokenAddress: "0xD1Bc731d188ACc3f52a6226B328a89056B0Ec71a",
602
+ },
585
603
  {
586
604
  isMock: false,
587
605
  name: "Synclub Staked BNB",
@@ -649,6 +667,23 @@ exports.globalConfig = {
649
667
  borrowCap: (0, utils_1.convertToUnit)(400000, 18),
650
668
  vTokenReceiver: "0x3DdfA8eC3052539b6C9549F12cEA2C295cfF5296",
651
669
  },
670
+ {
671
+ name: "Venus agEUR (Stablecoins)",
672
+ asset: "agEUR",
673
+ symbol: "vagEUR_Stablecoins",
674
+ rateModel: InterestRateModels.JumpRate.toString(),
675
+ baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
676
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.1", 18),
677
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
678
+ kink_: (0, utils_1.convertToUnit)("0.5", 18),
679
+ collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
680
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.8", 18),
681
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
682
+ initialSupply: (0, utils_1.convertToUnit)(9000, 18),
683
+ supplyCap: (0, utils_1.convertToUnit)(100000, 18),
684
+ borrowCap: (0, utils_1.convertToUnit)(50000, 18),
685
+ vTokenReceiver: "0xc444949e0054a23c44fc45789738bdf64aed2391",
686
+ },
652
687
  ],
653
688
  rewards: [
654
689
  {
@@ -663,6 +698,12 @@ exports.globalConfig = {
663
698
  supplySpeeds: ["1240079365079365"],
664
699
  borrowSpeeds: ["1240079365079365"], // 1000 HAY over 28 days (806400 blocks)
665
700
  },
701
+ {
702
+ asset: "ANGLE",
703
+ markets: ["agEUR"],
704
+ supplySpeeds: ["0"],
705
+ borrowSpeeds: ["87549603174603174"], // 17650 ANGLE over 7 days (201600 blocks)
706
+ },
666
707
  ],
667
708
  },
668
709
  {
@@ -1315,6 +1356,20 @@ exports.globalConfig = {
1315
1356
  decimals: 18,
1316
1357
  tokenAddress: "0x3BC5AC0dFdC871B365d159f728dd1B9A0B5481E8",
1317
1358
  },
1359
+ {
1360
+ isMock: false,
1361
+ name: "agEUR",
1362
+ symbol: "agEUR",
1363
+ decimals: 18,
1364
+ tokenAddress: "0x12f31b73d812c6bb0d735a218c086d44d5fe5f89",
1365
+ },
1366
+ {
1367
+ isMock: false,
1368
+ name: "ANGLE_bsc",
1369
+ symbol: "ANGLE",
1370
+ decimals: 18,
1371
+ tokenAddress: "0x97B6897AAd7aBa3861c04C0e6388Fc02AF1F227f",
1372
+ },
1318
1373
  {
1319
1374
  isMock: false,
1320
1375
  name: "Synclub Staked BNB",
@@ -1382,6 +1437,23 @@ exports.globalConfig = {
1382
1437
  borrowCap: (0, utils_1.convertToUnit)(400000, 18),
1383
1438
  vTokenReceiver: "0x3DdfA8eC3052539b6C9549F12cEA2C295cfF5296",
1384
1439
  },
1440
+ {
1441
+ name: "Venus agEUR (Stablecoins)",
1442
+ asset: "agEUR",
1443
+ symbol: "vagEUR_Stablecoins",
1444
+ rateModel: InterestRateModels.JumpRate.toString(),
1445
+ baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
1446
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.1", 18),
1447
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
1448
+ kink_: (0, utils_1.convertToUnit)("0.5", 18),
1449
+ collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
1450
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.8", 18),
1451
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
1452
+ initialSupply: (0, utils_1.convertToUnit)(9000, 18),
1453
+ supplyCap: (0, utils_1.convertToUnit)(100000, 18),
1454
+ borrowCap: (0, utils_1.convertToUnit)(50000, 18),
1455
+ vTokenReceiver: "0xc444949e0054a23c44fc45789738bdf64aed2391",
1456
+ },
1385
1457
  ],
1386
1458
  rewards: [
1387
1459
  {
@@ -1396,6 +1468,12 @@ exports.globalConfig = {
1396
1468
  supplySpeeds: ["1240079365079365"],
1397
1469
  borrowSpeeds: ["1240079365079365"], // 1000 HAY over 28 days (806400 blocks)
1398
1470
  },
1471
+ {
1472
+ asset: "ANGLE",
1473
+ markets: ["agEUR"],
1474
+ supplySpeeds: ["0"],
1475
+ borrowSpeeds: ["87549603174603174"], // 17650 ANGLE over 7 days (201600 blocks)
1476
+ },
1399
1477
  ],
1400
1478
  },
1401
1479
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "2.1.0-dev.3",
3
+ "version": "2.1.0-dev.4",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",