You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1539 lines
32 KiB

7 months ago
  1. {
  2. "compiler": {
  3. "version": "0.8.24+commit.e11b9ed9"
  4. },
  5. "language": "Solidity",
  6. "output": {
  7. "abi": [
  8. {
  9. "inputs": [],
  10. "name": "InvalidInitialization",
  11. "type": "error"
  12. },
  13. {
  14. "inputs": [],
  15. "name": "NotInitializing",
  16. "type": "error"
  17. },
  18. {
  19. "anonymous": false,
  20. "inputs": [
  21. {
  22. "indexed": false,
  23. "internalType": "uint64",
  24. "name": "version",
  25. "type": "uint64"
  26. }
  27. ],
  28. "name": "Initialized",
  29. "type": "event"
  30. },
  31. {
  32. "inputs": [
  33. {
  34. "internalType": "address[]",
  35. "name": "_blacks",
  36. "type": "address[]"
  37. },
  38. {
  39. "internalType": "uint256",
  40. "name": "_type",
  41. "type": "uint256"
  42. }
  43. ],
  44. "name": "addBlackOrWhiteList",
  45. "outputs": [],
  46. "stateMutability": "nonpayable",
  47. "type": "function"
  48. },
  49. {
  50. "inputs": [
  51. {
  52. "internalType": "uint256[]",
  53. "name": "_tokenIds",
  54. "type": "uint256[]"
  55. }
  56. ],
  57. "name": "addNftBalcks",
  58. "outputs": [],
  59. "stateMutability": "nonpayable",
  60. "type": "function"
  61. },
  62. {
  63. "inputs": [
  64. {
  65. "internalType": "uint256",
  66. "name": "",
  67. "type": "uint256"
  68. }
  69. ],
  70. "name": "blackList",
  71. "outputs": [
  72. {
  73. "internalType": "address",
  74. "name": "",
  75. "type": "address"
  76. }
  77. ],
  78. "stateMutability": "view",
  79. "type": "function"
  80. },
  81. {
  82. "inputs": [
  83. {
  84. "components": [
  85. {
  86. "internalType": "uint256",
  87. "name": "tokenId",
  88. "type": "uint256"
  89. },
  90. {
  91. "internalType": "uint256",
  92. "name": "startTime",
  93. "type": "uint256"
  94. },
  95. {
  96. "internalType": "uint256",
  97. "name": "endTime",
  98. "type": "uint256"
  99. },
  100. {
  101. "internalType": "uint256",
  102. "name": "withdrawTime",
  103. "type": "uint256"
  104. },
  105. {
  106. "internalType": "uint256",
  107. "name": "pledgeAmount",
  108. "type": "uint256"
  109. },
  110. {
  111. "internalType": "uint256",
  112. "name": "rate",
  113. "type": "uint256"
  114. },
  115. {
  116. "internalType": "uint256",
  117. "name": "pledgeDay",
  118. "type": "uint256"
  119. },
  120. {
  121. "internalType": "address",
  122. "name": "sender",
  123. "type": "address"
  124. },
  125. {
  126. "internalType": "bool",
  127. "name": "isBlack",
  128. "type": "bool"
  129. }
  130. ],
  131. "internalType": "struct PledgeType",
  132. "name": "_pledge",
  133. "type": "tuple"
  134. }
  135. ],
  136. "name": "calculateInterest",
  137. "outputs": [
  138. {
  139. "internalType": "uint256",
  140. "name": "",
  141. "type": "uint256"
  142. }
  143. ],
  144. "stateMutability": "view",
  145. "type": "function"
  146. },
  147. {
  148. "inputs": [],
  149. "name": "dayTime",
  150. "outputs": [
  151. {
  152. "internalType": "uint256",
  153. "name": "",
  154. "type": "uint256"
  155. }
  156. ],
  157. "stateMutability": "view",
  158. "type": "function"
  159. },
  160. {
  161. "inputs": [
  162. {
  163. "internalType": "address[]",
  164. "name": "_blacks",
  165. "type": "address[]"
  166. },
  167. {
  168. "internalType": "uint256",
  169. "name": "_type",
  170. "type": "uint256"
  171. }
  172. ],
  173. "name": "delBlackOrWhiteList",
  174. "outputs": [],
  175. "stateMutability": "nonpayable",
  176. "type": "function"
  177. },
  178. {
  179. "inputs": [
  180. {
  181. "internalType": "uint256[]",
  182. "name": "_ids",
  183. "type": "uint256[]"
  184. }
  185. ],
  186. "name": "deleteNftBlacks",
  187. "outputs": [],
  188. "stateMutability": "nonpayable",
  189. "type": "function"
  190. },
  191. {
  192. "inputs": [
  193. {
  194. "internalType": "uint256",
  195. "name": "tokenId",
  196. "type": "uint256"
  197. }
  198. ],
  199. "name": "destroyPledge",
  200. "outputs": [],
  201. "stateMutability": "nonpayable",
  202. "type": "function"
  203. },
  204. {
  205. "inputs": [
  206. {
  207. "internalType": "address",
  208. "name": "addr",
  209. "type": "address"
  210. }
  211. ],
  212. "name": "getAllInvitationMember",
  213. "outputs": [
  214. {
  215. "components": [
  216. {
  217. "internalType": "address",
  218. "name": "key",
  219. "type": "address"
  220. },
  221. {
  222. "internalType": "address",
  223. "name": "referrer",
  224. "type": "address"
  225. },
  226. {
  227. "internalType": "uint256",
  228. "name": "bindTime",
  229. "type": "uint256"
  230. },
  231. {
  232. "internalType": "uint256",
  233. "name": "contribute",
  234. "type": "uint256"
  235. }
  236. ],
  237. "internalType": "struct RecommendObjType[]",
  238. "name": "result",
  239. "type": "tuple[]"
  240. }
  241. ],
  242. "stateMutability": "view",
  243. "type": "function"
  244. },
  245. {
  246. "inputs": [
  247. {
  248. "internalType": "uint256",
  249. "name": "_type",
  250. "type": "uint256"
  251. }
  252. ],
  253. "name": "getBlackOrWhiteList",
  254. "outputs": [
  255. {
  256. "internalType": "address[]",
  257. "name": "",
  258. "type": "address[]"
  259. }
  260. ],
  261. "stateMutability": "view",
  262. "type": "function"
  263. },
  264. {
  265. "inputs": [],
  266. "name": "getCurrentTime",
  267. "outputs": [
  268. {
  269. "internalType": "uint256",
  270. "name": "",
  271. "type": "uint256"
  272. }
  273. ],
  274. "stateMutability": "view",
  275. "type": "function"
  276. },
  277. {
  278. "inputs": [
  279. {
  280. "internalType": "uint256",
  281. "name": "tokenId",
  282. "type": "uint256"
  283. },
  284. {
  285. "internalType": "uint256",
  286. "name": "_type",
  287. "type": "uint256"
  288. }
  289. ],
  290. "name": "getDetails",
  291. "outputs": [
  292. {
  293. "components": [
  294. {
  295. "internalType": "uint256",
  296. "name": "tokenId",
  297. "type": "uint256"
  298. },
  299. {
  300. "internalType": "uint256",
  301. "name": "startTime",
  302. "type": "uint256"
  303. },
  304. {
  305. "internalType": "uint256",
  306. "name": "endTime",
  307. "type": "uint256"
  308. },
  309. {
  310. "internalType": "uint256",
  311. "name": "withdrawTime",
  312. "type": "uint256"
  313. },
  314. {
  315. "internalType": "uint256",
  316. "name": "pledgeAmount",
  317. "type": "uint256"
  318. },
  319. {
  320. "internalType": "uint256",
  321. "name": "rate",
  322. "type": "uint256"
  323. },
  324. {
  325. "internalType": "uint256",
  326. "name": "pledgeDay",
  327. "type": "uint256"
  328. },
  329. {
  330. "internalType": "address",
  331. "name": "sender",
  332. "type": "address"
  333. },
  334. {
  335. "internalType": "bool",
  336. "name": "isBlack",
  337. "type": "bool"
  338. }
  339. ],
  340. "internalType": "struct PledgeType",
  341. "name": "",
  342. "type": "tuple"
  343. }
  344. ],
  345. "stateMutability": "view",
  346. "type": "function"
  347. },
  348. {
  349. "inputs": [
  350. {
  351. "internalType": "address",
  352. "name": "_owner",
  353. "type": "address"
  354. }
  355. ],
  356. "name": "getInvitationWithdrawRecord",
  357. "outputs": [
  358. {
  359. "components": [
  360. {
  361. "internalType": "uint256",
  362. "name": "amount",
  363. "type": "uint256"
  364. },
  365. {
  366. "internalType": "uint256",
  367. "name": "createTime",
  368. "type": "uint256"
  369. }
  370. ],
  371. "internalType": "struct InvitationWithdrawRecordType[]",
  372. "name": "",
  373. "type": "tuple[]"
  374. }
  375. ],
  376. "stateMutability": "view",
  377. "type": "function"
  378. },
  379. {
  380. "inputs": [
  381. {
  382. "internalType": "address",
  383. "name": "owner",
  384. "type": "address"
  385. }
  386. ],
  387. "name": "getOwnerAllInvitationWithdrawAmout",
  388. "outputs": [
  389. {
  390. "internalType": "uint256",
  391. "name": "",
  392. "type": "uint256"
  393. }
  394. ],
  395. "stateMutability": "view",
  396. "type": "function"
  397. },
  398. {
  399. "inputs": [
  400. {
  401. "internalType": "address",
  402. "name": "_ownerAddress",
  403. "type": "address"
  404. }
  405. ],
  406. "name": "getOwnerAllPledgeInfo",
  407. "outputs": [
  408. {
  409. "components": [
  410. {
  411. "internalType": "uint256",
  412. "name": "tokenId",
  413. "type": "uint256"
  414. },
  415. {
  416. "internalType": "uint256",
  417. "name": "startTime",
  418. "type": "uint256"
  419. },
  420. {
  421. "internalType": "uint256",
  422. "name": "endTime",
  423. "type": "uint256"
  424. },
  425. {
  426. "internalType": "uint256",
  427. "name": "withdrawTime",
  428. "type": "uint256"
  429. },
  430. {
  431. "internalType": "uint256",
  432. "name": "pledgeAmount",
  433. "type": "uint256"
  434. },
  435. {
  436. "internalType": "uint256",
  437. "name": "rate",
  438. "type": "uint256"
  439. },
  440. {
  441. "internalType": "uint256",
  442. "name": "pledgeDay",
  443. "type": "uint256"
  444. },
  445. {
  446. "internalType": "address",
  447. "name": "sender",
  448. "type": "address"
  449. },
  450. {
  451. "internalType": "bool",
  452. "name": "isBlack",
  453. "type": "bool"
  454. }
  455. ],
  456. "internalType": "struct PledgeType[]",
  457. "name": "result",
  458. "type": "tuple[]"
  459. }
  460. ],
  461. "stateMutability": "view",
  462. "type": "function"
  463. },
  464. {
  465. "inputs": [
  466. {
  467. "internalType": "address",
  468. "name": "_ownerAddress",
  469. "type": "address"
  470. }
  471. ],
  472. "name": "getOwnerAllTokens",
  473. "outputs": [
  474. {
  475. "internalType": "uint256[]",
  476. "name": "",
  477. "type": "uint256[]"
  478. }
  479. ],
  480. "stateMutability": "view",
  481. "type": "function"
  482. },
  483. {
  484. "inputs": [
  485. {
  486. "internalType": "address",
  487. "name": "addr",
  488. "type": "address"
  489. }
  490. ],
  491. "name": "getOwnerInvitationPledges",
  492. "outputs": [
  493. {
  494. "components": [
  495. {
  496. "internalType": "uint256",
  497. "name": "tokenId",
  498. "type": "uint256"
  499. },
  500. {
  501. "internalType": "uint256",
  502. "name": "startTime",
  503. "type": "uint256"
  504. },
  505. {
  506. "internalType": "uint256",
  507. "name": "endTime",
  508. "type": "uint256"
  509. },
  510. {
  511. "internalType": "uint256",
  512. "name": "withdrawTime",
  513. "type": "uint256"
  514. },
  515. {
  516. "internalType": "uint256",
  517. "name": "pledgeAmount",
  518. "type": "uint256"
  519. },
  520. {
  521. "internalType": "uint256",
  522. "name": "rate",
  523. "type": "uint256"
  524. },
  525. {
  526. "internalType": "uint256",
  527. "name": "pledgeDay",
  528. "type": "uint256"
  529. },
  530. {
  531. "internalType": "address",
  532. "name": "sender",
  533. "type": "address"
  534. },
  535. {
  536. "internalType": "bool",
  537. "name": "isBlack",
  538. "type": "bool"
  539. }
  540. ],
  541. "internalType": "struct PledgeType[]",
  542. "name": "result",
  543. "type": "tuple[]"
  544. }
  545. ],
  546. "stateMutability": "view",
  547. "type": "function"
  548. },
  549. {
  550. "inputs": [
  551. {
  552. "internalType": "address",
  553. "name": "_owner",
  554. "type": "address"
  555. }
  556. ],
  557. "name": "getPledgeDestoryRecords",
  558. "outputs": [
  559. {
  560. "components": [
  561. {
  562. "internalType": "uint256",
  563. "name": "tokenId",
  564. "type": "uint256"
  565. },
  566. {
  567. "internalType": "uint256",
  568. "name": "startTime",
  569. "type": "uint256"
  570. },
  571. {
  572. "internalType": "uint256",
  573. "name": "endTime",
  574. "type": "uint256"
  575. },
  576. {
  577. "internalType": "uint256",
  578. "name": "withdrawTime",
  579. "type": "uint256"
  580. },
  581. {
  582. "internalType": "uint256",
  583. "name": "pledgeAmount",
  584. "type": "uint256"
  585. },
  586. {
  587. "internalType": "uint256",
  588. "name": "rate",
  589. "type": "uint256"
  590. },
  591. {
  592. "internalType": "uint256",
  593. "name": "pledgeDay",
  594. "type": "uint256"
  595. },
  596. {
  597. "internalType": "address",
  598. "name": "sender",
  599. "type": "address"
  600. },
  601. {
  602. "internalType": "bool",
  603. "name": "isBlack",
  604. "type": "bool"
  605. }
  606. ],
  607. "internalType": "struct PledgeType[]",
  608. "name": "",
  609. "type": "tuple[]"
  610. }
  611. ],
  612. "stateMutability": "view",
  613. "type": "function"
  614. },
  615. {
  616. "inputs": [
  617. {
  618. "internalType": "address",
  619. "name": "_owner",
  620. "type": "address"
  621. }
  622. ],
  623. "name": "getPledgeRecords",
  624. "outputs": [
  625. {
  626. "components": [
  627. {
  628. "internalType": "uint256",
  629. "name": "tokenId",
  630. "type": "uint256"
  631. },
  632. {
  633. "internalType": "uint256",
  634. "name": "startTime",
  635. "type": "uint256"
  636. },
  637. {
  638. "internalType": "uint256",
  639. "name": "endTime",
  640. "type": "uint256"
  641. },
  642. {
  643. "internalType": "uint256",
  644. "name": "withdrawTime",
  645. "type": "uint256"
  646. },
  647. {
  648. "internalType": "uint256",
  649. "name": "pledgeAmount",
  650. "type": "uint256"
  651. },
  652. {
  653. "internalType": "uint256",
  654. "name": "rate",
  655. "type": "uint256"
  656. },
  657. {
  658. "internalType": "uint256",
  659. "name": "pledgeDay",
  660. "type": "uint256"
  661. },
  662. {
  663. "internalType": "address",
  664. "name": "sender",
  665. "type": "address"
  666. },
  667. {
  668. "internalType": "bool",
  669. "name": "isBlack",
  670. "type": "bool"
  671. }
  672. ],
  673. "internalType": "struct PledgeType[]",
  674. "name": "",
  675. "type": "tuple[]"
  676. }
  677. ],
  678. "stateMutability": "view",
  679. "type": "function"
  680. },
  681. {
  682. "inputs": [
  683. {
  684. "internalType": "address",
  685. "name": "_owner",
  686. "type": "address"
  687. }
  688. ],
  689. "name": "getPledgeWithdrawRecord",
  690. "outputs": [
  691. {
  692. "components": [
  693. {
  694. "internalType": "uint256",
  695. "name": "amount",
  696. "type": "uint256"
  697. },
  698. {
  699. "internalType": "uint256",
  700. "name": "createTime",
  701. "type": "uint256"
  702. },
  703. {
  704. "internalType": "uint256",
  705. "name": "tokenId",
  706. "type": "uint256"
  707. },
  708. {
  709. "internalType": "uint256",
  710. "name": "pledgeDay",
  711. "type": "uint256"
  712. },
  713. {
  714. "internalType": "uint256",
  715. "name": "_type",
  716. "type": "uint256"
  717. }
  718. ],
  719. "internalType": "struct PledgeWithdrawRecordType[]",
  720. "name": "",
  721. "type": "tuple[]"
  722. }
  723. ],
  724. "stateMutability": "view",
  725. "type": "function"
  726. },
  727. {
  728. "inputs": [],
  729. "name": "getProductInfo",
  730. "outputs": [
  731. {
  732. "components": [
  733. {
  734. "internalType": "uint256",
  735. "name": "day",
  736. "type": "uint256"
  737. },
  738. {
  739. "internalType": "uint256",
  740. "name": "rate",
  741. "type": "uint256"
  742. }
  743. ],
  744. "internalType": "struct ProductInfo[]",
  745. "name": "",
  746. "type": "tuple[]"
  747. }
  748. ],
  749. "stateMutability": "view",
  750. "type": "function"
  751. },
  752. {
  753. "inputs": [
  754. {
  755. "internalType": "address",
  756. "name": "_owner",
  757. "type": "address"
  758. }
  759. ],
  760. "name": "getWithdrawbleAmount",
  761. "outputs": [
  762. {
  763. "internalType": "uint256",
  764. "name": "",
  765. "type": "uint256"
  766. }
  767. ],
  768. "stateMutability": "view",
  769. "type": "function"
  770. },
  771. {
  772. "inputs": [
  773. {
  774. "internalType": "address",
  775. "name": "nftAddress",
  776. "type": "address"
  777. },
  778. {
  779. "internalType": "address",
  780. "name": "poolAddress",
  781. "type": "address"
  782. }
  783. ],
  784. "name": "initialize",
  785. "outputs": [],
  786. "stateMutability": "nonpayable",
  787. "type": "function"
  788. },
  789. {
  790. "inputs": [
  791. {
  792. "internalType": "address",
  793. "name": "",
  794. "type": "address"
  795. },
  796. {
  797. "internalType": "uint256",
  798. "name": "",
  799. "type": "uint256"
  800. }
  801. ],
  802. "name": "invitationAddress",
  803. "outputs": [
  804. {
  805. "internalType": "address",
  806. "name": "",
  807. "type": "address"
  808. }
  809. ],
  810. "stateMutability": "view",
  811. "type": "function"
  812. },
  813. {
  814. "inputs": [
  815. {
  816. "internalType": "uint256",
  817. "name": "",
  818. "type": "uint256"
  819. }
  820. ],
  821. "name": "invitationPledges",
  822. "outputs": [
  823. {
  824. "internalType": "uint256",
  825. "name": "tokenId",
  826. "type": "uint256"
  827. },
  828. {
  829. "internalType": "uint256",
  830. "name": "startTime",
  831. "type": "uint256"
  832. },
  833. {
  834. "internalType": "uint256",
  835. "name": "endTime",
  836. "type": "uint256"
  837. },
  838. {
  839. "internalType": "uint256",
  840. "name": "withdrawTime",
  841. "type": "uint256"
  842. },
  843. {
  844. "internalType": "uint256",
  845. "name": "pledgeAmount",
  846. "type": "uint256"
  847. },
  848. {
  849. "internalType": "uint256",
  850. "name": "rate",
  851. "type": "uint256"
  852. },
  853. {
  854. "internalType": "uint256",
  855. "name": "pledgeDay",
  856. "type": "uint256"
  857. },
  858. {
  859. "internalType": "address",
  860. "name": "sender",
  861. "type": "address"
  862. },
  863. {
  864. "internalType": "bool",
  865. "name": "isBlack",
  866. "type": "bool"
  867. }
  868. ],
  869. "stateMutability": "view",
  870. "type": "function"
  871. },
  872. {
  873. "inputs": [],
  874. "name": "invitationRate",
  875. "outputs": [
  876. {
  877. "internalType": "uint256",
  878. "name": "",
  879. "type": "uint256"
  880. }
  881. ],
  882. "stateMutability": "view",
  883. "type": "function"
  884. },
  885. {
  886. "inputs": [
  887. {
  888. "internalType": "address",
  889. "name": "",
  890. "type": "address"
  891. },
  892. {
  893. "internalType": "uint256",
  894. "name": "",
  895. "type": "uint256"
  896. }
  897. ],
  898. "name": "invitationTokens",
  899. "outputs": [
  900. {
  901. "internalType": "uint256",
  902. "name": "",
  903. "type": "uint256"
  904. }
  905. ],
  906. "stateMutability": "view",
  907. "type": "function"
  908. },
  909. {
  910. "inputs": [
  911. {
  912. "internalType": "address",
  913. "name": "",
  914. "type": "address"
  915. },
  916. {
  917. "internalType": "uint256",
  918. "name": "",
  919. "type": "uint256"
  920. }
  921. ],
  922. "name": "invitationWithdrawRecord",
  923. "outputs": [
  924. {
  925. "internalType": "uint256",
  926. "name": "amount",
  927. "type": "uint256"
  928. },
  929. {
  930. "internalType": "uint256",
  931. "name": "createTime",
  932. "type": "uint256"
  933. }
  934. ],
  935. "stateMutability": "view",
  936. "type": "function"
  937. },
  938. {
  939. "inputs": [],
  940. "name": "nextTokenId",
  941. "outputs": [
  942. {
  943. "internalType": "uint256",
  944. "name": "",
  945. "type": "uint256"
  946. }
  947. ],
  948. "stateMutability": "view",
  949. "type": "function"
  950. },
  951. {
  952. "inputs": [
  953. {
  954. "internalType": "uint256",
  955. "name": "amount",
  956. "type": "uint256"
  957. },
  958. {
  959. "internalType": "uint256",
  960. "name": "index",
  961. "type": "uint256"
  962. },
  963. {
  964. "internalType": "address",
  965. "name": "_referrer",
  966. "type": "address"
  967. }
  968. ],
  969. "name": "pledge",
  970. "outputs": [],
  971. "stateMutability": "nonpayable",
  972. "type": "function"
  973. },
  974. {
  975. "inputs": [
  976. {
  977. "internalType": "address",
  978. "name": "",
  979. "type": "address"
  980. },
  981. {
  982. "internalType": "uint256",
  983. "name": "",
  984. "type": "uint256"
  985. }
  986. ],
  987. "name": "pledgeDestoryRecords",
  988. "outputs": [
  989. {
  990. "internalType": "uint256",
  991. "name": "tokenId",
  992. "type": "uint256"
  993. },
  994. {
  995. "internalType": "uint256",
  996. "name": "startTime",
  997. "type": "uint256"
  998. },
  999. {
  1000. "internalType": "uint256",
  1001. "name": "endTime",
  1002. "type": "uint256"
  1003. },
  1004. {
  1005. "internalType": "uint256",
  1006. "name": "withdrawTime",
  1007. "type": "uint256"
  1008. },
  1009. {
  1010. "internalType": "uint256",
  1011. "name": "pledgeAmount",
  1012. "type": "uint256"
  1013. },
  1014. {
  1015. "internalType": "uint256",
  1016. "name": "rate",
  1017. "type": "uint256"
  1018. },
  1019. {
  1020. "internalType": "uint256",
  1021. "name": "pledgeDay",
  1022. "type": "uint256"
  1023. },
  1024. {
  1025. "internalType": "address",
  1026. "name": "sender",
  1027. "type": "address"
  1028. },
  1029. {
  1030. "internalType": "bool",
  1031. "name": "isBlack",
  1032. "type": "bool"
  1033. }
  1034. ],
  1035. "stateMutability": "view",
  1036. "type": "function"
  1037. },
  1038. {
  1039. "inputs": [
  1040. {
  1041. "internalType": "address",
  1042. "name": "",
  1043. "type": "address"
  1044. },
  1045. {
  1046. "internalType": "uint256",
  1047. "name": "",
  1048. "type": "uint256"
  1049. }
  1050. ],
  1051. "name": "pledgeRecords",
  1052. "outputs": [
  1053. {
  1054. "internalType": "uint256",
  1055. "name": "tokenId",
  1056. "type": "uint256"
  1057. },
  1058. {
  1059. "internalType": "uint256",
  1060. "name": "startTime",
  1061. "type": "uint256"
  1062. },
  1063. {
  1064. "internalType": "uint256",
  1065. "name": "endTime",
  1066. "type": "uint256"
  1067. },
  1068. {
  1069. "internalType": "uint256",
  1070. "name": "withdrawTime",
  1071. "type": "uint256"
  1072. },
  1073. {
  1074. "internalType": "uint256",
  1075. "name": "pledgeAmount",
  1076. "type": "uint256"
  1077. },
  1078. {
  1079. "internalType": "uint256",
  1080. "name": "rate",
  1081. "type": "uint256"
  1082. },
  1083. {
  1084. "internalType": "uint256",
  1085. "name": "pledgeDay",
  1086. "type": "uint256"
  1087. },
  1088. {
  1089. "internalType": "address",
  1090. "name": "sender",
  1091. "type": "address"
  1092. },
  1093. {
  1094. "internalType": "bool",
  1095. "name": "isBlack",
  1096. "type": "bool"
  1097. }
  1098. ],
  1099. "stateMutability": "view",
  1100. "type": "function"
  1101. },
  1102. {
  1103. "inputs": [],
  1104. "name": "pledgeStatus",
  1105. "outputs": [
  1106. {
  1107. "internalType": "bool",
  1108. "name": "",
  1109. "type": "bool"
  1110. }
  1111. ],
  1112. "stateMutability": "view",
  1113. "type": "function"
  1114. },
  1115. {
  1116. "inputs": [
  1117. {
  1118. "internalType": "address",
  1119. "name": "",
  1120. "type": "address"
  1121. },
  1122. {
  1123. "internalType": "uint256",
  1124. "name": "",
  1125. "type": "uint256"
  1126. }
  1127. ],
  1128. "name": "pledgeWithdrawRecord",
  1129. "outputs": [
  1130. {
  1131. "internalType": "uint256",
  1132. "name": "amount",
  1133. "type": "uint256"
  1134. },
  1135. {
  1136. "internalType": "uint256",
  1137. "name": "createTime",
  1138. "type": "uint256"
  1139. },
  1140. {
  1141. "internalType": "uint256",
  1142. "name": "tokenId",
  1143. "type": "uint256"
  1144. },
  1145. {
  1146. "internalType": "uint256",
  1147. "name": "pledgeDay",
  1148. "type": "uint256"
  1149. },
  1150. {
  1151. "internalType": "uint256",
  1152. "name": "_type",
  1153. "type": "uint256"
  1154. }
  1155. ],
  1156. "stateMutability": "view",
  1157. "type": "function"
  1158. },
  1159. {
  1160. "inputs": [
  1161. {
  1162. "internalType": "uint256",
  1163. "name": "",
  1164. "type": "uint256"
  1165. }
  1166. ],
  1167. "name": "productInfo",
  1168. "outputs": [
  1169. {
  1170. "internalType": "uint256",
  1171. "name": "day",
  1172. "type": "uint256"
  1173. },
  1174. {
  1175. "internalType": "uint256",
  1176. "name": "rate",
  1177. "type": "uint256"
  1178. }
  1179. ],
  1180. "stateMutability": "view",
  1181. "type": "function"
  1182. },
  1183. {
  1184. "inputs": [
  1185. {
  1186. "internalType": "address",
  1187. "name": "",
  1188. "type": "address"
  1189. }
  1190. ],
  1191. "name": "recommendObj",
  1192. "outputs": [
  1193. {
  1194. "internalType": "address",
  1195. "name": "key",
  1196. "type": "address"
  1197. },
  1198. {
  1199. "internalType": "address",
  1200. "name": "referrer",
  1201. "type": "address"
  1202. },
  1203. {
  1204. "internalType": "uint256",
  1205. "name": "bindTime",
  1206. "type": "uint256"
  1207. },
  1208. {
  1209. "internalType": "uint256",
  1210. "name": "contribute",
  1211. "type": "uint256"
  1212. }
  1213. ],
  1214. "stateMutability": "view",
  1215. "type": "function"
  1216. },
  1217. {
  1218. "inputs": [
  1219. {
  1220. "internalType": "uint256",
  1221. "name": "_time",
  1222. "type": "uint256"
  1223. }
  1224. ],
  1225. "name": "setDayTime",
  1226. "outputs": [],
  1227. "stateMutability": "nonpayable",
  1228. "type": "function"
  1229. },
  1230. {
  1231. "inputs": [
  1232. {
  1233. "internalType": "uint256",
  1234. "name": "_rate",
  1235. "type": "uint256"
  1236. }
  1237. ],
  1238. "name": "setInvitationRate",
  1239. "outputs": [],
  1240. "stateMutability": "nonpayable",
  1241. "type": "function"
  1242. },
  1243. {
  1244. "inputs": [
  1245. {
  1246. "internalType": "bool",
  1247. "name": "_status",
  1248. "type": "bool"
  1249. }
  1250. ],
  1251. "name": "setPledgeStatus",
  1252. "outputs": [],
  1253. "stateMutability": "nonpayable",
  1254. "type": "function"
  1255. },
  1256. {
  1257. "inputs": [
  1258. {
  1259. "internalType": "uint256[]",
  1260. "name": "_days",
  1261. "type": "uint256[]"
  1262. },
  1263. {
  1264. "internalType": "uint256[]",
  1265. "name": "_rates",
  1266. "type": "uint256[]"
  1267. }
  1268. ],
  1269. "name": "setProductInfo",
  1270. "outputs": [],
  1271. "stateMutability": "nonpayable",
  1272. "type": "function"
  1273. },
  1274. {
  1275. "inputs": [
  1276. {
  1277. "internalType": "uint256",
  1278. "name": "",
  1279. "type": "uint256"
  1280. }
  1281. ],
  1282. "name": "whiteList",
  1283. "outputs": [
  1284. {
  1285. "internalType": "address",
  1286. "name": "",
  1287. "type": "address"
  1288. }
  1289. ],
  1290. "stateMutability": "view",
  1291. "type": "function"
  1292. },
  1293. {
  1294. "inputs": [],
  1295. "name": "withdraAllInterest",
  1296. "outputs": [],
  1297. "stateMutability": "nonpayable",
  1298. "type": "function"
  1299. },
  1300. {
  1301. "inputs": [],
  1302. "name": "withdraInvitationAllInterest",
  1303. "outputs": [],
  1304. "stateMutability": "nonpayable",
  1305. "type": "function"
  1306. },
  1307. {
  1308. "inputs": [
  1309. {
  1310. "internalType": "uint256",
  1311. "name": "tokenId",
  1312. "type": "uint256"
  1313. }
  1314. ],
  1315. "name": "withdrawInterest",
  1316. "outputs": [],
  1317. "stateMutability": "nonpayable",
  1318. "type": "function"
  1319. },
  1320. {
  1321. "inputs": [
  1322. {
  1323. "internalType": "uint256",
  1324. "name": "tokenId",
  1325. "type": "uint256"
  1326. }
  1327. ],
  1328. "name": "withdrawInvitationInterest",
  1329. "outputs": [],
  1330. "stateMutability": "nonpayable",
  1331. "type": "function"
  1332. }
  1333. ],
  1334. "devdoc": {
  1335. "errors": {
  1336. "InvalidInitialization()": [
  1337. {
  1338. "details": "The contract is already initialized."
  1339. }
  1340. ],
  1341. "NotInitializing()": [
  1342. {
  1343. "details": "The contract is not initializing."
  1344. }
  1345. ]
  1346. },
  1347. "events": {
  1348. "Initialized(uint64)": {
  1349. "details": "Triggered when the contract has been initialized or reinitialized."
  1350. }
  1351. },
  1352. "kind": "dev",
  1353. "methods": {},
  1354. "version": 1
  1355. },
  1356. "userdoc": {
  1357. "kind": "user",
  1358. "methods": {},
  1359. "version": 1
  1360. }
  1361. },
  1362. "settings": {
  1363. "compilationTarget": {
  1364. "contracts/Pledge.sol": "Pledge"
  1365. },
  1366. "evmVersion": "shanghai",
  1367. "libraries": {},
  1368. "metadata": {
  1369. "bytecodeHash": "ipfs"
  1370. },
  1371. "optimizer": {
  1372. "enabled": false,
  1373. "runs": 200
  1374. },
  1375. "remappings": []
  1376. },
  1377. "sources": {
  1378. "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol": {
  1379. "keccak256": "0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b",
  1380. "license": "MIT",
  1381. "urls": [
  1382. "bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609",
  1383. "dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM"
  1384. ]
  1385. },
  1386. "@openzeppelin/contracts/interfaces/draft-IERC6093.sol": {
  1387. "keccak256": "0x60c65f701957fdd6faea1acb0bb45825791d473693ed9ecb34726fdfaa849dd7",
  1388. "license": "MIT",
  1389. "urls": [
  1390. "bzz-raw://ea290300e0efc4d901244949dc4d877fd46e6c5e43dc2b26620e8efab3ab803f",
  1391. "dweb:/ipfs/QmcLLJppxKeJWqHxE2CUkcfhuRTgHSn8J4kijcLa5MYhSt"
  1392. ]
  1393. },
  1394. "@openzeppelin/contracts/token/ERC20/IERC20.sol": {
  1395. "keccak256": "0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70",
  1396. "license": "MIT",
  1397. "urls": [
  1398. "bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c",
  1399. "dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq"
  1400. ]
  1401. },
  1402. "@openzeppelin/contracts/token/ERC721/ERC721.sol": {
  1403. "keccak256": "0x13dd061770956c8489b80cfc89d9cdfc8ea2783d953691ea037a380731d52784",
  1404. "license": "MIT",
  1405. "urls": [
  1406. "bzz-raw://ed37f0f86e7fe31659e48c3a2a5920a92dd7f13c85cf8991fb79fe5f01e08efd",
  1407. "dweb:/ipfs/QmUtm9bQGvjr9hHGwkPWrbgFmVqzaJcxjkaYDex2oGsonS"
  1408. ]
  1409. },
  1410. "@openzeppelin/contracts/token/ERC721/IERC721.sol": {
  1411. "keccak256": "0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4",
  1412. "license": "MIT",
  1413. "urls": [
  1414. "bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7",
  1415. "dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n"
  1416. ]
  1417. },
  1418. "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": {
  1419. "keccak256": "0x7f7a26306c79a65fb8b3b6c757cd74660c532cd8a02e165488e30027dd34ca49",
  1420. "license": "MIT",
  1421. "urls": [
  1422. "bzz-raw://d01e0b2b837ee2f628545e54d8715b49c7ef2befd08356c2e7f6c50dde8a1c22",
  1423. "dweb:/ipfs/QmWBAn6y2D1xgftci97Z3qR9tQnkvwQpYwFwkTvDMvqU4i"
  1424. ]
  1425. },
  1426. "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol": {
  1427. "keccak256": "0x36797469c391ea5ba27408e6ca8adf0824ba6f3adea9c139be18bd6f63232c16",
  1428. "license": "MIT",
  1429. "urls": [
  1430. "bzz-raw://0dcf8bb9f7c29d678de34a051b4a71cf27ae56464678696c6913cbbfc75d548a",
  1431. "dweb:/ipfs/QmSfdgU9V2dXh9oajUxgF9hU1aPnpd1PEMtcchoANsCNmW"
  1432. ]
  1433. },
  1434. "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol": {
  1435. "keccak256": "0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de",
  1436. "license": "MIT",
  1437. "urls": [
  1438. "bzz-raw://1f58c799bd939d3951c94893e83ef86acd56989d1d7db7f9d180c515e29e28ff",
  1439. "dweb:/ipfs/QmTgAxHAAys4kq9ZfU9YB24MWYoHLGAKSxnYUigPFrNW7g"
  1440. ]
  1441. },
  1442. "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": {
  1443. "keccak256": "0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1",
  1444. "license": "MIT",
  1445. "urls": [
  1446. "bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02",
  1447. "dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE"
  1448. ]
  1449. },
  1450. "@openzeppelin/contracts/utils/Context.sol": {
  1451. "keccak256": "0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2",
  1452. "license": "MIT",
  1453. "urls": [
  1454. "bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12",
  1455. "dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"
  1456. ]
  1457. },
  1458. "@openzeppelin/contracts/utils/Strings.sol": {
  1459. "keccak256": "0x55f102ea785d8399c0e58d1108e2d289506dde18abc6db1b7f68c1f9f9bc5792",
  1460. "license": "MIT",
  1461. "urls": [
  1462. "bzz-raw://6e52e0a7765c943ef14e5bcf11e46e6139fa044be564881378349236bf2e3453",
  1463. "dweb:/ipfs/QmZEeeXoFPW47amyP35gfzomF9DixqqTEPwzBakv6cZw6i"
  1464. ]
  1465. },
  1466. "@openzeppelin/contracts/utils/introspection/ERC165.sol": {
  1467. "keccak256": "0x9e8778b14317ba9e256c30a76fd6c32b960af621987f56069e1e819c77c6a133",
  1468. "license": "MIT",
  1469. "urls": [
  1470. "bzz-raw://1777404f1dcd0fac188e55a288724ec3c67b45288e49cc64723e95e702b49ab8",
  1471. "dweb:/ipfs/QmZFdC626GButBApwDUvvTnUzdinevC3B24d7yyh57XkiA"
  1472. ]
  1473. },
  1474. "@openzeppelin/contracts/utils/introspection/IERC165.sol": {
  1475. "keccak256": "0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b",
  1476. "license": "MIT",
  1477. "urls": [
  1478. "bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df",
  1479. "dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL"
  1480. ]
  1481. },
  1482. "@openzeppelin/contracts/utils/math/Math.sol": {
  1483. "keccak256": "0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d",
  1484. "license": "MIT",
  1485. "urls": [
  1486. "bzz-raw://4ece9f0b9c8daca08c76b6b5405a6446b6f73b3a15fab7ff56e296cbd4a2c875",
  1487. "dweb:/ipfs/QmQyRpyPRL5SQuAgj6SHmbir3foX65FJjbVTTQrA2EFg6L"
  1488. ]
  1489. },
  1490. "@openzeppelin/contracts/utils/math/SignedMath.sol": {
  1491. "keccak256": "0x5f7e4076e175393767754387c962926577f1660dd9b810187b9002407656be72",
  1492. "license": "MIT",
  1493. "urls": [
  1494. "bzz-raw://7d533a1c97cd43a57cd9c465f7ee8dd0e39ae93a8fb8ff8e5303a356b081cdcc",
  1495. "dweb:/ipfs/QmVBEei6aTnvYNZp2CHYVNKyZS4q1KkjANfY39WVXZXVoT"
  1496. ]
  1497. },
  1498. "contracts/NFT.sol": {
  1499. "keccak256": "0x7f60b81d4a491e94e4c8d8f987b09e79dad5a797db72838a6b44ae626270a58c",
  1500. "license": "MIT",
  1501. "urls": [
  1502. "bzz-raw://27ae136ca27193a9eeb1086d0f363c5175e1b268c78e7a52700f80cf79b9e75c",
  1503. "dweb:/ipfs/QmWYMzgt5WsiydZqr8fPiUnvcmVmQcKnRWdX3JYK6MRFnC"
  1504. ]
  1505. },
  1506. "contracts/Pledge.sol": {
  1507. "keccak256": "0xc6158afff8dda6a33d7c02f759bae2817a48e7921bb9d063badbbbc8217c0c27",
  1508. "license": "MIT",
  1509. "urls": [
  1510. "bzz-raw://e0cd8c0d8db5767ab9af85a570fb44a55ade2ba3ce6502b85d86dcbcdd17588b",
  1511. "dweb:/ipfs/QmXT2tfws7tuafLi25jordWi8kLU4W2g9kmTJjBy4wpFsv"
  1512. ]
  1513. },
  1514. "contracts/PledgeType.sol": {
  1515. "keccak256": "0xc6e3553c3b1ab6a24520bc2c89873306d53698604598612f9aa9ac82896f8110",
  1516. "license": "MIT",
  1517. "urls": [
  1518. "bzz-raw://2890bb9673784fc36ab2c40f9eb34981db578b604436d472ee4b054867737489",
  1519. "dweb:/ipfs/QmerNXFEum5iGaQk2jmy9TYU6Q6Kz9dvvfE6qyYrzNKB1j"
  1520. ]
  1521. },
  1522. "contracts/Pool.sol": {
  1523. "keccak256": "0x8be7a9be14377e9f0e0b0cf8fd43d9e06a139c7349b76c93d771c4d787a315bf",
  1524. "license": "MIT",
  1525. "urls": [
  1526. "bzz-raw://dd423d9cd1bdf7925d7832e014e6ff08581e7fb30e8dab0ca76b18068a058917",
  1527. "dweb:/ipfs/QmcfZM5NoUtVXuJwSLQMs3Tf553fzp7mC5DWJ7aNqcE63k"
  1528. ]
  1529. },
  1530. "contracts/Utils.sol": {
  1531. "keccak256": "0x86e48fd325ea8b04113a63a83808175abf9be64a69ecbe23df73e0ad7a6c4470",
  1532. "license": "MIT",
  1533. "urls": [
  1534. "bzz-raw://202b1f7d9ada1bafc1139236bd45abc1e8e3d32cef2bc41a94f46edd8da48817",
  1535. "dweb:/ipfs/QmbihGtNfwKgtwEwbd7ZhW78Q9Xi18A9N23zbKcsK6t1VR"
  1536. ]
  1537. }
  1538. },
  1539. "version": 1
  1540. }