1 | {
|
2 | "_format": "hh-sol-artifact-1",
|
3 | "contractName": "CredenzaAirDrop",
|
4 | "sourceName": "contracts/credenza-extensions/CredenzaAirDrop.sol",
|
5 | "abi": [
|
6 | {
|
7 | "inputs": [
|
8 | {
|
9 | "internalType": "address",
|
10 | "name": "newOwner",
|
11 | "type": "address"
|
12 | }
|
13 | ],
|
14 | "name": "addOwner",
|
15 | "outputs": [],
|
16 | "stateMutability": "nonpayable",
|
17 | "type": "function"
|
18 | },
|
19 | {
|
20 | "inputs": [],
|
21 | "name": "getDescription",
|
22 | "outputs": [
|
23 | {
|
24 | "internalType": "string",
|
25 | "name": "",
|
26 | "type": "string"
|
27 | }
|
28 | ],
|
29 | "stateMutability": "view",
|
30 | "type": "function"
|
31 | },
|
32 | {
|
33 | "inputs": [
|
34 | {
|
35 | "internalType": "uint256",
|
36 | "name": "tokenId",
|
37 | "type": "uint256"
|
38 | },
|
39 | {
|
40 | "internalType": "address",
|
41 | "name": "target",
|
42 | "type": "address"
|
43 | }
|
44 | ],
|
45 | "name": "getDropAvailableAmount",
|
46 | "outputs": [
|
47 | {
|
48 | "internalType": "uint256",
|
49 | "name": "",
|
50 | "type": "uint256"
|
51 | }
|
52 | ],
|
53 | "stateMutability": "view",
|
54 | "type": "function"
|
55 | },
|
56 | {
|
57 | "inputs": [
|
58 | {
|
59 | "internalType": "uint256",
|
60 | "name": "tokenId",
|
61 | "type": "uint256"
|
62 | }
|
63 | ],
|
64 | "name": "getDropAvailableTotalAmount",
|
65 | "outputs": [
|
66 | {
|
67 | "internalType": "uint256",
|
68 | "name": "",
|
69 | "type": "uint256"
|
70 | }
|
71 | ],
|
72 | "stateMutability": "view",
|
73 | "type": "function"
|
74 | },
|
75 | {
|
76 | "inputs": [
|
77 | {
|
78 | "internalType": "uint256",
|
79 | "name": "tokenId",
|
80 | "type": "uint256"
|
81 | }
|
82 | ],
|
83 | "name": "getDropPerAddressLimit",
|
84 | "outputs": [
|
85 | {
|
86 | "internalType": "uint256",
|
87 | "name": "",
|
88 | "type": "uint256"
|
89 | }
|
90 | ],
|
91 | "stateMutability": "view",
|
92 | "type": "function"
|
93 | },
|
94 | {
|
95 | "inputs": [
|
96 | {
|
97 | "internalType": "uint256",
|
98 | "name": "tokenId",
|
99 | "type": "uint256"
|
100 | }
|
101 | ],
|
102 | "name": "getDropTotalLimit",
|
103 | "outputs": [
|
104 | {
|
105 | "internalType": "uint256",
|
106 | "name": "",
|
107 | "type": "uint256"
|
108 | }
|
109 | ],
|
110 | "stateMutability": "view",
|
111 | "type": "function"
|
112 | },
|
113 | {
|
114 | "inputs": [
|
115 | {
|
116 | "internalType": "uint256",
|
117 | "name": "tokenId",
|
118 | "type": "uint256"
|
119 | },
|
120 | {
|
121 | "internalType": "address",
|
122 | "name": "target",
|
123 | "type": "address"
|
124 | }
|
125 | ],
|
126 | "name": "getDroppedAmount",
|
127 | "outputs": [
|
128 | {
|
129 | "internalType": "uint256",
|
130 | "name": "",
|
131 | "type": "uint256"
|
132 | }
|
133 | ],
|
134 | "stateMutability": "view",
|
135 | "type": "function"
|
136 | },
|
137 | {
|
138 | "inputs": [
|
139 | {
|
140 | "internalType": "uint256",
|
141 | "name": "tokenId",
|
142 | "type": "uint256"
|
143 | }
|
144 | ],
|
145 | "name": "getDroppedTotalAmount",
|
146 | "outputs": [
|
147 | {
|
148 | "internalType": "uint256",
|
149 | "name": "",
|
150 | "type": "uint256"
|
151 | }
|
152 | ],
|
153 | "stateMutability": "view",
|
154 | "type": "function"
|
155 | },
|
156 | {
|
157 | "inputs": [],
|
158 | "name": "getOwners",
|
159 | "outputs": [
|
160 | {
|
161 | "internalType": "address[]",
|
162 | "name": "",
|
163 | "type": "address[]"
|
164 | }
|
165 | ],
|
166 | "stateMutability": "view",
|
167 | "type": "function"
|
168 | },
|
169 | {
|
170 | "inputs": [],
|
171 | "name": "getTrustedForwarder",
|
172 | "outputs": [
|
173 | {
|
174 | "internalType": "address",
|
175 | "name": "forwarder",
|
176 | "type": "address"
|
177 | }
|
178 | ],
|
179 | "stateMutability": "view",
|
180 | "type": "function"
|
181 | },
|
182 | {
|
183 | "inputs": [
|
184 | {
|
185 | "internalType": "address",
|
186 | "name": "addr",
|
187 | "type": "address"
|
188 | }
|
189 | ],
|
190 | "name": "isOwner",
|
191 | "outputs": [
|
192 | {
|
193 | "internalType": "bool",
|
194 | "name": "",
|
195 | "type": "bool"
|
196 | }
|
197 | ],
|
198 | "stateMutability": "view",
|
199 | "type": "function"
|
200 | },
|
201 | {
|
202 | "inputs": [
|
203 | {
|
204 | "internalType": "address",
|
205 | "name": "forwarder",
|
206 | "type": "address"
|
207 | }
|
208 | ],
|
209 | "name": "isTrustedForwarder",
|
210 | "outputs": [
|
211 | {
|
212 | "internalType": "bool",
|
213 | "name": "",
|
214 | "type": "bool"
|
215 | }
|
216 | ],
|
217 | "stateMutability": "view",
|
218 | "type": "function"
|
219 | },
|
220 | {
|
221 | "inputs": [
|
222 | {
|
223 | "internalType": "address",
|
224 | "name": "owner",
|
225 | "type": "address"
|
226 | }
|
227 | ],
|
228 | "name": "removeOwner",
|
229 | "outputs": [],
|
230 | "stateMutability": "nonpayable",
|
231 | "type": "function"
|
232 | },
|
233 | {
|
234 | "inputs": [
|
235 | {
|
236 | "internalType": "uint256",
|
237 | "name": "tokenId",
|
238 | "type": "uint256"
|
239 | },
|
240 | {
|
241 | "internalType": "uint256",
|
242 | "name": "amount",
|
243 | "type": "uint256"
|
244 | },
|
245 | {
|
246 | "internalType": "address",
|
247 | "name": "target",
|
248 | "type": "address"
|
249 | }
|
250 | ],
|
251 | "name": "requestToken",
|
252 | "outputs": [],
|
253 | "stateMutability": "nonpayable",
|
254 | "type": "function"
|
255 | },
|
256 | {
|
257 | "inputs": [
|
258 | {
|
259 | "internalType": "string",
|
260 | "name": "description",
|
261 | "type": "string"
|
262 | }
|
263 | ],
|
264 | "name": "setDescription",
|
265 | "outputs": [],
|
266 | "stateMutability": "nonpayable",
|
267 | "type": "function"
|
268 | },
|
269 | {
|
270 | "inputs": [
|
271 | {
|
272 | "internalType": "uint256",
|
273 | "name": "tokenId",
|
274 | "type": "uint256"
|
275 | },
|
276 | {
|
277 | "internalType": "uint256",
|
278 | "name": "amount",
|
279 | "type": "uint256"
|
280 | }
|
281 | ],
|
282 | "name": "setDropPerAddressLimit",
|
283 | "outputs": [],
|
284 | "stateMutability": "nonpayable",
|
285 | "type": "function"
|
286 | },
|
287 | {
|
288 | "inputs": [
|
289 | {
|
290 | "internalType": "uint256",
|
291 | "name": "tokenId",
|
292 | "type": "uint256"
|
293 | },
|
294 | {
|
295 | "internalType": "uint256",
|
296 | "name": "amount",
|
297 | "type": "uint256"
|
298 | }
|
299 | ],
|
300 | "name": "setDropTotalLimit",
|
301 | "outputs": [],
|
302 | "stateMutability": "nonpayable",
|
303 | "type": "function"
|
304 | },
|
305 | {
|
306 | "inputs": [
|
307 | {
|
308 | "internalType": "address",
|
309 | "name": "_forwarder",
|
310 | "type": "address"
|
311 | }
|
312 | ],
|
313 | "name": "setTrustedForwarder",
|
314 | "outputs": [],
|
315 | "stateMutability": "nonpayable",
|
316 | "type": "function"
|
317 | }
|
318 | ],
|
319 | "bytecode": "0x",
|
320 | "deployedBytecode": "0x",
|
321 | "linkReferences": {},
|
322 | "deployedLinkReferences": {}
|
323 | }
|