@huma-finance/shared 0.0.30 → 0.0.31

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 (525) 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/BaseFeeManager.json +480 -480
  5. package/dist/abis/BasePoolConfig.json +1364 -1364
  6. package/dist/abis/ERC20TransferableReceivable.json +648 -648
  7. package/dist/abis/HDT.json +512 -512
  8. package/dist/abis/IConstantFlowAgreementV1.json +890 -890
  9. package/dist/abis/ISuperfluid.json +1122 -1122
  10. package/dist/abis/InvoiceNFT.json +625 -625
  11. package/dist/abis/Multisend.json +26 -26
  12. package/dist/abis/RealWorldReceivable.json +823 -823
  13. package/dist/abis/ReceivableFactoringPool.json +1529 -1529
  14. package/dist/abis/StreamFactoringPool.json +1523 -1523
  15. package/dist/abis/StreamFeeManager.json +522 -522
  16. package/dist/abis/SuperfluidPoolProcessor.json +692 -692
  17. package/dist/abis/TestERC20.json +358 -358
  18. package/dist/abis/TradableStream.json +850 -850
  19. package/dist/abis/Transfer.json +24 -24
  20. package/dist/abis/TransferNFT.json +27 -27
  21. package/dist/abis/erc20.json +117 -117
  22. package/dist/abis/erc2612.json +132 -132
  23. package/dist/abis/erc721.json +673 -673
  24. package/dist/abis/index.d.ts +3 -3
  25. package/dist/abis/index.js +3 -3
  26. package/dist/abis/types/BaseCreditPool.d.ts +803 -803
  27. package/dist/abis/types/BaseCreditPool.js +1 -1
  28. package/dist/abis/types/BaseFeeManager.d.ts +408 -408
  29. package/dist/abis/types/BaseFeeManager.js +1 -1
  30. package/dist/abis/types/BasePoolConfig.d.ts +1097 -1097
  31. package/dist/abis/types/BasePoolConfig.js +1 -1
  32. package/dist/abis/types/ERC20TransferableReceivable.d.ts +407 -407
  33. package/dist/abis/types/ERC20TransferableReceivable.js +1 -1
  34. package/dist/abis/types/Erc20.d.ts +168 -168
  35. package/dist/abis/types/Erc20.js +1 -1
  36. package/dist/abis/types/Erc2612.d.ts +192 -192
  37. package/dist/abis/types/Erc2612.js +1 -1
  38. package/dist/abis/types/Erc721.d.ts +474 -474
  39. package/dist/abis/types/Erc721.js +1 -1
  40. package/dist/abis/types/HDT.d.ts +369 -369
  41. package/dist/abis/types/HDT.js +1 -1
  42. package/dist/abis/types/IConstantFlowAgreementV1.d.ts +573 -573
  43. package/dist/abis/types/IConstantFlowAgreementV1.js +1 -1
  44. package/dist/abis/types/ISuperfluid.d.ts +728 -728
  45. package/dist/abis/types/ISuperfluid.js +1 -1
  46. package/dist/abis/types/InvoiceNFT.d.ts +425 -425
  47. package/dist/abis/types/InvoiceNFT.js +1 -1
  48. package/dist/abis/types/Multisend.d.ts +50 -50
  49. package/dist/abis/types/Multisend.js +1 -1
  50. package/dist/abis/types/RealWorldReceivable.d.ts +564 -564
  51. package/dist/abis/types/RealWorldReceivable.js +1 -1
  52. package/dist/abis/types/ReceivableFactoringPool.d.ts +999 -999
  53. package/dist/abis/types/ReceivableFactoringPool.js +1 -1
  54. package/dist/abis/types/StreamFactoringPool.d.ts +985 -985
  55. package/dist/abis/types/StreamFactoringPool.js +1 -1
  56. package/dist/abis/types/StreamFeeManager.d.ts +440 -440
  57. package/dist/abis/types/StreamFeeManager.js +1 -1
  58. package/dist/abis/types/SuperfluidPoolProcessor.d.ts +398 -398
  59. package/dist/abis/types/SuperfluidPoolProcessor.js +1 -1
  60. package/dist/abis/types/TestERC20.d.ts +270 -270
  61. package/dist/abis/types/TestERC20.js +1 -1
  62. package/dist/abis/types/TradableStream.d.ts +607 -607
  63. package/dist/abis/types/TradableStream.js +1 -1
  64. package/dist/abis/types/Transfer.d.ts +45 -45
  65. package/dist/abis/types/Transfer.js +1 -1
  66. package/dist/abis/types/TransferNFT.d.ts +45 -45
  67. package/dist/abis/types/TransferNFT.js +1 -1
  68. package/dist/abis/types/common.d.ts +22 -22
  69. package/dist/abis/types/common.js +1 -1
  70. package/dist/abis/types/factories/BaseCreditPool__factory.d.ts +931 -931
  71. package/dist/abis/types/factories/BaseCreditPool__factory.js +1192 -1192
  72. package/dist/abis/types/factories/BaseFeeManager__factory.d.ts +379 -379
  73. package/dist/abis/types/factories/BaseFeeManager__factory.js +493 -493
  74. package/dist/abis/types/factories/BasePoolConfig__factory.d.ts +1074 -1074
  75. package/dist/abis/types/factories/BasePoolConfig__factory.js +1377 -1377
  76. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +508 -508
  77. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js +661 -661
  78. package/dist/abis/types/factories/Erc20__factory.d.ts +175 -175
  79. package/dist/abis/types/factories/Erc20__factory.js +235 -235
  80. package/dist/abis/types/factories/Erc2612__factory.d.ts +209 -209
  81. package/dist/abis/types/factories/Erc2612__factory.js +278 -278
  82. package/dist/abis/types/factories/Erc721__factory.d.ts +539 -539
  83. package/dist/abis/types/factories/Erc721__factory.js +686 -686
  84. package/dist/abis/types/factories/HDT__factory.d.ts +399 -399
  85. package/dist/abis/types/factories/HDT__factory.js +525 -525
  86. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +695 -695
  87. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js +903 -903
  88. package/dist/abis/types/factories/ISuperfluid__factory.d.ts +866 -866
  89. package/dist/abis/types/factories/ISuperfluid__factory.js +1135 -1135
  90. package/dist/abis/types/factories/InvoiceNFT__factory.d.ts +489 -489
  91. package/dist/abis/types/factories/InvoiceNFT__factory.js +638 -638
  92. package/dist/abis/types/factories/Multisend__factory.d.ts +26 -26
  93. package/dist/abis/types/factories/Multisend__factory.js +39 -39
  94. package/dist/abis/types/factories/RealWorldReceivable__factory.d.ts +645 -645
  95. package/dist/abis/types/factories/RealWorldReceivable__factory.js +836 -836
  96. package/dist/abis/types/factories/ReceivableFactoringPool__factory.d.ts +1204 -1204
  97. package/dist/abis/types/factories/ReceivableFactoringPool__factory.js +1542 -1542
  98. package/dist/abis/types/factories/StreamFactoringPool__factory.d.ts +1200 -1200
  99. package/dist/abis/types/factories/StreamFactoringPool__factory.js +1536 -1536
  100. package/dist/abis/types/factories/StreamFeeManager__factory.d.ts +412 -412
  101. package/dist/abis/types/factories/StreamFeeManager__factory.js +535 -535
  102. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -546
  103. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js +705 -705
  104. package/dist/abis/types/factories/TestERC20__factory.d.ts +280 -280
  105. package/dist/abis/types/factories/TestERC20__factory.js +371 -371
  106. package/dist/abis/types/factories/TradableStream__factory.d.ts +663 -663
  107. package/dist/abis/types/factories/TradableStream__factory.js +863 -863
  108. package/dist/abis/types/factories/TransferNFT__factory.d.ts +28 -28
  109. package/dist/abis/types/factories/TransferNFT__factory.js +40 -40
  110. package/dist/abis/types/factories/Transfer__factory.d.ts +25 -25
  111. package/dist/abis/types/factories/Transfer__factory.js +37 -37
  112. package/dist/abis/types/factories/index.d.ts +21 -21
  113. package/dist/abis/types/factories/index.js +24 -24
  114. package/dist/abis/types/index.d.ts +43 -43
  115. package/dist/abis/types/index.js +22 -22
  116. package/dist/cjs/abis/BaseCreditPool.json +1179 -1179
  117. package/dist/cjs/abis/BaseFeeManager.json +480 -480
  118. package/dist/cjs/abis/BasePoolConfig.json +1364 -1364
  119. package/dist/cjs/abis/ERC20TransferableReceivable.json +648 -648
  120. package/dist/cjs/abis/HDT.json +512 -512
  121. package/dist/cjs/abis/IConstantFlowAgreementV1.json +890 -890
  122. package/dist/cjs/abis/ISuperfluid.json +1122 -1122
  123. package/dist/cjs/abis/InvoiceNFT.json +625 -625
  124. package/dist/cjs/abis/Multisend.json +26 -26
  125. package/dist/cjs/abis/RealWorldReceivable.json +823 -823
  126. package/dist/cjs/abis/ReceivableFactoringPool.json +1529 -1529
  127. package/dist/cjs/abis/StreamFactoringPool.json +1523 -1523
  128. package/dist/cjs/abis/StreamFeeManager.json +522 -522
  129. package/dist/cjs/abis/SuperfluidPoolProcessor.json +692 -692
  130. package/dist/cjs/abis/TestERC20.json +358 -358
  131. package/dist/cjs/abis/TradableStream.json +850 -850
  132. package/dist/cjs/abis/Transfer.json +24 -24
  133. package/dist/cjs/abis/TransferNFT.json +27 -27
  134. package/dist/cjs/abis/erc20.json +117 -117
  135. package/dist/cjs/abis/erc2612.json +132 -132
  136. package/dist/cjs/abis/erc721.json +673 -673
  137. package/dist/cjs/abis/index.d.ts +3 -3
  138. package/dist/cjs/abis/index.js +12 -12
  139. package/dist/cjs/abis/types/BaseCreditPool.d.ts +803 -803
  140. package/dist/cjs/abis/types/BaseCreditPool.js +2 -2
  141. package/dist/cjs/abis/types/BaseFeeManager.d.ts +408 -408
  142. package/dist/cjs/abis/types/BaseFeeManager.js +2 -2
  143. package/dist/cjs/abis/types/BasePoolConfig.d.ts +1097 -1097
  144. package/dist/cjs/abis/types/BasePoolConfig.js +2 -2
  145. package/dist/cjs/abis/types/ERC20TransferableReceivable.d.ts +407 -407
  146. package/dist/cjs/abis/types/ERC20TransferableReceivable.js +2 -2
  147. package/dist/cjs/abis/types/Erc20.d.ts +168 -168
  148. package/dist/cjs/abis/types/Erc20.js +2 -2
  149. package/dist/cjs/abis/types/Erc2612.d.ts +192 -192
  150. package/dist/cjs/abis/types/Erc2612.js +2 -2
  151. package/dist/cjs/abis/types/Erc721.d.ts +474 -474
  152. package/dist/cjs/abis/types/Erc721.js +2 -2
  153. package/dist/cjs/abis/types/HDT.d.ts +369 -369
  154. package/dist/cjs/abis/types/HDT.js +2 -2
  155. package/dist/cjs/abis/types/IConstantFlowAgreementV1.d.ts +573 -573
  156. package/dist/cjs/abis/types/IConstantFlowAgreementV1.js +2 -2
  157. package/dist/cjs/abis/types/ISuperfluid.d.ts +728 -728
  158. package/dist/cjs/abis/types/ISuperfluid.js +2 -2
  159. package/dist/cjs/abis/types/InvoiceNFT.d.ts +425 -425
  160. package/dist/cjs/abis/types/InvoiceNFT.js +2 -2
  161. package/dist/cjs/abis/types/Multisend.d.ts +50 -50
  162. package/dist/cjs/abis/types/Multisend.js +2 -2
  163. package/dist/cjs/abis/types/RealWorldReceivable.d.ts +564 -564
  164. package/dist/cjs/abis/types/RealWorldReceivable.js +2 -2
  165. package/dist/cjs/abis/types/ReceivableFactoringPool.d.ts +999 -999
  166. package/dist/cjs/abis/types/ReceivableFactoringPool.js +2 -2
  167. package/dist/cjs/abis/types/StreamFactoringPool.d.ts +985 -985
  168. package/dist/cjs/abis/types/StreamFactoringPool.js +2 -2
  169. package/dist/cjs/abis/types/StreamFeeManager.d.ts +440 -440
  170. package/dist/cjs/abis/types/StreamFeeManager.js +2 -2
  171. package/dist/cjs/abis/types/SuperfluidPoolProcessor.d.ts +398 -398
  172. package/dist/cjs/abis/types/SuperfluidPoolProcessor.js +2 -2
  173. package/dist/cjs/abis/types/TestERC20.d.ts +270 -270
  174. package/dist/cjs/abis/types/TestERC20.js +2 -2
  175. package/dist/cjs/abis/types/TradableStream.d.ts +607 -607
  176. package/dist/cjs/abis/types/TradableStream.js +2 -2
  177. package/dist/cjs/abis/types/Transfer.d.ts +45 -45
  178. package/dist/cjs/abis/types/Transfer.js +2 -2
  179. package/dist/cjs/abis/types/TransferNFT.d.ts +45 -45
  180. package/dist/cjs/abis/types/TransferNFT.js +2 -2
  181. package/dist/cjs/abis/types/common.d.ts +22 -22
  182. package/dist/cjs/abis/types/common.js +2 -2
  183. package/dist/cjs/abis/types/factories/BaseCreditPool__factory.d.ts +931 -931
  184. package/dist/cjs/abis/types/factories/BaseCreditPool__factory.js +1196 -1196
  185. package/dist/cjs/abis/types/factories/BaseFeeManager__factory.d.ts +379 -379
  186. package/dist/cjs/abis/types/factories/BaseFeeManager__factory.js +497 -497
  187. package/dist/cjs/abis/types/factories/BasePoolConfig__factory.d.ts +1074 -1074
  188. package/dist/cjs/abis/types/factories/BasePoolConfig__factory.js +1381 -1381
  189. package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +508 -508
  190. package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.js +665 -665
  191. package/dist/cjs/abis/types/factories/Erc20__factory.d.ts +175 -175
  192. package/dist/cjs/abis/types/factories/Erc20__factory.js +239 -239
  193. package/dist/cjs/abis/types/factories/Erc2612__factory.d.ts +209 -209
  194. package/dist/cjs/abis/types/factories/Erc2612__factory.js +282 -282
  195. package/dist/cjs/abis/types/factories/Erc721__factory.d.ts +539 -539
  196. package/dist/cjs/abis/types/factories/Erc721__factory.js +690 -690
  197. package/dist/cjs/abis/types/factories/HDT__factory.d.ts +399 -399
  198. package/dist/cjs/abis/types/factories/HDT__factory.js +529 -529
  199. package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +695 -695
  200. package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.js +907 -907
  201. package/dist/cjs/abis/types/factories/ISuperfluid__factory.d.ts +866 -866
  202. package/dist/cjs/abis/types/factories/ISuperfluid__factory.js +1139 -1139
  203. package/dist/cjs/abis/types/factories/InvoiceNFT__factory.d.ts +489 -489
  204. package/dist/cjs/abis/types/factories/InvoiceNFT__factory.js +642 -642
  205. package/dist/cjs/abis/types/factories/Multisend__factory.d.ts +26 -26
  206. package/dist/cjs/abis/types/factories/Multisend__factory.js +43 -43
  207. package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.d.ts +645 -645
  208. package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.js +840 -840
  209. package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.d.ts +1204 -1204
  210. package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.js +1546 -1546
  211. package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.d.ts +1200 -1200
  212. package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.js +1540 -1540
  213. package/dist/cjs/abis/types/factories/StreamFeeManager__factory.d.ts +412 -412
  214. package/dist/cjs/abis/types/factories/StreamFeeManager__factory.js +539 -539
  215. package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -546
  216. package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.js +709 -709
  217. package/dist/cjs/abis/types/factories/TestERC20__factory.d.ts +280 -280
  218. package/dist/cjs/abis/types/factories/TestERC20__factory.js +375 -375
  219. package/dist/cjs/abis/types/factories/TradableStream__factory.d.ts +663 -663
  220. package/dist/cjs/abis/types/factories/TradableStream__factory.js +867 -867
  221. package/dist/cjs/abis/types/factories/TransferNFT__factory.d.ts +28 -28
  222. package/dist/cjs/abis/types/factories/TransferNFT__factory.js +44 -44
  223. package/dist/cjs/abis/types/factories/Transfer__factory.d.ts +25 -25
  224. package/dist/cjs/abis/types/factories/Transfer__factory.js +41 -41
  225. package/dist/cjs/abis/types/factories/index.d.ts +21 -21
  226. package/dist/cjs/abis/types/factories/index.js +48 -48
  227. package/dist/cjs/abis/types/index.d.ts +43 -43
  228. package/dist/cjs/abis/types/index.js +47 -47
  229. package/dist/cjs/hooks/index.d.ts +18 -18
  230. package/dist/cjs/hooks/index.js +21 -21
  231. package/dist/cjs/hooks/useActiveRoute.d.ts +8 -8
  232. package/dist/cjs/hooks/useActiveRoute.js +11 -11
  233. package/dist/cjs/hooks/useAsyncError.d.ts +14 -14
  234. package/dist/cjs/hooks/useAsyncError.js +26 -26
  235. package/dist/cjs/hooks/useCLPoolContract.d.ts +27 -27
  236. package/dist/cjs/hooks/useCLPoolContract.js +53 -53
  237. package/dist/cjs/hooks/useContract.d.ts +7 -7
  238. package/dist/cjs/hooks/useContract.js +49 -49
  239. package/dist/cjs/hooks/useContractFunction.d.ts +18 -18
  240. package/dist/cjs/hooks/useContractFunction.js +57 -57
  241. package/dist/cjs/hooks/useERC2612Permit/ethPermit/index.d.ts +35 -35
  242. package/dist/cjs/hooks/useERC2612Permit/ethPermit/index.js +145 -145
  243. package/dist/cjs/hooks/useERC2612Permit/ethPermit/lib.d.ts +1 -1
  244. package/dist/cjs/hooks/useERC2612Permit/ethPermit/lib.js +26 -26
  245. package/dist/cjs/hooks/useERC2612Permit/ethPermit/rpc.d.ts +10 -10
  246. package/dist/cjs/hooks/useERC2612Permit/ethPermit/rpc.js +104 -104
  247. package/dist/cjs/hooks/useERC2612Permit/index.d.ts +6 -6
  248. package/dist/cjs/hooks/useERC2612Permit/index.js +35 -35
  249. package/dist/cjs/hooks/useFactoring.d.ts +19 -19
  250. package/dist/cjs/hooks/useFactoring.js +94 -94
  251. package/dist/cjs/hooks/useForceRefresh.d.ts +1 -1
  252. package/dist/cjs/hooks/useForceRefresh.js +12 -12
  253. package/dist/cjs/hooks/useGetSizes.d.ts +12 -12
  254. package/dist/cjs/hooks/useGetSizes.js +23 -23
  255. package/dist/cjs/hooks/useInvoiceNFTContract.d.ts +11 -11
  256. package/dist/cjs/hooks/useInvoiceNFTContract.js +72 -72
  257. package/dist/cjs/hooks/useMQ.d.ts +6 -6
  258. package/dist/cjs/hooks/useMQ.js +18 -18
  259. package/dist/cjs/hooks/useMount.d.ts +2 -2
  260. package/dist/cjs/hooks/useMount.js +13 -13
  261. package/dist/cjs/hooks/useParamsSearch.d.ts +2 -2
  262. package/dist/cjs/hooks/useParamsSearch.js +11 -11
  263. package/dist/cjs/hooks/usePool.d.ts +4 -4
  264. package/dist/cjs/hooks/usePool.js +45 -45
  265. package/dist/cjs/hooks/usePoolContract.d.ts +73 -73
  266. package/dist/cjs/hooks/usePoolContract.js +309 -309
  267. package/dist/cjs/hooks/useRFPoolContract.d.ts +22 -22
  268. package/dist/cjs/hooks/useRFPoolContract.js +41 -41
  269. package/dist/cjs/hooks/useRefresh.d.ts +1 -1
  270. package/dist/cjs/hooks/useRefresh.js +51 -51
  271. package/dist/cjs/hooks/web3/index.d.ts +15 -15
  272. package/dist/cjs/hooks/web3/index.js +147 -147
  273. package/dist/cjs/hooks/web3/index.js.map +1 -1
  274. package/dist/cjs/hooks/web3/useConnectors.d.ts +17 -17
  275. package/dist/cjs/hooks/web3/useConnectors.js +30 -30
  276. package/dist/cjs/hooks/web3/useJsonRpcUrlsMap.d.ts +13 -13
  277. package/dist/cjs/hooks/web3/useJsonRpcUrlsMap.js +62 -62
  278. package/dist/cjs/index.d.ts +5 -5
  279. package/dist/cjs/index.js +8 -8
  280. package/dist/cjs/services/EAService.d.ts +153 -153
  281. package/dist/cjs/services/EAService.js +80 -80
  282. package/dist/cjs/services/IdentityService.d.ts +35 -35
  283. package/dist/cjs/services/IdentityService.js +56 -56
  284. package/dist/cjs/services/RNService.d.ts +14 -14
  285. package/dist/cjs/services/RNService.js +13 -13
  286. package/dist/cjs/services/index.d.ts +3 -3
  287. package/dist/cjs/services/index.js +6 -6
  288. package/dist/cjs/utils/JsonRpcConnector.d.ts +11 -11
  289. package/dist/cjs/utils/JsonRpcConnector.js +42 -42
  290. package/dist/cjs/utils/WalletConnect.d.ts +10 -10
  291. package/dist/cjs/utils/WalletConnect.js +55 -55
  292. package/dist/cjs/utils/chain.d.ts +35 -34
  293. package/dist/cjs/utils/chain.js +113 -108
  294. package/dist/cjs/utils/chain.js.map +1 -1
  295. package/dist/cjs/utils/common.d.ts +4 -4
  296. package/dist/cjs/utils/common.js +17 -17
  297. package/dist/cjs/utils/config.d.ts +8 -7
  298. package/dist/cjs/utils/config.js +44 -35
  299. package/dist/cjs/utils/config.js.map +1 -1
  300. package/dist/cjs/utils/const.d.ts +2 -2
  301. package/dist/cjs/utils/const.js +5 -5
  302. package/dist/cjs/utils/contractError.json +73 -73
  303. package/dist/cjs/utils/contractconfig.json +19 -19
  304. package/dist/cjs/utils/credit.d.ts +21 -21
  305. package/dist/cjs/utils/credit.js +39 -39
  306. package/dist/cjs/utils/errors.d.ts +26 -26
  307. package/dist/cjs/utils/errors.js +46 -46
  308. package/dist/cjs/utils/index.d.ts +20 -18
  309. package/dist/cjs/utils/index.js +23 -21
  310. package/dist/cjs/utils/index.js.map +1 -1
  311. package/dist/cjs/utils/jsonRpcEndpoints.d.ts +12 -12
  312. package/dist/cjs/utils/jsonRpcEndpoints.js +28 -28
  313. package/dist/cjs/utils/notifi.d.ts +3 -0
  314. package/dist/cjs/utils/notifi.js +29 -0
  315. package/dist/cjs/utils/notifi.js.map +1 -0
  316. package/dist/cjs/utils/number.d.ts +5 -5
  317. package/dist/cjs/utils/number.js +55 -55
  318. package/dist/cjs/utils/pool.d.ts +96 -94
  319. package/dist/cjs/utils/pool.js +416 -413
  320. package/dist/cjs/utils/pool.js.map +1 -1
  321. package/dist/cjs/utils/realWorldReceivable.d.ts +12 -0
  322. package/dist/cjs/{abis/types/BaseCreditPoolReceivable.js → utils/realWorldReceivable.js} +3 -3
  323. package/dist/cjs/utils/realWorldReceivable.js.map +1 -0
  324. package/dist/cjs/utils/request.d.ts +3 -3
  325. package/dist/cjs/utils/request.js +45 -45
  326. package/dist/cjs/utils/scientificToDecimal.d.ts +1 -1
  327. package/dist/cjs/utils/scientificToDecimal.js +61 -61
  328. package/dist/cjs/utils/string.d.ts +1 -1
  329. package/dist/cjs/utils/string.js +5 -5
  330. package/dist/cjs/utils/style.d.ts +1 -1
  331. package/dist/cjs/utils/style.js +16 -16
  332. package/dist/cjs/utils/time.d.ts +26 -26
  333. package/dist/cjs/utils/time.js +58 -58
  334. package/dist/cjs/utils/transaction.d.ts +32 -32
  335. package/dist/cjs/utils/transaction.js +96 -96
  336. package/dist/cjs/utils/web3.d.ts +4 -4
  337. package/dist/cjs/utils/web3.js +39 -39
  338. package/dist/hooks/index.d.ts +18 -18
  339. package/dist/hooks/index.js +18 -18
  340. package/dist/hooks/useActiveRoute.d.ts +8 -8
  341. package/dist/hooks/useActiveRoute.js +7 -7
  342. package/dist/hooks/useAsyncError.d.ts +14 -14
  343. package/dist/hooks/useAsyncError.js +22 -22
  344. package/dist/hooks/useCLPoolContract.d.ts +27 -27
  345. package/dist/hooks/useCLPoolContract.js +38 -38
  346. package/dist/hooks/useContract.d.ts +7 -7
  347. package/dist/hooks/useContract.js +40 -40
  348. package/dist/hooks/useContractFunction.d.ts +18 -18
  349. package/dist/hooks/useContractFunction.js +54 -54
  350. package/dist/hooks/useERC2612Permit/ethPermit/index.d.ts +35 -35
  351. package/dist/hooks/useERC2612Permit/ethPermit/index.js +139 -139
  352. package/dist/hooks/useERC2612Permit/ethPermit/lib.d.ts +1 -1
  353. package/dist/hooks/useERC2612Permit/ethPermit/lib.js +21 -21
  354. package/dist/hooks/useERC2612Permit/ethPermit/rpc.d.ts +10 -10
  355. package/dist/hooks/useERC2612Permit/ethPermit/rpc.js +96 -96
  356. package/dist/hooks/useERC2612Permit/index.d.ts +6 -6
  357. package/dist/hooks/useERC2612Permit/index.js +31 -31
  358. package/dist/hooks/useFactoring.d.ts +19 -19
  359. package/dist/hooks/useFactoring.js +90 -90
  360. package/dist/hooks/useForceRefresh.d.ts +1 -1
  361. package/dist/hooks/useForceRefresh.js +8 -8
  362. package/dist/hooks/useGetSizes.d.ts +12 -12
  363. package/dist/hooks/useGetSizes.js +19 -19
  364. package/dist/hooks/useInvoiceNFTContract.d.ts +11 -11
  365. package/dist/hooks/useInvoiceNFTContract.js +64 -64
  366. package/dist/hooks/useMQ.d.ts +6 -6
  367. package/dist/hooks/useMQ.js +14 -14
  368. package/dist/hooks/useMount.d.ts +2 -2
  369. package/dist/hooks/useMount.js +8 -8
  370. package/dist/hooks/useParamsSearch.d.ts +2 -2
  371. package/dist/hooks/useParamsSearch.js +6 -6
  372. package/dist/hooks/usePool.d.ts +4 -4
  373. package/dist/hooks/usePool.js +39 -39
  374. package/dist/hooks/usePoolContract.d.ts +73 -73
  375. package/dist/hooks/usePoolContract.js +286 -286
  376. package/dist/hooks/useRFPoolContract.d.ts +22 -22
  377. package/dist/hooks/useRFPoolContract.js +29 -29
  378. package/dist/hooks/useRefresh.d.ts +1 -1
  379. package/dist/hooks/useRefresh.js +47 -47
  380. package/dist/hooks/web3/index.d.ts +15 -15
  381. package/dist/hooks/web3/index.js +142 -142
  382. package/dist/hooks/web3/index.js.map +1 -1
  383. package/dist/hooks/web3/useConnectors.d.ts +17 -17
  384. package/dist/hooks/web3/useConnectors.js +24 -24
  385. package/dist/hooks/web3/useJsonRpcUrlsMap.d.ts +13 -13
  386. package/dist/hooks/web3/useJsonRpcUrlsMap.js +53 -53
  387. package/dist/index.d.ts +5 -5
  388. package/dist/index.js +5 -5
  389. package/dist/services/EAService.d.ts +153 -153
  390. package/dist/services/EAService.js +77 -77
  391. package/dist/services/IdentityService.d.ts +35 -35
  392. package/dist/services/IdentityService.js +53 -53
  393. package/dist/services/RNService.d.ts +14 -14
  394. package/dist/services/RNService.js +10 -10
  395. package/dist/services/index.d.ts +3 -3
  396. package/dist/services/index.js +3 -3
  397. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  398. package/dist/utils/JsonRpcConnector.d.ts +11 -11
  399. package/dist/utils/JsonRpcConnector.js +38 -38
  400. package/dist/utils/WalletConnect.d.ts +10 -10
  401. package/dist/utils/WalletConnect.js +49 -49
  402. package/dist/utils/chain.d.ts +35 -34
  403. package/dist/utils/chain.js +106 -102
  404. package/dist/utils/chain.js.map +1 -1
  405. package/dist/utils/common.d.ts +4 -4
  406. package/dist/utils/common.js +10 -10
  407. package/dist/utils/config.d.ts +8 -7
  408. package/dist/utils/config.js +41 -32
  409. package/dist/utils/config.js.map +1 -1
  410. package/dist/utils/const.d.ts +2 -2
  411. package/dist/utils/const.js +2 -2
  412. package/dist/utils/contractError.json +73 -73
  413. package/dist/utils/contractconfig.json +19 -19
  414. package/dist/utils/credit.d.ts +21 -21
  415. package/dist/utils/credit.js +35 -35
  416. package/dist/utils/errors.d.ts +26 -26
  417. package/dist/utils/errors.js +39 -39
  418. package/dist/utils/index.d.ts +20 -18
  419. package/dist/utils/index.js +20 -18
  420. package/dist/utils/index.js.map +1 -1
  421. package/dist/utils/jsonRpcEndpoints.d.ts +12 -12
  422. package/dist/utils/jsonRpcEndpoints.js +25 -25
  423. package/dist/utils/notifi.d.ts +3 -0
  424. package/dist/utils/notifi.js +24 -0
  425. package/dist/utils/notifi.js.map +1 -0
  426. package/dist/utils/number.d.ts +5 -5
  427. package/dist/utils/number.js +48 -48
  428. package/dist/utils/pool.d.ts +96 -94
  429. package/dist/utils/pool.js +409 -406
  430. package/dist/utils/pool.js.map +1 -1
  431. package/dist/utils/realWorldReceivable.d.ts +12 -0
  432. package/dist/utils/realWorldReceivable.js +2 -0
  433. package/dist/utils/realWorldReceivable.js.map +1 -0
  434. package/dist/utils/request.d.ts +3 -3
  435. package/dist/utils/request.js +38 -38
  436. package/dist/utils/scientificToDecimal.d.ts +1 -1
  437. package/dist/utils/scientificToDecimal.js +57 -57
  438. package/dist/utils/string.d.ts +1 -1
  439. package/dist/utils/string.js +1 -1
  440. package/dist/utils/style.d.ts +1 -1
  441. package/dist/utils/style.js +12 -12
  442. package/dist/utils/time.d.ts +26 -26
  443. package/dist/utils/time.js +50 -50
  444. package/dist/utils/transaction.d.ts +32 -32
  445. package/dist/utils/transaction.js +87 -87
  446. package/dist/utils/web3.d.ts +4 -4
  447. package/dist/utils/web3.js +34 -34
  448. package/package.json +3 -3
  449. package/dist/abis/BaseCreditPoolReceivable.json +0 -764
  450. package/dist/abis/ERC20TransferrableReceivable.json +0 -648
  451. package/dist/abis/types/BaseCreditPoolReceivable.d.ts +0 -518
  452. package/dist/abis/types/BaseCreditPoolReceivable.js +0 -2
  453. package/dist/abis/types/BaseCreditPoolReceivable.js.map +0 -1
  454. package/dist/abis/types/ERC20TransferrableReceivable.d.ts +0 -407
  455. package/dist/abis/types/ERC20TransferrableReceivable.js +0 -2
  456. package/dist/abis/types/ERC20TransferrableReceivable.js.map +0 -1
  457. package/dist/abis/types/factories/BaseCreditPoolReceivable__factory.d.ts +0 -597
  458. package/dist/abis/types/factories/BaseCreditPoolReceivable__factory.js +0 -778
  459. package/dist/abis/types/factories/BaseCreditPoolReceivable__factory.js.map +0 -1
  460. package/dist/abis/types/factories/ERC20TransferrableReceivable__factory.d.ts +0 -508
  461. package/dist/abis/types/factories/ERC20TransferrableReceivable__factory.js +0 -663
  462. package/dist/abis/types/factories/ERC20TransferrableReceivable__factory.js.map +0 -1
  463. package/dist/cjs/abis/BaseCreditPoolReceivable.json +0 -764
  464. package/dist/cjs/abis/types/BaseCreditPoolReceivable.d.ts +0 -518
  465. package/dist/cjs/abis/types/BaseCreditPoolReceivable.js.map +0 -1
  466. package/dist/cjs/abis/types/factories/BaseCreditPoolReceivable__factory.d.ts +0 -597
  467. package/dist/cjs/abis/types/factories/BaseCreditPoolReceivable__factory.js +0 -782
  468. package/dist/cjs/abis/types/factories/BaseCreditPoolReceivable__factory.js.map +0 -1
  469. package/dist/components/icons/approve-lender.svg +0 -30
  470. package/dist/components/icons/auto-payback.svg +0 -40
  471. package/dist/components/icons/check-circle.svg +0 -3
  472. package/dist/components/icons/check-green.svg +0 -3
  473. package/dist/components/icons/check.svg +0 -10
  474. package/dist/components/icons/donut.svg +0 -904
  475. package/dist/components/icons/ellipse.svg +0 -3
  476. package/dist/components/icons/ethereum.svg +0 -1
  477. package/dist/components/icons/huma-full.svg +0 -22
  478. package/dist/components/icons/huma.svg +0 -15
  479. package/dist/components/icons/index.d.ts +0 -19
  480. package/dist/components/icons/index.js +0 -70
  481. package/dist/components/icons/index.js.map +0 -1
  482. package/dist/components/icons/loader.svg +0 -229
  483. package/dist/components/icons/metamask.svg +0 -31
  484. package/dist/components/icons/polygon.svg +0 -16
  485. package/dist/components/icons/receipt.svg +0 -3
  486. package/dist/components/icons/separator.svg +0 -3
  487. package/dist/components/icons/sorry.svg +0 -31
  488. package/dist/components/icons/usdc.svg +0 -5
  489. package/dist/components/icons/wallet-connect.svg +0 -12
  490. package/dist/theme/breakpoints.d.ts +0 -5
  491. package/dist/theme/breakpoints.js +0 -4
  492. package/dist/theme/breakpoints.js.map +0 -1
  493. package/dist/theme/components.d.ts +0 -6
  494. package/dist/theme/components.js +0 -62
  495. package/dist/theme/components.js.map +0 -1
  496. package/dist/theme/coreThemeConstants.d.ts +0 -18
  497. package/dist/theme/coreThemeConstants.js +0 -30
  498. package/dist/theme/coreThemeConstants.js.map +0 -1
  499. package/dist/theme/cssMixins.d.ts +0 -20
  500. package/dist/theme/cssMixins.js +0 -90
  501. package/dist/theme/cssMixins.js.map +0 -1
  502. package/dist/theme/index.d.ts +0 -8
  503. package/dist/theme/index.js +0 -27
  504. package/dist/theme/index.js.map +0 -1
  505. package/dist/theme/palette.d.ts +0 -53
  506. package/dist/theme/palette.js +0 -137
  507. package/dist/theme/palette.js.map +0 -1
  508. package/dist/theme/shape.d.ts +0 -2
  509. package/dist/theme/shape.js +0 -5
  510. package/dist/theme/shape.js.map +0 -1
  511. package/dist/theme/theme.types.d.ts +0 -72
  512. package/dist/theme/theme.types.js +0 -2
  513. package/dist/theme/theme.types.js.map +0 -1
  514. package/dist/theme/typography.d.ts +0 -2
  515. package/dist/theme/typography.js +0 -116
  516. package/dist/theme/typography.js.map +0 -1
  517. package/dist/utils/ddLogger.d.ts +0 -4
  518. package/dist/utils/ddLogger.js +0 -48
  519. package/dist/utils/ddLogger.js.map +0 -1
  520. package/dist/utils/sentry.d.ts +0 -1
  521. package/dist/utils/sentry.js +0 -19
  522. package/dist/utils/sentry.js.map +0 -1
  523. package/dist/utils/storage.d.ts +0 -12
  524. package/dist/utils/storage.js +0 -32
  525. package/dist/utils/storage.js.map +0 -1
