Infinity99HD

Untitled

Aug 14th, 2022
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.39 KB | None | 0 0
  1. [
  2. {
  3. "inputs": [
  4. {
  5. "internalType": "string",
  6. "name": "contract_uri",
  7. "type": "string"
  8. }
  9. ],
  10. "stateMutability": "nonpayable",
  11. "type": "constructor"
  12. },
  13. {
  14. "anonymous": false,
  15. "inputs": [
  16. {
  17. "indexed": true,
  18. "internalType": "address",
  19. "name": "account",
  20. "type": "address"
  21. },
  22. {
  23. "indexed": true,
  24. "internalType": "address",
  25. "name": "operator",
  26. "type": "address"
  27. },
  28. {
  29. "indexed": false,
  30. "internalType": "bool",
  31. "name": "approved",
  32. "type": "bool"
  33. }
  34. ],
  35. "name": "ApprovalForAll",
  36. "type": "event"
  37. },
  38. {
  39. "anonymous": false,
  40. "inputs": [
  41. {
  42. "indexed": true,
  43. "internalType": "address",
  44. "name": "previousOwner",
  45. "type": "address"
  46. },
  47. {
  48. "indexed": true,
  49. "internalType": "address",
  50. "name": "newOwner",
  51. "type": "address"
  52. }
  53. ],
  54. "name": "OwnershipTransferred",
  55. "type": "event"
  56. },
  57. {
  58. "anonymous": false,
  59. "inputs": [
  60. {
  61. "indexed": true,
  62. "internalType": "bytes32",
  63. "name": "role",
  64. "type": "bytes32"
  65. },
  66. {
  67. "indexed": true,
  68. "internalType": "bytes32",
  69. "name": "previousAdminRole",
  70. "type": "bytes32"
  71. },
  72. {
  73. "indexed": true,
  74. "internalType": "bytes32",
  75. "name": "newAdminRole",
  76. "type": "bytes32"
  77. }
  78. ],
  79. "name": "RoleAdminChanged",
  80. "type": "event"
  81. },
  82. {
  83. "anonymous": false,
  84. "inputs": [
  85. {
  86. "indexed": true,
  87. "internalType": "bytes32",
  88. "name": "role",
  89. "type": "bytes32"
  90. },
  91. {
  92. "indexed": true,
  93. "internalType": "address",
  94. "name": "account",
  95. "type": "address"
  96. },
  97. {
  98. "indexed": true,
  99. "internalType": "address",
  100. "name": "sender",
  101. "type": "address"
  102. }
  103. ],
  104. "name": "RoleGranted",
  105. "type": "event"
  106. },
  107. {
  108. "anonymous": false,
  109. "inputs": [
  110. {
  111. "indexed": true,
  112. "internalType": "bytes32",
  113. "name": "role",
  114. "type": "bytes32"
  115. },
  116. {
  117. "indexed": true,
  118. "internalType": "address",
  119. "name": "account",
  120. "type": "address"
  121. },
  122. {
  123. "indexed": true,
  124. "internalType": "address",
  125. "name": "sender",
  126. "type": "address"
  127. }
  128. ],
  129. "name": "RoleRevoked",
  130. "type": "event"
  131. },
  132. {
  133. "anonymous": false,
  134. "inputs": [
  135. {
  136. "indexed": true,
  137. "internalType": "address",
  138. "name": "operator",
  139. "type": "address"
  140. },
  141. {
  142. "indexed": true,
  143. "internalType": "address",
  144. "name": "from",
  145. "type": "address"
  146. },
  147. {
  148. "indexed": true,
  149. "internalType": "address",
  150. "name": "to",
  151. "type": "address"
  152. },
  153. {
  154. "indexed": false,
  155. "internalType": "uint256[]",
  156. "name": "ids",
  157. "type": "uint256[]"
  158. },
  159. {
  160. "indexed": false,
  161. "internalType": "uint256[]",
  162. "name": "values",
  163. "type": "uint256[]"
  164. }
  165. ],
  166. "name": "TransferBatch",
  167. "type": "event"
  168. },
  169. {
  170. "anonymous": false,
  171. "inputs": [
  172. {
  173. "indexed": true,
  174. "internalType": "address",
  175. "name": "operator",
  176. "type": "address"
  177. },
  178. {
  179. "indexed": true,
  180. "internalType": "address",
  181. "name": "from",
  182. "type": "address"
  183. },
  184. {
  185. "indexed": true,
  186. "internalType": "address",
  187. "name": "to",
  188. "type": "address"
  189. },
  190. {
  191. "indexed": false,
  192. "internalType": "uint256",
  193. "name": "id",
  194. "type": "uint256"
  195. },
  196. {
  197. "indexed": false,
  198. "internalType": "uint256",
  199. "name": "value",
  200. "type": "uint256"
  201. }
  202. ],
  203. "name": "TransferSingle",
  204. "type": "event"
  205. },
  206. {
  207. "anonymous": false,
  208. "inputs": [
  209. {
  210. "indexed": false,
  211. "internalType": "string",
  212. "name": "value",
  213. "type": "string"
  214. },
  215. {
  216. "indexed": true,
  217. "internalType": "uint256",
  218. "name": "id",
  219. "type": "uint256"
  220. }
  221. ],
  222. "name": "URI",
  223. "type": "event"
  224. },
  225. {
  226. "inputs": [],
  227. "name": "BURNER_ROLE",
  228. "outputs": [
  229. {
  230. "internalType": "bytes32",
  231. "name": "",
  232. "type": "bytes32"
  233. }
  234. ],
  235. "stateMutability": "view",
  236. "type": "function"
  237. },
  238. {
  239. "inputs": [],
  240. "name": "DEFAULT_ADMIN_ROLE",
  241. "outputs": [
  242. {
  243. "internalType": "bytes32",
  244. "name": "",
  245. "type": "bytes32"
  246. }
  247. ],
  248. "stateMutability": "view",
  249. "type": "function"
  250. },
  251. {
  252. "inputs": [],
  253. "name": "LIMITED_ROLE",
  254. "outputs": [
  255. {
  256. "internalType": "bytes32",
  257. "name": "",
  258. "type": "bytes32"
  259. }
  260. ],
  261. "stateMutability": "view",
  262. "type": "function"
  263. },
  264. {
  265. "inputs": [],
  266. "name": "MINTER_ROLE",
  267. "outputs": [
  268. {
  269. "internalType": "bytes32",
  270. "name": "",
  271. "type": "bytes32"
  272. }
  273. ],
  274. "stateMutability": "view",
  275. "type": "function"
  276. },
  277. {
  278. "inputs": [],
  279. "name": "READER_ROLE",
  280. "outputs": [
  281. {
  282. "internalType": "bytes32",
  283. "name": "",
  284. "type": "bytes32"
  285. }
  286. ],
  287. "stateMutability": "view",
  288. "type": "function"
  289. },
  290. {
  291. "inputs": [
  292. {
  293. "internalType": "address",
  294. "name": "account",
  295. "type": "address"
  296. },
  297. {
  298. "internalType": "uint256",
  299. "name": "id",
  300. "type": "uint256"
  301. }
  302. ],
  303. "name": "balanceOf",
  304. "outputs": [
  305. {
  306. "internalType": "uint256",
  307. "name": "",
  308. "type": "uint256"
  309. }
  310. ],
  311. "stateMutability": "view",
  312. "type": "function"
  313. },
  314. {
  315. "inputs": [
  316. {
  317. "internalType": "address[]",
  318. "name": "accounts",
  319. "type": "address[]"
  320. },
  321. {
  322. "internalType": "uint256[]",
  323. "name": "ids",
  324. "type": "uint256[]"
  325. }
  326. ],
  327. "name": "balanceOfBatch",
  328. "outputs": [
  329. {
  330. "internalType": "uint256[]",
  331. "name": "",
  332. "type": "uint256[]"
  333. }
  334. ],
  335. "stateMutability": "view",
  336. "type": "function"
  337. },
  338. {
  339. "inputs": [
  340. {
  341. "internalType": "address",
  342. "name": "contract_address",
  343. "type": "address"
  344. },
  345. {
  346. "internalType": "uint256",
  347. "name": "tokenId",
  348. "type": "uint256"
  349. },
  350. {
  351. "internalType": "uint256",
  352. "name": "amount",
  353. "type": "uint256"
  354. }
  355. ],
  356. "name": "burnToken",
  357. "outputs": [],
  358. "stateMutability": "nonpayable",
  359. "type": "function"
  360. },
  361. {
  362. "inputs": [
  363. {
  364. "internalType": "address",
  365. "name": "contract_address",
  366. "type": "address"
  367. },
  368. {
  369. "internalType": "uint256",
  370. "name": "tokenId",
  371. "type": "uint256"
  372. },
  373. {
  374. "internalType": "uint256",
  375. "name": "amount",
  376. "type": "uint256"
  377. }
  378. ],
  379. "name": "burnToken2",
  380. "outputs": [],
  381. "stateMutability": "nonpayable",
  382. "type": "function"
  383. },
  384. {
  385. "inputs": [
  386. {
  387. "internalType": "uint256",
  388. "name": "",
  389. "type": "uint256"
  390. }
  391. ],
  392. "name": "childNFT_address",
  393. "outputs": [
  394. {
  395. "internalType": "address",
  396. "name": "",
  397. "type": "address"
  398. }
  399. ],
  400. "stateMutability": "view",
  401. "type": "function"
  402. },
  403. {
  404. "inputs": [],
  405. "name": "contractURI",
  406. "outputs": [
  407. {
  408. "internalType": "string",
  409. "name": "",
  410. "type": "string"
  411. }
  412. ],
  413. "stateMutability": "view",
  414. "type": "function"
  415. },
  416. {
  417. "inputs": [
  418. {
  419. "internalType": "string",
  420. "name": "role",
  421. "type": "string"
  422. }
  423. ],
  424. "name": "getPrivilegedAccounts",
  425. "outputs": [
  426. {
  427. "internalType": "address[]",
  428. "name": "",
  429. "type": "address[]"
  430. }
  431. ],
  432. "stateMutability": "view",
  433. "type": "function"
  434. },
  435. {
  436. "inputs": [
  437. {
  438. "internalType": "string",
  439. "name": "role",
  440. "type": "string"
  441. }
  442. ],
  443. "name": "getPrivilegedAccounts2",
  444. "outputs": [
  445. {
  446. "internalType": "address[]",
  447. "name": "",
  448. "type": "address[]"
  449. }
  450. ],
  451. "stateMutability": "view",
  452. "type": "function"
  453. },
  454. {
  455. "inputs": [
  456. {
  457. "internalType": "bytes32",
  458. "name": "role",
  459. "type": "bytes32"
  460. }
  461. ],
  462. "name": "getRoleAdmin",
  463. "outputs": [
  464. {
  465. "internalType": "bytes32",
  466. "name": "",
  467. "type": "bytes32"
  468. }
  469. ],
  470. "stateMutability": "view",
  471. "type": "function"
  472. },
  473. {
  474. "inputs": [
  475. {
  476. "internalType": "bytes32",
  477. "name": "role",
  478. "type": "bytes32"
  479. },
  480. {
  481. "internalType": "uint256",
  482. "name": "index",
  483. "type": "uint256"
  484. }
  485. ],
  486. "name": "getRoleMember",
  487. "outputs": [
  488. {
  489. "internalType": "address",
  490. "name": "",
  491. "type": "address"
  492. }
  493. ],
  494. "stateMutability": "view",
  495. "type": "function"
  496. },
  497. {
  498. "inputs": [
  499. {
  500. "internalType": "bytes32",
  501. "name": "role",
  502. "type": "bytes32"
  503. }
  504. ],
  505. "name": "getRoleMemberCount",
  506. "outputs": [
  507. {
  508. "internalType": "uint256",
  509. "name": "",
  510. "type": "uint256"
  511. }
  512. ],
  513. "stateMutability": "view",
  514. "type": "function"
  515. },
  516. {
  517. "inputs": [
  518. {
  519. "internalType": "bytes32",
  520. "name": "role",
  521. "type": "bytes32"
  522. },
  523. {
  524. "internalType": "address",
  525. "name": "account",
  526. "type": "address"
  527. }
  528. ],
  529. "name": "grantRole",
  530. "outputs": [],
  531. "stateMutability": "nonpayable",
  532. "type": "function"
  533. },
  534. {
  535. "inputs": [
  536. {
  537. "internalType": "bytes32",
  538. "name": "role",
  539. "type": "bytes32"
  540. },
  541. {
  542. "internalType": "address",
  543. "name": "account",
  544. "type": "address"
  545. }
  546. ],
  547. "name": "hasRole",
  548. "outputs": [
  549. {
  550. "internalType": "bool",
  551. "name": "",
  552. "type": "bool"
  553. }
  554. ],
  555. "stateMutability": "view",
  556. "type": "function"
  557. },
  558. {
  559. "inputs": [
  560. {
  561. "internalType": "address",
  562. "name": "account",
  563. "type": "address"
  564. },
  565. {
  566. "internalType": "address",
  567. "name": "operator",
  568. "type": "address"
  569. }
  570. ],
  571. "name": "isApprovedForAll",
  572. "outputs": [
  573. {
  574. "internalType": "bool",
  575. "name": "",
  576. "type": "bool"
  577. }
  578. ],
  579. "stateMutability": "view",
  580. "type": "function"
  581. },
  582. {
  583. "inputs": [
  584. {
  585. "internalType": "uint256",
  586. "name": "",
  587. "type": "uint256"
  588. }
  589. ],
  590. "name": "isNFT",
  591. "outputs": [
  592. {
  593. "internalType": "bool",
  594. "name": "",
  595. "type": "bool"
  596. }
  597. ],
  598. "stateMutability": "view",
  599. "type": "function"
  600. },
  601. {
  602. "inputs": [
  603. {
  604. "internalType": "address",
  605. "name": "to",
  606. "type": "address"
  607. },
  608. {
  609. "internalType": "uint256",
  610. "name": "tokenId",
  611. "type": "uint256"
  612. },
  613. {
  614. "internalType": "uint256",
  615. "name": "amount",
  616. "type": "uint256"
  617. },
  618. {
  619. "internalType": "string",
  620. "name": "contract_uri",
  621. "type": "string"
  622. },
  623. {
  624. "internalType": "bool",
  625. "name": "burnable",
  626. "type": "bool"
  627. },
  628. {
  629. "internalType": "bool",
  630. "name": "_isNFT",
  631. "type": "bool"
  632. }
  633. ],
  634. "name": "mint",
  635. "outputs": [],
  636. "stateMutability": "nonpayable",
  637. "type": "function"
  638. },
  639. {
  640. "inputs": [
  641. {
  642. "internalType": "address",
  643. "name": "to",
  644. "type": "address"
  645. },
  646. {
  647. "internalType": "uint256",
  648. "name": "tokenId",
  649. "type": "uint256"
  650. },
  651. {
  652. "internalType": "uint256",
  653. "name": "amount",
  654. "type": "uint256"
  655. },
  656. {
  657. "internalType": "string",
  658. "name": "contract_uri",
  659. "type": "string"
  660. },
  661. {
  662. "internalType": "bool",
  663. "name": "burnable",
  664. "type": "bool"
  665. },
  666. {
  667. "internalType": "bool",
  668. "name": "_isNFT",
  669. "type": "bool"
  670. }
  671. ],
  672. "name": "mint2",
  673. "outputs": [],
  674. "stateMutability": "nonpayable",
  675. "type": "function"
  676. },
  677. {
  678. "inputs": [],
  679. "name": "owner",
  680. "outputs": [
  681. {
  682. "internalType": "address",
  683. "name": "",
  684. "type": "address"
  685. }
  686. ],
  687. "stateMutability": "view",
  688. "type": "function"
  689. },
  690. {
  691. "inputs": [],
  692. "name": "renounceOwnership",
  693. "outputs": [],
  694. "stateMutability": "nonpayable",
  695. "type": "function"
  696. },
  697. {
  698. "inputs": [
  699. {
  700. "internalType": "bytes32",
  701. "name": "role",
  702. "type": "bytes32"
  703. },
  704. {
  705. "internalType": "address",
  706. "name": "account",
  707. "type": "address"
  708. }
  709. ],
  710. "name": "renounceRole",
  711. "outputs": [],
  712. "stateMutability": "nonpayable",
  713. "type": "function"
  714. },
  715. {
  716. "inputs": [
  717. {
  718. "internalType": "bytes32",
  719. "name": "role",
  720. "type": "bytes32"
  721. },
  722. {
  723. "internalType": "address",
  724. "name": "account",
  725. "type": "address"
  726. }
  727. ],
  728. "name": "revokeRole",
  729. "outputs": [],
  730. "stateMutability": "nonpayable",
  731. "type": "function"
  732. },
  733. {
  734. "inputs": [
  735. {
  736. "internalType": "address",
  737. "name": "from",
  738. "type": "address"
  739. },
  740. {
  741. "internalType": "address",
  742. "name": "to",
  743. "type": "address"
  744. },
  745. {
  746. "internalType": "uint256[]",
  747. "name": "ids",
  748. "type": "uint256[]"
  749. },
  750. {
  751. "internalType": "uint256[]",
  752. "name": "amounts",
  753. "type": "uint256[]"
  754. },
  755. {
  756. "internalType": "bytes",
  757. "name": "data",
  758. "type": "bytes"
  759. }
  760. ],
  761. "name": "safeBatchTransferFrom",
  762. "outputs": [],
  763. "stateMutability": "nonpayable",
  764. "type": "function"
  765. },
  766. {
  767. "inputs": [
  768. {
  769. "internalType": "address",
  770. "name": "from",
  771. "type": "address"
  772. },
  773. {
  774. "internalType": "address",
  775. "name": "to",
  776. "type": "address"
  777. },
  778. {
  779. "internalType": "uint256",
  780. "name": "id",
  781. "type": "uint256"
  782. },
  783. {
  784. "internalType": "uint256",
  785. "name": "amount",
  786. "type": "uint256"
  787. },
  788. {
  789. "internalType": "bytes",
  790. "name": "data",
  791. "type": "bytes"
  792. }
  793. ],
  794. "name": "safeTransferFrom",
  795. "outputs": [],
  796. "stateMutability": "nonpayable",
  797. "type": "function"
  798. },
  799. {
  800. "inputs": [
  801. {
  802. "internalType": "address",
  803. "name": "operator",
  804. "type": "address"
  805. },
  806. {
  807. "internalType": "bool",
  808. "name": "approved",
  809. "type": "bool"
  810. }
  811. ],
  812. "name": "setApprovalForAll",
  813. "outputs": [],
  814. "stateMutability": "nonpayable",
  815. "type": "function"
  816. },
  817. {
  818. "inputs": [
  819. {
  820. "internalType": "bytes4",
  821. "name": "interfaceId",
  822. "type": "bytes4"
  823. }
  824. ],
  825. "name": "supportsInterface",
  826. "outputs": [
  827. {
  828. "internalType": "bool",
  829. "name": "",
  830. "type": "bool"
  831. }
  832. ],
  833. "stateMutability": "view",
  834. "type": "function"
  835. },
  836. {
  837. "inputs": [
  838. {
  839. "internalType": "address",
  840. "name": "newOwner",
  841. "type": "address"
  842. }
  843. ],
  844. "name": "transferOwnership",
  845. "outputs": [],
  846. "stateMutability": "nonpayable",
  847. "type": "function"
  848. },
  849. {
  850. "inputs": [
  851. {
  852. "internalType": "uint256",
  853. "name": "tokenId",
  854. "type": "uint256"
  855. }
  856. ],
  857. "name": "uri",
  858. "outputs": [
  859. {
  860. "internalType": "string",
  861. "name": "",
  862. "type": "string"
  863. }
  864. ],
  865. "stateMutability": "view",
  866. "type": "function"
  867. }
  868. ]
Add Comment
Please, Sign In to add comment