@curvefi/api 1.16.1 → 1.18.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.
Files changed (39) hide show
  1. package/README.md +98 -0
  2. package/lib/constants/abis/abis-ethereum.js +6 -6
  3. package/lib/constants/abis/json/deposit_and_stake.json +51 -0
  4. package/lib/constants/abis/json/factory-v2/DepositZapMetaBtcPolygon.json +197 -0
  5. package/lib/constants/abis/json/factory-v2/DepositZapMetaUsdPolygon.json +197 -0
  6. package/lib/constants/abis/json/factory-v2/MetaBTC.json +919 -0
  7. package/lib/constants/abis/json/factory-v2/MetaBTCBalances.json +932 -0
  8. package/lib/constants/abis/json/factory-v2/MetaBTCBalancesRen.json +932 -0
  9. package/lib/constants/abis/json/factory-v2/MetaBTCRen.json +919 -0
  10. package/lib/constants/abis/json/factory-v2/MetaUSD.json +919 -0
  11. package/lib/constants/abis/json/factory-v2/MetaUSDBalances.json +932 -0
  12. package/lib/constants/abis/json/factory-v2/Plain2Balances.json +845 -0
  13. package/lib/constants/abis/json/factory-v2/Plain2Basic.json +845 -0
  14. package/lib/constants/abis/json/factory-v2/Plain2ETH.json +845 -0
  15. package/lib/constants/abis/json/factory-v2/Plain2Optimized.json +844 -0
  16. package/lib/constants/abis/json/factory-v2/Plain3Balances.json +845 -0
  17. package/lib/constants/abis/json/factory-v2/Plain3Basic.json +845 -0
  18. package/lib/constants/abis/json/factory-v2/Plain3ETH.json +845 -0
  19. package/lib/constants/abis/json/factory-v2/Plain3Optimized.json +845 -0
  20. package/lib/constants/abis/json/factory-v2/Plain4Balances.json +845 -0
  21. package/lib/constants/abis/json/factory-v2/Plain4Basic.json +845 -0
  22. package/lib/constants/abis/json/factory-v2/Plain4ETH.json +845 -0
  23. package/lib/constants/abis/json/factory-v2/Plain4Optimized.json +845 -0
  24. package/lib/constants/abis/json/factory.json +1063 -0
  25. package/lib/constants/aliases.d.ts +4 -0
  26. package/lib/constants/aliases.js +4 -0
  27. package/lib/constants/coins-polygon.js +3 -2
  28. package/lib/curve.d.ts +4 -0
  29. package/lib/curve.js +44 -0
  30. package/lib/factory.d.ts +32 -0
  31. package/lib/factory.js +607 -0
  32. package/lib/index.d.ts +4 -0
  33. package/lib/index.js +15 -0
  34. package/lib/interfaces.d.ts +15 -1
  35. package/lib/pools.d.ts +22 -0
  36. package/lib/pools.js +462 -69
  37. package/lib/utils.d.ts +8 -1
  38. package/lib/utils.js +121 -8
  39. package/package.json +4 -2