@@ -1,358 +1,358 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "anonymous": false,
9
- "inputs": [
10
- {
11
- "indexed": true,
12
- "internalType": "address",
13
- "name": "owner",
14
- "type": "address"
15
- },
16
- {
17
- "indexed": true,
18
- "internalType": "address",
19
- "name": "spender",
20
- "type": "address"
21
- },
22
- {
23
- "indexed": false,
24
- "internalType": "uint256",
25
- "name": "value",
26
- "type": "uint256"
27
- }
28
- ],
29
- "name": "Approval",
30
- "type": "event"
31
- },
32
- {
33
- "anonymous": false,
34
- "inputs": [
35
- {
36
- "indexed": true,
37
- "internalType": "address",
38
- "name": "from",
39
- "type": "address"
40
- },
41
- {
42
- "indexed": true,
43
- "internalType": "address",
44
- "name": "to",
45
- "type": "address"
46
- },
47
- {
48
- "indexed": false,
49
- "internalType": "uint256",
50
- "name": "value",
51
- "type": "uint256"
52
- }
53
- ],
54
- "name": "Transfer",
55
- "type": "event"
56
- },
57
- {
58
- "inputs": [
59
- {
60
- "internalType": "address",
61
- "name": "owner",
62
- "type": "address"
63
- },
64
- {
65
- "internalType": "address",
66
- "name": "spender",
67
- "type": "address"
68
- }
69
- ],
70
- "name": "allowance",
71
- "outputs": [
72
- {
73
- "internalType": "uint256",
74
- "name": "",
75
- "type": "uint256"
76
- }
77
- ],
78
- "stateMutability": "view",
79
- "type": "function"
80
- },
81
- {
82
- "inputs": [
83
- {
84
- "internalType": "address",
85
- "name": "spender",
86
- "type": "address"
87
- },
88
- {
89
- "internalType": "uint256",
90
- "name": "amount",
91
- "type": "uint256"
92
- }
93
- ],
94
- "name": "approve",
95
- "outputs": [
96
- {
97
- "internalType": "bool",
98
- "name": "",
99
- "type": "bool"
100
- }
101
- ],
102
- "stateMutability": "nonpayable",
103
- "type": "function"
104
- },
105
- {
106
- "inputs": [
107
- {
108
- "internalType": "address",
109
- "name": "account",
110
- "type": "address"
111
- }
112
- ],
113
- "name": "balanceOf",
114
- "outputs": [
115
- {
116
- "internalType": "uint256",
117
- "name": "",
118
- "type": "uint256"
119
- }
120
- ],
121
- "stateMutability": "view",
122
- "type": "function"
123
- },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "address",
128
- "name": "from",
129
- "type": "address"
130
- },
131
- {
132
- "internalType": "uint256",
133
- "name": "amount",
134
- "type": "uint256"
135
- }
136
- ],
137
- "name": "burn",
138
- "outputs": [],
139
- "stateMutability": "nonpayable",
140
- "type": "function"
141
- },
142
- {
143
- "inputs": [],
144
- "name": "decimals",
145
- "outputs": [
146
- {
147
- "internalType": "uint8",
148
- "name": "",
149
- "type": "uint8"
150
- }
151
- ],
152
- "stateMutability": "view",
153
- "type": "function"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "address",
159
- "name": "spender",
160
- "type": "address"
161
- },
162
- {
163
- "internalType": "uint256",
164
- "name": "subtractedValue",
165
- "type": "uint256"
166
- }
167
- ],
168
- "name": "decreaseAllowance",
169
- "outputs": [
170
- {
171
- "internalType": "bool",
172
- "name": "",
173
- "type": "bool"
174
- }
175
- ],
176
- "stateMutability": "nonpayable",
177
- "type": "function"
178
- },
179
- {
180
- "inputs": [
181
- {
182
- "internalType": "address",
183
- "name": "to",
184
- "type": "address"
185
- }
186
- ],
187
- "name": "give100000To",
188
- "outputs": [],
189
- "stateMutability": "nonpayable",
190
- "type": "function"
191
- },
192
- {
193
- "inputs": [
194
- {
195
- "internalType": "address",
196
- "name": "to",
197
- "type": "address"
198
- }
199
- ],
200
- "name": "give1000To",
201
- "outputs": [],
202
- "stateMutability": "nonpayable",
203
- "type": "function"
204
- },
205
- {
206
- "inputs": [
207
- {
208
- "internalType": "address",
209
- "name": "spender",
210
- "type": "address"
211
- },
212
- {
213
- "internalType": "uint256",
214
- "name": "addedValue",
215
- "type": "uint256"
216
- }
217
- ],
218
- "name": "increaseAllowance",
219
- "outputs": [
220
- {
221
- "internalType": "bool",
222
- "name": "",
223
- "type": "bool"
224
- }
225
- ],
226
- "stateMutability": "nonpayable",
227
- "type": "function"
228
- },
229
- {
230
- "inputs": [
231
- {
232
- "internalType": "address",
233
- "name": "to",
234
- "type": "address"
235
- },
236
- {
237
- "internalType": "uint256",
238
- "name": "amount",
239
- "type": "uint256"
240
- }
241
- ],
242
- "name": "mint",
243
- "outputs": [],
244
- "stateMutability": "nonpayable",
245
- "type": "function"
246
- },
247
- {
248
- "inputs": [],
249
- "name": "name",
250
- "outputs": [
251
- {
252
- "internalType": "string",
253
- "name": "",
254
- "type": "string"
255
- }
256
- ],
257
- "stateMutability": "view",
258
- "type": "function"
259
- },
260
- {
261
- "inputs": [
262
- {
263
- "internalType": "bytes4",
264
- "name": "interfaceId",
265
- "type": "bytes4"
266
- }
267
- ],
268
- "name": "supportsInterface",
269
- "outputs": [
270
- {
271
- "internalType": "bool",
272
- "name": "",
273
- "type": "bool"
274
- }
275
- ],
276
- "stateMutability": "view",
277
- "type": "function"
278
- },
279
- {
280
- "inputs": [],
281
- "name": "symbol",
282
- "outputs": [
283
- {
284
- "internalType": "string",
285
- "name": "",
286
- "type": "string"
287
- }
288
- ],
289
- "stateMutability": "view",
290
- "type": "function"
291
- },
292
- {
293
- "inputs": [],
294
- "name": "totalSupply",
295
- "outputs": [
296
- {
297
- "internalType": "uint256",
298
- "name": "",
299
- "type": "uint256"
300
- }
301
- ],
302
- "stateMutability": "view",
303
- "type": "function"
304
- },
305
- {
306
- "inputs": [
307
- {
308
- "internalType": "address",
309
- "name": "to",
310
- "type": "address"
311
- },
312
- {
313
- "internalType": "uint256",
314
- "name": "amount",
315
- "type": "uint256"
316
- }
317
- ],
318
- "name": "transfer",
319
- "outputs": [
320
- {
321
- "internalType": "bool",
322
- "name": "",
323
- "type": "bool"
324
- }
325
- ],
326
- "stateMutability": "nonpayable",
327
- "type": "function"
328
- },
329
- {
330
- "inputs": [
331
- {
332
- "internalType": "address",
333
- "name": "from",
334
- "type": "address"
335
- },
336
- {
337
- "internalType": "address",
338
- "name": "to",
339
- "type": "address"
340
- },
341
- {
342
- "internalType": "uint256",
343
- "name": "amount",
344
- "type": "uint256"
345
- }
346
- ],
347
- "name": "transferFrom",
348
- "outputs": [
349
- {
350
- "internalType": "bool",
351
- "name": "",
352
- "type": "bool"
353
- }
354
- ],
355
- "stateMutability": "nonpayable",
356
- "type": "function"
357
- }
358
- ]
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "stateMutability": "nonpayable",
5
+ "type": "constructor"
6
+ },
7
+ {
8
+ "anonymous": false,
9
+ "inputs": [
10
+ {
11
+ "indexed": true,
12
+ "internalType": "address",
13
+ "name": "owner",
14
+ "type": "address"
15
+ },
16
+ {
17
+ "indexed": true,
18
+ "internalType": "address",
19
+ "name": "spender",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "indexed": false,
24
+ "internalType": "uint256",
25
+ "name": "value",
26
+ "type": "uint256"
27
+ }
28
+ ],
29
+ "name": "Approval",
30
+ "type": "event"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": true,
37
+ "internalType": "address",
38
+ "name": "from",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "indexed": true,
43
+ "internalType": "address",
44
+ "name": "to",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "indexed": false,
49
+ "internalType": "uint256",
50
+ "name": "value",
51
+ "type": "uint256"
52
+ }
53
+ ],
54
+ "name": "Transfer",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "address",
61
+ "name": "owner",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "internalType": "address",
66
+ "name": "spender",
67
+ "type": "address"
68
+ }
69
+ ],
70
+ "name": "allowance",
71
+ "outputs": [
72
+ {
73
+ "internalType": "uint256",
74
+ "name": "",
75
+ "type": "uint256"
76
+ }
77
+ ],
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "spender",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "internalType": "uint256",
90
+ "name": "amount",
91
+ "type": "uint256"
92
+ }
93
+ ],
94
+ "name": "approve",
95
+ "outputs": [
96
+ {
97
+ "internalType": "bool",
98
+ "name": "",
99
+ "type": "bool"
100
+ }
101
+ ],
102
+ "stateMutability": "nonpayable",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "address",
109
+ "name": "account",
110
+ "type": "address"
111
+ }
112
+ ],
113
+ "name": "balanceOf",
114
+ "outputs": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "from",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "amount",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "burn",
138
+ "outputs": [],
139
+ "stateMutability": "nonpayable",
140
+ "type": "function"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "decimals",
145
+ "outputs": [
146
+ {
147
+ "internalType": "uint8",
148
+ "name": "",
149
+ "type": "uint8"
150
+ }
151
+ ],
152
+ "stateMutability": "view",
153
+ "type": "function"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "address",
159
+ "name": "spender",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "subtractedValue",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "name": "decreaseAllowance",
169
+ "outputs": [
170
+ {
171
+ "internalType": "bool",
172
+ "name": "",
173
+ "type": "bool"
174
+ }
175
+ ],
176
+ "stateMutability": "nonpayable",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "address",
183
+ "name": "to",
184
+ "type": "address"
185
+ }
186
+ ],
187
+ "name": "give100000To",
188
+ "outputs": [],
189
+ "stateMutability": "nonpayable",
190
+ "type": "function"
191
+ },
192
+ {
193
+ "inputs": [
194
+ {
195
+ "internalType": "address",
196
+ "name": "to",
197
+ "type": "address"
198
+ }
199
+ ],
200
+ "name": "give1000To",
201
+ "outputs": [],
202
+ "stateMutability": "nonpayable",
203
+ "type": "function"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "address",
209
+ "name": "spender",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "addedValue",
215
+ "type": "uint256"
216
+ }
217
+ ],
218
+ "name": "increaseAllowance",
219
+ "outputs": [
220
+ {
221
+ "internalType": "bool",
222
+ "name": "",
223
+ "type": "bool"
224
+ }
225
+ ],
226
+ "stateMutability": "nonpayable",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "address",
233
+ "name": "to",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "internalType": "uint256",
238
+ "name": "amount",
239
+ "type": "uint256"
240
+ }
241
+ ],
242
+ "name": "mint",
243
+ "outputs": [],
244
+ "stateMutability": "nonpayable",
245
+ "type": "function"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "name",
250
+ "outputs": [
251
+ {
252
+ "internalType": "string",
253
+ "name": "",
254
+ "type": "string"
255
+ }
256
+ ],
257
+ "stateMutability": "view",
258
+ "type": "function"
259
+ },
260
+ {
261
+ "inputs": [
262
+ {
263
+ "internalType": "bytes4",
264
+ "name": "interfaceId",
265
+ "type": "bytes4"
266
+ }
267
+ ],
268
+ "name": "supportsInterface",
269
+ "outputs": [
270
+ {
271
+ "internalType": "bool",
272
+ "name": "",
273
+ "type": "bool"
274
+ }
275
+ ],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "symbol",
282
+ "outputs": [
283
+ {
284
+ "internalType": "string",
285
+ "name": "",
286
+ "type": "string"
287
+ }
288
+ ],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "totalSupply",
295
+ "outputs": [
296
+ {
297
+ "internalType": "uint256",
298
+ "name": "",
299
+ "type": "uint256"
300
+ }
301
+ ],
302
+ "stateMutability": "view",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "address",
309
+ "name": "to",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "amount",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "name": "transfer",
319
+ "outputs": [
320
+ {
321
+ "internalType": "bool",
322
+ "name": "",
323
+ "type": "bool"
324
+ }
325
+ ],
326
+ "stateMutability": "nonpayable",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "address",
333
+ "name": "from",
334
+ "type": "address"
335
+ },
336
+ {
337
+ "internalType": "address",
338
+ "name": "to",
339
+ "type": "address"
340
+ },
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "amount",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "name": "transferFrom",
348
+ "outputs": [
349
+ {
350
+ "internalType": "bool",
351
+ "name": "",
352
+ "type": "bool"
353
+ }
354
+ ],
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ }
358
+ ]