Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. [
  2. {
  3. "constant": false,
  4. "inputs": [
  5. {
  6. "name": "_username",
  7. "type": "bytes32"
  8. }
  9. ],
  10. "name": "addUsername",
  11. "outputs": [],
  12. "payable": false,
  13. "stateMutability": "nonpayable",
  14. "type": "function"
  15. },
  16. {
  17. "constant": false,
  18. "inputs": [
  19. {
  20. "name": "_projectId",
  21. "type": "uint256"
  22. },
  23. {
  24. "name": "_newHash",
  25. "type": "bytes32"
  26. },
  27. {
  28. "name": "_commitMessage",
  29. "type": "bytes32"
  30. }
  31. ],
  32. "name": "commitCode",
  33. "outputs": [],
  34. "payable": false,
  35. "stateMutability": "nonpayable",
  36. "type": "function"
  37. },
  38. {
  39. "constant": false,
  40. "inputs": [
  41. {
  42. "name": "_name",
  43. "type": "bytes32"
  44. }
  45. ],
  46. "name": "createProject",
  47. "outputs": [],
  48. "payable": false,
  49. "stateMutability": "nonpayable",
  50. "type": "function"
  51. },
  52. {
  53. "constant": false,
  54. "inputs": [
  55. {
  56. "name": "_projectId",
  57. "type": "uint256"
  58. },
  59. {
  60. "name": "_teammate",
  61. "type": "address"
  62. }
  63. ],
  64. "name": "inviteTeammate",
  65. "outputs": [],
  66. "payable": false,
  67. "stateMutability": "nonpayable",
  68. "type": "function"
  69. },
  70. {
  71. "anonymous": false,
  72. "inputs": [
  73. {
  74. "indexed": true,
  75. "name": "_creator",
  76. "type": "address"
  77. },
  78. {
  79. "indexed": false,
  80. "name": "_projectId",
  81. "type": "uint256"
  82. },
  83. {
  84. "indexed": false,
  85. "name": "_name",
  86. "type": "bytes32"
  87. }
  88. ],
  89. "name": "ProjectCreated",
  90. "type": "event"
  91. },
  92. {
  93. "anonymous": false,
  94. "inputs": [
  95. {
  96. "indexed": true,
  97. "name": "_invitee",
  98. "type": "address"
  99. },
  100. {
  101. "indexed": false,
  102. "name": "_inviter",
  103. "type": "address"
  104. },
  105. {
  106. "indexed": false,
  107. "name": "_projectId",
  108. "type": "uint256"
  109. }
  110. ],
  111. "name": "UserInvited",
  112. "type": "event"
  113. },
  114. {
  115. "anonymous": false,
  116. "inputs": [
  117. {
  118. "indexed": true,
  119. "name": "_projectId",
  120. "type": "uint256"
  121. },
  122. {
  123. "indexed": false,
  124. "name": "_user",
  125. "type": "address"
  126. },
  127. {
  128. "indexed": false,
  129. "name": "_message",
  130. "type": "bytes32"
  131. }
  132. ],
  133. "name": "Commit",
  134. "type": "event"
  135. },
  136. {
  137. "constant": true,
  138. "inputs": [
  139. {
  140. "name": "_projectId",
  141. "type": "uint256"
  142. }
  143. ],
  144. "name": "getCommitMessagesByProjectId",
  145. "outputs": [
  146. {
  147. "name": "commits",
  148. "type": "bytes32[]"
  149. }
  150. ],
  151. "payable": false,
  152. "stateMutability": "view",
  153. "type": "function"
  154. },
  155. {
  156. "constant": true,
  157. "inputs": [
  158. {
  159. "name": "_projectId",
  160. "type": "uint256"
  161. }
  162. ],
  163. "name": "getCommitTimestampsByProjectId",
  164. "outputs": [
  165. {
  166. "name": "timestamps",
  167. "type": "uint256[]"
  168. }
  169. ],
  170. "payable": false,
  171. "stateMutability": "view",
  172. "type": "function"
  173. },
  174. {
  175. "constant": true,
  176. "inputs": [
  177. {
  178. "name": "_projectId",
  179. "type": "uint256"
  180. }
  181. ],
  182. "name": "getNameByProjectId",
  183. "outputs": [
  184. {
  185. "name": "",
  186. "type": "bytes32"
  187. }
  188. ],
  189. "payable": false,
  190. "stateMutability": "view",
  191. "type": "function"
  192. },
  193. {
  194. "constant": true,
  195. "inputs": [
  196. {
  197. "name": "_user",
  198. "type": "address"
  199. }
  200. ],
  201. "name": "getProjectsByUserId",
  202. "outputs": [
  203. {
  204. "name": "projectIds",
  205. "type": "uint256[]"
  206. }
  207. ],
  208. "payable": false,
  209. "stateMutability": "view",
  210. "type": "function"
  211. },
  212. {
  213. "constant": true,
  214. "inputs": [
  215. {
  216. "name": "_address",
  217. "type": "address"
  218. }
  219. ],
  220. "name": "getUsernameByAddress",
  221. "outputs": [
  222. {
  223. "name": "",
  224. "type": "bytes32"
  225. }
  226. ],
  227. "payable": false,
  228. "stateMutability": "view",
  229. "type": "function"
  230. },
  231. {
  232. "constant": true,
  233. "inputs": [
  234. {
  235. "name": "_projectId",
  236. "type": "uint256"
  237. }
  238. ],
  239. "name": "getUsersByProjectId",
  240. "outputs": [
  241. {
  242. "name": "userIds",
  243. "type": "address[]"
  244. }
  245. ],
  246. "payable": false,
  247. "stateMutability": "view",
  248. "type": "function"
  249. }
  250. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement