defi-state-querier 0.0.9__py3-none-any.whl → 0.1.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/lending/apeswape/__init__.py +0 -0
  3. defi_services/abis/lending/apeswape/apeswap_comptroller_abi.py +2235 -0
  4. defi_services/abis/lending/apeswape/apeswap_lens_abi.py +747 -0
  5. defi_services/abis/lending/apeswape/apswap_ctoken_abi.py +1485 -0
  6. defi_services/abis/lending/wepiggy/wepiggy_comptroller_abi.py +1684 -0
  7. defi_services/abis/lending/wepiggy/wepiggy_distribution_abi.py +959 -1041
  8. defi_services/abis/lending/wepiggy/wepiggy_lens_abi.py +1098 -0
  9. defi_services/constants/entities/lending_constant.py +3 -1
  10. defi_services/constants/entities/lending_services.py +28 -13
  11. defi_services/services/lending/apeswap_services.py +88 -0
  12. defi_services/services/lending/compound_service.py +1 -0
  13. defi_services/services/lending/{granary_v1_services.py → granary_services.py} +38 -18
  14. defi_services/services/lending/iron_bank_service.py +5 -1
  15. defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py +67 -0
  16. defi_services/services/lending/lending_info/arbitrum/wepiggy_arbitrum.py +36 -0
  17. defi_services/services/lending/lending_info/avalanche/granary_avalanche.py +55 -0
  18. defi_services/services/lending/lending_info/avalanche/iron_bank_avalanche.py +55 -0
  19. defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +52 -0
  20. defi_services/services/lending/lending_info/bsc/granary_bsc.py +49 -0
  21. defi_services/services/lending/lending_info/bsc/liqee_bsc.py +85 -0
  22. defi_services/services/lending/lending_info/bsc/wepiggy_bsc.py +76 -0
  23. defi_services/services/lending/lending_info/ethereum/{granary_v1_eth.py → granary_eth.py} +1 -1
  24. defi_services/services/lending/lending_info/ethereum/iron_bank_eth.py +0 -1
  25. defi_services/services/lending/lending_info/ethereum/spark_eth.py +41 -94
  26. defi_services/services/lending/lending_info/ethereum/wepiggy_eth.py +18 -7
  27. defi_services/services/lending/lending_info/fantom/granary_ftm.py +67 -0
  28. defi_services/services/lending/lending_info/optimism/granary_optimism.py +84 -0
  29. defi_services/services/lending/lending_info/optimism/iron_bank_optimism.py +43 -0
  30. defi_services/services/lending/lending_info/optimism/wepiggy_optimism.py +40 -0
  31. defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py +52 -0
  32. defi_services/services/lending/liqee_service.py +5 -3
  33. defi_services/services/lending/morpho_aave_v2_services.py +2 -2
  34. defi_services/services/lending/morpho_aave_v3_services.py +2 -2
  35. defi_services/services/lending/morpho_compound_services.py +1 -1
  36. defi_services/services/lending/spark_services.py +32 -0
  37. defi_services/services/lending/wepiggy_services.py +26 -237
  38. {defi_state_querier-0.0.9.dist-info → defi_state_querier-0.1.1.dist-info}/METADATA +1 -1
  39. {defi_state_querier-0.0.9.dist-info → defi_state_querier-0.1.1.dist-info}/RECORD +42 -21
  40. {defi_state_querier-0.0.9.dist-info → defi_state_querier-0.1.1.dist-info}/LICENSE +0 -0
  41. {defi_state_querier-0.0.9.dist-info → defi_state_querier-0.1.1.dist-info}/WHEEL +0 -0
  42. {defi_state_querier-0.0.9.dist-info → defi_state_querier-0.1.1.dist-info}/top_level.txt +0 -0
@@ -2,1046 +2,964 @@ import json
2
2
 
