@huma-finance/shared 0.0.30 → 0.0.32

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 (259) hide show
  1. package/dist/abis/BaseCreditPool.json +1179 -1179
  2. package/dist/abis/BaseFeeManager.json +480 -480
  3. package/dist/abis/BasePoolConfig.json +1364 -1364
  4. package/dist/abis/ERC20TransferableReceivable.json +648 -648
  5. package/dist/abis/HDT.json +512 -512
  6. package/dist/abis/IConstantFlowAgreementV1.json +890 -890
  7. package/dist/abis/ISuperfluid.json +1122 -1122
  8. package/dist/abis/InvoiceNFT.json +625 -625
  9. package/dist/abis/Multisend.json +26 -26
  10. package/dist/abis/RealWorldReceivable.json +823 -823
  11. package/dist/abis/ReceivableFactoringPool.json +1529 -1529
  12. package/dist/abis/StreamFactoringPool.json +1523 -1523
  13. package/dist/abis/StreamFeeManager.json +522 -522
  14. package/dist/abis/SuperfluidPoolProcessor.json +692 -692
  15. package/dist/abis/TestERC20.json +358 -358
  16. package/dist/abis/TradableStream.json +850 -850
  17. package/dist/abis/Transfer.json +24 -24
  18. package/dist/abis/TransferNFT.json +27 -27
  19. package/dist/abis/erc20.json +117 -117
  20. package/dist/abis/erc2612.json +132 -132
  21. package/dist/abis/erc721.json +673 -673
  22. package/dist/abis/index.d.ts +3 -3
  23. package/dist/abis/index.js +3 -3
  24. package/dist/abis/types/BaseCreditPool.d.ts +803 -803
  25. package/dist/abis/types/BaseCreditPool.js +1 -1
  26. package/dist/abis/types/BaseFeeManager.d.ts +408 -408
  27. package/dist/abis/types/BaseFeeManager.js +1 -1
  28. package/dist/abis/types/BasePoolConfig.d.ts +1097 -1097
  29. package/dist/abis/types/BasePoolConfig.js +1 -1
  30. package/dist/abis/types/ERC20TransferableReceivable.d.ts +407 -407
  31. package/dist/abis/types/ERC20TransferableReceivable.js +1 -1
  32. package/dist/abis/types/Erc20.d.ts +168 -168
  33. package/dist/abis/types/Erc20.js +1 -1
  34. package/dist/abis/types/Erc2612.d.ts +192 -192
  35. package/dist/abis/types/Erc2612.js +1 -1
  36. package/dist/abis/types/Erc721.d.ts +474 -474
  37. package/dist/abis/types/Erc721.js +1 -1
  38. package/dist/abis/types/HDT.d.ts +369 -369
  39. package/dist/abis/types/HDT.js +1 -1
  40. package/dist/abis/types/IConstantFlowAgreementV1.d.ts +573 -573
  41. package/dist/abis/types/IConstantFlowAgreementV1.js +1 -1
  42. package/dist/abis/types/ISuperfluid.d.ts +728 -728
  43. package/dist/abis/types/ISuperfluid.js +1 -1
  44. package/dist/abis/types/InvoiceNFT.d.ts +425 -425
  45. package/dist/abis/types/InvoiceNFT.js +1 -1
  46. package/dist/abis/types/Multisend.d.ts +50 -50
  47. package/dist/abis/types/Multisend.js +1 -1
  48. package/dist/abis/types/RealWorldReceivable.d.ts +564 -564
  49. package/dist/abis/types/RealWorldReceivable.js +1 -1
  50. package/dist/abis/types/ReceivableFactoringPool.d.ts +999 -999
  51. package/dist/abis/types/ReceivableFactoringPool.js +1 -1
  52. package/dist/abis/types/StreamFactoringPool.d.ts +985 -985
  53. package/dist/abis/types/StreamFactoringPool.js +1 -1
  54. package/dist/abis/types/StreamFeeManager.d.ts +440 -440
  55. package/dist/abis/types/StreamFeeManager.js +1 -1
  56. package/dist/abis/types/SuperfluidPoolProcessor.d.ts +398 -398
  57. package/dist/abis/types/SuperfluidPoolProcessor.js +1 -1
  58. package/dist/abis/types/TestERC20.d.ts +270 -270
  59. package/dist/abis/types/TestERC20.js +1 -1
  60. package/dist/abis/types/TradableStream.d.ts +607 -607
  61. package/dist/abis/types/TradableStream.js +1 -1
  62. package/dist/abis/types/Transfer.d.ts +45 -45
  63. package/dist/abis/types/Transfer.js +1 -1
  64. package/dist/abis/types/TransferNFT.d.ts +45 -45
  65. package/dist/abis/types/TransferNFT.js +1 -1
  66. package/dist/abis/types/common.d.ts +22 -22
  67. package/dist/abis/types/common.js +1 -1
  68. package/dist/abis/types/factories/BaseCreditPool__factory.d.ts +931 -931
  69. package/dist/abis/types/factories/BaseCreditPool__factory.js +1193 -1192
  70. package/dist/abis/types/factories/BaseCreditPool__factory.js.map +1 -1
  71. package/dist/abis/types/factories/BaseFeeManager__factory.d.ts +379 -379
  72. package/dist/abis/types/factories/BaseFeeManager__factory.js +494 -493
  73. package/dist/abis/types/factories/BaseFeeManager__factory.js.map +1 -1
  74. package/dist/abis/types/factories/BasePoolConfig__factory.d.ts +1074 -1074
  75. package/dist/abis/types/factories/BasePoolConfig__factory.js +1378 -1377
  76. package/dist/abis/types/factories/BasePoolConfig__factory.js.map +1 -1
  77. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +508 -508
  78. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js +662 -661
  79. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js.map +1 -1
  80. package/dist/abis/types/factories/Erc20__factory.d.ts +175 -175
  81. package/dist/abis/types/factories/Erc20__factory.js +236 -235
  82. package/dist/abis/types/factories/Erc20__factory.js.map +1 -1
  83. package/dist/abis/types/factories/Erc2612__factory.d.ts +209 -209
  84. package/dist/abis/types/factories/Erc2612__factory.js +279 -278
  85. package/dist/abis/types/factories/Erc2612__factory.js.map +1 -1
  86. package/dist/abis/types/factories/Erc721__factory.d.ts +539 -539
  87. package/dist/abis/types/factories/Erc721__factory.js +687 -686
  88. package/dist/abis/types/factories/Erc721__factory.js.map +1 -1
  89. package/dist/abis/types/factories/HDT__factory.d.ts +399 -399
  90. package/dist/abis/types/factories/HDT__factory.js +526 -525
  91. package/dist/abis/types/factories/HDT__factory.js.map +1 -1
  92. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +695 -695
  93. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js +904 -903
  94. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  95. package/dist/abis/types/factories/ISuperfluid__factory.d.ts +866 -866
  96. package/dist/abis/types/factories/ISuperfluid__factory.js +1136 -1135
  97. package/dist/abis/types/factories/ISuperfluid__factory.js.map +1 -1
  98. package/dist/abis/types/factories/InvoiceNFT__factory.d.ts +489 -489
  99. package/dist/abis/types/factories/InvoiceNFT__factory.js +639 -638
  100. package/dist/abis/types/factories/InvoiceNFT__factory.js.map +1 -1
  101. package/dist/abis/types/factories/Multisend__factory.d.ts +26 -26
  102. package/dist/abis/types/factories/Multisend__factory.js +40 -39
  103. package/dist/abis/types/factories/Multisend__factory.js.map +1 -1
  104. package/dist/abis/types/factories/RealWorldReceivable__factory.d.ts +645 -645
  105. package/dist/abis/types/factories/RealWorldReceivable__factory.js +837 -836
  106. package/dist/abis/types/factories/RealWorldReceivable__factory.js.map +1 -1
  107. package/dist/abis/types/factories/ReceivableFactoringPool__factory.d.ts +1204 -1204
  108. package/dist/abis/types/factories/ReceivableFactoringPool__factory.js +1543 -1542
  109. package/dist/abis/types/factories/ReceivableFactoringPool__factory.js.map +1 -1
  110. package/dist/abis/types/factories/StreamFactoringPool__factory.d.ts +1200 -1200
  111. package/dist/abis/types/factories/StreamFactoringPool__factory.js +1537 -1536
  112. package/dist/abis/types/factories/StreamFactoringPool__factory.js.map +1 -1
  113. package/dist/abis/types/factories/StreamFeeManager__factory.d.ts +412 -412
  114. package/dist/abis/types/factories/StreamFeeManager__factory.js +536 -535
  115. package/dist/abis/types/factories/StreamFeeManager__factory.js.map +1 -1
  116. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -546
  117. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js +706 -705
  118. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js.map +1 -1
  119. package/dist/abis/types/factories/TestERC20__factory.d.ts +280 -280
  120. package/dist/abis/types/factories/TestERC20__factory.js +372 -371
  121. package/dist/abis/types/factories/TestERC20__factory.js.map +1 -1
  122. package/dist/abis/types/factories/TradableStream__factory.d.ts +663 -663
  123. package/dist/abis/types/factories/TradableStream__factory.js +864 -863
  124. package/dist/abis/types/factories/TradableStream__factory.js.map +1 -1
  125. package/dist/abis/types/factories/TransferNFT__factory.d.ts +28 -28
  126. package/dist/abis/types/factories/TransferNFT__factory.js +41 -40
  127. package/dist/abis/types/factories/TransferNFT__factory.js.map +1 -1
  128. package/dist/abis/types/factories/Transfer__factory.d.ts +25 -25
  129. package/dist/abis/types/factories/Transfer__factory.js +38 -37
  130. package/dist/abis/types/factories/Transfer__factory.js.map +1 -1
  131. package/dist/abis/types/factories/index.d.ts +21 -21
  132. package/dist/abis/types/factories/index.js +24 -24
  133. package/dist/abis/types/index.d.ts +43 -43
  134. package/dist/abis/types/index.js +22 -22
  135. package/dist/cjs/hooks/web3/index.js +2 -2
  136. package/dist/cjs/hooks/web3/index.js.map +1 -1
  137. package/dist/cjs/services/IdentityService.d.ts +17 -0
  138. package/dist/cjs/services/IdentityService.js +31 -4
  139. package/dist/cjs/services/IdentityService.js.map +1 -1
  140. package/dist/cjs/utils/chain.d.ts +3 -1
  141. package/dist/cjs/utils/chain.js +9 -1
  142. package/dist/cjs/utils/chain.js.map +1 -1
  143. package/dist/cjs/utils/config.d.ts +1 -0
  144. package/dist/cjs/utils/config.js +10 -1
  145. package/dist/cjs/utils/config.js.map +1 -1
  146. package/dist/cjs/utils/index.d.ts +2 -0
  147. package/dist/cjs/utils/index.js +2 -0
  148. package/dist/cjs/utils/index.js.map +1 -1
  149. package/dist/cjs/utils/notifi.d.ts +3 -0
  150. package/dist/cjs/utils/notifi.js +40 -0
  151. package/dist/cjs/utils/notifi.js.map +1 -0
  152. package/dist/cjs/utils/number.js +7 -1
  153. package/dist/cjs/utils/number.js.map +1 -1
  154. package/dist/cjs/utils/pool.d.ts +1 -0
  155. package/dist/cjs/utils/pool.js +9 -6
  156. package/dist/cjs/utils/pool.js.map +1 -1
  157. package/dist/cjs/utils/realWorldReceivable.d.ts +12 -0
  158. package/dist/cjs/utils/realWorldReceivable.js +3 -0
  159. package/dist/cjs/utils/realWorldReceivable.js.map +1 -0
  160. package/dist/hooks/index.d.ts +18 -18
  161. package/dist/hooks/index.js +18 -18
  162. package/dist/hooks/useActiveRoute.d.ts +8 -8
  163. package/dist/hooks/useActiveRoute.js +7 -7
  164. package/dist/hooks/useAsyncError.d.ts +14 -14
  165. package/dist/hooks/useAsyncError.js +22 -22
  166. package/dist/hooks/useCLPoolContract.d.ts +27 -27
  167. package/dist/hooks/useContract.d.ts +7 -7
  168. package/dist/hooks/useContractFunction.d.ts +18 -18
  169. package/dist/hooks/useContractFunction.js +54 -54
  170. package/dist/hooks/useERC2612Permit/ethPermit/index.d.ts +35 -35
  171. package/dist/hooks/useERC2612Permit/ethPermit/index.js +139 -139
  172. package/dist/hooks/useERC2612Permit/ethPermit/lib.d.ts +1 -1
  173. package/dist/hooks/useERC2612Permit/ethPermit/lib.js +21 -21
  174. package/dist/hooks/useERC2612Permit/ethPermit/rpc.d.ts +10 -10
  175. package/dist/hooks/useERC2612Permit/ethPermit/rpc.js +96 -96
  176. package/dist/hooks/useERC2612Permit/index.d.ts +6 -6
  177. package/dist/hooks/useERC2612Permit/index.js +31 -31
  178. package/dist/hooks/useFactoring.d.ts +19 -19
  179. package/dist/hooks/useForceRefresh.d.ts +1 -1
  180. package/dist/hooks/useForceRefresh.js +8 -8
  181. package/dist/hooks/useGetSizes.d.ts +12 -12
  182. package/dist/hooks/useGetSizes.js +19 -19
  183. package/dist/hooks/useInvoiceNFTContract.d.ts +11 -11
  184. package/dist/hooks/useMQ.d.ts +6 -6
  185. package/dist/hooks/useMQ.js +14 -14
  186. package/dist/hooks/useMount.d.ts +2 -2
  187. package/dist/hooks/useMount.js +8 -8
  188. package/dist/hooks/useParamsSearch.d.ts +2 -2
  189. package/dist/hooks/useParamsSearch.js +6 -6
  190. package/dist/hooks/usePool.d.ts +4 -4
  191. package/dist/hooks/usePoolContract.d.ts +73 -73
  192. package/dist/hooks/useRFPoolContract.d.ts +22 -22
  193. package/dist/hooks/useRefresh.d.ts +1 -1
  194. package/dist/hooks/useRefresh.js +47 -47
  195. package/dist/hooks/web3/index.d.ts +15 -15
  196. package/dist/hooks/web3/index.js +2 -2
  197. package/dist/hooks/web3/index.js.map +1 -1
  198. package/dist/hooks/web3/useConnectors.d.ts +17 -17
  199. package/dist/hooks/web3/useConnectors.js +24 -24
  200. package/dist/hooks/web3/useJsonRpcUrlsMap.d.ts +13 -13
  201. package/dist/index.d.ts +5 -5
  202. package/dist/services/EAService.d.ts +153 -153
  203. package/dist/services/IdentityService.d.ts +17 -0
  204. package/dist/services/IdentityService.js +32 -5
  205. package/dist/services/IdentityService.js.map +1 -1
  206. package/dist/services/RNService.d.ts +14 -14
  207. package/dist/services/index.d.ts +3 -3
  208. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  209. package/dist/utils/JsonRpcConnector.d.ts +11 -11
  210. package/dist/utils/JsonRpcConnector.js +38 -38
  211. package/dist/utils/WalletConnect.d.ts +10 -10
  212. package/dist/utils/WalletConnect.js +50 -49
  213. package/dist/utils/WalletConnect.js.map +1 -1
  214. package/dist/utils/chain.d.ts +3 -1
  215. package/dist/utils/chain.js +7 -0
  216. package/dist/utils/chain.js.map +1 -1
  217. package/dist/utils/common.d.ts +4 -4
  218. package/dist/utils/common.js +10 -10
  219. package/dist/utils/config.d.ts +1 -0
  220. package/dist/utils/config.js +10 -1
  221. package/dist/utils/config.js.map +1 -1
  222. package/dist/utils/const.d.ts +2 -2
  223. package/dist/utils/const.js +2 -2
  224. package/dist/utils/contractError.json +73 -73
  225. package/dist/utils/credit.d.ts +21 -21
  226. package/dist/utils/credit.js +35 -35
  227. package/dist/utils/errors.d.ts +26 -26
  228. package/dist/utils/errors.js +39 -39
  229. package/dist/utils/index.d.ts +2 -0
  230. package/dist/utils/index.js +2 -0
  231. package/dist/utils/index.js.map +1 -1
  232. package/dist/utils/jsonRpcEndpoints.d.ts +12 -12
  233. package/dist/utils/notifi.d.ts +3 -0
  234. package/dist/utils/notifi.js +35 -0
  235. package/dist/utils/notifi.js.map +1 -0
  236. package/dist/utils/number.d.ts +5 -5
  237. package/dist/utils/number.js +7 -1
  238. package/dist/utils/number.js.map +1 -1
  239. package/dist/utils/pool.d.ts +1 -0
  240. package/dist/utils/pool.js +9 -6
  241. package/dist/utils/pool.js.map +1 -1
  242. package/dist/utils/realWorldReceivable.d.ts +12 -0
  243. package/dist/utils/realWorldReceivable.js +2 -0
  244. package/dist/utils/realWorldReceivable.js.map +1 -0
  245. package/dist/utils/request.d.ts +3 -3
  246. package/dist/utils/request.js +38 -38
  247. package/dist/utils/scientificToDecimal.d.ts +1 -1
  248. package/dist/utils/scientificToDecimal.js +57 -57
  249. package/dist/utils/string.d.ts +1 -1
  250. package/dist/utils/string.js +1 -1
  251. package/dist/utils/style.d.ts +1 -1
  252. package/dist/utils/style.js +12 -12
  253. package/dist/utils/time.d.ts +26 -26
  254. package/dist/utils/time.js +50 -50
  255. package/dist/utils/transaction.d.ts +32 -32
  256. package/dist/utils/transaction.js +87 -87
  257. package/dist/utils/web3.d.ts +4 -4
  258. package/dist/utils/web3.js +34 -34
  259. package/package.json +3 -3
@@ -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
+ ]