@venusprotocol/isolated-pools 3.8.0-dev.3 → 3.8.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.
Files changed (25) hide show
  1. package/deployments/arbitrumone/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +552 -0
  2. package/deployments/arbitrumone.json +352 -0
  3. package/deployments/arbitrumone_addresses.json +1 -0
  4. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  5. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  6. package/deployments/bscmainnet.json +825 -105
  7. package/deployments/bscmainnet_addresses.json +2 -0
  8. package/deployments/ethereum/JumpRateModelV2_base0bps_slope1750bps_jump25000bps_kink8000bps.json +608 -0
  9. package/deployments/ethereum/JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  10. package/deployments/ethereum/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +552 -0
  11. package/deployments/ethereum.json +2011 -939
  12. package/deployments/ethereum_addresses.json +3 -0
  13. package/deployments/zksyncmainnet/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +651 -0
  14. package/deployments/zksyncmainnet/solcInputs/7ee56954f4157666c7d07cfa8db6f8de.json +445 -0
  15. package/deployments/zksyncmainnet.json +352 -0
  16. package/deployments/zksyncmainnet_addresses.json +1 -0
  17. package/dist/deploy/009-deploy-vtokens.js +37 -2
  18. package/dist/deploy/019-deploy-ir-models.js +36 -2
  19. package/dist/deployments/arbitrumone.json +352 -0
  20. package/dist/deployments/bscmainnet.json +825 -105
  21. package/dist/deployments/ethereum.json +2011 -939
  22. package/dist/deployments/zksyncmainnet.json +352 -0
  23. package/dist/helpers/deploymentConfig.d.ts +5 -1
  24. package/dist/helpers/deploymentConfig.js +54 -32
  25. package/package.json +1 -1
@@ -9659,6 +9659,358 @@
9659
9659
  }
9660
9660
  ]
9661
9661
  },
