UNPKG

8.76 kBJSONView Raw
1{
2 "abi": [
3 {
4 "inputs": [
5 {
6 "internalType": "address",
7 "name": "owner",
8 "type": "address"
9 }
10 ],
11 "name": "balanceOf",
12 "outputs": [
13 {
14 "internalType": "uint256",
15 "name": "",
16 "type": "uint256"
17 }
18 ],
19 "stateMutability": "view",
20 "type": "function"
21 },
22 {
23 "inputs": [
24 {
25 "internalType": "uint256",
26 "name": "",
27 "type": "uint256"
28 },
29 {
30 "internalType": "uint256",
31 "name": "",
32 "type": "uint256"
33 }
34 ],
35 "name": "ethToTokenSwapInput",
36 "outputs": [
37 {
38 "internalType": "uint256",
39 "name": "",
40 "type": "uint256"
41 }
42 ],
43 "stateMutability": "payable",
44 "type": "function"
45 },
46 {
47 "inputs": [
48 {
49 "internalType": "uint256",
50 "name": "",
51 "type": "uint256"
52 },
53 {
54 "internalType": "uint256",
55 "name": "",
56 "type": "uint256"
57 },
58 {
59 "internalType": "uint256",
60 "name": "",
61 "type": "uint256"
62 },
63 {
64 "internalType": "uint256",
65 "name": "",
66 "type": "uint256"
67 }
68 ],
69 "name": "removeLiquidity",
70 "outputs": [
71 {
72 "internalType": "uint256",
73 "name": "",
74 "type": "uint256"
75 },
76 {
77 "internalType": "uint256",
78 "name": "",
79 "type": "uint256"
80 }
81 ],
82 "stateMutability": "nonpayable",
83 "type": "function"
84 },
85 {
86 "inputs": [
87 {
88 "internalType": "uint256",
89 "name": "",
90 "type": "uint256"
91 },
92 {
93 "internalType": "uint256",
94 "name": "",
95 "type": "uint256"
96 },
97 {
98 "internalType": "uint256",
99 "name": "",
100 "type": "uint256"
101 }
102 ],
103 "name": "tokenToEthSwapInput",
104 "outputs": [
105 {
106 "internalType": "uint256",
107 "name": "",
108 "type": "uint256"
109 }
110 ],
111 "stateMutability": "nonpayable",
112 "type": "function"
113 },
114 {
115 "inputs": [
116 {
117 "internalType": "address",
118 "name": "from",
119 "type": "address"
120 },
121 {
122 "internalType": "address",
123 "name": "to",
124 "type": "address"
125 },
126 {
127 "internalType": "uint256",
128 "name": "value",
129 "type": "uint256"
130 }
131 ],
132 "name": "transferFrom",
133 "outputs": [
134 {
135 "internalType": "bool",
136 "name": "",
137 "type": "bool"
138 }
139 ],
140 "stateMutability": "nonpayable",
141 "type": "function"
142 }
143 ],
144 "evm": {
145 "bytecode": {
146 "linkReferences": {},
147 "object": "",
148 "opcodes": "",
149 "sourceMap": ""
150 },
151 "deployedBytecode": {
152 "immutableReferences": {},
153 "linkReferences": {},
154 "object": "",
155 "opcodes": "",
156 "sourceMap": ""
157 }
158 },
159 "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ethToTokenSwapInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenToEthSwapInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/V1/IUniswapV1Exchange.sol\":\"IUniswapV1Exchange\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"contracts/interfaces/V1/IUniswapV1Exchange.sol\":{\"keccak256\":\"0xccb2bd4c895b5a83b56cf679cd58cc346c1d19a15a15252d8628be158218108b\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://3474bda94ad7b216fa378a71a7ac79b61d537875735037dddc83ac4f5a2ecd13\",\"dweb:/ipfs/QmVBSmv3brQrHvjBaanAU3qZ6CkdS6MNXiCp8jwjVvXA8Y\"]}},\"version\":1}",
160 "interface": [
161 {
162 "inputs": [
163 {
164 "internalType": "address",
165 "name": "owner",
166 "type": "address"
167 }
168 ],
169 "name": "balanceOf",
170 "outputs": [
171 {
172 "internalType": "uint256",
173 "name": "",
174 "type": "uint256"
175 }
176 ],
177 "stateMutability": "view",
178 "type": "function"
179 },
180 {
181 "inputs": [
182 {
183 "internalType": "uint256",
184 "name": "",
185 "type": "uint256"
186 },
187 {
188 "internalType": "uint256",
189 "name": "",
190 "type": "uint256"
191 }
192 ],
193 "name": "ethToTokenSwapInput",
194 "outputs": [
195 {
196 "internalType": "uint256",
197 "name": "",
198 "type": "uint256"
199 }
200 ],
201 "stateMutability": "payable",
202 "type": "function"
203 },
204 {
205 "inputs": [
206 {
207 "internalType": "uint256",
208 "name": "",
209 "type": "uint256"
210 },
211 {
212 "internalType": "uint256",
213 "name": "",
214 "type": "uint256"
215 },
216 {
217 "internalType": "uint256",
218 "name": "",
219 "type": "uint256"
220 },
221 {
222 "internalType": "uint256",
223 "name": "",
224 "type": "uint256"
225 }
226 ],
227 "name": "removeLiquidity",
228 "outputs": [
229 {
230 "internalType": "uint256",
231 "name": "",
232 "type": "uint256"
233 },
234 {
235 "internalType": "uint256",
236 "name": "",
237 "type": "uint256"
238 }
239 ],
240 "stateMutability": "nonpayable",
241 "type": "function"
242 },
243 {
244 "inputs": [
245 {
246 "internalType": "uint256",
247 "name": "",
248 "type": "uint256"
249 },
250 {
251 "internalType": "uint256",
252 "name": "",
253 "type": "uint256"
254 },
255 {
256 "internalType": "uint256",
257 "name": "",
258 "type": "uint256"
259 }
260 ],
261 "name": "tokenToEthSwapInput",
262 "outputs": [
263 {
264 "internalType": "uint256",
265 "name": "",
266 "type": "uint256"
267 }
268 ],
269 "stateMutability": "nonpayable",
270 "type": "function"
271 },
272 {
273 "inputs": [
274 {
275 "internalType": "address",
276 "name": "from",
277 "type": "address"
278 },
279 {
280 "internalType": "address",
281 "name": "to",
282 "type": "address"
283 },
284 {
285 "internalType": "uint256",
286 "name": "value",
287 "type": "uint256"
288 }
289 ],
290 "name": "transferFrom",
291 "outputs": [
292 {
293 "internalType": "bool",
294 "name": "",
295 "type": "bool"
296 }
297 ],
298 "stateMutability": "nonpayable",
299 "type": "function"
300 }
301 ],
302 "bytecode": ""
303}
\No newline at end of file