essential-eth 0.4.6 → 0.4.9-beta.0

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 (477) hide show
  1. package/..eslintrc.js.un~ +0 -0
  2. package/..npmignore.un~ +0 -0
  3. package/.env +1 -0
  4. package/.eslintignore +4 -0
  5. package/.eslintrc.js +34 -0
  6. package/.gitattributes +1 -0
  7. package/.github/workflows/.test.yml.un~ +0 -0
  8. package/.github/workflows/test.yml +29 -0
  9. package/.package.json.un~ +0 -0
  10. package/.prettierignore +7 -0
  11. package/.travis.yml +5 -0
  12. package/jest.config.js +9 -0
  13. package/package.json +34 -20
  14. package/readme.md +1 -2
  15. package/scripts/build-website.sh +4 -0
  16. package/scripts/bump-minor.sh +4 -0
  17. package/scripts/bump-patch.sh +4 -0
  18. package/scripts/fetch-chains-info.ts +70 -0
  19. package/scripts/pre-commit.sh +5 -0
  20. package/src/classes/Contract.ts +161 -0
  21. package/src/classes/test/Contract/crv-abi.ts +488 -0
  22. package/src/classes/test/Contract/crv.test.ts +56 -0
  23. package/src/classes/test/Contract/ens-abi.ts +452 -0
  24. package/src/classes/test/Contract/ens.test.ts +39 -0
  25. package/src/classes/test/Contract/fei-abi.ts +526 -0
  26. package/src/classes/test/Contract/fei.test.ts +86 -0
  27. package/src/classes/test/Contract/foo-abi.ts +42 -0
  28. package/src/classes/test/Contract/foo.test.ts +33 -0
  29. package/src/classes/test/Contract/uni.test.ts +72 -0
  30. package/src/classes/test/Contract/uniswap-abi.ts +121 -0
  31. package/src/classes/utils/clean-block.ts +49 -0
  32. package/src/classes/utils/clean-transaction.ts +35 -0
  33. package/src/classes/utils/encode-decode-transaction.ts +126 -0
  34. package/src/classes/utils/fetchers.ts +27 -0
  35. package/{lib/cjs/classes/utils/hex-to-decimal.d.ts → src/classes/utils/hex-to-decimal.ts} +3 -1
  36. package/src/index.ts +27 -0
  37. package/src/providers/JsonRpcProvider.ts +94 -0
  38. package/src/providers/test/get-block.test.ts +63 -0
  39. package/src/providers/test/get-network.test.ts +34 -0
  40. package/src/providers/utils/chains-info.ts +1079 -0
  41. package/src/shared/tiny-big/helpers.test.ts +30 -0
  42. package/src/shared/tiny-big/helpers.ts +89 -0
  43. package/src/shared/tiny-big/tiny-big.test.ts +10 -0
  44. package/src/shared/tiny-big/tiny-big.ts +36 -0
  45. package/src/shared/validate-type.ts +20 -0
  46. package/src/types/.Contract.types.ts.un~ +0 -0
  47. package/src/types/Block.types.ts +50 -0
  48. package/src/types/Contract.types.ts +67 -0
  49. package/src/types/Network.types.ts +8 -0
  50. package/src/types/Transaction.types.ts +35 -0
  51. package/{lib/cjs/utils/ether-to-wei.d.ts → src/utils/ether-to-wei.ts} +10 -2
  52. package/src/utils/index.ts +6 -0
  53. package/src/utils/is-address.ts +16 -0
  54. package/src/utils/tests/ether-to-wei.test.ts +65 -0
  55. package/src/utils/tests/is-address.test.ts +52 -0
  56. package/src/utils/tests/to-checksum-address.test.ts +43 -0
  57. package/src/utils/tests/wei-to-ether.test.ts +72 -0
  58. package/src/utils/to-checksum-address.ts +47 -0
  59. package/{lib/cjs/utils/wei-to-ether.d.ts → src/utils/wei-to-ether.ts} +8 -1
  60. package/test/global-setup.js +8 -0
  61. package/test/global-teardown.js +5 -0
  62. package/test/jest.setup-after-env.js +1 -0
  63. package/test/server.js +24 -0
  64. package/tsconfig-cjs.json +8 -0
  65. package/tsconfig.json +25 -0
  66. package/typedoc/options-new-version.js +8 -0
  67. package/typedoc/options.js +9 -0
  68. package/types/just-omit.d.ts +1 -0
  69. package/website/.nojekyll +1 -0
  70. package/website/assets/highlight.css +71 -0
  71. package/website/assets/icons.css +1043 -0
  72. package/website/assets/icons.png +0 -0
  73. package/website/assets/icons@2x.png +0 -0
  74. package/website/assets/main.js +52 -0
  75. package/website/assets/search.js +1 -0
  76. package/website/assets/style.css +1413 -0
  77. package/website/assets/widgets.png +0 -0
  78. package/website/assets/widgets@2x.png +0 -0
  79. package/website/classes/Contract.html +13 -0
  80. package/website/classes/JsonRpcProvider.html +8 -0
  81. package/website/classes/TinyBig.html +161 -0
  82. package/website/index.html +207 -0
  83. package/website/interfaces/Block.html +1 -0
  84. package/website/interfaces/JSONABIArgument.html +1 -0
  85. package/website/interfaces/Network.html +3 -0
  86. package/website/interfaces/Transaction.html +1 -0
  87. package/website/modules.html +32 -0
  88. package/website/versions/0.1.2/assets/highlight.css +57 -0
  89. package/website/versions/0.1.2/assets/icons.css +1043 -0
  90. package/website/versions/0.1.2/assets/icons.png +0 -0
  91. package/website/versions/0.1.2/assets/icons@2x.png +0 -0
  92. package/website/versions/0.1.2/assets/main.js +52 -0
  93. package/website/versions/0.1.2/assets/search.js +1 -0
  94. package/website/versions/0.1.2/assets/style.css +1341 -0
  95. package/website/versions/0.1.2/assets/widgets.png +0 -0
  96. package/website/versions/0.1.2/assets/widgets@2x.png +0 -0
  97. package/website/versions/0.1.2/classes/TinyBig.html +4 -0
  98. package/website/versions/0.1.2/index.html +20 -0
  99. package/website/versions/0.1.2/modules.html +23 -0
  100. package/website/versions/0.1.3/assets/highlight.css +64 -0
  101. package/website/versions/0.1.3/assets/icons.css +1043 -0
  102. package/website/versions/0.1.3/assets/icons.png +0 -0
  103. package/website/versions/0.1.3/assets/icons@2x.png +0 -0
  104. package/website/versions/0.1.3/assets/main.js +52 -0
  105. package/website/versions/0.1.3/assets/search.js +1 -0
  106. package/website/versions/0.1.3/assets/style.css +1341 -0
  107. package/website/versions/0.1.3/assets/widgets.png +0 -0
  108. package/website/versions/0.1.3/assets/widgets@2x.png +0 -0
  109. package/website/versions/0.1.3/classes/TinyBig.html +4 -0
  110. package/website/versions/0.1.3/index.html +53 -0
  111. package/website/versions/0.1.3/modules.html +23 -0
  112. package/website/versions/0.1.4/assets/highlight.css +64 -0
  113. package/website/versions/0.1.4/assets/icons.css +1043 -0
  114. package/website/versions/0.1.4/assets/icons.png +0 -0
  115. package/website/versions/0.1.4/assets/icons@2x.png +0 -0
  116. package/website/versions/0.1.4/assets/main.js +52 -0
  117. package/website/versions/0.1.4/assets/search.js +1 -0
  118. package/website/versions/0.1.4/assets/style.css +1341 -0
  119. package/website/versions/0.1.4/assets/widgets.png +0 -0
  120. package/website/versions/0.1.4/assets/widgets@2x.png +0 -0
  121. package/website/versions/0.1.4/classes/EssentialEth.html +1 -0
  122. package/website/versions/0.1.4/classes/TinyBig.html +4 -0
  123. package/website/versions/0.1.4/index.html +58 -0
  124. package/website/versions/0.1.4/modules.html +23 -0
  125. package/website/versions/0.2.0/assets/highlight.css +64 -0
  126. package/website/versions/0.2.0/assets/icons.css +1043 -0
  127. package/website/versions/0.2.0/assets/icons.png +0 -0
  128. package/website/versions/0.2.0/assets/icons@2x.png +0 -0
  129. package/website/versions/0.2.0/assets/main.js +52 -0
  130. package/website/versions/0.2.0/assets/search.js +1 -0
  131. package/website/versions/0.2.0/assets/style.css +1341 -0
  132. package/website/versions/0.2.0/assets/widgets.png +0 -0
  133. package/website/versions/0.2.0/assets/widgets@2x.png +0 -0
  134. package/website/versions/0.2.0/classes/EssentialEth.html +5 -0
  135. package/website/versions/0.2.0/classes/TinyBig.html +146 -0
  136. package/website/versions/0.2.0/index.html +89 -0
  137. package/website/versions/0.2.0/modules.html +25 -0
  138. package/website/versions/0.2.1/assets/highlight.css +64 -0
  139. package/website/versions/0.2.1/assets/icons.css +1043 -0
  140. package/website/versions/0.2.1/assets/icons.png +0 -0
  141. package/website/versions/0.2.1/assets/icons@2x.png +0 -0
  142. package/website/versions/0.2.1/assets/main.js +52 -0
  143. package/website/versions/0.2.1/assets/search.js +1 -0
  144. package/website/versions/0.2.1/assets/style.css +1341 -0
  145. package/website/versions/0.2.1/assets/widgets.png +0 -0
  146. package/website/versions/0.2.1/assets/widgets@2x.png +0 -0
  147. package/website/versions/0.2.1/classes/EssentialEth.html +5 -0
  148. package/website/versions/0.2.1/classes/TinyBig.html +146 -0
  149. package/website/versions/0.2.1/index.html +96 -0
  150. package/website/versions/0.2.1/modules.html +29 -0
  151. package/website/versions/0.2.2/assets/highlight.css +64 -0
  152. package/website/versions/0.2.2/assets/icons.css +1043 -0
  153. package/website/versions/0.2.2/assets/icons.png +0 -0
  154. package/website/versions/0.2.2/assets/icons@2x.png +0 -0
  155. package/website/versions/0.2.2/assets/main.js +52 -0
  156. package/website/versions/0.2.2/assets/search.js +1 -0
  157. package/website/versions/0.2.2/assets/style.css +1341 -0
  158. package/website/versions/0.2.2/assets/widgets.png +0 -0
  159. package/website/versions/0.2.2/assets/widgets@2x.png +0 -0
  160. package/website/versions/0.2.2/classes/EssentialEth.html +5 -0
  161. package/website/versions/0.2.2/classes/TinyBig.html +146 -0
  162. package/website/versions/0.2.2/index.html +96 -0
  163. package/website/versions/0.2.2/modules.html +29 -0
  164. package/website/versions/0.3.0/.nojekyll +1 -0
  165. package/website/versions/0.3.0/assets/highlight.css +71 -0
  166. package/website/versions/0.3.0/assets/icons.css +1043 -0
  167. package/website/versions/0.3.0/assets/icons.png +0 -0
  168. package/website/versions/0.3.0/assets/icons@2x.png +0 -0
  169. package/website/versions/0.3.0/assets/main.js +52 -0
  170. package/website/versions/0.3.0/assets/search.js +1 -0
  171. package/website/versions/0.3.0/assets/style.css +1384 -0
  172. package/website/versions/0.3.0/assets/widgets.png +0 -0
  173. package/website/versions/0.3.0/assets/widgets@2x.png +0 -0
  174. package/website/versions/0.3.0/classes/Contract.html +15 -0
  175. package/website/versions/0.3.0/classes/TinyBig.html +156 -0
  176. package/website/versions/0.3.0/index.html +123 -0
  177. package/website/versions/0.3.0/modules.html +32 -0
  178. package/website/versions/0.3.1/.nojekyll +1 -0
  179. package/website/versions/0.3.1/assets/highlight.css +71 -0
  180. package/website/versions/0.3.1/assets/icons.css +1043 -0
  181. package/website/versions/0.3.1/assets/icons.png +0 -0
  182. package/website/versions/0.3.1/assets/icons@2x.png +0 -0
  183. package/website/versions/0.3.1/assets/main.js +52 -0
  184. package/website/versions/0.3.1/assets/search.js +1 -0
  185. package/website/versions/0.3.1/assets/style.css +1384 -0
  186. package/website/versions/0.3.1/assets/widgets.png +0 -0
  187. package/website/versions/0.3.1/assets/widgets@2x.png +0 -0
  188. package/website/versions/0.3.1/classes/Contract.html +15 -0
  189. package/website/versions/0.3.1/classes/TinyBig.html +156 -0
  190. package/website/versions/0.3.1/index.html +123 -0
  191. package/website/versions/0.3.1/modules.html +32 -0
  192. package/website/versions/0.3.2/.nojekyll +1 -0
  193. package/website/versions/0.3.2/assets/highlight.css +71 -0
  194. package/website/versions/0.3.2/assets/icons.css +1043 -0
  195. package/website/versions/0.3.2/assets/icons.png +0 -0
  196. package/website/versions/0.3.2/assets/icons@2x.png +0 -0
  197. package/website/versions/0.3.2/assets/main.js +52 -0
  198. package/website/versions/0.3.2/assets/search.js +1 -0
  199. package/website/versions/0.3.2/assets/style.css +1384 -0
  200. package/website/versions/0.3.2/assets/widgets.png +0 -0
  201. package/website/versions/0.3.2/assets/widgets@2x.png +0 -0
  202. package/website/versions/0.3.2/classes/Contract.html +15 -0
  203. package/website/versions/0.3.2/classes/JsonRpcProvider.html +5 -0
  204. package/website/versions/0.3.2/classes/TinyBig.html +156 -0
  205. package/website/versions/0.3.2/index.html +123 -0
  206. package/website/versions/0.3.2/modules.html +32 -0
  207. package/website/versions/0.3.3/.nojekyll +1 -0
  208. package/website/versions/0.3.3/assets/highlight.css +71 -0
  209. package/website/versions/0.3.3/assets/icons.css +1043 -0
  210. package/website/versions/0.3.3/assets/icons.png +0 -0
  211. package/website/versions/0.3.3/assets/icons@2x.png +0 -0
  212. package/website/versions/0.3.3/assets/main.js +52 -0
  213. package/website/versions/0.3.3/assets/search.js +1 -0
  214. package/website/versions/0.3.3/assets/style.css +1384 -0
  215. package/website/versions/0.3.3/assets/widgets.png +0 -0
  216. package/website/versions/0.3.3/assets/widgets@2x.png +0 -0
  217. package/website/versions/0.3.3/classes/Contract.html +15 -0
  218. package/website/versions/0.3.3/classes/JsonRpcProvider.html +5 -0
  219. package/website/versions/0.3.3/classes/TinyBig.html +156 -0
  220. package/website/versions/0.3.3/index.html +123 -0
  221. package/website/versions/0.3.3/interfaces/Block.html +1 -0
  222. package/website/versions/0.3.3/interfaces/Transaction.html +1 -0
  223. package/website/versions/0.3.3/modules.html +32 -0
  224. package/website/versions/0.4.0/.nojekyll +1 -0
  225. package/website/versions/0.4.0/assets/highlight.css +71 -0
  226. package/website/versions/0.4.0/assets/icons.css +1043 -0
  227. package/website/versions/0.4.0/assets/icons.png +0 -0
  228. package/website/versions/0.4.0/assets/icons@2x.png +0 -0
  229. package/website/versions/0.4.0/assets/main.js +52 -0
  230. package/website/versions/0.4.0/assets/search.js +1 -0
  231. package/website/versions/0.4.0/assets/style.css +1384 -0
  232. package/website/versions/0.4.0/assets/widgets.png +0 -0
  233. package/website/versions/0.4.0/assets/widgets@2x.png +0 -0
  234. package/website/versions/0.4.0/classes/Contract.html +15 -0
  235. package/website/versions/0.4.0/classes/JsonRpcProvider.html +6 -0
  236. package/website/versions/0.4.0/classes/TinyBig.html +156 -0
  237. package/website/versions/0.4.0/index.html +148 -0
  238. package/website/versions/0.4.0/interfaces/Block.html +1 -0
  239. package/website/versions/0.4.0/interfaces/Transaction.html +1 -0
  240. package/website/versions/0.4.0/modules.html +32 -0
  241. package/website/versions/0.4.1/.nojekyll +1 -0
  242. package/website/versions/0.4.1/assets/highlight.css +71 -0
  243. package/website/versions/0.4.1/assets/icons.css +1043 -0
  244. package/website/versions/0.4.1/assets/icons.png +0 -0
  245. package/website/versions/0.4.1/assets/icons@2x.png +0 -0
  246. package/website/versions/0.4.1/assets/main.js +52 -0
  247. package/website/versions/0.4.1/assets/search.js +1 -0
  248. package/website/versions/0.4.1/assets/style.css +1384 -0
  249. package/website/versions/0.4.1/assets/widgets.png +0 -0
  250. package/website/versions/0.4.1/assets/widgets@2x.png +0 -0
  251. package/website/versions/0.4.1/classes/Contract.html +15 -0
  252. package/website/versions/0.4.1/classes/JsonRpcProvider.html +6 -0
  253. package/website/versions/0.4.1/classes/TinyBig.html +156 -0
  254. package/website/versions/0.4.1/index.html +148 -0
  255. package/website/versions/0.4.1/interfaces/Block.html +1 -0
  256. package/website/versions/0.4.1/interfaces/Transaction.html +1 -0
  257. package/website/versions/0.4.1/modules.html +32 -0
  258. package/website/versions/0.4.2/.nojekyll +1 -0
  259. package/website/versions/0.4.2/assets/highlight.css +71 -0
  260. package/website/versions/0.4.2/assets/icons.css +1043 -0
  261. package/website/versions/0.4.2/assets/icons.png +0 -0
  262. package/website/versions/0.4.2/assets/icons@2x.png +0 -0
  263. package/website/versions/0.4.2/assets/main.js +52 -0
  264. package/website/versions/0.4.2/assets/search.js +1 -0
  265. package/website/versions/0.4.2/assets/style.css +1384 -0
  266. package/website/versions/0.4.2/assets/widgets.png +0 -0
  267. package/website/versions/0.4.2/assets/widgets@2x.png +0 -0
  268. package/website/versions/0.4.2/classes/Contract.html +15 -0
  269. package/website/versions/0.4.2/classes/JsonRpcProvider.html +8 -0
  270. package/website/versions/0.4.2/classes/TinyBig.html +156 -0
  271. package/website/versions/0.4.2/index.html +199 -0
  272. package/website/versions/0.4.2/interfaces/Block.html +1 -0
  273. package/website/versions/0.4.2/interfaces/Transaction.html +1 -0
  274. package/website/versions/0.4.2/modules.html +34 -0
  275. package/website/versions/0.4.3/.nojekyll +1 -0
  276. package/website/versions/0.4.3/assets/highlight.css +71 -0
  277. package/website/versions/0.4.3/assets/icons.css +1043 -0
  278. package/website/versions/0.4.3/assets/icons.png +0 -0
  279. package/website/versions/0.4.3/assets/icons@2x.png +0 -0
  280. package/website/versions/0.4.3/assets/main.js +52 -0
  281. package/website/versions/0.4.3/assets/search.js +1 -0
  282. package/website/versions/0.4.3/assets/style.css +1384 -0
  283. package/website/versions/0.4.3/assets/widgets.png +0 -0
  284. package/website/versions/0.4.3/assets/widgets@2x.png +0 -0
  285. package/website/versions/0.4.3/classes/Contract.html +15 -0
  286. package/website/versions/0.4.3/classes/JsonRpcProvider.html +8 -0
  287. package/website/versions/0.4.3/classes/TinyBig.html +159 -0
  288. package/website/versions/0.4.3/index.html +199 -0
  289. package/website/versions/0.4.3/interfaces/Block.html +1 -0
  290. package/website/versions/0.4.3/interfaces/Transaction.html +1 -0
  291. package/website/versions/0.4.3/modules.html +34 -0
  292. package/website/versions/0.4.6/.nojekyll +1 -0
  293. package/website/versions/0.4.6/assets/highlight.css +71 -0
  294. package/website/versions/0.4.6/assets/icons.css +1043 -0
  295. package/website/versions/0.4.6/assets/icons.png +0 -0
  296. package/website/versions/0.4.6/assets/icons@2x.png +0 -0
  297. package/website/versions/0.4.6/assets/main.js +52 -0
  298. package/website/versions/0.4.6/assets/search.js +1 -0
  299. package/website/versions/0.4.6/assets/style.css +1413 -0
  300. package/website/versions/0.4.6/assets/widgets.png +0 -0
  301. package/website/versions/0.4.6/assets/widgets@2x.png +0 -0
  302. package/website/versions/0.4.6/classes/Contract.html +15 -0
  303. package/website/versions/0.4.6/classes/JsonRpcProvider.html +8 -0
  304. package/website/versions/0.4.6/classes/TinyBig.html +159 -0
  305. package/website/versions/0.4.6/index.html +207 -0
  306. package/website/versions/0.4.6/interfaces/Block.html +1 -0
  307. package/website/versions/0.4.6/interfaces/Transaction.html +1 -0
  308. package/website/versions/0.4.6/modules.html +34 -0
  309. package/website/versions/0.4.8/.nojekyll +1 -0
  310. package/website/versions/0.4.8/assets/highlight.css +71 -0
  311. package/website/versions/0.4.8/assets/icons.css +1043 -0
  312. package/website/versions/0.4.8/assets/icons.png +0 -0
  313. package/website/versions/0.4.8/assets/icons@2x.png +0 -0
  314. package/website/versions/0.4.8/assets/main.js +52 -0
  315. package/website/versions/0.4.8/assets/search.js +1 -0
  316. package/website/versions/0.4.8/assets/style.css +1413 -0
  317. package/website/versions/0.4.8/assets/widgets.png +0 -0
  318. package/website/versions/0.4.8/assets/widgets@2x.png +0 -0
  319. package/website/versions/0.4.8/classes/Contract.html +15 -0
  320. package/website/versions/0.4.8/classes/JsonRpcProvider.html +8 -0
  321. package/website/versions/0.4.8/classes/TinyBig.html +161 -0
  322. package/website/versions/0.4.8/index.html +207 -0
  323. package/website/versions/0.4.8/interfaces/Block.html +1 -0
  324. package/website/versions/0.4.8/interfaces/Transaction.html +1 -0
  325. package/website/versions/0.4.8/modules.html +34 -0
  326. package/website/versions/0.4.9-beta.0/.nojekyll +1 -0
  327. package/website/versions/0.4.9-beta.0/assets/highlight.css +71 -0
  328. package/website/versions/0.4.9-beta.0/assets/icons.css +1043 -0
  329. package/website/versions/0.4.9-beta.0/assets/icons.png +0 -0
  330. package/website/versions/0.4.9-beta.0/assets/icons@2x.png +0 -0
  331. package/website/versions/0.4.9-beta.0/assets/main.js +52 -0
  332. package/website/versions/0.4.9-beta.0/assets/search.js +1 -0
  333. package/website/versions/0.4.9-beta.0/assets/style.css +1413 -0
  334. package/website/versions/0.4.9-beta.0/assets/widgets.png +0 -0
  335. package/website/versions/0.4.9-beta.0/assets/widgets@2x.png +0 -0
  336. package/website/versions/0.4.9-beta.0/classes/Contract.html +13 -0
  337. package/website/versions/0.4.9-beta.0/classes/JsonRpcProvider.html +8 -0
  338. package/website/versions/0.4.9-beta.0/classes/TinyBig.html +161 -0
  339. package/website/versions/0.4.9-beta.0/index.html +207 -0
  340. package/website/versions/0.4.9-beta.0/interfaces/Block.html +1 -0
  341. package/website/versions/0.4.9-beta.0/interfaces/JSONABIArgument.html +1 -0
  342. package/website/versions/0.4.9-beta.0/interfaces/Network.html +3 -0
  343. package/website/versions/0.4.9-beta.0/interfaces/Transaction.html +1 -0
  344. package/website/versions/0.4.9-beta.0/modules.html +32 -0
  345. package/website/versions/versions/0.1.2/assets/highlight.css +57 -0
  346. package/website/versions/versions/0.1.2/assets/icons.css +1043 -0
  347. package/website/versions/versions/0.1.2/assets/icons.png +0 -0
  348. package/website/versions/versions/0.1.2/assets/icons@2x.png +0 -0
  349. package/website/versions/versions/0.1.2/assets/main.js +52 -0
  350. package/website/versions/versions/0.1.2/assets/search.js +1 -0
  351. package/website/versions/versions/0.1.2/assets/style.css +1341 -0
  352. package/website/versions/versions/0.1.2/assets/widgets.png +0 -0
  353. package/website/versions/versions/0.1.2/assets/widgets@2x.png +0 -0
  354. package/website/versions/versions/0.1.2/classes/TinyBig.html +4 -0
  355. package/website/versions/versions/0.1.2/index.html +20 -0
  356. package/website/versions/versions/0.1.2/modules.html +23 -0
  357. package/website/versions/versions/0.1.3/assets/highlight.css +64 -0
  358. package/website/versions/versions/0.1.3/assets/icons.css +1043 -0
  359. package/website/versions/versions/0.1.3/assets/icons.png +0 -0
  360. package/website/versions/versions/0.1.3/assets/icons@2x.png +0 -0
  361. package/website/versions/versions/0.1.3/assets/main.js +52 -0
  362. package/website/versions/versions/0.1.3/assets/search.js +1 -0
  363. package/website/versions/versions/0.1.3/assets/style.css +1341 -0
  364. package/website/versions/versions/0.1.3/assets/widgets.png +0 -0
  365. package/website/versions/versions/0.1.3/assets/widgets@2x.png +0 -0
  366. package/website/versions/versions/0.1.3/classes/TinyBig.html +4 -0
  367. package/website/versions/versions/0.1.3/index.html +53 -0
  368. package/website/versions/versions/0.1.3/modules.html +23 -0
  369. package/website/versions/versions/0.1.4/assets/highlight.css +64 -0
  370. package/website/versions/versions/0.1.4/assets/icons.css +1043 -0
  371. package/website/versions/versions/0.1.4/assets/icons.png +0 -0
  372. package/website/versions/versions/0.1.4/assets/icons@2x.png +0 -0
  373. package/website/versions/versions/0.1.4/assets/main.js +52 -0
  374. package/website/versions/versions/0.1.4/assets/search.js +1 -0
  375. package/website/versions/versions/0.1.4/assets/style.css +1341 -0
  376. package/website/versions/versions/0.1.4/assets/widgets.png +0 -0
  377. package/website/versions/versions/0.1.4/assets/widgets@2x.png +0 -0
  378. package/website/versions/versions/0.1.4/classes/TinyBig.html +4 -0
  379. package/website/versions/versions/0.1.4/index.html +58 -0
  380. package/website/versions/versions/0.1.4/modules.html +23 -0
  381. package/lib/cjs/classes/Contract.d.ts +0 -72
  382. package/lib/cjs/classes/Contract.js +0 -126
  383. package/lib/cjs/classes/test/Contract/crv-abi.d.ts +0 -2
  384. package/lib/cjs/classes/test/Contract/crv-abi.js +0 -488
  385. package/lib/cjs/classes/test/Contract/ens-abi.d.ts +0 -2
  386. package/lib/cjs/classes/test/Contract/ens-abi.js +0 -453
  387. package/lib/cjs/classes/test/Contract/fei-abi.d.ts +0 -2
  388. package/lib/cjs/classes/test/Contract/fei-abi.js +0 -526
  389. package/lib/cjs/classes/test/Contract/foo-abi.d.ts +0 -2
  390. package/lib/cjs/classes/test/Contract/foo-abi.js +0 -42
  391. package/lib/cjs/classes/test/Contract/uniswap-abi.d.ts +0 -2
  392. package/lib/cjs/classes/test/Contract/uniswap-abi.js +0 -121
  393. package/lib/cjs/classes/utils/clean-block.d.ts +0 -6
  394. package/lib/cjs/classes/utils/clean-block.js +0 -46
  395. package/lib/cjs/classes/utils/clean-transaction.d.ts +0 -5
  396. package/lib/cjs/classes/utils/clean-transaction.js +0 -38
  397. package/lib/cjs/classes/utils/encode-decode-transaction.d.ts +0 -3
  398. package/lib/cjs/classes/utils/encode-decode-transaction.js +0 -113
  399. package/lib/cjs/classes/utils/fetchers.d.ts +0 -9
  400. package/lib/cjs/classes/utils/fetchers.js +0 -33
  401. package/lib/cjs/classes/utils/hex-to-decimal.js +0 -11
  402. package/lib/cjs/index.d.ts +0 -12
  403. package/lib/cjs/index.js +0 -19
  404. package/lib/cjs/providers/JsonRpcProvider.d.ts +0 -22
  405. package/lib/cjs/providers/JsonRpcProvider.js +0 -69
  406. package/lib/cjs/providers/utils/chains-info.d.ts +0 -338
  407. package/lib/cjs/providers/utils/chains-info.js +0 -1015
  408. package/lib/cjs/shared/tiny-big/helpers.d.ts +0 -1
  409. package/lib/cjs/shared/tiny-big/helpers.js +0 -71
  410. package/lib/cjs/shared/tiny-big/tiny-big.d.ts +0 -19
  411. package/lib/cjs/shared/tiny-big/tiny-big.js +0 -41
  412. package/lib/cjs/shared/validate-type.d.ts +0 -3
  413. package/lib/cjs/shared/validate-type.js +0 -9
  414. package/lib/cjs/types/Block.types.d.ts +0 -47
  415. package/lib/cjs/types/Block.types.js +0 -2
  416. package/lib/cjs/types/Contract.types.d.ts +0 -24
  417. package/lib/cjs/types/Contract.types.js +0 -2
  418. package/lib/cjs/types/Network.types.d.ts +0 -8
  419. package/lib/cjs/types/Network.types.js +0 -2
  420. package/lib/cjs/types/Transaction.types.d.ts +0 -34
  421. package/lib/cjs/types/Transaction.types.js +0 -2
  422. package/lib/cjs/utils/ether-to-wei.js +0 -32
  423. package/lib/cjs/utils/is-address.d.ts +0 -5
  424. package/lib/cjs/utils/is-address.js +0 -20
  425. package/lib/cjs/utils/to-checksum-address.d.ts +0 -17
  426. package/lib/cjs/utils/to-checksum-address.js +0 -46
  427. package/lib/cjs/utils/wei-to-ether.js +0 -34
  428. package/lib/esm/classes/Contract.d.ts +0 -12
  429. package/lib/esm/classes/Contract.js +0 -63
  430. package/lib/esm/classes/test/Contract/crv-abi.d.ts +0 -2
  431. package/lib/esm/classes/test/Contract/crv-abi.js +0 -470
  432. package/lib/esm/classes/test/Contract/ens-abi.d.ts +0 -2
  433. package/lib/esm/classes/test/Contract/ens-abi.js +0 -435
  434. package/lib/esm/classes/test/Contract/fei-abi.d.ts +0 -2
  435. package/lib/esm/classes/test/Contract/fei-abi.js +0 -521
  436. package/lib/esm/classes/test/Contract/foo-abi.d.ts +0 -2
  437. package/lib/esm/classes/test/Contract/foo-abi.js +0 -33
  438. package/lib/esm/classes/test/Contract/uniswap-abi.d.ts +0 -2
  439. package/lib/esm/classes/test/Contract/uniswap-abi.js +0 -116
  440. package/lib/esm/classes/utils/clean-block.d.ts +0 -3
  441. package/lib/esm/classes/utils/clean-block.js +0 -35
  442. package/lib/esm/classes/utils/clean-transaction.d.ts +0 -2
  443. package/lib/esm/classes/utils/clean-transaction.js +0 -29
  444. package/lib/esm/classes/utils/encode-decode-transaction.d.ts +0 -3
  445. package/lib/esm/classes/utils/encode-decode-transaction.js +0 -98
  446. package/lib/esm/classes/utils/fetchers.d.ts +0 -9
  447. package/lib/esm/classes/utils/fetchers.js +0 -25
  448. package/lib/esm/classes/utils/hex-to-decimal.d.ts +0 -1
  449. package/lib/esm/classes/utils/hex-to-decimal.js +0 -3
  450. package/lib/esm/index.d.ts +0 -12
  451. package/lib/esm/index.js +0 -8
  452. package/lib/esm/providers/JsonRpcProvider.d.ts +0 -9
  453. package/lib/esm/providers/JsonRpcProvider.js +0 -49
  454. package/lib/esm/providers/utils/chains-info.d.ts +0 -338
  455. package/lib/esm/providers/utils/chains-info.js +0 -1011
  456. package/lib/esm/shared/tiny-big/helpers.d.ts +0 -1
  457. package/lib/esm/shared/tiny-big/helpers.js +0 -58
  458. package/lib/esm/shared/tiny-big/tiny-big.d.ts +0 -8
  459. package/lib/esm/shared/tiny-big/tiny-big.js +0 -22
  460. package/lib/esm/shared/validate-type.d.ts +0 -3
  461. package/lib/esm/shared/validate-type.js +0 -5
  462. package/lib/esm/types/Block.types.d.ts +0 -47
  463. package/lib/esm/types/Block.types.js +0 -1
  464. package/lib/esm/types/Contract.types.d.ts +0 -24
  465. package/lib/esm/types/Contract.types.js +0 -1
  466. package/lib/esm/types/Network.types.d.ts +0 -5
  467. package/lib/esm/types/Network.types.js +0 -1
  468. package/lib/esm/types/Transaction.types.d.ts +0 -34
  469. package/lib/esm/types/Transaction.types.js +0 -1
  470. package/lib/esm/utils/ether-to-wei.d.ts +0 -3
  471. package/lib/esm/utils/ether-to-wei.js +0 -7
  472. package/lib/esm/utils/is-address.d.ts +0 -1
  473. package/lib/esm/utils/is-address.js +0 -12
  474. package/lib/esm/utils/to-checksum-address.d.ts +0 -1
  475. package/lib/esm/utils/to-checksum-address.js +0 -25
  476. package/lib/esm/utils/wei-to-ether.d.ts +0 -3
  477. package/lib/esm/utils/wei-to-ether.js +0 -7
