@1delta/abis 0.0.1 → 0.0.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.
Files changed (65) hide show
  1. package/dist/aave/index.d.ts +3 -0
  2. package/dist/aave/index.d.ts.map +1 -0
  3. package/dist/aave/index.js +2 -0
  4. package/dist/aave/pool.d.ts +1657 -0
  5. package/dist/aave/pool.d.ts.map +1 -0
  6. package/dist/aave/pool.js +883 -0
  7. package/dist/aave/weth-gateway.d.ts +189 -0
  8. package/dist/aave/weth-gateway.d.ts.map +1 -0
  9. package/dist/aave/weth-gateway.js +114 -0
  10. package/dist/compound-v2/c-ether.d.ts +1032 -0
  11. package/dist/compound-v2/c-ether.d.ts.map +1 -0
  12. package/dist/compound-v2/c-ether.js +615 -0
  13. package/dist/compound-v2/comptroller.d.ts +1419 -0
  14. package/dist/compound-v2/comptroller.d.ts.map +1 -0
  15. package/dist/compound-v2/comptroller.js +789 -0
  16. package/dist/compound-v2/index.d.ts +3 -0
  17. package/dist/compound-v2/index.d.ts.map +1 -0
  18. package/dist/compound-v2/index.js +2 -0
  19. package/dist/compound-v3/comet.d.ts +1505 -0
  20. package/dist/compound-v3/comet.d.ts.map +1 -0
  21. package/dist/compound-v3/comet.js +790 -0
  22. package/dist/compound-v3/index.d.ts +2 -0
  23. package/dist/compound-v3/index.d.ts.map +1 -0
  24. package/dist/compound-v3/index.js +1 -0
  25. package/dist/erc20/index.d.ts +2 -0
  26. package/dist/erc20/index.d.ts.map +1 -0
  27. package/dist/erc20/index.js +1 -0
  28. package/dist/index.d.ts +8 -0
  29. package/dist/index.d.ts.map +1 -0
  30. package/dist/index.js +7 -0
  31. package/dist/morpho/blue.d.ts +1193 -0
  32. package/dist/morpho/blue.d.ts.map +1 -0
  33. package/dist/morpho/blue.js +612 -0
  34. package/dist/morpho/index.d.ts +3 -0
  35. package/dist/morpho/index.d.ts.map +1 -0
  36. package/{src/morpho/index.ts → dist/morpho/index.js} +2 -2
  37. package/dist/morpho/lens.d.ts +128 -0
  38. package/dist/morpho/lens.d.ts.map +1 -0
  39. package/dist/morpho/lens.js +129 -0
  40. package/dist/permissions/index.d.ts +566 -0
  41. package/dist/permissions/index.d.ts.map +1 -0
  42. package/dist/permissions/index.js +715 -0
  43. package/dist/silo-v2/index.d.ts +2 -0
  44. package/dist/silo-v2/index.d.ts.map +1 -0
  45. package/dist/silo-v2/index.js +1 -0
  46. package/dist/silo-v2/silo.d.ts +1980 -0
  47. package/dist/silo-v2/silo.d.ts.map +1 -0
  48. package/dist/silo-v2/silo.js +1031 -0
  49. package/package.json +12 -5
  50. package/src/aave/index.ts +0 -2
  51. package/src/aave/pool.ts +0 -883
  52. package/src/aave/weth-gateway.ts +0 -114
  53. package/src/compound-v2/c-ether.ts +0 -615
  54. package/src/compound-v2/comptroller.ts +0 -789
  55. package/src/compound-v2/index.ts +0 -2
  56. package/src/compound-v3/comet.ts +0 -790
  57. package/src/compound-v3/index.ts +0 -1
  58. package/src/erc20/index.ts +0 -1
  59. package/src/index.ts +0 -10
  60. package/src/morpho/blue.ts +0 -612
  61. package/src/morpho/lens.ts +0 -129
  62. package/src/permissions/index.ts +0 -718
  63. package/src/silo-v2/index.ts +0 -1
  64. package/src/silo-v2/silo.ts +0 -1031
  65. package/tsconfig.json +0 -20
