@venusprotocol/isolated-pools 3.4.0-dev.2 → 3.4.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.
- package/deployments/ethereum/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4000bps.json +608 -0
- package/deployments/ethereum/VToken_vsfrxETH_LiquidStakedETH.json +257 -0
- package/deployments/ethereum.json +434 -0
- package/deployments/ethereum_addresses.json +2 -0
- package/deployments/sepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4000bps.json +608 -0
- package/deployments/sepolia/MocksfrxETH.json +458 -0
- package/deployments/sepolia/VToken_vsfrxETH_LiquidStakedETH.json +257 -0
- package/deployments/sepolia/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/sepolia.json +873 -130
- package/deployments/sepolia_addresses.json +3 -0
- package/dist/deployments/ethereum.json +434 -0
- package/dist/deployments/sepolia.json +873 -130
- package/dist/helpers/deploymentConfig.js +60 -2
- package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
- package/dist/typechain/factories/IVToken__factory.js +1 -201
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +4 -341
- package/typechain/factories/IVToken__factory.ts +1 -201
|
@@ -2491,6 +2491,13 @@ exports.globalConfig = {
|
|
|
2491
2491
|
decimals: 18,
|
|
2492
2492
|
tokenAddress: "0xd85FfECdB4287587BC53c1934D548bF7480F11C4",
|
|
2493
2493
|
},
|
|
2494
|
+
{
|
|
2495
|
+
isMock: true,
|
|
2496
|
+
name: "Staked Frax Ether",
|
|
2497
|
+
symbol: "sfrxETH",
|
|
2498
|
+
decimals: 18,
|
|
2499
|
+
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
2500
|
+
},
|
|
2494
2501
|
{
|
|
2495
2502
|
isMock: true,
|
|
2496
2503
|
name: "rsETH",
|
|
@@ -2687,6 +2694,24 @@ exports.globalConfig = {
|
|
|
2687
2694
|
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
|
|
2688
2695
|
vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury, // TBD
|
|
2689
2696
|
},
|
|
2697
|
+
{
|
|
2698
|
+
name: "Venus sfrxETH (Liquid Staked ETH)",
|
|
2699
|
+
asset: "sfrxETH",
|
|
2700
|
+
symbol: "vsfrxETH_LiquidStakedETH",
|
|
2701
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2702
|
+
baseRatePerYear: "0",
|
|
2703
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
2704
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
|
|
2705
|
+
kink_: (0, utils_1.convertToUnit)("0.40", 18),
|
|
2706
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
2707
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
2708
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
|
|
2709
|
+
initialSupply: (0, utils_1.convertToUnit)("1", 18),
|
|
2710
|
+
supplyCap: (0, utils_1.convertToUnit)(10000, 18),
|
|
2711
|
+
borrowCap: (0, utils_1.convertToUnit)(1000, 18),
|
|
2712
|
+
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
|
|
2713
|
+
vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
|
|
2714
|
+
},
|
|
2690
2715
|
],
|
|
2691
2716
|
rewards: [
|
|
2692
2717
|
// XVS Rewards Over 90 days (648000 blocks)
|
|
@@ -2704,9 +2729,11 @@ exports.globalConfig = {
|
|
|
2704
2729
|
// 1440 XVS for Borrowers
|
|
2705
2730
|
// sFRAX: 1440 XVS for Suppliers
|
|
2706
2731
|
// 960 XVS for Borrowers
|
|
2732
|
+
// sfrxETH: 2400 XVS for Suppliers
|
|
2733
|
+
// 0 XVS for Borrowers
|
|
2707
2734
|
{
|
|
2708
2735
|
asset: "XVS",
|
|
2709
|
-
markets: ["WETH", "WBTC", "USDT", "USDC", "crvUSD", "FRAX", "sFRAX"],
|
|
2736
|
+
markets: ["WETH", "WBTC", "USDT", "USDC", "crvUSD", "FRAX", "sFRAX", "sfrxETH"],
|
|
2710
2737
|
supplySpeeds: [
|
|
2711
2738
|
"27777777777777",
|
|
2712
2739
|
"83333333333333",
|
|
@@ -2715,6 +2742,7 @@ exports.globalConfig = {
|
|
|
2715
2742
|
"37037037037036",
|
|
2716
2743
|
"1481481481481481",
|
|
2717
2744
|
"2222222222222222",
|
|
2745
|
+
"3703703703703703",
|
|
2718
2746
|
],
|
|
2719
2747
|
borrowSpeeds: [
|
|
2720
2748
|
"41666666666666",
|
|
@@ -2724,6 +2752,7 @@ exports.globalConfig = {
|
|
|
2724
2752
|
"55555555555555",
|
|
2725
2753
|
"2222222222222222",
|
|
2726
2754
|
"1481481481481481",
|
|
2755
|
+
"0",
|
|
2727
2756
|
],
|
|
2728
2757
|
},
|
|
2729
2758
|
{
|
|
@@ -3100,6 +3129,13 @@ exports.globalConfig = {
|
|
|
3100
3129
|
decimals: 18,
|
|
3101
3130
|
tokenAddress: "0x6ee2b5E19ECBa773a352E5B21415Dc419A700d1d",
|
|
3102
3131
|
},
|
|
3132
|
+
{
|
|
3133
|
+
isMock: false,
|
|
3134
|
+
name: "Staked Frax Ether",
|
|
3135
|
+
symbol: "sfrxETH",
|
|
3136
|
+
decimals: 18,
|
|
3137
|
+
tokenAddress: "0xac3E018457B222d93114458476f3E3416Abbe38F",
|
|
3138
|
+
},
|
|
3103
3139
|
{
|
|
3104
3140
|
isMock: false,
|
|
3105
3141
|
name: "rsETH",
|
|
@@ -3278,6 +3314,24 @@ exports.globalConfig = {
|
|
|
3278
3314
|
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
|
|
3279
3315
|
vTokenReceiver: "0x6e74053a3798e0fC9a9775F7995316b27f21c4D2",
|
|
3280
3316
|
},
|
|
3317
|
+
{
|
|
3318
|
+
name: "Venus sfrxETH (Liquid Staked ETH)",
|
|
3319
|
+
asset: "sfrxETH",
|
|
3320
|
+
symbol: "vsfrxETH_LiquidStakedETH",
|
|
3321
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
3322
|
+
baseRatePerYear: "0",
|
|
3323
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
3324
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
|
|
3325
|
+
kink_: (0, utils_1.convertToUnit)("0.40", 18),
|
|
3326
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
3327
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
3328
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
|
|
3329
|
+
initialSupply: (0, utils_1.convertToUnit)("1.2", 18),
|
|
3330
|
+
supplyCap: (0, utils_1.convertToUnit)(10000, 18),
|
|
3331
|
+
borrowCap: (0, utils_1.convertToUnit)(1000, 18),
|
|
3332
|
+
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
|
|
3333
|
+
vTokenReceiver: "0x6e74053a3798e0fC9a9775F7995316b27f21c4D2",
|
|
3334
|
+
},
|
|
3281
3335
|
],
|
|
3282
3336
|
rewards: [
|
|
3283
3337
|
// XVS Rewards Over 90 days (648000 blocks)
|
|
@@ -3295,9 +3349,11 @@ exports.globalConfig = {
|
|
|
3295
3349
|
// 1440 XVS for Borrowers
|
|
3296
3350
|
// sFRAX: 1440 XVS for Suppliers
|
|
3297
3351
|
// 960 XVS for Borrowers
|
|
3352
|
+
// sfrxETH: 2400 XVS for Suppliers
|
|
3353
|
+
// 0 XVS for Borrowers
|
|
3298
3354
|
{
|
|
3299
3355
|
asset: "XVS",
|
|
3300
|
-
markets: ["WETH", "WBTC", "USDT", "USDC", "crvUSD", "FRAX", "sFRAX"],
|
|
3356
|
+
markets: ["WETH", "WBTC", "USDT", "USDC", "crvUSD", "FRAX", "sFRAX", "sfrxETH"],
|
|
3301
3357
|
supplySpeeds: [
|
|
3302
3358
|
"2777777777777777",
|
|
3303
3359
|
"8333333333333333",
|
|
@@ -3306,6 +3362,7 @@ exports.globalConfig = {
|
|
|
3306
3362
|
"3703703703703703",
|
|
3307
3363
|
"1481481481481481",
|
|
3308
3364
|
"2222222222222222",
|
|
3365
|
+
"3703703703703703",
|
|
3309
3366
|
],
|
|
3310
3367
|
borrowSpeeds: [
|
|
3311
3368
|
"4166666666666666",
|
|
@@ -3315,6 +3372,7 @@ exports.globalConfig = {
|
|
|
3315
3372
|
"5555555555555555",
|
|
3316
3373
|
"2222222222222222",
|
|
3317
3374
|
"1481481481481481",
|
|
3375
|
+
"0",
|
|
3318
3376
|
],
|
|
3319
3377
|
},
|
|
3320
3378
|
{
|
|
@@ -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;
|
|
@@ -6,206 +6,6 @@ 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
|
-
},
|
|
209
9
|
{
|
|
210
10
|
inputs: [],
|
|
211
11
|
name: "underlying",
|
|
@@ -216,7 +16,7 @@ const _abi = [
|
|
|
216
16
|
type: "address",
|
|
217
17
|
},
|
|
218
18
|
],
|
|
219
|
-
stateMutability: "
|
|
19
|
+
stateMutability: "view",
|
|
220
20
|
type: "function",
|
|
221
21
|
},
|
|
222
22
|
];
|