@venusprotocol/isolated-pools 3.7.0-dev.6 → 3.7.0-dev.7

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.
@@ -8241,6 +8241,315 @@
8241
8241
  }
8242
8242
  ]
8243
8243
  },
8244
+ "MockLBTC": {
8245
+ "address": "0x37798CaB3Adde2F4064afBc1C7F9bbBc6A826375",
8246
+ "abi": [
8247
+ {
8248
+ "inputs": [
8249
+ {
8250
+ "internalType": "string",
8251
+ "name": "name_",
8252
+ "type": "string"
8253
+ },
8254
+ {
8255
+ "internalType": "string",
8256
+ "name": "symbol_",
8257
+ "type": "string"
8258
+ },
8259
+ {
8260
+ "internalType": "uint8",
8261
+ "name": "decimals_",
8262
+ "type": "uint8"
8263
+ }
8264
+ ],
8265
+ "stateMutability": "nonpayable",
8266
+ "type": "constructor"
8267
+ },
8268
+ {
8269
+ "anonymous": false,
8270
+ "inputs": [
8271
+ {
8272
+ "indexed": true,
8273
+ "internalType": "address",
8274
+ "name": "owner",
8275
+ "type": "address"
8276
+ },
8277
+ {
8278
+ "indexed": true,
8279
+ "internalType": "address",
8280
+ "name": "spender",
8281
+ "type": "address"
8282
+ },
8283
+ {
8284
+ "indexed": false,
8285
+ "internalType": "uint256",
8286
+ "name": "value",
8287
+ "type": "uint256"
8288
+ }
8289
+ ],
8290
+ "name": "Approval",
8291
+ "type": "event"
8292
+ },
8293
+ {
8294
+ "anonymous": false,
8295
+ "inputs": [
8296
+ {
8297
+ "indexed": true,
8298
+ "internalType": "address",
8299
+ "name": "from",
8300
+ "type": "address"
8301
+ },
8302
+ {
8303
+ "indexed": true,
8304
+ "internalType": "address",
8305
+ "name": "to",
8306
+ "type": "address"
8307
+ },
8308
+ {
8309
+ "indexed": false,
8310
+ "internalType": "uint256",
8311
+ "name": "value",
8312
+ "type": "uint256"
8313
+ }
8314
+ ],
8315
+ "name": "Transfer",
8316
+ "type": "event"
8317
+ },
8318
+ {
8319
+ "inputs": [
8320
+ {
8321
+ "internalType": "address",
8322
+ "name": "owner",
8323
+ "type": "address"
8324
+ },
8325
+ {
8326
+ "internalType": "address",
8327
+ "name": "spender",
8328
+ "type": "address"
8329
+ }
8330
+ ],
8331
+ "name": "allowance",
8332
+ "outputs": [
8333
+ {
8334
+ "internalType": "uint256",
8335
+ "name": "",
8336
+ "type": "uint256"
8337
+ }
8338
+ ],
8339
+ "stateMutability": "view",
8340
+ "type": "function"
8341
+ },
8342
+ {
8343
+ "inputs": [
8344
+ {
8345
+ "internalType": "address",
8346
+ "name": "spender",
8347
+ "type": "address"
8348
+ },
8349
+ {
8350
+ "internalType": "uint256",
8351
+ "name": "amount",
8352
+ "type": "uint256"
8353
+ }
8354
+ ],
8355
+ "name": "approve",
8356
+ "outputs": [
8357
+ {
8358
+ "internalType": "bool",
8359
+ "name": "",
8360
+ "type": "bool"
8361
+ }
8362
+ ],
8363
+ "stateMutability": "nonpayable",
8364
+ "type": "function"
8365
+ },
8366
+ {
8367
+ "inputs": [
8368
+ {
8369
+ "internalType": "address",
8370
+ "name": "account",
8371
+ "type": "address"
8372
+ }
8373
+ ],
8374
+ "name": "balanceOf",
8375
+ "outputs": [
8376
+ {
8377
+ "internalType": "uint256",
8378
+ "name": "",
8379
+ "type": "uint256"
8380
+ }
8381
+ ],
8382
+ "stateMutability": "view",
8383
+ "type": "function"
8384
+ },
8385
+ {
8386
+ "inputs": [],
8387
+ "name": "decimals",
8388
+ "outputs": [
8389
+ {
8390
+ "internalType": "uint8",
8391
+ "name": "",
8392
+ "type": "uint8"
8393
+ }
8394
+ ],
8395
+ "stateMutability": "view",
8396
+ "type": "function"
8397
+ },
8398
+ {
8399
+ "inputs": [
8400
+ {
8401
+ "internalType": "address",
8402
+ "name": "spender",
8403
+ "type": "address"
8404
+ },
8405
+ {
8406
+ "internalType": "uint256",
8407
+ "name": "subtractedValue",
8408
+ "type": "uint256"
8409
+ }
8410
+ ],
8411
+ "name": "decreaseAllowance",
8412
+ "outputs": [
8413
+ {
8414
+ "internalType": "bool",
8415
+ "name": "",
8416
+ "type": "bool"
8417
+ }
8418
+ ],
8419
+ "stateMutability": "nonpayable",
8420
+ "type": "function"
8421
+ },
8422
+ {
8423
+ "inputs": [
8424
+ {
8425
+ "internalType": "uint256",
8426
+ "name": "amount",
8427
+ "type": "uint256"
8428
+ }
8429
+ ],
8430
+ "name": "faucet",
8431
+ "outputs": [],
8432
+ "stateMutability": "nonpayable",
8433
+ "type": "function"
8434
+ },
8435
+ {
8436
+ "inputs": [
8437
+ {
8438
+ "internalType": "address",
8439
+ "name": "spender",
8440
+ "type": "address"
8441
+ },
8442
+ {
8443
+ "internalType": "uint256",
8444
+ "name": "addedValue",
8445
+ "type": "uint256"
8446
+ }
8447
+ ],
8448
+ "name": "increaseAllowance",
8449
+ "outputs": [
8450
+ {
8451
+ "internalType": "bool",
8452
+ "name": "",
8453
+ "type": "bool"
8454
+ }
8455
+ ],
8456
+ "stateMutability": "nonpayable",
8457
+ "type": "function"
8458
+ },
8459
+ {
8460
+ "inputs": [],
8461
+ "name": "name",
8462
+ "outputs": [
8463
+ {
8464
+ "internalType": "string",
8465
+ "name": "",
8466
+ "type": "string"
8467
+ }
8468
+ ],
8469
+ "stateMutability": "view",
8470
+ "type": "function"
8471
+ },
8472
+ {
8473
+ "inputs": [],
8474
+ "name": "symbol",
8475
+ "outputs": [
8476
+ {
8477
+ "internalType": "string",
8478
+ "name": "",
8479
+ "type": "string"
8480
+ }
8481
+ ],
8482
+ "stateMutability": "view",
8483
+ "type": "function"
8484
+ },
8485
+ {
8486
+ "inputs": [],
8487
+ "name": "totalSupply",
8488
+ "outputs": [
8489
+ {
8490
+ "internalType": "uint256",
8491
+ "name": "",
8492
+ "type": "uint256"
8493
+ }
8494
+ ],
8495
+ "stateMutability": "view",
8496
+ "type": "function"
8497
+ },
8498
+ {
8499
+ "inputs": [
8500
+ {
8501
+ "internalType": "address",
8502
+ "name": "to",
8503
+ "type": "address"
8504
+ },
8505
+ {
8506
+ "internalType": "uint256",
8507
+ "name": "amount",
8508
+ "type": "uint256"
8509
+ }
8510
+ ],
8511
+ "name": "transfer",
8512
+ "outputs": [
8513
+ {
8514
+ "internalType": "bool",
8515
+ "name": "",
8516
+ "type": "bool"
8517
+ }
8518
+ ],
8519
+ "stateMutability": "nonpayable",
8520
+ "type": "function"
8521
+ },
8522
+ {
8523
+ "inputs": [
8524
+ {
8525
+ "internalType": "address",
8526
+ "name": "from",
8527
+ "type": "address"
8528
+ },
8529
+ {
8530
+ "internalType": "address",
8531
+ "name": "to",
8532
+ "type": "address"
8533
+ },
8534
+ {
8535
+ "internalType": "uint256",
8536
+ "name": "amount",
8537
+ "type": "uint256"
8538
+ }
8539
+ ],
8540
+ "name": "transferFrom",
8541
+ "outputs": [
8542
+ {
8543
+ "internalType": "bool",
8544
+ "name": "",
8545
+ "type": "bool"
8546
+ }
8547
+ ],
8548
+ "stateMutability": "nonpayable",
8549
+ "type": "function"
8550
+ }
8551
+ ]
8552
+ },
8244
8553
  "MockPT-weETH-26DEC2024": {
8245
8554
  "address": "0x56107201d3e4b7Db92dEa0Edb9e0454346AEb8B5",
8246
8555
  "abi": [
@@ -28656,6 +28965,80 @@
28656
28965
  }
28657
28966
  ]