@@ -1,35 +0,0 @@
1
- import { toChecksumAddress } from '../..';
2
- import { cleanTransaction } from './clean-transaction';
3
- import { hexToDecimal } from './hex-to-decimal';
4
- export function cleanBlock(block, returnTransactionObjects) {
5
- const cleanedBlock = Object.assign({}, block);
6
- Object.keys(block).forEach((key) => {
7
- if (!block[key])
8
- return;
9
- switch (key) {
10
- case 'gasLimit':
11
- case 'gasUsed':
12
- case 'number':
13
- case 'size':
14
- case 'timestamp':
15
- case 'baseFeePerGas':
16
- cleanedBlock[key] = Number(hexToDecimal(block[key]));
17
- break;
18
- case 'difficulty':
19
- case 'totalDifficulty':
20
- cleanedBlock[key] = hexToDecimal(block[key]);
21
- break;
22
- case 'miner':
23
- if (block[key]) {
24
- cleanedBlock[key] = toChecksumAddress(block[key]);
25
- }
26
- break;
27
- }
28
- });
29
- if (returnTransactionObjects) {
30
- cleanedBlock.transactions.forEach((transaction, index) => {
31
- cleanedBlock.transactions[index] = cleanTransaction(transaction);
32
- });
33
- }
34
- return cleanedBlock;
35
- }
@@ -1,2 +0,0 @@
1
- import { RPCTransaction, Transaction } from '../../types/Transaction.types';
2
- export declare function cleanTransaction(transaction: RPCTransaction): Transaction;
@@ -1,29 +0,0 @@
1
- import { toChecksumAddress } from '../..';
2
- import { hexToDecimal } from './hex-to-decimal';
3
- export function cleanTransaction(transaction) {
4
- const cleanedTransaction = Object.assign({}, transaction);
5
- Object.keys(transaction).forEach((key) => {
6
- if (!transaction[key])
7
- return;
8
- switch (key) {
9
- case 'blockNumber':
10
- case 'gas':
11
- case 'nonce':
12
- case 'transactionIndex':
13
- case 'type':
14
- cleanedTransaction[key] = Number(hexToDecimal(transaction[key]));
15
- break;
16
- case 'gasPrice':
17
- case 'value':
18
- cleanedTransaction[key] = hexToDecimal(transaction[key]);
19
- break;
20
- case 'from':
21
- case 'to':
22
- if (transaction[key]) {
23
- cleanedTransaction[key] = toChecksumAddress(transaction[key]);
24
- }
25
- break;
26
- }
27
- });
28
- return cleanedTransaction;
29
- }
@@ -1,3 +0,0 @@
1
- import { JSONABIArgument } from '../../types/Contract.types';
2
- export declare function encodeData(jsonABIArgument: JSONABIArgument, args: any[]): string;
3
- export declare function decodeRPCResponse(jsonABIArgument: JSONABIArgument, nodeResponse: string): string | number | boolean | import("../..").TinyBig | (string | number | boolean | import("../..").TinyBig)[];
@@ -1,98 +0,0 @@
1
- import { Keccak } from 'sha3';
2
- import { tinyBig, toChecksumAddress } from '../..';
3
- import { hexToDecimal } from './hex-to-decimal';
4
- const hexTrue = '0000000000000000000000000000000000000000000000000000000000000001';
5
- const hexFalse = '0000000000000000000000000000000000000000000000000000000000000000';
6
- function expandType(type) {
7
- if (type === 'uint[]') {
8
- return 'uint256[]';
9
- }
10
- else if (type === 'int[]') {
11
- return 'int256[]';
12
- }
13
- return type;
14
- }
15
- export function encodeData(jsonABIArgument, args) {
16
- const hash = new Keccak(256);
17
- const functionString = `${jsonABIArgument.name}(${jsonABIArgument.inputs.map((input) => expandType(input.type))})`;
18
- const functionHash = hash.update(functionString).digest('hex');
19
- const jsonABIInputsLength = jsonABIArgument.inputs.length;
20
- let shouldValidateInputLength = true;
21
- if (jsonABIArgument.inputs.find((input) => input.type.includes('['))) {
22
- shouldValidateInputLength = false;
23
- }
24
- if (shouldValidateInputLength && args.length !== jsonABIInputsLength) {
25
- throw new Error(`args inputs of "${args.length}" does not match expected length of "${jsonABIArgument.inputs.length}"`);
26
- }
27
- const argsWithTypes = (jsonABIArgument.inputs || []).reduce((acc, input, i) => {
28
- var _a;
29
- if (input.type.includes('[')) {
30
- const basicType = (_a = /([^[]*)\[.*$/g.exec(input.type)) === null || _a === void 0 ? void 0 : _a[1];
31
- args.forEach((arg) => {
32
- acc = acc.concat([[arg, basicType]]);
33
- });
34
- return acc;
35
- }
36
- else {
37
- return acc.concat([[args[i], input.type]]);
38
- }
39
- }, []);
40
- const encodedArgs = argsWithTypes.map(([arg, inputType]) => {
41
- let rawArg = arg;
42
- switch (inputType) {
43
- case 'bool':
44
- return arg ? hexTrue : hexFalse;
45
- case 'address':
46
- rawArg = arg.replace(/^0x/g, '').toLowerCase();
47
- break;
48
- default:
49
- if (inputType.startsWith('bytes')) {
50
- const argEncoded = rawArg
51
- .split('')
52
- .map((character) => character.charCodeAt(0).toString(16))
53
- .join('');
54
- const paddedEncodedArg = argEncoded.padEnd(64, '0');
55
- return paddedEncodedArg;
56
- }
57
- else if (inputType === 'uint256') {
58
- const argEncoded = BigInt(arg).toString(16);
59
- const paddedEncodedArg = argEncoded.padStart(64, '0');
60
- return paddedEncodedArg;
61
- }
62
- else if (inputType.startsWith('uint')) {
63
- break;
64
- }
65
- else {
66
- throw new Error(`essential-eth does not yet support "${inputType}" inputs. Make a PR today!"`);
67
- }
68
- }
69
- const argEncoded = rawArg.toString(16);
70
- const paddedEncodedArg = argEncoded.padStart(64, '0');
71
- return paddedEncodedArg;
72
- });
73
- const functionEncoded = functionHash.slice(0, 8);
74
- const data = `0x${functionEncoded}${encodedArgs.join('')}`;
75
- return data;
76
- }
77
- export function decodeRPCResponse(jsonABIArgument, nodeResponse) {
78
- const rawOutputs = jsonABIArgument.outputs;
79
- const encodedOutputs = nodeResponse.slice(2).match(/.{1,64}/g);
80
- const outputs = (encodedOutputs || []).map((output, i) => {
81
- const outputType = (rawOutputs || [])[i].type;
82
- switch (outputType) {
83
- case 'bool':
84
- return output === hexTrue;
85
- case 'address':
86
- return toChecksumAddress(`0x${output.slice(24)}`);
87
- case 'uint256':
88
- return tinyBig(hexToDecimal(`0x${output}`));
89
- case 'bytes32':
90
- return `0x${output}`;
91
- case 'uint8':
92
- return Number(hexToDecimal(`0x${output}`));
93
- default:
94
- throw new Error(`essential-eth does not yet support "${outputType}" outputs. Make a PR today!"`);
95
- }
96
- });
97
- return outputs.length === 1 ? outputs[0] : outputs;
98
- }
@@ -1,9 +0,0 @@
1
- export declare function post(url: string, body: Record<string, unknown>): Promise<any>;
2
- declare type RPCMethodName = 'eth_getBlockByNumber' | 'eth_call' | 'eth_chainId';
3
- export declare function buildRPCPostBody(method: RPCMethodName, params: any[]): {
4
- jsonrpc: string;
5
- id: number;
6
- method: RPCMethodName;
7
- params: any[];
8
- };
9
- export {};
@@ -1,25 +0,0 @@
1
- import unfetch from 'isomorphic-unfetch';
2
- export function post(url, body) {
3
- return unfetch(url, {
4
- method: 'POST',
5
- headers: {
6
- 'Content-Type': 'application/json',
7
- },
8
- body: JSON.stringify(body),
9
- })
10
- .then((r) => r.json())
11
- .then((response) => {
12
- if (response.error) {
13
- throw new Error(response.error);
14
- }
15
- return response.result;
16
- });
17
- }
18
- export function buildRPCPostBody(method, params) {
19
- return {
20
- jsonrpc: '2.0',
21
- id: 1,
22
- method,
23
- params,
24
- };
25
- }
@@ -1 +0,0 @@
1
- export declare function hexToDecimal(hex: string): string;
@@ -1,3 +0,0 @@
1
- export function hexToDecimal(hex) {
2
- return BigInt(hex).toString();
3
- }
@@ -1,12 +0,0 @@
1
- import { Contract } from './classes/Contract';
2
- import { JsonRpcProvider, jsonRpcProvider } from './providers/JsonRpcProvider';
3
- import { tinyBig, TinyBig } from './shared/tiny-big/tiny-big';
4
- import { Block } from './types/Block.types';
5
- import { ContractTypes, JSONABI, JSONABIArgument } from './types/Contract.types';
6
- import { Network } from './types/Network.types';
7
- import { Transaction } from './types/Transaction.types';
8
- import { etherToWei } from './utils/ether-to-wei';
9
- import { isAddress } from './utils/is-address';
10
- import { toChecksumAddress } from './utils/to-checksum-address';
11
- import { weiToEther } from './utils/wei-to-ether';
12
- export { etherToWei, isAddress, jsonRpcProvider, JsonRpcProvider, tinyBig, toChecksumAddress, weiToEther, Contract, TinyBig, Block, ContractTypes, JSONABI, JSONABIArgument, Network, Transaction, };
package/lib/esm/index.js DELETED
@@ -1,8 +0,0 @@
1
- import { Contract } from './classes/Contract';
2
- import { JsonRpcProvider, jsonRpcProvider } from './providers/JsonRpcProvider';
3
- import { tinyBig, TinyBig } from './shared/tiny-big/tiny-big';
4
- import { etherToWei } from './utils/ether-to-wei';
5
- import { isAddress } from './utils/is-address';
6
- import { toChecksumAddress } from './utils/to-checksum-address';
7
- import { weiToEther } from './utils/wei-to-ether';
8
- export { etherToWei, isAddress, jsonRpcProvider, JsonRpcProvider, tinyBig, toChecksumAddress, weiToEther, Contract, TinyBig, };
@@ -1,9 +0,0 @@
1
- import { Block } from '../types/Block.types';
2
- import { Network } from '../types/Network.types';
3
- export declare class JsonRpcProvider {
4
- _rpcUrl: string;
5
- constructor(rpcUrl?: string);
6
- getBlock(timeFrame: 'latest' | 'earliest' | 'pending' | number, returnTransactionObjects?: boolean): Promise<Block>;
7
- getNetwork(): Promise<Network>;
8
- }
9
- export declare function jsonRpcProvider(rpcUrl?: string): JsonRpcProvider;
@@ -1,49 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import { cleanBlock } from '../classes/utils/clean-block';
11
- import { buildRPCPostBody, post } from '../classes/utils/fetchers';
12
- import { hexToDecimal } from '../classes/utils/hex-to-decimal';
13
- import chainsInfo from './utils/chains-info';
14
- export class JsonRpcProvider {
15
- constructor(rpcUrl) {
16
- this._rpcUrl = rpcUrl || 'https://free-eth-node.com/api/eth';
17
- }
18
- getBlock(timeFrame, returnTransactionObjects = false) {
19
- return __awaiter(this, void 0, void 0, function* () {
20
- let rpcTimeFrame;
21
- if (typeof timeFrame === 'number') {
22
- rpcTimeFrame = `0x${timeFrame.toString(16)}`;
23
- }
24
- else {
25
- rpcTimeFrame = timeFrame;
26
- }
27
- const nodeResponse = (yield post(this._rpcUrl, buildRPCPostBody('eth_getBlockByNumber', [
28
- rpcTimeFrame,
29
- returnTransactionObjects,
30
- ])));
31
- return cleanBlock(nodeResponse, returnTransactionObjects);
32
- });
33
- }
34
- getNetwork() {
35
- return __awaiter(this, void 0, void 0, function* () {
36
- const nodeResponse = (yield post(this._rpcUrl, buildRPCPostBody('eth_chainId', [])));
37
- const chainId = hexToDecimal(nodeResponse);
38
- const info = chainsInfo[chainId];
39
- return {
40
- chainId: Number(chainId),
41
- name: info[0] || 'unknown',
42
- ensAddress: info[1] || null,
43
- };
44
- });
45
- }
46
- }
47
- export function jsonRpcProvider(rpcUrl) {
48
- return new JsonRpcProvider(rpcUrl);
49
- }
@@ -1,338 +0,0 @@
1
- declare const _default: {
2
- "1": string[];
3
- "2": string[];
4
- "3": string[];
5
- "4": string[];
6
- "5": string[];
7
- "6": string[];
8
- "7": string[];
9
- "8": string[];
10
- "9": string[];
11
- "10": string[];
12
- "11": string[];
13
- "12": string[];
14
- "13": string[];
15
- "14": string[];
16
- "15": string[];
17
- "16": string[];
18
- "17": string[];
19
- "18": string[];
20
- "19": string[];
21
- "20": string[];
22
- "21": string[];
23
- "22": string[];
24
- "23": string[];
25
- "24": string[];
26
- "25": string[];
27
- "26": string[];
28
- "27": string[];
29
- "28": string[];
30
- "29": string[];
31
- "30": string[];
32
- "31": string[];
33
- "32": string[];
34
- "33": string[];
35
- "34": string[];
36
- "35": string[];
37
- "38": string[];
38
- "40": string[];
39
- "41": string[];
40
- "42": string[];
41
- "43": string[];
42
- "44": string[];
43
- "45": string[];
44
- "50": string[];
45
- "51": string[];
46
- "52": string[];
47
- "53": string[];
48
- "55": string[];
49
- "56": string[];
50
- "57": string[];
51
- "58": string[];
52
- "59": string[];
53
- "60": string[];
54
- "61": string[];
55
- "62": string[];
56
- "63": string[];
57
- "64": string[];
58
- "65": string[];
59
- "66": string[];
60
- "67": string[];
61
- "68": string[];
62
- "69": string[];
63
- "71": string[];
64
- "74": string[];
65
- "76": string[];
66
- "77": string[];
67
- "78": string[];
68
- "80": string[];
69
- "82": string[];
70
- "83": string[];
71
- "85": string[];
72
- "86": string[];
73
- "87": string[];
74
- "88": string[];
75
- "89": string[];
76
- "90": string[];
77
- "91": string[];
78
- "92": string[];
79
- "93": string[];
80
- "95": string[];
81
- "96": string[];
82
- "97": string[];
83
- "99": string[];
84
- "100": string[];
85
- "101": string[];
86
- "102": string[];
87
- "106": string[];
88
- "107": string[];
89
- "108": string[];
90
- "110": string[];
91
- "111": string[];
92
- "122": string[];
93
- "123": string[];
94
- "124": string[];
95
- "125": string[];
96
- "126": string[];
97
- "127": string[];
98
- "128": string[];
99
- "137": string[];
100
- "142": string[];
101
- "162": string[];
102
- "163": string[];
103
- "170": string[];
104
- "172": string[];
105
- "186": string[];
106
- "188": string[];
107
- "189": string[];
108
- "199": string[];
109
- "200": string[];
110
- "211": string[];
111
- "222": string[];
112
- "246": string[];
113
- "250": string[];
114
- "256": string[];
115
- "262": string[];
116
- "269": string[];
117
- "288": string[];
118
- "321": string[];
119
- "322": string[];
120
- "333": string[];
121
- "336": string[];
122
- "338": string[];
123
- "361": string[];
124
- "363": string[];
125
- "364": string[];
126
- "365": string[];
127
- "369": string[];
128
- "385": string[];
129
- "420": string[];
130
- "499": string[];
131
- "555": string[];
132
- "558": string[];
133
- "588": string[];
134
- "595": string[];
135
- "600": string[];
136
- "666": string[];
137
- "686": string[];
138
- "707": string[];
139
- "708": string[];
140
- "721": string[];
141
- "777": string[];
142
- "787": string[];
143
- "803": string[];
144
- "820": string[];
145
- "821": string[];
146
- "880": string[];
147
- "888": string[];
148
- "900": string[];
149
- "901": string[];
150
- "902": string[];
151
- "903": string[];
152
- "940": string[];
153
- "977": string[];
154
- "998": string[];
155
- "999": string[];
156
- "1001": string[];
157
- "1007": string[];
158
- "1010": string[];
159
- "1012": string[];
160
- "1022": string[];
161
- "1023": string[];
162
- "1024": string[];
163
- "1028": string[];
164
- "1030": string[];
165
- "1088": string[];
166
- "1139": string[];
167
- "1140": string[];
168
- "1197": string[];
169
- "1202": string[];
170
- "1213": string[];
171
- "1214": string[];
172
- "1280": string[];
173
- "1284": string[];
174
- "1285": string[];
175
- "1287": string[];
176
- "1288": string[];
177
- "1618": string[];
178
- "1620": string[];
179
- "1657": string[];
180
- "1856": string[];
181
- "1987": string[];
182
- "2020": string[];
183
- "2021": string[];
184
- "2022": string[];
185
- "2025": string[];
186
- "2100": string[];
187
- "2101": string[];
188
- "2559": string[];
189
- "3331": string[];
190
- "3333": string[];
191
- "3690": string[];
192
- "4002": string[];
193
- "4689": string[];
194
- "4690": string[];
195
- "5197": string[];
196
- "5315": string[];
197
- "5700": string[];
198
- "5851": string[];
199
- "5869": string[];
200
- "6626": string[];
201
- "7341": string[];
202
- "7878": string[];
203
- "8000": string[];
204
- "8001": string[];
205
- "8029": string[];
206
- "8080": string[];
207
- "8217": string[];
208
- "8285": string[];
209
- "8723": string[];
210
- "8724": string[];
211
- "8888": string[];
212
- "8995": string[];
213
- "9000": string[];
214
- "9001": string[];
215
- "9100": string[];
216
- "9527": string[];
217
- "9999": string[];
218
- "10000": string[];
219
- "10001": string[];
220
- "10101": string[];
221
- "11111": string[];
222
- "11437": string[];
223
- "12051": string[];
224
- "12052": string[];
225
- "13381": string[];
226
- "16000": string[];
227
- "16001": string[];
228
- "19845": string[];
229
- "24484": string[];
230
- "24734": string[];
231
- "31102": string[];
232
- "31337": string[];
233
- "32659": string[];
234
- "39797": string[];
235
- "42069": string[];
236
- "42161": string[];
237
- "42220": string[];
238
- "42261": string[];
239
- "42262": string[];
240
- "43110": string[];
241
- "43113": string[];
242
- "43114": string[];
243
- "44787": string[];
244
- "47805": string[];
245
- "49797": string[];
246
- "55555": string[];
247
- "55556": string[];
248
- "60000": string[];
249
- "60001": string[];
250
- "60002": string[];
251
- "60103": string[];
252
- "62320": string[];
253
- "63000": string[];
254
- "63001": string[];
255
- "70000": string[];
256
- "70001": string[];
257
- "70002": string[];
258
- "70103": string[];
259
- "71393": string[];
260
- "73799": string[];
261
- "78110": string[];
262
- "80001": string[];
263
- "99998": string[];
264
- "99999": string[];
265
- "100000": string[];
266
- "100001": string[];
267
- "100002": string[];
268
- "100003": string[];
269
- "100004": string[];
270
- "100005": string[];
271
- "100006": string[];
272
- "100007": string[];
273
- "100008": string[];
274
- "108801": string[];
275
- "110000": string[];
276
- "110001": string[];
277
- "110002": string[];
278
- "110003": string[];
279
- "110004": string[];
280
- "110005": string[];
281
- "110006": string[];
282
- "110007": string[];
283
- "110008": string[];
284
- "200625": string[];
285
- "201018": string[];
286
- "201030": string[];
287
- "210309": string[];
288
- "210425": string[];
289
- "246529": string[];
290
- "246785": string[];
291
- "281121": string[];
292
- "333888": string[];
293
- "333999": string[];
294
- "421611": string[];
295
- "666666": string[];
296
- "888888": string[];
297
- "955305": string[];
298
- "1313114": string[];
299
- "1313500": string[];
300
- "1337702": string[];
301
- "7762959": string[];
302
- "11155111": string[];
303
- "13371337": string[];
304
- "18289463": string[];
305
- "20181205": string[];
306
- "28945486": string[];
307
- "35855456": string[];
308
- "61717561": string[];
309
- "99415706": string[];
310
- "192837465": string[];
311
- "245022926": string[];
312
- "245022934": string[];
313
- "245022940": string[];
314
- "311752642": string[];
315
- "356256156": string[];
316
- "486217935": string[];
317
- "1122334455": string[];
318
- "1313161554": string[];
319
- "1313161555": string[];
320
- "1313161556": string[];
321
- "1666600000": string[];
322
- "1666600001": string[];
323
- "1666600002": string[];
324
- "1666600003": string[];
325
- "1666700000": string[];
326
- "1666700001": string[];
327
- "1666700002": string[];
328
- "1666700003": string[];
329
- "2021121117": string[];
330
- "3125659152": string[];
331
- "4216137055": string[];
332
- "11297108099": string[];
333
- "11297108109": string[];
334
- "197710212030": string[];
335
- "197710212031": string[];
336
- "6022140761023": string[];
337
- };
338
- export default _default;