@huma-finance/shared 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/LICENSE +660 -660
  2. package/README.md +28 -28
  3. package/dist/abis/BaseCreditPool.json +1179 -1179
  4. package/dist/abis/BaseCreditPoolReceivable.json +764 -0
  5. package/dist/abis/BaseFeeManager.json +480 -480
  6. package/dist/abis/BasePoolConfig.json +1364 -1364
  7. package/dist/abis/ERC20TransferableReceivable.json +648 -648
  8. package/dist/abis/ERC20TransferrableReceivable.json +648 -0
  9. package/dist/abis/HDT.json +512 -512
  10. package/dist/abis/IConstantFlowAgreementV1.json +890 -890
  11. package/dist/abis/ISuperfluid.json +1122 -1122
  12. package/dist/abis/InvoiceNFT.json +625 -625
  13. package/dist/abis/Multisend.json +26 -26
  14. package/dist/abis/RealWorldReceivable.json +823 -823
  15. package/dist/abis/ReceivableFactoringPool.json +1529 -1529
  16. package/dist/abis/StreamFactoringPool.json +1523 -1523
  17. package/dist/abis/StreamFeeManager.json +522 -522
  18. package/dist/abis/SuperfluidPoolProcessor.json +692 -692
  19. package/dist/abis/TestERC20.json +358 -358
  20. package/dist/abis/TradableStream.json +850 -850
  21. package/dist/abis/Transfer.json +24 -24
  22. package/dist/abis/TransferNFT.json +27 -27
  23. package/dist/abis/erc20.json +127 -127
  24. package/dist/abis/erc2612.json +132 -132
  25. package/dist/abis/erc721.json +673 -673
  26. package/dist/abis/index.js +3 -3
  27. package/dist/abis/types/BaseCreditPool.js +1 -1
  28. package/dist/abis/types/BaseCreditPoolReceivable.d.ts +518 -0
  29. package/dist/abis/types/BaseCreditPoolReceivable.js +2 -0
  30. package/dist/abis/types/BaseCreditPoolReceivable.js.map +1 -0
  31. package/dist/abis/types/BaseFeeManager.js +1 -1
  32. package/dist/abis/types/BasePoolConfig.js +1 -1
  33. package/dist/abis/types/ERC20TransferableReceivable.js +1 -1
  34. package/dist/abis/types/ERC20TransferrableReceivable.d.ts +407 -0
  35. package/dist/abis/types/ERC20TransferrableReceivable.js +2 -0
  36. package/dist/abis/types/ERC20TransferrableReceivable.js.map +1 -0
  37. package/dist/abis/types/Erc20.d.ts +184 -184
  38. package/dist/abis/types/Erc20.js +1 -1
  39. package/dist/abis/types/Erc2612.js +1 -1
  40. package/dist/abis/types/Erc721.js +1 -1
  41. package/dist/abis/types/HDT.js +1 -1
  42. package/dist/abis/types/IConstantFlowAgreementV1.js +1 -1
  43. package/dist/abis/types/ISuperfluid.js +1 -1
  44. package/dist/abis/types/InvoiceNFT.js +1 -1
  45. package/dist/abis/types/Multisend.js +1 -1
  46. package/dist/abis/types/RealWorldReceivable.js +1 -1
  47. package/dist/abis/types/ReceivableFactoringPool.js +1 -1
  48. package/dist/abis/types/StreamFactoringPool.js +1 -1
  49. package/dist/abis/types/StreamFeeManager.js +1 -1
  50. package/dist/abis/types/SuperfluidPoolProcessor.js +1 -1
  51. package/dist/abis/types/TestERC20.js +1 -1
  52. package/dist/abis/types/TradableStream.js +1 -1
  53. package/dist/abis/types/Transfer.js +1 -1
  54. package/dist/abis/types/TransferNFT.js +1 -1
  55. package/dist/abis/types/common.js +1 -1
  56. package/dist/abis/types/factories/BaseCreditPoolReceivable__factory.d.ts +597 -0
  57. package/dist/abis/types/factories/BaseCreditPoolReceivable__factory.js +778 -0
  58. package/dist/abis/types/factories/BaseCreditPoolReceivable__factory.js.map +1 -0
  59. package/dist/abis/types/factories/BaseCreditPool__factory.js +1192 -1192
  60. package/dist/abis/types/factories/BaseFeeManager__factory.js +493 -493
  61. package/dist/abis/types/factories/BasePoolConfig__factory.js +1377 -1377
  62. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js +661 -661
  63. package/dist/abis/types/factories/ERC20TransferrableReceivable__factory.d.ts +508 -0
  64. package/dist/abis/types/factories/ERC20TransferrableReceivable__factory.js +663 -0
  65. package/dist/abis/types/factories/ERC20TransferrableReceivable__factory.js.map +1 -0
  66. package/dist/abis/types/factories/Erc20__factory.d.ts +193 -193
  67. package/dist/abis/types/factories/Erc20__factory.js +259 -259
  68. package/dist/abis/types/factories/Erc2612__factory.js +278 -278
  69. package/dist/abis/types/factories/Erc721__factory.js +686 -686
  70. package/dist/abis/types/factories/HDT__factory.js +525 -525
  71. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js +903 -903
  72. package/dist/abis/types/factories/ISuperfluid__factory.js +1135 -1135
  73. package/dist/abis/types/factories/InvoiceNFT__factory.js +638 -638
  74. package/dist/abis/types/factories/Multisend__factory.js +39 -39
  75. package/dist/abis/types/factories/RealWorldReceivable__factory.js +836 -836
  76. package/dist/abis/types/factories/ReceivableFactoringPool__factory.js +1542 -1542
  77. package/dist/abis/types/factories/StreamFactoringPool__factory.js +1536 -1536
  78. package/dist/abis/types/factories/StreamFeeManager__factory.js +535 -535
  79. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js +705 -705
  80. package/dist/abis/types/factories/TestERC20__factory.js +371 -371
  81. package/dist/abis/types/factories/TradableStream__factory.js +863 -863
  82. package/dist/abis/types/factories/TransferNFT__factory.js +40 -40
  83. package/dist/abis/types/factories/Transfer__factory.js +37 -37
  84. package/dist/abis/types/factories/index.js +24 -24
  85. package/dist/abis/types/index.js +22 -22
  86. package/dist/cjs/abis/BaseCreditPool.json +1179 -1179
  87. package/dist/cjs/abis/BaseCreditPoolReceivable.json +764 -0
  88. package/dist/cjs/abis/BaseFeeManager.json +480 -480
  89. package/dist/cjs/abis/BasePoolConfig.json +1364 -1364
  90. package/dist/cjs/abis/ERC20TransferableReceivable.json +648 -648
  91. package/dist/cjs/abis/HDT.json +512 -512
  92. package/dist/cjs/abis/IConstantFlowAgreementV1.json +890 -890
  93. package/dist/cjs/abis/ISuperfluid.json +1122 -1122
  94. package/dist/cjs/abis/InvoiceNFT.json +625 -625
  95. package/dist/cjs/abis/Multisend.json +26 -26
  96. package/dist/cjs/abis/RealWorldReceivable.json +823 -823
  97. package/dist/cjs/abis/ReceivableFactoringPool.json +1529 -1529
  98. package/dist/cjs/abis/StreamFactoringPool.json +1523 -1523
  99. package/dist/cjs/abis/StreamFeeManager.json +522 -522
  100. package/dist/cjs/abis/SuperfluidPoolProcessor.json +692 -692
  101. package/dist/cjs/abis/TestERC20.json +358 -358
  102. package/dist/cjs/abis/TradableStream.json +850 -850
  103. package/dist/cjs/abis/Transfer.json +24 -24
  104. package/dist/cjs/abis/TransferNFT.json +27 -27
  105. package/dist/cjs/abis/erc20.json +127 -127
  106. package/dist/cjs/abis/erc2612.json +132 -132
  107. package/dist/cjs/abis/erc721.json +673 -673
  108. package/dist/cjs/abis/index.d.ts +3 -3
  109. package/dist/cjs/abis/index.js +12 -12
  110. package/dist/cjs/abis/types/BaseCreditPool.d.ts +803 -803
  111. package/dist/cjs/abis/types/BaseCreditPool.js +2 -2
  112. package/dist/cjs/abis/types/BaseCreditPoolReceivable.d.ts +518 -0
  113. package/dist/cjs/abis/types/BaseCreditPoolReceivable.js +3 -0
  114. package/dist/cjs/abis/types/BaseCreditPoolReceivable.js.map +1 -0
  115. package/dist/cjs/abis/types/BaseFeeManager.d.ts +408 -408
  116. package/dist/cjs/abis/types/BaseFeeManager.js +2 -2
  117. package/dist/cjs/abis/types/BasePoolConfig.d.ts +1097 -1097
  118. package/dist/cjs/abis/types/BasePoolConfig.js +2 -2
  119. package/dist/cjs/abis/types/ERC20TransferableReceivable.d.ts +407 -407
  120. package/dist/cjs/abis/types/ERC20TransferableReceivable.js +2 -2
  121. package/dist/cjs/abis/types/Erc20.d.ts +184 -184
  122. package/dist/cjs/abis/types/Erc20.js +2 -2
  123. package/dist/cjs/abis/types/Erc2612.d.ts +192 -192
  124. package/dist/cjs/abis/types/Erc2612.js +2 -2
  125. package/dist/cjs/abis/types/Erc721.d.ts +474 -474
  126. package/dist/cjs/abis/types/Erc721.js +2 -2
  127. package/dist/cjs/abis/types/HDT.d.ts +369 -369
  128. package/dist/cjs/abis/types/HDT.js +2 -2
  129. package/dist/cjs/abis/types/IConstantFlowAgreementV1.d.ts +573 -573
  130. package/dist/cjs/abis/types/IConstantFlowAgreementV1.js +2 -2
  131. package/dist/cjs/abis/types/ISuperfluid.d.ts +728 -728
  132. package/dist/cjs/abis/types/ISuperfluid.js +2 -2
  133. package/dist/cjs/abis/types/InvoiceNFT.d.ts +425 -425
  134. package/dist/cjs/abis/types/InvoiceNFT.js +2 -2
  135. package/dist/cjs/abis/types/Multisend.d.ts +50 -50
  136. package/dist/cjs/abis/types/Multisend.js +2 -2
  137. package/dist/cjs/abis/types/RealWorldReceivable.d.ts +564 -564
  138. package/dist/cjs/abis/types/RealWorldReceivable.js +2 -2
  139. package/dist/cjs/abis/types/ReceivableFactoringPool.d.ts +999 -999
  140. package/dist/cjs/abis/types/ReceivableFactoringPool.js +2 -2
  141. package/dist/cjs/abis/types/StreamFactoringPool.d.ts +985 -985
  142. package/dist/cjs/abis/types/StreamFactoringPool.js +2 -2
  143. package/dist/cjs/abis/types/StreamFeeManager.d.ts +440 -440
  144. package/dist/cjs/abis/types/StreamFeeManager.js +2 -2
  145. package/dist/cjs/abis/types/SuperfluidPoolProcessor.d.ts +398 -398
  146. package/dist/cjs/abis/types/SuperfluidPoolProcessor.js +2 -2
  147. package/dist/cjs/abis/types/TestERC20.d.ts +270 -270
  148. package/dist/cjs/abis/types/TestERC20.js +2 -2
  149. package/dist/cjs/abis/types/TradableStream.d.ts +607 -607
  150. package/dist/cjs/abis/types/TradableStream.js +2 -2
  151. package/dist/cjs/abis/types/Transfer.d.ts +45 -45
  152. package/dist/cjs/abis/types/Transfer.js +2 -2
  153. package/dist/cjs/abis/types/TransferNFT.d.ts +45 -45
  154. package/dist/cjs/abis/types/TransferNFT.js +2 -2
  155. package/dist/cjs/abis/types/common.d.ts +22 -22
  156. package/dist/cjs/abis/types/common.js +2 -2
  157. package/dist/cjs/abis/types/factories/BaseCreditPoolReceivable__factory.d.ts +597 -0
  158. package/dist/cjs/abis/types/factories/BaseCreditPoolReceivable__factory.js +782 -0
  159. package/dist/cjs/abis/types/factories/BaseCreditPoolReceivable__factory.js.map +1 -0
  160. package/dist/cjs/abis/types/factories/BaseCreditPool__factory.d.ts +931 -931
  161. package/dist/cjs/abis/types/factories/BaseCreditPool__factory.js +1196 -1196
  162. package/dist/cjs/abis/types/factories/BaseFeeManager__factory.d.ts +379 -379
  163. package/dist/cjs/abis/types/factories/BaseFeeManager__factory.js +497 -497
  164. package/dist/cjs/abis/types/factories/BasePoolConfig__factory.d.ts +1074 -1074
  165. package/dist/cjs/abis/types/factories/BasePoolConfig__factory.js +1381 -1381
  166. package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +508 -508
  167. package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.js +665 -665
  168. package/dist/cjs/abis/types/factories/Erc20__factory.d.ts +193 -193
  169. package/dist/cjs/abis/types/factories/Erc20__factory.js +263 -263
  170. package/dist/cjs/abis/types/factories/Erc2612__factory.d.ts +209 -209
  171. package/dist/cjs/abis/types/factories/Erc2612__factory.js +282 -282
  172. package/dist/cjs/abis/types/factories/Erc721__factory.d.ts +539 -539
  173. package/dist/cjs/abis/types/factories/Erc721__factory.js +690 -690
  174. package/dist/cjs/abis/types/factories/HDT__factory.d.ts +399 -399
  175. package/dist/cjs/abis/types/factories/HDT__factory.js +529 -529
  176. package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +695 -695
  177. package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.js +907 -907
  178. package/dist/cjs/abis/types/factories/ISuperfluid__factory.d.ts +866 -866
  179. package/dist/cjs/abis/types/factories/ISuperfluid__factory.js +1139 -1139
  180. package/dist/cjs/abis/types/factories/InvoiceNFT__factory.d.ts +489 -489
  181. package/dist/cjs/abis/types/factories/InvoiceNFT__factory.js +642 -642
  182. package/dist/cjs/abis/types/factories/Multisend__factory.d.ts +26 -26
  183. package/dist/cjs/abis/types/factories/Multisend__factory.js +43 -43
  184. package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.d.ts +645 -645
  185. package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.js +840 -840
  186. package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.d.ts +1204 -1204
  187. package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.js +1546 -1546
  188. package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.d.ts +1200 -1200
  189. package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.js +1540 -1540
  190. package/dist/cjs/abis/types/factories/StreamFeeManager__factory.d.ts +412 -412
  191. package/dist/cjs/abis/types/factories/StreamFeeManager__factory.js +539 -539
  192. package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -546
  193. package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.js +709 -709
  194. package/dist/cjs/abis/types/factories/TestERC20__factory.d.ts +280 -280
  195. package/dist/cjs/abis/types/factories/TestERC20__factory.js +375 -375
  196. package/dist/cjs/abis/types/factories/TradableStream__factory.d.ts +663 -663
  197. package/dist/cjs/abis/types/factories/TradableStream__factory.js +867 -867
  198. package/dist/cjs/abis/types/factories/TransferNFT__factory.d.ts +28 -28
  199. package/dist/cjs/abis/types/factories/TransferNFT__factory.js +44 -44
  200. package/dist/cjs/abis/types/factories/Transfer__factory.d.ts +25 -25
  201. package/dist/cjs/abis/types/factories/Transfer__factory.js +41 -41
  202. package/dist/cjs/abis/types/factories/index.d.ts +21 -21
  203. package/dist/cjs/abis/types/factories/index.js +48 -48
  204. package/dist/cjs/abis/types/index.d.ts +43 -43
  205. package/dist/cjs/abis/types/index.js +47 -47
  206. package/dist/cjs/hooks/index.d.ts +18 -18
  207. package/dist/cjs/hooks/index.js +21 -21
  208. package/dist/cjs/hooks/useActiveRoute.d.ts +8 -8
  209. package/dist/cjs/hooks/useActiveRoute.js +11 -11
  210. package/dist/cjs/hooks/useAsyncError.d.ts +14 -14
  211. package/dist/cjs/hooks/useAsyncError.js +26 -26
  212. package/dist/cjs/hooks/useCLPoolContract.d.ts +28 -28
  213. package/dist/cjs/hooks/useCLPoolContract.js +53 -53
  214. package/dist/cjs/hooks/useContract.d.ts +7 -7
  215. package/dist/cjs/hooks/useContract.js +49 -49
  216. package/dist/cjs/hooks/useContractFunction.d.ts +18 -18
  217. package/dist/cjs/hooks/useContractFunction.js +57 -57
  218. package/dist/cjs/hooks/useERC2612Permit/ethPermit/index.d.ts +35 -35
  219. package/dist/cjs/hooks/useERC2612Permit/ethPermit/index.js +145 -145
  220. package/dist/cjs/hooks/useERC2612Permit/ethPermit/lib.d.ts +1 -1
  221. package/dist/cjs/hooks/useERC2612Permit/ethPermit/lib.js +26 -26
  222. package/dist/cjs/hooks/useERC2612Permit/ethPermit/rpc.d.ts +10 -10
  223. package/dist/cjs/hooks/useERC2612Permit/ethPermit/rpc.js +104 -104
  224. package/dist/cjs/hooks/useERC2612Permit/index.d.ts +6 -6
  225. package/dist/cjs/hooks/useERC2612Permit/index.js +35 -35
  226. package/dist/cjs/hooks/useFactoring.d.ts +19 -19
  227. package/dist/cjs/hooks/useFactoring.js +94 -94
  228. package/dist/cjs/hooks/useForceRefresh.d.ts +1 -1
  229. package/dist/cjs/hooks/useForceRefresh.js +12 -12
  230. package/dist/cjs/hooks/useGetSizes.d.ts +12 -12
  231. package/dist/cjs/hooks/useGetSizes.js +23 -23
  232. package/dist/cjs/hooks/useInvoiceNFTContract.d.ts +11 -11
  233. package/dist/cjs/hooks/useInvoiceNFTContract.js +72 -72
  234. package/dist/cjs/hooks/useMQ.d.ts +6 -6
  235. package/dist/cjs/hooks/useMQ.js +18 -18
  236. package/dist/cjs/hooks/useMount.d.ts +2 -2
  237. package/dist/cjs/hooks/useMount.js +13 -13
  238. package/dist/cjs/hooks/useParamsSearch.d.ts +2 -2
  239. package/dist/cjs/hooks/useParamsSearch.js +11 -11
  240. package/dist/cjs/hooks/usePool.d.ts +4 -4
  241. package/dist/cjs/hooks/usePool.js +45 -45
  242. package/dist/cjs/hooks/usePoolContract.d.ts +74 -74
  243. package/dist/cjs/hooks/usePoolContract.js +310 -310
  244. package/dist/cjs/hooks/useRFPoolContract.d.ts +23 -23
  245. package/dist/cjs/hooks/useRFPoolContract.js +41 -41
  246. package/dist/cjs/hooks/useRefresh.d.ts +1 -1
  247. package/dist/cjs/hooks/useRefresh.js +51 -51
  248. package/dist/cjs/hooks/web3/index.d.ts +11 -11
  249. package/dist/cjs/hooks/web3/index.js +146 -146
  250. package/dist/cjs/hooks/web3/useConnectors.d.ts +17 -17
  251. package/dist/cjs/hooks/web3/useConnectors.js +30 -30
  252. package/dist/cjs/hooks/web3/useJsonRpcUrlsMap.d.ts +13 -13
  253. package/dist/cjs/hooks/web3/useJsonRpcUrlsMap.js +64 -64
  254. package/dist/cjs/index.d.ts +5 -5
  255. package/dist/cjs/index.js +8 -8
  256. package/dist/cjs/services/EAService.d.ts +153 -153
  257. package/dist/cjs/services/EAService.js +80 -80
  258. package/dist/cjs/services/IdentityService.d.ts +52 -52
  259. package/dist/cjs/services/IdentityService.js +83 -83
  260. package/dist/cjs/services/RNService.d.ts +14 -14
  261. package/dist/cjs/services/RNService.js +13 -13
  262. package/dist/cjs/services/index.d.ts +3 -3
  263. package/dist/cjs/services/index.js +6 -6
  264. package/dist/cjs/utils/JsonRpcConnector.d.ts +11 -11
  265. package/dist/cjs/utils/JsonRpcConnector.js +42 -42
  266. package/dist/cjs/utils/WalletConnect.d.ts +10 -10
  267. package/dist/cjs/utils/WalletConnect.js +55 -55
  268. package/dist/cjs/utils/chain.d.ts +39 -39
  269. package/dist/cjs/utils/chain.js +126 -126
  270. package/dist/cjs/utils/common.d.ts +4 -4
  271. package/dist/cjs/utils/common.js +17 -17
  272. package/dist/cjs/utils/config.d.ts +8 -8
  273. package/dist/cjs/utils/config.js +45 -45
  274. package/dist/cjs/utils/const.d.ts +2 -2
  275. package/dist/cjs/utils/const.js +5 -5
  276. package/dist/cjs/utils/contractError.json +73 -73
  277. package/dist/cjs/utils/contractconfig.json +19 -19
  278. package/dist/cjs/utils/credit.d.ts +21 -21
  279. package/dist/cjs/utils/credit.js +41 -41
  280. package/dist/cjs/utils/errors.d.ts +26 -26
  281. package/dist/cjs/utils/errors.js +46 -46
  282. package/dist/cjs/utils/index.d.ts +20 -20
  283. package/dist/cjs/utils/index.js +23 -23
  284. package/dist/cjs/utils/jsonRpcEndpoints.d.ts +12 -12
  285. package/dist/cjs/utils/jsonRpcEndpoints.js +21 -21
  286. package/dist/cjs/utils/notifi.d.ts +4 -4
  287. package/dist/cjs/utils/notifi.js +42 -42
  288. package/dist/cjs/utils/number.d.ts +6 -6
  289. package/dist/cjs/utils/number.js +74 -74
  290. package/dist/cjs/utils/pool.d.ts +97 -96
  291. package/dist/cjs/utils/pool.js +402 -371
  292. package/dist/cjs/utils/pool.js.map +1 -1
  293. package/dist/cjs/utils/realWorldReceivable.d.ts +12 -12
  294. package/dist/cjs/utils/realWorldReceivable.js +2 -2
  295. package/dist/cjs/utils/request.d.ts +3 -3
  296. package/dist/cjs/utils/request.js +45 -45
  297. package/dist/cjs/utils/scientificToDecimal.d.ts +1 -1
  298. package/dist/cjs/utils/scientificToDecimal.js +61 -61
  299. package/dist/cjs/utils/string.d.ts +1 -1
  300. package/dist/cjs/utils/string.js +5 -5
  301. package/dist/cjs/utils/style.d.ts +1 -1
  302. package/dist/cjs/utils/style.js +16 -16
  303. package/dist/cjs/utils/time.d.ts +26 -26
  304. package/dist/cjs/utils/time.js +58 -58
  305. package/dist/cjs/utils/transaction.d.ts +32 -32
  306. package/dist/cjs/utils/transaction.js +96 -96
  307. package/dist/cjs/utils/web3.d.ts +4 -4
  308. package/dist/cjs/utils/web3.js +39 -39
  309. package/dist/components/icons/approve-lender.svg +30 -0
  310. package/dist/components/icons/auto-payback.svg +40 -0
  311. package/dist/components/icons/check-circle.svg +3 -0
  312. package/dist/components/icons/check-green.svg +3 -0
  313. package/dist/components/icons/check.svg +10 -0
  314. package/dist/components/icons/donut.svg +904 -0
  315. package/dist/components/icons/ellipse.svg +3 -0
  316. package/dist/components/icons/ethereum.svg +1 -0
  317. package/dist/components/icons/huma-full.svg +22 -0
  318. package/dist/components/icons/huma.svg +15 -0
  319. package/dist/components/icons/index.d.ts +19 -0
  320. package/dist/components/icons/index.js +70 -0
  321. package/dist/components/icons/index.js.map +1 -0
  322. package/dist/components/icons/loader.svg +229 -0
  323. package/dist/components/icons/metamask.svg +31 -0
  324. package/dist/components/icons/polygon.svg +16 -0
  325. package/dist/components/icons/receipt.svg +3 -0
  326. package/dist/components/icons/separator.svg +3 -0
  327. package/dist/components/icons/sorry.svg +31 -0
  328. package/dist/components/icons/usdc.svg +5 -0
  329. package/dist/components/icons/wallet-connect.svg +12 -0
  330. package/dist/hooks/index.js +18 -18
  331. package/dist/hooks/useActiveRoute.js +7 -7
  332. package/dist/hooks/useAsyncError.js +22 -22
  333. package/dist/hooks/useCLPoolContract.d.ts +28 -28
  334. package/dist/hooks/useCLPoolContract.js +38 -38
  335. package/dist/hooks/useContract.js +40 -40
  336. package/dist/hooks/useContractFunction.js +54 -54
  337. package/dist/hooks/useERC2612Permit/ethPermit/index.js +139 -139
  338. package/dist/hooks/useERC2612Permit/ethPermit/lib.js +21 -21
  339. package/dist/hooks/useERC2612Permit/ethPermit/rpc.js +96 -96
  340. package/dist/hooks/useERC2612Permit/index.js +31 -31
  341. package/dist/hooks/useFactoring.js +90 -90
  342. package/dist/hooks/useForceRefresh.js +8 -8
  343. package/dist/hooks/useGetSizes.js +19 -19
  344. package/dist/hooks/useInvoiceNFTContract.js +64 -64
  345. package/dist/hooks/useMQ.js +14 -14
  346. package/dist/hooks/useMount.js +8 -8
  347. package/dist/hooks/useParamsSearch.js +6 -6
  348. package/dist/hooks/usePool.js +39 -39
  349. package/dist/hooks/usePoolContract.d.ts +74 -74
  350. package/dist/hooks/usePoolContract.js +287 -287
  351. package/dist/hooks/useRFPoolContract.d.ts +23 -23
  352. package/dist/hooks/useRFPoolContract.js +29 -29
  353. package/dist/hooks/useRefresh.js +47 -47
  354. package/dist/hooks/web3/index.d.ts +11 -11
  355. package/dist/hooks/web3/index.js +141 -141
  356. package/dist/hooks/web3/useConnectors.js +24 -24
  357. package/dist/hooks/web3/useJsonRpcUrlsMap.js +55 -55
  358. package/dist/index.js +5 -5
  359. package/dist/services/EAService.js +77 -77
  360. package/dist/services/IdentityService.d.ts +52 -52
  361. package/dist/services/IdentityService.js +80 -80
  362. package/dist/services/RNService.js +10 -10
  363. package/dist/services/index.js +3 -3
  364. package/dist/theme/breakpoints.d.ts +5 -0
  365. package/dist/theme/breakpoints.js +4 -0
  366. package/dist/theme/breakpoints.js.map +1 -0
  367. package/dist/theme/components.d.ts +6 -0
  368. package/dist/theme/components.js +62 -0
  369. package/dist/theme/components.js.map +1 -0
  370. package/dist/theme/coreThemeConstants.d.ts +18 -0
  371. package/dist/theme/coreThemeConstants.js +30 -0
  372. package/dist/theme/coreThemeConstants.js.map +1 -0
  373. package/dist/theme/cssMixins.d.ts +20 -0
  374. package/dist/theme/cssMixins.js +90 -0
  375. package/dist/theme/cssMixins.js.map +1 -0
  376. package/dist/theme/index.d.ts +8 -0
  377. package/dist/theme/index.js +27 -0
  378. package/dist/theme/index.js.map +1 -0
  379. package/dist/theme/palette.d.ts +53 -0
  380. package/dist/theme/palette.js +137 -0
  381. package/dist/theme/palette.js.map +1 -0
  382. package/dist/theme/shape.d.ts +2 -0
  383. package/dist/theme/shape.js +5 -0
  384. package/dist/theme/shape.js.map +1 -0
  385. package/dist/theme/theme.types.d.ts +72 -0
  386. package/dist/theme/theme.types.js +2 -0
  387. package/dist/theme/theme.types.js.map +1 -0
  388. package/dist/theme/typography.d.ts +2 -0
  389. package/dist/theme/typography.js +116 -0
  390. package/dist/theme/typography.js.map +1 -0
  391. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  392. package/dist/utils/JsonRpcConnector.js +38 -38
  393. package/dist/utils/WalletConnect.js +49 -49
  394. package/dist/utils/chain.d.ts +39 -39
  395. package/dist/utils/chain.js +118 -118
  396. package/dist/utils/common.js +10 -10
  397. package/dist/utils/config.d.ts +8 -8
  398. package/dist/utils/config.js +42 -42
  399. package/dist/utils/const.js +2 -2
  400. package/dist/utils/contractError.json +73 -73
  401. package/dist/utils/contractconfig.json +19 -19
  402. package/dist/utils/credit.js +37 -37
  403. package/dist/utils/ddLogger.d.ts +4 -0
  404. package/dist/utils/ddLogger.js +48 -0
  405. package/dist/utils/ddLogger.js.map +1 -0
  406. package/dist/utils/errors.js +39 -39
  407. package/dist/utils/index.d.ts +20 -20
  408. package/dist/utils/index.js +20 -20
  409. package/dist/utils/jsonRpcEndpoints.js +18 -18
  410. package/dist/utils/notifi.d.ts +4 -4
  411. package/dist/utils/notifi.js +36 -36
  412. package/dist/utils/number.d.ts +6 -6
  413. package/dist/utils/number.js +66 -66
  414. package/dist/utils/pool.d.ts +97 -96
  415. package/dist/utils/pool.js +395 -364
  416. package/dist/utils/pool.js.map +1 -1
  417. package/dist/utils/realWorldReceivable.d.ts +12 -12
  418. package/dist/utils/realWorldReceivable.js +1 -1
  419. package/dist/utils/request.js +38 -38
  420. package/dist/utils/scientificToDecimal.js +57 -57
  421. package/dist/utils/sentry.d.ts +1 -0
  422. package/dist/utils/sentry.js +19 -0
  423. package/dist/utils/sentry.js.map +1 -0
  424. package/dist/utils/storage.d.ts +12 -0
  425. package/dist/utils/storage.js +32 -0
  426. package/dist/utils/storage.js.map +1 -0
  427. package/dist/utils/string.js +1 -1
  428. package/dist/utils/style.js +12 -12
  429. package/dist/utils/time.js +50 -50
  430. package/dist/utils/transaction.js +87 -87
  431. package/dist/utils/web3.js +34 -34
  432. package/package.json +2 -2
