Hitesh_jadhav

investmentAbi

Jun 30th, 2026
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.87 KB | None | 0 0
  1. [
  2. {
  3. "inputs": [],
  4. "stateMutability": "nonpayable",
  5. "type": "constructor"
  6. },
  7. {
  8. "inputs": [],
  9. "name": "ContractPaused",
  10. "type": "error"
  11. },
  12. {
  13. "inputs": [],
  14. "name": "InvalidAmount",
  15. "type": "error"
  16. },
  17. {
  18. "inputs": [],
  19. "name": "InvalidRate",
  20. "type": "error"
  21. },
  22. {
  23. "inputs": [],
  24. "name": "NotOwner",
  25. "type": "error"
  26. },
  27. {
  28. "inputs": [],
  29. "name": "TransferFailed",
  30. "type": "error"
  31. },
  32. {
  33. "inputs": [],
  34. "name": "ZeroAddress",
  35. "type": "error"
  36. },
  37. {
  38. "anonymous": false,
  39. "inputs": [
  40. {
  41. "indexed": true,
  42. "internalType": "address",
  43. "name": "investor",
  44. "type": "address"
  45. },
  46. {
  47. "indexed": false,
  48. "internalType": "uint256",
  49. "name": "amount",
  50. "type": "uint256"
  51. },
  52. {
  53. "indexed": false,
  54. "internalType": "uint256",
  55. "name": "totalContributed",
  56. "type": "uint256"
  57. }
  58. ],
  59. "name": "Invested",
  60. "type": "event"
  61. },
  62. {
  63. "anonymous": false,
  64. "inputs": [
  65. {
  66. "indexed": true,
  67. "internalType": "address",
  68. "name": "to",
  69. "type": "address"
  70. },
  71. {
  72. "indexed": false,
  73. "internalType": "uint256",
  74. "name": "amount",
  75. "type": "uint256"
  76. }
  77. ],
  78. "name": "OwnerWithdrawal",
  79. "type": "event"
  80. },
  81. {
  82. "anonymous": false,
  83. "inputs": [
  84. {
  85. "indexed": false,
  86. "internalType": "bool",
  87. "name": "isPaused",
  88. "type": "bool"
  89. }
  90. ],
  91. "name": "Paused",
  92. "type": "event"
  93. },
  94. {
  95. "inputs": [
  96. {
  97. "internalType": "address",
  98. "name": "account",
  99. "type": "address"
  100. }
  101. ],
  102. "name": "getInvestor",
  103. "outputs": [
  104. {
  105. "internalType": "uint256",
  106. "name": "totalContributed",
  107. "type": "uint256"
  108. },
  109. {
  110. "internalType": "uint64",
  111. "name": "lastInvestmentAt",
  112. "type": "uint64"
  113. },
  114. {
  115. "internalType": "bool",
  116. "name": "isActive",
  117. "type": "bool"
  118. }
  119. ],
  120. "stateMutability": "view",
  121. "type": "function"
  122. },
  123. {
  124. "inputs": [],
  125. "name": "invest",
  126. "outputs": [],
  127. "stateMutability": "payable",
  128. "type": "function"
  129. },
  130. {
  131. "inputs": [],
  132. "name": "investorCount",
  133. "outputs": [
  134. {
  135. "internalType": "uint256",
  136. "name": "",
  137. "type": "uint256"
  138. }
  139. ],
  140. "stateMutability": "view",
  141. "type": "function"
  142. },
  143. {
  144. "inputs": [],
  145. "name": "isPaused",
  146. "outputs": [
  147. {
  148. "internalType": "bool",
  149. "name": "",
  150. "type": "bool"
  151. }
  152. ],
  153. "stateMutability": "view",
  154. "type": "function"
  155. },
  156. {
  157. "inputs": [],
  158. "name": "owner",
  159. "outputs": [
  160. {
  161. "internalType": "address",
  162. "name": "",
  163. "type": "address"
  164. }
  165. ],
  166. "stateMutability": "view",
  167. "type": "function"
  168. },
  169. {
  170. "inputs": [
  171. {
  172. "internalType": "address payable",
  173. "name": "to",
  174. "type": "address"
  175. },
  176. {
  177. "internalType": "uint256",
  178. "name": "amount",
  179. "type": "uint256"
  180. }
  181. ],
  182. "name": "ownerWithdraw",
  183. "outputs": [],
  184. "stateMutability": "nonpayable",
  185. "type": "function"
  186. },
  187. {
  188. "inputs": [
  189. {
  190. "internalType": "bool",
  191. "name": "shouldPause",
  192. "type": "bool"
  193. }
  194. ],
  195. "name": "setPaused",
  196. "outputs": [],
  197. "stateMutability": "nonpayable",
  198. "type": "function"
  199. },
  200. {
  201. "inputs": [
  202. {
  203. "internalType": "address",
  204. "name": "account",
  205. "type": "address"
  206. },
  207. {
  208. "internalType": "uint256",
  209. "name": "totalReturnAmount",
  210. "type": "uint256"
  211. }
  212. ],
  213. "name": "simulateReturnByAmount",
  214. "outputs": [
  215. {
  216. "internalType": "uint256",
  217. "name": "",
  218. "type": "uint256"
  219. }
  220. ],
  221. "stateMutability": "view",
  222. "type": "function"
  223. },
  224. {
  225. "inputs": [
  226. {
  227. "internalType": "address",
  228. "name": "account",
  229. "type": "address"
  230. },
  231. {
  232. "internalType": "uint16",
  233. "name": "rateBps",
  234. "type": "uint16"
  235. }
  236. ],
  237. "name": "simulateReturnByRate",
  238. "outputs": [
  239. {
  240. "internalType": "uint256",
  241. "name": "",
  242. "type": "uint256"
  243. }
  244. ],
  245. "stateMutability": "view",
  246. "type": "function"
  247. },
  248. {
  249. "inputs": [],
  250. "name": "totalInvested",
  251. "outputs": [
  252. {
  253. "internalType": "uint256",
  254. "name": "",
  255. "type": "uint256"
  256. }
  257. ],
  258. "stateMutability": "view",
  259. "type": "function"
  260. }
  261. ]
Advertisement
Add Comment
Please, Sign In to add comment