Collect.abi 7.4 KB

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