9662
+ "TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps": {
9663
+ "address": "0x61E98E6a1F37649543156DC995E0dfe466B31a2e",
9664
+ "abi": [
9665
+ {
9666
+ "inputs": [
9667
+ {
9668
+ "internalType": "int256",
9669
+ "name": "baseRatePerYear_",
9670
+ "type": "int256"
9671
+ },
9672
+ {
9673
+ "internalType": "int256",
9674
+ "name": "multiplierPerYear_",
9675
+ "type": "int256"
9676
+ },
9677
+ {
9678
+ "internalType": "int256",
9679
+ "name": "kink1_",
9680
+ "type": "int256"
9681
+ },
9682
+ {
9683
+ "internalType": "int256",
9684
+ "name": "multiplier2PerYear_",
9685
+ "type": "int256"
9686
+ },
9687
+ {
9688
+ "internalType": "int256",
9689
+ "name": "baseRate2PerYear_",
9690
+ "type": "int256"
9691
+ },
9692
+ {
9693
+ "internalType": "int256",
9694
+ "name": "kink2_",
9695
+ "type": "int256"
9696
+ },
9697
+ {
9698
+ "internalType": "int256",
9699
+ "name": "jumpMultiplierPerYear_",
9700
+ "type": "int256"
9701
+ },
9702
+ {
9703
+ "internalType": "bool",
9704
+ "name": "timeBased_",
9705
+ "type": "bool"
9706
+ },
9707
+ {
9708
+ "internalType": "uint256",
9709
+ "name": "blocksPerYear_",
9710
+ "type": "uint256"
9711
+ }
9712
+ ],
9713
+ "stateMutability": "nonpayable",
9714
+ "type": "constructor"
9715
+ },
9716
+ {
9717
+ "inputs": [],
9718
+ "name": "InvalidBlocksPerYear",
9719
+ "type": "error"
9720
+ },
9721
+ {
9722
+ "inputs": [],
9723
+ "name": "InvalidKink",
9724
+ "type": "error"
9725
+ },
9726
+ {
9727
+ "inputs": [],
9728
+ "name": "InvalidTimeBasedConfiguration",
9729
+ "type": "error"
9730
+ },
9731
+ {
9732
+ "inputs": [],
9733
+ "name": "NegativeValueNotAllowed",
9734
+ "type": "error"
9735
+ },
9736
+ {
9737
+ "inputs": [],
9738
+ "name": "BASE_RATE_2_PER_BLOCK_OR_SECOND",
9739
+ "outputs": [
9740
+ {
9741
+ "internalType": "int256",
9742
+ "name": "",
9743
+ "type": "int256"
9744
+ }
9745
+ ],
9746
+ "stateMutability": "view",
9747
+ "type": "function"
9748
+ },
9749
+ {
9750
+ "inputs": [],
9751
+ "name": "BASE_RATE_PER_BLOCK_OR_SECOND",
9752
+ "outputs": [
9753
+ {
9754
+ "internalType": "int256",
9755
+ "name": "",
9756
+ "type": "int256"
9757
+ }
9758
+ ],
9759
+ "stateMutability": "view",
9760
+ "type": "function"
9761
+ },
9762
+ {
9763
+ "inputs": [],
9764
+ "name": "JUMP_MULTIPLIER_PER_BLOCK_OR_SECOND",
9765
+ "outputs": [
9766
+ {
9767
+ "internalType": "int256",
9768
+ "name": "",
9769
+ "type": "int256"
9770
+ }
9771
+ ],
9772
+ "stateMutability": "view",
9773
+ "type": "function"
9774
+ },
9775
+ {
9776
+ "inputs": [],
9777
+ "name": "KINK_1",
9778
+ "outputs": [
9779
+ {
9780
+ "internalType": "int256",
9781
+ "name": "",
9782
+ "type": "int256"
9783
+ }
9784
+ ],
9785
+ "stateMutability": "view",
9786
+ "type": "function"
9787
+ },
9788
+ {
9789
+ "inputs": [],
9790
+ "name": "KINK_2",
9791
+ "outputs": [
9792
+ {
9793
+ "internalType": "int256",
9794
+ "name": "",
9795
+ "type": "int256"
9796
+ }
9797
+ ],
9798
+ "stateMutability": "view",
9799
+ "type": "function"
9800
+ },
9801
+ {
9802
+ "inputs": [],
9803
+ "name": "MULTIPLIER_2_PER_BLOCK_OR_SECOND",
9804
+ "outputs": [
9805
+ {
9806
+ "internalType": "int256",
9807
+ "name": "",
9808
+ "type": "int256"
9809
+ }
9810
+ ],
9811
+ "stateMutability": "view",
9812
+ "type": "function"
9813
+ },
9814
+ {
9815
+ "inputs": [],
9816
+ "name": "MULTIPLIER_PER_BLOCK_OR_SECOND",
9817
+ "outputs": [
9818
+ {
9819
+ "internalType": "int256",
9820
+ "name": "",
9821
+ "type": "int256"
9822
+ }
9823
+ ],
9824
+ "stateMutability": "view",
9825
+ "type": "function"
9826
+ },
9827
+ {
9828
+ "inputs": [],
9829
+ "name": "RATE_1",
9830
+ "outputs": [
9831
+ {
9832
+ "internalType": "int256",
9833
+ "name": "",
9834
+ "type": "int256"
9835
+ }
9836
+ ],
9837
+ "stateMutability": "view",
9838
+ "type": "function"
9839
+ },
9840
+ {
9841
+ "inputs": [],
9842
+ "name": "RATE_2",
9843
+ "outputs": [
9844
+ {
9845
+ "internalType": "int256",
9846
+ "name": "",
9847
+ "type": "int256"
9848
+ }
9849
+ ],
9850
+ "stateMutability": "view",
9851
+ "type": "function"
9852
+ },
9853
+ {
9854
+ "inputs": [],
9855
+ "name": "blocksOrSecondsPerYear",
9856
+ "outputs": [
9857
+ {
9858
+ "internalType": "uint256",
9859
+ "name": "",
9860
+ "type": "uint256"
9861
+ }
9862
+ ],
9863
+ "stateMutability": "view",
9864
+ "type": "function"
9865
+ },
9866
+ {
9867
+ "inputs": [],
9868
+ "name": "getBlockNumberOrTimestamp",
9869
+ "outputs": [
9870
+ {
9871
+ "internalType": "uint256",
9872
+ "name": "",
9873
+ "type": "uint256"
9874
+ }
9875
+ ],
9876
+ "stateMutability": "view",
9877
+ "type": "function"
9878
+ },
9879
+ {
9880
+ "inputs": [
9881
+ {
9882
+ "internalType": "uint256",
9883
+ "name": "cash",
9884
+ "type": "uint256"
9885
+ },
9886
+ {
9887
+ "internalType": "uint256",
9888
+ "name": "borrows",
9889
+ "type": "uint256"
9890
+ },
9891
+ {
9892
+ "internalType": "uint256",
9893
+ "name": "reserves",
9894
+ "type": "uint256"
9895
+ },
9896
+ {
9897
+ "internalType": "uint256",
9898
+ "name": "badDebt",
9899
+ "type": "uint256"
9900
+ }
9901
+ ],
9902
+ "name": "getBorrowRate",
9903
+ "outputs": [
9904
+ {
9905
+ "internalType": "uint256",
9906
+ "name": "",
9907
+ "type": "uint256"
9908
+ }
9909
+ ],
9910
+ "stateMutability": "view",
9911
+ "type": "function"
9912
+ },
9913
+ {
9914
+ "inputs": [
9915
+ {
9916
+ "internalType": "uint256",
9917
+ "name": "cash",
9918
+ "type": "uint256"
9919
+ },
9920
+ {
9921
+ "internalType": "uint256",
9922
+ "name": "borrows",
9923
+ "type": "uint256"
9924
+ },
9925
+ {
9926
+ "internalType": "uint256",
9927
+ "name": "reserves",
9928
+ "type": "uint256"
9929
+ },
9930
+ {
9931
+ "internalType": "uint256",
9932
+ "name": "reserveFactorMantissa",
9933
+ "type": "uint256"
9934
+ },
9935
+ {
9936
+ "internalType": "uint256",
9937
+ "name": "badDebt",
9938
+ "type": "uint256"
9939
+ }
9940
+ ],
9941
+ "name": "getSupplyRate",
9942
+ "outputs": [
9943
+ {
9944
+ "internalType": "uint256",
9945
+ "name": "",
9946
+ "type": "uint256"
9947
+ }
9948
+ ],
9949
+ "stateMutability": "view",
9950
+ "type": "function"
9951
+ },
9952
+ {
9953
+ "inputs": [],
9954
+ "name": "isInterestRateModel",
9955
+ "outputs": [
9956
+ {
9957
+ "internalType": "bool",
9958
+ "name": "",
9959
+ "type": "bool"
9960
+ }
9961
+ ],
9962
+ "stateMutability": "pure",
9963
+ "type": "function"
9964
+ },
9965
+ {
9966
+ "inputs": [],
9967
+ "name": "isTimeBased",
9968
+ "outputs": [
9969
+ {
9970
+ "internalType": "bool",
9971
+ "name": "",
9972
+ "type": "bool"
9973
+ }
9974
+ ],
9975
+ "stateMutability": "view",
9976
+ "type": "function"
9977
+ },
9978
+ {
9979
+ "inputs": [
9980
+ {
9981
+ "internalType": "uint256",
9982
+ "name": "cash",
9983
+ "type": "uint256"
9984
+ },
9985
+ {
9986
+ "internalType": "uint256",
9987
+ "name": "borrows",
9988
+ "type": "uint256"
9989
+ },
9990
+ {
9991
+ "internalType": "uint256",
9992
+ "name": "reserves",
9993
+ "type": "uint256"
9994
+ },
9995
+ {
9996
+ "internalType": "uint256",
9997
+ "name": "badDebt",
9998
+ "type": "uint256"
9999
+ }
10000
+ ],
10001
+ "name": "utilizationRate",
10002
+ "outputs": [
10003
+ {
10004
+ "internalType": "uint256",
10005
+ "name": "",
10006
+ "type": "uint256"
10007
+ }
10008
+ ],
10009
+ "stateMutability": "pure",
10010
+ "type": "function"
10011
+ }
10012
+ ]
10013
+ },
9662
10014
  "VTokenBeacon": {
9663
10015
  "address": "0x53523537aa330640B80400EB8B309fF5896E7eb5",
9664
10016
  "abi": [
@@ -70,6 +70,9 @@ export type VTokenConfig = {
70
70
  multiplierPerYear: string;
71
71
  jumpMultiplierPerYear: string;
72
72
  kink_: string;
73
+ multiplierPerYear2?: string;
74
+ baseRatePerYear2?: string;
75
+ kink2_?: string;
73
76
  collateralFactor: string;
74
77
  liquidationThreshold: string;
75
78
  reserveFactor: string;
@@ -86,7 +89,8 @@ export type AccessControlEntry = {
86
89
  };
87
90
  export declare enum InterestRateModels {
88
91
  WhitePaper = 0,
89
- JumpRate = 1
92
+ JumpRate = 1,
93
+ TwoKinks = 2
90
94
  }
91
95
  export declare const BSC_BLOCKS_PER_YEAR = 10512000;
92
96
  export declare const ETH_BLOCKS_PER_YEAR = 2628000;
@@ -28,6 +28,7 @@ var InterestRateModels;
28
28
  (function (InterestRateModels) {
29
29
  InterestRateModels[InterestRateModels["WhitePaper"] = 0] = "WhitePaper";
30
30
  InterestRateModels[InterestRateModels["JumpRate"] = 1] = "JumpRate";
31
+ InterestRateModels[InterestRateModels["TwoKinks"] = 2] = "TwoKinks";
31
32
  })(InterestRateModels = exports.InterestRateModels || (exports.InterestRateModels = {}));
32
33
  const ANY_CONTRACT = hardhat_1.ethers.constants.AddressZero;
33
34
  exports.BSC_BLOCKS_PER_YEAR = 10512000; // assuming a block is mined every 3 seconds
@@ -2052,7 +2053,7 @@ exports.globalConfig = {
2052
2053
  symbol: "vUSDT_DeFi",
2053
2054
  rateModel: InterestRateModels.JumpRate.toString(),
2054
2055
  baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
2055
- multiplierPerYear: (0, utils_1.convertToUnit)("0.135", 18),
2056
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.2", 18),
2056
2057
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
2057
2058
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
2058
2059
  collateralFactor: (0, utils_1.convertToUnit)("0.8", 18),
@@ -2225,7 +2226,7 @@ exports.globalConfig = {
2225
2226
  symbol: "vUSDT_GameFi",
2226
2227
  rateModel: InterestRateModels.JumpRate.toString(),
2227
2228
  baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
2228
- multiplierPerYear: (0, utils_1.convertToUnit)("0.135", 18),
2229
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.2", 18),
2229
2230
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
2230
2231
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
2231
2232
  collateralFactor: (0, utils_1.convertToUnit)("0.8", 18),
@@ -2522,10 +2523,10 @@ exports.globalConfig = {
2522
2523
  asset: "USDT",
2523
2524
  symbol: "vUSDT_Tron",
2524
2525
  rateModel: InterestRateModels.JumpRate.toString(),
2525
- baseRatePerYear: (0, utils_1.convertToUnit)("0.03", 18),
2526
- multiplierPerYear: (0, utils_1.convertToUnit)("0.1", 18),
2526
+ baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
2527
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.2", 18),
2527
2528
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
2528
- kink_: (0, utils_1.convertToUnit)("0.6", 18),
2529
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
2529
2530
  collateralFactor: (0, utils_1.convertToUnit)("0.8", 18),
2530
2531
  liquidationThreshold: (0, utils_1.convertToUnit)("0.88", 18),
2531
2532
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
@@ -2612,7 +2613,7 @@ exports.globalConfig = {
2612
2613
  symbol: "vUSDT_Meme",
2613
2614
  rateModel: InterestRateModels.JumpRate.toString(),
2614
2615
  baseRatePerYear: (0, utils_1.convertToUnit)("0", 18),
2615
- multiplierPerYear: (0, utils_1.convertToUnit)("0.175", 18),
2616
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.2", 18),
2616
2617
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
2617
2618
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
2618
2619
  collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
@@ -3889,11 +3890,14 @@ exports.globalConfig = {
3889
3890
  name: "Venus USDC (Core)",
3890
3891
  asset: "USDC",
3891
3892
  symbol: "vUSDC_Core",
3892
- rateModel: InterestRateModels.JumpRate.toString(),
3893
+ rateModel: InterestRateModels.TwoKinks.toString(),
3893
3894
  baseRatePerYear: "0",
3894
- multiplierPerYear: (0, utils_1.convertToUnit)("0.0875", 18),
3895
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3895
+ baseRatePerYear2: "0",
3896
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
3897
+ multiplierPerYear2: (0, utils_1.convertToUnit)("0.9", 18),
3898
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3.0", 18),
3896
3899
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
3900
+ kink2_: (0, utils_1.convertToUnit)("0.9", 18),
3897
3901
  collateralFactor: (0, utils_1.convertToUnit)("0.78", 18),
3898
3902
  liquidationThreshold: (0, utils_1.convertToUnit)("0.8", 18),
3899
3903
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
@@ -3907,11 +3911,14 @@ exports.globalConfig = {
3907
3911
  name: "Venus USDT (Core)",
3908
3912
  asset: "USDT",
3909
3913
  symbol: "vUSDT_Core",
3910
- rateModel: InterestRateModels.JumpRate.toString(),
3914
+ rateModel: InterestRateModels.TwoKinks.toString(),
3911
3915
  baseRatePerYear: "0",
3912
- multiplierPerYear: (0, utils_1.convertToUnit)("0.0875", 18),
3913
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3916
+ baseRatePerYear2: "0",
3917
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
3918
+ multiplierPerYear2: (0, utils_1.convertToUnit)("0.9", 18),
3919
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3.0", 18),
3914
3920
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
3921
+ kink2_: (0, utils_1.convertToUnit)("0.9", 18),
3915
3922
  collateralFactor: (0, utils_1.convertToUnit)("0.78", 18),
3916
3923
  liquidationThreshold: (0, utils_1.convertToUnit)("0.8", 18),
3917
3924
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
@@ -3927,7 +3934,7 @@ exports.globalConfig = {
3927
3934
  symbol: "vcrvUSD_Core",
3928
3935
  rateModel: InterestRateModels.JumpRate.toString(),
3929
3936
  baseRatePerYear: "0",
3930
- multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
3937
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.2", 18),
3931
3938
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3932
3939
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
3933
3940
  collateralFactor: (0, utils_1.convertToUnit)("0.78", 18),
@@ -3945,7 +3952,7 @@ exports.globalConfig = {
3945
3952
  symbol: "vDAI_Core",
3946
3953
  rateModel: InterestRateModels.JumpRate.toString(),
3947
3954
  baseRatePerYear: "0",
3948
- multiplierPerYear: (0, utils_1.convertToUnit)("0.0875", 18),
3955
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.175", 18),
3949
3956
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3950
3957
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
3951
3958
  collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
@@ -3963,7 +3970,7 @@ exports.globalConfig = {
3963
3970
  symbol: "vTUSD_Core",
3964
3971
  rateModel: InterestRateModels.JumpRate.toString(),
3965
3972
  baseRatePerYear: "0",
3966
- multiplierPerYear: (0, utils_1.convertToUnit)("0.0875", 18),
3973
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.175", 18),
3967
3974
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3968
3975
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
3969
3976
  collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
@@ -3981,7 +3988,7 @@ exports.globalConfig = {
3981
3988
  symbol: "vFRAX_Core",
3982
3989
  rateModel: InterestRateModels.JumpRate.toString(),
3983
3990
  baseRatePerYear: "0",
3984
- multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
3991
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.175", 18),
3985
3992
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3986
3993
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
3987
3994
  collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
@@ -4143,7 +4150,7 @@ exports.globalConfig = {
4143
4150
  symbol: "vcrvUSD_Curve",
4144
4151
  rateModel: InterestRateModels.JumpRate.toString(),
4145
4152
  baseRatePerYear: "0",
4146
- multiplierPerYear: (0, utils_1.convertToUnit)("0.125", 18),
4153
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.2", 18),
4147
4154
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
4148
4155
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
4149
4156
  collateralFactor: (0, utils_1.convertToUnit)("0.45", 18),
@@ -5112,11 +5119,14 @@ exports.globalConfig = {
5112
5119
  name: "Venus USDC (Core)",
5113
5120
  asset: "USDC",
5114
5121
  symbol: "vUSDC_Core",
5115
- rateModel: InterestRateModels.JumpRate.toString(),
5122
+ rateModel: InterestRateModels.TwoKinks.toString(),
5116
5123
  baseRatePerYear: "0",
5117
- multiplierPerYear: (0, utils_1.convertToUnit)("0.08", 18),
5118
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
5124
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
5125
+ multiplierPerYear2: (0, utils_1.convertToUnit)("0.9", 18),
5126
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3.0", 18),
5119
5127
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
5128
+ kink2_: (0, utils_1.convertToUnit)("0.9", 18),
5129
+ baseRatePerYear2: "0",
5120
5130
  collateralFactor: (0, utils_1.convertToUnit)("0.78", 18),
5121
5131
  liquidationThreshold: (0, utils_1.convertToUnit)("0.80", 18),
5122
5132
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
@@ -5130,11 +5140,14 @@ exports.globalConfig = {
5130
5140
  name: "Venus USDT (Core)",
5131
5141
  asset: "USDT",
5132
5142
  symbol: "vUSDT_Core",
5133
- rateModel: InterestRateModels.JumpRate.toString(),
5143
+ rateModel: InterestRateModels.TwoKinks.toString(),
5134
5144
  baseRatePerYear: "0",
5135
- multiplierPerYear: (0, utils_1.convertToUnit)("0.08", 18),
5136
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
5145
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
5146
+ multiplierPerYear2: (0, utils_1.convertToUnit)("0.9", 18),
5147
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3.0", 18),
5137
5148
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
5149
+ kink2_: (0, utils_1.convertToUnit)("0.9", 18),
5150
+ baseRatePerYear2: "0",
5138
5151
  collateralFactor: (0, utils_1.convertToUnit)("0.78", 18),
5139
5152
  liquidationThreshold: (0, utils_1.convertToUnit)("0.80", 18),
5140
5153
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
@@ -5564,11 +5577,14 @@ exports.globalConfig = {
5564
5577
  name: "Venus USDT (Core)",
5565
5578
  asset: "USDT",
5566
5579
  symbol: "vUSDT_Core",
5567
- rateModel: InterestRateModels.JumpRate.toString(),
5580
+ rateModel: InterestRateModels.TwoKinks.toString(),
5568
5581
  baseRatePerYear: "0",
5569
- multiplierPerYear: (0, utils_1.convertToUnit)("0.0875", 18),
5570
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
5582
+ baseRatePerYear2: "0",
5583
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
5584
+ multiplierPerYear2: (0, utils_1.convertToUnit)("0.9", 18),
5585
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3.0", 18),
5571
5586
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
5587
+ kink2_: (0, utils_1.convertToUnit)("0.9", 18),
5572
5588
  collateralFactor: (0, utils_1.convertToUnit)("0.77", 18),
5573
5589
  liquidationThreshold: (0, utils_1.convertToUnit)("0.8", 18),
5574
5590
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
@@ -5582,11 +5598,14 @@ exports.globalConfig = {
5582
5598
  name: "Venus USDC.e (Core)",
5583
5599
  asset: "USDC.e",
5584
5600
  symbol: "vUSDC.e_Core",
5585
- rateModel: InterestRateModels.JumpRate.toString(),
5601
+ rateModel: InterestRateModels.TwoKinks.toString(),
5586
5602
  baseRatePerYear: "0",
5587
- multiplierPerYear: (0, utils_1.convertToUnit)("0.0875", 18),
5588
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
5603
+ baseRatePerYear2: "0",
5604
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
5605
+ multiplierPerYear2: (0, utils_1.convertToUnit)("0.9", 18),
5606
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3.0", 18),
5589
5607
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
5608
+ kink2_: (0, utils_1.convertToUnit)("0.9", 18),
5590
5609
  collateralFactor: (0, utils_1.convertToUnit)("0.72", 18),
5591
5610
  liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
5592
5611
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
@@ -5618,11 +5637,14 @@ exports.globalConfig = {
5618
5637
  name: "Venus USDC (Core)",
5619
5638
  asset: "USDC",
5620
5639
  symbol: "vUSDC_Core",
5621
- rateModel: InterestRateModels.JumpRate.toString(),
5640
+ rateModel: InterestRateModels.TwoKinks.toString(),
5622
5641
  baseRatePerYear: "0",
5623
- multiplierPerYear: (0, utils_1.convertToUnit)("0.0875", 18),
5624
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
5642
+ baseRatePerYear2: "0",
5643
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
5644
+ multiplierPerYear2: (0, utils_1.convertToUnit)("0.9", 18),
5645
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3.0", 18),
5625
5646
  kink_: (0, utils_1.convertToUnit)("0.8", 18),
5647
+ kink2_: (0, utils_1.convertToUnit)("0.9", 18),
5626
5648
  collateralFactor: (0, utils_1.convertToUnit)("0.72", 18),
5627
5649
  liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
5628
5650
  reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "3.8.0-dev.3",
3
+ "version": "3.8.0-dev.4",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",