@@ -1,615 +0,0 @@
1
- export const COmpoundV2CEtherAbi = [
2
- {
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' },
7
- { internalType: 'string', name: 'name_', type: 'string' },
8
- { internalType: 'string', name: 'symbol_', type: 'string' },
9
- { internalType: 'uint8', name: 'decimals_', type: 'uint8' },
10
- { internalType: 'address payable', name: 'admin_', type: 'address' },
11
- ],
12
- payable: false,
13
- stateMutability: 'nonpayable',
14
- type: 'constructor',
15
- },
16
- {
17
- anonymous: false,
18
- 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' },
23
- ],
24
- name: 'AccrueInterest',
25
- type: 'event',
26
- },
27
- {
28
- anonymous: false,
29
- 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' },
33
- ],
34
- name: 'Approval',
35
- type: 'event',
36
- },
37
- {
38
- anonymous: false,
39
- 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' },
44
- ],
45
- name: 'Borrow',
46
- type: 'event',
47
- },
48
- {
49
- anonymous: false,
50
- 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' },
54
- ],
55
- name: 'Failure',
56
- type: 'event',
57
- },
58
- {
59
- anonymous: false,
60
- 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' },
66
- ],
67
- name: 'LiquidateBorrow',
68
- type: 'event',
69
- },
70
- {
71
- anonymous: false,
72
- 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' },
76
- ],
77
- name: 'Mint',
78
- type: 'event',
79
- },
80
- {
81
- anonymous: false,
82
- inputs: [
83
- { indexed: false, internalType: 'address', name: 'oldAdmin', type: 'address' },
84
- { indexed: false, internalType: 'address', name: 'newAdmin', type: 'address' },
85
- ],
86
- name: 'NewAdmin',
87
- type: 'event',
88
- },
89
- {
90
- anonymous: false,
91
- inputs: [
92
- { indexed: false, internalType: 'contract ComptrollerInterface', name: 'oldComptroller', type: 'address' },
93
- { indexed: false, internalType: 'contract ComptrollerInterface', name: 'newComptroller', type: 'address' },
94
- ],
95
- name: 'NewComptroller',
96
- type: 'event',
97
- },
98
- {
99
- anonymous: false,
100
- inputs: [
101
- { indexed: false, internalType: 'contract InterestRateModel', name: 'oldInterestRateModel', type: 'address' },
102
- { indexed: false, internalType: 'contract InterestRateModel', name: 'newInterestRateModel', type: 'address' },
103
- ],
104
- name: 'NewMarketInterestRateModel',
105
- type: 'event',
106
- },
107
- {
108
- anonymous: false,
109
- inputs: [
110
- { indexed: false, internalType: 'address', name: 'oldPendingAdmin', type: 'address' },
111
- { indexed: false, internalType: 'address', name: 'newPendingAdmin', type: 'address' },
112
- ],
113
- name: 'NewPendingAdmin',
114
- type: 'event',
115
- },
116
- {
117
- anonymous: false,
118
- inputs: [
119
- { indexed: false, internalType: 'uint256', name: 'oldReserveFactorMantissa', type: 'uint256' },
120
- { indexed: false, internalType: 'uint256', name: 'newReserveFactorMantissa', type: 'uint256' },
121
- ],
122
- name: 'NewReserveFactor',
123
- type: 'event',
124
- },
125
- {
126
- anonymous: false,
127
- 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' },
131
- ],
132
- name: 'Redeem',
133
- type: 'event',
134
- },
135
- {
136
- anonymous: false,
137
- 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' },
143
- ],
144
- name: 'RepayBorrow',
145
- type: 'event',
146
- },
147
- {
148
- anonymous: false,
149
- 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' },
153
- ],
154
- name: 'ReservesAdded',
155
- type: 'event',
156
- },
157
- {
158
- anonymous: false,
159
- 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' },
163
- ],
164
- name: 'ReservesReduced',
165
- type: 'event',
166
- },
167
- {
168
- anonymous: false,
169
- inputs: [
170
- { indexed: true, internalType: 'address', name: 'from', type: 'address' },
171
- { indexed: true, internalType: 'address', name: 'to', type: 'address' },
172
- { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
173
- ],
174
- name: 'Transfer',
175
- type: 'event',
176
- },
177
- { payable: true, stateMutability: 'payable', type: 'fallback' },
178
- {
179
- constant: false,
180
- inputs: [],
181
- name: '_acceptAdmin',
182
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
183
- payable: false,
184
- stateMutability: 'nonpayable',
185
- type: 'function',
186
- },
187
- {
188
- constant: false,
189
- inputs: [{ internalType: 'uint256', name: 'reduceAmount', type: 'uint256' }],
190
- name: '_reduceReserves',
191
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
192
- payable: false,
193
- stateMutability: 'nonpayable',
194
- type: 'function',
195
- },
196
- {
197
- constant: false,
198
- inputs: [{ internalType: 'contract ComptrollerInterface', name: 'newComptroller', type: 'address' }],
199
- name: '_setComptroller',
200
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
201
- payable: false,
202
- stateMutability: 'nonpayable',
203
- type: 'function',
204
- },
205
- {
206
- constant: false,
207
- inputs: [{ internalType: 'contract InterestRateModel', name: 'newInterestRateModel', type: 'address' }],
208
- name: '_setInterestRateModel',
209
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
210
- payable: false,
211
- stateMutability: 'nonpayable',
212
- type: 'function',
213
- },
214
- {
215
- constant: false,
216
- inputs: [{ internalType: 'address payable', name: 'newPendingAdmin', type: 'address' }],
217
- name: '_setPendingAdmin',
218
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
219
- payable: false,
220
- stateMutability: 'nonpayable',
221
- type: 'function',
222
- },
223
- {
224
- constant: false,
225
- inputs: [{ internalType: 'uint256', name: 'newReserveFactorMantissa', type: 'uint256' }],
226
- name: '_setReserveFactor',
227
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
228
- payable: false,
229
- stateMutability: 'nonpayable',
230
- type: 'function',
231
- },
232
- {
233
- constant: true,
234
- inputs: [],
235
- name: 'accrualBlockNumber',
236
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
237
- payable: false,
238
- stateMutability: 'view',
239
- type: 'function',
240
- },
241
- {
242
- constant: false,
243
- inputs: [],
244
- name: 'accrueInterest',
245
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
246
- payable: false,
247
- stateMutability: 'nonpayable',
248
- type: 'function',
249
- },
250
- {
251
- constant: true,
252
- inputs: [],
253
- name: 'admin',
254
- outputs: [{ internalType: 'address payable', name: '', type: 'address' }],
255
- payable: false,
256
- stateMutability: 'view',
257
- type: 'function',
258
- },
259
- {
260
- constant: true,
261
- inputs: [
262
- { internalType: 'address', name: 'owner', type: 'address' },
263
- { internalType: 'address', name: 'spender', type: 'address' },
264
- ],
265
- name: 'allowance',
266
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
267
- payable: false,
268
- stateMutability: 'view',
269
- type: 'function',
270
- },
271
- {
272
- constant: false,
273
- inputs: [
274
- { internalType: 'address', name: 'spender', type: 'address' },
275
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
276
- ],
277
- name: 'approve',
278
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
279
- payable: false,
280
- stateMutability: 'nonpayable',
281
- type: 'function',
282
- },
283
- {
284
- constant: true,
285
- inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
286
- name: 'balanceOf',
287
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
288
- payable: false,
289
- stateMutability: 'view',
290
- type: 'function',
291
- },
292
- {
293
- constant: false,
294
- inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
295
- name: 'balanceOfUnderlying',
296
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
297
- payable: false,
298
- stateMutability: 'nonpayable',
299
- type: 'function',
300
- },
301
- {
302
- constant: false,
303
- inputs: [{ internalType: 'uint256', name: 'borrowAmount', type: 'uint256' }],
304
- name: 'borrow',
305
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
306
- payable: false,
307
- stateMutability: 'nonpayable',
308
- type: 'function',
309
- },
310
- {
311
- constant: false,
312
- inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
313
- name: 'borrowBalanceCurrent',
314
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
315
- payable: false,
316
- stateMutability: 'nonpayable',
317
- type: 'function',
318
- },
319
- {
320
- constant: true,
321
- inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
322
- name: 'borrowBalanceStored',
323
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
324
- payable: false,
325
- stateMutability: 'view',
326
- type: 'function',
327
- },
328
- {
329
- constant: true,
330
- inputs: [],
331
- name: 'borrowIndex',
332
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
333
- payable: false,
334
- stateMutability: 'view',
335
- type: 'function',
336
- },
337
- {
338
- constant: true,
339
- inputs: [],
340
- name: 'borrowRatePerBlock',
341
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
342
- payable: false,
343
- stateMutability: 'view',
344
- type: 'function',
345
- },
346
- {
347
- constant: true,
348
- inputs: [],
349
- name: 'comptroller',
350
- outputs: [{ internalType: 'contract ComptrollerInterface', name: '', type: 'address' }],
351
- payable: false,
352
- stateMutability: 'view',
353
- type: 'function',
354
- },
355
- {
356
- constant: true,
357
- inputs: [],
358
- name: 'decimals',
359
- outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
360
- payable: false,
361
- stateMutability: 'view',
362
- type: 'function',
363
- },
364
- {
365
- constant: false,
366
- inputs: [],
367
- name: 'exchangeRateCurrent',
368
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
369
- payable: false,
370
- stateMutability: 'nonpayable',
371
- type: 'function',
372
- },
373
- {
374
- constant: true,
375
- inputs: [],
376
- name: 'exchangeRateStored',
377
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
378
- payable: false,
379
- stateMutability: 'view',
380
- type: 'function',
381
- },
382
- {
383
- constant: true,
384
- inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
385
- name: 'getAccountSnapshot',
386
- outputs: [
387
- { internalType: 'uint256', name: '', type: 'uint256' },
388
- { internalType: 'uint256', name: '', type: 'uint256' },
389
- { internalType: 'uint256', name: '', type: 'uint256' },
390
- { internalType: 'uint256', name: '', type: 'uint256' },
391
- ],
392
- payable: false,
393
- stateMutability: 'view',
394
- type: 'function',
395
- },
396
- {
397
- constant: true,
398
- inputs: [],
399
- name: 'getCash',
400
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
401
- payable: false,
402
- stateMutability: 'view',
403
- type: 'function',
404
- },
405
- {
406
- constant: false,
407
- inputs: [
408
- { internalType: 'contract ComptrollerInterface', name: 'comptroller_', type: 'address' },
409
- { internalType: 'contract InterestRateModel', name: 'interestRateModel_', type: 'address' },
410
- { internalType: 'uint256', name: 'initialExchangeRateMantissa_', type: 'uint256' },
411
- { internalType: 'string', name: 'name_', type: 'string' },
412
- { internalType: 'string', name: 'symbol_', type: 'string' },
413
- { internalType: 'uint8', name: 'decimals_', type: 'uint8' },
414
- ],
415
- name: 'initialize',
416
- outputs: [],
417
- payable: false,
418
- stateMutability: 'nonpayable',
419
- type: 'function',
420
- },
421
- {
422
- constant: true,
423
- inputs: [],
424
- name: 'interestRateModel',
425
- outputs: [{ internalType: 'contract InterestRateModel', name: '', type: 'address' }],
426
- payable: false,
427
- stateMutability: 'view',
428
- type: 'function',
429
- },
430
- {
431
- constant: true,
432
- inputs: [],
433
- name: 'isVToken',
434
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
435
- payable: false,
436
- stateMutability: 'view',
437
- type: 'function',
438
- },
439
- {
440
- constant: false,
441
- inputs: [
442
- { internalType: 'address', name: 'borrower', type: 'address' },
443
- { internalType: 'contract VToken', name: 'vTokenCollateral', type: 'address' },
444
- ],
445
- name: 'liquidateBorrow',
446
- outputs: [],
447
- payable: true,
448
- stateMutability: 'payable',
449
- type: 'function',
450
- },
451
- {
452
- constant: false,
453
- inputs: [],
454
- name: 'mint',
455
- outputs: [],
456
- payable: true,
457
- stateMutability: 'payable',
458
- type: 'function',
459
- },
460
- {
461
- constant: true,
462
- inputs: [],
463
- name: 'name',
464
- outputs: [{ internalType: 'string', name: '', type: 'string' }],
465
- payable: false,
466
- stateMutability: 'view',
467
- type: 'function',
468
- },
469
- {
470
- constant: true,
471
- inputs: [],
472
- name: 'pendingAdmin',
473
- outputs: [{ internalType: 'address payable', name: '', type: 'address' }],
474
- payable: false,
475
- stateMutability: 'view',
476
- type: 'function',
477
- },
478
- {
479
- constant: false,
480
- inputs: [{ internalType: 'uint256', name: 'redeemTokens', type: 'uint256' }],
481
- name: 'redeem',
482
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
483
- payable: false,
484
- stateMutability: 'nonpayable',
485
- type: 'function',
486
- },
487
- {
488
- constant: false,
489
- inputs: [{ internalType: 'uint256', name: 'redeemAmount', type: 'uint256' }],
490
- name: 'redeemUnderlying',
491
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
492
- payable: false,
493
- stateMutability: 'nonpayable',
494
- type: 'function',
495
- },
496
- {
497
- constant: false,
498
- inputs: [],
499
- name: 'repayBorrow',
500
- outputs: [],
501
- payable: true,
502
- stateMutability: 'payable',
503
- type: 'function',
504
- },
505
- {
506
- constant: false,
507
- inputs: [{ internalType: 'address', name: 'borrower', type: 'address' }],
508
- name: 'repayBorrowBehalf',
509
- outputs: [],
510
- payable: true,
511
- stateMutability: 'payable',
512
- type: 'function',
513
- },
514
- {
515
- constant: true,
516
- inputs: [],
517
- name: 'reserveFactorMantissa',
518
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
519
- payable: false,
520
- stateMutability: 'view',
521
- type: 'function',
522
- },
523
- {
524
- constant: false,
525
- inputs: [
526
- { internalType: 'address', name: 'liquidator', type: 'address' },
527
- { internalType: 'address', name: 'borrower', type: 'address' },
528
- { internalType: 'uint256', name: 'seizeTokens', type: 'uint256' },
529
- ],
530
- name: 'seize',
531
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
532
- payable: false,
533
- stateMutability: 'nonpayable',
534
- type: 'function',
535
- },
536
- {
537
- constant: true,
538
- inputs: [],
539
- name: 'supplyRatePerBlock',
540
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
541
- payable: false,
542
- stateMutability: 'view',
543
- type: 'function',
544
- },
545
- {
546
- constant: true,
547
- inputs: [],
548
- name: 'symbol',
549
- outputs: [{ internalType: 'string', name: '', type: 'string' }],
550
- payable: false,
551
- stateMutability: 'view',
552
- type: 'function',
553
- },
554
- {
555
- constant: true,
556
- inputs: [],
557
- name: 'totalBorrows',
558
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
559
- payable: false,
560
- stateMutability: 'view',
561
- type: 'function',
562
- },
563
- {
564
- constant: false,
565
- inputs: [],
566
- name: 'totalBorrowsCurrent',
567
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
568
- payable: false,
569
- stateMutability: 'nonpayable',
570
- type: 'function',
571
- },
572
- {
573
- constant: true,
574
- inputs: [],
575
- name: 'totalReserves',
576
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
577
- payable: false,
578
- stateMutability: 'view',
579
- type: 'function',
580
- },
581
- {
582
- constant: true,
583
- inputs: [],
584
- name: 'totalSupply',
585
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
586
- payable: false,
587
- stateMutability: 'view',
588
- type: 'function',
589
- },
590
- {
591
- constant: false,
592
- inputs: [
593
- { internalType: 'address', name: 'dst', type: 'address' },
594
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
595
- ],
596
- name: 'transfer',
597
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
598
- payable: false,
599
- stateMutability: 'nonpayable',
600
- type: 'function',
601
- },
602
- {
603
- constant: false,
604
- inputs: [
605
- { internalType: 'address', name: 'src', type: 'address' },
606
- { internalType: 'address', name: 'dst', type: 'address' },
607
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
608
- ],
609
- name: 'transferFrom',
610
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
611
- payable: false,
612
- stateMutability: 'nonpayable',
613
- type: 'function',
614
- },
615
- ] as const