@curvefi/api 1.17.2 → 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 (38) hide show
  1. package/README.md +37 -0
  2. package/lib/constants/abis/abis-ethereum.js +6 -6
  3. package/lib/constants/abis/json/factory-v2/DepositZapMetaBtcPolygon.json +197 -0
  4. package/lib/constants/abis/json/factory-v2/DepositZapMetaUsdPolygon.json +197 -0
  5. package/lib/constants/abis/json/factory-v2/MetaBTC.json +919 -0
  6. package/lib/constants/abis/json/factory-v2/MetaBTCBalances.json +932 -0
  7. package/lib/constants/abis/json/factory-v2/MetaBTCBalancesRen.json +932 -0
  8. package/lib/constants/abis/json/factory-v2/MetaBTCRen.json +919 -0
  9. package/lib/constants/abis/json/factory-v2/MetaUSD.json +919 -0
  10. package/lib/constants/abis/json/factory-v2/MetaUSDBalances.json +932 -0
  11. package/lib/constants/abis/json/factory-v2/Plain2Balances.json +845 -0
  12. package/lib/constants/abis/json/factory-v2/Plain2Basic.json +845 -0
  13. package/lib/constants/abis/json/factory-v2/Plain2ETH.json +845 -0
  14. package/lib/constants/abis/json/factory-v2/Plain2Optimized.json +844 -0
  15. package/lib/constants/abis/json/factory-v2/Plain3Balances.json +845 -0
  16. package/lib/constants/abis/json/factory-v2/Plain3Basic.json +845 -0
  17. package/lib/constants/abis/json/factory-v2/Plain3ETH.json +845 -0
  18. package/lib/constants/abis/json/factory-v2/Plain3Optimized.json +845 -0
  19. package/lib/constants/abis/json/factory-v2/Plain4Balances.json +845 -0
  20. package/lib/constants/abis/json/factory-v2/Plain4Basic.json +845 -0
  21. package/lib/constants/abis/json/factory-v2/Plain4ETH.json +845 -0
  22. package/lib/constants/abis/json/factory-v2/Plain4Optimized.json +845 -0
  23. package/lib/constants/abis/json/factory.json +1063 -0
  24. package/lib/constants/aliases.d.ts +2 -0
  25. package/lib/constants/aliases.js +2 -0
  26. package/lib/constants/coins-polygon.js +3 -2
  27. package/lib/curve.d.ts +3 -0
  28. package/lib/curve.js +34 -0
  29. package/lib/factory.d.ts +32 -0
  30. package/lib/factory.js +607 -0
  31. package/lib/index.d.ts +3 -0
  32. package/lib/index.js +14 -0
  33. package/lib/interfaces.d.ts +15 -1
  34. package/lib/pools.d.ts +3 -0
  35. package/lib/pools.js +149 -62
  36. package/lib/utils.d.ts +7 -1
  37. package/lib/utils.js +109 -8
  38. package/package.json +4 -2
