@curvefi/api 1.10.0 → 1.14.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 +38 -0
  2. package/lib/constants/abis/abis-ethereum.d.ts +1 -1
  3. package/lib/constants/abis/abis-ethereum.js +68 -2
  4. package/lib/constants/abis/abis-polygon.d.ts +4 -0
  5. package/lib/constants/abis/abis-polygon.js +154 -0
  6. package/lib/constants/abis/json/atricrypto3/swap.json +1269 -0
  7. package/lib/constants/abis/json/atricrypto3/zap.json +239 -0
  8. package/lib/constants/abis/json/busd/deposit.json +5 -10
  9. package/lib/constants/abis/json/busd/swap.json +18 -36
  10. package/lib/constants/abis/json/compound/deposit.json +5 -10
  11. package/lib/constants/abis/json/compound/migration.json +1 -2
  12. package/lib/constants/abis/json/compound/oldSwap.json +16 -32
  13. package/lib/constants/abis/json/compound/swap.json +18 -36
  14. package/lib/constants/abis/json/iearn/deposit.json +5 -10
  15. package/lib/constants/abis/json/iearn/swap.json +18 -36
  16. package/lib/constants/abis/json/paave/rewards.json +657 -0
  17. package/lib/constants/abis/json/pax/deposit.json +5 -10
  18. package/lib/constants/abis/json/pax/swap.json +19 -38
  19. package/lib/constants/abis/json/ren/swap.json +19 -38
  20. package/lib/constants/abis/json/ren-polygon/swap.json +1112 -0
  21. package/lib/constants/abis/json/sbtc/swap.json +19 -38
  22. package/lib/constants/abis/json/streamer.json +257 -0
  23. package/lib/constants/abis/json/susdv2/deposit.json +5 -10
  24. package/lib/constants/abis/json/susdv2/swap.json +16 -32
  25. package/lib/constants/abis/json/usdt/deposit.json +5 -10
  26. package/lib/constants/abis/json/usdt/swap.json +19 -37
  27. package/lib/constants/aliases.d.ts +16 -0
  28. package/lib/constants/aliases.js +19 -0
  29. package/lib/constants/coins-ethereum.d.ts +31 -0
  30. package/lib/constants/{coins.js → coins-ethereum.js} +48 -14
  31. package/lib/constants/coins-polygon.d.ts +31 -0
  32. package/lib/constants/coins-polygon.js +74 -0
  33. package/lib/curve.d.ts +23 -7
  34. package/lib/curve.js +133 -91
  35. package/lib/index.d.ts +2 -1
  36. package/lib/index.js +3 -0
  37. package/lib/interfaces.d.ts +3 -0
  38. package/lib/pools.d.ts +25 -4
  39. package/lib/pools.js +323 -101
  40. package/lib/utils.d.ts +1 -1
  41. package/lib/utils.js +49 -41
  42. package/package.json +6 -5
  43. package/lib/constants/coins.d.ts +0 -25
