@venusprotocol/isolated-pools 3.7.0-dev.1 → 3.7.0-dev.3

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.
@@ -2734,6 +2734,20 @@ exports.globalConfig = {
2734
2734
  decimals: 18,
2735
2735
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
2736
2736
  },
2737
+ {
2738
+ isMock: true,
2739
+ name: "ether.fi BTC",
2740
+ symbol: "eBTC",
2741
+ decimals: 8,
2742
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
2743
+ },
2744
+ {
2745
+ isMock: true,
2746
+ name: "Eigen",
2747
+ symbol: "EIGEN",
2748
+ decimals: 18,
2749
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
2750
+ },
2737
2751
  ],
2738
2752
  poolConfig: [
2739
2753
  {
@@ -2923,6 +2937,42 @@ exports.globalConfig = {
2923
2937
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2924
2938
  vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury, // TBD
2925
2939
  },
2940
+ {
2941
+ name: "Venus eBTC",
2942
+ asset: "eBTC",
2943
+ symbol: "veBTC",
2944
+ rateModel: InterestRateModels.JumpRate.toString(),
2945
+ baseRatePerYear: "0",
2946
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
2947
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2", 18),
2948
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
2949
+ collateralFactor: (0, utils_1.convertToUnit)("0.68", 18),
2950
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.72", 18),
2951
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
2952
+ initialSupply: (0, utils_1.convertToUnit)("0.14471345", 8),
2953
+ supplyCap: (0, utils_1.convertToUnit)("25", 8),
2954
+ borrowCap: (0, utils_1.convertToUnit)("12.5", 8),
2955
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2956
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
2957
+ },
2958
+ {
2959
+ name: "Venus EIGEN",
2960
+ asset: "EIGEN",
2961
+ symbol: "vEIGEN",
2962
+ rateModel: InterestRateModels.JumpRate.toString(),
2963
+ baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
2964
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
2965
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
2966
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
2967
+ collateralFactor: (0, utils_1.convertToUnit)("0.5", 18),
2968
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.6", 18),
2969
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
2970
+ initialSupply: (0, utils_1.convertToUnit)(500, 18),
2971
+ supplyCap: (0, utils_1.convertToUnit)(3000000, 18),
2972
+ borrowCap: (0, utils_1.convertToUnit)(1500000, 18),
2973
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2974
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
2975
+ },
2926
2976
  ],
2927
2977
  rewards: [
2928
2978
  // XVS Rewards Over 90 days (648000 blocks)
@@ -3420,6 +3470,20 @@ exports.globalConfig = {
3420
3470
  decimals: 18,
3421
3471
  tokenAddress: "0x917ceE801a67f933F2e6b33fC0cD1ED2d5909D88",
3422
3472
  },
3473
+ {
3474
+ isMock: false,
3475
+ name: "ether.fi BTC",
3476
+ symbol: "eBTC",
3477
+ decimals: 8,
3478
+ tokenAddress: "0x657e8C867D8B37dCC18fA4Caead9C45EB088C642",
3479
+ },
3480
+ {
3481
+ isMock: false,
3482
+ name: "Eigen",
3483
+ symbol: "EIGEN",
3484
+ decimals: 18,
3485
+ tokenAddress: "0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83",
3486
+ },
3423
3487
  ],
3424
3488
  poolConfig: [
3425
3489
  {
@@ -3591,6 +3655,42 @@ exports.globalConfig = {
3591
3655
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3592
3656
  vTokenReceiver: "0x6e74053a3798e0fC9a9775F7995316b27f21c4D2",
3593
3657
  },
3658
+ {
3659
+ name: "Venus eBTC",
3660
+ asset: "eBTC",
3661
+ symbol: "veBTC",
3662
+ rateModel: InterestRateModels.JumpRate.toString(),
3663
+ baseRatePerYear: "0",
3664
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
3665
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2", 18),
3666
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
3667
+ collateralFactor: (0, utils_1.convertToUnit)("0.68", 18),
3668
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.72", 18),
3669
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
3670
+ initialSupply: (0, utils_1.convertToUnit)("0.14471345", 8),
3671
+ supplyCap: (0, utils_1.convertToUnit)("25", 8),
3672
+ borrowCap: (0, utils_1.convertToUnit)("12.5", 8),
3673
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3674
+ vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury,
3675
+ },
3676
+ {
3677
+ name: "Venus EIGEN",
3678
+ asset: "EIGEN",
3679
+ symbol: "vEIGEN",
3680
+ rateModel: InterestRateModels.JumpRate.toString(),
3681
+ baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
3682
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
3683
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
3684
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
3685
+ collateralFactor: (0, utils_1.convertToUnit)("0.5", 18),
3686
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.6", 18),
3687
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
3688
+ initialSupply: (0, utils_1.convertToUnit)(500, 18),
3689
+ supplyCap: (0, utils_1.convertToUnit)(3000000, 18),
3690
+ borrowCap: (0, utils_1.convertToUnit)(1500000, 18),
3691
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3692
+ vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury,
3693
+ },
3594
3694
  ],
3595
3695
  rewards: [
3596
3696
  // 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;
@@ -6,6 +6,206 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.IVToken__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "account",
14
+ type: "address",
15
+ },
16
+ ],
17
+ name: "borrowBalanceCurrent",
18
+ outputs: [
19
+ {
20
+ internalType: "uint256",
21
+ name: "",
22
+ type: "uint256",
23
+ },
24
+ ],
25
+ stateMutability: "nonpayable",
26
+ type: "function",
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ internalType: "address",
32
+ name: "borrower",
33
+ type: "address",
34
+ },
35
+ {
36
+ internalType: "uint256",
37
+ name: "borrowAmount",
38
+ type: "uint256",
39
+ },
40
+ ],
41
+ name: "borrowBehalf",
42
+ outputs: [
43
+ {
44
+ internalType: "uint256",
45
+ name: "",
46
+ type: "uint256",
47
+ },
48
+ ],
49
+ stateMutability: "nonpayable",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "exchangeRateCurrent",
55
+ outputs: [
56
+ {
57
+ internalType: "uint256",
58
+ name: "",
59
+ type: "uint256",
60
+ },
61
+ ],
62
+ stateMutability: "nonpayable",
63
+ type: "function",
64
+ },
65
+ {
66
+ inputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "receiver",
70
+ type: "address",
71
+ },
72
+ {
73
+ internalType: "uint256",
74
+ name: "mintAmount",
75
+ type: "uint256",
76
+ },
77
+ ],
78
+ name: "mintBehalf",
79
+ outputs: [
80
+ {
81
+ internalType: "uint256",
82
+ name: "",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ stateMutability: "nonpayable",
87
+ type: "function",
88
+ },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "uint256",
93
+ name: "redeemTokens",
94
+ type: "uint256",
95
+ },
96
+ ],
97
+ name: "redeem",
98
+ outputs: [
99
+ {
100
+ internalType: "uint256",
101
+ name: "",
102
+ type: "uint256",
103
+ },
104
+ ],
105
+ stateMutability: "nonpayable",
106
+ type: "function",
107
+ },
108
+ {
109
+ inputs: [
110
+ {
111
+ internalType: "address",
112
+ name: "redeemer",
113
+ type: "address",
114
+ },
115
+ {
116
+ internalType: "uint256",
117
+ name: "redeemTokens",
118
+ type: "uint256",
119
+ },
120
+ ],
121
+ name: "redeemBehalf",
122
+ outputs: [
123
+ {
124
+ internalType: "uint256",
125
+ name: "",
126
+ type: "uint256",
127
+ },
128
+ ],
129
+ stateMutability: "nonpayable",
130
+ type: "function",
131
+ },
132
+ {
133
+ inputs: [
134
+ {
135
+ internalType: "address",
136
+ name: "redeemer",
137
+ type: "address",
138
+ },
139
+ {
140
+ internalType: "uint256",
141
+ name: "redeemAmount",
142
+ type: "uint256",
143
+ },
144
+ ],
145
+ name: "redeemUnderlyingBehalf",
146
+ outputs: [
147
+ {
148
+ internalType: "uint256",
149
+ name: "",
150
+ type: "uint256",
151
+ },
152
+ ],
153
+ stateMutability: "nonpayable",
154
+ type: "function",
155
+ },
156
+ {
157
+ inputs: [
158
+ {
159
+ internalType: "address",
160
+ name: "borrower",
161
+ type: "address",
162
+ },
163
+ {
164
+ internalType: "uint256",
165
+ name: "repayAmount",
166
+ type: "uint256",
167
+ },
168
+ ],
169
+ name: "repayBorrowBehalf",
170
+ outputs: [
171
+ {
172
+ internalType: "uint256",
173
+ name: "",
174
+ type: "uint256",
175
+ },
176
+ ],
177
+ stateMutability: "nonpayable",
178
+ type: "function",
179
+ },
180
+ {
181
+ inputs: [
182
+ {
183
+ internalType: "address",
184
+ name: "from",
185
+ type: "address",
186
+ },
187
+ {
188
+ internalType: "address",
189
+ name: "to",
190
+ type: "address",
191
+ },
192
+ {
193
+ internalType: "uint256",
194
+ name: "amount",
195
+ type: "uint256",
196
+ },
197
+ ],
198
+ name: "transferFrom",
199
+ outputs: [
200
+ {
201
+ internalType: "bool",
202
+ name: "",
203
+ type: "bool",
204
+ },
205
+ ],
206
+ stateMutability: "nonpayable",
207
+ type: "function",
208
+ },
9
209
  {
10
210
  inputs: [],
11
211
  name: "underlying",
@@ -16,7 +216,7 @@ const _abi = [
16
216
  type: "address",
17
217
  },
18
218
  ],
19
- stateMutability: "view",
219
+ stateMutability: "nonpayable",
20
220
  type: "function",
21
221
  },
22
222
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "3.7.0-dev.1",
3
+ "version": "3.7.0-dev.3",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",