@venusprotocol/isolated-pools 3.1.0-dev.5 → 3.1.0-dev.6

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.
@@ -2603,7 +2603,7 @@
2603
2603
  ]
2604
2604
  },
2605
2605
  "JumpRateModelV2_base0bps_slope1500bps_jump25000bps_kink8000bps": {
2606
- "address": "0xB778B803a72Af7ac9Ac8277bA87B405cE91741B9",
2606
+ "address": "0xfBa27be0766acb9a60d2cede3d4293193f3b749d",
2607
2607
  "abi": [
2608
2608
  {
2609
2609
  "inputs": [
@@ -6400,6 +6400,315 @@
6400
6400
  }
6401
6401
  ]
6402
6402
  },
6403
+ "MockTUSD": {
6404
+ "address": "0x78b292069da1661b7C12B6E766cB506C220b987a",
6405
+ "abi": [
6406
+ {
6407
+ "inputs": [
6408
+ {
6409
+ "internalType": "string",
6410
+ "name": "name_",
6411
+ "type": "string"
6412
+ },
6413
+ {
6414
+ "internalType": "string",
6415
+ "name": "symbol_",
6416
+ "type": "string"
6417
+ },
6418
+ {
6419
+ "internalType": "uint8",
6420
+ "name": "decimals_",
6421
+ "type": "uint8"
6422
+ }
6423
+ ],
6424
+ "stateMutability": "nonpayable",
6425
+ "type": "constructor"
6426
+ },
6427
+ {
6428
+ "anonymous": false,
6429
+ "inputs": [
6430
+ {
6431
+ "indexed": true,
6432
+ "internalType": "address",
6433
+ "name": "owner",
6434
+ "type": "address"
6435
+ },
6436
+ {
6437
+ "indexed": true,
6438
+ "internalType": "address",
6439
+ "name": "spender",
6440
+ "type": "address"
6441
+ },
6442
+ {
6443
+ "indexed": false,
6444
+ "internalType": "uint256",
6445
+ "name": "value",
6446
+ "type": "uint256"
6447
+ }
6448
+ ],
6449
+ "name": "Approval",
6450
+ "type": "event"
6451
+ },
6452
+ {
6453
+ "anonymous": false,
6454
+ "inputs": [
6455
+ {
6456
+ "indexed": true,
6457
+ "internalType": "address",
6458
+ "name": "from",
6459
+ "type": "address"
6460
+ },
6461
+ {
6462
+ "indexed": true,
6463
+ "internalType": "address",
6464
+ "name": "to",
6465
+ "type": "address"
6466
+ },
6467
+ {
6468
+ "indexed": false,
6469
+ "internalType": "uint256",
6470
+ "name": "value",
6471
+ "type": "uint256"
6472
+ }
6473
+ ],
6474
+ "name": "Transfer",
6475
+ "type": "event"
6476
+ },
6477
+ {
6478
+ "inputs": [
6479
+ {
6480
+ "internalType": "address",
6481
+ "name": "owner",
6482
+ "type": "address"
6483
+ },
6484
+ {
6485
+ "internalType": "address",
6486
+ "name": "spender",
6487
+ "type": "address"
6488
+ }
6489
+ ],
6490
+ "name": "allowance",
6491
+ "outputs": [
6492
+ {
6493
+ "internalType": "uint256",
6494
+ "name": "",
6495
+ "type": "uint256"
6496
+ }
6497
+ ],
6498
+ "stateMutability": "view",
6499
+ "type": "function"
6500
+ },
6501
+ {
6502
+ "inputs": [
6503
+ {
6504
+ "internalType": "address",
6505
+ "name": "spender",
6506
+ "type": "address"
6507
+ },
6508
+ {
6509
+ "internalType": "uint256",
6510
+ "name": "amount",
6511
+ "type": "uint256"
6512
+ }
6513
+ ],
6514
+ "name": "approve",
6515
+ "outputs": [
6516
+ {
6517
+ "internalType": "bool",
6518
+ "name": "",
6519
+ "type": "bool"
6520
+ }
6521
+ ],
6522
+ "stateMutability": "nonpayable",
6523
+ "type": "function"
6524
+ },
6525
+ {
6526
+ "inputs": [
6527
+ {
6528
+ "internalType": "address",
6529
+ "name": "account",
6530
+ "type": "address"
6531
+ }
6532
+ ],
6533
+ "name": "balanceOf",
6534
+ "outputs": [
6535
+ {
6536
+ "internalType": "uint256",
6537
+ "name": "",
6538
+ "type": "uint256"
6539
+ }
6540
+ ],
6541
+ "stateMutability": "view",
6542
+ "type": "function"
6543
+ },
6544
+ {
6545
+ "inputs": [],
6546
+ "name": "decimals",
6547
+ "outputs": [
6548
+ {
6549
+ "internalType": "uint8",
6550
+ "name": "",
6551
+ "type": "uint8"
6552
+ }
6553
+ ],
6554
+ "stateMutability": "view",
6555
+ "type": "function"
6556
+ },
6557
+ {
6558
+ "inputs": [
6559
+ {
6560
+ "internalType": "address",
6561
+ "name": "spender",
6562
+ "type": "address"
6563
+ },
6564
+ {
6565
+ "internalType": "uint256",
6566
+ "name": "subtractedValue",
6567
+ "type": "uint256"
6568
+ }
6569
+ ],
6570
+ "name": "decreaseAllowance",
6571
+ "outputs": [
6572
+ {
6573
+ "internalType": "bool",
6574
+ "name": "",
6575
+ "type": "bool"
6576
+ }
6577
+ ],
6578
+ "stateMutability": "nonpayable",
6579
+ "type": "function"
6580
+ },
6581
+ {
6582
+ "inputs": [
6583
+ {
6584
+ "internalType": "uint256",
6585
+ "name": "amount",
6586
+ "type": "uint256"
6587
+ }
6588
+ ],
6589
+ "name": "faucet",
6590
+ "outputs": [],
6591
+ "stateMutability": "nonpayable",
6592
+ "type": "function"
6593
+ },
6594
+ {
6595
+ "inputs": [
6596
+ {
6597
+ "internalType": "address",
6598
+ "name": "spender",
6599
+ "type": "address"
6600
+ },
6601
+ {
6602
+ "internalType": "uint256",
6603
+ "name": "addedValue",
6604
+ "type": "uint256"
6605
+ }
6606
+ ],
6607
+ "name": "increaseAllowance",
6608
+ "outputs": [
6609
+ {
6610
+ "internalType": "bool",
6611
+ "name": "",
6612
+ "type": "bool"
6613
+ }
6614
+ ],
6615
+ "stateMutability": "nonpayable",
6616
+ "type": "function"
6617
+ },
6618
+ {
6619
+ "inputs": [],
6620
+ "name": "name",
6621
+ "outputs": [
6622
+ {
6623
+ "internalType": "string",
6624
+ "name": "",
6625
+ "type": "string"
6626
+ }
6627
+ ],
6628
+ "stateMutability": "view",
6629
+ "type": "function"
6630
+ },
6631
+ {
6632
+ "inputs": [],
6633
+ "name": "symbol",
6634
+ "outputs": [
6635
+ {
6636
+ "internalType": "string",
6637
+ "name": "",
6638
+ "type": "string"
6639
+ }
6640
+ ],
6641
+ "stateMutability": "view",
6642
+ "type": "function"
6643
+ },
6644
+ {
6645
+ "inputs": [],
6646
+ "name": "totalSupply",
6647
+ "outputs": [
6648
+ {
6649
+ "internalType": "uint256",
6650
+ "name": "",
6651
+ "type": "uint256"
6652
+ }
6653
+ ],
6654
+ "stateMutability": "view",
6655
+ "type": "function"
6656
+ },
6657
+ {
6658
+ "inputs": [
6659
+ {
6660
+ "internalType": "address",
6661
+ "name": "to",
6662
+ "type": "address"
6663
+ },
6664
+ {
6665
+ "internalType": "uint256",
6666
+ "name": "amount",
6667
+ "type": "uint256"
6668
+ }
6669
+ ],
6670
+ "name": "transfer",
6671
+ "outputs": [
6672
+ {
6673
+ "internalType": "bool",
6674
+ "name": "",
6675
+ "type": "bool"
6676
+ }
6677
+ ],
6678
+ "stateMutability": "nonpayable",
6679
+ "type": "function"
6680
+ },
6681
+ {
6682
+ "inputs": [
6683
+ {
6684
+ "internalType": "address",
6685
+ "name": "from",
6686
+ "type": "address"
6687
+ },
6688
+ {
6689
+ "internalType": "address",
6690
+ "name": "to",
6691
+ "type": "address"
6692
+ },
6693
+ {
6694
+ "internalType": "uint256",
6695
+ "name": "amount",
6696
+ "type": "uint256"
6697
+ }
6698
+ ],
6699
+ "name": "transferFrom",
6700
+ "outputs": [
6701
+ {
6702
+ "internalType": "bool",
6703
+ "name": "",
6704
+ "type": "bool"
6705
+ }
6706
+ ],
6707
+ "stateMutability": "nonpayable",
6708
+ "type": "function"
6709
+ }
6710
+ ]
6711
+ },
6403
6712
  "MockUSDC": {
6404
6713
  "address": "0x772d68929655ce7234C8C94256526ddA66Ef641E",
6405
6714
  "abi": [
@@ -24139,6 +24448,80 @@
24139
24448
  }
24140
24449
  ]
24141
24450
  },