@@ -0,0 +1,1112 @@
1
+ [
2
+ {
3
+ "name": "TokenExchange",
4
+ "inputs": [
5
+ {
6
+ "name": "buyer",
7
+ "type": "address",
8
+ "indexed": true
9
+ },
10
+ {
11
+ "name": "sold_id",
12
+ "type": "int128",
13
+ "indexed": false
14
+ },
15
+ {
16
+ "name": "tokens_sold",
17
+ "type": "uint256",
18
+ "indexed": false
19
+ },
20
+ {
21
+ "name": "bought_id",
22
+ "type": "int128",
23
+ "indexed": false
24
+ },
25
+ {
26
+ "name": "tokens_bought",
27
+ "type": "uint256",
28
+ "indexed": false
29
+ }
30
+ ],
31
+ "anonymous": false,
32
+ "type": "event"
33
+ },
34
+ {
35
+ "name": "TokenExchangeUnderlying",
36
+ "inputs": [
37
+ {
38
+ "name": "buyer",
39
+ "type": "address",
40
+ "indexed": true
41
+ },
42
+ {
43
+ "name": "sold_id",
44
+ "type": "int128",
45
+ "indexed": false
46
+ },
47
+ {
48
+ "name": "tokens_sold",
49
+ "type": "uint256",
50
+ "indexed": false
51
+ },
52
+ {
53
+ "name": "bought_id",
54
+ "type": "int128",
55
+ "indexed": false
56
+ },
57
+ {
58
+ "name": "tokens_bought",
59
+ "type": "uint256",
60
+ "indexed": false
61
+ }
62
+ ],
63
+ "anonymous": false,
64
+ "type": "event"
65
+ },
66
+ {
67
+ "name": "AddLiquidity",
68
+ "inputs": [
69
+ {
70
+ "name": "provider",
71
+ "type": "address",
72
+ "indexed": true
73
+ },
74
+ {
75
+ "name": "token_amounts",
76
+ "type": "uint256[2]",
77
+ "indexed": false
78
+ },
79
+ {
80
+ "name": "fees",
81
+ "type": "uint256[2]",
82
+ "indexed": false
83
+ },
84
+ {
85
+ "name": "invariant",
86
+ "type": "uint256",
87
+ "indexed": false
88
+ },
89
+ {
90
+ "name": "token_supply",
91
+ "type": "uint256",
92
+ "indexed": false
93
+ }
94
+ ],
95
+ "anonymous": false,
96
+ "type": "event"
97
+ },
98
+ {
99
+ "name": "RemoveLiquidity",
100
+ "inputs": [
101
+ {
102
+ "name": "provider",
103
+ "type": "address",
104
+ "indexed": true
105
+ },
106
+ {
107
+ "name": "token_amounts",
108
+ "type": "uint256[2]",
109
+ "indexed": false
110
+ },
111
+ {
112
+ "name": "fees",
113
+ "type": "uint256[2]",
114
+ "indexed": false
115
+ },
116
+ {
117
+ "name": "token_supply",
118
+ "type": "uint256",
119
+ "indexed": false
120
+ }
121
+ ],
122
+ "anonymous": false,
123
+ "type": "event"
124
+ },
125
+ {
126
+ "name": "RemoveLiquidityOne",
127
+ "inputs": [
128
+ {
129
+ "name": "provider",
130
+ "type": "address",
131
+ "indexed": true
132
+ },
133
+ {
134
+ "name": "token_amount",
135
+ "type": "uint256",
136
+ "indexed": false
137
+ },
138
+ {
139
+ "name": "coin_amount",
140
+ "type": "uint256",
141
+ "indexed": false
142
+ }
143
+ ],
144
+ "anonymous": false,
145
+ "type": "event"
146
+ },
147
+ {
148
+ "name": "RemoveLiquidityImbalance",
149
+ "inputs": [
150
+ {
151
+ "name": "provider",
152
+ "type": "address",
153
+ "indexed": true
154
+ },
155
+ {
156
+ "name": "token_amounts",
157
+ "type": "uint256[2]",
158
+ "indexed": false
159
+ },
160
+ {
161
+ "name": "fees",
162
+ "type": "uint256[2]",
163
+ "indexed": false
164
+ },
165
+ {
166
+ "name": "invariant",
167
+ "type": "uint256",
168
+ "indexed": false
169
+ },
170
+ {
171
+ "name": "token_supply",
172
+ "type": "uint256",
173
+ "indexed": false
174
+ }
175
+ ],
176
+ "anonymous": false,
177
+ "type": "event"
178
+ },
179
+ {
180
+ "name": "CommitNewAdmin",
181
+ "inputs": [
182
+ {
183
+ "name": "deadline",
184
+ "type": "uint256",
185
+ "indexed": true
186
+ },
187
+ {
188
+ "name": "admin",
189
+ "type": "address",
190
+ "indexed": true
191
+ }
192
+ ],
193
+ "anonymous": false,
194
+ "type": "event"
195
+ },
196
+ {
197
+ "name": "NewAdmin",
198
+ "inputs": [
199
+ {
200
+ "name": "admin",
201
+ "type": "address",
202
+ "indexed": true
203
+ }
204
+ ],
205
+ "anonymous": false,
206
+ "type": "event"
207
+ },
208
+ {
209
+ "name": "CommitNewFee",
210
+ "inputs": [
211
+ {
212
+ "name": "deadline",
213
+ "type": "uint256",
214
+ "indexed": true
215
+ },
216
+ {
217
+ "name": "fee",
218
+ "type": "uint256",
219
+ "indexed": false
220
+ },
221
+ {
222
+ "name": "admin_fee",
223
+ "type": "uint256",
224
+ "indexed": false
225
+ },
226
+ {
227
+ "name": "offpeg_fee_multiplier",
228
+ "type": "uint256",
229
+ "indexed": false
230
+ }
231
+ ],
232
+ "anonymous": false,
233
+ "type": "event"
234
+ },
235
+ {
236
+ "name": "NewFee",
237
+ "inputs": [
238
+ {
239
+ "name": "fee",
240
+ "type": "uint256",
241
+ "indexed": false
242
+ },
243
+ {
244
+ "name": "admin_fee",
245
+ "type": "uint256",
246
+ "indexed": false
247
+ },
248
+ {
249
+ "name": "offpeg_fee_multiplier",
250
+ "type": "uint256",
251
+ "indexed": false
252
+ }
253
+ ],
254
+ "anonymous": false,
255
+ "type": "event"
256
+ },
257
+ {
258
+ "name": "RampA",
259
+ "inputs": [
260
+ {
261
+ "name": "old_A",
262
+ "type": "uint256",
263
+ "indexed": false
264
+ },
265
+ {
266
+ "name": "new_A",
267
+ "type": "uint256",
268
+ "indexed": false
269
+ },
270
+ {
271
+ "name": "initial_time",
272
+ "type": "uint256",
273
+ "indexed": false
274
+ },
275
+ {
276
+ "name": "future_time",
277
+ "type": "uint256",
278
+ "indexed": false
279
+ }
280
+ ],
281
+ "anonymous": false,
282
+ "type": "event"
283
+ },
284
+ {
285
+ "name": "StopRampA",
286
+ "inputs": [
287
+ {
288
+ "name": "A",
289
+ "type": "uint256",
290
+ "indexed": false
291
+ },
292
+ {
293
+ "name": "t",
294
+ "type": "uint256",
295
+ "indexed": false
296
+ }
297
+ ],
298
+ "anonymous": false,
299
+ "type": "event"
300
+ },
301
+ {
302
+ "stateMutability": "nonpayable",
303
+ "type": "constructor",
304
+ "inputs": [
305
+ {
306
+ "name": "_coins",
307
+ "type": "address[2]"
308
+ },
309
+ {
310
+ "name": "_underlying_coins",
311
+ "type": "address[2]"
312
+ },
313
+ {
314
+ "name": "_pool_token",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "name": "_A",
319
+ "type": "uint256"
320
+ },
321
+ {
322
+ "name": "_fee",
323
+ "type": "uint256"
324
+ },
325
+ {
326
+ "name": "_admin_fee",
327
+ "type": "uint256"
328
+ },
329
+ {
330
+ "name": "_offpeg_fee_multiplier",
331
+ "type": "uint256"
332
+ }
333
+ ],
334
+ "outputs": []
335
+ },
336
+ {
337
+ "stateMutability": "view",
338
+ "type": "function",
339
+ "name": "A",
340
+ "inputs": [],
341
+ "outputs": [
342
+ {
343
+ "name": "",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "gas": 10374
348
+ },
349
+ {
350
+ "stateMutability": "view",
351
+ "type": "function",
352
+ "name": "A_precise",
353
+ "inputs": [],
354
+ "outputs": [
355
+ {
356
+ "name": "",
357
+ "type": "uint256"
358
+ }
359
+ ],
360
+ "gas": 10336
361
+ },
362
+ {
363
+ "stateMutability": "view",
364
+ "type": "function",
365
+ "name": "dynamic_fee",
366
+ "inputs": [
367
+ {
368
+ "name": "i",
369
+ "type": "int128"
370
+ },
371
+ {
372
+ "name": "j",
373
+ "type": "int128"
374
+ }
375
+ ],
376
+ "outputs": [
377
+ {
378
+ "name": "",
379
+ "type": "uint256"
380
+ }
381
+ ],
382
+ "gas": 22089
383
+ },
384
+ {
385
+ "stateMutability": "view",
386
+ "type": "function",
387
+ "name": "balances",
388
+ "inputs": [
389
+ {
390
+ "name": "i",
391
+ "type": "uint256"
392
+ }
393
+ ],
394
+ "outputs": [
395
+ {
396
+ "name": "",
397
+ "type": "uint256"
398
+ }
399
+ ],
400
+ "gas": 7358
401
+ },
402
+ {
403
+ "stateMutability": "view",
404
+ "type": "function",
405
+ "name": "get_virtual_price",
406
+ "inputs": [],
407
+ "outputs": [
408
+ {
409
+ "name": "",
410
+ "type": "uint256"
411
+ }
412
+ ],
413
+ "gas": 2237133
414
+ },
415
+ {
416
+ "stateMutability": "view",
417
+ "type": "function",
418
+ "name": "calc_token_amount",
419
+ "inputs": [
420
+ {
421
+ "name": "_amounts",
422
+ "type": "uint256[2]"
423
+ },
424
+ {
425
+ "name": "is_deposit",
426
+ "type": "bool"
427
+ }
428
+ ],
429
+ "outputs": [
430
+ {
431
+ "name": "",
432
+ "type": "uint256"
433
+ }
434
+ ],
435
+ "gas": 4445096
436
+ },
437
+ {
438
+ "stateMutability": "nonpayable",
439
+ "type": "function",
440
+ "name": "add_liquidity",
441
+ "inputs": [
442
+ {
443
+ "name": "_amounts",
444
+ "type": "uint256[2]"
445
+ },
446
+ {
447
+ "name": "_min_mint_amount",
448
+ "type": "uint256"
449
+ },
450
+ {
451
+ "name": "_use_underlying",
452
+ "type": "bool"
453
+ }
454
+ ],
455
+ "outputs": [
456
+ {
457
+ "name": "",
458
+ "type": "uint256"
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ "stateMutability": "view",
464
+ "type": "function",
465
+ "name": "get_dy",
466
+ "inputs": [
467
+ {
468
+ "name": "i",
469
+ "type": "int128"
470
+ },
471
+ {
472
+ "name": "j",
473
+ "type": "int128"
474
+ },
475
+ {
476
+ "name": "dx",
477
+ "type": "uint256"
478
+ }
479
+ ],
480
+ "outputs": [
481
+ {
482
+ "name": "",
483
+ "type": "uint256"
484
+ }
485
+ ],
486
+ "gas": 5357975
487
+ },
488
+ {
489
+ "stateMutability": "view",
490
+ "type": "function",
491
+ "name": "get_dy_underlying",
492
+ "inputs": [
493
+ {
494
+ "name": "i",
495
+ "type": "int128"
496
+ },
497
+ {
498
+ "name": "j",
499
+ "type": "int128"
500
+ },
501
+ {
502
+ "name": "dx",
503
+ "type": "uint256"
504
+ }
505
+ ],
506
+ "outputs": [
507
+ {
508
+ "name": "",
509
+ "type": "uint256"
510
+ }
511
+ ],
512
+ "gas": 5358005
513
+ },
514
+ {
515
+ "stateMutability": "nonpayable",
516
+ "type": "function",
517
+ "name": "exchange",
518
+ "inputs": [
519
+ {
520
+ "name": "i",
521
+ "type": "int128"
522
+ },
523
+ {
524
+ "name": "j",
525
+ "type": "int128"
526
+ },
527
+ {
528
+ "name": "dx",
529
+ "type": "uint256"
530
+ },
531
+ {
532
+ "name": "min_dy",
533
+ "type": "uint256"
534
+ }
535
+ ],
536
+ "outputs": [
537
+ {
538
+ "name": "",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "gas": 5525027
543
+ },
544
+ {
545
+ "stateMutability": "nonpayable",
546
+ "type": "function",
547
+ "name": "exchange_underlying",
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": "min_dy",
563
+ "type": "uint256"
564
+ }
565
+ ],
566
+ "outputs": [
567
+ {
568
+ "name": "",
569
+ "type": "uint256"
570
+ }
571
+ ],
572
+ "gas": 5541345
573
+ },
574
+ {
575
+ "stateMutability": "nonpayable",
576
+ "type": "function",
577
+ "name": "remove_liquidity",
578
+ "inputs": [
579
+ {
580
+ "name": "_amount",
581
+ "type": "uint256"
582
+ },
583
+ {
584
+ "name": "_min_amounts",
585
+ "type": "uint256[2]"
586
+ },
587
+ {
588
+ "name": "_use_underlying",
589
+ "type": "bool"
590
+ }
591
+ ],
592
+ "outputs": [
593
+ {
594
+ "name": "",
595
+ "type": "uint256[2]"
596
+ }
597
+ ]
598
+ },
599
+ {
600
+ "stateMutability": "nonpayable",
601
+ "type": "function",
602
+ "name": "remove_liquidity_imbalance",
603
+ "inputs": [
604
+ {
605
+ "name": "_amounts",
606
+ "type": "uint256[2]"
607
+ },
608
+ {
609
+ "name": "_max_burn_amount",
610
+ "type": "uint256"
611
+ },
612
+ {
613
+ "name": "_use_underlying",
614
+ "type": "bool"
615
+ }
616
+ ],
617
+ "outputs": [
618
+ {
619
+ "name": "",
620
+ "type": "uint256"
621
+ }
622
+ ]
623
+ },
624
+ {
625
+ "stateMutability": "view",
626
+ "type": "function",
627
+ "name": "calc_withdraw_one_coin",
628
+ "inputs": [
629
+ {
630
+ "name": "_token_amount",
631
+ "type": "uint256"
632
+ },
633
+ {
634
+ "name": "i",
635
+ "type": "int128"
636
+ }
637
+ ],
638
+ "outputs": [
639
+ {
640
+ "name": "",
641
+ "type": "uint256"
642
+ }
643
+ ],
644
+ "gas": 4008194
645
+ },
646
+ {
647
+ "stateMutability": "nonpayable",
648
+ "type": "function",
649
+ "name": "remove_liquidity_one_coin",
650
+ "inputs": [
651
+ {
652
+ "name": "_token_amount",
653
+ "type": "uint256"
654
+ },
655
+ {
656
+ "name": "i",
657
+ "type": "int128"
658
+ },
659
+ {
660
+ "name": "_min_amount",
661
+ "type": "uint256"
662
+ },
663
+ {
664
+ "name": "_use_underlying",
665
+ "type": "bool"
666
+ }
667
+ ],
668
+ "outputs": [
669
+ {
670
+ "name": "",
671
+ "type": "uint256"
672
+ }
673
+ ]
674
+ },
675
+ {
676
+ "stateMutability": "nonpayable",
677
+ "type": "function",
678
+ "name": "ramp_A",
679
+ "inputs": [
680
+ {
681
+ "name": "_future_A",
682
+ "type": "uint256"
683
+ },
684
+ {
685
+ "name": "_future_time",
686
+ "type": "uint256"
687
+ }
688
+ ],
689
+ "outputs": [],
690
+ "gas": 159459
691
+ },
692
+ {
693
+ "stateMutability": "nonpayable",
694
+ "type": "function",
695
+ "name": "stop_ramp_A",
696
+ "inputs": [],
697
+ "outputs": [],
698
+ "gas": 154920
699
+ },
700
+ {
701
+ "stateMutability": "nonpayable",
702
+ "type": "function",
703
+ "name": "commit_new_fee",
704
+ "inputs": [
705
+ {
706
+ "name": "new_fee",
707
+ "type": "uint256"
708
+ },
709
+ {
710
+ "name": "new_admin_fee",
711
+ "type": "uint256"
712
+ },
713
+ {
714
+ "name": "new_offpeg_fee_multiplier",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "outputs": [],
719
+ "gas": 148809
720
+ },
721
+ {
722
+ "stateMutability": "nonpayable",
723
+ "type": "function",
724
+ "name": "apply_new_fee",
725
+ "inputs": [],
726
+ "outputs": [],
727
+ "gas": 141271
728
+ },
729
+ {
730
+ "stateMutability": "nonpayable",
731
+ "type": "function",
732
+ "name": "revert_new_parameters",
733
+ "inputs": [],
734
+ "outputs": [],
735
+ "gas": 23012
736
+ },
737
+ {
738
+ "stateMutability": "nonpayable",
739
+ "type": "function",
740
+ "name": "commit_transfer_ownership",
741
+ "inputs": [
742
+ {
743
+ "name": "_owner",
744
+ "type": "address"
745
+ }
746
+ ],
747
+ "outputs": [],
748
+ "gas": 77050
749
+ },
750
+ {
751
+ "stateMutability": "nonpayable",
752
+ "type": "function",
753
+ "name": "apply_transfer_ownership",
754
+ "inputs": [],
755
+ "outputs": [],
756
+ "gas": 65727
757
+ },
758
+ {
759
+ "stateMutability": "nonpayable",
760
+ "type": "function",
761
+ "name": "revert_transfer_ownership",
762
+ "inputs": [],
763
+ "outputs": [],
764
+ "gas": 23102
765
+ },
766
+ {
767
+ "stateMutability": "nonpayable",
768
+ "type": "function",
769
+ "name": "withdraw_admin_fees",
770
+ "inputs": [],
771
+ "outputs": [],
772
+ "gas": 61714
773
+ },
774
+ {
775
+ "stateMutability": "nonpayable",
776
+ "type": "function",
777
+ "name": "donate_admin_fees",
778
+ "inputs": [],
779
+ "outputs": [],
780
+ "gas": 43291
781
+ },
782
+ {
783
+ "stateMutability": "nonpayable",
784
+ "type": "function",
785
+ "name": "kill_me",
786
+ "inputs": [],
787
+ "outputs": [],
788
+ "gas": 40385
789
+ },
790
+ {
791
+ "stateMutability": "nonpayable",
792
+ "type": "function",
793
+ "name": "unkill_me",
794
+ "inputs": [],
795
+ "outputs": [],
796
+ "gas": 23222
797
+ },
798
+ {
799
+ "stateMutability": "nonpayable",
800
+ "type": "function",
801
+ "name": "set_aave_referral",
802
+ "inputs": [
803
+ {
804
+ "name": "referral_code",
805
+ "type": "uint256"
806
+ }
807
+ ],
808
+ "outputs": [],
809
+ "gas": 38352
810
+ },
811
+ {
812
+ "stateMutability": "nonpayable",
813
+ "type": "function",
814
+ "name": "set_reward_receiver",
815
+ "inputs": [
816
+ {
817
+ "name": "_reward_receiver",
818
+ "type": "address"
819
+ }
820
+ ],
821
+ "outputs": [],
822
+ "gas": 38385
823
+ },
824
+ {
825
+ "stateMutability": "nonpayable",
826
+ "type": "function",
827
+ "name": "set_admin_fee_receiver",
828
+ "inputs": [
829
+ {
830
+ "name": "_admin_fee_receiver",
831
+ "type": "address"
832
+ }
833
+ ],
834
+ "outputs": [],
835
+ "gas": 38415
836
+ },
837
+ {
838
+ "stateMutability": "view",
839
+ "type": "function",
840
+ "name": "coins",
841
+ "inputs": [
842
+ {
843
+ "name": "arg0",
844
+ "type": "uint256"
845
+ }
846
+ ],
847
+ "outputs": [
848
+ {
849
+ "name": "",
850
+ "type": "address"
851
+ }
852
+ ],
853
+ "gas": 3397
854
+ },
855
+ {
856
+ "stateMutability": "view",
857
+ "type": "function",
858
+ "name": "underlying_coins",
859
+ "inputs": [
860
+ {
861
+ "name": "arg0",
862
+ "type": "uint256"
863
+ }
864
+ ],
865
+ "outputs": [
866
+ {
867
+ "name": "",
868
+ "type": "address"
869
+ }
870
+ ],
871
+ "gas": 3427
872
+ },
873
+ {
874
+ "stateMutability": "view",
875
+ "type": "function",
876
+ "name": "admin_balances",
877
+ "inputs": [
878
+ {
879
+ "name": "arg0",
880
+ "type": "uint256"
881
+ }
882
+ ],
883
+ "outputs": [
884
+ {
885
+ "name": "",
886
+ "type": "uint256"
887
+ }
888
+ ],
889
+ "gas": 3457
890
+ },
891
+ {
892
+ "stateMutability": "view",
893
+ "type": "function",
894
+ "name": "fee",
895
+ "inputs": [],
896
+ "outputs": [
897
+ {
898
+ "name": "",
899
+ "type": "uint256"
900
+ }
901
+ ],
902
+ "gas": 3378
903
+ },
904
+ {
905
+ "stateMutability": "view",
906
+ "type": "function",
907
+ "name": "offpeg_fee_multiplier",
908
+ "inputs": [],
909
+ "outputs": [
910
+ {
911
+ "name": "",
912
+ "type": "uint256"
913
+ }
914
+ ],
915
+ "gas": 3408
916
+ },
917
+ {
918
+ "stateMutability": "view",
919
+ "type": "function",
920
+ "name": "admin_fee",
921
+ "inputs": [],
922
+ "outputs": [
923
+ {
924
+ "name": "",
925
+ "type": "uint256"
926
+ }
927
+ ],
928
+ "gas": 3438
929
+ },
930
+ {
931
+ "stateMutability": "view",
932
+ "type": "function",
933
+ "name": "owner",
934
+ "inputs": [],
935
+ "outputs": [
936
+ {
937
+ "name": "",
938
+ "type": "address"
939
+ }
940
+ ],
941
+ "gas": 3468
942
+ },
943
+ {
944
+ "stateMutability": "view",
945
+ "type": "function",
946
+ "name": "lp_token",
947
+ "inputs": [],
948
+ "outputs": [
949
+ {
950
+ "name": "",
951
+ "type": "address"
952
+ }
953
+ ],
954
+ "gas": 3498
955
+ },
956
+ {
957
+ "stateMutability": "view",
958
+ "type": "function",
959
+ "name": "initial_A",
960
+ "inputs": [],
961
+ "outputs": [
962
+ {
963
+ "name": "",
964
+ "type": "uint256"
965
+ }
966
+ ],
967
+ "gas": 3528
968
+ },
969
+ {
970
+ "stateMutability": "view",
971
+ "type": "function",
972
+ "name": "future_A",
973
+ "inputs": [],
974
+ "outputs": [
975
+ {
976
+ "name": "",
977
+ "type": "uint256"
978
+ }
979
+ ],
980
+ "gas": 3558
981
+ },
982
+ {
983
+ "stateMutability": "view",
984
+ "type": "function",
985
+ "name": "initial_A_time",
986
+ "inputs": [],
987
+ "outputs": [
988
+ {
989
+ "name": "",
990
+ "type": "uint256"
991
+ }
992
+ ],
993
+ "gas": 3588
994
+ },
995
+ {
996
+ "stateMutability": "view",
997
+ "type": "function",
998
+ "name": "future_A_time",
999
+ "inputs": [],
1000
+ "outputs": [
1001
+ {
1002
+ "name": "",
1003
+ "type": "uint256"
1004
+ }
1005
+ ],
1006
+ "gas": 3618
1007
+ },
1008
+ {
1009
+ "stateMutability": "view",
1010
+ "type": "function",
1011
+ "name": "admin_actions_deadline",
1012
+ "inputs": [],
1013
+ "outputs": [
1014
+ {
1015
+ "name": "",
1016
+ "type": "uint256"
1017
+ }
1018
+ ],
1019
+ "gas": 3648
1020
+ },
1021
+ {
1022
+ "stateMutability": "view",
1023
+ "type": "function",
1024
+ "name": "transfer_ownership_deadline",
1025
+ "inputs": [],
1026
+ "outputs": [
1027
+ {
1028
+ "name": "",
1029
+ "type": "uint256"
1030
+ }
1031
+ ],
1032
+ "gas": 3678
1033
+ },
1034
+ {
1035
+ "stateMutability": "view",
1036
+ "type": "function",
1037
+ "name": "future_fee",
1038
+ "inputs": [],
1039
+ "outputs": [
1040
+ {
1041
+ "name": "",
1042
+ "type": "uint256"
1043
+ }
1044
+ ],
1045
+ "gas": 3708
1046
+ },
1047
+ {
1048
+ "stateMutability": "view",
1049
+ "type": "function",
1050
+ "name": "future_admin_fee",
1051
+ "inputs": [],
1052
+ "outputs": [
1053
+ {
1054
+ "name": "",
1055
+ "type": "uint256"
1056
+ }
1057
+ ],
1058
+ "gas": 3738
1059
+ },
1060
+ {
1061
+ "stateMutability": "view",
1062
+ "type": "function",
1063
+ "name": "future_offpeg_fee_multiplier",
1064
+ "inputs": [],
1065
+ "outputs": [
1066
+ {
1067
+ "name": "",
1068
+ "type": "uint256"
1069
+ }
1070
+ ],
1071
+ "gas": 3768
1072
+ },
1073
+ {
1074
+ "stateMutability": "view",
1075
+ "type": "function",
1076
+ "name": "future_owner",
1077
+ "inputs": [],
1078
+ "outputs": [
1079
+ {
1080
+ "name": "",
1081
+ "type": "address"
1082
+ }
1083
+ ],
1084
+ "gas": 3798
1085
+ },
1086
+ {
1087
+ "stateMutability": "view",
1088
+ "type": "function",
1089
+ "name": "reward_receiver",
1090
+ "inputs": [],
1091
+ "outputs": [
1092
+ {
1093
+ "name": "",
1094
+ "type": "address"
1095
+ }
1096
+ ],
1097
+ "gas": 3828
1098
+ },
1099
+ {
1100
+ "stateMutability": "view",
1101
+ "type": "function",
1102
+ "name": "admin_fee_receiver",
1103
+ "inputs": [],
1104
+ "outputs": [
1105
+ {
1106
+ "name": "",
1107
+ "type": "address"
1108
+ }
1109
+ ],
1110
+ "gas": 3858
1111
+ }
1112
+ ]