@@ -0,0 +1,932 @@
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": "7163",
396
+ "inputs": [
397
+ {
398
+ "name": "i",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "name": "balances",
403
+ "outputs": [
404
+ {
405
+ "name": "",
406
+ "type": "uint256"
407
+ }
408
+ ],
409
+ "stateMutability": "view",
410
+ "type": "function"
411
+ },
412
+ {
413
+ "gas": "7139",
414
+ "inputs": [],
415
+ "name": "get_balances",
416
+ "outputs": [
417
+ {
418
+ "name": "",
419
+ "type": "uint256[2]"
420
+ }
421
+ ],
422
+ "stateMutability": "view",
423
+ "type": "function"
424
+ },
425
+ {
426
+ "gas": "498",
427
+ "inputs": [],
428
+ "name": "admin_fee",
429
+ "outputs": [
430
+ {
431
+ "name": "",
432
+ "type": "uint256"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "gas": "5624",
440
+ "inputs": [],
441
+ "name": "A",
442
+ "outputs": [
443
+ {
444
+ "name": "",
445
+ "type": "uint256"
446
+ }
447
+ ],
448
+ "stateMutability": "view",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "gas": "5586",
453
+ "inputs": [],
454
+ "name": "A_precise",
455
+ "outputs": [
456
+ {
457
+ "name": "",
458
+ "type": "uint256"
459
+ }
460
+ ],
461
+ "stateMutability": "view",
462
+ "type": "function"
463
+ },
464
+ {
465
+ "gas": "1016911",
466
+ "inputs": [],
467
+ "name": "get_virtual_price",
468
+ "outputs": [
469
+ {
470
+ "name": "",
471
+ "type": "uint256"
472
+ }
473
+ ],
474
+ "stateMutability": "view",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "gas": "4023775",
479
+ "inputs": [
480
+ {
481
+ "name": "_amounts",
482
+ "type": "uint256[2]"
483
+ },
484
+ {
485
+ "name": "_is_deposit",
486
+ "type": "bool"
487
+ }
488
+ ],
489
+ "name": "calc_token_amount",
490
+ "outputs": [
491
+ {
492
+ "name": "",
493
+ "type": "uint256"
494
+ }
495
+ ],
496
+ "stateMutability": "view",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [
501
+ {
502
+ "name": "_amounts",
503
+ "type": "uint256[2]"
504
+ },
505
+ {
506
+ "name": "_min_mint_amount",
507
+ "type": "uint256"
508
+ }
509
+ ],
510
+ "name": "add_liquidity",
511
+ "outputs": [
512
+ {
513
+ "name": "",
514
+ "type": "uint256"
515
+ }
516
+ ],
517
+ "stateMutability": "nonpayable",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "gas": "2455101",
522
+ "inputs": [
523
+ {
524
+ "name": "i",
525
+ "type": "int128"
526
+ },
527
+ {
528
+ "name": "j",
529
+ "type": "int128"
530
+ },
531
+ {
532
+ "name": "dx",
533
+ "type": "uint256"
534
+ }
535
+ ],
536
+ "name": "get_dy",
537
+ "outputs": [
538
+ {
539
+ "name": "",
540
+ "type": "uint256"
541
+ }
542
+ ],
543
+ "stateMutability": "view",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "gas": "2459446",
548
+ "inputs": [
549
+ {
550
+ "name": "i",
551
+ "type": "int128"
552
+ },
553
+ {
554
+ "name": "j",
555
+ "type": "int128"
556
+ },
557
+ {
558
+ "name": "dx",
559
+ "type": "uint256"
560
+ }
561
+ ],
562
+ "name": "get_dy_underlying",
563
+ "outputs": [
564
+ {
565
+ "name": "",
566
+ "type": "uint256"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [
574
+ {
575
+ "name": "i",
576
+ "type": "int128"
577
+ },
578
+ {
579
+ "name": "j",
580
+ "type": "int128"
581
+ },
582
+ {
583
+ "name": "_dx",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "name": "_min_dy",
588
+ "type": "uint256"
589
+ }
590
+ ],
591
+ "name": "exchange",
592
+ "outputs": [
593
+ {
594
+ "name": "",
595
+ "type": "uint256"
596
+ }
597
+ ],
598
+ "stateMutability": "nonpayable",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [
603
+ {
604
+ "name": "i",
605
+ "type": "int128"
606
+ },
607
+ {
608
+ "name": "j",
609
+ "type": "int128"
610
+ },
611
+ {
612
+ "name": "_dx",
613
+ "type": "uint256"
614
+ },
615
+ {
616
+ "name": "_min_dy",
617
+ "type": "uint256"
618
+ }
619
+ ],
620
+ "name": "exchange_underlying",
621
+ "outputs": [
622
+ {
623
+ "name": "",
624
+ "type": "uint256"
625
+ }
626
+ ],
627
+ "stateMutability": "nonpayable",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [
632
+ {
633
+ "name": "_burn_amount",
634
+ "type": "uint256"
635
+ },
636
+ {
637
+ "name": "_min_amounts",
638
+ "type": "uint256[2]"
639
+ }
640
+ ],
641
+ "name": "remove_liquidity",
642
+ "outputs": [
643
+ {
644
+ "name": "",
645
+ "type": "uint256[2]"
646
+ }
647
+ ],
648
+ "stateMutability": "nonpayable",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [
653
+ {
654
+ "name": "_amounts",
655
+ "type": "uint256[2]"
656
+ },
657
+ {
658
+ "name": "_max_burn_amount",
659
+ "type": "uint256"
660
+ }
661
+ ],
662
+ "name": "remove_liquidity_imbalance",
663
+ "outputs": [
664
+ {
665
+ "name": "",
666
+ "type": "uint256"
667
+ }
668
+ ],
669
+ "stateMutability": "nonpayable",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "gas": "1190",
674
+ "inputs": [
675
+ {
676
+ "name": "_burn_amount",
677
+ "type": "uint256"
678
+ },
679
+ {
680
+ "name": "i",
681
+ "type": "int128"
682
+ }
683
+ ],
684
+ "name": "calc_withdraw_one_coin",
685
+ "outputs": [
686
+ {
687
+ "name": "",
688
+ "type": "uint256"
689
+ }
690
+ ],
691
+ "stateMutability": "view",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "name": "_burn_amount",
698
+ "type": "uint256"
699
+ },
700
+ {
701
+ "name": "i",
702
+ "type": "int128"
703
+ },
704
+ {
705
+ "name": "_min_received",
706
+ "type": "uint256"
707
+ }
708
+ ],
709
+ "name": "remove_liquidity_one_coin",
710
+ "outputs": [
711
+ {
712
+ "name": "",
713
+ "type": "uint256"
714
+ }
715
+ ],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "gas": "153021",
721
+ "inputs": [
722
+ {
723
+ "name": "_future_A",
724
+ "type": "uint256"
725
+ },
726
+ {
727
+ "name": "_future_time",
728
+ "type": "uint256"
729
+ }
730
+ ],
731
+ "name": "ramp_A",
732
+ "outputs": [],
733
+ "stateMutability": "nonpayable",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "gas": "149785",
738
+ "inputs": [],
739
+ "name": "stop_ramp_A",
740
+ "outputs": [],
741
+ "stateMutability": "nonpayable",
742
+ "type": "function"
743
+ },
744
+ {
745
+ "gas": "117778",
746
+ "inputs": [],
747
+ "name": "withdraw_admin_fees",
748
+ "outputs": [],
749
+ "stateMutability": "nonpayable",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "gas": "1853",
754
+ "inputs": [
755
+ {
756
+ "name": "arg0",
757
+ "type": "uint256"
758
+ }
759
+ ],
760
+ "name": "coins",
761
+ "outputs": [
762
+ {
763
+ "name": "",
764
+ "type": "address"
765
+ }
766
+ ],
767
+ "stateMutability": "view",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "gas": "1883",
772
+ "inputs": [
773
+ {
774
+ "name": "arg0",
775
+ "type": "uint256"
776
+ }
777
+ ],
778
+ "name": "admin_balances",
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": "fee",
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": "initial_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": "future_A",
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": "initial_A_time",
831
+ "outputs": [
832
+ {
833
+ "name": "",
834
+ "type": "uint256"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "gas": "1988",
842
+ "inputs": [],
843
+ "name": "future_A_time",
844
+ "outputs": [
845
+ {
846
+ "name": "",
847
+ "type": "uint256"
848
+ }
849
+ ],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "gas": "8348",
855
+ "inputs": [],
856
+ "name": "name",
857
+ "outputs": [
858
+ {
859
+ "name": "",
860
+ "type": "string"
861
+ }
862
+ ],
863
+ "stateMutability": "view",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "gas": "7401",
868
+ "inputs": [],
869
+ "name": "symbol",
870
+ "outputs": [
871
+ {
872
+ "name": "",
873
+ "type": "string"
874
+ }
875
+ ],
876
+ "stateMutability": "view",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "gas": "2293",
881
+ "inputs": [
882
+ {
883
+ "name": "arg0",
884
+ "type": "address"
885
+ }
886
+ ],
887
+ "name": "balanceOf",
888
+ "outputs": [
889
+ {
890
+ "name": "",
891
+ "type": "uint256"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "gas": "2538",
899
+ "inputs": [
900
+ {
901
+ "name": "arg0",
902
+ "type": "address"
903
+ },
904
+ {
905
+ "name": "arg1",
906
+ "type": "address"
907
+ }
908
+ ],
909
+ "name": "allowance",
910
+ "outputs": [
911
+ {
912
+ "name": "",
913
+ "type": "uint256"
914
+ }
915
+ ],
916
+ "stateMutability": "view",
917
+ "type": "function"
918
+ },
919
+ {
920
+ "gas": "2138",
921
+ "inputs": [],
922
+ "name": "totalSupply",
923
+ "outputs": [
924
+ {
925
+ "name": "",
926
+ "type": "uint256"
927
+ }
928
+ ],
929
+ "stateMutability": "view",
930
+ "type": "function"
931
+ }
932
+ ]