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