Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dfc5064

Browse files
committedMar 9, 2024
chore: added galxe nft artifact
1 parent ec4dc07 commit dfc5064

File tree

2 files changed

+738
-0
lines changed

2 files changed

+738
-0
lines changed
 
Lines changed: 723 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,723 @@
1+
{
2+
"address": "0xfE34a72c55e512601E7d491A9c5b36373cE34d63",
3+
"abi": [
4+
{
5+
"inputs": [],
6+
"stateMutability": "nonpayable",
7+
"type": "constructor"
8+
},
9+
{
10+
"anonymous": false,
11+
"inputs": [
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "owner",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": true,
20+
"internalType": "address",
21+
"name": "approved",
22+
"type": "address"
23+
},
24+
{
25+
"indexed": true,
26+
"internalType": "uint256",
27+
"name": "tokenId",
28+
"type": "uint256"
29+
}
30+
],
31+
"name": "Approval",
32+
"type": "event"
33+
},
34+
{
35+
"anonymous": false,
36+
"inputs": [
37+
{
38+
"indexed": true,
39+
"internalType": "address",
40+
"name": "owner",
41+
"type": "address"
42+
},
43+
{
44+
"indexed": true,
45+
"internalType": "address",
46+
"name": "operator",
47+
"type": "address"
48+
},
49+
{
50+
"indexed": false,
51+
"internalType": "bool",
52+
"name": "approved",
53+
"type": "bool"
54+
}
55+
],
56+
"name": "ApprovalForAll",
57+
"type": "event"
58+
},
59+
{
60+
"anonymous": false,
61+
"inputs": [
62+
{
63+
"indexed": true,
64+
"internalType": "address",
65+
"name": "newMinter",
66+
"type": "address"
67+
}
68+
],
69+
"name": "EventMinterAdded",
70+
"type": "event"
71+
},
72+
{
73+
"anonymous": false,
74+
"inputs": [
75+
{
76+
"indexed": true,
77+
"internalType": "address",
78+
"name": "oldMinter",
79+
"type": "address"
80+
}
81+
],
82+
"name": "EventMinterRemoved",
83+
"type": "event"
84+
},
85+
{
86+
"anonymous": false,
87+
"inputs": [
88+
{
89+
"indexed": true,
90+
"internalType": "address",
91+
"name": "previousOwner",
92+
"type": "address"
93+
},
94+
{
95+
"indexed": true,
96+
"internalType": "address",
97+
"name": "newOwner",
98+
"type": "address"
99+
}
100+
],
101+
"name": "OwnershipTransferred",
102+
"type": "event"
103+
},
104+
{
105+
"anonymous": false,
106+
"inputs": [
107+
{
108+
"indexed": true,
109+
"internalType": "address",
110+
"name": "from",
111+
"type": "address"
112+
},
113+
{
114+
"indexed": true,
115+
"internalType": "address",
116+
"name": "to",
117+
"type": "address"
118+
},
119+
{
120+
"indexed": true,
121+
"internalType": "uint256",
122+
"name": "tokenId",
123+
"type": "uint256"
124+
}
125+
],
126+
"name": "Transfer",
127+
"type": "event"
128+
},
129+
{
130+
"inputs": [
131+
{
132+
"internalType": "address",
133+
"name": "minter",
134+
"type": "address"
135+
}
136+
],
137+
"name": "addMinter",
138+
"outputs": [],
139+
"stateMutability": "nonpayable",
140+
"type": "function"
141+
},
142+
{
143+
"inputs": [
144+
{
145+
"internalType": "address",
146+
"name": "to",
147+
"type": "address"
148+
},
149+
{
150+
"internalType": "uint256",
151+
"name": "tokenId",
152+
"type": "uint256"
153+
}
154+
],
155+
"name": "approve",
156+
"outputs": [],
157+
"stateMutability": "nonpayable",
158+
"type": "function"
159+
},
160+
{
161+
"inputs": [
162+
{
163+
"internalType": "address",
164+
"name": "owner",
165+
"type": "address"
166+
}
167+
],
168+
"name": "balanceOf",
169+
"outputs": [
170+
{
171+
"internalType": "uint256",
172+
"name": "",
173+
"type": "uint256"
174+
}
175+
],
176+
"stateMutability": "view",
177+
"type": "function"
178+
},
179+
{
180+
"inputs": [],
181+
"name": "baseURI",
182+
"outputs": [
183+
{
184+
"internalType": "string",
185+
"name": "",
186+
"type": "string"
187+
}
188+
],
189+
"stateMutability": "view",
190+
"type": "function"
191+
},
192+
{
193+
"inputs": [
194+
{
195+
"internalType": "address",
196+
"name": "account",
197+
"type": "address"
198+
},
199+
{
200+
"internalType": "uint256",
201+
"name": "id",
202+
"type": "uint256"
203+
}
204+
],
205+
"name": "burn",
206+
"outputs": [],
207+
"stateMutability": "nonpayable",
208+
"type": "function"
209+
},
210+
{
211+
"inputs": [
212+
{
213+
"internalType": "address",
214+
"name": "account",
215+
"type": "address"
216+
},
217+
{
218+
"internalType": "uint256[]",
219+
"name": "ids",
220+
"type": "uint256[]"
221+
}
222+
],
223+
"name": "burnBatch",
224+
"outputs": [],
225+
"stateMutability": "nonpayable",
226+
"type": "function"
227+
},
228+
{
229+
"inputs": [
230+
{
231+
"internalType": "uint256",
232+
"name": "tokenId",
233+
"type": "uint256"
234+
}
235+
],
236+
"name": "cid",
237+
"outputs": [
238+
{
239+
"internalType": "uint256",
240+
"name": "",
241+
"type": "uint256"
242+
}
243+
],
244+
"stateMutability": "view",
245+
"type": "function"
246+
},
247+
{
248+
"inputs": [
249+
{
250+
"internalType": "uint256",
251+
"name": "tokenId",
252+
"type": "uint256"
253+
}
254+
],
255+
"name": "getApproved",
256+
"outputs": [
257+
{
258+
"internalType": "address",
259+
"name": "",
260+
"type": "address"
261+
}
262+
],
263+
"stateMutability": "view",
264+
"type": "function"
265+
},
266+
{
267+
"inputs": [],
268+
"name": "getNumMinted",
269+
"outputs": [
270+
{
271+
"internalType": "uint256",
272+
"name": "",
273+
"type": "uint256"
274+
}
275+
],
276+
"stateMutability": "view",
277+
"type": "function"
278+
},
279+
{
280+
"inputs": [
281+
{
282+
"internalType": "address",
283+
"name": "owner",
284+
"type": "address"
285+
},
286+
{
287+
"internalType": "address",
288+
"name": "operator",
289+
"type": "address"
290+
}
291+
],
292+
"name": "isApprovedForAll",
293+
"outputs": [
294+
{
295+
"internalType": "bool",
296+
"name": "",
297+
"type": "bool"
298+
}
299+
],
300+
"stateMutability": "view",
301+
"type": "function"
302+
},
303+
{
304+
"inputs": [
305+
{
306+
"internalType": "address",
307+
"name": "account",
308+
"type": "address"
309+
},
310+
{
311+
"internalType": "uint256",
312+
"name": "id",
313+
"type": "uint256"
314+
}
315+
],
316+
"name": "isOwnerOf",
317+
"outputs": [
318+
{
319+
"internalType": "bool",
320+
"name": "",
321+
"type": "bool"
322+
}
323+
],
324+
"stateMutability": "view",
325+
"type": "function"
326+
},
327+
{
328+
"inputs": [
329+
{
330+
"internalType": "address",
331+
"name": "account",
332+
"type": "address"
333+
},
334+
{
335+
"internalType": "uint256",
336+
"name": "cid",
337+
"type": "uint256"
338+
}
339+
],
340+
"name": "mint",
341+
"outputs": [
342+
{
343+
"internalType": "uint256",
344+
"name": "",
345+
"type": "uint256"
346+
}
347+
],
348+
"stateMutability": "nonpayable",
349+
"type": "function"
350+
},
351+
{
352+
"inputs": [
353+
{
354+
"internalType": "address",
355+
"name": "account",
356+
"type": "address"
357+
},
358+
{
359+
"internalType": "uint256",
360+
"name": "amount",
361+
"type": "uint256"
362+
},
363+
{
364+
"internalType": "uint256[]",
365+
"name": "cidArr",
366+
"type": "uint256[]"
367+
}
368+
],
369+
"name": "mintBatch",
370+
"outputs": [
371+
{
372+
"internalType": "uint256[]",
373+
"name": "",
374+
"type": "uint256[]"
375+
}
376+
],
377+
"stateMutability": "nonpayable",
378+
"type": "function"
379+
},
380+
{
381+
"inputs": [
382+
{
383+
"internalType": "address",
384+
"name": "account",
385+
"type": "address"
386+
}
387+
],
388+
"name": "minters",
389+
"outputs": [
390+
{
391+
"internalType": "bool",
392+
"name": "",
393+
"type": "bool"
394+
}
395+
],
396+
"stateMutability": "view",
397+
"type": "function"
398+
},
399+
{
400+
"inputs": [],
401+
"name": "name",
402+
"outputs": [
403+
{
404+
"internalType": "string",
405+
"name": "",
406+
"type": "string"
407+
}
408+
],
409+
"stateMutability": "view",
410+
"type": "function"
411+
},
412+
{
413+
"inputs": [],
414+
"name": "owner",
415+
"outputs": [
416+
{
417+
"internalType": "address",
418+
"name": "",
419+
"type": "address"
420+
}
421+
],
422+
"stateMutability": "view",
423+
"type": "function"
424+
},
425+
{
426+
"inputs": [
427+
{
428+
"internalType": "uint256",
429+
"name": "tokenId",
430+
"type": "uint256"
431+
}
432+
],
433+
"name": "ownerOf",
434+
"outputs": [
435+
{
436+
"internalType": "address",
437+
"name": "",
438+
"type": "address"
439+
}
440+
],
441+
"stateMutability": "view",
442+
"type": "function"
443+
},
444+
{
445+
"inputs": [
446+
{
447+
"internalType": "address",
448+
"name": "minter",
449+
"type": "address"
450+
}
451+
],
452+
"name": "removeMinter",
453+
"outputs": [],
454+
"stateMutability": "nonpayable",
455+
"type": "function"
456+
},
457+
{
458+
"inputs": [],
459+
"name": "renounceOwnership",
460+
"outputs": [],
461+
"stateMutability": "nonpayable",
462+
"type": "function"
463+
},
464+
{
465+
"inputs": [
466+
{
467+
"internalType": "address",
468+
"name": "from",
469+
"type": "address"
470+
},
471+
{
472+
"internalType": "address",
473+
"name": "to",
474+
"type": "address"
475+
},
476+
{
477+
"internalType": "uint256",
478+
"name": "tokenId",
479+
"type": "uint256"
480+
}
481+
],
482+
"name": "safeTransferFrom",
483+
"outputs": [],
484+
"stateMutability": "nonpayable",
485+
"type": "function"
486+
},
487+
{
488+
"inputs": [
489+
{
490+
"internalType": "address",
491+
"name": "from",
492+
"type": "address"
493+
},
494+
{
495+
"internalType": "address",
496+
"name": "to",
497+
"type": "address"
498+
},
499+
{
500+
"internalType": "uint256",
501+
"name": "tokenId",
502+
"type": "uint256"
503+
},
504+
{
505+
"internalType": "bytes",
506+
"name": "_data",
507+
"type": "bytes"
508+
}
509+
],
510+
"name": "safeTransferFrom",
511+
"outputs": [],
512+
"stateMutability": "nonpayable",
513+
"type": "function"
514+
},
515+
{
516+
"inputs": [
517+
{
518+
"internalType": "address",
519+
"name": "operator",
520+
"type": "address"
521+
},
522+
{
523+
"internalType": "bool",
524+
"name": "approved",
525+
"type": "bool"
526+
}
527+
],
528+
"name": "setApprovalForAll",
529+
"outputs": [],
530+
"stateMutability": "nonpayable",
531+
"type": "function"
532+
},
533+
{
534+
"inputs": [
535+
{
536+
"internalType": "string",
537+
"name": "newName",
538+
"type": "string"
539+
}
540+
],
541+
"name": "setName",
542+
"outputs": [],
543+
"stateMutability": "nonpayable",
544+
"type": "function"
545+
},
546+
{
547+
"inputs": [
548+
{
549+
"internalType": "string",
550+
"name": "newSymbol",
551+
"type": "string"
552+
}
553+
],
554+
"name": "setSymbol",
555+
"outputs": [],
556+
"stateMutability": "nonpayable",
557+
"type": "function"
558+
},
559+
{
560+
"inputs": [
561+
{
562+
"internalType": "bool",
563+
"name": "transferable",
564+
"type": "bool"
565+
}
566+
],
567+
"name": "setTransferable",
568+
"outputs": [],
569+
"stateMutability": "nonpayable",
570+
"type": "function"
571+
},
572+
{
573+
"inputs": [
574+
{
575+
"internalType": "string",
576+
"name": "newURI",
577+
"type": "string"
578+
}
579+
],
580+
"name": "setURI",
581+
"outputs": [],
582+
"stateMutability": "nonpayable",
583+
"type": "function"
584+
},
585+
{
586+
"inputs": [
587+
{
588+
"internalType": "bytes4",
589+
"name": "interfaceId",
590+
"type": "bytes4"
591+
}
592+
],
593+
"name": "supportsInterface",
594+
"outputs": [
595+
{
596+
"internalType": "bool",
597+
"name": "",
598+
"type": "bool"
599+
}
600+
],
601+
"stateMutability": "view",
602+
"type": "function"
603+
},
604+
{
605+
"inputs": [],
606+
"name": "symbol",
607+
"outputs": [
608+
{
609+
"internalType": "string",
610+
"name": "",
611+
"type": "string"
612+
}
613+
],
614+
"stateMutability": "view",
615+
"type": "function"
616+
},
617+
{
618+
"inputs": [
619+
{
620+
"internalType": "address",
621+
"name": "owner",
622+
"type": "address"
623+
},
624+
{
625+
"internalType": "uint256",
626+
"name": "index",
627+
"type": "uint256"
628+
}
629+
],
630+
"name": "tokenOfOwnerByIndex",
631+
"outputs": [
632+
{
633+
"internalType": "uint256",
634+
"name": "",
635+
"type": "uint256"
636+
}
637+
],
638+
"stateMutability": "view",
639+
"type": "function"
640+
},
641+
{
642+
"inputs": [
643+
{
644+
"internalType": "uint256",
645+
"name": "tokenId",
646+
"type": "uint256"
647+
}
648+
],
649+
"name": "tokenURI",
650+
"outputs": [
651+
{
652+
"internalType": "string",
653+
"name": "",
654+
"type": "string"
655+
}
656+
],
657+
"stateMutability": "view",
658+
"type": "function"
659+
},
660+
{
661+
"inputs": [],
662+
"name": "totalSupply",
663+
"outputs": [
664+
{
665+
"internalType": "uint256",
666+
"name": "",
667+
"type": "uint256"
668+
}
669+
],
670+
"stateMutability": "view",
671+
"type": "function"
672+
},
673+
{
674+
"inputs": [
675+
{
676+
"internalType": "address",
677+
"name": "from",
678+
"type": "address"
679+
},
680+
{
681+
"internalType": "address",
682+
"name": "to",
683+
"type": "address"
684+
},
685+
{
686+
"internalType": "uint256",
687+
"name": "tokenId",
688+
"type": "uint256"
689+
}
690+
],
691+
"name": "transferFrom",
692+
"outputs": [],
693+
"stateMutability": "nonpayable",
694+
"type": "function"
695+
},
696+
{
697+
"inputs": [
698+
{
699+
"internalType": "address",
700+
"name": "newOwner",
701+
"type": "address"
702+
}
703+
],
704+
"name": "transferOwnership",
705+
"outputs": [],
706+
"stateMutability": "nonpayable",
707+
"type": "function"
708+
},
709+
{
710+
"inputs": [],
711+
"name": "transferable",
712+
"outputs": [
713+
{
714+
"internalType": "bool",
715+
"name": "",
716+
"type": "bool"
717+
}
718+
],
719+
"stateMutability": "view",
720+
"type": "function"
721+
}
722+
]
723+
}

‎contracts/scripts/dotenv.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4+
5+
varKey=$1
6+
7+
if [ -z "$varKey" ]; then
8+
echo "Env variable name not provided. Exiting..." >&2
9+
exit 1
10+
fi
11+
12+
node -e "
13+
require('dotenv').config({ path: '"$SCRIPT_DIR"/../.env' })
14+
console.log(process.env.$varKey)
15+
" | sed 1d

0 commit comments

Comments
 (0)
Please sign in to comment.