Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.85 KB | None | 0 0
  1. [
  2. {
  3. "inputs": [
  4. {
  5. "internalType": "uint256",
  6. "name": "_currentPrice",
  7. "type": "uint256"
  8. },
  9. {
  10. "internalType": "string",
  11. "name": "_image_hash",
  12. "type": "string"
  13. },
  14. {
  15. "internalType": "string",
  16. "name": "_author",
  17. "type": "string"
  18. },
  19. {
  20. "internalType": "string",
  21. "name": "_name_of_art",
  22. "type": "string"
  23. },
  24. {
  25. "internalType": "uint256",
  26. "name": "_supply",
  27. "type": "uint256"
  28. }
  29. ],
  30. "payable": false,
  31. "stateMutability": "nonpayable",
  32. "type": "constructor"
  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": "approved",
  47. "type": "address"
  48. },
  49. {
  50. "indexed": true,
  51. "internalType": "uint256",
  52. "name": "tokenId",
  53. "type": "uint256"
  54. }
  55. ],
  56. "name": "Approval",
  57. "type": "event"
  58. },
  59. {
  60. "anonymous": false,
  61. "inputs": [
  62. {
  63. "indexed": true,
  64. "internalType": "address",
  65. "name": "owner",
  66. "type": "address"
  67. },
  68. {
  69. "indexed": true,
  70. "internalType": "address",
  71. "name": "operator",
  72. "type": "address"
  73. },
  74. {
  75. "indexed": false,
  76. "internalType": "bool",
  77. "name": "approved",
  78. "type": "bool"
  79. }
  80. ],
  81. "name": "ApprovalForAll",
  82. "type": "event"
  83. },
  84. {
  85. "anonymous": false,
  86. "inputs": [
  87. {
  88. "indexed": true,
  89. "internalType": "address",
  90. "name": "previousOwner",
  91. "type": "address"
  92. }
  93. ],
  94. "name": "OwnershipRenounced",
  95. "type": "event"
  96. },
  97. {
  98. "anonymous": false,
  99. "inputs": [
  100. {
  101. "indexed": true,
  102. "internalType": "address",
  103. "name": "previousOwner",
  104. "type": "address"
  105. },
  106. {
  107. "indexed": true,
  108. "internalType": "address",
  109. "name": "newOwner",
  110. "type": "address"
  111. }
  112. ],
  113. "name": "OwnershipTransferred",
  114. "type": "event"
  115. },
  116. {
  117. "anonymous": false,
  118. "inputs": [
  119. {
  120. "indexed": true,
  121. "internalType": "address",
  122. "name": "from",
  123. "type": "address"
  124. },
  125. {
  126. "indexed": true,
  127. "internalType": "address",
  128. "name": "to",
  129. "type": "address"
  130. },
  131. {
  132. "indexed": true,
  133. "internalType": "uint256",
  134. "name": "tokenId",
  135. "type": "uint256"
  136. }
  137. ],
  138. "name": "Transfer",
  139. "type": "event"
  140. },
  141. {
  142. "anonymous": false,
  143. "inputs": [
  144. {
  145. "indexed": false,
  146. "internalType": "string",
  147. "name": "nomdoeuvre",
  148. "type": "string"
  149. },
  150. {
  151. "indexed": false,
  152. "internalType": "string",
  153. "name": "createur",
  154. "type": "string"
  155. },
  156. {
  157. "indexed": false,
  158. "internalType": "uint256",
  159. "name": "morceau",
  160. "type": "uint256"
  161. }
  162. ],
  163. "name": "logListeOfArt",
  164. "type": "event"
  165. },
  166. {
  167. "constant": false,
  168. "inputs": [
  169. {
  170. "internalType": "address",
  171. "name": "to",
  172. "type": "address"
  173. },
  174. {
  175. "internalType": "uint256",
  176. "name": "tokenId",
  177. "type": "uint256"
  178. }
  179. ],
  180. "name": "approve",
  181. "outputs": [],
  182. "payable": false,
  183. "stateMutability": "nonpayable",
  184. "type": "function"
  185. },
  186. {
  187. "constant": true,
  188. "inputs": [],
  189. "name": "author",
  190. "outputs": [
  191. {
  192. "internalType": "string",
  193. "name": "",
  194. "type": "string"
  195. }
  196. ],
  197. "payable": false,
  198. "stateMutability": "view",
  199. "type": "function"
  200. },
  201. {
  202. "constant": true,
  203. "inputs": [
  204. {
  205. "internalType": "address",
  206. "name": "owner",
  207. "type": "address"
  208. }
  209. ],
  210. "name": "balanceOf",
  211. "outputs": [
  212. {
  213. "internalType": "uint256",
  214. "name": "",
  215. "type": "uint256"
  216. }
  217. ],
  218. "payable": false,
  219. "stateMutability": "view",
  220. "type": "function"
  221. },
  222. {
  223. "constant": true,
  224. "inputs": [],
  225. "name": "currentPrice",
  226. "outputs": [
  227. {
  228. "internalType": "uint256",
  229. "name": "",
  230. "type": "uint256"
  231. }
  232. ],
  233. "payable": false,
  234. "stateMutability": "view",
  235. "type": "function"
  236. },
  237. {
  238. "constant": true,
  239. "inputs": [
  240. {
  241. "internalType": "uint256",
  242. "name": "tokenId",
  243. "type": "uint256"
  244. }
  245. ],
  246. "name": "getApproved",
  247. "outputs": [
  248. {
  249. "internalType": "address",
  250. "name": "",
  251. "type": "address"
  252. }
  253. ],
  254. "payable": false,
  255. "stateMutability": "view",
  256. "type": "function"
  257. },
  258. {
  259. "constant": true,
  260. "inputs": [],
  261. "name": "image_hash",
  262. "outputs": [
  263. {
  264. "internalType": "string",
  265. "name": "",
  266. "type": "string"
  267. }
  268. ],
  269. "payable": false,
  270. "stateMutability": "view",
  271. "type": "function"
  272. },
  273. {
  274. "constant": true,
  275. "inputs": [
  276. {
  277. "internalType": "address",
  278. "name": "owner",
  279. "type": "address"
  280. },
  281. {
  282. "internalType": "address",
  283. "name": "operator",
  284. "type": "address"
  285. }
  286. ],
  287. "name": "isApprovedForAll",
  288. "outputs": [
  289. {
  290. "internalType": "bool",
  291. "name": "",
  292. "type": "bool"
  293. }
  294. ],
  295. "payable": false,
  296. "stateMutability": "view",
  297. "type": "function"
  298. },
  299. {
  300. "constant": true,
  301. "inputs": [
  302. {
  303. "internalType": "uint256",
  304. "name": "",
  305. "type": "uint256"
  306. }
  307. ],
  308. "name": "list_of_art",
  309. "outputs": [
  310. {
  311. "internalType": "string",
  312. "name": "nom_de_l_oeuvre",
  313. "type": "string"
  314. },
  315. {
  316. "internalType": "string",
  317. "name": "auteur",
  318. "type": "string"
  319. },
  320. {
  321. "internalType": "uint256",
  322. "name": "morceau",
  323. "type": "uint256"
  324. }
  325. ],
  326. "payable": false,
  327. "stateMutability": "view",
  328. "type": "function"
  329. },
  330. {
  331. "constant": true,
  332. "inputs": [],
  333. "name": "list_of_owned",
  334. "outputs": [
  335. {
  336. "internalType": "uint256[]",
  337. "name": "",
  338. "type": "uint256[]"
  339. }
  340. ],
  341. "payable": false,
  342. "stateMutability": "view",
  343. "type": "function"
  344. },
  345. {
  346. "constant": true,
  347. "inputs": [],
  348. "name": "name_of_art",
  349. "outputs": [
  350. {
  351. "internalType": "string",
  352. "name": "",
  353. "type": "string"
  354. }
  355. ],
  356. "payable": false,
  357. "stateMutability": "view",
  358. "type": "function"
  359. },
  360. {
  361. "constant": true,
  362. "inputs": [],
  363. "name": "owner",
  364. "outputs": [
  365. {
  366. "internalType": "address",
  367. "name": "",
  368. "type": "address"
  369. }
  370. ],
  371. "payable": false,
  372. "stateMutability": "view",
  373. "type": "function"
  374. },
  375. {
  376. "constant": true,
  377. "inputs": [
  378. {
  379. "internalType": "uint256",
  380. "name": "tokenId",
  381. "type": "uint256"
  382. }
  383. ],
  384. "name": "ownerOf",
  385. "outputs": [
  386. {
  387. "internalType": "address",
  388. "name": "",
  389. "type": "address"
  390. }
  391. ],
  392. "payable": false,
  393. "stateMutability": "view",
  394. "type": "function"
  395. },
  396. {
  397. "constant": true,
  398. "inputs": [],
  399. "name": "ownership",
  400. "outputs": [
  401. {
  402. "internalType": "address",
  403. "name": "",
  404. "type": "address"
  405. }
  406. ],
  407. "payable": false,
  408. "stateMutability": "view",
  409. "type": "function"
  410. },
  411. {
  412. "constant": false,
  413. "inputs": [
  414. {
  415. "internalType": "uint256",
  416. "name": "_tokenId",
  417. "type": "uint256"
  418. }
  419. ],
  420. "name": "purchaseToken",
  421. "outputs": [],
  422. "payable": true,
  423. "stateMutability": "payable",
  424. "type": "function"
  425. },
  426. {
  427. "constant": false,
  428. "inputs": [],
  429. "name": "renounceOwnership",
  430. "outputs": [],
  431. "payable": false,
  432. "stateMutability": "nonpayable",
  433. "type": "function"
  434. },
  435. {
  436. "constant": false,
  437. "inputs": [
  438. {
  439. "internalType": "address",
  440. "name": "from",
  441. "type": "address"
  442. },
  443. {
  444. "internalType": "address",
  445. "name": "to",
  446. "type": "address"
  447. },
  448. {
  449. "internalType": "uint256",
  450. "name": "tokenId",
  451. "type": "uint256"
  452. }
  453. ],
  454. "name": "safeTransferFrom",
  455. "outputs": [],
  456. "payable": false,
  457. "stateMutability": "nonpayable",
  458. "type": "function"
  459. },
  460. {
  461. "constant": false,
  462. "inputs": [
  463. {
  464. "internalType": "address",
  465. "name": "from",
  466. "type": "address"
  467. },
  468. {
  469. "internalType": "address",
  470. "name": "to",
  471. "type": "address"
  472. },
  473. {
  474. "internalType": "uint256",
  475. "name": "tokenId",
  476. "type": "uint256"
  477. },
  478. {
  479. "internalType": "bytes",
  480. "name": "_data",
  481. "type": "bytes"
  482. }
  483. ],
  484. "name": "safeTransferFrom",
  485. "outputs": [],
  486. "payable": false,
  487. "stateMutability": "nonpayable",
  488. "type": "function"
  489. },
  490. {
  491. "constant": false,
  492. "inputs": [
  493. {
  494. "internalType": "address",
  495. "name": "to",
  496. "type": "address"
  497. },
  498. {
  499. "internalType": "bool",
  500. "name": "approved",
  501. "type": "bool"
  502. }
  503. ],
  504. "name": "setApprovalForAll",
  505. "outputs": [],
  506. "payable": false,
  507. "stateMutability": "nonpayable",
  508. "type": "function"
  509. },
  510. {
  511. "constant": true,
  512. "inputs": [],
  513. "name": "supply",
  514. "outputs": [
  515. {
  516. "internalType": "uint256",
  517. "name": "",
  518. "type": "uint256"
  519. }
  520. ],
  521. "payable": false,
  522. "stateMutability": "view",
  523. "type": "function"
  524. },
  525. {
  526. "constant": true,
  527. "inputs": [
  528. {
  529. "internalType": "bytes4",
  530. "name": "interfaceId",
  531. "type": "bytes4"
  532. }
  533. ],
  534. "name": "supportsInterface",
  535. "outputs": [
  536. {
  537. "internalType": "bool",
  538. "name": "",
  539. "type": "bool"
  540. }
  541. ],
  542. "payable": false,
  543. "stateMutability": "view",
  544. "type": "function"
  545. },
  546. {
  547. "constant": false,
  548. "inputs": [
  549. {
  550. "internalType": "address",
  551. "name": "from",
  552. "type": "address"
  553. },
  554. {
  555. "internalType": "address",
  556. "name": "to",
  557. "type": "address"
  558. },
  559. {
  560. "internalType": "uint256",
  561. "name": "tokenId",
  562. "type": "uint256"
  563. }
  564. ],
  565. "name": "transferFrom",
  566. "outputs": [],
  567. "payable": false,
  568. "stateMutability": "nonpayable",
  569. "type": "function"
  570. },
  571. {
  572. "constant": false,
  573. "inputs": [
  574. {
  575. "internalType": "address",
  576. "name": "_newOwner",
  577. "type": "address"
  578. }
  579. ],
  580. "name": "transferOwnership",
  581. "outputs": [],
  582. "payable": false,
  583. "stateMutability": "nonpayable",
  584. "type": "function"
  585. }
  586. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement