@1delta/abis 0.0.11 → 0.0.13

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.
@@ -1,4 +1,4 @@
1
- export declare const COmpoundV2CEtherAbi: readonly [{
1
+ export declare const CompoundV2CEtherAbi: readonly [{
2
2
  readonly inputs: readonly [{
3
3
  readonly internalType: "contract ComptrollerInterface";
4
4
  readonly name: "comptroller_";
@@ -1 +1 @@
1
- {"version":3,"file":"c-ether.d.ts","sourceRoot":"","sources":["../../src/compound-v2/c-ether.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsmBtB,CAAA"}
1
+ {"version":3,"file":"c-ether.d.ts","sourceRoot":"","sources":["../../src/compound-v2/c-ether.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAq5BtB,CAAA"}
@@ -1,9 +1,21 @@
1
- export const COmpoundV2CEtherAbi = [
1
+ export const CompoundV2CEtherAbi = [
2
2
  {
3
3
  inputs: [
4
- { internalType: 'contract ComptrollerInterface', name: 'comptroller_', type: 'address' },
5
- { internalType: 'contract InterestRateModel', name: 'interestRateModel_', type: 'address' },
6
- { internalType: 'uint256', name: 'initialExchangeRateMantissa_', type: 'uint256' },
4
+ {
5
+ internalType: 'contract ComptrollerInterface',
6
+ name: 'comptroller_',
7
+ type: 'address',
8
+ },
9
+ {
10
+ internalType: 'contract InterestRateModel',
11
+ name: 'interestRateModel_',
12
+ type: 'address',
13
+ },
14
+ {
15
+ internalType: 'uint256',
16
+ name: 'initialExchangeRateMantissa_',
17
+ type: 'uint256',
18
+ },
7
19
  { internalType: 'string', name: 'name_', type: 'string' },
8
20
  { internalType: 'string', name: 'symbol_', type: 'string' },
9
21
  { internalType: 'uint8', name: 'decimals_', type: 'uint8' },
@@ -16,10 +28,30 @@ export const COmpoundV2CEtherAbi = [
16
28
  {
17
29
  anonymous: false,
18
30
  inputs: [
19
- { indexed: false, internalType: 'uint256', name: 'cashPrior', type: 'uint256' },
20
- { indexed: false, internalType: 'uint256', name: 'interestAccumulated', type: 'uint256' },
21
- { indexed: false, internalType: 'uint256', name: 'borrowIndex', type: 'uint256' },
22
- { indexed: false, internalType: 'uint256', name: 'totalBorrows', type: 'uint256' },
31
+ {
32
+ indexed: false,
33
+ internalType: 'uint256',
34
+ name: 'cashPrior',
35
+ type: 'uint256',
36
+ },
37
+ {
38
+ indexed: false,
39
+ internalType: 'uint256',
40
+ name: 'interestAccumulated',
41
+ type: 'uint256',
42
+ },
43
+ {
44
+ indexed: false,
45
+ internalType: 'uint256',
46
+ name: 'borrowIndex',
47
+ type: 'uint256',
48
+ },
49
+ {
50
+ indexed: false,
51
+ internalType: 'uint256',
52
+ name: 'totalBorrows',
53
+ type: 'uint256',
54
+ },
23
55
  ],
24
56
  name: 'AccrueInterest',
25
57
  type: 'event',
@@ -27,9 +59,24 @@ export const COmpoundV2CEtherAbi = [
27
59
  {
28
60
  anonymous: false,
29
61
  inputs: [
30
- { indexed: true, internalType: 'address', name: 'owner', type: 'address' },
31
- { indexed: true, internalType: 'address', name: 'spender', type: 'address' },
32
- { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
62
+ {
63
+ indexed: true,
64
+ internalType: 'address',
65
+ name: 'owner',
66
+ type: 'address',
67
+ },
68
+ {
69
+ indexed: true,
70
+ internalType: 'address',
71
+ name: 'spender',
72
+ type: 'address',
73
+ },
74
+ {
75
+ indexed: false,
76
+ internalType: 'uint256',
77
+ name: 'amount',
78
+ type: 'uint256',
79
+ },
33
80
  ],
34
81
  name: 'Approval',
35
82
  type: 'event',
@@ -37,10 +84,30 @@ export const COmpoundV2CEtherAbi = [
37
84
  {
38
85
  anonymous: false,
39
86
  inputs: [
40
- { indexed: false, internalType: 'address', name: 'borrower', type: 'address' },
41
- { indexed: false, internalType: 'uint256', name: 'borrowAmount', type: 'uint256' },
42
- { indexed: false, internalType: 'uint256', name: 'accountBorrows', type: 'uint256' },
43
- { indexed: false, internalType: 'uint256', name: 'totalBorrows', type: 'uint256' },
87
+ {
88
+ indexed: false,
89
+ internalType: 'address',
90
+ name: 'borrower',
91
+ type: 'address',
92
+ },
93
+ {
94
+ indexed: false,
95
+ internalType: 'uint256',
96
+ name: 'borrowAmount',
97
+ type: 'uint256',
98
+ },
99
+ {
100
+ indexed: false,
101
+ internalType: 'uint256',
102
+ name: 'accountBorrows',
103
+ type: 'uint256',
104
+ },
105
+ {
106
+ indexed: false,
107
+ internalType: 'uint256',
108
+ name: 'totalBorrows',
109
+ type: 'uint256',
110
+ },
44
111
  ],
45
112
  name: 'Borrow',
46
113
  type: 'event',
@@ -48,9 +115,24 @@ export const COmpoundV2CEtherAbi = [
48
115
  {
49
116
  anonymous: false,
50
117
  inputs: [
51
- { indexed: false, internalType: 'uint256', name: 'error', type: 'uint256' },
52
- { indexed: false, internalType: 'uint256', name: 'info', type: 'uint256' },
53
- { indexed: false, internalType: 'uint256', name: 'detail', type: 'uint256' },
118
+ {
119
+ indexed: false,
120
+ internalType: 'uint256',
121
+ name: 'error',
122
+ type: 'uint256',
123
+ },
124
+ {
125
+ indexed: false,
126
+ internalType: 'uint256',
127
+ name: 'info',
128
+ type: 'uint256',
129
+ },
130
+ {
131
+ indexed: false,
132
+ internalType: 'uint256',
133
+ name: 'detail',
134
+ type: 'uint256',
135
+ },
54
136
  ],
55
137
  name: 'Failure',
56
138
  type: 'event',
@@ -58,11 +140,36 @@ export const COmpoundV2CEtherAbi = [
58
140
  {
59
141
  anonymous: false,
60
142
  inputs: [
61
- { indexed: false, internalType: 'address', name: 'liquidator', type: 'address' },
62
- { indexed: false, internalType: 'address', name: 'borrower', type: 'address' },
63
- { indexed: false, internalType: 'uint256', name: 'repayAmount', type: 'uint256' },
64
- { indexed: false, internalType: 'address', name: 'vTokenCollateral', type: 'address' },
65
- { indexed: false, internalType: 'uint256', name: 'seizeTokens', type: 'uint256' },
143
+ {
144
+ indexed: false,
145
+ internalType: 'address',
146
+ name: 'liquidator',
147
+ type: 'address',
148
+ },
149
+ {
150
+ indexed: false,
151
+ internalType: 'address',
152
+ name: 'borrower',
153
+ type: 'address',
154
+ },
155
+ {
156
+ indexed: false,
157
+ internalType: 'uint256',
158
+ name: 'repayAmount',
159
+ type: 'uint256',
160
+ },
161
+ {
162
+ indexed: false,
163
+ internalType: 'address',
164
+ name: 'vTokenCollateral',
165
+ type: 'address',
166
+ },
167
+ {
168
+ indexed: false,
169
+ internalType: 'uint256',
170
+ name: 'seizeTokens',
171
+ type: 'uint256',
172
+ },
66
173
  ],
67
174
  name: 'LiquidateBorrow',
68
175
  type: 'event',
@@ -70,9 +177,24 @@ export const COmpoundV2CEtherAbi = [
70
177
  {
71
178
  anonymous: false,
72
179
  inputs: [
73
- { indexed: false, internalType: 'address', name: 'minter', type: 'address' },
74
- { indexed: false, internalType: 'uint256', name: 'mintAmount', type: 'uint256' },
75
- { indexed: false, internalType: 'uint256', name: 'mintTokens', type: 'uint256' },
180
+ {
181
+ indexed: false,
182
+ internalType: 'address',
183
+ name: 'minter',
184
+ type: 'address',
185
+ },
186
+ {
187
+ indexed: false,
188
+ internalType: 'uint256',
189
+ name: 'mintAmount',
190
+ type: 'uint256',
191
+ },
192
+ {
193
+ indexed: false,
194
+ internalType: 'uint256',
195
+ name: 'mintTokens',
196
+ type: 'uint256',
197
+ },
76
198
  ],
77
199
  name: 'Mint',
78
200
  type: 'event',
@@ -80,8 +202,18 @@ export const COmpoundV2CEtherAbi = [
80
202
  {
81
203
  anonymous: false,
82
204
  inputs: [
83
- { indexed: false, internalType: 'address', name: 'oldAdmin', type: 'address' },
84
- { indexed: false, internalType: 'address', name: 'newAdmin', type: 'address' },
205
+ {
206
+ indexed: false,
207
+ internalType: 'address',
208
+ name: 'oldAdmin',
209
+ type: 'address',
210
+ },
211
+ {
212
+ indexed: false,
213
+ internalType: 'address',
214
+ name: 'newAdmin',
215
+ type: 'address',
216
+ },
85
217
  ],
86
218
  name: 'NewAdmin',
87
219
  type: 'event',
@@ -89,8 +221,18 @@ export const COmpoundV2CEtherAbi = [
89
221
  {
90
222
  anonymous: false,
91
223
  inputs: [
92
- { indexed: false, internalType: 'contract ComptrollerInterface', name: 'oldComptroller', type: 'address' },
93
- { indexed: false, internalType: 'contract ComptrollerInterface', name: 'newComptroller', type: 'address' },
224
+ {
225
+ indexed: false,
226
+ internalType: 'contract ComptrollerInterface',
227
+ name: 'oldComptroller',
228
+ type: 'address',
229
+ },
230
+ {
231
+ indexed: false,
232
+ internalType: 'contract ComptrollerInterface',
233
+ name: 'newComptroller',
234
+ type: 'address',
235
+ },
94
236
  ],
95
237
  name: 'NewComptroller',
96
238
  type: 'event',
@@ -98,8 +240,18 @@ export const COmpoundV2CEtherAbi = [
98
240
  {
99
241
  anonymous: false,
100
242
  inputs: [
101
- { indexed: false, internalType: 'contract InterestRateModel', name: 'oldInterestRateModel', type: 'address' },
102
- { indexed: false, internalType: 'contract InterestRateModel', name: 'newInterestRateModel', type: 'address' },
243
+ {
244
+ indexed: false,
245
+ internalType: 'contract InterestRateModel',
246
+ name: 'oldInterestRateModel',
247
+ type: 'address',
248
+ },
249
+ {
250
+ indexed: false,
251
+ internalType: 'contract InterestRateModel',
252
+ name: 'newInterestRateModel',
253
+ type: 'address',
254
+ },
103
255
  ],
104
256
  name: 'NewMarketInterestRateModel',
105
257
  type: 'event',
@@ -107,8 +259,18 @@ export const COmpoundV2CEtherAbi = [
107
259
  {
108
260
  anonymous: false,
109
261
  inputs: [
110
- { indexed: false, internalType: 'address', name: 'oldPendingAdmin', type: 'address' },
111
- { indexed: false, internalType: 'address', name: 'newPendingAdmin', type: 'address' },
262
+ {
263
+ indexed: false,
264
+ internalType: 'address',
265
+ name: 'oldPendingAdmin',
266
+ type: 'address',
267
+ },
268
+ {
269
+ indexed: false,
270
+ internalType: 'address',
271
+ name: 'newPendingAdmin',
272
+ type: 'address',
273
+ },
112
274
  ],
113
275
  name: 'NewPendingAdmin',
114
276
  type: 'event',
@@ -116,8 +278,18 @@ export const COmpoundV2CEtherAbi = [
116
278
  {
117
279
  anonymous: false,
118
280
  inputs: [
119
- { indexed: false, internalType: 'uint256', name: 'oldReserveFactorMantissa', type: 'uint256' },
120
- { indexed: false, internalType: 'uint256', name: 'newReserveFactorMantissa', type: 'uint256' },
281
+ {
282
+ indexed: false,
283
+ internalType: 'uint256',
284
+ name: 'oldReserveFactorMantissa',
285
+ type: 'uint256',
286
+ },
287
+ {
288
+ indexed: false,
289
+ internalType: 'uint256',
290
+ name: 'newReserveFactorMantissa',
291
+ type: 'uint256',
292
+ },
121
293
  ],
122
294
  name: 'NewReserveFactor',
123
295
  type: 'event',
@@ -125,9 +297,24 @@ export const COmpoundV2CEtherAbi = [
125
297
  {
126
298
  anonymous: false,
127
299
  inputs: [
128
- { indexed: false, internalType: 'address', name: 'redeemer', type: 'address' },
129
- { indexed: false, internalType: 'uint256', name: 'redeemAmount', type: 'uint256' },
130
- { indexed: false, internalType: 'uint256', name: 'redeemTokens', type: 'uint256' },
300
+ {
301
+ indexed: false,
302
+ internalType: 'address',
303
+ name: 'redeemer',
304
+ type: 'address',
305
+ },
306
+ {
307
+ indexed: false,
308
+ internalType: 'uint256',
309
+ name: 'redeemAmount',
310
+ type: 'uint256',
311
+ },
312
+ {
313
+ indexed: false,
314
+ internalType: 'uint256',
315
+ name: 'redeemTokens',
316
+ type: 'uint256',
317
+ },
131
318
  ],
132
319
  name: 'Redeem',
133
320
  type: 'event',
@@ -135,11 +322,36 @@ export const COmpoundV2CEtherAbi = [
135
322
  {
136
323
  anonymous: false,
137
324
  inputs: [
138
- { indexed: false, internalType: 'address', name: 'payer', type: 'address' },
139
- { indexed: false, internalType: 'address', name: 'borrower', type: 'address' },
140
- { indexed: false, internalType: 'uint256', name: 'repayAmount', type: 'uint256' },
141
- { indexed: false, internalType: 'uint256', name: 'accountBorrows', type: 'uint256' },
142
- { indexed: false, internalType: 'uint256', name: 'totalBorrows', type: 'uint256' },
325
+ {
326
+ indexed: false,
327
+ internalType: 'address',
328
+ name: 'payer',
329
+ type: 'address',
330
+ },
331
+ {
332
+ indexed: false,
333
+ internalType: 'address',
334
+ name: 'borrower',
335
+ type: 'address',
336
+ },
337
+ {
338
+ indexed: false,
339
+ internalType: 'uint256',
340
+ name: 'repayAmount',
341
+ type: 'uint256',
342
+ },
343
+ {
344
+ indexed: false,
345
+ internalType: 'uint256',
346
+ name: 'accountBorrows',
347
+ type: 'uint256',
348
+ },
349
+ {
350
+ indexed: false,
351
+ internalType: 'uint256',
352
+ name: 'totalBorrows',
353
+ type: 'uint256',
354
+ },
143
355
  ],
144
356
  name: 'RepayBorrow',
145
357
  type: 'event',
@@ -147,9 +359,24 @@ export const COmpoundV2CEtherAbi = [
147
359
  {
148
360
  anonymous: false,
149
361
  inputs: [
150
- { indexed: false, internalType: 'address', name: 'benefactor', type: 'address' },
151
- { indexed: false, internalType: 'uint256', name: 'addAmount', type: 'uint256' },
152
- { indexed: false, internalType: 'uint256', name: 'newTotalReserves', type: 'uint256' },
362
+ {
363
+ indexed: false,
364
+ internalType: 'address',
365
+ name: 'benefactor',
366
+ type: 'address',
367
+ },
368
+ {
369
+ indexed: false,
370
+ internalType: 'uint256',
371
+ name: 'addAmount',
372
+ type: 'uint256',
373
+ },
374
+ {
375
+ indexed: false,
376
+ internalType: 'uint256',
377
+ name: 'newTotalReserves',
378
+ type: 'uint256',
379
+ },
153
380
  ],
154
381
  name: 'ReservesAdded',
155
382
  type: 'event',
@@ -157,9 +384,24 @@ export const COmpoundV2CEtherAbi = [
157
384
  {
158
385
  anonymous: false,
159
386
  inputs: [
160
- { indexed: false, internalType: 'address', name: 'admin', type: 'address' },
161
- { indexed: false, internalType: 'uint256', name: 'reduceAmount', type: 'uint256' },
162
- { indexed: false, internalType: 'uint256', name: 'newTotalReserves', type: 'uint256' },
387
+ {
388
+ indexed: false,
389
+ internalType: 'address',
390
+ name: 'admin',
391
+ type: 'address',
392
+ },
393
+ {
394
+ indexed: false,
395
+ internalType: 'uint256',
396
+ name: 'reduceAmount',
397
+ type: 'uint256',
398
+ },
399
+ {
400
+ indexed: false,
401
+ internalType: 'uint256',
402
+ name: 'newTotalReserves',
403
+ type: 'uint256',
404
+ },
163
405
  ],
164
406
  name: 'ReservesReduced',
165
407
  type: 'event',
@@ -169,7 +411,12 @@ export const COmpoundV2CEtherAbi = [
169
411
  inputs: [
170
412
  { indexed: true, internalType: 'address', name: 'from', type: 'address' },
171
413
  { indexed: true, internalType: 'address', name: 'to', type: 'address' },
172
- { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
414
+ {
415
+ indexed: false,
416
+ internalType: 'uint256',
417
+ name: 'amount',
418
+ type: 'uint256',
419
+ },
173
420
  ],
174
421
  name: 'Transfer',
175
422
  type: 'event',
@@ -186,7 +433,9 @@ export const COmpoundV2CEtherAbi = [
186
433
  },
187
434
  {
188
435
  constant: false,
189
- inputs: [{ internalType: 'uint256', name: 'reduceAmount', type: 'uint256' }],
436
+ inputs: [
437
+ { internalType: 'uint256', name: 'reduceAmount', type: 'uint256' },
438
+ ],
190
439
  name: '_reduceReserves',
191
440
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
192
441
  payable: false,
@@ -195,7 +444,13 @@ export const COmpoundV2CEtherAbi = [
195
444
  },
196
445
  {
197
446
  constant: false,
198
- inputs: [{ internalType: 'contract ComptrollerInterface', name: 'newComptroller', type: 'address' }],
447
+ inputs: [
448
+ {
449
+ internalType: 'contract ComptrollerInterface',
450
+ name: 'newComptroller',
451
+ type: 'address',
452
+ },
453
+ ],
199
454
  name: '_setComptroller',
200
455
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
201
456
  payable: false,
@@ -204,7 +459,13 @@ export const COmpoundV2CEtherAbi = [
204
459
  },
205
460
  {
206
461
  constant: false,
207
- inputs: [{ internalType: 'contract InterestRateModel', name: 'newInterestRateModel', type: 'address' }],
462
+ inputs: [
463
+ {
464
+ internalType: 'contract InterestRateModel',
465
+ name: 'newInterestRateModel',
466
+ type: 'address',
467
+ },
468
+ ],
208
469
  name: '_setInterestRateModel',
209
470
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
210
471
  payable: false,
@@ -213,7 +474,13 @@ export const COmpoundV2CEtherAbi = [
213
474
  },
214
475
  {
215
476
  constant: false,
216
- inputs: [{ internalType: 'address payable', name: 'newPendingAdmin', type: 'address' }],
477
+ inputs: [
478
+ {
479
+ internalType: 'address payable',
480
+ name: 'newPendingAdmin',
481
+ type: 'address',
482
+ },
483
+ ],
217
484
  name: '_setPendingAdmin',
218
485
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
219
486
  payable: false,
@@ -222,7 +489,13 @@ export const COmpoundV2CEtherAbi = [
222
489
  },
223
490
  {
224
491
  constant: false,
225
- inputs: [{ internalType: 'uint256', name: 'newReserveFactorMantissa', type: 'uint256' }],
492
+ inputs: [
493
+ {
494
+ internalType: 'uint256',
495
+ name: 'newReserveFactorMantissa',
496
+ type: 'uint256',
497
+ },
498
+ ],
226
499
  name: '_setReserveFactor',
227
500
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
228
501
  payable: false,
@@ -300,7 +573,9 @@ export const COmpoundV2CEtherAbi = [
300
573
  },
301
574
  {
302
575
  constant: false,
303
- inputs: [{ internalType: 'uint256', name: 'borrowAmount', type: 'uint256' }],
576
+ inputs: [
577
+ { internalType: 'uint256', name: 'borrowAmount', type: 'uint256' },
578
+ ],
304
579
  name: 'borrow',
305
580
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
306
581
  payable: false,
@@ -347,7 +622,13 @@ export const COmpoundV2CEtherAbi = [
347
622
  constant: true,
348
623
  inputs: [],
349
624
  name: 'comptroller',
350
- outputs: [{ internalType: 'contract ComptrollerInterface', name: '', type: 'address' }],
625
+ outputs: [
626
+ {
627
+ internalType: 'contract ComptrollerInterface',
628
+ name: '',
629
+ type: 'address',
630
+ },
631
+ ],
351
632
  payable: false,
352
633
  stateMutability: 'view',
353
634
  type: 'function',
@@ -405,9 +686,21 @@ export const COmpoundV2CEtherAbi = [
405
686
  {
406
687
  constant: false,
407
688
  inputs: [
408
- { internalType: 'contract ComptrollerInterface', name: 'comptroller_', type: 'address' },
409
- { internalType: 'contract InterestRateModel', name: 'interestRateModel_', type: 'address' },
410
- { internalType: 'uint256', name: 'initialExchangeRateMantissa_', type: 'uint256' },
689
+ {
690
+ internalType: 'contract ComptrollerInterface',
691
+ name: 'comptroller_',
692
+ type: 'address',
693
+ },
694
+ {
695
+ internalType: 'contract InterestRateModel',
696
+ name: 'interestRateModel_',
697
+ type: 'address',
698
+ },
699
+ {
700
+ internalType: 'uint256',
701
+ name: 'initialExchangeRateMantissa_',
702
+ type: 'uint256',
703
+ },
411
704
  { internalType: 'string', name: 'name_', type: 'string' },
412
705
  { internalType: 'string', name: 'symbol_', type: 'string' },
413
706
  { internalType: 'uint8', name: 'decimals_', type: 'uint8' },
@@ -422,7 +715,9 @@ export const COmpoundV2CEtherAbi = [
422
715
  constant: true,
423
716
  inputs: [],
424
717
  name: 'interestRateModel',
425
- outputs: [{ internalType: 'contract InterestRateModel', name: '', type: 'address' }],
718
+ outputs: [
719
+ { internalType: 'contract InterestRateModel', name: '', type: 'address' },
720
+ ],
426
721
  payable: false,
427
722
  stateMutability: 'view',
428
723
  type: 'function',
@@ -440,7 +735,11 @@ export const COmpoundV2CEtherAbi = [
440
735
  constant: false,
441
736
  inputs: [
442
737
  { internalType: 'address', name: 'borrower', type: 'address' },
443
- { internalType: 'contract VToken', name: 'vTokenCollateral', type: 'address' },
738
+ {
739
+ internalType: 'contract VToken',
740
+ name: 'vTokenCollateral',
741
+ type: 'address',
742
+ },
444
743
  ],
445
744
  name: 'liquidateBorrow',
446
745
  outputs: [],
@@ -477,7 +776,9 @@ export const COmpoundV2CEtherAbi = [
477
776
  },
478
777
  {
479
778
  constant: false,
480
- inputs: [{ internalType: 'uint256', name: 'redeemTokens', type: 'uint256' }],
779
+ inputs: [
780
+ { internalType: 'uint256', name: 'redeemTokens', type: 'uint256' },
781
+ ],
481
782
  name: 'redeem',
482
783
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
483
784
  payable: false,
@@ -486,7 +787,9 @@ export const COmpoundV2CEtherAbi = [
486
787
  },
487
788
  {
488
789
  constant: false,
489
- inputs: [{ internalType: 'uint256', name: 'redeemAmount', type: 'uint256' }],
790
+ inputs: [
791
+ { internalType: 'uint256', name: 'redeemAmount', type: 'uint256' },
792
+ ],
490
793
  name: 'redeemUnderlying',
491
794
  outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
492
795
  payable: false,
@@ -1,3 +1,3 @@
1
1
  export { venusCompoundV2ComptrollerAbi } from './comptroller.js';
2
- export { COmpoundV2CEtherAbi } from './c-ether.js';
2
+ export { CompoundV2CEtherAbi } from './c-ether.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export { venusCompoundV2ComptrollerAbi } from './comptroller.js';
2
- export { COmpoundV2CEtherAbi } from './c-ether.js';
2
+ export { CompoundV2CEtherAbi } from './c-ether.js';
@@ -0,0 +1,3 @@
1
+ export { FluidLendingResolverAbi } from './lendingResolver.js';
2
+ export { FluidVaultResolverAbi } from './vaultResolver.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fluid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { FluidLendingResolverAbi } from './lendingResolver.js';
2
+ export { FluidVaultResolverAbi } from './vaultResolver.js';