@paraswap/dex-lib 2.42.24-smardex.2 → 2.42.24-smardex.3
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.
- package/build/abi/smardex/all/smardex-router.json +191 -22
- package/build/abi/smardex/layer-1/smardex-factory.json +141 -75
- package/build/abi/smardex/layer-1/smardex-pool.json +57 -319
- package/build/abi/smardex/layer-2/smardex-factory.json +17 -97
- package/build/abi/smardex/layer-2/smardex-pool.json +71 -391
- package/package.json +2 -2
- package/src/abi/smardex/all/smardex-router.json +191 -22
- package/src/abi/smardex/layer-1/smardex-factory.json +141 -75
- package/src/abi/smardex/layer-1/smardex-pool.json +57 -319
- package/src/abi/smardex/layer-2/smardex-factory.json +17 -97
- package/src/abi/smardex/layer-2/smardex-pool.json +71 -391
- package/src/dex/smardex/smardex-events.test.ts +2 -1
|
@@ -7,6 +7,31 @@
|
|
|
7
7
|
"stateMutability": "nonpayable",
|
|
8
8
|
"type": "constructor"
|
|
9
9
|
},
|
|
10
|
+
{
|
|
11
|
+
"anonymous": false,
|
|
12
|
+
"inputs": [
|
|
13
|
+
{
|
|
14
|
+
"indexed": false,
|
|
15
|
+
"internalType": "address",
|
|
16
|
+
"name": "tokenA",
|
|
17
|
+
"type": "address"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"indexed": false,
|
|
21
|
+
"internalType": "address",
|
|
22
|
+
"name": "tokenB",
|
|
23
|
+
"type": "address"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"indexed": false,
|
|
27
|
+
"internalType": "address",
|
|
28
|
+
"name": "pair",
|
|
29
|
+
"type": "address"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"name": "PairWhitelisted",
|
|
33
|
+
"type": "event"
|
|
34
|
+
},
|
|
10
35
|
{
|
|
11
36
|
"inputs": [],
|
|
12
37
|
"name": "WETH",
|
|
@@ -16,20 +41,50 @@
|
|
|
16
41
|
},
|
|
17
42
|
{
|
|
18
43
|
"inputs": [
|
|
19
|
-
{ "internalType": "address", "name": "_tokenA", "type": "address" },
|
|
20
|
-
{ "internalType": "address", "name": "_tokenB", "type": "address" },
|
|
21
|
-
{
|
|
22
|
-
"internalType": "uint256",
|
|
23
|
-
"name": "_amountADesired",
|
|
24
|
-
"type": "uint256"
|
|
25
|
-
},
|
|
26
44
|
{
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
45
|
+
"components": [
|
|
46
|
+
{ "internalType": "address", "name": "tokenA", "type": "address" },
|
|
47
|
+
{ "internalType": "address", "name": "tokenB", "type": "address" },
|
|
48
|
+
{
|
|
49
|
+
"internalType": "uint256",
|
|
50
|
+
"name": "amountADesired",
|
|
51
|
+
"type": "uint256"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"internalType": "uint256",
|
|
55
|
+
"name": "amountBDesired",
|
|
56
|
+
"type": "uint256"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"internalType": "uint256",
|
|
60
|
+
"name": "amountAMin",
|
|
61
|
+
"type": "uint256"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"internalType": "uint256",
|
|
65
|
+
"name": "amountBMin",
|
|
66
|
+
"type": "uint256"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"internalType": "uint128",
|
|
70
|
+
"name": "fictiveReserveB",
|
|
71
|
+
"type": "uint128"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"internalType": "uint128",
|
|
75
|
+
"name": "fictiveReserveAMin",
|
|
76
|
+
"type": "uint128"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"internalType": "uint128",
|
|
80
|
+
"name": "fictiveReserveAMax",
|
|
81
|
+
"type": "uint128"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"internalType": "struct ISmardexRouter.AddLiquidityParams",
|
|
85
|
+
"name": "_params",
|
|
86
|
+
"type": "tuple"
|
|
30
87
|
},
|
|
31
|
-
{ "internalType": "uint256", "name": "_amountAMin", "type": "uint256" },
|
|
32
|
-
{ "internalType": "uint256", "name": "_amountBMin", "type": "uint256" },
|
|
33
88
|
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
34
89
|
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" }
|
|
35
90
|
],
|
|
@@ -44,18 +99,44 @@
|
|
|
44
99
|
},
|
|
45
100
|
{
|
|
46
101
|
"inputs": [
|
|
47
|
-
{ "internalType": "address", "name": "_token", "type": "address" },
|
|
48
|
-
{
|
|
49
|
-
"internalType": "uint256",
|
|
50
|
-
"name": "_amountTokenDesired",
|
|
51
|
-
"type": "uint256"
|
|
52
|
-
},
|
|
53
102
|
{
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
103
|
+
"components": [
|
|
104
|
+
{ "internalType": "address", "name": "token", "type": "address" },
|
|
105
|
+
{
|
|
106
|
+
"internalType": "uint256",
|
|
107
|
+
"name": "amountTokenDesired",
|
|
108
|
+
"type": "uint256"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"internalType": "uint256",
|
|
112
|
+
"name": "amountTokenMin",
|
|
113
|
+
"type": "uint256"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"internalType": "uint256",
|
|
117
|
+
"name": "amountETHMin",
|
|
118
|
+
"type": "uint256"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"internalType": "uint128",
|
|
122
|
+
"name": "fictiveReserveETH",
|
|
123
|
+
"type": "uint128"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"internalType": "uint128",
|
|
127
|
+
"name": "fictiveReserveTokenMin",
|
|
128
|
+
"type": "uint128"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"internalType": "uint128",
|
|
132
|
+
"name": "fictiveReserveTokenMax",
|
|
133
|
+
"type": "uint128"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"internalType": "struct ISmardexRouter.AddLiquidityETHParams",
|
|
137
|
+
"name": "_params",
|
|
138
|
+
"type": "tuple"
|
|
57
139
|
},
|
|
58
|
-
{ "internalType": "uint256", "name": "_amountETHMin", "type": "uint256" },
|
|
59
140
|
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
60
141
|
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" }
|
|
61
142
|
],
|
|
@@ -68,6 +149,18 @@
|
|
|
68
149
|
"stateMutability": "payable",
|
|
69
150
|
"type": "function"
|
|
70
151
|
},
|
|
152
|
+
{
|
|
153
|
+
"inputs": [
|
|
154
|
+
{ "internalType": "address", "name": "_tokenA", "type": "address" },
|
|
155
|
+
{ "internalType": "address", "name": "_tokenB", "type": "address" }
|
|
156
|
+
],
|
|
157
|
+
"name": "addPairToWhitelist",
|
|
158
|
+
"outputs": [
|
|
159
|
+
{ "internalType": "address", "name": "pair_", "type": "address" }
|
|
160
|
+
],
|
|
161
|
+
"stateMutability": "nonpayable",
|
|
162
|
+
"type": "function"
|
|
163
|
+
},
|
|
71
164
|
{
|
|
72
165
|
"inputs": [],
|
|
73
166
|
"name": "factory",
|
|
@@ -430,6 +523,25 @@
|
|
|
430
523
|
"stateMutability": "nonpayable",
|
|
431
524
|
"type": "function"
|
|
432
525
|
},
|
|
526
|
+
{
|
|
527
|
+
"inputs": [
|
|
528
|
+
{ "internalType": "uint256", "name": "_amountIn", "type": "uint256" },
|
|
529
|
+
{ "internalType": "uint256", "name": "_amountOutMin", "type": "uint256" },
|
|
530
|
+
{ "internalType": "address[]", "name": "_path", "type": "address[]" },
|
|
531
|
+
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
532
|
+
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" },
|
|
533
|
+
{ "internalType": "bool", "name": "_approveMax", "type": "bool" },
|
|
534
|
+
{ "internalType": "uint8", "name": "_v", "type": "uint8" },
|
|
535
|
+
{ "internalType": "bytes32", "name": "_r", "type": "bytes32" },
|
|
536
|
+
{ "internalType": "bytes32", "name": "_s", "type": "bytes32" }
|
|
537
|
+
],
|
|
538
|
+
"name": "swapExactTokensForETHWithPermit",
|
|
539
|
+
"outputs": [
|
|
540
|
+
{ "internalType": "uint256", "name": "amountOut_", "type": "uint256" }
|
|
541
|
+
],
|
|
542
|
+
"stateMutability": "nonpayable",
|
|
543
|
+
"type": "function"
|
|
544
|
+
},
|
|
433
545
|
{
|
|
434
546
|
"inputs": [
|
|
435
547
|
{ "internalType": "uint256", "name": "_amountIn", "type": "uint256" },
|
|
@@ -445,6 +557,25 @@
|
|
|
445
557
|
"stateMutability": "nonpayable",
|
|
446
558
|
"type": "function"
|
|
447
559
|
},
|
|
560
|
+
{
|
|
561
|
+
"inputs": [
|
|
562
|
+
{ "internalType": "uint256", "name": "_amountIn", "type": "uint256" },
|
|
563
|
+
{ "internalType": "uint256", "name": "_amountOutMin", "type": "uint256" },
|
|
564
|
+
{ "internalType": "address[]", "name": "_path", "type": "address[]" },
|
|
565
|
+
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
566
|
+
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" },
|
|
567
|
+
{ "internalType": "bool", "name": "_approveMax", "type": "bool" },
|
|
568
|
+
{ "internalType": "uint8", "name": "_v", "type": "uint8" },
|
|
569
|
+
{ "internalType": "bytes32", "name": "_r", "type": "bytes32" },
|
|
570
|
+
{ "internalType": "bytes32", "name": "_s", "type": "bytes32" }
|
|
571
|
+
],
|
|
572
|
+
"name": "swapExactTokensForTokensWithPermit",
|
|
573
|
+
"outputs": [
|
|
574
|
+
{ "internalType": "uint256", "name": "amountOut_", "type": "uint256" }
|
|
575
|
+
],
|
|
576
|
+
"stateMutability": "nonpayable",
|
|
577
|
+
"type": "function"
|
|
578
|
+
},
|
|
448
579
|
{
|
|
449
580
|
"inputs": [
|
|
450
581
|
{ "internalType": "uint256", "name": "_amountOut", "type": "uint256" },
|
|
@@ -460,6 +591,25 @@
|
|
|
460
591
|
"stateMutability": "nonpayable",
|
|
461
592
|
"type": "function"
|
|
462
593
|
},
|
|
594
|
+
{
|
|
595
|
+
"inputs": [
|
|
596
|
+
{ "internalType": "uint256", "name": "_amountOut", "type": "uint256" },
|
|
597
|
+
{ "internalType": "uint256", "name": "_amountInMax", "type": "uint256" },
|
|
598
|
+
{ "internalType": "address[]", "name": "_path", "type": "address[]" },
|
|
599
|
+
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
600
|
+
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" },
|
|
601
|
+
{ "internalType": "bool", "name": "_approveMax", "type": "bool" },
|
|
602
|
+
{ "internalType": "uint8", "name": "_v", "type": "uint8" },
|
|
603
|
+
{ "internalType": "bytes32", "name": "_r", "type": "bytes32" },
|
|
604
|
+
{ "internalType": "bytes32", "name": "_s", "type": "bytes32" }
|
|
605
|
+
],
|
|
606
|
+
"name": "swapTokensForExactETHWithPermit",
|
|
607
|
+
"outputs": [
|
|
608
|
+
{ "internalType": "uint256", "name": "amountIn_", "type": "uint256" }
|
|
609
|
+
],
|
|
610
|
+
"stateMutability": "nonpayable",
|
|
611
|
+
"type": "function"
|
|
612
|
+
},
|
|
463
613
|
{
|
|
464
614
|
"inputs": [
|
|
465
615
|
{ "internalType": "uint256", "name": "_amountOut", "type": "uint256" },
|
|
@@ -475,5 +625,24 @@
|
|
|
475
625
|
"stateMutability": "nonpayable",
|
|
476
626
|
"type": "function"
|
|
477
627
|
},
|
|
628
|
+
{
|
|
629
|
+
"inputs": [
|
|
630
|
+
{ "internalType": "uint256", "name": "_amountOut", "type": "uint256" },
|
|
631
|
+
{ "internalType": "uint256", "name": "_amountInMax", "type": "uint256" },
|
|
632
|
+
{ "internalType": "address[]", "name": "_path", "type": "address[]" },
|
|
633
|
+
{ "internalType": "address", "name": "_to", "type": "address" },
|
|
634
|
+
{ "internalType": "uint256", "name": "_deadline", "type": "uint256" },
|
|
635
|
+
{ "internalType": "bool", "name": "_approveMax", "type": "bool" },
|
|
636
|
+
{ "internalType": "uint8", "name": "_v", "type": "uint8" },
|
|
637
|
+
{ "internalType": "bytes32", "name": "_r", "type": "bytes32" },
|
|
638
|
+
{ "internalType": "bytes32", "name": "_s", "type": "bytes32" }
|
|
639
|
+
],
|
|
640
|
+
"name": "swapTokensForExactTokensWithPermit",
|
|
641
|
+
"outputs": [
|
|
642
|
+
{ "internalType": "uint256", "name": "amountIn_", "type": "uint256" }
|
|
643
|
+
],
|
|
644
|
+
"stateMutability": "nonpayable",
|
|
645
|
+
"type": "function"
|
|
646
|
+
},
|
|
478
647
|
{ "stateMutability": "payable", "type": "receive" }
|
|
479
648
|
]
|
|
@@ -1,14 +1,63 @@
|
|
|
1
1
|
[
|
|
2
|
+
{ "inputs": [], "name": "EmptyPair", "type": "error" },
|
|
3
|
+
{ "inputs": [], "name": "WhitelistNotClosed", "type": "error" },
|
|
4
|
+
{ "inputs": [], "name": "WhitelistNotOpen", "type": "error" },
|
|
2
5
|
{
|
|
6
|
+
"anonymous": false,
|
|
3
7
|
"inputs": [
|
|
4
8
|
{
|
|
9
|
+
"indexed": true,
|
|
10
|
+
"internalType": "address",
|
|
11
|
+
"name": "previousFeeTo",
|
|
12
|
+
"type": "address"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"indexed": true,
|
|
5
16
|
"internalType": "address",
|
|
6
|
-
"name": "
|
|
17
|
+
"name": "newFeeTo",
|
|
7
18
|
"type": "address"
|
|
8
19
|
}
|
|
9
20
|
],
|
|
10
|
-
"
|
|
11
|
-
"type": "
|
|
21
|
+
"name": "FeeToUpdated",
|
|
22
|
+
"type": "event"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"anonymous": false,
|
|
26
|
+
"inputs": [
|
|
27
|
+
{
|
|
28
|
+
"indexed": true,
|
|
29
|
+
"internalType": "uint256",
|
|
30
|
+
"name": "feesLP",
|
|
31
|
+
"type": "uint256"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"indexed": true,
|
|
35
|
+
"internalType": "uint256",
|
|
36
|
+
"name": "feesPool",
|
|
37
|
+
"type": "uint256"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "FeesChanged",
|
|
41
|
+
"type": "event"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "previousOwner",
|
|
50
|
+
"type": "address"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"indexed": true,
|
|
54
|
+
"internalType": "address",
|
|
55
|
+
"name": "newOwner",
|
|
56
|
+
"type": "address"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"name": "OwnershipTransferred",
|
|
60
|
+
"type": "event"
|
|
12
61
|
},
|
|
13
62
|
{
|
|
14
63
|
"anonymous": false,
|
|
@@ -38,61 +87,78 @@
|
|
|
38
87
|
"type": "uint256"
|
|
39
88
|
}
|
|
40
89
|
],
|
|
41
|
-
"name": "
|
|
90
|
+
"name": "PairAdded",
|
|
42
91
|
"type": "event"
|
|
43
92
|
},
|
|
44
93
|
{
|
|
94
|
+
"anonymous": false,
|
|
45
95
|
"inputs": [
|
|
46
96
|
{
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
97
|
+
"indexed": true,
|
|
98
|
+
"internalType": "address",
|
|
99
|
+
"name": "token0",
|
|
100
|
+
"type": "address"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "token1",
|
|
106
|
+
"type": "address"
|
|
107
|
+
},
|
|
54
108
|
{
|
|
109
|
+
"indexed": false,
|
|
55
110
|
"internalType": "address",
|
|
56
|
-
"name": "",
|
|
111
|
+
"name": "pair",
|
|
57
112
|
"type": "address"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"indexed": false,
|
|
116
|
+
"internalType": "uint256",
|
|
117
|
+
"name": "totalPair",
|
|
118
|
+
"type": "uint256"
|
|
58
119
|
}
|
|
59
120
|
],
|
|
121
|
+
"name": "PairCreated",
|
|
122
|
+
"type": "event"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"inputs": [
|
|
126
|
+
{ "internalType": "address", "name": "_pair", "type": "address" }
|
|
127
|
+
],
|
|
128
|
+
"name": "addPair",
|
|
129
|
+
"outputs": [],
|
|
130
|
+
"stateMutability": "nonpayable",
|
|
131
|
+
"type": "function"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
135
|
+
"name": "allPairs",
|
|
136
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
60
137
|
"stateMutability": "view",
|
|
61
138
|
"type": "function"
|
|
62
139
|
},
|
|
63
140
|
{
|
|
64
141
|
"inputs": [],
|
|
65
142
|
"name": "allPairsLength",
|
|
66
|
-
"outputs": [
|
|
67
|
-
{
|
|
68
|
-
"internalType": "uint256",
|
|
69
|
-
"name": "",
|
|
70
|
-
"type": "uint256"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
143
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
73
144
|
"stateMutability": "view",
|
|
74
145
|
"type": "function"
|
|
75
146
|
},
|
|
147
|
+
{
|
|
148
|
+
"inputs": [],
|
|
149
|
+
"name": "closeWhitelist",
|
|
150
|
+
"outputs": [],
|
|
151
|
+
"stateMutability": "nonpayable",
|
|
152
|
+
"type": "function"
|
|
153
|
+
},
|
|
76
154
|
{
|
|
77
155
|
"inputs": [
|
|
78
|
-
{
|
|
79
|
-
|
|
80
|
-
"name": "_tokenA",
|
|
81
|
-
"type": "address"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"internalType": "address",
|
|
85
|
-
"name": "_tokenB",
|
|
86
|
-
"type": "address"
|
|
87
|
-
}
|
|
156
|
+
{ "internalType": "address", "name": "_tokenA", "type": "address" },
|
|
157
|
+
{ "internalType": "address", "name": "_tokenB", "type": "address" }
|
|
88
158
|
],
|
|
89
159
|
"name": "createPair",
|
|
90
160
|
"outputs": [
|
|
91
|
-
{
|
|
92
|
-
"internalType": "address",
|
|
93
|
-
"name": "pair_",
|
|
94
|
-
"type": "address"
|
|
95
|
-
}
|
|
161
|
+
{ "internalType": "address", "name": "pair_", "type": "address" }
|
|
96
162
|
],
|
|
97
163
|
"stateMutability": "nonpayable",
|
|
98
164
|
"type": "function"
|
|
@@ -100,60 +166,47 @@
|
|
|
100
166
|
{
|
|
101
167
|
"inputs": [],
|
|
102
168
|
"name": "feeTo",
|
|
103
|
-
"outputs": [
|
|
104
|
-
{
|
|
105
|
-
"internalType": "address",
|
|
106
|
-
"name": "",
|
|
107
|
-
"type": "address"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
169
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
110
170
|
"stateMutability": "view",
|
|
111
171
|
"type": "function"
|
|
112
172
|
},
|
|
113
173
|
{
|
|
114
174
|
"inputs": [],
|
|
115
|
-
"name": "
|
|
175
|
+
"name": "getDefaultFees",
|
|
116
176
|
"outputs": [
|
|
117
|
-
{
|
|
118
|
-
|
|
119
|
-
"name": "",
|
|
120
|
-
"type": "address"
|
|
121
|
-
}
|
|
177
|
+
{ "internalType": "uint128", "name": "feesLP_", "type": "uint128" },
|
|
178
|
+
{ "internalType": "uint128", "name": "feesPool_", "type": "uint128" }
|
|
122
179
|
],
|
|
123
180
|
"stateMutability": "view",
|
|
124
181
|
"type": "function"
|
|
125
182
|
},
|
|
126
183
|
{
|
|
127
184
|
"inputs": [
|
|
128
|
-
{
|
|
129
|
-
|
|
130
|
-
"name": "",
|
|
131
|
-
"type": "address"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"internalType": "address",
|
|
135
|
-
"name": "",
|
|
136
|
-
"type": "address"
|
|
137
|
-
}
|
|
185
|
+
{ "internalType": "address", "name": "", "type": "address" },
|
|
186
|
+
{ "internalType": "address", "name": "", "type": "address" }
|
|
138
187
|
],
|
|
139
188
|
"name": "getPair",
|
|
140
|
-
"outputs": [
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
189
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
190
|
+
"stateMutability": "view",
|
|
191
|
+
"type": "function"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"inputs": [],
|
|
195
|
+
"name": "owner",
|
|
196
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
147
197
|
"stateMutability": "view",
|
|
148
198
|
"type": "function"
|
|
149
199
|
},
|
|
200
|
+
{
|
|
201
|
+
"inputs": [],
|
|
202
|
+
"name": "renounceOwnership",
|
|
203
|
+
"outputs": [],
|
|
204
|
+
"stateMutability": "nonpayable",
|
|
205
|
+
"type": "function"
|
|
206
|
+
},
|
|
150
207
|
{
|
|
151
208
|
"inputs": [
|
|
152
|
-
{
|
|
153
|
-
"internalType": "address",
|
|
154
|
-
"name": "_feeTo",
|
|
155
|
-
"type": "address"
|
|
156
|
-
}
|
|
209
|
+
{ "internalType": "address", "name": "_feeTo", "type": "address" }
|
|
157
210
|
],
|
|
158
211
|
"name": "setFeeTo",
|
|
159
212
|
"outputs": [],
|
|
@@ -162,15 +215,28 @@
|
|
|
162
215
|
},
|
|
163
216
|
{
|
|
164
217
|
"inputs": [
|
|
165
|
-
{
|
|
166
|
-
|
|
167
|
-
"name": "_feeToSetter",
|
|
168
|
-
"type": "address"
|
|
169
|
-
}
|
|
218
|
+
{ "internalType": "uint128", "name": "_feesLP", "type": "uint128" },
|
|
219
|
+
{ "internalType": "uint128", "name": "_feesPool", "type": "uint128" }
|
|
170
220
|
],
|
|
171
|
-
"name": "
|
|
221
|
+
"name": "setFees",
|
|
172
222
|
"outputs": [],
|
|
173
223
|
"stateMutability": "nonpayable",
|
|
174
224
|
"type": "function"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"inputs": [
|
|
228
|
+
{ "internalType": "address", "name": "newOwner", "type": "address" }
|
|
229
|
+
],
|
|
230
|
+
"name": "transferOwnership",
|
|
231
|
+
"outputs": [],
|
|
232
|
+
"stateMutability": "nonpayable",
|
|
233
|
+
"type": "function"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"inputs": [],
|
|
237
|
+
"name": "whitelistOpen",
|
|
238
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
239
|
+
"stateMutability": "view",
|
|
240
|
+
"type": "function"
|
|
175
241
|
}
|
|
176
242
|
]
|