24451
+ "VToken_vTUSD_Core": {
24452
+ "address": "0xE23A1fC1545F1b072308c846a38447b23d322Ee2",
24453
+ "abi": [
24454
+ {
24455
+ "inputs": [
24456
+ {
24457
+ "internalType": "address",
24458
+ "name": "beacon",
24459
+ "type": "address"
24460
+ },
24461
+ {
24462
+ "internalType": "bytes",
24463
+ "name": "data",
24464
+ "type": "bytes"
24465
+ }
24466
+ ],
24467
+ "stateMutability": "payable",
24468
+ "type": "constructor"
24469
+ },
24470
+ {
24471
+ "anonymous": false,
24472
+ "inputs": [
24473
+ {
24474
+ "indexed": false,
24475
+ "internalType": "address",
24476
+ "name": "previousAdmin",
24477
+ "type": "address"
24478
+ },
24479
+ {
24480
+ "indexed": false,
24481
+ "internalType": "address",
24482
+ "name": "newAdmin",
24483
+ "type": "address"
24484
+ }
24485
+ ],
24486
+ "name": "AdminChanged",
24487
+ "type": "event"
24488
+ },
24489
+ {
24490
+ "anonymous": false,
24491
+ "inputs": [
24492
+ {
24493
+ "indexed": true,
24494
+ "internalType": "address",
24495
+ "name": "beacon",
24496
+ "type": "address"
24497
+ }
24498
+ ],
24499
+ "name": "BeaconUpgraded",
24500
+ "type": "event"
24501
+ },
24502
+ {
24503
+ "anonymous": false,
24504
+ "inputs": [
24505
+ {
24506
+ "indexed": true,
24507
+ "internalType": "address",
24508
+ "name": "implementation",
24509
+ "type": "address"
24510
+ }
24511
+ ],
24512
+ "name": "Upgraded",
24513
+ "type": "event"
24514
+ },
24515
+ {
24516
+ "stateMutability": "payable",
24517
+ "type": "fallback"
24518
+ },
24519
+ {
24520
+ "stateMutability": "payable",
24521
+ "type": "receive"
24522
+ }
24523
+ ]
24524
+ },
24142
24525
  "VToken_vUSDC_Core": {
24143
24526
  "address": "0xF87bceab8DD37489015B426bA931e08A4D787616",
24144
24527
  "abi": [
@@ -2339,6 +2339,13 @@ exports.globalConfig = {
2339
2339
  decimals: 18,
2340
2340
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
2341
2341
  },
2342
+ {
2343
+ isMock: true,
2344
+ name: "TrueUSD",
2345
+ symbol: "TUSD",
2346
+ decimals: 18,
2347
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
2348
+ },
2342
2349
  ],
2343
2350
  poolConfig: [
2344
2351
  {
@@ -2474,6 +2481,24 @@ exports.globalConfig = {
2474
2481
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2475
2482
  vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
2476
2483
  },
2484
+ {
2485
+ name: "Venus TUSD (Core)",
2486
+ asset: "TUSD",
2487
+ symbol: "vTUSD_Core",
2488
+ rateModel: InterestRateModels.JumpRate.toString(),
2489
+ baseRatePerYear: "0",
2490
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
2491
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
2492
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
2493
+ collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
2494
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.77", 18),
2495
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
2496
+ initialSupply: (0, utils_1.convertToUnit)(5000, 18),
2497
+ supplyCap: (0, utils_1.convertToUnit)(2000000, 18),
2498
+ borrowCap: (0, utils_1.convertToUnit)(1800000, 18),
2499
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2500
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury, // TBD
2501
+ },
2477
2502
  ],
2478
2503
  rewards: [
2479
2504
  // XVS Rewards Over 90 days (648000 blocks)
@@ -2821,6 +2846,13 @@ exports.globalConfig = {
2821
2846
  decimals: 18,
2822
2847
  tokenAddress: "0x6b175474e89094c44da98b954eedeac495271d0f",
2823
2848
  },
2849
+ {
2850
+ isMock: false,
2851
+ name: "TrueUSD",
2852
+ symbol: "TUSD",
2853
+ decimals: 18,
2854
+ tokenAddress: "0x0000000000085d4780B73119b644AE5ecd22b376",
2855
+ },
2824
2856
  ],
2825
2857
  poolConfig: [
2826
2858
  {
@@ -2938,6 +2970,24 @@ exports.globalConfig = {
2938
2970
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2939
2971
  vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury,
2940
2972
  },
2973
+ {
2974
+ name: "Venus TUSD (Core)",
2975
+ asset: "TUSD",
2976
+ symbol: "vTUSD_Core",
2977
+ rateModel: InterestRateModels.JumpRate.toString(),
2978
+ baseRatePerYear: "0",
2979
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
2980
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
2981
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
2982
+ collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
2983
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.77", 18),
2984
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
2985
+ initialSupply: (0, utils_1.convertToUnit)(5000, 18),
2986
+ supplyCap: (0, utils_1.convertToUnit)(2000000, 18),
2987
+ borrowCap: (0, utils_1.convertToUnit)(1800000, 18),
2988
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2989
+ vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury, // TBD
2990
+ },
2941
2991
  ],
2942
2992
  rewards: [
2943
2993
  // XVS Rewards Over 90 days (648000 blocks)
@@ -3,11 +3,7 @@ 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: {
7
- internalType: string;
8
- name: string;
9
- type: string;
10
- }[];
6
+ inputs: never[];
11
7
  name: string;
12
8
  outputs: {
13
9
  internalType: string;