web3-wizzard-lib 1.6.4__py3-none-any.whl → 1.6.5__py3-none-any.whl

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 (107) hide show
  1. web3-wizzard-lib/core/modules/swap/swap_list.py +1 -1
  2. web3-wizzard-lib/launcher.py +1 -1
  3. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/METADATA +2 -2
  4. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/RECORD +7 -107
  5. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/top_level.txt +1 -0
  6. web3-wizzard-lib/resources/abi/aave.json +0 -282
  7. web3-wizzard-lib/resources/abi/abbysworld.json +0 -1113
  8. web3-wizzard-lib/resources/abi/arena_games.json +0 -15
  9. web3-wizzard-lib/resources/abi/asmatch.json +0 -1113
  10. web3-wizzard-lib/resources/abi/basiliks.json +0 -1467
  11. web3-wizzard-lib/resources/abi/bilinear.json +0 -1375
  12. web3-wizzard-lib/resources/abi/bungee.json +0 -525
  13. web3-wizzard-lib/resources/abi/coredao.json +0 -1068
  14. web3-wizzard-lib/resources/abi/coredao_bridge.json +0 -1012
  15. web3-wizzard-lib/resources/abi/dmail.json +0 -964
  16. web3-wizzard-lib/resources/abi/empty_nft.json +0 -1131
  17. web3-wizzard-lib/resources/abi/era_ns.json +0 -878
  18. web3-wizzard-lib/resources/abi/eralend.json +0 -1221
  19. web3-wizzard-lib/resources/abi/erc20.json +0 -801
  20. web3-wizzard-lib/resources/abi/erc20_test.json +0 -337
  21. web3-wizzard-lib/resources/abi/eth_scroll_bridge.json +0 -675
  22. web3-wizzard-lib/resources/abi/frog_war_contract.json +0 -1943
  23. web3-wizzard-lib/resources/abi/gmx_reward_router.json +0 -749
  24. web3-wizzard-lib/resources/abi/horizondex.json +0 -413
  25. web3-wizzard-lib/resources/abi/horizondex_quoter.json +0 -273
  26. web3-wizzard-lib/resources/abi/imagine.json +0 -457
  27. web3-wizzard-lib/resources/abi/izumi.json +0 -532
  28. web3-wizzard-lib/resources/abi/kreatorland.json +0 -500
  29. web3-wizzard-lib/resources/abi/layerbank.json +0 -1240
  30. web3-wizzard-lib/resources/abi/layerbank_price.json +0 -354
  31. web3-wizzard-lib/resources/abi/layerbank_token.json +0 -1124
  32. web3-wizzard-lib/resources/abi/linea_day_2.json +0 -933
  33. web3-wizzard-lib/resources/abi/linea_day_3.json +0 -1804
  34. web3-wizzard-lib/resources/abi/linea_ens_names.json +0 -1000
  35. web3-wizzard-lib/resources/abi/lineaswap_router.json +0 -973
  36. web3-wizzard-lib/resources/abi/maverick_ipool.json +0 -942
  37. web3-wizzard-lib/resources/abi/maverick_multicall.json +0 -1082
  38. web3-wizzard-lib/resources/abi/mendi_token.json +0 -1690
  39. web3-wizzard-lib/resources/abi/merkly.json +0 -787
  40. web3-wizzard-lib/resources/abi/micro3.json +0 -1054
  41. web3-wizzard-lib/resources/abi/mute_router.json +0 -856
  42. web3-wizzard-lib/resources/abi/new_rage_abi.json +0 -1944
  43. web3-wizzard-lib/resources/abi/nidus.json +0 -1017
  44. web3-wizzard-lib/resources/abi/nile_pool.json +0 -1313
  45. web3-wizzard-lib/resources/abi/nomis.json +0 -1601
  46. web3-wizzard-lib/resources/abi/nomis_attest.json +0 -710
  47. web3-wizzard-lib/resources/abi/octomos.json +0 -408
  48. web3-wizzard-lib/resources/abi/omnisea.json +0 -175
  49. web3-wizzard-lib/resources/abi/orbiter_starknet.json +0 -48
  50. web3-wizzard-lib/resources/abi/pancake/factory.json +0 -450
  51. web3-wizzard-lib/resources/abi/pancake/pool.json +0 -713
  52. web3-wizzard-lib/resources/abi/pancake/quoter.json +0 -285
  53. web3-wizzard-lib/resources/abi/pancake/router.json +0 -1271
  54. web3-wizzard-lib/resources/abi/rage_claim.json +0 -218
  55. web3-wizzard-lib/resources/abi/reactor_fusion.json +0 -1479
  56. web3-wizzard-lib/resources/abi/readon.json +0 -71
  57. web3-wizzard-lib/resources/abi/rubyscore.json +0 -698
  58. web3-wizzard-lib/resources/abi/satoshi_universe.json +0 -301
  59. web3-wizzard-lib/resources/abi/scroll_bridge.json +0 -666
  60. web3-wizzard-lib/resources/abi/scroll_canvas_mint.json +0 -602
  61. web3-wizzard-lib/resources/abi/scroll_oracle.json +0 -714
  62. web3-wizzard-lib/resources/abi/snap.json +0 -622
  63. web3-wizzard-lib/resources/abi/socialscan.json +0 -884
  64. web3-wizzard-lib/resources/abi/stargate_farming.json +0 -494
  65. web3-wizzard-lib/resources/abi/stargate_router.json +0 -1341
  66. web3-wizzard-lib/resources/abi/stargate_swapETH_abi.json +0 -106
  67. web3-wizzard-lib/resources/abi/stargate_token_pool.json +0 -1940
  68. web3-wizzard-lib/resources/abi/stargate_v2.json +0 -1936
  69. web3-wizzard-lib/resources/abi/syncswap_classic_pool.json +0 -151
  70. web3-wizzard-lib/resources/abi/syncswap_classic_pool_factory.json +0 -151
  71. web3-wizzard-lib/resources/abi/syncswap_pool.json +0 -924
  72. web3-wizzard-lib/resources/abi/syncswap_router.json +0 -1178
  73. web3-wizzard-lib/resources/abi/syncswap_stable_pool.json +0 -950
  74. web3-wizzard-lib/resources/abi/tavaera.json +0 -586
  75. web3-wizzard-lib/resources/abi/tavaera_id.json +0 -724
  76. web3-wizzard-lib/resources/abi/townstory.json +0 -391
  77. web3-wizzard-lib/resources/abi/townstory_bonus.json +0 -279
  78. web3-wizzard-lib/resources/abi/uniswap_abi.json +0 -193
  79. web3-wizzard-lib/resources/abi/velocore.json +0 -1008
  80. web3-wizzard-lib/resources/abi/velocore_lens.json +0 -1030
  81. web3-wizzard-lib/resources/abi/velocore_pool.json +0 -490
  82. web3-wizzard-lib/resources/abi/velocore_vault.json +0 -1272
  83. web3-wizzard-lib/resources/abi/weth.json +0 -279
  84. web3-wizzard-lib/resources/abi/woofi.json +0 -400
  85. web3-wizzard-lib/resources/abi/yoddlo.json +0 -67
  86. web3-wizzard-lib/resources/abi/zebra.json +0 -1075
  87. web3-wizzard-lib/resources/abi/zerolend.json +0 -282
  88. web3-wizzard-lib/resources/abi/zerolend_liquidity.json +0 -1038
  89. web3-wizzard-lib/resources/abi/zkdx_data.json +0 -436
  90. web3-wizzard-lib/resources/abi/zks.json +0 -671
  91. web3-wizzard-lib/resources/banner.txt +0 -7
  92. web3-wizzard-lib/resources/goerli/contracts.json +0 -48
  93. web3-wizzard-lib/resources/goerli/networks.json +0 -139
  94. web3-wizzard-lib/resources/goerli/pairs.json +0 -113
  95. web3-wizzard-lib/resources/goerli/tokens.json +0 -40
  96. web3-wizzard-lib/resources/linea_appeal.txt +0 -0
  97. web3-wizzard-lib/resources/local/contracts.json +0 -150
  98. web3-wizzard-lib/resources/local/networks.json +0 -119
  99. web3-wizzard-lib/resources/local/pairs.json +0 -451
  100. web3-wizzard-lib/resources/local/tokens.json +0 -88
  101. web3-wizzard-lib/resources/main/contracts.json +0 -231
  102. web3-wizzard-lib/resources/main/networks.json +0 -272
  103. web3-wizzard-lib/resources/main/pairs.json +0 -516
  104. web3-wizzard-lib/resources/main/tokens.json +0 -119
  105. web3-wizzard-lib/resources/verify_data.json +0 -1243
  106. {web3_wizzard_lib-1.6.4.data → web3_wizzard_lib-1.6.5.data}/data/requirements.txt +0 -0
  107. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/WHEEL +0 -0