28658
28967
  },
28968
+ "VToken_vLBTC_Core": {
28969
+ "address": "0x315F064cF5B5968fE1655436e1856F3ca558d395",
28970
+ "abi": [
28971
+ {
28972
+ "inputs": [
28973
+ {
28974
+ "internalType": "address",
28975
+ "name": "beacon",
28976
+ "type": "address"
28977
+ },
28978
+ {
28979
+ "internalType": "bytes",
28980
+ "name": "data",
28981
+ "type": "bytes"
28982
+ }
28983
+ ],
28984
+ "stateMutability": "payable",
28985
+ "type": "constructor"
28986
+ },
28987
+ {
28988
+ "anonymous": false,
28989
+ "inputs": [
28990
+ {
28991
+ "indexed": false,
28992
+ "internalType": "address",
28993
+ "name": "previousAdmin",
28994
+ "type": "address"
28995
+ },
28996
+ {
28997
+ "indexed": false,
28998
+ "internalType": "address",
28999
+ "name": "newAdmin",
29000
+ "type": "address"
29001
+ }
29002
+ ],
29003
+ "name": "AdminChanged",
29004
+ "type": "event"
29005
+ },
29006
+ {
29007
+ "anonymous": false,
29008
+ "inputs": [
29009
+ {
29010
+ "indexed": true,
29011
+ "internalType": "address",
29012
+ "name": "beacon",
29013
+ "type": "address"
29014
+ }
29015
+ ],
29016
+ "name": "BeaconUpgraded",
29017
+ "type": "event"
29018
+ },
29019
+ {
29020
+ "anonymous": false,
29021
+ "inputs": [
29022
+ {
29023
+ "indexed": true,
29024
+ "internalType": "address",
29025
+ "name": "implementation",
29026
+ "type": "address"
29027
+ }
29028
+ ],
29029
+ "name": "Upgraded",
29030
+ "type": "event"
29031
+ },
29032
+ {
29033
+ "stateMutability": "payable",
29034
+ "type": "fallback"
29035
+ },
29036
+ {
29037
+ "stateMutability": "payable",
29038
+ "type": "receive"
29039
+ }
29040
+ ]
29041
+ },
28659
29042
  "VToken_vPT-weETH-26DEC2024_LiquidStakedETH": {
28660
29043
  "address": "0x3AF2bE7AbEF0f840b196D99d79F4B803a5dB14a1",
28661
29044
  "abi": [
@@ -2765,6 +2765,13 @@ exports.globalConfig = {
2765
2765
  decimals: 18,
2766
2766
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
2767
2767
  },
2768
+ {
2769
+ isMock: true,
2770
+ name: "Lombard Staked Bitcoin",
2771
+ symbol: "LBTC",
2772
+ decimals: 8,
2773
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
2774
+ },
2768
2775
  ],
2769
2776
  poolConfig: [
2770
2777
  {
@@ -2990,6 +2997,24 @@ exports.globalConfig = {
2990
2997
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2991
2998
  vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
2992
2999
  },
3000
+ {
3001
+ name: "Venus LBTC (Core)",
3002
+ asset: "LBTC",
3003
+ symbol: "vLBTC_Core",
3004
+ rateModel: InterestRateModels.JumpRate.toString(),
3005
+ baseRatePerYear: (0, utils_1.convertToUnit)("0", 18),
3006
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
3007
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.0", 18),
3008
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
3009
+ collateralFactor: (0, utils_1.convertToUnit)("0.735", 18),
3010
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.785", 18),
3011
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
3012
+ initialSupply: (0, utils_1.convertToUnit)("0.106", 18),
3013
+ supplyCap: (0, utils_1.convertToUnit)("450", 18),
3014
+ borrowCap: (0, utils_1.convertToUnit)("45", 18),
3015
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3016
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3017
+ },
2993
3018
  ],
2994
3019
  rewards: [
2995
3020
  // XVS Rewards Over 90 days (648000 blocks)
@@ -3526,6 +3551,13 @@ exports.globalConfig = {
3526
3551
  decimals: 18,
3527
3552
  tokenAddress: "0xD9A442856C234a39a81a089C06451EBAa4306a72",
3528
3553
  },
3554
+ {
3555
+ isMock: false,
3556
+ name: "Lombard Staked Bitcoin",
3557
+ symbol: "LBTC",
3558
+ decimals: 8,
3559
+ tokenAddress: "0x8236a87084f8B84306f72007F36F2618A5634494",
3560
+ },
3529
3561
  ],
3530
3562
  poolConfig: [
3531
3563
  {
@@ -3733,6 +3765,24 @@ exports.globalConfig = {
3733
3765
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3734
3766
  vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury,
3735
3767
  },
3768
+ {
3769
+ name: "Venus LBTC (Core)",
3770
+ asset: "LBTC",
3771
+ symbol: "vLBTC_Core",
3772
+ rateModel: InterestRateModels.JumpRate.toString(),
3773
+ baseRatePerYear: (0, utils_1.convertToUnit)("0", 18),
3774
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
3775
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.0", 18),
3776
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
3777
+ collateralFactor: (0, utils_1.convertToUnit)("0.735", 18),
3778
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.785", 18),
3779
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
3780
+ initialSupply: (0, utils_1.convertToUnit)("0.106", 18),
3781
+ supplyCap: (0, utils_1.convertToUnit)("450", 18),
3782
+ borrowCap: (0, utils_1.convertToUnit)("45", 18),
3783
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3784
+ vTokenReceiver: "0xCb09Ab3F6254437d225Ed3CABEBe0949782E2372",
3785
+ },
3736
3786
  ],
3737
3787
  rewards: [
3738
3788
  // XVS Rewards Over 90 days (648000 blocks)
@@ -3,7 +3,11 @@ import { Provider } from "@ethersproject/providers";
3
3
  import type { IVToken, IVTokenInterface } from "../IVToken";
4
4
  export declare class IVToken__factory {
5
5
  static readonly abi: {
6
- inputs: never[];
6
+ inputs: {
7
+ internalType: string;
8
+ name: string;
9
+ type: string;
10
+ }[];
7
11
  name: string;
8
12
  outputs: {
9
13
  internalType: string;