Collect.abi 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. [
  2. {
  3. "anonymous": false,
  4. "inputs": [
  5. {
  6. "indexed": false,
  7. "internalType": "address",
  8. "name": "user",
  9. "type": "address"
  10. },
  11. {
  12. "indexed": false,
  13. "internalType": "uint256",
  14. "name": "amount",
  15. "type": "uint256"
  16. },
  17. {
  18. "indexed": false,
  19. "internalType": "bytes32",
  20. "name": "signature",
  21. "type": "bytes32"
  22. }
  23. ],
  24. "name": "Claim",
  25. "type": "event"
  26. },
  27. {
  28. "inputs": [
  29. {
  30. "internalType": "uint256",
  31. "name": "claimValue",
  32. "type": "uint256"
  33. },
  34. {
  35. "internalType": "string",
  36. "name": "signTime",
  37. "type": "string"
  38. },
  39. {
  40. "internalType": "bytes32",
  41. "name": "signature",
  42. "type": "bytes32"
  43. }
  44. ],
  45. "name": "claimRewards",
  46. "outputs": [],
  47. "stateMutability": "nonpayable",
  48. "type": "function"
  49. },
  50. {
  51. "inputs": [],
  52. "name": "initialize",
  53. "outputs": [],
  54. "stateMutability": "nonpayable",
  55. "type": "function"
  56. },
  57. {
  58. "inputs": [
  59. {
  60. "internalType": "address",
  61. "name": "community",
  62. "type": "address"
  63. },
  64. {
  65. "internalType": "address",
  66. "name": "technical",
  67. "type": "address"
  68. },
  69. {
  70. "internalType": "address",
  71. "name": "devAddress",
  72. "type": "address"
  73. }
  74. ],
  75. "name": "initialize",
  76. "outputs": [],
  77. "stateMutability": "nonpayable",
  78. "type": "function"
  79. },
  80. {
  81. "anonymous": false,
  82. "inputs": [
  83. {
  84. "indexed": true,
  85. "internalType": "address",
  86. "name": "previousOwner",
  87. "type": "address"
  88. },
  89. {
  90. "indexed": true,
  91. "internalType": "address",
  92. "name": "newOwner",
  93. "type": "address"
  94. }
  95. ],
  96. "name": "OwnershipTransferred",
  97. "type": "event"
  98. },
  99. {
  100. "inputs": [
  101. {
  102. "internalType": "address",
  103. "name": "inviter",
  104. "type": "address"
  105. }
  106. ],
  107. "name": "participate",
  108. "outputs": [],
  109. "stateMutability": "payable",
  110. "type": "function"
  111. },
  112. {
  113. "anonymous": false,
  114. "inputs": [
  115. {
  116. "indexed": false,
  117. "internalType": "address",
  118. "name": "participant",
  119. "type": "address"
  120. },
  121. {
  122. "indexed": false,
  123. "internalType": "address",
  124. "name": "inviter",
  125. "type": "address"
  126. },
  127. {
  128. "indexed": false,
  129. "internalType": "uint256",
  130. "name": "amount",
  131. "type": "uint256"
  132. }
  133. ],
  134. "name": "Participate",
  135. "type": "event"
  136. },
  137. {
  138. "inputs": [
  139. {
  140. "internalType": "address",
  141. "name": "_manager",
  142. "type": "address"
  143. }
  144. ],
  145. "name": "removeManager",
  146. "outputs": [],
  147. "stateMutability": "nonpayable",
  148. "type": "function"
  149. },
  150. {
  151. "anonymous": false,
  152. "inputs": [
  153. {
  154. "indexed": false,
  155. "internalType": "address",
  156. "name": "_manager",
  157. "type": "address"
  158. }
  159. ],
  160. "name": "RemoveManager",
  161. "type": "event"
  162. },
  163. {
  164. "inputs": [],
  165. "name": "renounceOwnership",
  166. "outputs": [],
  167. "stateMutability": "nonpayable",
  168. "type": "function"
  169. },
  170. {
  171. "inputs": [
  172. {
  173. "internalType": "uint256",
  174. "name": "baseReward",
  175. "type": "uint256"
  176. }
  177. ],
  178. "name": "setBaseReward",
  179. "outputs": [],
  180. "stateMutability": "nonpayable",
  181. "type": "function"
  182. },
  183. {
  184. "inputs": [
  185. {
  186. "internalType": "uint256",
  187. "name": "value",
  188. "type": "uint256"
  189. }
  190. ],
  191. "name": "setBaseValue",
  192. "outputs": [],
  193. "stateMutability": "nonpayable",
  194. "type": "function"
  195. },
  196. {
  197. "inputs": [
  198. {
  199. "internalType": "string",
  200. "name": "_digit",
  201. "type": "string"
  202. }
  203. ],
  204. "name": "setDigit",
  205. "outputs": [],
  206. "stateMutability": "nonpayable",
  207. "type": "function"
  208. },
  209. {
  210. "inputs": [
  211. {
  212. "internalType": "address",
  213. "name": "_manager",
  214. "type": "address"
  215. }
  216. ],
  217. "name": "setManager",
  218. "outputs": [],
  219. "stateMutability": "nonpayable",
  220. "type": "function"
  221. },
  222. {
  223. "anonymous": false,
  224. "inputs": [
  225. {
  226. "indexed": false,
  227. "internalType": "address",
  228. "name": "_manager",
  229. "type": "address"
  230. }
  231. ],
  232. "name": "SetManager",
  233. "type": "event"
  234. },
  235. {
  236. "inputs": [
  237. {
  238. "internalType": "address",
  239. "name": "newOwner",
  240. "type": "address"
  241. }
  242. ],
  243. "name": "transferOwnership",
  244. "outputs": [],
  245. "stateMutability": "nonpayable",
  246. "type": "function"
  247. },
  248. {
  249. "inputs": [
  250. {
  251. "internalType": "uint256",
  252. "name": "amount",
  253. "type": "uint256"
  254. }
  255. ],
  256. "name": "withdraw",
  257. "outputs": [],
  258. "stateMutability": "nonpayable",
  259. "type": "function"
  260. },
  261. {
  262. "inputs": [],
  263. "name": "_baseReward",
  264. "outputs": [
  265. {
  266. "internalType": "uint256",
  267. "name": "",
  268. "type": "uint256"
  269. }
  270. ],
  271. "stateMutability": "view",
  272. "type": "function"
  273. },
  274. {
  275. "inputs": [],
  276. "name": "_baseValue",
  277. "outputs": [
  278. {
  279. "internalType": "uint256",
  280. "name": "",
  281. "type": "uint256"
  282. }
  283. ],
  284. "stateMutability": "view",
  285. "type": "function"
  286. },
  287. {
  288. "inputs": [],
  289. "name": "_community",
  290. "outputs": [
  291. {
  292. "internalType": "address",
  293. "name": "",
  294. "type": "address"
  295. }
  296. ],
  297. "stateMutability": "view",
  298. "type": "function"
  299. },
  300. {
  301. "inputs": [],
  302. "name": "_devAddress",
  303. "outputs": [
  304. {
  305. "internalType": "address",
  306. "name": "",
  307. "type": "address"
  308. }
  309. ],
  310. "stateMutability": "view",
  311. "type": "function"
  312. },
  313. {
  314. "inputs": [],
  315. "name": "_reinputLimit",
  316. "outputs": [
  317. {
  318. "internalType": "uint256",
  319. "name": "",
  320. "type": "uint256"
  321. }
  322. ],
  323. "stateMutability": "view",
  324. "type": "function"
  325. },
  326. {
  327. "inputs": [],
  328. "name": "_reinputModBase",
  329. "outputs": [
  330. {
  331. "internalType": "uint256",
  332. "name": "",
  333. "type": "uint256"
  334. }
  335. ],
  336. "stateMutability": "view",
  337. "type": "function"
  338. },
  339. {
  340. "inputs": [],
  341. "name": "_technical",
  342. "outputs": [
  343. {
  344. "internalType": "address",
  345. "name": "",
  346. "type": "address"
  347. }
  348. ],
  349. "stateMutability": "view",
  350. "type": "function"
  351. },
  352. {
  353. "inputs": [],
  354. "name": "getDigit",
  355. "outputs": [
  356. {
  357. "internalType": "string",
  358. "name": "",
  359. "type": "string"
  360. }
  361. ],
  362. "stateMutability": "view",
  363. "type": "function"
  364. },
  365. {
  366. "inputs": [
  367. {
  368. "internalType": "address",
  369. "name": "",
  370. "type": "address"
  371. }
  372. ],
  373. "name": "managers",
  374. "outputs": [
  375. {
  376. "internalType": "bool",
  377. "name": "",
  378. "type": "bool"
  379. }
  380. ],
  381. "stateMutability": "view",
  382. "type": "function"
  383. },
  384. {
  385. "inputs": [],
  386. "name": "owner",
  387. "outputs": [
  388. {
  389. "internalType": "address",
  390. "name": "",
  391. "type": "address"
  392. }
  393. ],
  394. "stateMutability": "view",
  395. "type": "function"
  396. },
  397. {
  398. "inputs": [
  399. {
  400. "internalType": "uint256",
  401. "name": "amount",
  402. "type": "uint256"
  403. },
  404. {
  405. "internalType": "string",
  406. "name": "signTime",
  407. "type": "string"
  408. },
  409. {
  410. "internalType": "bytes32",
  411. "name": "signature",
  412. "type": "bytes32"
  413. }
  414. ],
  415. "name": "verify",
  416. "outputs": [
  417. {
  418. "internalType": "bool",
  419. "name": "",
  420. "type": "bool"
  421. }
  422. ],
  423. "stateMutability": "view",
  424. "type": "function"
  425. },
  426. {
  427. "inputs": [
  428. {
  429. "internalType": "uint256",
  430. "name": "_amount",
  431. "type": "uint256"
  432. },
  433. {
  434. "internalType": "string",
  435. "name": "_time",
  436. "type": "string"
  437. },
  438. {
  439. "internalType": "address",
  440. "name": "_user",
  441. "type": "address"
  442. },
  443. {
  444. "internalType": "bytes32",
  445. "name": "_sign",
  446. "type": "bytes32"
  447. }
  448. ],
  449. "name": "verifySignature",
  450. "outputs": [
  451. {
  452. "internalType": "bool",
  453. "name": "",
  454. "type": "bool"
  455. }
  456. ],
  457. "stateMutability": "view",
  458. "type": "function"
  459. }
  460. ]