UNPKG

8.26 kBJSONView Raw
1{
2 "_format": "hh-sol-artifact-1",
3 "contractName": "CredenzaSellable",
4 "sourceName": "contracts/credenza-extensions/CredenzaSellable.sol",
5 "abi": [
6 {
7 "inputs": [
8 {
9 "internalType": "address",
10 "name": "contractAddress",
11 "type": "address"
12 }
13 ],
14 "name": "addAvailableCurrencyTokenContract",
15 "outputs": [],
16 "stateMutability": "nonpayable",
17 "type": "function"
18 },
19 {
20 "inputs": [
21 {
22 "internalType": "address",
23 "name": "newOwner",
24 "type": "address"
25 }
26 ],
27 "name": "addOwner",
28 "outputs": [],
29 "stateMutability": "nonpayable",
30 "type": "function"
31 },
32 {
33 "inputs": [
34 {
35 "internalType": "uint256",
36 "name": "tokenId",
37 "type": "uint256"
38 },
39 {
40 "internalType": "uint256",
41 "name": "requestedAmount",
42 "type": "uint256"
43 },
44 {
45 "internalType": "address",
46 "name": "recipient",
47 "type": "address"
48 }
49 ],
50 "name": "buyWithEther",
51 "outputs": [],
52 "stateMutability": "payable",
53 "type": "function"
54 },
55 {
56 "inputs": [
57 {
58 "internalType": "uint256",
59 "name": "tokenId",
60 "type": "uint256"
61 },
62 {
63 "internalType": "uint256",
64 "name": "requestedAmount",
65 "type": "uint256"
66 },
67 {
68 "internalType": "address",
69 "name": "recipient",
70 "type": "address"
71 },
72 {
73 "internalType": "address",
74 "name": "currencyTokenContract",
75 "type": "address"
76 }
77 ],
78 "name": "buyWithToken",
79 "outputs": [],
80 "stateMutability": "nonpayable",
81 "type": "function"
82 },
83 {
84 "inputs": [
85 {
86 "internalType": "uint256",
87 "name": "tokenId",
88 "type": "uint256"
89 },
90 {
91 "internalType": "uint256",
92 "name": "requestedAmount",
93 "type": "uint256"
94 },
95 {
96 "internalType": "address",
97 "name": "recipient",
98 "type": "address"
99 }
100 ],
101 "name": "buyWithToken",
102 "outputs": [],
103 "stateMutability": "nonpayable",
104 "type": "function"
105 },
106 {
107 "inputs": [],
108 "name": "getAvailableCurrencyTokenContractsList",
109 "outputs": [
110 {
111 "internalType": "address[]",
112 "name": "",
113 "type": "address[]"
114 }
115 ],
116 "stateMutability": "view",
117 "type": "function"
118 },
119 {
120 "inputs": [],
121 "name": "getBeneficiaryAddress",
122 "outputs": [
123 {
124 "internalType": "address",
125 "name": "",
126 "type": "address"
127 }
128 ],
129 "stateMutability": "view",
130 "type": "function"
131 },
132 {
133 "inputs": [],
134 "name": "getDefaultCurrencyTokenContract",
135 "outputs": [
136 {
137 "internalType": "address",
138 "name": "",
139 "type": "address"
140 }
141 ],
142 "stateMutability": "view",
143 "type": "function"
144 },
145 {
146 "inputs": [],
147 "name": "getDescription",
148 "outputs": [
149 {
150 "internalType": "string",
151 "name": "",
152 "type": "string"
153 }
154 ],
155 "stateMutability": "view",
156 "type": "function"
157 },
158 {
159 "inputs": [],
160 "name": "getOwners",
161 "outputs": [
162 {
163 "internalType": "address[]",
164 "name": "",
165 "type": "address[]"
166 }
167 ],
168 "stateMutability": "view",
169 "type": "function"
170 },
171 {
172 "inputs": [
173 {
174 "internalType": "uint256",
175 "name": "id",
176 "type": "uint256"
177 }
178 ],
179 "name": "getPriceEther",
180 "outputs": [
181 {
182 "internalType": "uint256",
183 "name": "",
184 "type": "uint256"
185 }
186 ],
187 "stateMutability": "view",
188 "type": "function"
189 },
190 {
191 "inputs": [
192 {
193 "internalType": "uint256",
194 "name": "id",
195 "type": "uint256"
196 }
197 ],
198 "name": "getPriceFiat",
199 "outputs": [
200 {
201 "internalType": "uint256",
202 "name": "",
203 "type": "uint256"
204 }
205 ],
206 "stateMutability": "view",
207 "type": "function"
208 },
209 {
210 "inputs": [
211 {
212 "internalType": "uint256",
213 "name": "id",
214 "type": "uint256"
215 }
216 ],
217 "name": "getPriceToken",
218 "outputs": [
219 {
220 "internalType": "uint256",
221 "name": "",
222 "type": "uint256"
223 }
224 ],
225 "stateMutability": "view",
226 "type": "function"
227 },
228 {
229 "inputs": [
230 {
231 "internalType": "address",
232 "name": "contractAddress",
233 "type": "address"
234 }
235 ],
236 "name": "isAvailableCurrencyTokenContract",
237 "outputs": [
238 {
239 "internalType": "bool",
240 "name": "",
241 "type": "bool"
242 }
243 ],
244 "stateMutability": "view",
245 "type": "function"
246 },
247 {
248 "inputs": [
249 {
250 "internalType": "address",
251 "name": "addr",
252 "type": "address"
253 }
254 ],
255 "name": "isOwner",
256 "outputs": [
257 {
258 "internalType": "bool",
259 "name": "",
260 "type": "bool"
261 }
262 ],
263 "stateMutability": "view",
264 "type": "function"
265 },
266 {
267 "inputs": [
268 {
269 "internalType": "address",
270 "name": "contractAddress",
271 "type": "address"
272 }
273 ],
274 "name": "removeAvailableCurrencyTokenContract",
275 "outputs": [],
276 "stateMutability": "nonpayable",
277 "type": "function"
278 },
279 {
280 "inputs": [
281 {
282 "internalType": "address",
283 "name": "owner",
284 "type": "address"
285 }
286 ],
287 "name": "removeOwner",
288 "outputs": [],
289 "stateMutability": "nonpayable",
290 "type": "function"
291 },
292 {
293 "inputs": [
294 {
295 "internalType": "address payable",
296 "name": "addr",
297 "type": "address"
298 }
299 ],
300 "name": "setBeneficiaryAddress",
301 "outputs": [],
302 "stateMutability": "nonpayable",
303 "type": "function"
304 },
305 {
306 "inputs": [
307 {
308 "internalType": "address",
309 "name": "tokenContract",
310 "type": "address"
311 }
312 ],
313 "name": "setDefaultCurrencyTokenContractAddress",
314 "outputs": [],
315 "stateMutability": "nonpayable",
316 "type": "function"
317 },
318 {
319 "inputs": [
320 {
321 "internalType": "string",
322 "name": "description",
323 "type": "string"
324 }
325 ],
326 "name": "setDescription",
327 "outputs": [],
328 "stateMutability": "nonpayable",
329 "type": "function"
330 },
331 {
332 "inputs": [
333 {
334 "internalType": "uint256",
335 "name": "id",
336 "type": "uint256"
337 },
338 {
339 "internalType": "uint256",
340 "name": "price",
341 "type": "uint256"
342 }
343 ],
344 "name": "setPriceEther",
345 "outputs": [],
346 "stateMutability": "nonpayable",
347 "type": "function"
348 },
349 {
350 "inputs": [
351 {
352 "internalType": "uint256",
353 "name": "id",
354 "type": "uint256"
355 },
356 {
357 "internalType": "uint256",
358 "name": "price",
359 "type": "uint256"
360 }
361 ],
362 "name": "setPriceFiat",
363 "outputs": [],
364 "stateMutability": "nonpayable",
365 "type": "function"
366 },
367 {
368 "inputs": [
369 {
370 "internalType": "uint256",
371 "name": "id",
372 "type": "uint256"
373 },
374 {
375 "internalType": "uint256",
376 "name": "price",
377 "type": "uint256"
378 }
379 ],
380 "name": "setPriceToken",
381 "outputs": [],
382 "stateMutability": "nonpayable",
383 "type": "function"
384 }
385 ],
386 "bytecode": "0x",
387 "deployedBytecode": "0x",
388 "linkReferences": {},
389 "deployedLinkReferences": {}
390}