UNPKG

11.4 kBJSONView Raw
1{
2 "abi": [
3 {
4 "anonymous": false,
5 "inputs": [
6 {
7 "indexed": true,
8 "internalType": "address",
9 "name": "token0",
10 "type": "address"
11 },
12 {
13 "indexed": true,
14 "internalType": "address",
15 "name": "token1",
16 "type": "address"
17 },
18 {
19 "indexed": false,
20 "internalType": "address",
21 "name": "pair",
22 "type": "address"
23 },
24 {
25 "indexed": false,
26 "internalType": "uint256",
27 "name": "",
28 "type": "uint256"
29 }
30 ],
31 "name": "PairCreated",
32 "type": "event"
33 },
34 {
35 "inputs": [
36 {
37 "internalType": "uint256",
38 "name": "",
39 "type": "uint256"
40 }
41 ],
42 "name": "allPairs",
43 "outputs": [
44 {
45 "internalType": "address",
46 "name": "pair",
47 "type": "address"
48 }
49 ],
50 "stateMutability": "view",
51 "type": "function"
52 },
53 {
54 "inputs": [],
55 "name": "allPairsLength",
56 "outputs": [
57 {
58 "internalType": "uint256",
59 "name": "",
60 "type": "uint256"
61 }
62 ],
63 "stateMutability": "view",
64 "type": "function"
65 },
66 {
67 "inputs": [
68 {
69 "internalType": "address",
70 "name": "tokenA",
71 "type": "address"
72 },
73 {
74 "internalType": "address",
75 "name": "tokenB",
76 "type": "address"
77 },
78 {
79 "internalType": "address",
80 "name": "baseToken",
81 "type": "address"
82 },
83 {
84 "internalType": "address",
85 "name": "poolOwner",
86 "type": "address"
87 },
88 {
89 "internalType": "uint256",
90 "name": "m",
91 "type": "uint256"
92 },
93 {
94 "internalType": "uint256",
95 "name": "n",
96 "type": "uint256"
97 },
98 {
99 "internalType": "uint256",
100 "name": "fee",
101 "type": "uint256"
102 }
103 ],
104 "name": "createPair",
105 "outputs": [
106 {
107 "internalType": "address",
108 "name": "pair",
109 "type": "address"
110 }
111 ],
112 "stateMutability": "nonpayable",
113 "type": "function"
114 },
115 {
116 "inputs": [],
117 "name": "feeTo",
118 "outputs": [
119 {
120 "internalType": "address",
121 "name": "",
122 "type": "address"
123 }
124 ],
125 "stateMutability": "view",
126 "type": "function"
127 },
128 {
129 "inputs": [],
130 "name": "feeToSetter",
131 "outputs": [
132 {
133 "internalType": "address",
134 "name": "",
135 "type": "address"
136 }
137 ],
138 "stateMutability": "view",
139 "type": "function"
140 },
141 {
142 "inputs": [
143 {
144 "internalType": "address",
145 "name": "tokenA",
146 "type": "address"
147 },
148 {
149 "internalType": "address",
150 "name": "tokenB",
151 "type": "address"
152 }
153 ],
154 "name": "getPair",
155 "outputs": [
156 {
157 "internalType": "address",
158 "name": "pair",
159 "type": "address"
160 }
161 ],
162 "stateMutability": "view",
163 "type": "function"
164 },
165 {
166 "inputs": [
167 {
168 "internalType": "address",
169 "name": "",
170 "type": "address"
171 }
172 ],
173 "name": "setFeeTo",
174 "outputs": [],
175 "stateMutability": "nonpayable",
176 "type": "function"
177 },
178 {
179 "inputs": [
180 {
181 "internalType": "address",
182 "name": "",
183 "type": "address"
184 }
185 ],
186 "name": "setFeeToSetter",
187 "outputs": [],
188 "stateMutability": "nonpayable",
189 "type": "function"
190 }
191 ],
192 "evm": {
193 "bytecode": {
194 "linkReferences": {},
195 "object": "",
196 "opcodes": "",
197 "sourceMap": ""
198 },
199 "deployedBytecode": {
200 "immutableReferences": {},
201 "linkReferences": {},
202 "object": "",
203 "opcodes": "",
204 "sourceMap": ""
205 }
206 },
207 "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allPairsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"poolOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"m\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"n\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeToSetter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setFeeToSetter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daofi/uniswap-v2-core/contracts/interfaces/IUniswapV2Factory.sol\":\"IUniswapV2Factory\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"@daofi/uniswap-v2-core/contracts/interfaces/IUniswapV2Factory.sol\":{\"keccak256\":\"0xc3035318ad416580fb83ffbf32e0faa9d159435a07cc60a09d7d8c3a463497e5\",\"urls\":[\"bzz-raw://bdd6a93cae87d6773877a3ed519be73b9e3f849312ca210f04ce92d1fc8907d5\",\"dweb:/ipfs/QmYh1DG3XpSYSxMdxwQ2Epjms6tMtcLX794Eba78z2LPtW\"]}},\"version\":1}",
208 "interface": [
209 {
210 "anonymous": false,
211 "inputs": [
212 {
213 "indexed": true,
214 "internalType": "address",
215 "name": "token0",
216 "type": "address"
217 },
218 {
219 "indexed": true,
220 "internalType": "address",
221 "name": "token1",
222 "type": "address"
223 },
224 {
225 "indexed": false,
226 "internalType": "address",
227 "name": "pair",
228 "type": "address"
229 },
230 {
231 "indexed": false,
232 "internalType": "uint256",
233 "name": "",
234 "type": "uint256"
235 }
236 ],
237 "name": "PairCreated",
238 "type": "event"
239 },
240 {
241 "inputs": [
242 {
243 "internalType": "uint256",
244 "name": "",
245 "type": "uint256"
246 }
247 ],
248 "name": "allPairs",
249 "outputs": [
250 {
251 "internalType": "address",
252 "name": "pair",
253 "type": "address"
254 }
255 ],
256 "stateMutability": "view",
257 "type": "function"
258 },
259 {
260 "inputs": [],
261 "name": "allPairsLength",
262 "outputs": [
263 {
264 "internalType": "uint256",
265 "name": "",
266 "type": "uint256"
267 }
268 ],
269 "stateMutability": "view",
270 "type": "function"
271 },
272 {
273 "inputs": [
274 {
275 "internalType": "address",
276 "name": "tokenA",
277 "type": "address"
278 },
279 {
280 "internalType": "address",
281 "name": "tokenB",
282 "type": "address"
283 },
284 {
285 "internalType": "address",
286 "name": "baseToken",
287 "type": "address"
288 },
289 {
290 "internalType": "address",
291 "name": "poolOwner",
292 "type": "address"
293 },
294 {
295 "internalType": "uint256",
296 "name": "m",
297 "type": "uint256"
298 },
299 {
300 "internalType": "uint256",
301 "name": "n",
302 "type": "uint256"
303 },
304 {
305 "internalType": "uint256",
306 "name": "fee",
307 "type": "uint256"
308 }
309 ],
310 "name": "createPair",
311 "outputs": [
312 {
313 "internalType": "address",
314 "name": "pair",
315 "type": "address"
316 }
317 ],
318 "stateMutability": "nonpayable",
319 "type": "function"
320 },
321 {
322 "inputs": [],
323 "name": "feeTo",
324 "outputs": [
325 {
326 "internalType": "address",
327 "name": "",
328 "type": "address"
329 }
330 ],
331 "stateMutability": "view",
332 "type": "function"
333 },
334 {
335 "inputs": [],
336 "name": "feeToSetter",
337 "outputs": [
338 {
339 "internalType": "address",
340 "name": "",
341 "type": "address"
342 }
343 ],
344 "stateMutability": "view",
345 "type": "function"
346 },
347 {
348 "inputs": [
349 {
350 "internalType": "address",
351 "name": "tokenA",
352 "type": "address"
353 },
354 {
355 "internalType": "address",
356 "name": "tokenB",
357 "type": "address"
358 }
359 ],
360 "name": "getPair",
361 "outputs": [
362 {
363 "internalType": "address",
364 "name": "pair",
365 "type": "address"
366 }
367 ],
368 "stateMutability": "view",
369 "type": "function"
370 },
371 {
372 "inputs": [
373 {
374 "internalType": "address",
375 "name": "",
376 "type": "address"
377 }
378 ],
379 "name": "setFeeTo",
380 "outputs": [],
381 "stateMutability": "nonpayable",
382 "type": "function"
383 },
384 {
385 "inputs": [
386 {
387 "internalType": "address",
388 "name": "",
389 "type": "address"
390 }
391 ],
392 "name": "setFeeToSetter",
393 "outputs": [],
394 "stateMutability": "nonpayable",
395 "type": "function"
396 }
397 ],
398 "bytecode": ""
399}
\No newline at end of file