@venusprotocol/isolated-pools 4.2.0-dev.11 → 4.2.0-dev.12

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.
@@ -3192,6 +3192,366 @@
3192
3192
  }
3193
3193
  ]
3194
3194
  },
3195
+ "JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink4500bps_timeBased": {
3196
+ "address": "0x5C7D8858a25778d992eE803Ce79F1eff60c1d9D1",
3197
+ "abi": [
3198
+ {
3199
+ "inputs": [
3200
+ {
3201
+ "internalType": "uint256",
3202
+ "name": "baseRatePerYear_",
3203
+ "type": "uint256"
3204
+ },
3205
+ {
3206
+ "internalType": "uint256",
3207
+ "name": "multiplierPerYear_",
3208
+ "type": "uint256"
3209
+ },
3210
+ {
3211
+ "internalType": "uint256",
3212
+ "name": "jumpMultiplierPerYear_",
3213
+ "type": "uint256"
3214
+ },
3215
+ {
3216
+ "internalType": "uint256",
3217
+ "name": "kink_",
3218
+ "type": "uint256"
3219
+ },
3220
+ {
3221
+ "internalType": "contract IAccessControlManagerV8",
3222
+ "name": "accessControlManager_",
3223
+ "type": "address"
3224
+ },
3225
+ {
3226
+ "internalType": "bool",
3227
+ "name": "timeBased_",
3228
+ "type": "bool"
3229
+ },
3230
+ {
3231
+ "internalType": "uint256",
3232
+ "name": "blocksPerYear_",
3233
+ "type": "uint256"
3234
+ }
3235
+ ],
3236
+ "stateMutability": "nonpayable",
3237
+ "type": "constructor"
3238
+ },
3239
+ {
3240
+ "inputs": [],
3241
+ "name": "InvalidBlocksPerYear",
3242
+ "type": "error"
3243
+ },
3244
+ {
3245
+ "inputs": [],
3246
+ "name": "InvalidTimeBasedConfiguration",
3247
+ "type": "error"
3248
+ },
3249
+ {
3250
+ "inputs": [
3251
+ {
3252
+ "internalType": "address",
3253
+ "name": "sender",
3254
+ "type": "address"
3255
+ },
3256
+ {
3257
+ "internalType": "address",
3258
+ "name": "calledContract",
3259
+ "type": "address"
3260
+ },
3261
+ {
3262
+ "internalType": "string",
3263
+ "name": "methodSignature",
3264
+ "type": "string"
3265
+ }
3266
+ ],
3267
+ "name": "Unauthorized",
3268
+ "type": "error"
3269
+ },
3270
+ {
3271
+ "anonymous": false,
3272
+ "inputs": [
3273
+ {
3274
+ "indexed": false,
3275
+ "internalType": "uint256",
3276
+ "name": "baseRatePerBlockOrTimestamp",
3277
+ "type": "uint256"
3278
+ },
3279
+ {
3280
+ "indexed": false,
3281
+ "internalType": "uint256",
3282
+ "name": "multiplierPerBlockOrTimestamp",
3283
+ "type": "uint256"
3284
+ },
3285
+ {
3286
+ "indexed": false,
3287
+ "internalType": "uint256",
3288
+ "name": "jumpMultiplierPerBlockOrTimestamp",
3289
+ "type": "uint256"
3290
+ },
3291
+ {
3292
+ "indexed": false,
3293
+ "internalType": "uint256",
3294
+ "name": "kink",
3295
+ "type": "uint256"
3296
+ }
3297
+ ],
3298
+ "name": "NewInterestParams",
3299
+ "type": "event"
3300
+ },
3301
+ {
3302
+ "inputs": [],
3303
+ "name": "accessControlManager",
3304
+ "outputs": [
3305
+ {
3306
+ "internalType": "contract IAccessControlManagerV8",
3307
+ "name": "",
3308
+ "type": "address"
3309
+ }
3310
+ ],
3311
+ "stateMutability": "view",
3312
+ "type": "function"
3313
+ },
3314
+ {
3315
+ "inputs": [],
3316
+ "name": "baseRatePerBlock",
3317
+ "outputs": [
3318
+ {
3319
+ "internalType": "uint256",
3320
+ "name": "",
3321
+ "type": "uint256"
3322
+ }
3323
+ ],
3324
+ "stateMutability": "view",
3325
+ "type": "function"
3326
+ },
3327
+ {
3328
+ "inputs": [],
3329
+ "name": "blocksOrSecondsPerYear",
3330
+ "outputs": [
3331
+ {
3332
+ "internalType": "uint256",
3333
+ "name": "",
3334
+ "type": "uint256"
3335
+ }
3336
+ ],
3337
+ "stateMutability": "view",
3338
+ "type": "function"
3339
+ },
3340
+ {
3341
+ "inputs": [],
3342
+ "name": "getBlockNumberOrTimestamp",
3343
+ "outputs": [
3344
+ {
3345
+ "internalType": "uint256",
3346
+ "name": "",
3347
+ "type": "uint256"
3348
+ }
3349
+ ],
3350
+ "stateMutability": "view",
3351
+ "type": "function"
3352
+ },
3353
+ {
3354
+ "inputs": [
3355
+ {
3356
+ "internalType": "uint256",
3357
+ "name": "cash",
3358
+ "type": "uint256"
3359
+ },
3360
+ {
3361
+ "internalType": "uint256",
3362
+ "name": "borrows",
3363
+ "type": "uint256"
3364
+ },
3365
+ {
3366
+ "internalType": "uint256",
3367
+ "name": "reserves",
3368
+ "type": "uint256"
3369
+ },
3370
+ {
3371
+ "internalType": "uint256",
3372
+ "name": "badDebt",
3373
+ "type": "uint256"
3374
+ }
3375
+ ],
3376
+ "name": "getBorrowRate",
3377
+ "outputs": [
3378
+ {
3379
+ "internalType": "uint256",
3380
+ "name": "",
3381
+ "type": "uint256"
3382
+ }
3383
+ ],
3384
+ "stateMutability": "view",
3385
+ "type": "function"
3386
+ },
3387
+ {
3388
+ "inputs": [
3389
+ {
3390
+ "internalType": "uint256",
3391
+ "name": "cash",
3392
+ "type": "uint256"
3393
+ },
3394
+ {
3395
+ "internalType": "uint256",
3396
+ "name": "borrows",
3397
+ "type": "uint256"
3398
+ },
3399
+ {
3400
+ "internalType": "uint256",
3401
+ "name": "reserves",
3402
+ "type": "uint256"
3403
+ },
3404
+ {
3405
+ "internalType": "uint256",
3406
+ "name": "reserveFactorMantissa",
3407
+ "type": "uint256"
3408
+ },
3409
+ {
3410
+ "internalType": "uint256",
3411
+ "name": "badDebt",
3412
+ "type": "uint256"
3413
+ }
3414
+ ],
3415
+ "name": "getSupplyRate",
3416
+ "outputs": [
3417
+ {
3418
+ "internalType": "uint256",
3419
+ "name": "",
3420
+ "type": "uint256"
3421
+ }
3422
+ ],
3423
+ "stateMutability": "view",
3424
+ "type": "function"
3425
+ },
3426
+ {
3427
+ "inputs": [],
3428
+ "name": "isInterestRateModel",
3429
+ "outputs": [
3430
+ {
3431
+ "internalType": "bool",
3432
+ "name": "",
3433
+ "type": "bool"
3434
+ }
3435
+ ],
3436
+ "stateMutability": "pure",
3437
+ "type": "function"
3438
+ },
3439
+ {
3440
+ "inputs": [],
3441
+ "name": "isTimeBased",
3442
+ "outputs": [
3443
+ {
3444
+ "internalType": "bool",
3445
+ "name": "",
3446
+ "type": "bool"
3447
+ }
3448
+ ],
3449
+ "stateMutability": "view",
3450
+ "type": "function"
3451
+ },
3452
+ {
3453
+ "inputs": [],
3454
+ "name": "jumpMultiplierPerBlock",
3455
+ "outputs": [
3456
+ {
3457
+ "internalType": "uint256",
3458
+ "name": "",
3459
+ "type": "uint256"
3460
+ }
3461
+ ],
3462
+ "stateMutability": "view",
3463
+ "type": "function"
3464
+ },
3465
+ {
3466
+ "inputs": [],
3467
+ "name": "kink",
3468
+ "outputs": [
3469
+ {
3470
+ "internalType": "uint256",
3471
+ "name": "",
3472
+ "type": "uint256"
3473
+ }
3474
+ ],
3475
+ "stateMutability": "view",
3476
+ "type": "function"
3477
+ },
3478
+ {
3479
+ "inputs": [],
3480
+ "name": "multiplierPerBlock",
3481
+ "outputs": [
3482
+ {
3483
+ "internalType": "uint256",
3484
+ "name": "",
3485
+ "type": "uint256"
3486
+ }
3487
+ ],
3488
+ "stateMutability": "view",
3489
+ "type": "function"
3490
+ },
3491
+ {
3492
+ "inputs": [
3493
+ {
3494
+ "internalType": "uint256",
3495
+ "name": "baseRatePerYear",
3496
+ "type": "uint256"
3497
+ },
3498
+ {
3499
+ "internalType": "uint256",
3500
+ "name": "multiplierPerYear",
3501
+ "type": "uint256"
3502
+ },
3503
+ {
3504
+ "internalType": "uint256",
3505
+ "name": "jumpMultiplierPerYear",
3506
+ "type": "uint256"
3507
+ },
3508
+ {
3509
+ "internalType": "uint256",
3510
+ "name": "kink_",
3511
+ "type": "uint256"
3512
+ }
3513
+ ],
3514
+ "name": "updateJumpRateModel",
3515
+ "outputs": [],
3516
+ "stateMutability": "nonpayable",
3517
+ "type": "function"
3518
+ },
3519
+ {
3520
+ "inputs": [
3521
+ {
3522
+ "internalType": "uint256",
3523
+ "name": "cash",
3524
+ "type": "uint256"
3525
+ },
3526
+ {
3527
+ "internalType": "uint256",
3528
+ "name": "borrows",
3529
+ "type": "uint256"
3530
+ },
3531
+ {
3532
+ "internalType": "uint256",
3533
+ "name": "reserves",
3534
+ "type": "uint256"
3535
+ },
3536
+ {
3537
+ "internalType": "uint256",
3538
+ "name": "badDebt",
3539
+ "type": "uint256"
3540
+ }
3541
+ ],
3542
+ "name": "utilizationRate",
3543
+ "outputs": [
3544
+ {
3545
+ "internalType": "uint256",
3546
+ "name": "",
3547
+ "type": "uint256"
3548
+ }
3549
+ ],
3550
+ "stateMutability": "pure",
3551
+ "type": "function"
3552
+ }
3553
+ ]
3554
+ },
3195
3555
  "JumpRateModelV2_base0bps_slope350bps_jump25000bps_kink8000bps_timeBased": {
3196
3556
  "address": "0x5fC344E85E5950335a1cE717AC04247B485efB00",
3197
3557
  "abi": [
@@ -7263,13 +7263,13 @@ exports.globalConfig = {
7263
7263
  baseRatePerYear: "0",
7264
7264
  multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
7265
7265
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7266
- kink_: (0, utils_1.convertToUnit)("0.3", 18),
7267
- collateralFactor: (0, utils_1.convertToUnit)("0", 18),
7268
- liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
7266
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
7267
+ collateralFactor: (0, utils_1.convertToUnit)("0.5", 18),
7268
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.55", 18),
7269
7269
  reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
7270
7270
  initialSupply: (0, utils_1.convertToUnit)("529.463427983309919376", 18),
7271
- supplyCap: (0, utils_1.convertToUnit)("20000", 18),
7272
- borrowCap: (0, utils_1.convertToUnit)("0", 18),
7271
+ supplyCap: (0, utils_1.convertToUnit)("4000000", 18),
7272
+ borrowCap: (0, utils_1.convertToUnit)("2000000", 18),
7273
7273
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
7274
7274
  vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
7275
7275
  },
@@ -7384,13 +7384,13 @@ exports.globalConfig = {
7384
7384
  baseRatePerYear: "0",
7385
7385
  multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
7386
7386
  jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7387
- kink_: (0, utils_1.convertToUnit)("0.3", 18),
7388
- collateralFactor: (0, utils_1.convertToUnit)("0", 18),
7389
- liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
7387
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
7388
+ collateralFactor: (0, utils_1.convertToUnit)("0.5", 18),
7389
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.55", 18),
7390
7390
  reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
7391
7391
  initialSupply: (0, utils_1.convertToUnit)("529.463427983309919376", 18),
7392
- supplyCap: (0, utils_1.convertToUnit)("20000", 18),
7393
- borrowCap: (0, utils_1.convertToUnit)("0", 18),
7392
+ supplyCap: (0, utils_1.convertToUnit)("4000000", 18),
7393
+ borrowCap: (0, utils_1.convertToUnit)("2000000", 18),
7394
7394
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7395
7395
  vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7396
7396
  },
@@ -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: "nonpayable",
19
+ stateMutability: "view",
220
20
  type: "function",
221
21
  },
222
22
  ];
@@ -2,7 +2,7 @@ import { Signer } from "ethers";
2
2
  import { Provider } from "@ethersproject/providers";
3
3
  import type { PoolRegistryInterface, PoolRegistryInterfaceInterface } from "../PoolRegistryInterface";
4
4
  export declare class PoolRegistryInterface__factory {
5
- static readonly abi: ({
5
+ static readonly abi: {
6
6
  inputs: {
7
7
  internalType: string;
8
8
  name: string;
@@ -21,21 +21,7 @@ export declare class PoolRegistryInterface__factory {
21
21
  }[];
22
22
  stateMutability: string;
23
23
  type: string;
24
- } | {
25
- inputs: {
26
- internalType: string;
27
- name: string;
28
- type: string;
29
- }[];
30
- name: string;
31
- outputs: {
32
- internalType: string;
33
- name: string;
34
- type: string;
35
- }[];
36
- stateMutability: string;
37
- type: string;
38
- })[];
24
+ }[];
39
25
  static createInterface(): PoolRegistryInterfaceInterface;
40
26
  static connect(address: string, signerOrProvider: Signer | Provider): PoolRegistryInterface;
41
27
  }