3
3
  WEPIGGY_DISTRIBUTION_ABI = json.loads('''
4
4
  [
5
- {
6
- "anonymous":false,
7
- "inputs":[
8
- {
9
- "indexed":false,
10
- "internalType":"uint256",
11
- "name":"pid",
12
- "type":"uint256"
13
- }
14
- ],
15
- "name":"ClaimWpcFromPiggyBreeder",
16
- "type":"event"
17
- },
18
- {
19
- "anonymous":false,
20
- "inputs":[
21
- {
22
- "indexed":true,
23
- "internalType":"contract PToken",
24
- "name":"pToken",
25
- "type":"address"
26
- },
27
- {
28
- "indexed":true,
29
- "internalType":"address",
30
- "name":"borrower",
31
- "type":"address"
32
- },
33
- {
34
- "indexed":false,
35
- "internalType":"uint256",
36
- "name":"wpcDelta",
37
- "type":"uint256"
38
- },
39
- {
40
- "indexed":false,
41
- "internalType":"uint256",
42
- "name":"wpcBorrowIndex",
43
- "type":"uint256"
44
- }
45
- ],
46
- "name":"DistributedBorrowerWpc",
47
- "type":"event"
48
- },
49
- {
50
- "anonymous":false,
51
- "inputs":[
52
- {
53
- "indexed":true,
54
- "internalType":"contract PToken",
55
- "name":"pToken",
56
- "type":"address"
57
- },
58
- {
59
- "indexed":true,
60
- "internalType":"address",
61
- "name":"supplier",
62
- "type":"address"
63
- },
64
- {
65
- "indexed":false,
66
- "internalType":"uint256",
67
- "name":"wpcDelta",
68
- "type":"uint256"
69
- },
70
- {
71
- "indexed":false,
72
- "internalType":"uint256",
73
- "name":"wpcSupplyIndex",
74
- "type":"uint256"
75
- }
76
- ],
77
- "name":"DistributedSupplierWpc",
78
- "type":"event"
79
- },
80
- {
81
- "anonymous":false,
82
- "inputs":[
83
- {
84
- "indexed":false,
85
- "internalType":"string",
86
- "name":"action",
87
- "type":"string"
88
- },
89
- {
90
- "indexed":false,
91
- "internalType":"bool",
92
- "name":"state",
93
- "type":"bool"
94
- }
95
- ],
96
- "name":"EnableState",
97
- "type":"event"
98
- },
99
- {
100
- "anonymous":false,
101
- "inputs":[
102
- {
103
- "indexed":true,
104
- "internalType":"address",
105
- "name":"previousOwner",
106
- "type":"address"
107
- },
108
- {
109
- "indexed":true,
110
- "internalType":"address",
111
- "name":"newOwner",
112
- "type":"address"
113
- }
114
- ],
115
- "name":"OwnershipTransferred",
116
- "type":"event"
117
- },
118
- {
119
- "anonymous":false,
120
- "inputs":[
121
- {
122
- "indexed":false,
123
- "internalType":"contract IERC20",
124
- "name":"token",
125
- "type":"address"
126
- },
127
- {
128
- "indexed":false,
129
- "internalType":"uint256",
130
- "name":"pid",
131
- "type":"uint256"
132
- },
133
- {
134
- "indexed":false,
135
- "internalType":"uint256",
136
- "name":"amount",
137
- "type":"uint256"
138
- }
139
- ],
140
- "name":"StakeTokenToPiggyBreeder",
141
- "type":"event"
142
- },
143
- {
144
- "anonymous":false,
145
- "inputs":[
146
- {
147
- "indexed":true,
148
- "internalType":"contract PToken",
149
- "name":"pToken",
150
- "type":"address"
151
- },
152
- {
153
- "indexed":false,
154
- "internalType":"uint256",
155
- "name":"newSpeed",
156
- "type":"uint256"
157
- }
158
- ],
159
- "name":"WpcSpeedUpdated",
160
- "type":"event"
161
- },
162
- {
163
- "inputs":[
164
- {
165
- "internalType":"uint256",
166
- "name":"pid",
167
- "type":"uint256"
168
- }
169
- ],
170
- "name":"_claimWpcFromPiggyBreeder",
171
- "outputs":[
172
-
173
- ],
174
- "stateMutability":"nonpayable",
175
- "type":"function"
176
- },
177
- {
178
- "inputs":[
179
- {
180
- "internalType":"address[]",
181
- "name":"pTokens",
182
- "type":"address[]"
183
- }
184
- ],
185
- "name":"_resetWpcSupplyState",
186
- "outputs":[
187
-
188
- ],
189
- "stateMutability":"nonpayable",
190
- "type":"function"
191
- },
192
- {
193
- "inputs":[
194
- {
195
- "internalType":"bool",
196
- "name":"state",
197
- "type":"bool"
198
- }
199
- ],
200
- "name":"_setEnableAll",
201
- "outputs":[
202
-
203
- ],
204
- "stateMutability":"nonpayable",
205
- "type":"function"
206
- },
207
- {
208
- "inputs":[
209
- {
210
- "internalType":"bool",
211
- "name":"state",
212
- "type":"bool"
213
- }
214
- ],
215
- "name":"_setEnableDistributeBorrowWpc",
216
- "outputs":[
217
-
218
- ],
219
- "stateMutability":"nonpayable",
220
- "type":"function"
221
- },
222
- {
223
- "inputs":[
224
- {
225
- "internalType":"bool",
226
- "name":"state",
227
- "type":"bool"
228
- }
229
- ],
230
- "name":"_setEnableDistributeMintWpc",
231
- "outputs":[
232
-
233
- ],
234
- "stateMutability":"nonpayable",
235
- "type":"function"
236
- },
237
- {
238
- "inputs":[
239
- {
240
- "internalType":"bool",
241
- "name":"state",
242
- "type":"bool"
243
- }
244
- ],
245
- "name":"_setEnableDistributeRedeemWpc",
246
- "outputs":[
247
-
248
- ],
249
- "stateMutability":"nonpayable",
250
- "type":"function"
251
- },
252
- {
253
- "inputs":[
254
- {
255
- "internalType":"bool",
256
- "name":"state",
257
- "type":"bool"
258
- }
259
- ],
260
- "name":"_setEnableDistributeRepayBorrowWpc",
261
- "outputs":[
262
-
263
- ],
264
- "stateMutability":"nonpayable",
265
- "type":"function"
266
- },
267
- {
268
- "inputs":[
269
- {
270
- "internalType":"bool",
271
- "name":"state",
272
- "type":"bool"
273
- }
274
- ],
275
- "name":"_setEnableDistributeSeizeWpc",
276
- "outputs":[
277
-
278
- ],
279
- "stateMutability":"nonpayable",
280
- "type":"function"
281
- },
282
- {
283
- "inputs":[
284
- {
285
- "internalType":"bool",
286
- "name":"state",
287
- "type":"bool"
288
- }
289
- ],
290
- "name":"_setEnableDistributeTransferWpc",
291
- "outputs":[
292
-
293
- ],
294
- "stateMutability":"nonpayable",
295
- "type":"function"
296
- },
297
- {
298
- "inputs":[
299
- {
300
- "internalType":"bool",
301
- "name":"state",
302
- "type":"bool"
303
- }
304
- ],
305
- "name":"_setEnableWpcClaim",
306
- "outputs":[
307
-
308
- ],
309
- "stateMutability":"nonpayable",
310
- "type":"function"
311
- },
312
- {
313
- "inputs":[
314
- {
315
- "internalType":"address",
316
- "name":"_piggy",
317
- "type":"address"
318
- }
319
- ],
320
- "name":"_setPiggy",
321
- "outputs":[
322
-
323
- ],
324
- "stateMutability":"nonpayable",
325
- "type":"function"
326
- },
327
- {
328
- "inputs":[
329
- {
330
- "internalType":"contract PToken",
331
- "name":"pToken",
332
- "type":"address"
333
- },
334
- {
335
- "internalType":"uint256",
336
- "name":"wpcSpeed",
337
- "type":"uint256"
338
- }
339
- ],
340
- "name":"_setWpcSpeed",
341
- "outputs":[
342
-
343
- ],
344
- "stateMutability":"nonpayable",
345
- "type":"function"
346
- },
347
- {
348
- "inputs":[
349
- {
350
- "internalType":"contract IERC20",
351
- "name":"token",
352
- "type":"address"
353
- },
354
- {
355
- "internalType":"uint256",
356
- "name":"pid",
357
- "type":"uint256"
358
- }
359
- ],
360
- "name":"_stakeTokenToPiggyBreeder",
361
- "outputs":[
362
-
363
- ],
364
- "stateMutability":"nonpayable",
365
- "type":"function"
366
- },
367
- {
368
- "inputs":[
369
- {
370
- "internalType":"address",
371
- "name":"token",
372
- "type":"address"
373
- },
374
- {
375
- "internalType":"address",
376
- "name":"to",
377
- "type":"address"
378
- },
379
- {
380
- "internalType":"uint256",
381
- "name":"amount",
382
- "type":"uint256"
383
- }
384
- ],
385
- "name":"_transferToken",
386
- "outputs":[
387
-
388
- ],
389
- "stateMutability":"nonpayable",
390
- "type":"function"
391
- },
392
- {
393
- "inputs":[
394
- {
395
- "internalType":"address",
396
- "name":"to",
397
- "type":"address"
398
- },
399
- {
400
- "internalType":"uint256",
401
- "name":"amount",
402
- "type":"uint256"
403
- }
404
- ],
405
- "name":"_transferWpc",
406
- "outputs":[
407
-
408
- ],
409
- "stateMutability":"nonpayable",
410
- "type":"function"
411
- },
412
- {
413
- "inputs":[
414
- {
415
- "internalType":"address",
416
- "name":"holder",
417
- "type":"address"
418
- },
419
- {
420
- "internalType":"contract PToken[]",
421
- "name":"pTokens",
422
- "type":"address[]"
423
- }
424
- ],
425
- "name":"claimWpc",
426
- "outputs":[
427
-
428
- ],
429
- "stateMutability":"nonpayable",
430
- "type":"function"
431
- },
432
- {
433
- "inputs":[
434
- {
435
- "internalType":"address[]",
436
- "name":"holders",
437
- "type":"address[]"
438
- },
439
- {
440
- "internalType":"contract PToken[]",
441
- "name":"pTokens",
442
- "type":"address[]"
443
- },
444
- {
445
- "internalType":"bool",
446
- "name":"borrowers",
447
- "type":"bool"
448
- },
449
- {
450
- "internalType":"bool",
451
- "name":"suppliers",
452
- "type":"bool"
453
- }
454
- ],
455
- "name":"claimWpc",
456
- "outputs":[
457
-
458
- ],
459
- "stateMutability":"nonpayable",
460
- "type":"function"
461
- },
462
- {
463
- "inputs":[
464
- {
465
- "internalType":"address",
466
- "name":"holder",
467
- "type":"address"
468
- }
469
- ],
470
- "name":"claimWpc",
471
- "outputs":[
472
-
473
- ],
474
- "stateMutability":"nonpayable",
475
- "type":"function"
476
- },
477
- {
478
- "inputs":[
479
-
480
- ],
481
- "name":"comptroller",
482
- "outputs":[
483
- {
484
- "internalType":"contract Comptroller",
485
- "name":"",
486
- "type":"address"
487
- }
488
- ],
489
- "stateMutability":"view",
490
- "type":"function"
491
- },
492
- {
493
- "inputs":[
494
- {
495
- "internalType":"address",
496
- "name":"pToken",
497
- "type":"address"
498
- },
499
- {
500
- "internalType":"address",
501
- "name":"borrower",
502
- "type":"address"
503
- },
504
- {
505
- "internalType":"bool",
506
- "name":"distributeAll",
507
- "type":"bool"
508
- }
509
- ],
510
- "name":"distributeBorrowWpc",
511
- "outputs":[
512
-
513
- ],
514
- "stateMutability":"nonpayable",
515
- "type":"function"
516
- },
517
- {
518
- "inputs":[
519
- {
520
- "internalType":"address",
521
- "name":"pToken",
522
- "type":"address"
523
- },
524
- {
525
- "internalType":"address",
526
- "name":"minter",
527
- "type":"address"
528
- },
529
- {
530
- "internalType":"bool",
531
- "name":"distributeAll",
532
- "type":"bool"
533
- }
534
- ],
535
- "name":"distributeMintWpc",
536
- "outputs":[
537
-
538
- ],
539
- "stateMutability":"nonpayable",
540
- "type":"function"
541
- },
542
- {
543
- "inputs":[
544
- {
545
- "internalType":"address",
546
- "name":"pToken",
547
- "type":"address"
548
- },
549
- {
550
- "internalType":"address",
551
- "name":"redeemer",
552
- "type":"address"
553
- },
554
- {
555
- "internalType":"bool",
556
- "name":"distributeAll",
557
- "type":"bool"
558
- }
559
- ],
560
- "name":"distributeRedeemWpc",
561
- "outputs":[
562
-
563
- ],
564
- "stateMutability":"nonpayable",
565
- "type":"function"
566
- },
567
- {
568
- "inputs":[
569
- {
570
- "internalType":"address",
571
- "name":"pToken",
572
- "type":"address"
573
- },
574
- {
575
- "internalType":"address",
576
- "name":"borrower",
577
- "type":"address"
578
- },
579
- {
580
- "internalType":"bool",
581
- "name":"distributeAll",
582
- "type":"bool"
583
- }
584
- ],
585
- "name":"distributeRepayBorrowWpc",
586
- "outputs":[
587
-
588
- ],
589
- "stateMutability":"nonpayable",
590
- "type":"function"
591
- },
592
- {
593
- "inputs":[
594
- {
595
- "internalType":"address",
596
- "name":"pTokenCollateral",
597
- "type":"address"
598
- },
599
- {
600
- "internalType":"address",
601
- "name":"borrower",
602
- "type":"address"
603
- },
604
- {
605
- "internalType":"address",
606
- "name":"liquidator",
607
- "type":"address"
608
- },
609
- {
610
- "internalType":"bool",
611
- "name":"distributeAll",
612
- "type":"bool"
613
- }
614
- ],
615
- "name":"distributeSeizeWpc",
616
- "outputs":[
617
-
618
- ],
619
- "stateMutability":"nonpayable",
620
- "type":"function"
621
- },
622
- {
623
- "inputs":[
624
- {
625
- "internalType":"address",
626
- "name":"pToken",
627
- "type":"address"
628
- },
629
- {
630
- "internalType":"address",
631
- "name":"src",
632
- "type":"address"
633
- },
634
- {
635
- "internalType":"address",
636
- "name":"dst",
637
- "type":"address"
638
- },
639
- {
640
- "internalType":"bool",
641
- "name":"distributeAll",
642
- "type":"bool"
643
- }
644
- ],
645
- "name":"distributeTransferWpc",
646
- "outputs":[
647
-
648
- ],
649
- "stateMutability":"nonpayable",
650
- "type":"function"
651
- },
652
- {
653
- "inputs":[
654
-
655
- ],
656
- "name":"enableDistributeBorrowWpc",
657
- "outputs":[
658
- {
659
- "internalType":"bool",
660
- "name":"",
661
- "type":"bool"
662
- }
663
- ],
664
- "stateMutability":"view",
665
- "type":"function"
666
- },
667
- {
668
- "inputs":[
669
-
670
- ],
671
- "name":"enableDistributeMintWpc",
672
- "outputs":[
673
- {
674
- "internalType":"bool",
675
- "name":"",
676
- "type":"bool"
677
- }
678
- ],
679
- "stateMutability":"view",
680
- "type":"function"
681
- },
682
- {
683
- "inputs":[
684
-
685
- ],
686
- "name":"enableDistributeRedeemWpc",
687
- "outputs":[
688
- {
689
- "internalType":"bool",
690
- "name":"",
691
- "type":"bool"
692
- }
693
- ],
694
- "stateMutability":"view",
695
- "type":"function"
696
- },
697
- {
698
- "inputs":[
699
-
700
- ],
701
- "name":"enableDistributeRepayBorrowWpc",
702
- "outputs":[
703
- {
704
- "internalType":"bool",
705
- "name":"",
706
- "type":"bool"
707
- }
708
- ],
709
- "stateMutability":"view",
710
- "type":"function"
711
- },
712
- {
713
- "inputs":[
714
-
715
- ],
716
- "name":"enableDistributeSeizeWpc",
717
- "outputs":[
718
- {
719
- "internalType":"bool",
720
- "name":"",
721
- "type":"bool"
722
- }
723
- ],
724
- "stateMutability":"view",
725
- "type":"function"
726
- },
727
- {
728
- "inputs":[
729
-
730
- ],
731
- "name":"enableDistributeTransferWpc",
732
- "outputs":[
733
- {
734
- "internalType":"bool",
735
- "name":"",
736
- "type":"bool"
737
- }
738
- ],
739
- "stateMutability":"view",
740
- "type":"function"
741
- },
742
- {
743
- "inputs":[
744
-
745
- ],
746
- "name":"enableWpcClaim",
747
- "outputs":[
748
- {
749
- "internalType":"bool",
750
- "name":"",
751
- "type":"bool"
752
- }
753
- ],
754
- "stateMutability":"view",
755
- "type":"function"
756
- },
757
- {
758
- "inputs":[
759
- {
760
- "internalType":"contract IERC20",
761
- "name":"_piggy",
762
- "type":"address"
763
- },
764
- {
765
- "internalType":"contract IPiggyBreeder",
766
- "name":"_piggyBreeder",
767
- "type":"address"
768
- },
769
- {
770
- "internalType":"contract Comptroller",
771
- "name":"_comptroller",
772
- "type":"address"
773
- }
774
- ],
775
- "name":"initialize",
776
- "outputs":[
777
-
778
- ],
779
- "stateMutability":"nonpayable",
780
- "type":"function"
781
- },
782
- {
783
- "inputs":[
784
-
785
- ],
786
- "name":"owner",
787
- "outputs":[
788
- {
789
- "internalType":"address",
790
- "name":"",
791
- "type":"address"
792
- }
793
- ],
794
- "stateMutability":"view",
795
- "type":"function"
796
- },
797
- {
798
- "inputs":[
799
- {
800
- "internalType":"address",
801
- "name":"holder",
802
- "type":"address"
803
- },
804
- {
805
- "internalType":"bool",
806
- "name":"borrowers",
807
- "type":"bool"
808
- },
809
- {
810
- "internalType":"bool",
811
- "name":"suppliers",
812
- "type":"bool"
813
- }
814
- ],
815
- "name":"pendingWpcAccrued",
816
- "outputs":[
817
- {
818
- "internalType":"uint256",
819
- "name":"",
820
- "type":"uint256"
821
- }
822
- ],
823
- "stateMutability":"view",
824
- "type":"function"
825
- },
826
- {
827
- "inputs":[
828
-
829
- ],
830
- "name":"piggy",
831
- "outputs":[
832
- {
833
- "internalType":"contract IERC20",
834
- "name":"",
835
- "type":"address"
836
- }
837
- ],
838
- "stateMutability":"view",
839
- "type":"function"
840
- },
841
- {
842
- "inputs":[
843
-
844
- ],
845
- "name":"piggyBreeder",
846
- "outputs":[
847
- {
848
- "internalType":"contract IPiggyBreeder",
849
- "name":"",
850
- "type":"address"
851
- }
852
- ],
853
- "stateMutability":"view",
854
- "type":"function"
855
- },
856
- {
857
- "inputs":[
858
-
859
- ],
860
- "name":"renounceOwnership",
861
- "outputs":[
862
-
863
- ],
864
- "stateMutability":"nonpayable",
865
- "type":"function"
866
- },
867
- {
868
- "inputs":[
869
- {
870
- "internalType":"address",
871
- "name":"newOwner",
872
- "type":"address"
873
- }
874
- ],
875
- "name":"transferOwnership",
876
- "outputs":[
877
-
878
- ],
879
- "stateMutability":"nonpayable",
880
- "type":"function"
881
- },
882
- {
883
- "inputs":[
884
- {
885
- "internalType":"address",
886
- "name":"",
887
- "type":"address"
888
- }
889
- ],
890
- "name":"wpcAccrued",
891
- "outputs":[
892
- {
893
- "internalType":"uint256",
894
- "name":"",
895
- "type":"uint256"
896
- }
897
- ],
898
- "stateMutability":"view",
899
- "type":"function"
900
- },
901
- {
902
- "inputs":[
903
- {
904
- "internalType":"address",
905
- "name":"",
906
- "type":"address"
907
- }
908
- ],
909
- "name":"wpcBorrowState",
910
- "outputs":[
911
- {
912
- "internalType":"uint224",
913
- "name":"index",
914
- "type":"uint224"
915
- },
916
- {
917
- "internalType":"uint32",
918
- "name":"block",
919
- "type":"uint32"
920
- }
921
- ],
922
- "stateMutability":"view",
923
- "type":"function"
924
- },
925
- {
926
- "inputs":[
927
- {
928
- "internalType":"address",
929
- "name":"",
930
- "type":"address"
931
- },
932
- {
933
- "internalType":"address",
934
- "name":"",
935
- "type":"address"
936
- }
937
- ],
938
- "name":"wpcBorrowerIndex",
939
- "outputs":[
940
- {
941
- "internalType":"uint256",
942
- "name":"",
943
- "type":"uint256"
944
- }
945
- ],
946
- "stateMutability":"view",
947
- "type":"function"
948
- },
949
- {
950
- "inputs":[
951
-
952
- ],
953
- "name":"wpcClaimThreshold",
954
- "outputs":[
955
- {
956
- "internalType":"uint256",
957
- "name":"",
958
- "type":"uint256"
959
- }
960
- ],
961
- "stateMutability":"view",
962
- "type":"function"
963
- },
964
- {
965
- "inputs":[
966
-
967
- ],
968
- "name":"wpcInitialIndex",
969
- "outputs":[
970
- {
971
- "internalType":"uint224",
972
- "name":"",
973
- "type":"uint224"
974
- }
975
- ],
976
- "stateMutability":"view",
977
- "type":"function"
978
- },
979
- {
980
- "inputs":[
981
- {
982
- "internalType":"address",
983
- "name":"",
984
- "type":"address"
985
- }
986
- ],
987
- "name":"wpcSpeeds",
988
- "outputs":[
989
- {
990
- "internalType":"uint256",
991
- "name":"",
992
- "type":"uint256"
993
- }
994
- ],
995
- "stateMutability":"view",
996
- "type":"function"
997
- },
998
- {
999
- "inputs":[
1000
- {
1001
- "internalType":"address",
1002
- "name":"",
1003
- "type":"address"
1004
- },
1005
- {
1006
- "internalType":"address",
1007
- "name":"",
1008
- "type":"address"
1009
- }
1010
- ],
1011
- "name":"wpcSupplierIndex",
1012
- "outputs":[
1013
- {
1014
- "internalType":"uint256",
1015
- "name":"",
1016
- "type":"uint256"
1017
- }
1018
- ],
1019
- "stateMutability":"view",
1020
- "type":"function"
1021
- },
1022
- {
1023
- "inputs":[
1024
- {
1025
- "internalType":"address",
1026
- "name":"",
1027
- "type":"address"
1028
- }
1029
- ],
1030
- "name":"wpcSupplyState",
1031
- "outputs":[
1032
- {
1033
- "internalType":"uint224",
1034
- "name":"index",
1035
- "type":"uint224"
1036
- },
1037
- {
1038
- "internalType":"uint32",
1039
- "name":"block",
1040
- "type":"uint32"
1041
- }
1042
- ],
1043
- "stateMutability":"view",
1044
- "type":"function"
1045
- }
5
+ {
6
+ "anonymous": false,
7
+ "inputs": [
8
+ {
9
+ "indexed": false,
10
+ "internalType": "uint256",
11
+ "name": "pid",
12
+ "type": "uint256"
13
+ }
14
+ ],
15
+ "name": "ClaimWpcFromPiggyBreeder",
16
+ "type": "event"
17
+ },
18
+ {
19
+ "anonymous": false,
20
+ "inputs": [
21
+ {
22
+ "indexed": true,
23
+ "internalType": "contract PToken",
24
+ "name": "pToken",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "indexed": true,
29
+ "internalType": "address",
30
+ "name": "borrower",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "indexed": false,
35
+ "internalType": "uint256",
36
+ "name": "wpcDelta",
37
+ "type": "uint256"
38
+ },
39
+ {
40
+ "indexed": false,
41
+ "internalType": "uint256",
42
+ "name": "wpcBorrowIndex",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "name": "DistributedBorrowerWpc",
47
+ "type": "event"
48
+ },
49
+ {
50
+ "anonymous": false,
51
+ "inputs": [
52
+ {
53
+ "indexed": true,
54
+ "internalType": "contract PToken",
55
+ "name": "pToken",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "supplier",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "uint256",
67
+ "name": "wpcDelta",
68
+ "type": "uint256"
69
+ },
70
+ {
71
+ "indexed": false,
72
+ "internalType": "uint256",
73
+ "name": "wpcSupplyIndex",
74
+ "type": "uint256"
75
+ }
76
+ ],
77
+ "name": "DistributedSupplierWpc",
78
+ "type": "event"
79
+ },
80
+ {
81
+ "anonymous": false,
82
+ "inputs": [
83
+ {
84
+ "indexed": false,
85
+ "internalType": "string",
86
+ "name": "action",
87
+ "type": "string"
88
+ },
89
+ {
90
+ "indexed": false,
91
+ "internalType": "bool",
92
+ "name": "state",
93
+ "type": "bool"
94
+ }
95
+ ],
96
+ "name": "EnableState",
97
+ "type": "event"
98
+ },
99
+ {
100
+ "anonymous": false,
101
+ "inputs": [
102
+ {
103
+ "indexed": true,
104
+ "internalType": "address",
105
+ "name": "previousOwner",
106
+ "type": "address"
107
+ },
108
+ {
109
+ "indexed": true,
110
+ "internalType": "address",
111
+ "name": "newOwner",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "OwnershipTransferred",
116
+ "type": "event"
117
+ },
118
+ {
119
+ "anonymous": false,
120
+ "inputs": [
121
+ {
122
+ "indexed": false,
123
+ "internalType": "contract IERC20",
124
+ "name": "token",
125
+ "type": "address"
126
+ },
127
+ {
128
+ "indexed": false,
129
+ "internalType": "uint256",
130
+ "name": "pid",
131
+ "type": "uint256"
132
+ },
133
+ {
134
+ "indexed": false,
135
+ "internalType": "uint256",
136
+ "name": "amount",
137
+ "type": "uint256"
138
+ }
139
+ ],
140
+ "name": "StakeTokenToPiggyBreeder",
141
+ "type": "event"
142
+ },
143
+ {
144
+ "anonymous": false,
145
+ "inputs": [
146
+ {
147
+ "indexed": true,
148
+ "internalType": "contract PToken",
149
+ "name": "pToken",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "indexed": false,
154
+ "internalType": "uint256",
155
+ "name": "newSpeed",
156
+ "type": "uint256"
157
+ }
158
+ ],
159
+ "name": "WpcSpeedUpdated",
160
+ "type": "event"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "uint256",
166
+ "name": "pid",
167
+ "type": "uint256"
168
+ }
169
+ ],
170
+ "name": "_claimWpcFromPiggyBreeder",
171
+ "outputs": [],
172
+ "stateMutability": "nonpayable",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "address[]",
179
+ "name": "pTokens",
180
+ "type": "address[]"
181
+ }
182
+ ],
183
+ "name": "_resetWpcSupplyState",
184
+ "outputs": [],
185
+ "stateMutability": "nonpayable",
186
+ "type": "function"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "bool",
192
+ "name": "state",
193
+ "type": "bool"
194
+ }
195
+ ],
196
+ "name": "_setEnableAll",
197
+ "outputs": [],
198
+ "stateMutability": "nonpayable",
199
+ "type": "function"
200
+ },
201
+ {
202
+ "inputs": [
203
+ {
204
+ "internalType": "bool",
205
+ "name": "state",
206
+ "type": "bool"
207
+ }
208
+ ],
209
+ "name": "_setEnableDistributeBorrowWpc",
210
+ "outputs": [],
211
+ "stateMutability": "nonpayable",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [
216
+ {
217
+ "internalType": "bool",
218
+ "name": "state",
219
+ "type": "bool"
220
+ }
221
+ ],
222
+ "name": "_setEnableDistributeMintWpc",
223
+ "outputs": [],
224
+ "stateMutability": "nonpayable",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "bool",
231
+ "name": "state",
232
+ "type": "bool"
233
+ }
234
+ ],
235
+ "name": "_setEnableDistributeRedeemWpc",
236
+ "outputs": [],
237
+ "stateMutability": "nonpayable",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "bool",
244
+ "name": "state",
245
+ "type": "bool"
246
+ }
247
+ ],
248
+ "name": "_setEnableDistributeRepayBorrowWpc",
249
+ "outputs": [],
250
+ "stateMutability": "nonpayable",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "bool",
257
+ "name": "state",
258
+ "type": "bool"
259
+ }
260
+ ],
261
+ "name": "_setEnableDistributeSeizeWpc",
262
+ "outputs": [],
263
+ "stateMutability": "nonpayable",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [
268
+ {
269
+ "internalType": "bool",
270
+ "name": "state",
271
+ "type": "bool"
272
+ }
273
+ ],
274
+ "name": "_setEnableDistributeTransferWpc",
275
+ "outputs": [],
276
+ "stateMutability": "nonpayable",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "bool",
283
+ "name": "state",
284
+ "type": "bool"
285
+ }
286
+ ],
287
+ "name": "_setEnableWpcClaim",
288
+ "outputs": [],
289
+ "stateMutability": "nonpayable",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [
294
+ {
295
+ "internalType": "address",
296
+ "name": "_piggy",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "name": "_setPiggy",
301
+ "outputs": [],
302
+ "stateMutability": "nonpayable",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "contract PToken",
309
+ "name": "pToken",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "wpcSpeed",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "name": "_setWpcSpeed",
319
+ "outputs": [],
320
+ "stateMutability": "nonpayable",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "contract IERC20",
327
+ "name": "token",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "pid",
333
+ "type": "uint256"
334
+ }
335
+ ],
336
+ "name": "_stakeTokenToPiggyBreeder",
337
+ "outputs": [],
338
+ "stateMutability": "nonpayable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "address",
345
+ "name": "token",
346
+ "type": "address"
347
+ },
348
+ {
349
+ "internalType": "address",
350
+ "name": "to",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "internalType": "uint256",
355
+ "name": "amount",
356
+ "type": "uint256"
357
+ }
358
+ ],
359
+ "name": "_transferToken",
360
+ "outputs": [],
361
+ "stateMutability": "nonpayable",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "address",
368
+ "name": "to",
369
+ "type": "address"
370
+ },
371
+ {
372
+ "internalType": "uint256",
373
+ "name": "amount",
374
+ "type": "uint256"
375
+ }
376
+ ],
377
+ "name": "_transferWpc",
378
+ "outputs": [],
379
+ "stateMutability": "nonpayable",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "address",
386
+ "name": "holder",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "internalType": "contract PToken[]",
391
+ "name": "pTokens",
392
+ "type": "address[]"
393
+ }
394
+ ],
395
+ "name": "claimWpc",
396
+ "outputs": [],
397
+ "stateMutability": "nonpayable",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [
402
+ {
403
+ "internalType": "address[]",
404
+ "name": "holders",
405
+ "type": "address[]"
406
+ },
407
+ {
408
+ "internalType": "contract PToken[]",
409
+ "name": "pTokens",
410
+ "type": "address[]"
411
+ },
412
+ {
413
+ "internalType": "bool",
414
+ "name": "borrowers",
415
+ "type": "bool"
416
+ },
417
+ {
418
+ "internalType": "bool",
419
+ "name": "suppliers",
420
+ "type": "bool"
421
+ }
422
+ ],
423
+ "name": "claimWpc",
424
+ "outputs": [],
425
+ "stateMutability": "nonpayable",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [
430
+ {
431
+ "internalType": "address",
432
+ "name": "holder",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "claimWpc",
437
+ "outputs": [],
438
+ "stateMutability": "nonpayable",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "comptroller",
444
+ "outputs": [
445
+ {
446
+ "internalType": "contract Comptroller",
447
+ "name": "",
448
+ "type": "address"
449
+ }
450
+ ],
451
+ "stateMutability": "view",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [
456
+ {
457
+ "internalType": "address",
458
+ "name": "pToken",
459
+ "type": "address"
460
+ },
461
+ {
462
+ "internalType": "address",
463
+ "name": "borrower",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "bool",
468
+ "name": "distributeAll",
469
+ "type": "bool"
470
+ }
471
+ ],
472
+ "name": "distributeBorrowWpc",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [
479
+ {
480
+ "internalType": "address",
481
+ "name": "pToken",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "internalType": "address",
486
+ "name": "minter",
487
+ "type": "address"
488
+ },
489
+ {
490
+ "internalType": "bool",
491
+ "name": "distributeAll",
492
+ "type": "bool"
493
+ }
494
+ ],
495
+ "name": "distributeMintWpc",
496
+ "outputs": [],
497
+ "stateMutability": "nonpayable",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [
502
+ {
503
+ "internalType": "address",
504
+ "name": "pToken",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "internalType": "address",
509
+ "name": "redeemer",
510
+ "type": "address"
511
+ },
512
+ {
513
+ "internalType": "bool",
514
+ "name": "distributeAll",
515
+ "type": "bool"
516
+ }
517
+ ],
518
+ "name": "distributeRedeemWpc",
519
+ "outputs": [],
520
+ "stateMutability": "nonpayable",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [
525
+ {
526
+ "internalType": "address",
527
+ "name": "pToken",
528
+ "type": "address"
529
+ },
530
+ {
531
+ "internalType": "address",
532
+ "name": "borrower",
533
+ "type": "address"
534
+ },
535
+ {
536
+ "internalType": "bool",
537
+ "name": "distributeAll",
538
+ "type": "bool"
539
+ }
540
+ ],
541
+ "name": "distributeRepayBorrowWpc",
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [
548
+ {
549
+ "internalType": "address",
550
+ "name": "pTokenCollateral",
551
+ "type": "address"
552
+ },
553
+ {
554
+ "internalType": "address",
555
+ "name": "borrower",
556
+ "type": "address"
557
+ },
558
+ {
559
+ "internalType": "address",
560
+ "name": "liquidator",
561
+ "type": "address"
562
+ },
563
+ {
564
+ "internalType": "bool",
565
+ "name": "distributeAll",
566
+ "type": "bool"
567
+ }
568
+ ],
569
+ "name": "distributeSeizeWpc",
570
+ "outputs": [],
571
+ "stateMutability": "nonpayable",
572
+ "type": "function"
573
+ },
574
+ {
575
+ "inputs": [
576
+ {
577
+ "internalType": "address",
578
+ "name": "pToken",
579
+ "type": "address"
580
+ },
581
+ {
582
+ "internalType": "address",
583
+ "name": "src",
584
+ "type": "address"
585
+ },
586
+ {
587
+ "internalType": "address",
588
+ "name": "dst",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "internalType": "bool",
593
+ "name": "distributeAll",
594
+ "type": "bool"
595
+ }
596
+ ],
597
+ "name": "distributeTransferWpc",
598
+ "outputs": [],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [],
604
+ "name": "enableDistributeBorrowWpc",
605
+ "outputs": [
606
+ {
607
+ "internalType": "bool",
608
+ "name": "",
609
+ "type": "bool"
610
+ }
611
+ ],
612
+ "stateMutability": "view",
613
+ "type": "function"
614
+ },
615
+ {
616
+ "inputs": [],
617
+ "name": "enableDistributeMintWpc",
618
+ "outputs": [
619
+ {
620
+ "internalType": "bool",
621
+ "name": "",
622
+ "type": "bool"
623
+ }
624
+ ],
625
+ "stateMutability": "view",
626
+ "type": "function"
627
+ },
628
+ {
629
+ "inputs": [],
630
+ "name": "enableDistributeRedeemWpc",
631
+ "outputs": [
632
+ {
633
+ "internalType": "bool",
634
+ "name": "",
635
+ "type": "bool"
636
+ }
637
+ ],
638
+ "stateMutability": "view",
639
+ "type": "function"
640
+ },
641
+ {
642
+ "inputs": [],
643
+ "name": "enableDistributeRepayBorrowWpc",
644
+ "outputs": [
645
+ {
646
+ "internalType": "bool",
647
+ "name": "",
648
+ "type": "bool"
649
+ }
650
+ ],
651
+ "stateMutability": "view",
652
+ "type": "function"
653
+ },
654
+ {
655
+ "inputs": [],
656
+ "name": "enableDistributeSeizeWpc",
657
+ "outputs": [
658
+ {
659
+ "internalType": "bool",
660
+ "name": "",
661
+ "type": "bool"
662
+ }
663
+ ],
664
+ "stateMutability": "view",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [],
669
+ "name": "enableDistributeTransferWpc",
670
+ "outputs": [
671
+ {
672
+ "internalType": "bool",
673
+ "name": "",
674
+ "type": "bool"
675
+ }
676
+ ],
677
+ "stateMutability": "view",
678
+ "type": "function"
679
+ },
680
+ {
681
+ "inputs": [],
682
+ "name": "enableWpcClaim",
683
+ "outputs": [
684
+ {
685
+ "internalType": "bool",
686
+ "name": "",
687
+ "type": "bool"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [
695
+ {
696
+ "internalType": "contract IERC20",
697
+ "name": "_piggy",
698
+ "type": "address"
699
+ },
700
+ {
701
+ "internalType": "contract IPiggyBreeder",
702
+ "name": "_piggyBreeder",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "internalType": "contract Comptroller",
707
+ "name": "_comptroller",
708
+ "type": "address"
709
+ }
710
+ ],
711
+ "name": "initialize",
712
+ "outputs": [],
713
+ "stateMutability": "nonpayable",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [],
718
+ "name": "owner",
719
+ "outputs": [
720
+ {
721
+ "internalType": "address",
722
+ "name": "",
723
+ "type": "address"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [
731
+ {
732
+ "internalType": "address",
733
+ "name": "holder",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "internalType": "bool",
738
+ "name": "borrowers",
739
+ "type": "bool"
740
+ },
741
+ {
742
+ "internalType": "bool",
743
+ "name": "suppliers",
744
+ "type": "bool"
745
+ }
746
+ ],
747
+ "name": "pendingWpcAccrued",
748
+ "outputs": [
749
+ {
750
+ "internalType": "uint256",
751
+ "name": "",
752
+ "type": "uint256"
753
+ }
754
+ ],
755
+ "stateMutability": "view",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "inputs": [],
760
+ "name": "piggy",
761
+ "outputs": [
762
+ {
763
+ "internalType": "contract IERC20",
764
+ "name": "",
765
+ "type": "address"
766
+ }
767
+ ],
768
+ "stateMutability": "view",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [],
773
+ "name": "piggyBreeder",
774
+ "outputs": [
775
+ {
776
+ "internalType": "contract IPiggyBreeder",
777
+ "name": "",
778
+ "type": "address"
779
+ }
780
+ ],
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "inputs": [],
786
+ "name": "renounceOwnership",
787
+ "outputs": [],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
793
+ {
794
+ "internalType": "address",
795
+ "name": "newOwner",
796
+ "type": "address"
797
+ }
798
+ ],
799
+ "name": "transferOwnership",
800
+ "outputs": [],
801
+ "stateMutability": "nonpayable",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "address",
808
+ "name": "",
809
+ "type": "address"
810
+ }
811
+ ],
812
+ "name": "wpcAccrued",
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": "",
828
+ "type": "address"
829
+ }
830
+ ],
831
+ "name": "wpcBorrowState",
832
+ "outputs": [
833
+ {
834
+ "internalType": "uint224",
835
+ "name": "index",
836
+ "type": "uint224"
837
+ },
838
+ {
839
+ "internalType": "uint32",
840
+ "name": "block",
841
+ "type": "uint32"
842
+ }
843
+ ],
844
+ "stateMutability": "view",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [
849
+ {
850
+ "internalType": "address",
851
+ "name": "",
852
+ "type": "address"
853
+ },
854
+ {
855
+ "internalType": "address",
856
+ "name": "",
857
+ "type": "address"
858
+ }
859
+ ],
860
+ "name": "wpcBorrowerIndex",
861
+ "outputs": [
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [],
873
+ "name": "wpcClaimThreshold",
874
+ "outputs": [
875
+ {
876
+ "internalType": "uint256",
877
+ "name": "",
878
+ "type": "uint256"
879
+ }
880
+ ],
881
+ "stateMutability": "view",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [],
886
+ "name": "wpcInitialIndex",
887
+ "outputs": [
888
+ {
889
+ "internalType": "uint224",
890
+ "name": "",
891
+ "type": "uint224"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ {
900
+ "internalType": "address",
901
+ "name": "",
902
+ "type": "address"
903
+ }
904
+ ],
905
+ "name": "wpcSpeeds",
906
+ "outputs": [
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "",
910
+ "type": "uint256"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "internalType": "address",
920
+ "name": "",
921
+ "type": "address"
922
+ },
923
+ {
924
+ "internalType": "address",
925
+ "name": "",
926
+ "type": "address"
927
+ }
928
+ ],
929
+ "name": "wpcSupplierIndex",
930
+ "outputs": [
931
+ {
932
+ "internalType": "uint256",
933
+ "name": "",
934
+ "type": "uint256"
935
+ }
936
+ ],
937
+ "stateMutability": "view",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [
942
+ {
943
+ "internalType": "address",
944
+ "name": "",
945
+ "type": "address"
946
+ }
947
+ ],
948
+ "name": "wpcSupplyState",
949
+ "outputs": [
950
+ {
951
+ "internalType": "uint224",
952
+ "name": "index",
953
+ "type": "uint224"
954
+ },
955
+ {
956
+ "internalType": "uint32",
957
+ "name": "block",
958
+ "type": "uint32"
959
+ }
960
+ ],
961
+ "stateMutability": "view",
962
+ "type": "function"
963
+ }
1046
964
  ]
1047
965
  ''')