@@ -0,0 +1,919 @@
1
+ [
2
+ {
3
+ "name": "Transfer",
4
+ "inputs": [
5
+ {
6
+ "name": "sender",
7
+ "type": "address",
8
+ "indexed": true
9
+ },
10
+ {
11
+ "name": "receiver",
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": "Approval",
26
+ "inputs": [
27
+ {
28
+ "name": "owner",
29
+ "type": "address",
30
+ "indexed": true
31
+ },
32
+ {
33
+ "name": "spender",
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": "TokenExchange",
48
+ "inputs": [
49
+ {
50
+ "name": "buyer",
51
+ "type": "address",
52
+ "indexed": true
53
+ },
54
+ {
55
+ "name": "sold_id",
56
+ "type": "int128",
57
+ "indexed": false
58
+ },
59
+ {
60
+ "name": "tokens_sold",
61
+ "type": "uint256",
62
+ "indexed": false
63
+ },
64
+ {
65
+ "name": "bought_id",
66
+ "type": "int128",
67
+ "indexed": false
68
+ },
69
+ {
70
+ "name": "tokens_bought",
71
+ "type": "uint256",
72
+ "indexed": false
73
+ }
74
+ ],
75
+ "anonymous": false,
76
+ "type": "event"
77
+ },
78
+ {
79
+ "name": "TokenExchangeUnderlying",
80
+ "inputs": [
81
+ {
82
+ "name": "buyer",
83
+ "type": "address",
84
+ "indexed": true
85
+ },
86
+ {
87
+ "name": "sold_id",
88
+ "type": "int128",
89
+ "indexed": false
90
+ },
91
+ {
92
+ "name": "tokens_sold",
93
+ "type": "uint256",
94
+ "indexed": false
95
+ },
96
+ {
97
+ "name": "bought_id",
98
+ "type": "int128",
99
+ "indexed": false
100
+ },
101
+ {
102
+ "name": "tokens_bought",
103
+ "type": "uint256",
104
+ "indexed": false
105
+ }
106
+ ],
107
+ "anonymous": false,
108
+ "type": "event"
109
+ },
110
+ {
111
+ "name": "AddLiquidity",
112
+ "inputs": [
113
+ {
114
+ "name": "provider",
115
+ "type": "address",
116
+ "indexed": true
117
+ },
118
+ {
119
+ "name": "token_amounts",
120
+ "type": "uint256[2]",
121
+ "indexed": false
122
+ },
123
+ {
124
+ "name": "fees",
125
+ "type": "uint256[2]",
126
+ "indexed": false
127
+ },
128
+ {
129
+ "name": "invariant",
130
+ "type": "uint256",
131
+ "indexed": false
132
+ },
133
+ {
134
+ "name": "token_supply",
135
+ "type": "uint256",
136
+ "indexed": false
137
+ }
138
+ ],
139
+ "anonymous": false,
140
+ "type": "event"
141
+ },
142
+ {
143
+ "name": "RemoveLiquidity",
144
+ "inputs": [
145
+ {
146
+ "name": "provider",
147
+ "type": "address",
148
+ "indexed": true
149
+ },
150
+ {
151
+ "name": "token_amounts",
152
+ "type": "uint256[2]",
153
+ "indexed": false
154
+ },
155
+ {
156
+ "name": "fees",
157
+ "type": "uint256[2]",
158
+ "indexed": false
159
+ },
160
+ {
161
+ "name": "token_supply",
162
+ "type": "uint256",
163
+ "indexed": false
164
+ }
165
+ ],
166
+ "anonymous": false,
167
+ "type": "event"
168
+ },
169
+ {
170
+ "name": "RemoveLiquidityOne",
171
+ "inputs": [
172
+ {
173
+ "name": "provider",
174
+ "type": "address",
175
+ "indexed": true
176
+ },
177
+ {
178
+ "name": "token_amount",
179
+ "type": "uint256",
180
+ "indexed": false
181
+ },
182
+ {
183
+ "name": "coin_amount",
184
+ "type": "uint256",
185
+ "indexed": false
186
+ },
187
+ {
188
+ "name": "token_supply",
189
+ "type": "uint256",
190
+ "indexed": false
191
+ }
192
+ ],
193
+ "anonymous": false,
194
+ "type": "event"
195
+ },
196
+ {
197
+ "name": "RemoveLiquidityImbalance",
198
+ "inputs": [
199
+ {
200
+ "name": "provider",
201
+ "type": "address",
202
+ "indexed": true
203
+ },
204
+ {
205
+ "name": "token_amounts",
206
+ "type": "uint256[2]",
207
+ "indexed": false
208
+ },
209
+ {
210
+ "name": "fees",
211
+ "type": "uint256[2]",
212
+ "indexed": false
213
+ },
214
+ {
215
+ "name": "invariant",
216
+ "type": "uint256",
217
+ "indexed": false
218
+ },
219
+ {
220
+ "name": "token_supply",
221
+ "type": "uint256",
222
+ "indexed": false
223
+ }
224
+ ],
225
+ "anonymous": false,
226
+ "type": "event"
227
+ },
228
+ {
229
+ "name": "RampA",
230
+ "inputs": [
231
+ {
232
+ "name": "old_A",
233
+ "type": "uint256",
234
+ "indexed": false
235
+ },
236
+ {
237
+ "name": "new_A",
238
+ "type": "uint256",
239
+ "indexed": false
240
+ },
241
+ {
242
+ "name": "initial_time",
243
+ "type": "uint256",
244
+ "indexed": false
245
+ },
246
+ {
247
+ "name": "future_time",
248
+ "type": "uint256",
249
+ "indexed": false
250
+ }
251
+ ],
252
+ "anonymous": false,
253
+ "type": "event"
254
+ },
255
+ {
256
+ "name": "StopRampA",
257
+ "inputs": [
258
+ {
259
+ "name": "A",
260
+ "type": "uint256",
261
+ "indexed": false
262
+ },
263
+ {
264
+ "name": "t",
265
+ "type": "uint256",
266
+ "indexed": false
267
+ }
268
+ ],
269
+ "anonymous": false,
270
+ "type": "event"
271
+ },
272
+ {
273
+ "stateMutability": "nonpayable",
274
+ "type": "constructor",
275
+ "inputs": [],
276
+ "outputs": []
277
+ },
278
+ {
279
+ "stateMutability": "nonpayable",
280
+ "type": "function",
281
+ "name": "initialize",
282
+ "inputs": [
283
+ {
284
+ "name": "_name",
285
+ "type": "string"
286
+ },
287
+ {
288
+ "name": "_symbol",
289
+ "type": "string"
290
+ },
291
+ {
292
+ "name": "_coin",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "name": "_rate_multiplier",
297
+ "type": "uint256"
298
+ },
299
+ {
300
+ "name": "_A",
301
+ "type": "uint256"
302
+ },
303
+ {
304
+ "name": "_fee",
305
+ "type": "uint256"
306
+ }
307
+ ],
308
+ "outputs": [],
309
+ "gas": "447067"
310
+ },
311
+ {
312
+ "stateMutability": "view",
313
+ "type": "function",
314
+ "name": "decimals",
315
+ "inputs": [],
316
+ "outputs": [
317
+ {
318
+ "name": "",
319
+ "type": "uint256"
320
+ }
321
+ ],
322
+ "gas": "318"
323
+ },
324
+ {
325
+ "stateMutability": "nonpayable",
326
+ "type": "function",
327
+ "name": "transfer",
328
+ "inputs": [
329
+ {
330
+ "name": "_to",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "name": "_value",
335
+ "type": "uint256"
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "",
341
+ "type": "bool"
342
+ }
343
+ ],
344
+ "gas": "79217"
345
+ },
346
+ {
347
+ "stateMutability": "nonpayable",
348
+ "type": "function",
349
+ "name": "transferFrom",
350
+ "inputs": [
351
+ {
352
+ "name": "_from",
353
+ "type": "address"
354
+ },
355
+ {
356
+ "name": "_to",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "name": "_value",
361
+ "type": "uint256"
362
+ }
363
+ ],
364
+ "outputs": [
365
+ {
366
+ "name": "",
367
+ "type": "bool"
368
+ }
369
+ ],
370
+ "gas": "117152"
371
+ },
372
+ {
373
+ "stateMutability": "nonpayable",
374
+ "type": "function",
375
+ "name": "approve",
376
+ "inputs": [
377
+ {
378
+ "name": "_spender",
379
+ "type": "address"
380
+ },
381
+ {
382
+ "name": "_value",
383
+ "type": "uint256"
384
+ }
385
+ ],
386
+ "outputs": [
387
+ {
388
+ "name": "",
389
+ "type": "bool"
390
+ }
391
+ ],
392
+ "gas": "39151"
393
+ },
394
+ {
395
+ "stateMutability": "view",
396
+ "type": "function",
397
+ "name": "admin_fee",
398
+ "inputs": [],
399
+ "outputs": [
400
+ {
401
+ "name": "",
402
+ "type": "uint256"
403
+ }
404
+ ],
405
+ "gas": "438"
406
+ },
407
+ {
408
+ "stateMutability": "view",
409
+ "type": "function",
410
+ "name": "A",
411
+ "inputs": [],
412
+ "outputs": [
413
+ {
414
+ "name": "",
415
+ "type": "uint256"
416
+ }
417
+ ],
418
+ "gas": "10704"
419
+ },
420
+ {
421
+ "stateMutability": "view",
422
+ "type": "function",
423
+ "name": "A_precise",
424
+ "inputs": [],
425
+ "outputs": [
426
+ {
427
+ "name": "",
428
+ "type": "uint256"
429
+ }
430
+ ],
431
+ "gas": "10666"
432
+ },
433
+ {
434
+ "stateMutability": "view",
435
+ "type": "function",
436
+ "name": "get_virtual_price",
437
+ "inputs": [],
438
+ "outputs": [
439
+ {
440
+ "name": "",
441
+ "type": "uint256"
442
+ }
443
+ ],
444
+ "gas": "1023280"
445
+ },
446
+ {
447
+ "stateMutability": "view",
448
+ "type": "function",
449
+ "name": "calc_token_amount",
450
+ "inputs": [
451
+ {
452
+ "name": "_amounts",
453
+ "type": "uint256[2]"
454
+ },
455
+ {
456
+ "name": "_is_deposit",
457
+ "type": "bool"
458
+ }
459
+ ],
460
+ "outputs": [
461
+ {
462
+ "name": "",
463
+ "type": "uint256"
464
+ }
465
+ ],
466
+ "gas": "4029742"
467
+ },
468
+ {
469
+ "stateMutability": "nonpayable",
470
+ "type": "function",
471
+ "name": "add_liquidity",
472
+ "inputs": [
473
+ {
474
+ "name": "_amounts",
475
+ "type": "uint256[2]"
476
+ },
477
+ {
478
+ "name": "_min_mint_amount",
479
+ "type": "uint256"
480
+ }
481
+ ],
482
+ "outputs": [
483
+ {
484
+ "name": "",
485
+ "type": "uint256"
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "stateMutability": "view",
491
+ "type": "function",
492
+ "name": "get_dy",
493
+ "inputs": [
494
+ {
495
+ "name": "i",
496
+ "type": "int128"
497
+ },
498
+ {
499
+ "name": "j",
500
+ "type": "int128"
501
+ },
502
+ {
503
+ "name": "dx",
504
+ "type": "uint256"
505
+ }
506
+ ],
507
+ "outputs": [
508
+ {
509
+ "name": "",
510
+ "type": "uint256"
511
+ }
512
+ ],
513
+ "gas": "2466434"
514
+ },
515
+ {
516
+ "stateMutability": "view",
517
+ "type": "function",
518
+ "name": "get_dy_underlying",
519
+ "inputs": [
520
+ {
521
+ "name": "i",
522
+ "type": "int128"
523
+ },
524
+ {
525
+ "name": "j",
526
+ "type": "int128"
527
+ },
528
+ {
529
+ "name": "dx",
530
+ "type": "uint256"
531
+ }
532
+ ],
533
+ "outputs": [
534
+ {
535
+ "name": "",
536
+ "type": "uint256"
537
+ }
538
+ ],
539
+ "gas": "2474920"
540
+ },
541
+ {
542
+ "stateMutability": "nonpayable",
543
+ "type": "function",
544
+ "name": "exchange",
545
+ "inputs": [
546
+ {
547
+ "name": "i",
548
+ "type": "int128"
549
+ },
550
+ {
551
+ "name": "j",
552
+ "type": "int128"
553
+ },
554
+ {
555
+ "name": "_dx",
556
+ "type": "uint256"
557
+ },
558
+ {
559
+ "name": "_min_dy",
560
+ "type": "uint256"
561
+ }
562
+ ],
563
+ "outputs": [
564
+ {
565
+ "name": "",
566
+ "type": "uint256"
567
+ }
568
+ ]
569
+ },
570
+ {
571
+ "stateMutability": "nonpayable",
572
+ "type": "function",
573
+ "name": "exchange_underlying",
574
+ "inputs": [
575
+ {
576
+ "name": "i",
577
+ "type": "int128"
578
+ },
579
+ {
580
+ "name": "j",
581
+ "type": "int128"
582
+ },
583
+ {
584
+ "name": "_dx",
585
+ "type": "uint256"
586
+ },
587
+ {
588
+ "name": "_min_dy",
589
+ "type": "uint256"
590
+ }
591
+ ],
592
+ "outputs": [
593
+ {
594
+ "name": "",
595
+ "type": "uint256"
596
+ }
597
+ ]
598
+ },
599
+ {
600
+ "stateMutability": "nonpayable",
601
+ "type": "function",
602
+ "name": "remove_liquidity",
603
+ "inputs": [
604
+ {
605
+ "name": "_burn_amount",
606
+ "type": "uint256"
607
+ },
608
+ {
609
+ "name": "_min_amounts",
610
+ "type": "uint256[2]"
611
+ }
612
+ ],
613
+ "outputs": [
614
+ {
615
+ "name": "",
616
+ "type": "uint256[2]"
617
+ }
618
+ ]
619
+ },
620
+ {
621
+ "stateMutability": "nonpayable",
622
+ "type": "function",
623
+ "name": "remove_liquidity_imbalance",
624
+ "inputs": [
625
+ {
626
+ "name": "_amounts",
627
+ "type": "uint256[2]"
628
+ },
629
+ {
630
+ "name": "_max_burn_amount",
631
+ "type": "uint256"
632
+ }
633
+ ],
634
+ "outputs": [
635
+ {
636
+ "name": "",
637
+ "type": "uint256"
638
+ }
639
+ ]
640
+ },
641
+ {
642
+ "stateMutability": "view",
643
+ "type": "function",
644
+ "name": "calc_withdraw_one_coin",
645
+ "inputs": [
646
+ {
647
+ "name": "_burn_amount",
648
+ "type": "uint256"
649
+ },
650
+ {
651
+ "name": "i",
652
+ "type": "int128"
653
+ }
654
+ ],
655
+ "outputs": [
656
+ {
657
+ "name": "",
658
+ "type": "uint256"
659
+ }
660
+ ],
661
+ "gas": "1108"
662
+ },
663
+ {
664
+ "stateMutability": "nonpayable",
665
+ "type": "function",
666
+ "name": "remove_liquidity_one_coin",
667
+ "inputs": [
668
+ {
669
+ "name": "_burn_amount",
670
+ "type": "uint256"
671
+ },
672
+ {
673
+ "name": "i",
674
+ "type": "int128"
675
+ },
676
+ {
677
+ "name": "_min_received",
678
+ "type": "uint256"
679
+ }
680
+ ],
681
+ "outputs": [
682
+ {
683
+ "name": "",
684
+ "type": "uint256"
685
+ }
686
+ ]
687
+ },
688
+ {
689
+ "stateMutability": "nonpayable",
690
+ "type": "function",
691
+ "name": "ramp_A",
692
+ "inputs": [
693
+ {
694
+ "name": "_future_A",
695
+ "type": "uint256"
696
+ },
697
+ {
698
+ "name": "_future_time",
699
+ "type": "uint256"
700
+ }
701
+ ],
702
+ "outputs": [],
703
+ "gas": "161967"
704
+ },
705
+ {
706
+ "stateMutability": "nonpayable",
707
+ "type": "function",
708
+ "name": "stop_ramp_A",
709
+ "inputs": [],
710
+ "outputs": [],
711
+ "gas": "157887"
712
+ },
713
+ {
714
+ "stateMutability": "view",
715
+ "type": "function",
716
+ "name": "admin_balances",
717
+ "inputs": [
718
+ {
719
+ "name": "i",
720
+ "type": "uint256"
721
+ }
722
+ ],
723
+ "outputs": [
724
+ {
725
+ "name": "",
726
+ "type": "uint256"
727
+ }
728
+ ],
729
+ "gas": "7770"
730
+ },
731
+ {
732
+ "stateMutability": "nonpayable",
733
+ "type": "function",
734
+ "name": "withdraw_admin_fees",
735
+ "inputs": [],
736
+ "outputs": [],
737
+ "gas": "40693"
738
+ },
739
+ {
740
+ "stateMutability": "view",
741
+ "type": "function",
742
+ "name": "coins",
743
+ "inputs": [
744
+ {
745
+ "name": "arg0",
746
+ "type": "uint256"
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "",
752
+ "type": "address"
753
+ }
754
+ ],
755
+ "gas": "3123"
756
+ },
757
+ {
758
+ "stateMutability": "view",
759
+ "type": "function",
760
+ "name": "balances",
761
+ "inputs": [
762
+ {
763
+ "name": "arg0",
764
+ "type": "uint256"
765
+ }
766
+ ],
767
+ "outputs": [
768
+ {
769
+ "name": "",
770
+ "type": "uint256"
771
+ }
772
+ ],
773
+ "gas": "3153"
774
+ },
775
+ {
776
+ "stateMutability": "view",
777
+ "type": "function",
778
+ "name": "fee",
779
+ "inputs": [],
780
+ "outputs": [
781
+ {
782
+ "name": "",
783
+ "type": "uint256"
784
+ }
785
+ ],
786
+ "gas": "3138"
787
+ },
788
+ {
789
+ "stateMutability": "view",
790
+ "type": "function",
791
+ "name": "initial_A",
792
+ "inputs": [],
793
+ "outputs": [
794
+ {
795
+ "name": "",
796
+ "type": "uint256"
797
+ }
798
+ ],
799
+ "gas": "3168"
800
+ },
801
+ {
802
+ "stateMutability": "view",
803
+ "type": "function",
804
+ "name": "future_A",
805
+ "inputs": [],
806
+ "outputs": [
807
+ {
808
+ "name": "",
809
+ "type": "uint256"
810
+ }
811
+ ],
812
+ "gas": "3198"
813
+ },
814
+ {
815
+ "stateMutability": "view",
816
+ "type": "function",
817
+ "name": "initial_A_time",
818
+ "inputs": [],
819
+ "outputs": [
820
+ {
821
+ "name": "",
822
+ "type": "uint256"
823
+ }
824
+ ],
825
+ "gas": "3228"
826
+ },
827
+ {
828
+ "stateMutability": "view",
829
+ "type": "function",
830
+ "name": "future_A_time",
831
+ "inputs": [],
832
+ "outputs": [
833
+ {
834
+ "name": "",
835
+ "type": "uint256"
836
+ }
837
+ ],
838
+ "gas": "3258"
839
+ },
840
+ {
841
+ "stateMutability": "view",
842
+ "type": "function",
843
+ "name": "name",
844
+ "inputs": [],
845
+ "outputs": [
846
+ {
847
+ "name": "",
848
+ "type": "string"
849
+ }
850
+ ],
851
+ "gas": "13518"
852
+ },
853
+ {
854
+ "stateMutability": "view",
855
+ "type": "function",
856
+ "name": "symbol",
857
+ "inputs": [],
858
+ "outputs": [
859
+ {
860
+ "name": "",
861
+ "type": "string"
862
+ }
863
+ ],
864
+ "gas": "11271"
865
+ },
866
+ {
867
+ "stateMutability": "view",
868
+ "type": "function",
869
+ "name": "balanceOf",
870
+ "inputs": [
871
+ {
872
+ "name": "arg0",
873
+ "type": "address"
874
+ }
875
+ ],
876
+ "outputs": [
877
+ {
878
+ "name": "",
879
+ "type": "uint256"
880
+ }
881
+ ],
882
+ "gas": "3563"
883
+ },
884
+ {
885
+ "stateMutability": "view",
886
+ "type": "function",
887
+ "name": "allowance",
888
+ "inputs": [
889
+ {
890
+ "name": "arg0",
891
+ "type": "address"
892
+ },
893
+ {
894
+ "name": "arg1",
895
+ "type": "address"
896
+ }
897
+ ],
898
+ "outputs": [
899
+ {
900
+ "name": "",
901
+ "type": "uint256"
902
+ }
903
+ ],
904
+ "gas": "3808"
905
+ },
906
+ {
907
+ "stateMutability": "view",
908
+ "type": "function",
909
+ "name": "totalSupply",
910
+ "inputs": [],
911
+ "outputs": [
912
+ {
913
+ "name": "",
914
+ "type": "uint256"
915
+ }
916
+ ],
917
+ "gas": "3408"
918
+ }
919
+ ]