@@ -1,687 +1,687 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Contract, utils } from 'ethers';
5
- const _abi = [
6
- {
7
- inputs: [
8
- {
9
- internalType: 'address',
10
- name: 'punkContract',
11
- type: 'address',
12
- },
13
- ],
14
- payable: false,
15
- stateMutability: 'nonpayable',
16
- type: 'constructor',
17
- },
18
- {
19
- anonymous: false,
20
- inputs: [
21
- {
22
- indexed: true,
23
- internalType: 'address',
24
- name: 'owner',
25
- type: 'address',
26
- },
27
- {
28
- indexed: true,
29
- internalType: 'address',
30
- name: 'approved',
31
- type: 'address',
32
- },
33
- {
34
- indexed: true,
35
- internalType: 'uint256',
36
- name: 'tokenId',
37
- type: 'uint256',
38
- },
39
- ],
40
- name: 'Approval',
41
- type: 'event',
42
- },
43
- {
44
- anonymous: false,
45
- inputs: [
46
- {
47
- indexed: true,
48
- internalType: 'address',
49
- name: 'owner',
50
- type: 'address',
51
- },
52
- {
53
- indexed: true,
54
- internalType: 'address',
55
- name: 'operator',
56
- type: 'address',
57
- },
58
- {
59
- indexed: false,
60
- internalType: 'bool',
61
- name: 'approved',
62
- type: 'bool',
63
- },
64
- ],
65
- name: 'ApprovalForAll',
66
- type: 'event',
67
- },
68
- {
69
- anonymous: false,
70
- inputs: [
71
- {
72
- indexed: true,
73
- internalType: 'address',
74
- name: 'previousOwner',
75
- type: 'address',
76
- },
77
- {
78
- indexed: true,
79
- internalType: 'address',
80
- name: 'newOwner',
81
- type: 'address',
82
- },
83
- ],
84
- name: 'OwnershipTransferred',
85
- type: 'event',
86
- },
87
- {
88
- anonymous: false,
89
- inputs: [
90
- {
91
- indexed: false,
92
- internalType: 'address',
93
- name: 'account',
94
- type: 'address',
95
- },
96
- ],
97
- name: 'Paused',
98
- type: 'event',
99
- },
100
- {
101
- anonymous: false,
102
- inputs: [
103
- {
104
- indexed: false,
105
- internalType: 'address',
106
- name: 'user',
107
- type: 'address',
108
- },
109
- {
110
- indexed: false,
111
- internalType: 'address',
112
- name: 'proxy',
113
- type: 'address',
114
- },
115
- ],
116
- name: 'ProxyRegistered',
117
- type: 'event',
118
- },
119
- {
120
- anonymous: false,
121
- inputs: [
122
- {
123
- indexed: true,
124
- internalType: 'address',
125
- name: 'from',
126
- type: 'address',
127
- },
128
- {
129
- indexed: true,
130
- internalType: 'address',
131
- name: 'to',
132
- type: 'address',
133
- },
134
- {
135
- indexed: true,
136
- internalType: 'uint256',
137
- name: 'tokenId',
138
- type: 'uint256',
139
- },
140
- ],
141
- name: 'Transfer',
142
- type: 'event',
143
- },
144
- {
145
- anonymous: false,
146
- inputs: [
147
- {
148
- indexed: false,
149
- internalType: 'address',
150
- name: 'account',
151
- type: 'address',
152
- },
153
- ],
154
- name: 'Unpaused',
155
- type: 'event',
156
- },
157
- {
158
- constant: false,
159
- inputs: [
160
- {
161
- internalType: 'address',
162
- name: 'to',
163
- type: 'address',
164
- },
165
- {
166
- internalType: 'uint256',
167
- name: 'tokenId',
168
- type: 'uint256',
169
- },
170
- ],
171
- name: 'approve',
172
- outputs: [],
173
- payable: false,
174
- stateMutability: 'nonpayable',
175
- type: 'function',
176
- },
177
- {
178
- constant: true,
179
- inputs: [
180
- {
181
- internalType: 'address',
182
- name: 'owner',
183
- type: 'address',
184
- },
185
- ],
186
- name: 'balanceOf',
187
- outputs: [
188
- {
189
- internalType: 'uint256',
190
- name: '',
191
- type: 'uint256',
192
- },
193
- ],
194
- payable: false,
195
- stateMutability: 'view',
196
- type: 'function',
197
- },
198
- {
199
- constant: true,
200
- inputs: [],
201
- name: 'baseURI',
202
- outputs: [
203
- {
204
- internalType: 'string',
205
- name: '',
206
- type: 'string',
207
- },
208
- ],
209
- payable: false,
210
- stateMutability: 'view',
211
- type: 'function',
212
- },
213
- {
214
- constant: false,
215
- inputs: [
216
- {
217
- internalType: 'uint256',
218
- name: 'punkIndex',
219
- type: 'uint256',
220
- },
221
- ],
222
- name: 'burn',
223
- outputs: [],
224
- payable: false,
225
- stateMutability: 'nonpayable',
226
- type: 'function',
227
- },
228
- {
229
- constant: true,
230
- inputs: [
231
- {
232
- internalType: 'uint256',
233
- name: 'tokenId',
234
- type: 'uint256',
235
- },
236
- ],
237
- name: 'getApproved',
238
- outputs: [
239
- {
240
- internalType: 'address',
241
- name: '',
242
- type: 'address',
243
- },
244
- ],
245
- payable: false,
246
- stateMutability: 'view',
247
- type: 'function',
248
- },
249
- {
250
- constant: true,
251
- inputs: [
252
- {
253
- internalType: 'address',
254
- name: 'owner',
255
- type: 'address',
256
- },
257
- {
258
- internalType: 'address',
259
- name: 'operator',
260
- type: 'address',
261
- },
262
- ],
263
- name: 'isApprovedForAll',
264
- outputs: [
265
- {
266
- internalType: 'bool',
267
- name: '',
268
- type: 'bool',
269
- },
270
- ],
271
- payable: false,
272
- stateMutability: 'view',
273
- type: 'function',
274
- },
275
- {
276
- constant: false,
277
- inputs: [
278
- {
279
- internalType: 'uint256',
280
- name: 'punkIndex',
281
- type: 'uint256',
282
- },
283
- ],
284
- name: 'mint',
285
- outputs: [],
286
- payable: false,
287
- stateMutability: 'nonpayable',
288
- type: 'function',
289
- },
290
- {
291
- constant: true,
292
- inputs: [],
293
- name: 'name',
294
- outputs: [
295
- {
296
- internalType: 'string',
297
- name: '',
298
- type: 'string',
299
- },
300
- ],
301
- payable: false,
302
- stateMutability: 'view',
303
- type: 'function',
304
- },
305
- {
306
- constant: true,
307
- inputs: [],
308
- name: 'owner',
309
- outputs: [
310
- {
311
- internalType: 'address',
312
- name: '',
313
- type: 'address',
314
- },
315
- ],
316
- payable: false,
317
- stateMutability: 'view',
318
- type: 'function',
319
- },
320
- {
321
- constant: true,
322
- inputs: [
323
- {
324
- internalType: 'uint256',
325
- name: 'tokenId',
326
- type: 'uint256',
327
- },
328
- ],
329
- name: 'ownerOf',
330
- outputs: [
331
- {
332
- internalType: 'address',
333
- name: '',
334
- type: 'address',
335
- },
336
- ],
337
- payable: false,
338
- stateMutability: 'view',
339
- type: 'function',
340
- },
341
- {
342
- constant: false,
343
- inputs: [],
344
- name: 'pause',
345
- outputs: [],
346
- payable: false,
347
- stateMutability: 'nonpayable',
348
- type: 'function',
349
- },
350
- {
351
- constant: true,
352
- inputs: [],
353
- name: 'paused',
354
- outputs: [
355
- {
356
- internalType: 'bool',
357
- name: '',
358
- type: 'bool',
359
- },
360
- ],
361
- payable: false,
362
- stateMutability: 'view',
363
- type: 'function',
364
- },
365
- {
366
- constant: true,
367
- inputs: [
368
- {
369
- internalType: 'address',
370
- name: 'user',
371
- type: 'address',
372
- },
373
- ],
374
- name: 'proxyInfo',
375
- outputs: [
376
- {
377
- internalType: 'address',
378
- name: '',
379
- type: 'address',
380
- },
381
- ],
382
- payable: false,
383
- stateMutability: 'view',
384
- type: 'function',
385
- },
386
- {
387
- constant: true,
388
- inputs: [],
389
- name: 'punkContract',
390
- outputs: [
391
- {
392
- internalType: 'address',
393
- name: '',
394
- type: 'address',
395
- },
396
- ],
397
- payable: false,
398
- stateMutability: 'view',
399
- type: 'function',
400
- },
401
- {
402
- constant: false,
403
- inputs: [],
404
- name: 'registerProxy',
405
- outputs: [],
406
- payable: false,
407
- stateMutability: 'nonpayable',
408
- type: 'function',
409
- },
410
- {
411
- constant: false,
412
- inputs: [],
413
- name: 'renounceOwnership',
414
- outputs: [],
415
- payable: false,
416
- stateMutability: 'nonpayable',
417
- type: 'function',
418
- },
419
- {
420
- constant: false,
421
- inputs: [
422
- {
423
- internalType: 'address',
424
- name: 'from',
425
- type: 'address',
426
- },
427
- {
428
- internalType: 'address',
429
- name: 'to',
430
- type: 'address',
431
- },
432
- {
433
- internalType: 'uint256',
434
- name: 'tokenId',
435
- type: 'uint256',
436
- },
437
- ],
438
- name: 'safeTransferFrom',
439
- outputs: [],
440
- payable: false,
441
- stateMutability: 'nonpayable',
442
- type: 'function',
443
- },
444
- {
445
- constant: false,
446
- inputs: [
447
- {
448
- internalType: 'address',
449
- name: 'from',
450
- type: 'address',
451
- },
452
- {
453
- internalType: 'address',
454
- name: 'to',
455
- type: 'address',
456
- },
457
- {
458
- internalType: 'uint256',
459
- name: 'tokenId',
460
- type: 'uint256',
461
- },
462
- {
463
- internalType: 'bytes',
464
- name: '_data',
465
- type: 'bytes',
466
- },
467
- ],
468
- name: 'safeTransferFrom',
469
- outputs: [],
470
- payable: false,
471
- stateMutability: 'nonpayable',
472
- type: 'function',
473
- },
474
- {
475
- constant: false,
476
- inputs: [
477
- {
478
- internalType: 'address',
479
- name: 'to',
480
- type: 'address',
481
- },
482
- {
483
- internalType: 'bool',
484
- name: 'approved',
485
- type: 'bool',
486
- },
487
- ],
488
- name: 'setApprovalForAll',
489
- outputs: [],
490
- payable: false,
491
- stateMutability: 'nonpayable',
492
- type: 'function',
493
- },
494
- {
495
- constant: false,
496
- inputs: [
497
- {
498
- internalType: 'string',
499
- name: 'baseUri',
500
- type: 'string',
501
- },
502
- ],
503
- name: 'setBaseURI',
504
- outputs: [],
505
- payable: false,
506
- stateMutability: 'nonpayable',
507
- type: 'function',
508
- },
509
- {
510
- constant: true,
511
- inputs: [
512
- {
513
- internalType: 'bytes4',
514
- name: 'interfaceId',
515
- type: 'bytes4',
516
- },
517
- ],
518
- name: 'supportsInterface',
519
- outputs: [
520
- {
521
- internalType: 'bool',
522
- name: '',
523
- type: 'bool',
524
- },
525
- ],
526
- payable: false,
527
- stateMutability: 'view',
528
- type: 'function',
529
- },
530
- {
531
- constant: true,
532
- inputs: [],
533
- name: 'symbol',
534
- outputs: [
535
- {
536
- internalType: 'string',
537
- name: '',
538
- type: 'string',
539
- },
540
- ],
541
- payable: false,
542
- stateMutability: 'view',
543
- type: 'function',
544
- },
545
- {
546
- constant: true,
547
- inputs: [
548
- {
549
- internalType: 'uint256',
550
- name: 'index',
551
- type: 'uint256',
552
- },
553
- ],
554
- name: 'tokenByIndex',
555
- outputs: [
556
- {
557
- internalType: 'uint256',
558
- name: '',
559
- type: 'uint256',
560
- },
561
- ],
562
- payable: false,
563
- stateMutability: 'view',
564
- type: 'function',
565
- },
566
- {
567
- constant: true,
568
- inputs: [
569
- {
570
- internalType: 'address',
571
- name: 'owner',
572
- type: 'address',
573
- },
574
- {
575
- internalType: 'uint256',
576
- name: 'index',
577
- type: 'uint256',
578
- },
579
- ],
580
- name: 'tokenOfOwnerByIndex',
581
- outputs: [
582
- {
583
- internalType: 'uint256',
584
- name: '',
585
- type: 'uint256',
586
- },
587
- ],
588
- payable: false,
589
- stateMutability: 'view',
590
- type: 'function',
591
- },
592
- {
593
- constant: true,
594
- inputs: [
595
- {
596
- internalType: 'uint256',
597
- name: 'tokenId',
598
- type: 'uint256',
599
- },
600
- ],
601
- name: 'tokenURI',
602
- outputs: [
603
- {
604
- internalType: 'string',
605
- name: '',
606
- type: 'string',
607
- },
608
- ],
609
- payable: false,
610
- stateMutability: 'view',
611
- type: 'function',
612
- },
613
- {
614
- constant: true,
615
- inputs: [],
616
- name: 'totalSupply',
617
- outputs: [
618
- {
619
- internalType: 'uint256',
620
- name: '',
621
- type: 'uint256',
622
- },
623
- ],
624
- payable: false,
625
- stateMutability: 'view',
626
- type: 'function',
627
- },
628
- {
629
- constant: false,
630
- inputs: [
631
- {
632
- internalType: 'address',
633
- name: 'from',
634
- type: 'address',
635
- },
636
- {
637
- internalType: 'address',
638
- name: 'to',
639
- type: 'address',
640
- },
641
- {
642
- internalType: 'uint256',
643
- name: 'tokenId',
644
- type: 'uint256',
645
- },
646
- ],
647
- name: 'transferFrom',
648
- outputs: [],
649
- payable: false,
650
- stateMutability: 'nonpayable',
651
- type: 'function',
652
- },
653
- {
654
- constant: false,
655
- inputs: [
656
- {
657
- internalType: 'address',
658
- name: 'newOwner',
659
- type: 'address',
660
- },
661
- ],
662
- name: 'transferOwnership',
663
- outputs: [],
664
- payable: false,
665
- stateMutability: 'nonpayable',
666
- type: 'function',
667
- },
668
- {
669
- constant: false,
670
- inputs: [],
671
- name: 'unpause',
672
- outputs: [],
673
- payable: false,
674
- stateMutability: 'nonpayable',
675
- type: 'function',
676
- },
677
- ];
678
- export class Erc721__factory {
679
- static createInterface() {
680
- return new utils.Interface(_abi);
681
- }
682
- static connect(address, signerOrProvider) {
683
- return new Contract(address, _abi, signerOrProvider);
684
- }
685
- }
686
- Erc721__factory.abi = _abi;
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from 'ethers';
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: 'address',
10
+ name: 'punkContract',
11
+ type: 'address',
12
+ },
13
+ ],
14
+ payable: false,
15
+ stateMutability: 'nonpayable',
16
+ type: 'constructor',
17
+ },
18
+ {
19
+ anonymous: false,
20
+ inputs: [
21
+ {
22
+ indexed: true,
23
+ internalType: 'address',
24
+ name: 'owner',
25
+ type: 'address',
26
+ },
27
+ {
28
+ indexed: true,
29
+ internalType: 'address',
30
+ name: 'approved',
31
+ type: 'address',
32
+ },
33
+ {
34
+ indexed: true,
35
+ internalType: 'uint256',
36
+ name: 'tokenId',
37
+ type: 'uint256',
38
+ },
39
+ ],
40
+ name: 'Approval',
41
+ type: 'event',
42
+ },
43
+ {
44
+ anonymous: false,
45
+ inputs: [
46
+ {
47
+ indexed: true,
48
+ internalType: 'address',
49
+ name: 'owner',
50
+ type: 'address',
51
+ },
52
+ {
53
+ indexed: true,
54
+ internalType: 'address',
55
+ name: 'operator',
56
+ type: 'address',
57
+ },
58
+ {
59
+ indexed: false,
60
+ internalType: 'bool',
61
+ name: 'approved',
62
+ type: 'bool',
63
+ },
64
+ ],
65
+ name: 'ApprovalForAll',
66
+ type: 'event',
67
+ },
68
+ {
69
+ anonymous: false,
70
+ inputs: [
71
+ {
72
+ indexed: true,
73
+ internalType: 'address',
74
+ name: 'previousOwner',
75
+ type: 'address',
76
+ },
77
+ {
78
+ indexed: true,
79
+ internalType: 'address',
80
+ name: 'newOwner',
81
+ type: 'address',
82
+ },
83
+ ],
84
+ name: 'OwnershipTransferred',
85
+ type: 'event',
86
+ },
87
+ {
88
+ anonymous: false,
89
+ inputs: [
90
+ {
91
+ indexed: false,
92
+ internalType: 'address',
93
+ name: 'account',
94
+ type: 'address',
95
+ },
96
+ ],
97
+ name: 'Paused',
98
+ type: 'event',
99
+ },
100
+ {
101
+ anonymous: false,
102
+ inputs: [
103
+ {
104
+ indexed: false,
105
+ internalType: 'address',
106
+ name: 'user',
107
+ type: 'address',
108
+ },
109
+ {
110
+ indexed: false,
111
+ internalType: 'address',
112
+ name: 'proxy',
113
+ type: 'address',
114
+ },
115
+ ],
116
+ name: 'ProxyRegistered',
117
+ type: 'event',
118
+ },
119
+ {
120
+ anonymous: false,
121
+ inputs: [
122
+ {
123
+ indexed: true,
124
+ internalType: 'address',
125
+ name: 'from',
126
+ type: 'address',
127
+ },
128
+ {
129
+ indexed: true,
130
+ internalType: 'address',
131
+ name: 'to',
132
+ type: 'address',
133
+ },
134
+ {
135
+ indexed: true,
136
+ internalType: 'uint256',
137
+ name: 'tokenId',
138
+ type: 'uint256',
139
+ },
140
+ ],
141
+ name: 'Transfer',
142
+ type: 'event',
143
+ },
144
+ {
145
+ anonymous: false,
146
+ inputs: [
147
+ {
148
+ indexed: false,
149
+ internalType: 'address',
150
+ name: 'account',
151
+ type: 'address',
152
+ },
153
+ ],
154
+ name: 'Unpaused',
155
+ type: 'event',
156
+ },
157
+ {
158
+ constant: false,
159
+ inputs: [
160
+ {
161
+ internalType: 'address',
162
+ name: 'to',
163
+ type: 'address',
164
+ },
165
+ {
166
+ internalType: 'uint256',
167
+ name: 'tokenId',
168
+ type: 'uint256',
169
+ },
170
+ ],
171
+ name: 'approve',
172
+ outputs: [],
173
+ payable: false,
174
+ stateMutability: 'nonpayable',
175
+ type: 'function',
176
+ },
177
+ {
178
+ constant: true,
179
+ inputs: [
180
+ {
181
+ internalType: 'address',
182
+ name: 'owner',
183
+ type: 'address',
184
+ },
185
+ ],
186
+ name: 'balanceOf',
187
+ outputs: [
188
+ {
189
+ internalType: 'uint256',
190
+ name: '',
191
+ type: 'uint256',
192
+ },
193
+ ],
194
+ payable: false,
195
+ stateMutability: 'view',
196
+ type: 'function',
197
+ },
198
+ {
199
+ constant: true,
200
+ inputs: [],
201
+ name: 'baseURI',
202
+ outputs: [
203
+ {
204
+ internalType: 'string',
205
+ name: '',
206
+ type: 'string',
207
+ },
208
+ ],
209
+ payable: false,
210
+ stateMutability: 'view',
211
+ type: 'function',
212
+ },
213
+ {
214
+ constant: false,
215
+ inputs: [
216
+ {
217
+ internalType: 'uint256',
218
+ name: 'punkIndex',
219
+ type: 'uint256',
220
+ },
221
+ ],
222
+ name: 'burn',
223
+ outputs: [],
224
+ payable: false,
225
+ stateMutability: 'nonpayable',
226
+ type: 'function',
227
+ },
228
+ {
229
+ constant: true,
230
+ inputs: [
231
+ {
232
+ internalType: 'uint256',
233
+ name: 'tokenId',
234
+ type: 'uint256',
235
+ },
236
+ ],
237
+ name: 'getApproved',
238
+ outputs: [
239
+ {
240
+ internalType: 'address',
241
+ name: '',
242
+ type: 'address',
243
+ },
244
+ ],
245
+ payable: false,
246
+ stateMutability: 'view',
247
+ type: 'function',
248
+ },
249
+ {
250
+ constant: true,
251
+ inputs: [
252
+ {
253
+ internalType: 'address',
254
+ name: 'owner',
255
+ type: 'address',
256
+ },
257
+ {
258
+ internalType: 'address',
259
+ name: 'operator',
260
+ type: 'address',
261
+ },
262
+ ],
263
+ name: 'isApprovedForAll',
264
+ outputs: [
265
+ {
266
+ internalType: 'bool',
267
+ name: '',
268
+ type: 'bool',
269
+ },
270
+ ],
271
+ payable: false,
272
+ stateMutability: 'view',
273
+ type: 'function',
274
+ },
275
+ {
276
+ constant: false,
277
+ inputs: [
278
+ {
279
+ internalType: 'uint256',
280
+ name: 'punkIndex',
281
+ type: 'uint256',
282
+ },
283
+ ],
284
+ name: 'mint',
285
+ outputs: [],
286
+ payable: false,
287
+ stateMutability: 'nonpayable',
288
+ type: 'function',
289
+ },
290
+ {
291
+ constant: true,
292
+ inputs: [],
293
+ name: 'name',
294
+ outputs: [
295
+ {
296
+ internalType: 'string',
297
+ name: '',
298
+ type: 'string',
299
+ },
300
+ ],
301
+ payable: false,
302
+ stateMutability: 'view',
303
+ type: 'function',
304
+ },
305
+ {
306
+ constant: true,
307
+ inputs: [],
308
+ name: 'owner',
309
+ outputs: [
310
+ {
311
+ internalType: 'address',
312
+ name: '',
313
+ type: 'address',
314
+ },
315
+ ],
316
+ payable: false,
317
+ stateMutability: 'view',
318
+ type: 'function',
319
+ },
320
+ {
321
+ constant: true,
322
+ inputs: [
323
+ {
324
+ internalType: 'uint256',
325
+ name: 'tokenId',
326
+ type: 'uint256',
327
+ },
328
+ ],
329
+ name: 'ownerOf',
330
+ outputs: [
331
+ {
332
+ internalType: 'address',
333
+ name: '',
334
+ type: 'address',
335
+ },
336
+ ],
337
+ payable: false,
338
+ stateMutability: 'view',
339
+ type: 'function',
340
+ },
341
+ {
342
+ constant: false,
343
+ inputs: [],
344
+ name: 'pause',
345
+ outputs: [],
346
+ payable: false,
347
+ stateMutability: 'nonpayable',
348
+ type: 'function',
349
+ },
350
+ {
351
+ constant: true,
352
+ inputs: [],
353
+ name: 'paused',
354
+ outputs: [
355
+ {
356
+ internalType: 'bool',
357
+ name: '',
358
+ type: 'bool',
359
+ },
360
+ ],
361
+ payable: false,
362
+ stateMutability: 'view',
363
+ type: 'function',
364
+ },
365
+ {
366
+ constant: true,
367
+ inputs: [
368
+ {
369
+ internalType: 'address',
370
+ name: 'user',
371
+ type: 'address',
372
+ },
373
+ ],
374
+ name: 'proxyInfo',
375
+ outputs: [
376
+ {
377
+ internalType: 'address',
378
+ name: '',
379
+ type: 'address',
380
+ },
381
+ ],
382
+ payable: false,
383
+ stateMutability: 'view',
384
+ type: 'function',
385
+ },
386
+ {
387
+ constant: true,
388
+ inputs: [],
389
+ name: 'punkContract',
390
+ outputs: [
391
+ {
392
+ internalType: 'address',
393
+ name: '',
394
+ type: 'address',
395
+ },
396
+ ],
397
+ payable: false,
398
+ stateMutability: 'view',
399
+ type: 'function',
400
+ },
401
+ {
402
+ constant: false,
403
+ inputs: [],
404
+ name: 'registerProxy',
405
+ outputs: [],
406
+ payable: false,
407
+ stateMutability: 'nonpayable',
408
+ type: 'function',
409
+ },
410
+ {
411
+ constant: false,
412
+ inputs: [],
413
+ name: 'renounceOwnership',
414
+ outputs: [],
415
+ payable: false,
416
+ stateMutability: 'nonpayable',
417
+ type: 'function',
418
+ },
419
+ {
420
+ constant: false,
421
+ inputs: [
422
+ {
423
+ internalType: 'address',
424
+ name: 'from',
425
+ type: 'address',
426
+ },
427
+ {
428
+ internalType: 'address',
429
+ name: 'to',
430
+ type: 'address',
431
+ },
432
+ {
433
+ internalType: 'uint256',
434
+ name: 'tokenId',
435
+ type: 'uint256',
436
+ },
437
+ ],
438
+ name: 'safeTransferFrom',
439
+ outputs: [],
440
+ payable: false,
441
+ stateMutability: 'nonpayable',
442
+ type: 'function',
443
+ },
444
+ {
445
+ constant: false,
446
+ inputs: [
447
+ {
448
+ internalType: 'address',
449
+ name: 'from',
450
+ type: 'address',
451
+ },
452
+ {
453
+ internalType: 'address',
454
+ name: 'to',
455
+ type: 'address',
456
+ },
457
+ {
458
+ internalType: 'uint256',
459
+ name: 'tokenId',
460
+ type: 'uint256',
461
+ },
462
+ {
463
+ internalType: 'bytes',
464
+ name: '_data',
465
+ type: 'bytes',
466
+ },
467
+ ],
468
+ name: 'safeTransferFrom',
469
+ outputs: [],
470
+ payable: false,
471
+ stateMutability: 'nonpayable',
472
+ type: 'function',
473
+ },
474
+ {
475
+ constant: false,
476
+ inputs: [
477
+ {
478
+ internalType: 'address',
479
+ name: 'to',
480
+ type: 'address',
481
+ },
482
+ {
483
+ internalType: 'bool',
484
+ name: 'approved',
485
+ type: 'bool',
486
+ },
487
+ ],
488
+ name: 'setApprovalForAll',
489
+ outputs: [],
490
+ payable: false,
491
+ stateMutability: 'nonpayable',
492
+ type: 'function',
493
+ },
494
+ {
495
+ constant: false,
496
+ inputs: [
497
+ {
498
+ internalType: 'string',
499
+ name: 'baseUri',
500
+ type: 'string',
501
+ },
502
+ ],
503
+ name: 'setBaseURI',
504
+ outputs: [],
505
+ payable: false,
506
+ stateMutability: 'nonpayable',
507
+ type: 'function',
508
+ },
509
+ {
510
+ constant: true,
511
+ inputs: [
512
+ {
513
+ internalType: 'bytes4',
514
+ name: 'interfaceId',
515
+ type: 'bytes4',
516
+ },
517
+ ],
518
+ name: 'supportsInterface',
519
+ outputs: [
520
+ {
521
+ internalType: 'bool',
522
+ name: '',
523
+ type: 'bool',
524
+ },
525
+ ],
526
+ payable: false,
527
+ stateMutability: 'view',
528
+ type: 'function',
529
+ },
530
+ {
531
+ constant: true,
532
+ inputs: [],
533
+ name: 'symbol',
534
+ outputs: [
535
+ {
536
+ internalType: 'string',
537
+ name: '',
538
+ type: 'string',
539
+ },
540
+ ],
541
+ payable: false,
542
+ stateMutability: 'view',
543
+ type: 'function',
544
+ },
545
+ {
546
+ constant: true,
547
+ inputs: [
548
+ {
549
+ internalType: 'uint256',
550
+ name: 'index',
551
+ type: 'uint256',
552
+ },
553
+ ],
554
+ name: 'tokenByIndex',
555
+ outputs: [
556
+ {
557
+ internalType: 'uint256',
558
+ name: '',
559
+ type: 'uint256',
560
+ },
561
+ ],
562
+ payable: false,
563
+ stateMutability: 'view',
564
+ type: 'function',
565
+ },
566
+ {
567
+ constant: true,
568
+ inputs: [
569
+ {
570
+ internalType: 'address',
571
+ name: 'owner',
572
+ type: 'address',
573
+ },
574
+ {
575
+ internalType: 'uint256',
576
+ name: 'index',
577
+ type: 'uint256',
578
+ },
579
+ ],
580
+ name: 'tokenOfOwnerByIndex',
581
+ outputs: [
582
+ {
583
+ internalType: 'uint256',
584
+ name: '',
585
+ type: 'uint256',
586
+ },
587
+ ],
588
+ payable: false,
589
+ stateMutability: 'view',
590
+ type: 'function',
591
+ },
592
+ {
593
+ constant: true,
594
+ inputs: [
595
+ {
596
+ internalType: 'uint256',
597
+ name: 'tokenId',
598
+ type: 'uint256',
599
+ },
600
+ ],
601
+ name: 'tokenURI',
602
+ outputs: [
603
+ {
604
+ internalType: 'string',
605
+ name: '',
606
+ type: 'string',
607
+ },
608
+ ],
609
+ payable: false,
610
+ stateMutability: 'view',
611
+ type: 'function',
612
+ },
613
+ {
614
+ constant: true,
615
+ inputs: [],
616
+ name: 'totalSupply',
617
+ outputs: [
618
+ {
619
+ internalType: 'uint256',
620
+ name: '',
621
+ type: 'uint256',
622
+ },
623
+ ],
624
+ payable: false,
625
+ stateMutability: 'view',
626
+ type: 'function',
627
+ },
628
+ {
629
+ constant: false,
630
+ inputs: [
631
+ {
632
+ internalType: 'address',
633
+ name: 'from',
634
+ type: 'address',
635
+ },
636
+ {
637
+ internalType: 'address',
638
+ name: 'to',
639
+ type: 'address',
640
+ },
641
+ {
642
+ internalType: 'uint256',
643
+ name: 'tokenId',
644
+ type: 'uint256',
645
+ },
646
+ ],
647
+ name: 'transferFrom',
648
+ outputs: [],
649
+ payable: false,
650
+ stateMutability: 'nonpayable',
651
+ type: 'function',
652
+ },
653
+ {
654
+ constant: false,
655
+ inputs: [
656
+ {
657
+ internalType: 'address',
658
+ name: 'newOwner',
659
+ type: 'address',
660
+ },
661
+ ],
662
+ name: 'transferOwnership',
663
+ outputs: [],
664
+ payable: false,
665
+ stateMutability: 'nonpayable',
666
+ type: 'function',
667
+ },
668
+ {
669
+ constant: false,
670
+ inputs: [],
671
+ name: 'unpause',
672
+ outputs: [],
673
+ payable: false,
674
+ stateMutability: 'nonpayable',
675
+ type: 'function',
676
+ },
677
+ ];
678
+ export class Erc721__factory {
679
+ static createInterface() {
680
+ return new utils.Interface(_abi);
681
+ }
682
+ static connect(address, signerOrProvider) {
683
+ return new Contract(address, _abi, signerOrProvider);
684
+ }
685
+ }
686
+ Erc721__factory.abi = _abi;
687
687
  //# sourceMappingURL=Erc721__factory.js.map