You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

643 lines
74 KiB

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