@curvefi/api 2.2.1 → 2.3.0

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.
@@ -0,0 +1,1039 @@
1
+ [
2
+ {
3
+ "name": "Approval",
4
+ "inputs": [
5
+ {
6
+ "name": "_owner",
7
+ "type": "address",
8
+ "indexed": true
9
+ },
10
+ {
11
+ "name": "_spender",
12
+ "type": "address",
13
+ "indexed": true
14
+ },
15
+ {
16
+ "name": "_value",
17
+ "type": "uint256",
18
+ "indexed": false
19
+ }
20
+ ],
21
+ "anonymous": false,
22
+ "type": "event"
23
+ },
24
+ {
25
+ "name": "Transfer",
26
+ "inputs": [
27
+ {
28
+ "name": "_from",
29
+ "type": "address",
30
+ "indexed": true
31
+ },
32
+ {
33
+ "name": "_to",
34
+ "type": "address",
35
+ "indexed": true
36
+ },
37
+ {
38
+ "name": "_value",
39
+ "type": "uint256",
40
+ "indexed": false
41
+ }
42
+ ],
43
+ "anonymous": false,
44
+ "type": "event"
45
+ },
46
+ {
47
+ "name": "Deposit",
48
+ "inputs": [
49
+ {
50
+ "name": "_user",
51
+ "type": "address",
52
+ "indexed": true
53
+ },
54
+ {
55
+ "name": "_value",
56
+ "type": "uint256",
57
+ "indexed": false
58
+ }
59
+ ],
60
+ "anonymous": false,
61
+ "type": "event"
62
+ },
63
+ {
64
+ "name": "Withdraw",
65
+ "inputs": [
66
+ {
67
+ "name": "_user",
68
+ "type": "address",
69
+ "indexed": true
70
+ },
71
+ {
72
+ "name": "_value",
73
+ "type": "uint256",
74
+ "indexed": false
75
+ }
76
+ ],
77
+ "anonymous": false,
78
+ "type": "event"
79
+ },
80
+ {
81
+ "name": "UpdateLiquidityLimit",
82
+ "inputs": [
83
+ {
84
+ "name": "_user",
85
+ "type": "address",
86
+ "indexed": true
87
+ },
88
+ {
89
+ "name": "_original_balance",
90
+ "type": "uint256",
91
+ "indexed": false
92
+ },
93
+ {
94
+ "name": "_original_supply",
95
+ "type": "uint256",
96
+ "indexed": false
97
+ },
98
+ {
99
+ "name": "_working_balance",
100
+ "type": "uint256",
101
+ "indexed": false
102
+ },
103
+ {
104
+ "name": "_working_supply",
105
+ "type": "uint256",
106
+ "indexed": false
107
+ }
108
+ ],
109
+ "anonymous": false,
110
+ "type": "event"
111
+ },
112
+ {
113
+ "stateMutability": "nonpayable",
114
+ "type": "constructor",
115
+ "inputs": [
116
+ {
117
+ "name": "_crv_token",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "name": "_factory",
122
+ "type": "address"
123
+ }
124
+ ],
125
+ "outputs": []
126
+ },
127
+ {
128
+ "stateMutability": "nonpayable",
129
+ "type": "function",
130
+ "name": "deposit",
131
+ "inputs": [
132
+ {
133
+ "name": "_value",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "outputs": []
138
+ },
139
+ {
140
+ "stateMutability": "nonpayable",
141
+ "type": "function",
142
+ "name": "deposit",
143
+ "inputs": [
144
+ {
145
+ "name": "_value",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "name": "_user",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "outputs": []
154
+ },
155
+ {
156
+ "stateMutability": "nonpayable",
157
+ "type": "function",
158
+ "name": "deposit",
159
+ "inputs": [
160
+ {
161
+ "name": "_value",
162
+ "type": "uint256"
163
+ },
164
+ {
165
+ "name": "_user",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "name": "_claim_rewards",
170
+ "type": "bool"
171
+ }
172
+ ],
173
+ "outputs": []
174
+ },
175
+ {
176
+ "stateMutability": "nonpayable",
177
+ "type": "function",
178
+ "name": "withdraw",
179
+ "inputs": [
180
+ {
181
+ "name": "_value",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "outputs": []
186
+ },
187
+ {
188
+ "stateMutability": "nonpayable",
189
+ "type": "function",
190
+ "name": "withdraw",
191
+ "inputs": [
192
+ {
193
+ "name": "_value",
194
+ "type": "uint256"
195
+ },
196
+ {
197
+ "name": "_user",
198
+ "type": "address"
199
+ }
200
+ ],
201
+ "outputs": []
202
+ },
203
+ {
204
+ "stateMutability": "nonpayable",
205
+ "type": "function",
206
+ "name": "withdraw",
207
+ "inputs": [
208
+ {
209
+ "name": "_value",
210
+ "type": "uint256"
211
+ },
212
+ {
213
+ "name": "_user",
214
+ "type": "address"
215
+ },
216
+ {
217
+ "name": "_claim_rewards",
218
+ "type": "bool"
219
+ }
220
+ ],
221
+ "outputs": []
222
+ },
223
+ {
224
+ "stateMutability": "nonpayable",
225
+ "type": "function",
226
+ "name": "transferFrom",
227
+ "inputs": [
228
+ {
229
+ "name": "_from",
230
+ "type": "address"
231
+ },
232
+ {
233
+ "name": "_to",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "name": "_value",
238
+ "type": "uint256"
239
+ }
240
+ ],
241
+ "outputs": [
242
+ {
243
+ "name": "",
244
+ "type": "bool"
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "stateMutability": "nonpayable",
250
+ "type": "function",
251
+ "name": "approve",
252
+ "inputs": [
253
+ {
254
+ "name": "_spender",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "name": "_value",
259
+ "type": "uint256"
260
+ }
261
+ ],
262
+ "outputs": [
263
+ {
264
+ "name": "",
265
+ "type": "bool"
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "stateMutability": "nonpayable",
271
+ "type": "function",
272
+ "name": "permit",
273
+ "inputs": [
274
+ {
275
+ "name": "_owner",
276
+ "type": "address"
277
+ },
278
+ {
279
+ "name": "_spender",
280
+ "type": "address"
281
+ },
282
+ {
283
+ "name": "_value",
284
+ "type": "uint256"
285
+ },
286
+ {
287
+ "name": "_deadline",
288
+ "type": "uint256"
289
+ },
290
+ {
291
+ "name": "_v",
292
+ "type": "uint8"
293
+ },
294
+ {
295
+ "name": "_r",
296
+ "type": "bytes32"
297
+ },
298
+ {
299
+ "name": "_s",
300
+ "type": "bytes32"
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "",
306
+ "type": "bool"
307
+ }
308
+ ]
309
+ },
310
+ {
311
+ "stateMutability": "nonpayable",
312
+ "type": "function",
313
+ "name": "transfer",
314
+ "inputs": [
315
+ {
316
+ "name": "_to",
317
+ "type": "address"
318
+ },
319
+ {
320
+ "name": "_value",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "outputs": [
325
+ {
326
+ "name": "",
327
+ "type": "bool"
328
+ }
329
+ ]
330
+ },
331
+ {
332
+ "stateMutability": "nonpayable",
333
+ "type": "function",
334
+ "name": "increaseAllowance",
335
+ "inputs": [
336
+ {
337
+ "name": "_spender",
338
+ "type": "address"
339
+ },
340
+ {
341
+ "name": "_added_value",
342
+ "type": "uint256"
343
+ }
344
+ ],
345
+ "outputs": [
346
+ {
347
+ "name": "",
348
+ "type": "bool"
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "stateMutability": "nonpayable",
354
+ "type": "function",
355
+ "name": "decreaseAllowance",
356
+ "inputs": [
357
+ {
358
+ "name": "_spender",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "name": "_subtracted_value",
363
+ "type": "uint256"
364
+ }
365
+ ],
366
+ "outputs": [
367
+ {
368
+ "name": "",
369
+ "type": "bool"
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ "stateMutability": "nonpayable",
375
+ "type": "function",
376
+ "name": "user_checkpoint",
377
+ "inputs": [
378
+ {
379
+ "name": "addr",
380
+ "type": "address"
381
+ }
382
+ ],
383
+ "outputs": [
384
+ {
385
+ "name": "",
386
+ "type": "bool"
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "stateMutability": "view",
392
+ "type": "function",
393
+ "name": "claimable_tokens",
394
+ "inputs": [
395
+ {
396
+ "name": "addr",
397
+ "type": "address"
398
+ }
399
+ ],
400
+ "outputs": [
401
+ {
402
+ "name": "",
403
+ "type": "uint256"
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "stateMutability": "view",
409
+ "type": "function",
410
+ "name": "claimed_reward",
411
+ "inputs": [
412
+ {
413
+ "name": "_addr",
414
+ "type": "address"
415
+ },
416
+ {
417
+ "name": "_token",
418
+ "type": "address"
419
+ }
420
+ ],
421
+ "outputs": [
422
+ {
423
+ "name": "",
424
+ "type": "uint256"
425
+ }
426
+ ]
427
+ },
428
+ {
429
+ "stateMutability": "view",
430
+ "type": "function",
431
+ "name": "claimable_reward",
432
+ "inputs": [
433
+ {
434
+ "name": "_user",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "name": "_reward_token",
439
+ "type": "address"
440
+ }
441
+ ],
442
+ "outputs": [
443
+ {
444
+ "name": "",
445
+ "type": "uint256"
446
+ }
447
+ ]
448
+ },
449
+ {
450
+ "stateMutability": "nonpayable",
451
+ "type": "function",
452
+ "name": "set_rewards_receiver",
453
+ "inputs": [
454
+ {
455
+ "name": "_receiver",
456
+ "type": "address"
457
+ }
458
+ ],
459
+ "outputs": []
460
+ },
461
+ {
462
+ "stateMutability": "nonpayable",
463
+ "type": "function",
464
+ "name": "claim_rewards",
465
+ "inputs": [],
466
+ "outputs": []
467
+ },
468
+ {
469
+ "stateMutability": "nonpayable",
470
+ "type": "function",
471
+ "name": "claim_rewards",
472
+ "inputs": [
473
+ {
474
+ "name": "_addr",
475
+ "type": "address"
476
+ }
477
+ ],
478
+ "outputs": []
479
+ },
480
+ {
481
+ "stateMutability": "nonpayable",
482
+ "type": "function",
483
+ "name": "claim_rewards",
484
+ "inputs": [
485
+ {
486
+ "name": "_addr",
487
+ "type": "address"
488
+ },
489
+ {
490
+ "name": "_receiver",
491
+ "type": "address"
492
+ }
493
+ ],
494
+ "outputs": []
495
+ },
496
+ {
497
+ "stateMutability": "nonpayable",
498
+ "type": "function",
499
+ "name": "add_reward",
500
+ "inputs": [
501
+ {
502
+ "name": "_reward_token",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "name": "_distributor",
507
+ "type": "address"
508
+ }
509
+ ],
510
+ "outputs": []
511
+ },
512
+ {
513
+ "stateMutability": "nonpayable",
514
+ "type": "function",
515
+ "name": "set_reward_distributor",
516
+ "inputs": [
517
+ {
518
+ "name": "_reward_token",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "name": "_distributor",
523
+ "type": "address"
524
+ }
525
+ ],
526
+ "outputs": []
527
+ },
528
+ {
529
+ "stateMutability": "nonpayable",
530
+ "type": "function",
531
+ "name": "deposit_reward_token",
532
+ "inputs": [
533
+ {
534
+ "name": "_reward_token",
535
+ "type": "address"
536
+ },
537
+ {
538
+ "name": "_amount",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "outputs": []
543
+ },
544
+ {
545
+ "stateMutability": "nonpayable",
546
+ "type": "function",
547
+ "name": "set_manager",
548
+ "inputs": [
549
+ {
550
+ "name": "_manager",
551
+ "type": "address"
552
+ }
553
+ ],
554
+ "outputs": []
555
+ },
556
+ {
557
+ "stateMutability": "nonpayable",
558
+ "type": "function",
559
+ "name": "update_voting_escrow",
560
+ "inputs": [],
561
+ "outputs": []
562
+ },
563
+ {
564
+ "stateMutability": "nonpayable",
565
+ "type": "function",
566
+ "name": "set_killed",
567
+ "inputs": [
568
+ {
569
+ "name": "_is_killed",
570
+ "type": "bool"
571
+ }
572
+ ],
573
+ "outputs": []
574
+ },
575
+ {
576
+ "stateMutability": "view",
577
+ "type": "function",
578
+ "name": "decimals",
579
+ "inputs": [],
580
+ "outputs": [
581
+ {
582
+ "name": "",
583
+ "type": "uint256"
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "stateMutability": "view",
589
+ "type": "function",
590
+ "name": "integrate_checkpoint",
591
+ "inputs": [],
592
+ "outputs": [
593
+ {
594
+ "name": "",
595
+ "type": "uint256"
596
+ }
597
+ ]
598
+ },
599
+ {
600
+ "stateMutability": "view",
601
+ "type": "function",
602
+ "name": "version",
603
+ "inputs": [],
604
+ "outputs": [
605
+ {
606
+ "name": "",
607
+ "type": "string"
608
+ }
609
+ ]
610
+ },
611
+ {
612
+ "stateMutability": "view",
613
+ "type": "function",
614
+ "name": "factory",
615
+ "inputs": [],
616
+ "outputs": [
617
+ {
618
+ "name": "",
619
+ "type": "address"
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "stateMutability": "nonpayable",
625
+ "type": "function",
626
+ "name": "initialize",
627
+ "inputs": [
628
+ {
629
+ "name": "_lp_token",
630
+ "type": "address"
631
+ },
632
+ {
633
+ "name": "_manager",
634
+ "type": "address"
635
+ }
636
+ ],
637
+ "outputs": []
638
+ },
639
+ {
640
+ "stateMutability": "view",
641
+ "type": "function",
642
+ "name": "DOMAIN_SEPARATOR",
643
+ "inputs": [],
644
+ "outputs": [
645
+ {
646
+ "name": "",
647
+ "type": "bytes32"
648
+ }
649
+ ]
650
+ },
651
+ {
652
+ "stateMutability": "view",
653
+ "type": "function",
654
+ "name": "nonces",
655
+ "inputs": [
656
+ {
657
+ "name": "arg0",
658
+ "type": "address"
659
+ }
660
+ ],
661
+ "outputs": [
662
+ {
663
+ "name": "",
664
+ "type": "uint256"
665
+ }
666
+ ]
667
+ },
668
+ {
669
+ "stateMutability": "view",
670
+ "type": "function",
671
+ "name": "name",
672
+ "inputs": [],
673
+ "outputs": [
674
+ {
675
+ "name": "",
676
+ "type": "string"
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "stateMutability": "view",
682
+ "type": "function",
683
+ "name": "symbol",
684
+ "inputs": [],
685
+ "outputs": [
686
+ {
687
+ "name": "",
688
+ "type": "string"
689
+ }
690
+ ]
691
+ },
692
+ {
693
+ "stateMutability": "view",
694
+ "type": "function",
695
+ "name": "allowance",
696
+ "inputs": [
697
+ {
698
+ "name": "arg0",
699
+ "type": "address"
700
+ },
701
+ {
702
+ "name": "arg1",
703
+ "type": "address"
704
+ }
705
+ ],
706
+ "outputs": [
707
+ {
708
+ "name": "",
709
+ "type": "uint256"
710
+ }
711
+ ]
712
+ },
713
+ {
714
+ "stateMutability": "view",
715
+ "type": "function",
716
+ "name": "balanceOf",
717
+ "inputs": [
718
+ {
719
+ "name": "arg0",
720
+ "type": "address"
721
+ }
722
+ ],
723
+ "outputs": [
724
+ {
725
+ "name": "",
726
+ "type": "uint256"
727
+ }
728
+ ]
729
+ },
730
+ {
731
+ "stateMutability": "view",
732
+ "type": "function",
733
+ "name": "totalSupply",
734
+ "inputs": [],
735
+ "outputs": [
736
+ {
737
+ "name": "",
738
+ "type": "uint256"
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "stateMutability": "view",
744
+ "type": "function",
745
+ "name": "lp_token",
746
+ "inputs": [],
747
+ "outputs": [
748
+ {
749
+ "name": "",
750
+ "type": "address"
751
+ }
752
+ ]
753
+ },
754
+ {
755
+ "stateMutability": "view",
756
+ "type": "function",
757
+ "name": "manager",
758
+ "inputs": [],
759
+ "outputs": [
760
+ {
761
+ "name": "",
762
+ "type": "address"
763
+ }
764
+ ]
765
+ },
766
+ {
767
+ "stateMutability": "view",
768
+ "type": "function",
769
+ "name": "voting_escrow",
770
+ "inputs": [],
771
+ "outputs": [
772
+ {
773
+ "name": "",
774
+ "type": "address"
775
+ }
776
+ ]
777
+ },
778
+ {
779
+ "stateMutability": "view",
780
+ "type": "function",
781
+ "name": "working_balances",
782
+ "inputs": [
783
+ {
784
+ "name": "arg0",
785
+ "type": "address"
786
+ }
787
+ ],
788
+ "outputs": [
789
+ {
790
+ "name": "",
791
+ "type": "uint256"
792
+ }
793
+ ]
794
+ },
795
+ {
796
+ "stateMutability": "view",
797
+ "type": "function",
798
+ "name": "working_supply",
799
+ "inputs": [],
800
+ "outputs": [
801
+ {
802
+ "name": "",
803
+ "type": "uint256"
804
+ }
805
+ ]
806
+ },
807
+ {
808
+ "stateMutability": "view",
809
+ "type": "function",
810
+ "name": "period",
811
+ "inputs": [],
812
+ "outputs": [
813
+ {
814
+ "name": "",
815
+ "type": "uint256"
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "stateMutability": "view",
821
+ "type": "function",
822
+ "name": "period_timestamp",
823
+ "inputs": [
824
+ {
825
+ "name": "arg0",
826
+ "type": "uint256"
827
+ }
828
+ ],
829
+ "outputs": [
830
+ {
831
+ "name": "",
832
+ "type": "uint256"
833
+ }
834
+ ]
835
+ },
836
+ {
837
+ "stateMutability": "view",
838
+ "type": "function",
839
+ "name": "integrate_checkpoint_of",
840
+ "inputs": [
841
+ {
842
+ "name": "arg0",
843
+ "type": "address"
844
+ }
845
+ ],
846
+ "outputs": [
847
+ {
848
+ "name": "",
849
+ "type": "uint256"
850
+ }
851
+ ]
852
+ },
853
+ {
854
+ "stateMutability": "view",
855
+ "type": "function",
856
+ "name": "integrate_fraction",
857
+ "inputs": [
858
+ {
859
+ "name": "arg0",
860
+ "type": "address"
861
+ }
862
+ ],
863
+ "outputs": [
864
+ {
865
+ "name": "",
866
+ "type": "uint256"
867
+ }
868
+ ]
869
+ },
870
+ {
871
+ "stateMutability": "view",
872
+ "type": "function",
873
+ "name": "integrate_inv_supply",
874
+ "inputs": [
875
+ {
876
+ "name": "arg0",
877
+ "type": "uint256"
878
+ }
879
+ ],
880
+ "outputs": [
881
+ {
882
+ "name": "",
883
+ "type": "uint256"
884
+ }
885
+ ]
886
+ },
887
+ {
888
+ "stateMutability": "view",
889
+ "type": "function",
890
+ "name": "integrate_inv_supply_of",
891
+ "inputs": [
892
+ {
893
+ "name": "arg0",
894
+ "type": "address"
895
+ }
896
+ ],
897
+ "outputs": [
898
+ {
899
+ "name": "",
900
+ "type": "uint256"
901
+ }
902
+ ]
903
+ },
904
+ {
905
+ "stateMutability": "view",
906
+ "type": "function",
907
+ "name": "reward_count",
908
+ "inputs": [],
909
+ "outputs": [
910
+ {
911
+ "name": "",
912
+ "type": "uint256"
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "stateMutability": "view",
918
+ "type": "function",
919
+ "name": "reward_tokens",
920
+ "inputs": [
921
+ {
922
+ "name": "arg0",
923
+ "type": "uint256"
924
+ }
925
+ ],
926
+ "outputs": [
927
+ {
928
+ "name": "",
929
+ "type": "address"
930
+ }
931
+ ]
932
+ },
933
+ {
934
+ "stateMutability": "view",
935
+ "type": "function",
936
+ "name": "reward_data",
937
+ "inputs": [
938
+ {
939
+ "name": "arg0",
940
+ "type": "address"
941
+ }
942
+ ],
943
+ "outputs": [
944
+ {
945
+ "name": "",
946
+ "type": "tuple",
947
+ "components": [
948
+ {
949
+ "name": "distributor",
950
+ "type": "address"
951
+ },
952
+ {
953
+ "name": "period_finish",
954
+ "type": "uint256"
955
+ },
956
+ {
957
+ "name": "rate",
958
+ "type": "uint256"
959
+ },
960
+ {
961
+ "name": "last_update",
962
+ "type": "uint256"
963
+ },
964
+ {
965
+ "name": "integral",
966
+ "type": "uint256"
967
+ }
968
+ ]
969
+ }
970
+ ]
971
+ },
972
+ {
973
+ "stateMutability": "view",
974
+ "type": "function",
975
+ "name": "rewards_receiver",
976
+ "inputs": [
977
+ {
978
+ "name": "arg0",
979
+ "type": "address"
980
+ }
981
+ ],
982
+ "outputs": [
983
+ {
984
+ "name": "",
985
+ "type": "address"
986
+ }
987
+ ]
988
+ },
989
+ {
990
+ "stateMutability": "view",
991
+ "type": "function",
992
+ "name": "reward_integral_for",
993
+ "inputs": [
994
+ {
995
+ "name": "arg0",
996
+ "type": "address"
997
+ },
998
+ {
999
+ "name": "arg1",
1000
+ "type": "address"
1001
+ }
1002
+ ],
1003
+ "outputs": [
1004
+ {
1005
+ "name": "",
1006
+ "type": "uint256"
1007
+ }
1008
+ ]
1009
+ },
1010
+ {
1011
+ "stateMutability": "view",
1012
+ "type": "function",
1013
+ "name": "is_killed",
1014
+ "inputs": [],
1015
+ "outputs": [
1016
+ {
1017
+ "name": "",
1018
+ "type": "bool"
1019
+ }
1020
+ ]
1021
+ },
1022
+ {
1023
+ "stateMutability": "view",
1024
+ "type": "function",
1025
+ "name": "inflation_rate",
1026
+ "inputs": [
1027
+ {
1028
+ "name": "arg0",
1029
+ "type": "uint256"
1030
+ }
1031
+ ],
1032
+ "outputs": [
1033
+ {
1034
+ "name": "",
1035
+ "type": "uint256"
1036
+ }
1037
+ ]
1038
+ }
1039
+ ]