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