@@ -1,1124 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "anonymous": false,
9
- "inputs": [
10
- {
11
- "indexed": true,
12
- "internalType": "address",
13
- "name": "owner",
14
- "type": "address"
15
- },
16
- {
17
- "indexed": true,
18
- "internalType": "address",
19
- "name": "spender",
20
- "type": "address"
21
- },
22
- {
23
- "indexed": false,
24
- "internalType": "uint256",
25
- "name": "amount",
26
- "type": "uint256"
27
- }
28
- ],
29
- "name": "Approval",
30
- "type": "event"
31
- },
32
- {
33
- "anonymous": false,
34
- "inputs": [
35
- {
36
- "indexed": false,
37
- "internalType": "address",
38
- "name": "account",
39
- "type": "address"
40
- },
41
- {
42
- "indexed": false,
43
- "internalType": "uint256",
44
- "name": "ammount",
45
- "type": "uint256"
46
- },
47
- {
48
- "indexed": false,
49
- "internalType": "uint256",
50
- "name": "accountBorrow",
51
- "type": "uint256"
52
- }
53
- ],
54
- "name": "Borrow",
55
- "type": "event"
56
- },
57
- {
58
- "anonymous": false,
59
- "inputs": [
60
- {
61
- "indexed": false,
62
- "internalType": "address",
63
- "name": "liquidator",
64
- "type": "address"
65
- },
66
- {
67
- "indexed": false,
68
- "internalType": "address",
69
- "name": "borrower",
70
- "type": "address"
71
- },
72
- {
73
- "indexed": false,
74
- "internalType": "uint256",
75
- "name": "amount",
76
- "type": "uint256"
77
- },
78
- {
79
- "indexed": false,
80
- "internalType": "address",
81
- "name": "gTokenCollateral",
82
- "type": "address"
83
- },
84
- {
85
- "indexed": false,
86
- "internalType": "uint256",
87
- "name": "seizeAmount",
88
- "type": "uint256"
89
- }
90
- ],
91
- "name": "LiquidateBorrow",
92
- "type": "event"
93
- },
94
- {
95
- "anonymous": false,
96
- "inputs": [
97
- {
98
- "indexed": false,
99
- "internalType": "address",
100
- "name": "minter",
101
- "type": "address"
102
- },
103
- {
104
- "indexed": false,
105
- "internalType": "uint256",
106
- "name": "mintAmount",
107
- "type": "uint256"
108
- }
109
- ],
110
- "name": "Mint",
111
- "type": "event"
112
- },
113
- {
114
- "anonymous": false,
115
- "inputs": [
116
- {
117
- "indexed": true,
118
- "internalType": "address",
119
- "name": "previousOwner",
120
- "type": "address"
121
- },
122
- {
123
- "indexed": true,
124
- "internalType": "address",
125
- "name": "newOwner",
126
- "type": "address"
127
- }
128
- ],
129
- "name": "OwnershipTransferred",
130
- "type": "event"
131
- },
132
- {
133
- "anonymous": false,
134
- "inputs": [
135
- {
136
- "indexed": false,
137
- "internalType": "address",
138
- "name": "account",
139
- "type": "address"
140
- },
141
- {
142
- "indexed": false,
143
- "internalType": "uint256",
144
- "name": "underlyingAmount",
145
- "type": "uint256"
146
- },
147
- {
148
- "indexed": false,
149
- "internalType": "uint256",
150
- "name": "gTokenAmount",
151
- "type": "uint256"
152
- }
153
- ],
154
- "name": "Redeem",
155
- "type": "event"
156
- },
157
- {
158
- "anonymous": false,
159
- "inputs": [
160
- {
161
- "indexed": false,
162
- "internalType": "address",
163
- "name": "payer",
164
- "type": "address"
165
- },
166
- {
167
- "indexed": false,
168
- "internalType": "address",
169
- "name": "borrower",
170
- "type": "address"
171
- },
172
- {
173
- "indexed": false,
174
- "internalType": "uint256",
175
- "name": "amount",
176
- "type": "uint256"
177
- },
178
- {
179
- "indexed": false,
180
- "internalType": "uint256",
181
- "name": "accountBorrow",
182
- "type": "uint256"
183
- }
184
- ],
185
- "name": "RepayBorrow",
186
- "type": "event"
187
- },
188
- {
189
- "anonymous": false,
190
- "inputs": [
191
- {
192
- "indexed": true,
193
- "internalType": "address",
194
- "name": "from",
195
- "type": "address"
196
- },
197
- {
198
- "indexed": true,
199
- "internalType": "address",
200
- "name": "to",
201
- "type": "address"
202
- },
203
- {
204
- "indexed": false,
205
- "internalType": "uint256",
206
- "name": "amount",
207
- "type": "uint256"
208
- }
209
- ],
210
- "name": "Transfer",
211
- "type": "event"
212
- },
213
- {
214
- "inputs": [],
215
- "name": "_totalBorrow",
216
- "outputs": [
217
- {
218
- "internalType": "uint256",
219
- "name": "",
220
- "type": "uint256"
221
- }
222
- ],
223
- "stateMutability": "view",
224
- "type": "function"
225
- },
226
- {
227
- "inputs": [],
228
- "name": "accInterestIndex",
229
- "outputs": [
230
- {
231
- "internalType": "uint256",
232
- "name": "",
233
- "type": "uint256"
234
- }
235
- ],
236
- "stateMutability": "view",
237
- "type": "function"
238
- },
239
- {
240
- "inputs": [
241
- {
242
- "internalType": "address",
243
- "name": "account",
244
- "type": "address"
245
- }
246
- ],
247
- "name": "accountSnapshot",
248
- "outputs": [
249
- {
250
- "components": [
251
- {
252
- "internalType": "uint256",
253
- "name": "gTokenBalance",
254
- "type": "uint256"
255
- },
256
- {
257
- "internalType": "uint256",
258
- "name": "borrowBalance",
259
- "type": "uint256"
260
- },
261
- {
262
- "internalType": "uint256",
263
- "name": "exchangeRate",
264
- "type": "uint256"
265
- }
266
- ],
267
- "internalType": "struct Constant.AccountSnapshot",
268
- "name": "",
269
- "type": "tuple"
270
- }
271
- ],
272
- "stateMutability": "view",
273
- "type": "function"
274
- },
275
- {
276
- "inputs": [
277
- {
278
- "internalType": "address",
279
- "name": "account",
280
- "type": "address"
281
- }
282
- ],
283
- "name": "accruedAccountSnapshot",
284
- "outputs": [
285
- {
286
- "components": [
287
- {
288
- "internalType": "uint256",
289
- "name": "gTokenBalance",
290
- "type": "uint256"
291
- },
292
- {
293
- "internalType": "uint256",
294
- "name": "borrowBalance",
295
- "type": "uint256"
296
- },
297
- {
298
- "internalType": "uint256",
299
- "name": "exchangeRate",
300
- "type": "uint256"
301
- }
302
- ],
303
- "internalType": "struct Constant.AccountSnapshot",
304
- "name": "",
305
- "type": "tuple"
306
- }
307
- ],
308
- "stateMutability": "nonpayable",
309
- "type": "function"
310
- },
311
- {
312
- "inputs": [
313
- {
314
- "internalType": "address",
315
- "name": "account",
316
- "type": "address"
317
- }
318
- ],
319
- "name": "accruedBorrowBalanceOf",
320
- "outputs": [
321
- {
322
- "internalType": "uint256",
323
- "name": "",
324
- "type": "uint256"
325
- }
326
- ],
327
- "stateMutability": "nonpayable",
328
- "type": "function"
329
- },
330
- {
331
- "inputs": [],
332
- "name": "accruedExchangeRate",
333
- "outputs": [
334
- {
335
- "internalType": "uint256",
336
- "name": "",
337
- "type": "uint256"
338
- }
339
- ],
340
- "stateMutability": "nonpayable",
341
- "type": "function"
342
- },
343
- {
344
- "inputs": [],
345
- "name": "accruedTotalBorrow",
346
- "outputs": [
347
- {
348
- "internalType": "uint256",
349
- "name": "",
350
- "type": "uint256"
351
- }
352
- ],
353
- "stateMutability": "nonpayable",
354
- "type": "function"
355
- },
356
- {
357
- "inputs": [
358
- {
359
- "internalType": "address",
360
- "name": "account",
361
- "type": "address"
362
- },
363
- {
364
- "internalType": "address",
365
- "name": "spender",
366
- "type": "address"
367
- }
368
- ],
369
- "name": "allowance",
370
- "outputs": [
371
- {
372
- "internalType": "uint256",
373
- "name": "",
374
- "type": "uint256"
375
- }
376
- ],
377
- "stateMutability": "view",
378
- "type": "function"
379
- },
380
- {
381
- "inputs": [
382
- {
383
- "internalType": "address",
384
- "name": "spender",
385
- "type": "address"
386
- },
387
- {
388
- "internalType": "uint256",
389
- "name": "amount",
390
- "type": "uint256"
391
- }
392
- ],
393
- "name": "approve",
394
- "outputs": [
395
- {
396
- "internalType": "bool",
397
- "name": "",
398
- "type": "bool"
399
- }
400
- ],
401
- "stateMutability": "nonpayable",
402
- "type": "function"
403
- },
404
- {
405
- "inputs": [
406
- {
407
- "internalType": "address",
408
- "name": "account",
409
- "type": "address"
410
- }
411
- ],
412
- "name": "balanceOf",
413
- "outputs": [
414
- {
415
- "internalType": "uint256",
416
- "name": "",
417
- "type": "uint256"
418
- }
419
- ],
420
- "stateMutability": "view",
421
- "type": "function"
422
- },
423
- {
424
- "inputs": [
425
- {
426
- "internalType": "address",
427
- "name": "account",
428
- "type": "address"
429
- },
430
- {
431
- "internalType": "uint256",
432
- "name": "amount",
433
- "type": "uint256"
434
- }
435
- ],
436
- "name": "borrow",
437
- "outputs": [
438
- {
439
- "internalType": "uint256",
440
- "name": "",
441
- "type": "uint256"
442
- }
443
- ],
444
- "stateMutability": "nonpayable",
445
- "type": "function"
446
- },
447
- {
448
- "inputs": [
449
- {
450
- "internalType": "address",
451
- "name": "account",
452
- "type": "address"
453
- }
454
- ],
455
- "name": "borrowBalanceOf",
456
- "outputs": [
457
- {
458
- "internalType": "uint256",
459
- "name": "",
460
- "type": "uint256"
461
- }
462
- ],
463
- "stateMutability": "view",
464
- "type": "function"
465
- },
466
- {
467
- "inputs": [],
468
- "name": "core",
469
- "outputs": [
470
- {
471
- "internalType": "contract ICore",
472
- "name": "",
473
- "type": "address"
474
- }
475
- ],
476
- "stateMutability": "view",
477
- "type": "function"
478
- },
479
- {
480
- "inputs": [],
481
- "name": "decimals",
482
- "outputs": [
483
- {
484
- "internalType": "uint8",
485
- "name": "",
486
- "type": "uint8"
487
- }
488
- ],
489
- "stateMutability": "view",
490
- "type": "function"
491
- },
492
- {
493
- "inputs": [],
494
- "name": "exchangeRate",
495
- "outputs": [
496
- {
497
- "internalType": "uint256",
498
- "name": "",
499
- "type": "uint256"
500
- }
501
- ],
502
- "stateMutability": "view",
503
- "type": "function"
504
- },
505
- {
506
- "inputs": [],
507
- "name": "getAccInterestIndex",
508
- "outputs": [
509
- {
510
- "internalType": "uint256",
511
- "name": "",
512
- "type": "uint256"
513
- }
514
- ],
515
- "stateMutability": "view",
516
- "type": "function"
517
- },
518
- {
519
- "inputs": [],
520
- "name": "getCash",
521
- "outputs": [
522
- {
523
- "internalType": "uint256",
524
- "name": "",
525
- "type": "uint256"
526
- }
527
- ],
528
- "stateMutability": "view",
529
- "type": "function"
530
- },
531
- {
532
- "inputs": [],
533
- "name": "getOwner",
534
- "outputs": [
535
- {
536
- "internalType": "address",
537
- "name": "",
538
- "type": "address"
539
- }
540
- ],
541
- "stateMutability": "view",
542
- "type": "function"
543
- },
544
- {
545
- "inputs": [],
546
- "name": "getRateModel",
547
- "outputs": [
548
- {
549
- "internalType": "address",
550
- "name": "",
551
- "type": "address"
552
- }
553
- ],
554
- "stateMutability": "view",
555
- "type": "function"
556
- },
557
- {
558
- "inputs": [
559
- {
560
- "internalType": "string",
561
- "name": "_name",
562
- "type": "string"
563
- },
564
- {
565
- "internalType": "string",
566
- "name": "_symbol",
567
- "type": "string"
568
- },
569
- {
570
- "internalType": "uint8",
571
- "name": "_decimals",
572
- "type": "uint8"
573
- }
574
- ],
575
- "name": "initialize",
576
- "outputs": [],
577
- "stateMutability": "nonpayable",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [],
582
- "name": "initialized",
583
- "outputs": [
584
- {
585
- "internalType": "bool",
586
- "name": "",
587
- "type": "bool"
588
- }
589
- ],
590
- "stateMutability": "view",
591
- "type": "function"
592
- },
593
- {
594
- "inputs": [],
595
- "name": "lastAccruedTime",
596
- "outputs": [
597
- {
598
- "internalType": "uint256",
599
- "name": "",
600
- "type": "uint256"
601
- }
602
- ],
603
- "stateMutability": "view",
604
- "type": "function"
605
- },
606
- {
607
- "inputs": [
608
- {
609
- "internalType": "address",
610
- "name": "gTokenCollateral",
611
- "type": "address"
612
- },
613
- {
614
- "internalType": "address",
615
- "name": "liquidator",
616
- "type": "address"
617
- },
618
- {
619
- "internalType": "address",
620
- "name": "borrower",
621
- "type": "address"
622
- },
623
- {
624
- "internalType": "uint256",
625
- "name": "amount",
626
- "type": "uint256"
627
- }
628
- ],
629
- "name": "liquidateBorrow",
630
- "outputs": [
631
- {
632
- "internalType": "uint256",
633
- "name": "seizeGAmount",
634
- "type": "uint256"
635
- },
636
- {
637
- "internalType": "uint256",
638
- "name": "rebateGAmount",
639
- "type": "uint256"
640
- },
641
- {
642
- "internalType": "uint256",
643
- "name": "liquidatorGAmount",
644
- "type": "uint256"
645
- }
646
- ],
647
- "stateMutability": "payable",
648
- "type": "function"
649
- },
650
- {
651
- "inputs": [],
652
- "name": "name",
653
- "outputs": [
654
- {
655
- "internalType": "string",
656
- "name": "",
657
- "type": "string"
658
- }
659
- ],
660
- "stateMutability": "view",
661
- "type": "function"
662
- },
663
- {
664
- "inputs": [],
665
- "name": "owner",
666
- "outputs": [
667
- {
668
- "internalType": "address",
669
- "name": "",
670
- "type": "address"
671
- }
672
- ],
673
- "stateMutability": "view",
674
- "type": "function"
675
- },
676
- {
677
- "inputs": [],
678
- "name": "rateModel",
679
- "outputs": [
680
- {
681
- "internalType": "contract IRateModel",
682
- "name": "",
683
- "type": "address"
684
- }
685
- ],
686
- "stateMutability": "view",
687
- "type": "function"
688
- },
689
- {
690
- "inputs": [],
691
- "name": "rebateDistributor",
692
- "outputs": [
693
- {
694
- "internalType": "contract IRebateDistributor",
695
- "name": "",
696
- "type": "address"
697
- }
698
- ],
699
- "stateMutability": "view",
700
- "type": "function"
701
- },
702
- {
703
- "inputs": [
704
- {
705
- "internalType": "address",
706
- "name": "redeemer",
707
- "type": "address"
708
- },
709
- {
710
- "internalType": "uint256",
711
- "name": "gAmount",
712
- "type": "uint256"
713
- }
714
- ],
715
- "name": "redeemToken",
716
- "outputs": [
717
- {
718
- "internalType": "uint256",
719
- "name": "",
720
- "type": "uint256"
721
- }
722
- ],
723
- "stateMutability": "nonpayable",
724
- "type": "function"
725
- },
726
- {
727
- "inputs": [
728
- {
729
- "internalType": "address",
730
- "name": "redeemer",
731
- "type": "address"
732
- },
733
- {
734
- "internalType": "uint256",
735
- "name": "uAmount",
736
- "type": "uint256"
737
- }
738
- ],
739
- "name": "redeemUnderlying",
740
- "outputs": [
741
- {
742
- "internalType": "uint256",
743
- "name": "",
744
- "type": "uint256"
745
- }
746
- ],
747
- "stateMutability": "nonpayable",
748
- "type": "function"
749
- },
750
- {
751
- "inputs": [],
752
- "name": "renounceOwnership",
753
- "outputs": [],
754
- "stateMutability": "nonpayable",
755
- "type": "function"
756
- },
757
- {
758
- "inputs": [
759
- {
760
- "internalType": "address",
761
- "name": "account",
762
- "type": "address"
763
- },
764
- {
765
- "internalType": "uint256",
766
- "name": "amount",
767
- "type": "uint256"
768
- }
769
- ],
770
- "name": "repayBorrow",
771
- "outputs": [
772
- {
773
- "internalType": "uint256",
774
- "name": "",
775
- "type": "uint256"
776
- }
777
- ],
778
- "stateMutability": "payable",
779
- "type": "function"
780
- },
781
- {
782
- "inputs": [
783
- {
784
- "internalType": "address",
785
- "name": "payer",
786
- "type": "address"
787
- },
788
- {
789
- "internalType": "address",
790
- "name": "borrower",
791
- "type": "address"
792
- },
793
- {
794
- "internalType": "uint256",
795
- "name": "amount",
796
- "type": "uint256"
797
- }
798
- ],
799
- "name": "repayBorrowBehalf",
800
- "outputs": [
801
- {
802
- "internalType": "uint256",
803
- "name": "",
804
- "type": "uint256"
805
- }
806
- ],
807
- "stateMutability": "payable",
808
- "type": "function"
809
- },
810
- {
811
- "inputs": [],
812
- "name": "reserveFactor",
813
- "outputs": [
814
- {
815
- "internalType": "uint256",
816
- "name": "",
817
- "type": "uint256"
818
- }
819
- ],
820
- "stateMutability": "view",
821
- "type": "function"
822
- },
823
- {
824
- "inputs": [
825
- {
826
- "internalType": "address",
827
- "name": "liquidator",
828
- "type": "address"
829
- },
830
- {
831
- "internalType": "address",
832
- "name": "borrower",
833
- "type": "address"
834
- },
835
- {
836
- "internalType": "uint256",
837
- "name": "gAmount",
838
- "type": "uint256"
839
- }
840
- ],
841
- "name": "seize",
842
- "outputs": [],
843
- "stateMutability": "nonpayable",
844
- "type": "function"
845
- },
846
- {
847
- "inputs": [
848
- {
849
- "internalType": "address",
850
- "name": "_core",
851
- "type": "address"
852
- }
853
- ],
854
- "name": "setCore",
855
- "outputs": [],
856
- "stateMutability": "nonpayable",
857
- "type": "function"
858
- },
859
- {
860
- "inputs": [
861
- {
862
- "internalType": "address",
863
- "name": "_rateModel",
864
- "type": "address"
865
- }
866
- ],
867
- "name": "setRateModel",
868
- "outputs": [],
869
- "stateMutability": "nonpayable",
870
- "type": "function"
871
- },
872
- {
873
- "inputs": [
874
- {
875
- "internalType": "address",
876
- "name": "_rebateDistributor",
877
- "type": "address"
878
- }
879
- ],
880
- "name": "setRebateDistributor",
881
- "outputs": [],
882
- "stateMutability": "nonpayable",
883
- "type": "function"
884
- },
885
- {
886
- "inputs": [
887
- {
888
- "internalType": "uint256",
889
- "name": "_reserveFactor",
890
- "type": "uint256"
891
- }
892
- ],
893
- "name": "setReserveFactor",
894
- "outputs": [],
895
- "stateMutability": "nonpayable",
896
- "type": "function"
897
- },
898
- {
899
- "inputs": [
900
- {
901
- "internalType": "address",
902
- "name": "_underlying",
903
- "type": "address"
904
- }
905
- ],
906
- "name": "setUnderlying",
907
- "outputs": [],
908
- "stateMutability": "nonpayable",
909
- "type": "function"
910
- },
911
- {
912
- "inputs": [
913
- {
914
- "internalType": "address",
915
- "name": "account",
916
- "type": "address"
917
- },
918
- {
919
- "internalType": "uint256",
920
- "name": "uAmount",
921
- "type": "uint256"
922
- }
923
- ],
924
- "name": "supply",
925
- "outputs": [
926
- {
927
- "internalType": "uint256",
928
- "name": "",
929
- "type": "uint256"
930
- }
931
- ],
932
- "stateMutability": "payable",
933
- "type": "function"
934
- },
935
- {
936
- "inputs": [],
937
- "name": "symbol",
938
- "outputs": [
939
- {
940
- "internalType": "string",
941
- "name": "",
942
- "type": "string"
943
- }
944
- ],
945
- "stateMutability": "view",
946
- "type": "function"
947
- },
948
- {
949
- "inputs": [],
950
- "name": "totalBorrow",
951
- "outputs": [
952
- {
953
- "internalType": "uint256",
954
- "name": "",
955
- "type": "uint256"
956
- }
957
- ],
958
- "stateMutability": "view",
959
- "type": "function"
960
- },
961
- {
962
- "inputs": [],
963
- "name": "totalReserve",
964
- "outputs": [
965
- {
966
- "internalType": "uint256",
967
- "name": "",
968
- "type": "uint256"
969
- }
970
- ],
971
- "stateMutability": "view",
972
- "type": "function"
973
- },
974
- {
975
- "inputs": [],
976
- "name": "totalSupply",
977
- "outputs": [
978
- {
979
- "internalType": "uint256",
980
- "name": "",
981
- "type": "uint256"
982
- }
983
- ],
984
- "stateMutability": "view",
985
- "type": "function"
986
- },
987
- {
988
- "inputs": [
989
- {
990
- "internalType": "address",
991
- "name": "dst",
992
- "type": "address"
993
- },
994
- {
995
- "internalType": "uint256",
996
- "name": "amount",
997
- "type": "uint256"
998
- }
999
- ],
1000
- "name": "transfer",
1001
- "outputs": [
1002
- {
1003
- "internalType": "bool",
1004
- "name": "",
1005
- "type": "bool"
1006
- }
1007
- ],
1008
- "stateMutability": "nonpayable",
1009
- "type": "function"
1010
- },
1011
- {
1012
- "inputs": [
1013
- {
1014
- "internalType": "address",
1015
- "name": "src",
1016
- "type": "address"
1017
- },
1018
- {
1019
- "internalType": "address",
1020
- "name": "dst",
1021
- "type": "address"
1022
- },
1023
- {
1024
- "internalType": "uint256",
1025
- "name": "amount",
1026
- "type": "uint256"
1027
- }
1028
- ],
1029
- "name": "transferFrom",
1030
- "outputs": [
1031
- {
1032
- "internalType": "bool",
1033
- "name": "",
1034
- "type": "bool"
1035
- }
1036
- ],
1037
- "stateMutability": "nonpayable",
1038
- "type": "function"
1039
- },
1040
- {
1041
- "inputs": [
1042
- {
1043
- "internalType": "address",
1044
- "name": "newOwner",
1045
- "type": "address"
1046
- }
1047
- ],
1048
- "name": "transferOwnership",
1049
- "outputs": [],
1050
- "stateMutability": "nonpayable",
1051
- "type": "function"
1052
- },
1053
- {
1054
- "inputs": [
1055
- {
1056
- "internalType": "address",
1057
- "name": "spender",
1058
- "type": "address"
1059
- },
1060
- {
1061
- "internalType": "address",
1062
- "name": "src",
1063
- "type": "address"
1064
- },
1065
- {
1066
- "internalType": "address",
1067
- "name": "dst",
1068
- "type": "address"
1069
- },
1070
- {
1071
- "internalType": "uint256",
1072
- "name": "amount",
1073
- "type": "uint256"
1074
- }
1075
- ],
1076
- "name": "transferTokensInternal",
1077
- "outputs": [],
1078
- "stateMutability": "nonpayable",
1079
- "type": "function"
1080
- },
1081
- {
1082
- "inputs": [],
1083
- "name": "underlying",
1084
- "outputs": [
1085
- {
1086
- "internalType": "address",
1087
- "name": "",
1088
- "type": "address"
1089
- }
1090
- ],
1091
- "stateMutability": "view",
1092
- "type": "function"
1093
- },
1094
- {
1095
- "inputs": [
1096
- {
1097
- "internalType": "address",
1098
- "name": "account",
1099
- "type": "address"
1100
- }
1101
- ],
1102
- "name": "underlyingBalanceOf",
1103
- "outputs": [
1104
- {
1105
- "internalType": "uint256",
1106
- "name": "",
1107
- "type": "uint256"
1108
- }
1109
- ],
1110
- "stateMutability": "view",
1111
- "type": "function"
1112
- },
1113
- {
1114
- "inputs": [],
1115
- "name": "withdrawReserves",
1116
- "outputs": [],
1117
- "stateMutability": "nonpayable",
1118
- "type": "function"
1119
- },
1120
- {
1121
- "stateMutability": "payable",
1122
- "type": "receive"
1123
- }
1124
- ]