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