@centurion_project/v3-sdk 3.31.4 → 3.31.6
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/dist/cjs/src/abis/IMulticall.json +28 -0
- package/dist/cjs/src/abis/INonfungiblePositionManager.json +1228 -0
- package/dist/cjs/src/abis/IPeripheryPaymentsWithFee.json +118 -0
- package/dist/cjs/src/abis/IQuoter.json +200 -0
- package/dist/cjs/src/abis/ISelfPermit.json +161 -0
- package/dist/cjs/src/abis/ISwapRouter.json +572 -0
- package/dist/cjs/src/abis/IUniswapV3Staker.json +713 -0
- package/dist/cjs/src/abis/QuoterV2.json +276 -0
- package/dist/cjs/src/constants.d.ts +1 -1
- package/dist/cjs/src/constants.js +1 -1
- package/dist/cjs/src/multicall.js +1 -1
- package/dist/cjs/src/multicall.js.map +1 -1
- package/dist/cjs/src/nonfungiblePositionManager.js +2 -2
- package/dist/cjs/src/nonfungiblePositionManager.js.map +1 -1
- package/dist/cjs/src/payments.js +1 -1
- package/dist/cjs/src/payments.js.map +1 -1
- package/dist/cjs/src/quoter.js +3 -3
- package/dist/cjs/src/quoter.js.map +1 -1
- package/dist/cjs/src/selfPermit.js +1 -1
- package/dist/cjs/src/selfPermit.js.map +1 -1
- package/dist/cjs/src/staker.js +2 -2
- package/dist/cjs/src/staker.js.map +1 -1
- package/dist/cjs/src/swapRouter.js +2 -2
- package/dist/cjs/src/swapRouter.js.map +1 -1
- package/dist/esm/src/abis/IMulticall.json +28 -0
- package/dist/esm/src/abis/INonfungiblePositionManager.json +1228 -0
- package/dist/esm/src/abis/IPeripheryPaymentsWithFee.json +118 -0
- package/dist/esm/src/abis/IQuoter.json +200 -0
- package/dist/esm/src/abis/ISelfPermit.json +161 -0
- package/dist/esm/src/abis/ISwapRouter.json +572 -0
- package/dist/esm/src/abis/IUniswapV3Staker.json +713 -0
- package/dist/esm/src/abis/QuoterV2.json +276 -0
- package/dist/esm/src/constants.d.ts +1 -1
- package/dist/esm/src/constants.js +1 -1
- package/dist/esm/src/multicall.js +1 -1
- package/dist/esm/src/multicall.js.map +1 -1
- package/dist/esm/src/nonfungiblePositionManager.js +1 -1
- package/dist/esm/src/nonfungiblePositionManager.js.map +1 -1
- package/dist/esm/src/payments.js +1 -1
- package/dist/esm/src/payments.js.map +1 -1
- package/dist/esm/src/quoter.js +2 -2
- package/dist/esm/src/quoter.js.map +1 -1
- package/dist/esm/src/selfPermit.js +1 -1
- package/dist/esm/src/selfPermit.js.map +1 -1
- package/dist/esm/src/staker.js +1 -1
- package/dist/esm/src/staker.js.map +1 -1
- package/dist/esm/src/swapRouter.js +1 -1
- package/dist/esm/src/swapRouter.js.map +1 -1
- package/dist/types/src/constants.d.ts +1 -1
- package/package.json +10 -5
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_centurionProvenance": {
|
|
3
|
+
"package": "@uniswap/v3-periphery@1.4.4",
|
|
4
|
+
"sourceArtifact": "@uniswap/v3-periphery/artifacts/contracts/interfaces/IPeripheryPaymentsWithFee.sol/IPeripheryPaymentsWithFee.json",
|
|
5
|
+
"sourceArtifactSha256": "80d463975f43a43765e3ff6b57d204e0aef68cb860004d6279b5b8ef0892c8d2"
|
|
6
|
+
},
|
|
7
|
+
"abi": [
|
|
8
|
+
{
|
|
9
|
+
"inputs": [],
|
|
10
|
+
"name": "refundETH",
|
|
11
|
+
"outputs": [],
|
|
12
|
+
"stateMutability": "payable",
|
|
13
|
+
"type": "function"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"inputs": [
|
|
17
|
+
{
|
|
18
|
+
"internalType": "address",
|
|
19
|
+
"name": "token",
|
|
20
|
+
"type": "address"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"internalType": "uint256",
|
|
24
|
+
"name": "amountMinimum",
|
|
25
|
+
"type": "uint256"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"internalType": "address",
|
|
29
|
+
"name": "recipient",
|
|
30
|
+
"type": "address"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"name": "sweepToken",
|
|
34
|
+
"outputs": [],
|
|
35
|
+
"stateMutability": "payable",
|
|
36
|
+
"type": "function"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"inputs": [
|
|
40
|
+
{
|
|
41
|
+
"internalType": "address",
|
|
42
|
+
"name": "token",
|
|
43
|
+
"type": "address"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"internalType": "uint256",
|
|
47
|
+
"name": "amountMinimum",
|
|
48
|
+
"type": "uint256"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"internalType": "address",
|
|
52
|
+
"name": "recipient",
|
|
53
|
+
"type": "address"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"internalType": "uint256",
|
|
57
|
+
"name": "feeBips",
|
|
58
|
+
"type": "uint256"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"internalType": "address",
|
|
62
|
+
"name": "feeRecipient",
|
|
63
|
+
"type": "address"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"name": "sweepTokenWithFee",
|
|
67
|
+
"outputs": [],
|
|
68
|
+
"stateMutability": "payable",
|
|
69
|
+
"type": "function"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [
|
|
73
|
+
{
|
|
74
|
+
"internalType": "uint256",
|
|
75
|
+
"name": "amountMinimum",
|
|
76
|
+
"type": "uint256"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"internalType": "address",
|
|
80
|
+
"name": "recipient",
|
|
81
|
+
"type": "address"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"name": "unwrapWETH9",
|
|
85
|
+
"outputs": [],
|
|
86
|
+
"stateMutability": "payable",
|
|
87
|
+
"type": "function"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"inputs": [
|
|
91
|
+
{
|
|
92
|
+
"internalType": "uint256",
|
|
93
|
+
"name": "amountMinimum",
|
|
94
|
+
"type": "uint256"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"internalType": "address",
|
|
98
|
+
"name": "recipient",
|
|
99
|
+
"type": "address"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"internalType": "uint256",
|
|
103
|
+
"name": "feeBips",
|
|
104
|
+
"type": "uint256"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "address",
|
|
108
|
+
"name": "feeRecipient",
|
|
109
|
+
"type": "address"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"name": "unwrapWETH9WithFee",
|
|
113
|
+
"outputs": [],
|
|
114
|
+
"stateMutability": "payable",
|
|
115
|
+
"type": "function"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_centurionProvenance": {
|
|
3
|
+
"package": "@uniswap/v3-periphery@1.4.4",
|
|
4
|
+
"sourceArtifact": "@uniswap/v3-periphery/artifacts/contracts/lens/Quoter.sol/Quoter.json",
|
|
5
|
+
"sourceArtifactSha256": "4973b8762fa32832db9c108047bdd819530117c9791057898783a40d76cd5c2b"
|
|
6
|
+
},
|
|
7
|
+
"abi": [
|
|
8
|
+
{
|
|
9
|
+
"inputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "_factory",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "address",
|
|
17
|
+
"name": "_WETH9",
|
|
18
|
+
"type": "address"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"stateMutability": "nonpayable",
|
|
22
|
+
"type": "constructor"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"inputs": [],
|
|
26
|
+
"name": "WETH9",
|
|
27
|
+
"outputs": [
|
|
28
|
+
{
|
|
29
|
+
"internalType": "address",
|
|
30
|
+
"name": "",
|
|
31
|
+
"type": "address"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"stateMutability": "view",
|
|
35
|
+
"type": "function"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"inputs": [],
|
|
39
|
+
"name": "factory",
|
|
40
|
+
"outputs": [
|
|
41
|
+
{
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "",
|
|
44
|
+
"type": "address"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"stateMutability": "view",
|
|
48
|
+
"type": "function"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"inputs": [
|
|
52
|
+
{
|
|
53
|
+
"internalType": "bytes",
|
|
54
|
+
"name": "path",
|
|
55
|
+
"type": "bytes"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"internalType": "uint256",
|
|
59
|
+
"name": "amountIn",
|
|
60
|
+
"type": "uint256"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"name": "quoteExactInput",
|
|
64
|
+
"outputs": [
|
|
65
|
+
{
|
|
66
|
+
"internalType": "uint256",
|
|
67
|
+
"name": "amountOut",
|
|
68
|
+
"type": "uint256"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"stateMutability": "nonpayable",
|
|
72
|
+
"type": "function"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"inputs": [
|
|
76
|
+
{
|
|
77
|
+
"internalType": "address",
|
|
78
|
+
"name": "tokenIn",
|
|
79
|
+
"type": "address"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "address",
|
|
83
|
+
"name": "tokenOut",
|
|
84
|
+
"type": "address"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"internalType": "uint24",
|
|
88
|
+
"name": "fee",
|
|
89
|
+
"type": "uint24"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "uint256",
|
|
93
|
+
"name": "amountIn",
|
|
94
|
+
"type": "uint256"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"internalType": "uint160",
|
|
98
|
+
"name": "sqrtPriceLimitX96",
|
|
99
|
+
"type": "uint160"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"name": "quoteExactInputSingle",
|
|
103
|
+
"outputs": [
|
|
104
|
+
{
|
|
105
|
+
"internalType": "uint256",
|
|
106
|
+
"name": "amountOut",
|
|
107
|
+
"type": "uint256"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"stateMutability": "nonpayable",
|
|
111
|
+
"type": "function"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"inputs": [
|
|
115
|
+
{
|
|
116
|
+
"internalType": "bytes",
|
|
117
|
+
"name": "path",
|
|
118
|
+
"type": "bytes"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"internalType": "uint256",
|
|
122
|
+
"name": "amountOut",
|
|
123
|
+
"type": "uint256"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"name": "quoteExactOutput",
|
|
127
|
+
"outputs": [
|
|
128
|
+
{
|
|
129
|
+
"internalType": "uint256",
|
|
130
|
+
"name": "amountIn",
|
|
131
|
+
"type": "uint256"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"stateMutability": "nonpayable",
|
|
135
|
+
"type": "function"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"inputs": [
|
|
139
|
+
{
|
|
140
|
+
"internalType": "address",
|
|
141
|
+
"name": "tokenIn",
|
|
142
|
+
"type": "address"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"internalType": "address",
|
|
146
|
+
"name": "tokenOut",
|
|
147
|
+
"type": "address"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"internalType": "uint24",
|
|
151
|
+
"name": "fee",
|
|
152
|
+
"type": "uint24"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"internalType": "uint256",
|
|
156
|
+
"name": "amountOut",
|
|
157
|
+
"type": "uint256"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"internalType": "uint160",
|
|
161
|
+
"name": "sqrtPriceLimitX96",
|
|
162
|
+
"type": "uint160"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"name": "quoteExactOutputSingle",
|
|
166
|
+
"outputs": [
|
|
167
|
+
{
|
|
168
|
+
"internalType": "uint256",
|
|
169
|
+
"name": "amountIn",
|
|
170
|
+
"type": "uint256"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"stateMutability": "nonpayable",
|
|
174
|
+
"type": "function"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"inputs": [
|
|
178
|
+
{
|
|
179
|
+
"internalType": "int256",
|
|
180
|
+
"name": "amount0Delta",
|
|
181
|
+
"type": "int256"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"internalType": "int256",
|
|
185
|
+
"name": "amount1Delta",
|
|
186
|
+
"type": "int256"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"internalType": "bytes",
|
|
190
|
+
"name": "path",
|
|
191
|
+
"type": "bytes"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"name": "uniswapV3SwapCallback",
|
|
195
|
+
"outputs": [],
|
|
196
|
+
"stateMutability": "view",
|
|
197
|
+
"type": "function"
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_centurionProvenance": {
|
|
3
|
+
"package": "@uniswap/v3-periphery@1.4.4",
|
|
4
|
+
"sourceArtifact": "@uniswap/v3-periphery/artifacts/contracts/interfaces/ISelfPermit.sol/ISelfPermit.json",
|
|
5
|
+
"sourceArtifactSha256": "34fa820bbcfbf35a7039830145af999e12574c21123021c50d65d0847a216a5e"
|
|
6
|
+
},
|
|
7
|
+
"abi": [
|
|
8
|
+
{
|
|
9
|
+
"inputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "token",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "uint256",
|
|
17
|
+
"name": "value",
|
|
18
|
+
"type": "uint256"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint256",
|
|
22
|
+
"name": "deadline",
|
|
23
|
+
"type": "uint256"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"internalType": "uint8",
|
|
27
|
+
"name": "v",
|
|
28
|
+
"type": "uint8"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"internalType": "bytes32",
|
|
32
|
+
"name": "r",
|
|
33
|
+
"type": "bytes32"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"internalType": "bytes32",
|
|
37
|
+
"name": "s",
|
|
38
|
+
"type": "bytes32"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "selfPermit",
|
|
42
|
+
"outputs": [],
|
|
43
|
+
"stateMutability": "payable",
|
|
44
|
+
"type": "function"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"inputs": [
|
|
48
|
+
{
|
|
49
|
+
"internalType": "address",
|
|
50
|
+
"name": "token",
|
|
51
|
+
"type": "address"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"internalType": "uint256",
|
|
55
|
+
"name": "nonce",
|
|
56
|
+
"type": "uint256"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"internalType": "uint256",
|
|
60
|
+
"name": "expiry",
|
|
61
|
+
"type": "uint256"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"internalType": "uint8",
|
|
65
|
+
"name": "v",
|
|
66
|
+
"type": "uint8"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"internalType": "bytes32",
|
|
70
|
+
"name": "r",
|
|
71
|
+
"type": "bytes32"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"internalType": "bytes32",
|
|
75
|
+
"name": "s",
|
|
76
|
+
"type": "bytes32"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"name": "selfPermitAllowed",
|
|
80
|
+
"outputs": [],
|
|
81
|
+
"stateMutability": "payable",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [
|
|
86
|
+
{
|
|
87
|
+
"internalType": "address",
|
|
88
|
+
"name": "token",
|
|
89
|
+
"type": "address"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "uint256",
|
|
93
|
+
"name": "nonce",
|
|
94
|
+
"type": "uint256"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"internalType": "uint256",
|
|
98
|
+
"name": "expiry",
|
|
99
|
+
"type": "uint256"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"internalType": "uint8",
|
|
103
|
+
"name": "v",
|
|
104
|
+
"type": "uint8"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "bytes32",
|
|
108
|
+
"name": "r",
|
|
109
|
+
"type": "bytes32"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"internalType": "bytes32",
|
|
113
|
+
"name": "s",
|
|
114
|
+
"type": "bytes32"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"name": "selfPermitAllowedIfNecessary",
|
|
118
|
+
"outputs": [],
|
|
119
|
+
"stateMutability": "payable",
|
|
120
|
+
"type": "function"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"inputs": [
|
|
124
|
+
{
|
|
125
|
+
"internalType": "address",
|
|
126
|
+
"name": "token",
|
|
127
|
+
"type": "address"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"internalType": "uint256",
|
|
131
|
+
"name": "value",
|
|
132
|
+
"type": "uint256"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"internalType": "uint256",
|
|
136
|
+
"name": "deadline",
|
|
137
|
+
"type": "uint256"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"internalType": "uint8",
|
|
141
|
+
"name": "v",
|
|
142
|
+
"type": "uint8"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"internalType": "bytes32",
|
|
146
|
+
"name": "r",
|
|
147
|
+
"type": "bytes32"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"internalType": "bytes32",
|
|
151
|
+
"name": "s",
|
|
152
|
+
"type": "bytes32"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"name": "selfPermitIfNecessary",
|
|
156
|
+
"outputs": [],
|
|
157
|
+
"stateMutability": "payable",
|
|
158
|
+
"type": "function"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|