waves_lib 0.1.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 (1222) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/CHANGELOG.md +5 -0
  5. data/CODE_OF_CONDUCT.md +84 -0
  6. data/LICENSE.txt +19 -0
  7. data/README.md +39 -0
  8. data/Rakefile +12 -0
  9. data/js/node_modules/@protobufjs/aspromise/LICENSE +26 -0
  10. data/js/node_modules/@protobufjs/aspromise/README.md +13 -0
  11. data/js/node_modules/@protobufjs/aspromise/index.d.ts +13 -0
  12. data/js/node_modules/@protobufjs/aspromise/index.js +52 -0
  13. data/js/node_modules/@protobufjs/aspromise/package.json +21 -0
  14. data/js/node_modules/@protobufjs/aspromise/tests/index.js +130 -0
  15. data/js/node_modules/@protobufjs/base64/LICENSE +26 -0
  16. data/js/node_modules/@protobufjs/base64/README.md +19 -0
  17. data/js/node_modules/@protobufjs/base64/index.d.ts +32 -0
  18. data/js/node_modules/@protobufjs/base64/index.js +139 -0
  19. data/js/node_modules/@protobufjs/base64/package.json +21 -0
  20. data/js/node_modules/@protobufjs/base64/tests/index.js +46 -0
  21. data/js/node_modules/@protobufjs/codegen/LICENSE +26 -0
  22. data/js/node_modules/@protobufjs/codegen/README.md +49 -0
  23. data/js/node_modules/@protobufjs/codegen/index.d.ts +31 -0
  24. data/js/node_modules/@protobufjs/codegen/index.js +99 -0
  25. data/js/node_modules/@protobufjs/codegen/package.json +13 -0
  26. data/js/node_modules/@protobufjs/codegen/tests/index.js +13 -0
  27. data/js/node_modules/@protobufjs/eventemitter/LICENSE +26 -0
  28. data/js/node_modules/@protobufjs/eventemitter/README.md +22 -0
  29. data/js/node_modules/@protobufjs/eventemitter/index.d.ts +43 -0
  30. data/js/node_modules/@protobufjs/eventemitter/index.js +76 -0
  31. data/js/node_modules/@protobufjs/eventemitter/package.json +21 -0
  32. data/js/node_modules/@protobufjs/eventemitter/tests/index.js +47 -0
  33. data/js/node_modules/@protobufjs/fetch/LICENSE +26 -0
  34. data/js/node_modules/@protobufjs/fetch/README.md +13 -0
  35. data/js/node_modules/@protobufjs/fetch/index.d.ts +56 -0
  36. data/js/node_modules/@protobufjs/fetch/index.js +115 -0
  37. data/js/node_modules/@protobufjs/fetch/package.json +25 -0
  38. data/js/node_modules/@protobufjs/fetch/tests/index.js +16 -0
  39. data/js/node_modules/@protobufjs/float/LICENSE +26 -0
  40. data/js/node_modules/@protobufjs/float/README.md +102 -0
  41. data/js/node_modules/@protobufjs/float/bench/index.js +87 -0
  42. data/js/node_modules/@protobufjs/float/bench/suite.js +46 -0
  43. data/js/node_modules/@protobufjs/float/index.d.ts +83 -0
  44. data/js/node_modules/@protobufjs/float/index.js +335 -0
  45. data/js/node_modules/@protobufjs/float/package.json +26 -0
  46. data/js/node_modules/@protobufjs/float/tests/index.js +100 -0
  47. data/js/node_modules/@protobufjs/inquire/LICENSE +26 -0
  48. data/js/node_modules/@protobufjs/inquire/README.md +13 -0
  49. data/js/node_modules/@protobufjs/inquire/index.d.ts +9 -0
  50. data/js/node_modules/@protobufjs/inquire/index.js +17 -0
  51. data/js/node_modules/@protobufjs/inquire/package.json +21 -0
  52. data/js/node_modules/@protobufjs/inquire/tests/data/array.js +1 -0
  53. data/js/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +1 -0
  54. data/js/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +1 -0
  55. data/js/node_modules/@protobufjs/inquire/tests/data/object.js +1 -0
  56. data/js/node_modules/@protobufjs/inquire/tests/index.js +20 -0
  57. data/js/node_modules/@protobufjs/path/LICENSE +26 -0
  58. data/js/node_modules/@protobufjs/path/README.md +19 -0
  59. data/js/node_modules/@protobufjs/path/index.d.ts +22 -0
  60. data/js/node_modules/@protobufjs/path/index.js +65 -0
  61. data/js/node_modules/@protobufjs/path/package.json +21 -0
  62. data/js/node_modules/@protobufjs/path/tests/index.js +60 -0
  63. data/js/node_modules/@protobufjs/pool/LICENSE +26 -0
  64. data/js/node_modules/@protobufjs/pool/README.md +13 -0
  65. data/js/node_modules/@protobufjs/pool/index.d.ts +32 -0
  66. data/js/node_modules/@protobufjs/pool/index.js +48 -0
  67. data/js/node_modules/@protobufjs/pool/package.json +21 -0
  68. data/js/node_modules/@protobufjs/pool/tests/index.js +33 -0
  69. data/js/node_modules/@protobufjs/utf8/LICENSE +26 -0
  70. data/js/node_modules/@protobufjs/utf8/README.md +20 -0
  71. data/js/node_modules/@protobufjs/utf8/index.d.ts +24 -0
  72. data/js/node_modules/@protobufjs/utf8/index.js +105 -0
  73. data/js/node_modules/@protobufjs/utf8/package.json +21 -0
  74. data/js/node_modules/@protobufjs/utf8/tests/data/utf8.txt +216 -0
  75. data/js/node_modules/@protobufjs/utf8/tests/index.js +57 -0
  76. data/js/node_modules/@types/base64-js/LICENSE +21 -0
  77. data/js/node_modules/@types/base64-js/README.md +16 -0
  78. data/js/node_modules/@types/base64-js/index.d.ts +23 -0
  79. data/js/node_modules/@types/base64-js/package.json +29 -0
  80. data/js/node_modules/@types/long/LICENSE +21 -0
  81. data/js/node_modules/@types/long/README.md +16 -0
  82. data/js/node_modules/@types/long/index.d.ts +389 -0
  83. data/js/node_modules/@types/long/package.json +25 -0
  84. data/js/node_modules/@types/node/LICENSE +21 -0
  85. data/js/node_modules/@types/node/README.md +16 -0
  86. data/js/node_modules/@types/node/assert/strict.d.ts +8 -0
  87. data/js/node_modules/@types/node/assert.d.ts +972 -0
  88. data/js/node_modules/@types/node/async_hooks.d.ts +530 -0
  89. data/js/node_modules/@types/node/buffer.d.ts +2354 -0
  90. data/js/node_modules/@types/node/child_process.d.ts +1395 -0
  91. data/js/node_modules/@types/node/cluster.d.ts +414 -0
  92. data/js/node_modules/@types/node/console.d.ts +412 -0
  93. data/js/node_modules/@types/node/constants.d.ts +18 -0
  94. data/js/node_modules/@types/node/crypto.d.ts +3978 -0
  95. data/js/node_modules/@types/node/dgram.d.ts +545 -0
  96. data/js/node_modules/@types/node/diagnostics_channel.d.ts +191 -0
  97. data/js/node_modules/@types/node/dns/promises.d.ts +414 -0
  98. data/js/node_modules/@types/node/dns.d.ts +668 -0
  99. data/js/node_modules/@types/node/dom-events.d.ts +126 -0
  100. data/js/node_modules/@types/node/domain.d.ts +170 -0
  101. data/js/node_modules/@types/node/events.d.ts +724 -0
  102. data/js/node_modules/@types/node/fs/promises.d.ts +1190 -0
  103. data/js/node_modules/@types/node/fs.d.ts +4044 -0
  104. data/js/node_modules/@types/node/globals.d.ts +303 -0
  105. data/js/node_modules/@types/node/globals.global.d.ts +1 -0
  106. data/js/node_modules/@types/node/http.d.ts +1724 -0
  107. data/js/node_modules/@types/node/http2.d.ts +2129 -0
  108. data/js/node_modules/@types/node/https.d.ts +441 -0
  109. data/js/node_modules/@types/node/index.d.ts +134 -0
  110. data/js/node_modules/@types/node/inspector.d.ts +2748 -0
  111. data/js/node_modules/@types/node/module.d.ts +129 -0
  112. data/js/node_modules/@types/node/net.d.ts +888 -0
  113. data/js/node_modules/@types/node/os.d.ts +477 -0
  114. data/js/node_modules/@types/node/package.json +237 -0
  115. data/js/node_modules/@types/node/path.d.ts +191 -0
  116. data/js/node_modules/@types/node/perf_hooks.d.ts +638 -0
  117. data/js/node_modules/@types/node/process.d.ts +1494 -0
  118. data/js/node_modules/@types/node/punycode.d.ts +117 -0
  119. data/js/node_modules/@types/node/querystring.d.ts +131 -0
  120. data/js/node_modules/@types/node/readline/promises.d.ts +145 -0
  121. data/js/node_modules/@types/node/readline.d.ts +526 -0
  122. data/js/node_modules/@types/node/repl.d.ts +424 -0
  123. data/js/node_modules/@types/node/stream/consumers.d.ts +12 -0
  124. data/js/node_modules/@types/node/stream/promises.d.ts +42 -0
  125. data/js/node_modules/@types/node/stream/web.d.ts +330 -0
  126. data/js/node_modules/@types/node/stream.d.ts +1421 -0
  127. data/js/node_modules/@types/node/string_decoder.d.ts +67 -0
  128. data/js/node_modules/@types/node/test.d.ts +1383 -0
  129. data/js/node_modules/@types/node/timers/promises.d.ts +93 -0
  130. data/js/node_modules/@types/node/timers.d.ts +215 -0
  131. data/js/node_modules/@types/node/tls.d.ts +1130 -0
  132. data/js/node_modules/@types/node/trace_events.d.ts +182 -0
  133. data/js/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  134. data/js/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
  135. data/js/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
  136. data/js/node_modules/@types/node/ts4.8/buffer.d.ts +2354 -0
  137. data/js/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
  138. data/js/node_modules/@types/node/ts4.8/cluster.d.ts +414 -0
  139. data/js/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  140. data/js/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  141. data/js/node_modules/@types/node/ts4.8/crypto.d.ts +3977 -0
  142. data/js/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  143. data/js/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  144. data/js/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
  145. data/js/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
  146. data/js/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  147. data/js/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  148. data/js/node_modules/@types/node/ts4.8/events.d.ts +724 -0
  149. data/js/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
  150. data/js/node_modules/@types/node/ts4.8/fs.d.ts +4044 -0
  151. data/js/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
  152. data/js/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  153. data/js/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
  154. data/js/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
  155. data/js/node_modules/@types/node/ts4.8/https.d.ts +441 -0
  156. data/js/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  157. data/js/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
  158. data/js/node_modules/@types/node/ts4.8/module.d.ts +129 -0
  159. data/js/node_modules/@types/node/ts4.8/net.d.ts +888 -0
  160. data/js/node_modules/@types/node/ts4.8/os.d.ts +477 -0
  161. data/js/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  162. data/js/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
  163. data/js/node_modules/@types/node/ts4.8/process.d.ts +1494 -0
  164. data/js/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  165. data/js/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  166. data/js/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
  167. data/js/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
  168. data/js/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  169. data/js/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  170. data/js/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  171. data/js/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  172. data/js/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
  173. data/js/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  174. data/js/node_modules/@types/node/ts4.8/test.d.ts +1365 -0
  175. data/js/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  176. data/js/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
  177. data/js/node_modules/@types/node/ts4.8/tls.d.ts +1130 -0
  178. data/js/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  179. data/js/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  180. data/js/node_modules/@types/node/ts4.8/url.d.ts +901 -0
  181. data/js/node_modules/@types/node/ts4.8/util.d.ts +2116 -0
  182. data/js/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  183. data/js/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
  184. data/js/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
  185. data/js/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
  186. data/js/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  187. data/js/node_modules/@types/node/tty.d.ts +208 -0
  188. data/js/node_modules/@types/node/url.d.ts +901 -0
  189. data/js/node_modules/@types/node/util.d.ts +2116 -0
  190. data/js/node_modules/@types/node/v8.d.ts +635 -0
  191. data/js/node_modules/@types/node/vm.d.ts +894 -0
  192. data/js/node_modules/@types/node/wasi.d.ts +152 -0
  193. data/js/node_modules/@types/node/worker_threads.d.ts +693 -0
  194. data/js/node_modules/@types/node/zlib.d.ts +517 -0
  195. data/js/node_modules/@types/node-fetch/LICENSE +21 -0
  196. data/js/node_modules/@types/node-fetch/README.md +16 -0
  197. data/js/node_modules/@types/node-fetch/externals.d.ts +24 -0
  198. data/js/node_modules/@types/node-fetch/index.d.ts +224 -0
  199. data/js/node_modules/@types/node-fetch/package.json +83 -0
  200. data/js/node_modules/@waves/bignumber/dist/BigNumber.d.ts +74 -0
  201. data/js/node_modules/@waves/bignumber/dist/BigNumber.js +252 -0
  202. data/js/node_modules/@waves/bignumber/dist/BigNumber.js.map +1 -0
  203. data/js/node_modules/@waves/bignumber/dist/Config.d.ts +22 -0
  204. data/js/node_modules/@waves/bignumber/dist/Config.js +43 -0
  205. data/js/node_modules/@waves/bignumber/dist/Config.js.map +1 -0
  206. data/js/node_modules/@waves/bignumber/dist/bignumber.umd.js +3194 -0
  207. data/js/node_modules/@waves/bignumber/dist/bignumber.umd.min.js +1 -0
  208. data/js/node_modules/@waves/bignumber/dist/index.d.ts +3 -0
  209. data/js/node_modules/@waves/bignumber/dist/index.js +9 -0
  210. data/js/node_modules/@waves/bignumber/dist/index.js.map +1 -0
  211. data/js/node_modules/@waves/bignumber/package.json +64 -0
  212. data/js/node_modules/@waves/bignumber/readme.md +285 -0
  213. data/js/node_modules/@waves/marshall/LICENSE +9 -0
  214. data/js/node_modules/@waves/marshall/README.md +39 -0
  215. data/js/node_modules/@waves/marshall/dist/index.d.ts +26 -0
  216. data/js/node_modules/@waves/marshall/dist/index.js +45 -0
  217. data/js/node_modules/@waves/marshall/dist/index.js.map +1 -0
  218. data/js/node_modules/@waves/marshall/dist/jsonMethods.d.ts +36 -0
  219. data/js/node_modules/@waves/marshall/dist/jsonMethods.js +194 -0
  220. data/js/node_modules/@waves/marshall/dist/jsonMethods.js.map +1 -0
  221. data/js/node_modules/@waves/marshall/dist/libs/Utf8ArrayToStr.d.ts +1 -0
  222. data/js/node_modules/@waves/marshall/dist/libs/Utf8ArrayToStr.js +35 -0
  223. data/js/node_modules/@waves/marshall/dist/libs/Utf8ArrayToStr.js.map +1 -0
  224. data/js/node_modules/@waves/marshall/dist/libs/base58.d.ts +5 -0
  225. data/js/node_modules/@waves/marshall/dist/libs/base58.js +66 -0
  226. data/js/node_modules/@waves/marshall/dist/libs/base58.js.map +1 -0
  227. data/js/node_modules/@waves/marshall/dist/libs/utils.d.ts +2 -0
  228. data/js/node_modules/@waves/marshall/dist/libs/utils.js +6 -0
  229. data/js/node_modules/@waves/marshall/dist/libs/utils.js.map +1 -0
  230. data/js/node_modules/@waves/marshall/dist/min/waves-marshall.min.js +1 -0
  231. data/js/node_modules/@waves/marshall/dist/parse.d.ts +21 -0
  232. data/js/node_modules/@waves/marshall/dist/parse.js +142 -0
  233. data/js/node_modules/@waves/marshall/dist/parse.js.map +1 -0
  234. data/js/node_modules/@waves/marshall/dist/parsePrimitives.d.ts +57 -0
  235. data/js/node_modules/@waves/marshall/dist/parsePrimitives.js +96 -0
  236. data/js/node_modules/@waves/marshall/dist/parsePrimitives.js.map +1 -0
  237. data/js/node_modules/@waves/marshall/dist/schemaTypes.d.ts +62 -0
  238. data/js/node_modules/@waves/marshall/dist/schemaTypes.js +41 -0
  239. data/js/node_modules/@waves/marshall/dist/schemaTypes.js.map +1 -0
  240. data/js/node_modules/@waves/marshall/dist/schemas.d.ts +128 -0
  241. data/js/node_modules/@waves/marshall/dist/schemas.js +542 -0
  242. data/js/node_modules/@waves/marshall/dist/schemas.js.map +1 -0
  243. data/js/node_modules/@waves/marshall/dist/serialize.d.ts +11 -0
  244. data/js/node_modules/@waves/marshall/dist/serialize.js +102 -0
  245. data/js/node_modules/@waves/marshall/dist/serialize.js.map +1 -0
  246. data/js/node_modules/@waves/marshall/dist/serializePrimitives.d.ts +21 -0
  247. data/js/node_modules/@waves/marshall/dist/serializePrimitives.js +63 -0
  248. data/js/node_modules/@waves/marshall/dist/serializePrimitives.js.map +1 -0
  249. data/js/node_modules/@waves/marshall/package.json +45 -0
  250. data/js/node_modules/@waves/marshall/src/index.ts +51 -0
  251. data/js/node_modules/@waves/marshall/src/jsonMethods.ts +231 -0
  252. data/js/node_modules/@waves/marshall/src/libs/Utf8ArrayToStr.ts +35 -0
  253. data/js/node_modules/@waves/marshall/src/libs/base58.ts +88 -0
  254. data/js/node_modules/@waves/marshall/src/libs/utils.ts +6 -0
  255. data/js/node_modules/@waves/marshall/src/parse.ts +157 -0
  256. data/js/node_modules/@waves/marshall/src/parsePrimitives.ts +118 -0
  257. data/js/node_modules/@waves/marshall/src/schemaTypes.ts +91 -0
  258. data/js/node_modules/@waves/marshall/src/schemas.ts +630 -0
  259. data/js/node_modules/@waves/marshall/src/serialize.ts +110 -0
  260. data/js/node_modules/@waves/marshall/src/serializePrimitives.ts +80 -0
  261. data/js/node_modules/@waves/node-api-js/README.md +2 -0
  262. data/js/node_modules/@waves/node-api-js/cjs/api-node/activation/index.d.ts +21 -0
  263. data/js/node_modules/@waves/node-api-js/cjs/api-node/activation/index.js +20 -0
  264. data/js/node_modules/@waves/node-api-js/cjs/api-node/activation/index.js.map +1 -0
  265. data/js/node_modules/@waves/node-api-js/cjs/api-node/addresses/index.d.ts +81 -0
  266. data/js/node_modules/@waves/node-api-js/cjs/api-node/addresses/index.js +174 -0
  267. data/js/node_modules/@waves/node-api-js/cjs/api-node/addresses/index.js.map +1 -0
  268. data/js/node_modules/@waves/node-api-js/cjs/api-node/alias/index.d.ts +6 -0
  269. data/js/node_modules/@waves/node-api-js/cjs/api-node/alias/index.js +22 -0
  270. data/js/node_modules/@waves/node-api-js/cjs/api-node/alias/index.js.map +1 -0
  271. data/js/node_modules/@waves/node-api-js/cjs/api-node/assets/index.d.ts +79 -0
  272. data/js/node_modules/@waves/node-api-js/cjs/api-node/assets/index.js +172 -0
  273. data/js/node_modules/@waves/node-api-js/cjs/api-node/assets/index.js.map +1 -0
  274. data/js/node_modules/@waves/node-api-js/cjs/api-node/blocks/index.d.ts +131 -0
  275. data/js/node_modules/@waves/node-api-js/cjs/api-node/blocks/index.js +210 -0
  276. data/js/node_modules/@waves/node-api-js/cjs/api-node/blocks/index.js.map +1 -0
  277. data/js/node_modules/@waves/node-api-js/cjs/api-node/consensus/index.d.ts +39 -0
  278. data/js/node_modules/@waves/node-api-js/cjs/api-node/consensus/index.js +37 -0
  279. data/js/node_modules/@waves/node-api-js/cjs/api-node/consensus/index.js.map +1 -0
  280. data/js/node_modules/@waves/node-api-js/cjs/api-node/debug/index.d.ts +189 -0
  281. data/js/node_modules/@waves/node-api-js/cjs/api-node/debug/index.js +245 -0
  282. data/js/node_modules/@waves/node-api-js/cjs/api-node/debug/index.js.map +1 -0
  283. data/js/node_modules/@waves/node-api-js/cjs/api-node/eth/index.d.ts +3 -0
  284. data/js/node_modules/@waves/node-api-js/cjs/api-node/eth/index.js +15 -0
  285. data/js/node_modules/@waves/node-api-js/cjs/api-node/eth/index.js.map +1 -0
  286. data/js/node_modules/@waves/node-api-js/cjs/api-node/leasing/index.d.ts +22 -0
  287. data/js/node_modules/@waves/node-api-js/cjs/api-node/leasing/index.js +42 -0
  288. data/js/node_modules/@waves/node-api-js/cjs/api-node/leasing/index.js.map +1 -0
  289. data/js/node_modules/@waves/node-api-js/cjs/api-node/node/index.d.ts +11 -0
  290. data/js/node_modules/@waves/node-api-js/cjs/api-node/node/index.js +20 -0
  291. data/js/node_modules/@waves/node-api-js/cjs/api-node/node/index.js.map +1 -0
  292. data/js/node_modules/@waves/node-api-js/cjs/api-node/peers/index.d.ts +46 -0
  293. data/js/node_modules/@waves/node-api-js/cjs/api-node/peers/index.js +60 -0
  294. data/js/node_modules/@waves/node-api-js/cjs/api-node/peers/index.js.map +1 -0
  295. data/js/node_modules/@waves/node-api-js/cjs/api-node/rewards/index.d.ts +21 -0
  296. data/js/node_modules/@waves/node-api-js/cjs/api-node/rewards/index.js +21 -0
  297. data/js/node_modules/@waves/node-api-js/cjs/api-node/rewards/index.js.map +1 -0
  298. data/js/node_modules/@waves/node-api-js/cjs/api-node/transactions/index.d.ts +73 -0
  299. data/js/node_modules/@waves/node-api-js/cjs/api-node/transactions/index.js +193 -0
  300. data/js/node_modules/@waves/node-api-js/cjs/api-node/transactions/index.js.map +1 -0
  301. data/js/node_modules/@waves/node-api-js/cjs/api-node/utils/index.d.ts +110 -0
  302. data/js/node_modules/@waves/node-api-js/cjs/api-node/utils/index.js +211 -0
  303. data/js/node_modules/@waves/node-api-js/cjs/api-node/utils/index.js.map +1 -0
  304. data/js/node_modules/@waves/node-api-js/cjs/api-node/wallet/index.d.ts +5 -0
  305. data/js/node_modules/@waves/node-api-js/cjs/api-node/wallet/index.js +7 -0
  306. data/js/node_modules/@waves/node-api-js/cjs/api-node/wallet/index.js.map +1 -0
  307. data/js/node_modules/@waves/node-api-js/cjs/constants.d.ts +40 -0
  308. data/js/node_modules/@waves/node-api-js/cjs/constants.js +43 -0
  309. data/js/node_modules/@waves/node-api-js/cjs/constants.js.map +1 -0
  310. data/js/node_modules/@waves/node-api-js/cjs/create.d.ts +1240 -0
  311. data/js/node_modules/@waves/node-api-js/cjs/create.js +119 -0
  312. data/js/node_modules/@waves/node-api-js/cjs/create.js.map +1 -0
  313. data/js/node_modules/@waves/node-api-js/cjs/index.d.ts +9 -0
  314. data/js/node_modules/@waves/node-api-js/cjs/index.js +18 -0
  315. data/js/node_modules/@waves/node-api-js/cjs/index.js.map +1 -0
  316. data/js/node_modules/@waves/node-api-js/cjs/interface.d.ts +44 -0
  317. data/js/node_modules/@waves/node-api-js/cjs/interface.js +10 -0
  318. data/js/node_modules/@waves/node-api-js/cjs/interface.js.map +1 -0
  319. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/availableSponsoredBalances.d.ts +7 -0
  320. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/availableSponsoredBalances.js +30 -0
  321. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/availableSponsoredBalances.js.map +1 -0
  322. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/ethAddress2waves.d.ts +1 -0
  323. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/ethAddress2waves.js +47 -0
  324. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/ethAddress2waves.js.map +1 -0
  325. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetIdListByTx.d.ts +2 -0
  326. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetIdListByTx.js +48 -0
  327. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetIdListByTx.js.map +1 -0
  328. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetsByTransaction.d.ts +3 -0
  329. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetsByTransaction.js +14 -0
  330. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetsByTransaction.js.map +1 -0
  331. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getTransactionsWithAssets.d.ts +6 -0
  332. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getTransactionsWithAssets.js +13 -0
  333. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getTransactionsWithAssets.js.map +1 -0
  334. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/watch.d.ts +24 -0
  335. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/watch.js +168 -0
  336. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/watch.js.map +1 -0
  337. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/wavesAddress2eth.d.ts +1 -0
  338. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/wavesAddress2eth.js +10 -0
  339. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/wavesAddress2eth.js.map +1 -0
  340. data/js/node_modules/@waves/node-api-js/cjs/tools/assets/wavesAsset2eth.d.ts +1 -0
  341. data/js/node_modules/@waves/node-api-js/cjs/tools/assets/wavesAsset2eth.js +10 -0
  342. data/js/node_modules/@waves/node-api-js/cjs/tools/assets/wavesAsset2eth.js.map +1 -0
  343. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/detectInterval.d.ts +1 -0
  344. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/detectInterval.js +12 -0
  345. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/detectInterval.js.map +1 -0
  346. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkByte.d.ts +1 -0
  347. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkByte.js +54 -0
  348. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkByte.js.map +1 -0
  349. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkCode.d.ts +1 -0
  350. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkCode.js +11 -0
  351. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkCode.js.map +1 -0
  352. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/waitHeight.d.ts +3 -0
  353. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/waitHeight.js +65 -0
  354. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/waitHeight.js.map +1 -0
  355. data/js/node_modules/@waves/node-api-js/cjs/tools/parse.d.ts +1 -0
  356. data/js/node_modules/@waves/node-api-js/cjs/tools/parse.js +8 -0
  357. data/js/node_modules/@waves/node-api-js/cjs/tools/parse.js.map +1 -0
  358. data/js/node_modules/@waves/node-api-js/cjs/tools/query.d.ts +4 -0
  359. data/js/node_modules/@waves/node-api-js/cjs/tools/query.js +41 -0
  360. data/js/node_modules/@waves/node-api-js/cjs/tools/query.js.map +1 -0
  361. data/js/node_modules/@waves/node-api-js/cjs/tools/request.d.ts +64 -0
  362. data/js/node_modules/@waves/node-api-js/cjs/tools/request.js +42 -0
  363. data/js/node_modules/@waves/node-api-js/cjs/tools/request.js.map +1 -0
  364. data/js/node_modules/@waves/node-api-js/cjs/tools/resolve.d.ts +1 -0
  365. data/js/node_modules/@waves/node-api-js/cjs/tools/resolve.js +7 -0
  366. data/js/node_modules/@waves/node-api-js/cjs/tools/resolve.js.map +1 -0
  367. data/js/node_modules/@waves/node-api-js/cjs/tools/stringify.d.ts +1 -0
  368. data/js/node_modules/@waves/node-api-js/cjs/tools/stringify.js +21 -0
  369. data/js/node_modules/@waves/node-api-js/cjs/tools/stringify.js.map +1 -0
  370. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/broadcast.d.ts +14 -0
  371. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/broadcast.js +60 -0
  372. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/broadcast.js.map +1 -0
  373. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/ethTxId2waves.d.ts +1 -0
  374. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/ethTxId2waves.js +11 -0
  375. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/ethTxId2waves.js.map +1 -0
  376. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/transactions.d.ts +0 -0
  377. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/transactions.js +2 -0
  378. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/transactions.js.map +1 -0
  379. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/wait.d.ts +10 -0
  380. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/wait.js +42 -0
  381. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/wait.js.map +1 -0
  382. data/js/node_modules/@waves/node-api-js/cjs/tools/utils.d.ts +32 -0
  383. data/js/node_modules/@waves/node-api-js/cjs/tools/utils.js +118 -0
  384. data/js/node_modules/@waves/node-api-js/cjs/tools/utils.js.map +1 -0
  385. data/js/node_modules/@waves/node-api-js/dist/0.node-api.js +467 -0
  386. data/js/node_modules/@waves/node-api-js/dist/node-api.js +30544 -0
  387. data/js/node_modules/@waves/node-api-js/dist/node-api.min.js +26 -0
  388. data/js/node_modules/@waves/node-api-js/dist/node-api.min.js.LICENSE.txt +17 -0
  389. data/js/node_modules/@waves/node-api-js/dist/node_fs-node_path.node-api.js +23 -0
  390. data/js/node_modules/@waves/node-api-js/dist/vendors-node_modules_node-fetch_src_utils_multipart-parser_js.node-api.js +599 -0
  391. data/js/node_modules/@waves/node-api-js/es/api-node/activation/index.d.ts +21 -0
  392. data/js/node_modules/@waves/node-api-js/es/api-node/activation/index.js +13 -0
  393. data/js/node_modules/@waves/node-api-js/es/api-node/activation/index.js.map +1 -0
  394. data/js/node_modules/@waves/node-api-js/es/api-node/addresses/index.d.ts +81 -0
  395. data/js/node_modules/@waves/node-api-js/es/api-node/addresses/index.js +111 -0
  396. data/js/node_modules/@waves/node-api-js/es/api-node/addresses/index.js.map +1 -0
  397. data/js/node_modules/@waves/node-api-js/es/api-node/alias/index.d.ts +6 -0
  398. data/js/node_modules/@waves/node-api-js/es/api-node/alias/index.js +14 -0
  399. data/js/node_modules/@waves/node-api-js/es/api-node/alias/index.js.map +1 -0
  400. data/js/node_modules/@waves/node-api-js/es/api-node/assets/index.d.ts +79 -0
  401. data/js/node_modules/@waves/node-api-js/es/api-node/assets/index.js +103 -0
  402. data/js/node_modules/@waves/node-api-js/es/api-node/assets/index.js.map +1 -0
  403. data/js/node_modules/@waves/node-api-js/es/api-node/blocks/index.d.ts +131 -0
  404. data/js/node_modules/@waves/node-api-js/es/api-node/blocks/index.js +179 -0
  405. data/js/node_modules/@waves/node-api-js/es/api-node/blocks/index.js.map +1 -0
  406. data/js/node_modules/@waves/node-api-js/es/api-node/consensus/index.d.ts +39 -0
  407. data/js/node_modules/@waves/node-api-js/es/api-node/consensus/index.js +27 -0
  408. data/js/node_modules/@waves/node-api-js/es/api-node/consensus/index.js.map +1 -0
  409. data/js/node_modules/@waves/node-api-js/es/api-node/debug/index.d.ts +189 -0
  410. data/js/node_modules/@waves/node-api-js/es/api-node/debug/index.js +201 -0
  411. data/js/node_modules/@waves/node-api-js/es/api-node/debug/index.js.map +1 -0
  412. data/js/node_modules/@waves/node-api-js/es/api-node/eth/index.d.ts +3 -0
  413. data/js/node_modules/@waves/node-api-js/es/api-node/eth/index.js +8 -0
  414. data/js/node_modules/@waves/node-api-js/es/api-node/eth/index.js.map +1 -0
  415. data/js/node_modules/@waves/node-api-js/es/api-node/leasing/index.d.ts +22 -0
  416. data/js/node_modules/@waves/node-api-js/es/api-node/leasing/index.js +22 -0
  417. data/js/node_modules/@waves/node-api-js/es/api-node/leasing/index.js.map +1 -0
  418. data/js/node_modules/@waves/node-api-js/es/api-node/node/index.d.ts +11 -0
  419. data/js/node_modules/@waves/node-api-js/es/api-node/node/index.js +10 -0
  420. data/js/node_modules/@waves/node-api-js/es/api-node/node/index.js.map +1 -0
  421. data/js/node_modules/@waves/node-api-js/es/api-node/peers/index.d.ts +46 -0
  422. data/js/node_modules/@waves/node-api-js/es/api-node/peers/index.js +46 -0
  423. data/js/node_modules/@waves/node-api-js/es/api-node/peers/index.js.map +1 -0
  424. data/js/node_modules/@waves/node-api-js/es/api-node/rewards/index.d.ts +21 -0
  425. data/js/node_modules/@waves/node-api-js/es/api-node/rewards/index.js +13 -0
  426. data/js/node_modules/@waves/node-api-js/es/api-node/rewards/index.js.map +1 -0
  427. data/js/node_modules/@waves/node-api-js/es/api-node/transactions/index.d.ts +73 -0
  428. data/js/node_modules/@waves/node-api-js/es/api-node/transactions/index.js +137 -0
  429. data/js/node_modules/@waves/node-api-js/es/api-node/transactions/index.js.map +1 -0
  430. data/js/node_modules/@waves/node-api-js/es/api-node/utils/index.d.ts +110 -0
  431. data/js/node_modules/@waves/node-api-js/es/api-node/utils/index.js +193 -0
  432. data/js/node_modules/@waves/node-api-js/es/api-node/utils/index.js.map +1 -0
  433. data/js/node_modules/@waves/node-api-js/es/api-node/wallet/index.d.ts +5 -0
  434. data/js/node_modules/@waves/node-api-js/es/api-node/wallet/index.js +7 -0
  435. data/js/node_modules/@waves/node-api-js/es/api-node/wallet/index.js.map +1 -0
  436. data/js/node_modules/@waves/node-api-js/es/constants.d.ts +40 -0
  437. data/js/node_modules/@waves/node-api-js/es/constants.js +40 -0
  438. data/js/node_modules/@waves/node-api-js/es/constants.js.map +1 -0
  439. data/js/node_modules/@waves/node-api-js/es/create.d.ts +1240 -0
  440. data/js/node_modules/@waves/node-api-js/es/create.js +93 -0
  441. data/js/node_modules/@waves/node-api-js/es/create.js.map +1 -0
  442. data/js/node_modules/@waves/node-api-js/es/index.d.ts +9 -0
  443. data/js/node_modules/@waves/node-api-js/es/index.js +9 -0
  444. data/js/node_modules/@waves/node-api-js/es/index.js.map +1 -0
  445. data/js/node_modules/@waves/node-api-js/es/interface.d.ts +44 -0
  446. data/js/node_modules/@waves/node-api-js/es/interface.js +3 -0
  447. data/js/node_modules/@waves/node-api-js/es/interface.js.map +1 -0
  448. data/js/node_modules/@waves/node-api-js/es/tools/adresses/availableSponsoredBalances.d.ts +7 -0
  449. data/js/node_modules/@waves/node-api-js/es/tools/adresses/availableSponsoredBalances.js +27 -0
  450. data/js/node_modules/@waves/node-api-js/es/tools/adresses/availableSponsoredBalances.js.map +1 -0
  451. data/js/node_modules/@waves/node-api-js/es/tools/adresses/ethAddress2waves.d.ts +1 -0
  452. data/js/node_modules/@waves/node-api-js/es/tools/adresses/ethAddress2waves.js +31 -0
  453. data/js/node_modules/@waves/node-api-js/es/tools/adresses/ethAddress2waves.js.map +1 -0
  454. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetIdListByTx.d.ts +2 -0
  455. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetIdListByTx.js +24 -0
  456. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetIdListByTx.js.map +1 -0
  457. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetsByTransaction.d.ts +3 -0
  458. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetsByTransaction.js +8 -0
  459. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetsByTransaction.js.map +1 -0
  460. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getTransactionsWithAssets.d.ts +6 -0
  461. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getTransactionsWithAssets.js +7 -0
  462. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getTransactionsWithAssets.js.map +1 -0
  463. data/js/node_modules/@waves/node-api-js/es/tools/adresses/watch.d.ts +24 -0
  464. data/js/node_modules/@waves/node-api-js/es/tools/adresses/watch.js +134 -0
  465. data/js/node_modules/@waves/node-api-js/es/tools/adresses/watch.js.map +1 -0
  466. data/js/node_modules/@waves/node-api-js/es/tools/adresses/wavesAddress2eth.d.ts +1 -0
  467. data/js/node_modules/@waves/node-api-js/es/tools/adresses/wavesAddress2eth.js +7 -0
  468. data/js/node_modules/@waves/node-api-js/es/tools/adresses/wavesAddress2eth.js.map +1 -0
  469. data/js/node_modules/@waves/node-api-js/es/tools/assets/wavesAsset2eth.d.ts +1 -0
  470. data/js/node_modules/@waves/node-api-js/es/tools/assets/wavesAsset2eth.js +7 -0
  471. data/js/node_modules/@waves/node-api-js/es/tools/assets/wavesAsset2eth.js.map +1 -0
  472. data/js/node_modules/@waves/node-api-js/es/tools/blocks/detectInterval.d.ts +1 -0
  473. data/js/node_modules/@waves/node-api-js/es/tools/blocks/detectInterval.js +9 -0
  474. data/js/node_modules/@waves/node-api-js/es/tools/blocks/detectInterval.js.map +1 -0
  475. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkByte.d.ts +1 -0
  476. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkByte.js +51 -0
  477. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkByte.js.map +1 -0
  478. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkCode.d.ts +1 -0
  479. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkCode.js +5 -0
  480. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkCode.js.map +1 -0
  481. data/js/node_modules/@waves/node-api-js/es/tools/blocks/waitHeight.d.ts +3 -0
  482. data/js/node_modules/@waves/node-api-js/es/tools/blocks/waitHeight.js +36 -0
  483. data/js/node_modules/@waves/node-api-js/es/tools/blocks/waitHeight.js.map +1 -0
  484. data/js/node_modules/@waves/node-api-js/es/tools/parse.d.ts +1 -0
  485. data/js/node_modules/@waves/node-api-js/es/tools/parse.js +5 -0
  486. data/js/node_modules/@waves/node-api-js/es/tools/parse.js.map +1 -0
  487. data/js/node_modules/@waves/node-api-js/es/tools/query.d.ts +4 -0
  488. data/js/node_modules/@waves/node-api-js/es/tools/query.js +12 -0
  489. data/js/node_modules/@waves/node-api-js/es/tools/query.js.map +1 -0
  490. data/js/node_modules/@waves/node-api-js/es/tools/request.d.ts +64 -0
  491. data/js/node_modules/@waves/node-api-js/es/tools/request.js +22 -0
  492. data/js/node_modules/@waves/node-api-js/es/tools/request.js.map +1 -0
  493. data/js/node_modules/@waves/node-api-js/es/tools/resolve.d.ts +1 -0
  494. data/js/node_modules/@waves/node-api-js/es/tools/resolve.js +4 -0
  495. data/js/node_modules/@waves/node-api-js/es/tools/resolve.js.map +1 -0
  496. data/js/node_modules/@waves/node-api-js/es/tools/stringify.d.ts +1 -0
  497. data/js/node_modules/@waves/node-api-js/es/tools/stringify.js +18 -0
  498. data/js/node_modules/@waves/node-api-js/es/tools/stringify.js.map +1 -0
  499. data/js/node_modules/@waves/node-api-js/es/tools/transactions/broadcast.d.ts +14 -0
  500. data/js/node_modules/@waves/node-api-js/es/tools/transactions/broadcast.js +43 -0
  501. data/js/node_modules/@waves/node-api-js/es/tools/transactions/broadcast.js.map +1 -0
  502. data/js/node_modules/@waves/node-api-js/es/tools/transactions/ethTxId2waves.d.ts +1 -0
  503. data/js/node_modules/@waves/node-api-js/es/tools/transactions/ethTxId2waves.js +8 -0
  504. data/js/node_modules/@waves/node-api-js/es/tools/transactions/ethTxId2waves.js.map +1 -0
  505. data/js/node_modules/@waves/node-api-js/es/tools/transactions/transactions.d.ts +0 -0
  506. data/js/node_modules/@waves/node-api-js/es/tools/transactions/transactions.js +2 -0
  507. data/js/node_modules/@waves/node-api-js/es/tools/transactions/transactions.js.map +1 -0
  508. data/js/node_modules/@waves/node-api-js/es/tools/transactions/wait.d.ts +10 -0
  509. data/js/node_modules/@waves/node-api-js/es/tools/transactions/wait.js +39 -0
  510. data/js/node_modules/@waves/node-api-js/es/tools/transactions/wait.js.map +1 -0
  511. data/js/node_modules/@waves/node-api-js/es/tools/utils.d.ts +32 -0
  512. data/js/node_modules/@waves/node-api-js/es/tools/utils.js +73 -0
  513. data/js/node_modules/@waves/node-api-js/es/tools/utils.js.map +1 -0
  514. data/js/node_modules/@waves/node-api-js/package.json +66 -0
  515. data/js/node_modules/@waves/parse-json-bignumber/coverage/clover.xml +225 -0
  516. data/js/node_modules/@waves/parse-json-bignumber/coverage/coverage-final.json +2 -0
  517. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/base.css +212 -0
  518. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/index.html +93 -0
  519. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/parse-json-bignumber.ts.html +1598 -0
  520. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/prettify.css +1 -0
  521. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/prettify.js +1 -0
  522. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  523. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/sorter.js +158 -0
  524. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov.info +415 -0
  525. data/js/node_modules/@waves/parse-json-bignumber/dist/parse-json-bignumber.d.ts +11 -0
  526. data/js/node_modules/@waves/parse-json-bignumber/dist/parse-json-bignumber.js +412 -0
  527. data/js/node_modules/@waves/parse-json-bignumber/dist/parse-json-bignumber.min.js +1 -0
  528. data/js/node_modules/@waves/parse-json-bignumber/package.json +40 -0
  529. data/js/node_modules/@waves/parse-json-bignumber/src/parse-json-bignumber.ts +511 -0
  530. data/js/node_modules/@waves/parse-json-bignumber/test/index.ts +130 -0
  531. data/js/node_modules/@waves/parse-json-bignumber/test/tsconfig.json +14 -0
  532. data/js/node_modules/@waves/parse-json-bignumber/tsconfig.json +15 -0
  533. data/js/node_modules/@waves/protobuf-serialization/README.MD +116 -0
  534. data/js/node_modules/@waves/protobuf-serialization/dist/index.d.ts +2005 -0
  535. data/js/node_modules/@waves/protobuf-serialization/dist/index.js +6636 -0
  536. data/js/node_modules/@waves/protobuf-serialization/package.json +30 -0
  537. data/js/node_modules/@waves/protobuf-serialization/proto/waves/amount.proto +10 -0
  538. data/js/node_modules/@waves/protobuf-serialization/proto/waves/block.proto +40 -0
  539. data/js/node_modules/@waves/protobuf-serialization/proto/waves/events/events.proto +213 -0
  540. data/js/node_modules/@waves/protobuf-serialization/proto/waves/events/grpc/blockchain_updates.proto +42 -0
  541. data/js/node_modules/@waves/protobuf-serialization/proto/waves/invoke_script_result.proto +98 -0
  542. data/js/node_modules/@waves/protobuf-serialization/proto/waves/lang/dapp_meta.proto +21 -0
  543. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/accounts_api.proto +68 -0
  544. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/assets_api.proto +41 -0
  545. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/blockchain_api.proto +54 -0
  546. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/blocks_api.proto +41 -0
  547. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/transactions_api.proto +73 -0
  548. data/js/node_modules/@waves/protobuf-serialization/proto/waves/order.proto +43 -0
  549. data/js/node_modules/@waves/protobuf-serialization/proto/waves/recipient.proto +13 -0
  550. data/js/node_modules/@waves/protobuf-serialization/proto/waves/transaction.proto +156 -0
  551. data/js/node_modules/@waves/ts-lib-crypto/README.md +492 -0
  552. data/js/node_modules/@waves/ts-lib-crypto/bytes.d.ts +10 -0
  553. data/js/node_modules/@waves/ts-lib-crypto/bytes.js +21 -0
  554. data/js/node_modules/@waves/ts-lib-crypto/bytes.js.map +1 -0
  555. data/js/node_modules/@waves/ts-lib-crypto/conversions/base-xx.d.ts +7 -0
  556. data/js/node_modules/@waves/ts-lib-crypto/conversions/base-xx.js +27 -0
  557. data/js/node_modules/@waves/ts-lib-crypto/conversions/base-xx.js.map +1 -0
  558. data/js/node_modules/@waves/ts-lib-crypto/conversions/param.d.ts +3 -0
  559. data/js/node_modules/@waves/ts-lib-crypto/conversions/param.js +24 -0
  560. data/js/node_modules/@waves/ts-lib-crypto/conversions/param.js.map +1 -0
  561. data/js/node_modules/@waves/ts-lib-crypto/conversions/string-bytes.d.ts +11 -0
  562. data/js/node_modules/@waves/ts-lib-crypto/conversions/string-bytes.js +65 -0
  563. data/js/node_modules/@waves/ts-lib-crypto/conversions/string-bytes.js.map +1 -0
  564. data/js/node_modules/@waves/ts-lib-crypto/crypto/address-keys-seed.d.ts +7 -0
  565. data/js/node_modules/@waves/ts-lib-crypto/crypto/address-keys-seed.js +58 -0
  566. data/js/node_modules/@waves/ts-lib-crypto/crypto/address-keys-seed.js.map +1 -0
  567. data/js/node_modules/@waves/ts-lib-crypto/crypto/concat-split.d.ts +3 -0
  568. data/js/node_modules/@waves/ts-lib-crypto/crypto/concat-split.js +39 -0
  569. data/js/node_modules/@waves/ts-lib-crypto/crypto/concat-split.js.map +1 -0
  570. data/js/node_modules/@waves/ts-lib-crypto/crypto/crypto.d.ts +13 -0
  571. data/js/node_modules/@waves/ts-lib-crypto/crypto/crypto.js +117 -0
  572. data/js/node_modules/@waves/ts-lib-crypto/crypto/crypto.js.map +1 -0
  573. data/js/node_modules/@waves/ts-lib-crypto/crypto/encryption.d.ts +6 -0
  574. data/js/node_modules/@waves/ts-lib-crypto/crypto/encryption.js +89 -0
  575. data/js/node_modules/@waves/ts-lib-crypto/crypto/encryption.js.map +1 -0
  576. data/js/node_modules/@waves/ts-lib-crypto/crypto/hashing.d.ts +7 -0
  577. data/js/node_modules/@waves/ts-lib-crypto/crypto/hashing.js +39 -0
  578. data/js/node_modules/@waves/ts-lib-crypto/crypto/hashing.js.map +1 -0
  579. data/js/node_modules/@waves/ts-lib-crypto/crypto/interface.d.ts +98 -0
  580. data/js/node_modules/@waves/ts-lib-crypto/crypto/interface.js +9 -0
  581. data/js/node_modules/@waves/ts-lib-crypto/crypto/interface.js.map +1 -0
  582. data/js/node_modules/@waves/ts-lib-crypto/crypto/merkle-verify.d.ts +7 -0
  583. data/js/node_modules/@waves/ts-lib-crypto/crypto/merkle-verify.js +51 -0
  584. data/js/node_modules/@waves/ts-lib-crypto/crypto/merkle-verify.js.map +1 -0
  585. data/js/node_modules/@waves/ts-lib-crypto/crypto/random.d.ts +4 -0
  586. data/js/node_modules/@waves/ts-lib-crypto/crypto/random.js +51 -0
  587. data/js/node_modules/@waves/ts-lib-crypto/crypto/random.js.map +1 -0
  588. data/js/node_modules/@waves/ts-lib-crypto/crypto/rsa.d.ts +7 -0
  589. data/js/node_modules/@waves/ts-lib-crypto/crypto/rsa.js +159 -0
  590. data/js/node_modules/@waves/ts-lib-crypto/crypto/rsa.js.map +1 -0
  591. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-ecryption.d.ts +9 -0
  592. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-ecryption.js +62 -0
  593. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-ecryption.js.map +1 -0
  594. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-words-list.d.ts +1 -0
  595. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-words-list.js +189 -0
  596. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-words-list.js.map +1 -0
  597. data/js/node_modules/@waves/ts-lib-crypto/crypto/sign.d.ts +2 -0
  598. data/js/node_modules/@waves/ts-lib-crypto/crypto/sign.js +16 -0
  599. data/js/node_modules/@waves/ts-lib-crypto/crypto/sign.js.map +1 -0
  600. data/js/node_modules/@waves/ts-lib-crypto/crypto/util.d.ts +3 -0
  601. data/js/node_modules/@waves/ts-lib-crypto/crypto/util.js +9 -0
  602. data/js/node_modules/@waves/ts-lib-crypto/crypto/util.js.map +1 -0
  603. data/js/node_modules/@waves/ts-lib-crypto/crypto/verification.d.ts +7 -0
  604. data/js/node_modules/@waves/ts-lib-crypto/crypto/verification.js +49 -0
  605. data/js/node_modules/@waves/ts-lib-crypto/crypto/verification.js.map +1 -0
  606. data/js/node_modules/@waves/ts-lib-crypto/extensions/chain-id.d.ts +5 -0
  607. data/js/node_modules/@waves/ts-lib-crypto/extensions/chain-id.js +16 -0
  608. data/js/node_modules/@waves/ts-lib-crypto/extensions/chain-id.js.map +1 -0
  609. data/js/node_modules/@waves/ts-lib-crypto/extensions/seed.d.ts +6 -0
  610. data/js/node_modules/@waves/ts-lib-crypto/extensions/seed.js +18 -0
  611. data/js/node_modules/@waves/ts-lib-crypto/extensions/seed.js.map +1 -0
  612. data/js/node_modules/@waves/ts-lib-crypto/index.d.ts +10 -0
  613. data/js/node_modules/@waves/ts-lib-crypto/index.js +21 -0
  614. data/js/node_modules/@waves/ts-lib-crypto/index.js.map +1 -0
  615. data/js/node_modules/@waves/ts-lib-crypto/libs/Utf8.d.ts +2 -0
  616. data/js/node_modules/@waves/ts-lib-crypto/libs/Utf8.js +61 -0
  617. data/js/node_modules/@waves/ts-lib-crypto/libs/Utf8.js.map +1 -0
  618. data/js/node_modules/@waves/ts-lib-crypto/libs/axlsign.js +1374 -0
  619. data/js/node_modules/@waves/ts-lib-crypto/libs/base58.d.ts +5 -0
  620. data/js/node_modules/@waves/ts-lib-crypto/libs/base58.js +66 -0
  621. data/js/node_modules/@waves/ts-lib-crypto/libs/base58.js.map +1 -0
  622. data/js/node_modules/@waves/ts-lib-crypto/libs/blake2b.js +308 -0
  623. data/js/node_modules/@waves/ts-lib-crypto/libs/sha3.js +441 -0
  624. data/js/node_modules/@waves/ts-lib-crypto/min/waves-lib-crypto.js +33 -0
  625. data/js/node_modules/@waves/ts-lib-crypto/package.json +31 -0
  626. data/js/node_modules/@waves/ts-types/dist/src/common.d.ts +59 -0
  627. data/js/node_modules/@waves/ts-types/dist/src/common.js +53 -0
  628. data/js/node_modules/@waves/ts-types/dist/src/exchange.d.ts +47 -0
  629. data/js/node_modules/@waves/ts-types/dist/src/exchange.js +2 -0
  630. data/js/node_modules/@waves/ts-types/dist/src/index.d.ts +52 -0
  631. data/js/node_modules/@waves/ts-types/dist/src/index.js +63 -0
  632. data/js/node_modules/@waves/ts-types/dist/src/invoke.d.ts +22 -0
  633. data/js/node_modules/@waves/ts-types/dist/src/invoke.js +2 -0
  634. data/js/node_modules/@waves/ts-types/dist/src/network.d.ts +6 -0
  635. data/js/node_modules/@waves/ts-types/dist/src/network.js +10 -0
  636. data/js/node_modules/@waves/ts-types/dist/src/parts.d.ts +159 -0
  637. data/js/node_modules/@waves/ts-types/dist/src/parts.js +2 -0
  638. data/js/node_modules/@waves/ts-types/dist/transactions/index.d.ts +363 -0
  639. data/js/node_modules/@waves/ts-types/dist/transactions/index.js +3 -0
  640. data/js/node_modules/@waves/ts-types/index.ts +1 -0
  641. data/js/node_modules/@waves/ts-types/package.json +41 -0
  642. data/js/node_modules/@waves/ts-types/src/index.ts +57 -0
  643. data/js/node_modules/@waves/ts-types/src/parts.ts +247 -0
  644. data/js/node_modules/@waves/ts-types/transactions/index.ts +789 -0
  645. data/js/node_modules/@waves/ts-types/tsconfig.json +16 -0
  646. data/js/node_modules/@waves/waves-transactions/README.md +432 -0
  647. data/js/node_modules/@waves/waves-transactions/dist/defaultVersions.d.ts +18 -0
  648. data/js/node_modules/@waves/waves-transactions/dist/defaultVersions.js +22 -0
  649. data/js/node_modules/@waves/waves-transactions/dist/defaultVersions.js.map +1 -0
  650. data/js/node_modules/@waves/waves-transactions/dist/general.d.ts +68 -0
  651. data/js/node_modules/@waves/waves-transactions/dist/general.js +135 -0
  652. data/js/node_modules/@waves/waves-transactions/dist/general.js.map +1 -0
  653. data/js/node_modules/@waves/waves-transactions/dist/generic.d.ts +28 -0
  654. data/js/node_modules/@waves/waves-transactions/dist/generic.js +88 -0
  655. data/js/node_modules/@waves/waves-transactions/dist/generic.js.map +1 -0
  656. data/js/node_modules/@waves/waves-transactions/dist/index.d.ts +37 -0
  657. data/js/node_modules/@waves/waves-transactions/dist/index.js +98 -0
  658. data/js/node_modules/@waves/waves-transactions/dist/index.js.map +1 -0
  659. data/js/node_modules/@waves/waves-transactions/dist/make-tx.d.ts +50 -0
  660. data/js/node_modules/@waves/waves-transactions/dist/make-tx.js +106 -0
  661. data/js/node_modules/@waves/waves-transactions/dist/make-tx.js.map +1 -0
  662. data/js/node_modules/@waves/waves-transactions/dist/min/waves-transactions.min.js +26 -0
  663. data/js/node_modules/@waves/waves-transactions/dist/nodeInteraction.d.ts +116 -0
  664. data/js/node_modules/@waves/waves-transactions/dist/nodeInteraction.js +277 -0
  665. data/js/node_modules/@waves/waves-transactions/dist/nodeInteraction.js.map +1 -0
  666. data/js/node_modules/@waves/waves-transactions/dist/proto-serialize.d.ts +62 -0
  667. data/js/node_modules/@waves/waves-transactions/dist/proto-serialize.js +514 -0
  668. data/js/node_modules/@waves/waves-transactions/dist/proto-serialize.js.map +1 -0
  669. data/js/node_modules/@waves/waves-transactions/dist/requests/auth.d.ts +7 -0
  670. data/js/node_modules/@waves/waves-transactions/dist/requests/auth.js +31 -0
  671. data/js/node_modules/@waves/waves-transactions/dist/requests/auth.js.map +1 -0
  672. data/js/node_modules/@waves/waves-transactions/dist/requests/cancel-order.d.ts +7 -0
  673. data/js/node_modules/@waves/waves-transactions/dist/requests/cancel-order.js +29 -0
  674. data/js/node_modules/@waves/waves-transactions/dist/requests/cancel-order.js.map +1 -0
  675. data/js/node_modules/@waves/waves-transactions/dist/requests/custom-data.d.ts +40 -0
  676. data/js/node_modules/@waves/waves-transactions/dist/requests/custom-data.js +37 -0
  677. data/js/node_modules/@waves/waves-transactions/dist/requests/custom-data.js.map +1 -0
  678. data/js/node_modules/@waves/waves-transactions/dist/requests/order.d.ts +50 -0
  679. data/js/node_modules/@waves/waves-transactions/dist/requests/order.js +62 -0
  680. data/js/node_modules/@waves/waves-transactions/dist/requests/order.js.map +1 -0
  681. data/js/node_modules/@waves/waves-transactions/dist/requests/wavesAuth.d.ts +7 -0
  682. data/js/node_modules/@waves/waves-transactions/dist/requests/wavesAuth.js +31 -0
  683. data/js/node_modules/@waves/waves-transactions/dist/requests/wavesAuth.js.map +1 -0
  684. data/js/node_modules/@waves/waves-transactions/dist/seedUtils/index.d.ts +21 -0
  685. data/js/node_modules/@waves/waves-transactions/dist/seedUtils/index.js +85 -0
  686. data/js/node_modules/@waves/waves-transactions/dist/seedUtils/index.js.map +1 -0
  687. data/js/node_modules/@waves/waves-transactions/dist/transactions/alias.d.ts +8 -0
  688. data/js/node_modules/@waves/waves-transactions/dist/transactions/alias.js +35 -0
  689. data/js/node_modules/@waves/waves-transactions/dist/transactions/alias.js.map +1 -0
  690. data/js/node_modules/@waves/waves-transactions/dist/transactions/burn.d.ts +8 -0
  691. data/js/node_modules/@waves/waves-transactions/dist/transactions/burn.js +35 -0
  692. data/js/node_modules/@waves/waves-transactions/dist/transactions/burn.js.map +1 -0
  693. data/js/node_modules/@waves/waves-transactions/dist/transactions/cancel-lease.d.ts +8 -0
  694. data/js/node_modules/@waves/waves-transactions/dist/transactions/cancel-lease.js +34 -0
  695. data/js/node_modules/@waves/waves-transactions/dist/transactions/cancel-lease.js.map +1 -0
  696. data/js/node_modules/@waves/waves-transactions/dist/transactions/data.d.ts +5 -0
  697. data/js/node_modules/@waves/waves-transactions/dist/transactions/data.js +112 -0
  698. data/js/node_modules/@waves/waves-transactions/dist/transactions/data.js.map +1 -0
  699. data/js/node_modules/@waves/waves-transactions/dist/transactions/exchange.d.ts +7 -0
  700. data/js/node_modules/@waves/waves-transactions/dist/transactions/exchange.js +39 -0
  701. data/js/node_modules/@waves/waves-transactions/dist/transactions/exchange.js.map +1 -0
  702. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-expression.d.ts +0 -0
  703. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-expression.js +52 -0
  704. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-expression.js.map +1 -0
  705. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-script.d.ts +8 -0
  706. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-script.js +43 -0
  707. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-script.js.map +1 -0
  708. data/js/node_modules/@waves/waves-transactions/dist/transactions/issue.d.ts +8 -0
  709. data/js/node_modules/@waves/waves-transactions/dist/transactions/issue.js +42 -0
  710. data/js/node_modules/@waves/waves-transactions/dist/transactions/issue.js.map +1 -0
  711. data/js/node_modules/@waves/waves-transactions/dist/transactions/lease.d.ts +8 -0
  712. data/js/node_modules/@waves/waves-transactions/dist/transactions/lease.js +35 -0
  713. data/js/node_modules/@waves/waves-transactions/dist/transactions/lease.js.map +1 -0
  714. data/js/node_modules/@waves/waves-transactions/dist/transactions/mass-transfer.d.ts +8 -0
  715. data/js/node_modules/@waves/waves-transactions/dist/transactions/mass-transfer.js +39 -0
  716. data/js/node_modules/@waves/waves-transactions/dist/transactions/mass-transfer.js.map +1 -0
  717. data/js/node_modules/@waves/waves-transactions/dist/transactions/reissue.d.ts +8 -0
  718. data/js/node_modules/@waves/waves-transactions/dist/transactions/reissue.js +36 -0
  719. data/js/node_modules/@waves/waves-transactions/dist/transactions/reissue.js.map +1 -0
  720. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-asset-script.d.ts +8 -0
  721. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-asset-script.js +37 -0
  722. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-asset-script.js.map +1 -0
  723. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-script.d.ts +8 -0
  724. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-script.js +38 -0
  725. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-script.js.map +1 -0
  726. data/js/node_modules/@waves/waves-transactions/dist/transactions/sponsorship.d.ts +8 -0
  727. data/js/node_modules/@waves/waves-transactions/dist/transactions/sponsorship.js +35 -0
  728. data/js/node_modules/@waves/waves-transactions/dist/transactions/sponsorship.js.map +1 -0
  729. data/js/node_modules/@waves/waves-transactions/dist/transactions/transfer.d.ts +8 -0
  730. data/js/node_modules/@waves/waves-transactions/dist/transactions/transfer.js +38 -0
  731. data/js/node_modules/@waves/waves-transactions/dist/transactions/transfer.js.map +1 -0
  732. data/js/node_modules/@waves/waves-transactions/dist/transactions/update-asset-info.d.ts +8 -0
  733. data/js/node_modules/@waves/waves-transactions/dist/transactions/update-asset-info.js +35 -0
  734. data/js/node_modules/@waves/waves-transactions/dist/transactions/update-asset-info.js.map +1 -0
  735. data/js/node_modules/@waves/waves-transactions/dist/transactions.d.ts +277 -0
  736. data/js/node_modules/@waves/waves-transactions/dist/transactions.js +3 -0
  737. data/js/node_modules/@waves/waves-transactions/dist/transactions.js.map +1 -0
  738. data/js/node_modules/@waves/waves-transactions/dist/types.d.ts +11 -0
  739. data/js/node_modules/@waves/waves-transactions/dist/types.js +6 -0
  740. data/js/node_modules/@waves/waves-transactions/dist/types.js.map +1 -0
  741. data/js/node_modules/@waves/waves-transactions/dist/validators/alias.d.ts +1 -0
  742. data/js/node_modules/@waves/waves-transactions/dist/validators/alias.js +17 -0
  743. data/js/node_modules/@waves/waves-transactions/dist/validators/alias.js.map +1 -0
  744. data/js/node_modules/@waves/waves-transactions/dist/validators/auth.d.ts +1 -0
  745. data/js/node_modules/@waves/waves-transactions/dist/validators/auth.js +10 -0
  746. data/js/node_modules/@waves/waves-transactions/dist/validators/auth.js.map +1 -0
  747. data/js/node_modules/@waves/waves-transactions/dist/validators/burn.d.ts +1 -0
  748. data/js/node_modules/@waves/waves-transactions/dist/validators/burn.js +18 -0
  749. data/js/node_modules/@waves/waves-transactions/dist/validators/burn.js.map +1 -0
  750. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-lease.d.ts +1 -0
  751. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-lease.js +17 -0
  752. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-lease.js.map +1 -0
  753. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-order.d.ts +1 -0
  754. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-order.js +12 -0
  755. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-order.js.map +1 -0
  756. data/js/node_modules/@waves/waves-transactions/dist/validators/custom-data.d.ts +1 -0
  757. data/js/node_modules/@waves/waves-transactions/dist/validators/custom-data.js +16 -0
  758. data/js/node_modules/@waves/waves-transactions/dist/validators/custom-data.js.map +1 -0
  759. data/js/node_modules/@waves/waves-transactions/dist/validators/data.d.ts +2 -0
  760. data/js/node_modules/@waves/waves-transactions/dist/validators/data.js +18 -0
  761. data/js/node_modules/@waves/waves-transactions/dist/validators/data.js.map +1 -0
  762. data/js/node_modules/@waves/waves-transactions/dist/validators/exchange.d.ts +1 -0
  763. data/js/node_modules/@waves/waves-transactions/dist/validators/exchange.js +22 -0
  764. data/js/node_modules/@waves/waves-transactions/dist/validators/exchange.js.map +1 -0
  765. data/js/node_modules/@waves/waves-transactions/dist/validators/index.d.ts +24 -0
  766. data/js/node_modules/@waves/waves-transactions/dist/validators/index.js +60 -0
  767. data/js/node_modules/@waves/waves-transactions/dist/validators/index.js.map +1 -0
  768. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-expression.d.ts +0 -0
  769. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-expression.js +33 -0
  770. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-expression.js.map +1 -0
  771. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-script.d.ts +1 -0
  772. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-script.js +20 -0
  773. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-script.js.map +1 -0
  774. data/js/node_modules/@waves/waves-transactions/dist/validators/issue.d.ts +1 -0
  775. data/js/node_modules/@waves/waves-transactions/dist/validators/issue.js +22 -0
  776. data/js/node_modules/@waves/waves-transactions/dist/validators/issue.js.map +1 -0
  777. data/js/node_modules/@waves/waves-transactions/dist/validators/lease.d.ts +1 -0
  778. data/js/node_modules/@waves/waves-transactions/dist/validators/lease.js +17 -0
  779. data/js/node_modules/@waves/waves-transactions/dist/validators/lease.js.map +1 -0
  780. data/js/node_modules/@waves/waves-transactions/dist/validators/mass-transfer.d.ts +1 -0
  781. data/js/node_modules/@waves/waves-transactions/dist/validators/mass-transfer.js +18 -0
  782. data/js/node_modules/@waves/waves-transactions/dist/validators/mass-transfer.js.map +1 -0
  783. data/js/node_modules/@waves/waves-transactions/dist/validators/order.d.ts +1 -0
  784. data/js/node_modules/@waves/waves-transactions/dist/validators/order.js +34 -0
  785. data/js/node_modules/@waves/waves-transactions/dist/validators/order.js.map +1 -0
  786. data/js/node_modules/@waves/waves-transactions/dist/validators/reissue.d.ts +1 -0
  787. data/js/node_modules/@waves/waves-transactions/dist/validators/reissue.js +19 -0
  788. data/js/node_modules/@waves/waves-transactions/dist/validators/reissue.js.map +1 -0
  789. data/js/node_modules/@waves/waves-transactions/dist/validators/set-asset-script.d.ts +1 -0
  790. data/js/node_modules/@waves/waves-transactions/dist/validators/set-asset-script.js +18 -0
  791. data/js/node_modules/@waves/waves-transactions/dist/validators/set-asset-script.js.map +1 -0
  792. data/js/node_modules/@waves/waves-transactions/dist/validators/set-script.d.ts +1 -0
  793. data/js/node_modules/@waves/waves-transactions/dist/validators/set-script.js +17 -0
  794. data/js/node_modules/@waves/waves-transactions/dist/validators/set-script.js.map +1 -0
  795. data/js/node_modules/@waves/waves-transactions/dist/validators/sponsorship.d.ts +1 -0
  796. data/js/node_modules/@waves/waves-transactions/dist/validators/sponsorship.js +17 -0
  797. data/js/node_modules/@waves/waves-transactions/dist/validators/sponsorship.js.map +1 -0
  798. data/js/node_modules/@waves/waves-transactions/dist/validators/transfer.d.ts +1 -0
  799. data/js/node_modules/@waves/waves-transactions/dist/validators/transfer.js +20 -0
  800. data/js/node_modules/@waves/waves-transactions/dist/validators/transfer.js.map +1 -0
  801. data/js/node_modules/@waves/waves-transactions/dist/validators/update-asset-info.d.ts +1 -0
  802. data/js/node_modules/@waves/waves-transactions/dist/validators/update-asset-info.js +18 -0
  803. data/js/node_modules/@waves/waves-transactions/dist/validators/update-asset-info.js.map +1 -0
  804. data/js/node_modules/@waves/waves-transactions/dist/validators/validators.d.ts +52 -0
  805. data/js/node_modules/@waves/waves-transactions/dist/validators/validators.js +160 -0
  806. data/js/node_modules/@waves/waves-transactions/dist/validators/validators.js.map +1 -0
  807. data/js/node_modules/@waves/waves-transactions/dist/validators/wavesAuth.d.ts +1 -0
  808. data/js/node_modules/@waves/waves-transactions/dist/validators/wavesAuth.js +10 -0
  809. data/js/node_modules/@waves/waves-transactions/dist/validators/wavesAuth.js.map +1 -0
  810. data/js/node_modules/@waves/waves-transactions/package.json +83 -0
  811. data/js/node_modules/@waves/waves-transactions/src/defaultVersions.ts +18 -0
  812. data/js/node_modules/@waves/waves-transactions/src/general.ts +165 -0
  813. data/js/node_modules/@waves/waves-transactions/src/generic.ts +88 -0
  814. data/js/node_modules/@waves/waves-transactions/src/index.ts +87 -0
  815. data/js/node_modules/@waves/waves-transactions/src/make-tx.ts +179 -0
  816. data/js/node_modules/@waves/waves-transactions/src/nodeInteraction.ts +297 -0
  817. data/js/node_modules/@waves/waves-transactions/src/proto-serialize.ts +571 -0
  818. data/js/node_modules/@waves/waves-transactions/src/requests/auth.ts +42 -0
  819. data/js/node_modules/@waves/waves-transactions/src/requests/cancel-order.ts +37 -0
  820. data/js/node_modules/@waves/waves-transactions/src/requests/custom-data.ts +73 -0
  821. data/js/node_modules/@waves/waves-transactions/src/requests/order.ts +121 -0
  822. data/js/node_modules/@waves/waves-transactions/src/requests/wavesAuth.ts +40 -0
  823. data/js/node_modules/@waves/waves-transactions/src/seedUtils/index.ts +124 -0
  824. data/js/node_modules/@waves/waves-transactions/src/transactions/alias.ts +46 -0
  825. data/js/node_modules/@waves/waves-transactions/src/transactions/burn.ts +45 -0
  826. data/js/node_modules/@waves/waves-transactions/src/transactions/cancel-lease.ts +44 -0
  827. data/js/node_modules/@waves/waves-transactions/src/transactions/data.ts +122 -0
  828. data/js/node_modules/@waves/waves-transactions/src/transactions/exchange.ts +47 -0
  829. data/js/node_modules/@waves/waves-transactions/src/transactions/invoke-expression.ts +50 -0
  830. data/js/node_modules/@waves/waves-transactions/src/transactions/invoke-script.ts +54 -0
  831. data/js/node_modules/@waves/waves-transactions/src/transactions/issue.ts +52 -0
  832. data/js/node_modules/@waves/waves-transactions/src/transactions/lease.ts +45 -0
  833. data/js/node_modules/@waves/waves-transactions/src/transactions/mass-transfer.ts +55 -0
  834. data/js/node_modules/@waves/waves-transactions/src/transactions/reissue.ts +46 -0
  835. data/js/node_modules/@waves/waves-transactions/src/transactions/set-asset-script.ts +57 -0
  836. data/js/node_modules/@waves/waves-transactions/src/transactions/set-script.ts +54 -0
  837. data/js/node_modules/@waves/waves-transactions/src/transactions/sponsorship.ts +45 -0
  838. data/js/node_modules/@waves/waves-transactions/src/transactions/transfer.ts +55 -0
  839. data/js/node_modules/@waves/waves-transactions/src/transactions/update-asset-info.ts +44 -0
  840. data/js/node_modules/@waves/waves-transactions/src/transactions.ts +352 -0
  841. data/js/node_modules/@waves/waves-transactions/src/types.ts +12 -0
  842. data/js/node_modules/@waves/waves-transactions/src/validators/alias.ts +28 -0
  843. data/js/node_modules/@waves/waves-transactions/src/validators/auth.ts +14 -0
  844. data/js/node_modules/@waves/waves-transactions/src/validators/burn.ts +29 -0
  845. data/js/node_modules/@waves/waves-transactions/src/validators/cancel-lease.ts +27 -0
  846. data/js/node_modules/@waves/waves-transactions/src/validators/cancel-order.ts +17 -0
  847. data/js/node_modules/@waves/waves-transactions/src/validators/custom-data.ts +40 -0
  848. data/js/node_modules/@waves/waves-transactions/src/validators/data.ts +33 -0
  849. data/js/node_modules/@waves/waves-transactions/src/validators/exchange.ts +36 -0
  850. data/js/node_modules/@waves/waves-transactions/src/validators/index.ts +50 -0
  851. data/js/node_modules/@waves/waves-transactions/src/validators/invoke-expression.ts +31 -0
  852. data/js/node_modules/@waves/waves-transactions/src/validators/invoke-script.ts +64 -0
  853. data/js/node_modules/@waves/waves-transactions/src/validators/issue.ts +41 -0
  854. data/js/node_modules/@waves/waves-transactions/src/validators/lease.ts +29 -0
  855. data/js/node_modules/@waves/waves-transactions/src/validators/mass-transfer.ts +47 -0
  856. data/js/node_modules/@waves/waves-transactions/src/validators/order.ts +68 -0
  857. data/js/node_modules/@waves/waves-transactions/src/validators/reissue.ts +31 -0
  858. data/js/node_modules/@waves/waves-transactions/src/validators/set-asset-script.ts +28 -0
  859. data/js/node_modules/@waves/waves-transactions/src/validators/set-script.ts +28 -0
  860. data/js/node_modules/@waves/waves-transactions/src/validators/sponsorship.ts +28 -0
  861. data/js/node_modules/@waves/waves-transactions/src/validators/transfer.ts +32 -0
  862. data/js/node_modules/@waves/waves-transactions/src/validators/update-asset-info.ts +32 -0
  863. data/js/node_modules/@waves/waves-transactions/src/validators/validators.ts +306 -0
  864. data/js/node_modules/@waves/waves-transactions/src/validators/wavesAuth.ts +15 -0
  865. data/js/node_modules/asynckit/LICENSE +21 -0
  866. data/js/node_modules/asynckit/README.md +233 -0
  867. data/js/node_modules/asynckit/bench.js +76 -0
  868. data/js/node_modules/asynckit/index.js +6 -0
  869. data/js/node_modules/asynckit/lib/abort.js +29 -0
  870. data/js/node_modules/asynckit/lib/async.js +34 -0
  871. data/js/node_modules/asynckit/lib/defer.js +26 -0
  872. data/js/node_modules/asynckit/lib/iterate.js +75 -0
  873. data/js/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  874. data/js/node_modules/asynckit/lib/readable_parallel.js +25 -0
  875. data/js/node_modules/asynckit/lib/readable_serial.js +25 -0
  876. data/js/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  877. data/js/node_modules/asynckit/lib/state.js +37 -0
  878. data/js/node_modules/asynckit/lib/streamify.js +141 -0
  879. data/js/node_modules/asynckit/lib/terminator.js +29 -0
  880. data/js/node_modules/asynckit/package.json +63 -0
  881. data/js/node_modules/asynckit/parallel.js +43 -0
  882. data/js/node_modules/asynckit/serial.js +17 -0
  883. data/js/node_modules/asynckit/serialOrdered.js +75 -0
  884. data/js/node_modules/asynckit/stream.js +21 -0
  885. data/js/node_modules/axios/CHANGELOG.md +413 -0
  886. data/js/node_modules/axios/LICENSE +19 -0
  887. data/js/node_modules/axios/README.md +709 -0
  888. data/js/node_modules/axios/UPGRADE_GUIDE.md +162 -0
  889. data/js/node_modules/axios/dist/axios.js +1715 -0
  890. data/js/node_modules/axios/dist/axios.map +1 -0
  891. data/js/node_modules/axios/dist/axios.min.js +3 -0
  892. data/js/node_modules/axios/dist/axios.min.map +1 -0
  893. data/js/node_modules/axios/index.d.ts +157 -0
  894. data/js/node_modules/axios/index.js +1 -0
  895. data/js/node_modules/axios/lib/adapters/README.md +37 -0
  896. data/js/node_modules/axios/lib/adapters/http.js +279 -0
  897. data/js/node_modules/axios/lib/adapters/xhr.js +180 -0
  898. data/js/node_modules/axios/lib/axios.js +53 -0
  899. data/js/node_modules/axios/lib/cancel/Cancel.js +19 -0
  900. data/js/node_modules/axios/lib/cancel/CancelToken.js +57 -0
  901. data/js/node_modules/axios/lib/cancel/isCancel.js +5 -0
  902. data/js/node_modules/axios/lib/core/Axios.js +94 -0
  903. data/js/node_modules/axios/lib/core/InterceptorManager.js +52 -0
  904. data/js/node_modules/axios/lib/core/README.md +7 -0
  905. data/js/node_modules/axios/lib/core/buildFullPath.js +20 -0
  906. data/js/node_modules/axios/lib/core/createError.js +18 -0
  907. data/js/node_modules/axios/lib/core/dispatchRequest.js +79 -0
  908. data/js/node_modules/axios/lib/core/enhanceError.js +42 -0
  909. data/js/node_modules/axios/lib/core/mergeConfig.js +73 -0
  910. data/js/node_modules/axios/lib/core/settle.js +25 -0
  911. data/js/node_modules/axios/lib/core/transformData.js +20 -0
  912. data/js/node_modules/axios/lib/defaults.js +97 -0
  913. data/js/node_modules/axios/lib/helpers/README.md +7 -0
  914. data/js/node_modules/axios/lib/helpers/bind.js +11 -0
  915. data/js/node_modules/axios/lib/helpers/buildURL.js +71 -0
  916. data/js/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  917. data/js/node_modules/axios/lib/helpers/cookies.js +53 -0
  918. data/js/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  919. data/js/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  920. data/js/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  921. data/js/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  922. data/js/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  923. data/js/node_modules/axios/lib/helpers/spread.js +27 -0
  924. data/js/node_modules/axios/lib/utils.js +344 -0
  925. data/js/node_modules/axios/package.json +84 -0
  926. data/js/node_modules/base64-js/LICENSE +21 -0
  927. data/js/node_modules/base64-js/README.md +34 -0
  928. data/js/node_modules/base64-js/base64js.min.js +1 -0
  929. data/js/node_modules/base64-js/index.d.ts +3 -0
  930. data/js/node_modules/base64-js/index.js +150 -0
  931. data/js/node_modules/base64-js/package.json +47 -0
  932. data/js/node_modules/bignumber.js/CHANGELOG.md +290 -0
  933. data/js/node_modules/bignumber.js/LICENCE.md +26 -0
  934. data/js/node_modules/bignumber.js/README.md +286 -0
  935. data/js/node_modules/bignumber.js/bignumber.d.ts +1831 -0
  936. data/js/node_modules/bignumber.js/bignumber.js +2926 -0
  937. data/js/node_modules/bignumber.js/bignumber.mjs +2889 -0
  938. data/js/node_modules/bignumber.js/doc/API.html +2249 -0
  939. data/js/node_modules/bignumber.js/package.json +50 -0
  940. data/js/node_modules/combined-stream/License +19 -0
  941. data/js/node_modules/combined-stream/Readme.md +138 -0
  942. data/js/node_modules/combined-stream/lib/combined_stream.js +208 -0
  943. data/js/node_modules/combined-stream/package.json +25 -0
  944. data/js/node_modules/combined-stream/yarn.lock +17 -0
  945. data/js/node_modules/debug/CHANGELOG.md +395 -0
  946. data/js/node_modules/debug/LICENSE +19 -0
  947. data/js/node_modules/debug/Makefile +58 -0
  948. data/js/node_modules/debug/README.md +368 -0
  949. data/js/node_modules/debug/karma.conf.js +70 -0
  950. data/js/node_modules/debug/node.js +1 -0
  951. data/js/node_modules/debug/package.json +43 -0
  952. data/js/node_modules/debug/src/browser.js +195 -0
  953. data/js/node_modules/debug/src/debug.js +225 -0
  954. data/js/node_modules/debug/src/index.js +10 -0
  955. data/js/node_modules/debug/src/node.js +186 -0
  956. data/js/node_modules/delayed-stream/License +19 -0
  957. data/js/node_modules/delayed-stream/Makefile +7 -0
  958. data/js/node_modules/delayed-stream/Readme.md +141 -0
  959. data/js/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  960. data/js/node_modules/delayed-stream/package.json +27 -0
  961. data/js/node_modules/follow-redirects/LICENSE +18 -0
  962. data/js/node_modules/follow-redirects/README.md +155 -0
  963. data/js/node_modules/follow-redirects/http.js +1 -0
  964. data/js/node_modules/follow-redirects/https.js +1 -0
  965. data/js/node_modules/follow-redirects/index.js +322 -0
  966. data/js/node_modules/follow-redirects/package.json +60 -0
  967. data/js/node_modules/form-data/License +19 -0
  968. data/js/node_modules/form-data/README.md.bak +356 -0
  969. data/js/node_modules/form-data/Readme.md +356 -0
  970. data/js/node_modules/form-data/index.d.ts +62 -0
  971. data/js/node_modules/form-data/lib/browser.js +2 -0
  972. data/js/node_modules/form-data/lib/form_data.js +498 -0
  973. data/js/node_modules/form-data/lib/populate.js +10 -0
  974. data/js/node_modules/form-data/package.json +68 -0
  975. data/js/node_modules/js-sha3/CHANGELOG.md +106 -0
  976. data/js/node_modules/js-sha3/LICENSE.txt +20 -0
  977. data/js/node_modules/js-sha3/README.md +241 -0
  978. data/js/node_modules/js-sha3/build/sha3.min.js +9 -0
  979. data/js/node_modules/js-sha3/index.d.ts +317 -0
  980. data/js/node_modules/js-sha3/package.json +45 -0
  981. data/js/node_modules/js-sha3/src/sha3.js +656 -0
  982. data/js/node_modules/long/LICENSE +202 -0
  983. data/js/node_modules/long/README.md +246 -0
  984. data/js/node_modules/long/dist/long.js +2 -0
  985. data/js/node_modules/long/dist/long.js.map +1 -0
  986. data/js/node_modules/long/index.js +1 -0
  987. data/js/node_modules/long/package.json +34 -0
  988. data/js/node_modules/long/src/long.js +1323 -0
  989. data/js/node_modules/mime-db/HISTORY.md +507 -0
  990. data/js/node_modules/mime-db/LICENSE +23 -0
  991. data/js/node_modules/mime-db/README.md +100 -0
  992. data/js/node_modules/mime-db/db.json +8519 -0
  993. data/js/node_modules/mime-db/index.js +12 -0
  994. data/js/node_modules/mime-db/package.json +60 -0
  995. data/js/node_modules/mime-types/HISTORY.md +397 -0
  996. data/js/node_modules/mime-types/LICENSE +23 -0
  997. data/js/node_modules/mime-types/README.md +113 -0
  998. data/js/node_modules/mime-types/index.js +188 -0
  999. data/js/node_modules/mime-types/package.json +44 -0
  1000. data/js/node_modules/ms/index.js +152 -0
  1001. data/js/node_modules/ms/license.md +21 -0
  1002. data/js/node_modules/ms/package.json +37 -0
  1003. data/js/node_modules/ms/readme.md +51 -0
  1004. data/js/node_modules/node-fetch/LICENSE.md +22 -0
  1005. data/js/node_modules/node-fetch/README.md +633 -0
  1006. data/js/node_modules/node-fetch/browser.js +25 -0
  1007. data/js/node_modules/node-fetch/lib/index.es.js +1781 -0
  1008. data/js/node_modules/node-fetch/lib/index.js +1790 -0
  1009. data/js/node_modules/node-fetch/lib/index.mjs +1779 -0
  1010. data/js/node_modules/node-fetch/package.json +89 -0
  1011. data/js/node_modules/node-forge/CHANGELOG.md +211 -0
  1012. data/js/node_modules/node-forge/LICENSE +331 -0
  1013. data/js/node_modules/node-forge/README.md +2097 -0
  1014. data/js/node_modules/node-forge/dist/forge.all.min.js +2 -0
  1015. data/js/node_modules/node-forge/dist/forge.all.min.js.map +1 -0
  1016. data/js/node_modules/node-forge/dist/forge.min.js +2 -0
  1017. data/js/node_modules/node-forge/dist/forge.min.js.map +1 -0
  1018. data/js/node_modules/node-forge/dist/prime.worker.min.js +2 -0
  1019. data/js/node_modules/node-forge/dist/prime.worker.min.js.map +1 -0
  1020. data/js/node_modules/node-forge/flash/README.md +48 -0
  1021. data/js/node_modules/node-forge/flash/package.json +28 -0
  1022. data/js/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
  1023. data/js/node_modules/node-forge/lib/aes.js +1091 -0
  1024. data/js/node_modules/node-forge/lib/aesCipherSuites.js +282 -0
  1025. data/js/node_modules/node-forge/lib/asn1.js +1408 -0
  1026. data/js/node_modules/node-forge/lib/baseN.js +186 -0
  1027. data/js/node_modules/node-forge/lib/cipher.js +230 -0
  1028. data/js/node_modules/node-forge/lib/cipherModes.js +987 -0
  1029. data/js/node_modules/node-forge/lib/debug.js +78 -0
  1030. data/js/node_modules/node-forge/lib/des.js +496 -0
  1031. data/js/node_modules/node-forge/lib/ed25519.js +996 -0
  1032. data/js/node_modules/node-forge/lib/forge.js +13 -0
  1033. data/js/node_modules/node-forge/lib/form.js +149 -0
  1034. data/js/node_modules/node-forge/lib/hmac.js +146 -0
  1035. data/js/node_modules/node-forge/lib/http.js +1364 -0
  1036. data/js/node_modules/node-forge/lib/index.all.js +16 -0
  1037. data/js/node_modules/node-forge/lib/index.js +35 -0
  1038. data/js/node_modules/node-forge/lib/jsbn.js +1264 -0
  1039. data/js/node_modules/node-forge/lib/kem.js +168 -0
  1040. data/js/node_modules/node-forge/lib/log.js +317 -0
  1041. data/js/node_modules/node-forge/lib/md.all.js +13 -0
  1042. data/js/node_modules/node-forge/lib/md.js +11 -0
  1043. data/js/node_modules/node-forge/lib/md5.js +289 -0
  1044. data/js/node_modules/node-forge/lib/mgf.js +12 -0
  1045. data/js/node_modules/node-forge/lib/mgf1.js +57 -0
  1046. data/js/node_modules/node-forge/lib/oids.js +163 -0
  1047. data/js/node_modules/node-forge/lib/pbe.js +1023 -0
  1048. data/js/node_modules/node-forge/lib/pbkdf2.js +211 -0
  1049. data/js/node_modules/node-forge/lib/pem.js +230 -0
  1050. data/js/node_modules/node-forge/lib/pkcs1.js +276 -0
  1051. data/js/node_modules/node-forge/lib/pkcs12.js +1074 -0
  1052. data/js/node_modules/node-forge/lib/pkcs7.js +1257 -0
  1053. data/js/node_modules/node-forge/lib/pkcs7asn1.js +409 -0
  1054. data/js/node_modules/node-forge/lib/pki.js +102 -0
  1055. data/js/node_modules/node-forge/lib/prime.js +297 -0
  1056. data/js/node_modules/node-forge/lib/prime.worker.js +168 -0
  1057. data/js/node_modules/node-forge/lib/prng.js +419 -0
  1058. data/js/node_modules/node-forge/lib/pss.js +241 -0
  1059. data/js/node_modules/node-forge/lib/random.js +191 -0
  1060. data/js/node_modules/node-forge/lib/rc2.js +410 -0
  1061. data/js/node_modules/node-forge/lib/rsa.js +1858 -0
  1062. data/js/node_modules/node-forge/lib/sha1.js +319 -0
  1063. data/js/node_modules/node-forge/lib/sha256.js +327 -0
  1064. data/js/node_modules/node-forge/lib/sha512.js +561 -0
  1065. data/js/node_modules/node-forge/lib/socket.js +287 -0
  1066. data/js/node_modules/node-forge/lib/ssh.js +236 -0
  1067. data/js/node_modules/node-forge/lib/task.js +725 -0
  1068. data/js/node_modules/node-forge/lib/tls.js +4282 -0
  1069. data/js/node_modules/node-forge/lib/tlssocket.js +249 -0
  1070. data/js/node_modules/node-forge/lib/util.js +2993 -0
  1071. data/js/node_modules/node-forge/lib/x509.js +3333 -0
  1072. data/js/node_modules/node-forge/lib/xhr.js +736 -0
  1073. data/js/node_modules/node-forge/package.json +120 -0
  1074. data/js/node_modules/protobufjs/CHANGELOG.md +1027 -0
  1075. data/js/node_modules/protobufjs/LICENSE +39 -0
  1076. data/js/node_modules/protobufjs/README.md +905 -0
  1077. data/js/node_modules/protobufjs/bin/pbjs +6 -0
  1078. data/js/node_modules/protobufjs/bin/pbts +6 -0
  1079. data/js/node_modules/protobufjs/cli/LICENSE +33 -0
  1080. data/js/node_modules/protobufjs/cli/README.md +174 -0
  1081. data/js/node_modules/protobufjs/cli/bin/pbjs +6 -0
  1082. data/js/node_modules/protobufjs/cli/bin/pbts +6 -0
  1083. data/js/node_modules/protobufjs/cli/index.d.ts +3 -0
  1084. data/js/node_modules/protobufjs/cli/index.js +3 -0
  1085. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/LICENSE +21 -0
  1086. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/README.md +23 -0
  1087. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js +21 -0
  1088. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/publish.js +705 -0
  1089. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc.json +18 -0
  1090. data/js/node_modules/protobufjs/cli/package.json +8 -0
  1091. data/js/node_modules/protobufjs/cli/package.standalone.json +32 -0
  1092. data/js/node_modules/protobufjs/cli/pbjs.d.ts +9 -0
  1093. data/js/node_modules/protobufjs/cli/pbjs.js +330 -0
  1094. data/js/node_modules/protobufjs/cli/pbts.d.ts +9 -0
  1095. data/js/node_modules/protobufjs/cli/pbts.js +197 -0
  1096. data/js/node_modules/protobufjs/cli/targets/json-module.js +38 -0
  1097. data/js/node_modules/protobufjs/cli/targets/json.js +8 -0
  1098. data/js/node_modules/protobufjs/cli/targets/proto.js +326 -0
  1099. data/js/node_modules/protobufjs/cli/targets/proto2.js +10 -0
  1100. data/js/node_modules/protobufjs/cli/targets/proto3.js +10 -0
  1101. data/js/node_modules/protobufjs/cli/targets/static-module.js +29 -0
  1102. data/js/node_modules/protobufjs/cli/targets/static.js +711 -0
  1103. data/js/node_modules/protobufjs/cli/util.js +183 -0
  1104. data/js/node_modules/protobufjs/cli/wrappers/amd.js +7 -0
  1105. data/js/node_modules/protobufjs/cli/wrappers/closure.js +7 -0
  1106. data/js/node_modules/protobufjs/cli/wrappers/commonjs.js +7 -0
  1107. data/js/node_modules/protobufjs/cli/wrappers/default.js +15 -0
  1108. data/js/node_modules/protobufjs/cli/wrappers/es6.js +5 -0
  1109. data/js/node_modules/protobufjs/dist/README.md +31 -0
  1110. data/js/node_modules/protobufjs/dist/light/README.md +31 -0
  1111. data/js/node_modules/protobufjs/dist/light/protobuf.js +7322 -0
  1112. data/js/node_modules/protobufjs/dist/light/protobuf.js.map +1 -0
  1113. data/js/node_modules/protobufjs/dist/light/protobuf.min.js +8 -0
  1114. data/js/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -0
  1115. data/js/node_modules/protobufjs/dist/minimal/README.md +31 -0
  1116. data/js/node_modules/protobufjs/dist/minimal/protobuf.js +2714 -0
  1117. data/js/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -0
  1118. data/js/node_modules/protobufjs/dist/minimal/protobuf.min.js +8 -0
  1119. data/js/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -0
  1120. data/js/node_modules/protobufjs/dist/protobuf.js +8964 -0
  1121. data/js/node_modules/protobufjs/dist/protobuf.js.map +1 -0
  1122. data/js/node_modules/protobufjs/dist/protobuf.min.js +8 -0
  1123. data/js/node_modules/protobufjs/dist/protobuf.min.js.map +1 -0
  1124. data/js/node_modules/protobufjs/ext/debug/README.md +4 -0
  1125. data/js/node_modules/protobufjs/ext/debug/index.js +71 -0
  1126. data/js/node_modules/protobufjs/ext/descriptor/README.md +72 -0
  1127. data/js/node_modules/protobufjs/ext/descriptor/index.d.ts +191 -0
  1128. data/js/node_modules/protobufjs/ext/descriptor/index.js +1052 -0
  1129. data/js/node_modules/protobufjs/ext/descriptor/test.js +54 -0
  1130. data/js/node_modules/protobufjs/google/LICENSE +27 -0
  1131. data/js/node_modules/protobufjs/google/README.md +1 -0
  1132. data/js/node_modules/protobufjs/google/api/annotations.json +83 -0
  1133. data/js/node_modules/protobufjs/google/api/annotations.proto +11 -0
  1134. data/js/node_modules/protobufjs/google/api/http.json +86 -0
  1135. data/js/node_modules/protobufjs/google/api/http.proto +31 -0
  1136. data/js/node_modules/protobufjs/google/protobuf/api.json +118 -0
  1137. data/js/node_modules/protobufjs/google/protobuf/api.proto +34 -0
  1138. data/js/node_modules/protobufjs/google/protobuf/descriptor.json +739 -0
  1139. data/js/node_modules/protobufjs/google/protobuf/descriptor.proto +286 -0
  1140. data/js/node_modules/protobufjs/google/protobuf/source_context.json +20 -0
  1141. data/js/node_modules/protobufjs/google/protobuf/source_context.proto +7 -0
  1142. data/js/node_modules/protobufjs/google/protobuf/type.json +202 -0
  1143. data/js/node_modules/protobufjs/google/protobuf/type.proto +89 -0
  1144. data/js/node_modules/protobufjs/index.d.ts +2739 -0
  1145. data/js/node_modules/protobufjs/index.js +4 -0
  1146. data/js/node_modules/protobufjs/light.d.ts +2 -0
  1147. data/js/node_modules/protobufjs/light.js +4 -0
  1148. data/js/node_modules/protobufjs/minimal.d.ts +2 -0
  1149. data/js/node_modules/protobufjs/minimal.js +4 -0
  1150. data/js/node_modules/protobufjs/package-lock.json +7870 -0
  1151. data/js/node_modules/protobufjs/package.json +122 -0
  1152. data/js/node_modules/protobufjs/scripts/changelog.js +150 -0
  1153. data/js/node_modules/protobufjs/scripts/postinstall.js +35 -0
  1154. data/js/node_modules/protobufjs/src/common.js +399 -0
  1155. data/js/node_modules/protobufjs/src/converter.js +293 -0
  1156. data/js/node_modules/protobufjs/src/decoder.js +128 -0
  1157. data/js/node_modules/protobufjs/src/encoder.js +100 -0
  1158. data/js/node_modules/protobufjs/src/enum.js +181 -0
  1159. data/js/node_modules/protobufjs/src/field.js +374 -0
  1160. data/js/node_modules/protobufjs/src/index-light.js +104 -0
  1161. data/js/node_modules/protobufjs/src/index-minimal.js +36 -0
  1162. data/js/node_modules/protobufjs/src/index.js +12 -0
  1163. data/js/node_modules/protobufjs/src/mapfield.js +126 -0
  1164. data/js/node_modules/protobufjs/src/message.js +139 -0
  1165. data/js/node_modules/protobufjs/src/method.js +160 -0
  1166. data/js/node_modules/protobufjs/src/namespace.js +434 -0
  1167. data/js/node_modules/protobufjs/src/object.js +243 -0
  1168. data/js/node_modules/protobufjs/src/oneof.js +203 -0
  1169. data/js/node_modules/protobufjs/src/parse.js +820 -0
  1170. data/js/node_modules/protobufjs/src/reader.js +411 -0
  1171. data/js/node_modules/protobufjs/src/reader_buffer.js +51 -0
  1172. data/js/node_modules/protobufjs/src/root.js +363 -0
  1173. data/js/node_modules/protobufjs/src/roots.js +18 -0
  1174. data/js/node_modules/protobufjs/src/rpc/service.js +142 -0
  1175. data/js/node_modules/protobufjs/src/rpc.js +36 -0
  1176. data/js/node_modules/protobufjs/src/service.js +167 -0
  1177. data/js/node_modules/protobufjs/src/tokenize.js +403 -0
  1178. data/js/node_modules/protobufjs/src/type.js +589 -0
  1179. data/js/node_modules/protobufjs/src/types.js +196 -0
  1180. data/js/node_modules/protobufjs/src/typescript.jsdoc +15 -0
  1181. data/js/node_modules/protobufjs/src/util/longbits.js +200 -0
  1182. data/js/node_modules/protobufjs/src/util/minimal.js +421 -0
  1183. data/js/node_modules/protobufjs/src/util.js +212 -0
  1184. data/js/node_modules/protobufjs/src/verifier.js +177 -0
  1185. data/js/node_modules/protobufjs/src/wrappers.js +102 -0
  1186. data/js/node_modules/protobufjs/src/writer.js +465 -0
  1187. data/js/node_modules/protobufjs/src/writer_buffer.js +85 -0
  1188. data/js/node_modules/protobufjs/tsconfig.json +7 -0
  1189. data/js/node_modules/tr46/index.js +193 -0
  1190. data/js/node_modules/tr46/lib/mappingTable.json +1 -0
  1191. data/js/node_modules/tr46/package.json +31 -0
  1192. data/js/node_modules/typed-ts-events/dist/EventEmitter.d.ts +23 -0
  1193. data/js/node_modules/typed-ts-events/dist/events.js +145 -0
  1194. data/js/node_modules/typed-ts-events/dist/events.js.map +1 -0
  1195. data/js/node_modules/typed-ts-events/dist/events.min.js +2 -0
  1196. data/js/node_modules/typed-ts-events/dist/events.min.js.map +1 -0
  1197. data/js/node_modules/typed-ts-events/dist/index.d.ts +3 -0
  1198. data/js/node_modules/typed-ts-events/package.json +64 -0
  1199. data/js/node_modules/typed-ts-events/readme.md +77 -0
  1200. data/js/node_modules/webidl-conversions/LICENSE.md +12 -0
  1201. data/js/node_modules/webidl-conversions/README.md +53 -0
  1202. data/js/node_modules/webidl-conversions/lib/index.js +189 -0
  1203. data/js/node_modules/webidl-conversions/package.json +23 -0
  1204. data/js/node_modules/whatwg-url/LICENSE.txt +21 -0
  1205. data/js/node_modules/whatwg-url/README.md +67 -0
  1206. data/js/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  1207. data/js/node_modules/whatwg-url/lib/URL.js +196 -0
  1208. data/js/node_modules/whatwg-url/lib/public-api.js +11 -0
  1209. data/js/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  1210. data/js/node_modules/whatwg-url/lib/utils.js +20 -0
  1211. data/js/node_modules/whatwg-url/package.json +32 -0
  1212. data/js/package-lock.json +706 -0
  1213. data/js/package.json +15 -0
  1214. data/js/worker.js +109 -0
  1215. data/js/yarn.lock +285 -0
  1216. data/lib/waves_lib/map.rb +211 -0
  1217. data/lib/waves_lib/root_wrapper.rb +85 -0
  1218. data/lib/waves_lib/version.rb +6 -0
  1219. data/lib/waves_lib/wrapped_buffer.rb +26 -0
  1220. data/lib/waves_lib/wrapper.rb +82 -0
  1221. data/lib/waves_lib.rb +10 -0
  1222. metadata +1264 -0
@@ -0,0 +1,1831 @@
1
+ // Type definitions for bignumber.js >=8.1.0
2
+ // Project: https://github.com/MikeMcl/bignumber.js
3
+ // Definitions by: Michael Mclaughlin <https://github.com/MikeMcl>
4
+ // Definitions: https://github.com/MikeMcl/bignumber.js
5
+
6
+ // Documentation: http://mikemcl.github.io/bignumber.js/
7
+ //
8
+ // Exports:
9
+ //
10
+ // class BigNumber (default export)
11
+ // type BigNumber.Constructor
12
+ // type BigNumber.ModuloMode
13
+ // type BigNumber.RoundingMOde
14
+ // type BigNumber.Value
15
+ // interface BigNumber.Config
16
+ // interface BigNumber.Format
17
+ // interface BigNumber.Instance
18
+ //
19
+ // Example:
20
+ //
21
+ // import {BigNumber} from "bignumber.js"
22
+ // //import BigNumber from "bignumber.js"
23
+ //
24
+ // let rm: BigNumber.RoundingMode = BigNumber.ROUND_UP;
25
+ // let f: BigNumber.Format = { decimalSeparator: ',' };
26
+ // let c: BigNumber.Config = { DECIMAL_PLACES: 4, ROUNDING_MODE: rm, FORMAT: f };
27
+ // BigNumber.config(c);
28
+ //
29
+ // let v: BigNumber.Value = '12345.6789';
30
+ // let b: BigNumber = new BigNumber(v);
31
+ //
32
+ // The use of compiler option `--strictNullChecks` is recommended.
33
+
34
+ export default BigNumber;
35
+
36
+ export namespace BigNumber {
37
+
38
+ /** See `BigNumber.config` (alias `BigNumber.set`) and `BigNumber.clone`. */
39
+ interface Config {
40
+
41
+ /**
42
+ * An integer, 0 to 1e+9. Default value: 20.
43
+ *
44
+ * The maximum number of decimal places of the result of operations involving division, i.e.
45
+ * division, square root and base conversion operations, and exponentiation when the exponent is
46
+ * negative.
47
+ *
48
+ * ```ts
49
+ * BigNumber.config({ DECIMAL_PLACES: 5 })
50
+ * BigNumber.set({ DECIMAL_PLACES: 5 })
51
+ * ```
52
+ */
53
+ DECIMAL_PLACES?: number;
54
+
55
+ /**
56
+ * An integer, 0 to 8. Default value: `BigNumber.ROUND_HALF_UP` (4).
57
+ *
58
+ * The rounding mode used in operations that involve division (see `DECIMAL_PLACES`) and the
59
+ * default rounding mode of the `decimalPlaces`, `precision`, `toExponential`, `toFixed`,
60
+ * `toFormat` and `toPrecision` methods.
61
+ *
62
+ * The modes are available as enumerated properties of the BigNumber constructor.
63
+ *
64
+ * ```ts
65
+ * BigNumber.config({ ROUNDING_MODE: 0 })
66
+ * BigNumber.set({ ROUNDING_MODE: BigNumber.ROUND_UP })
67
+ * ```
68
+ */
69
+ ROUNDING_MODE?: BigNumber.RoundingMode;
70
+
71
+ /**
72
+ * An integer, 0 to 1e+9, or an array, [-1e+9 to 0, 0 to 1e+9].
73
+ * Default value: `[-7, 20]`.
74
+ *
75
+ * The exponent value(s) at which `toString` returns exponential notation.
76
+ *
77
+ * If a single number is assigned, the value is the exponent magnitude.
78
+ *
79
+ * If an array of two numbers is assigned then the first number is the negative exponent value at
80
+ * and beneath which exponential notation is used, and the second number is the positive exponent
81
+ * value at and above which exponential notation is used.
82
+ *
83
+ * For example, to emulate JavaScript numbers in terms of the exponent values at which they begin
84
+ * to use exponential notation, use `[-7, 20]`.
85
+ *
86
+ * ```ts
87
+ * BigNumber.config({ EXPONENTIAL_AT: 2 })
88
+ * new BigNumber(12.3) // '12.3' e is only 1
89
+ * new BigNumber(123) // '1.23e+2'
90
+ * new BigNumber(0.123) // '0.123' e is only -1
91
+ * new BigNumber(0.0123) // '1.23e-2'
92
+ *
93
+ * BigNumber.config({ EXPONENTIAL_AT: [-7, 20] })
94
+ * new BigNumber(123456789) // '123456789' e is only 8
95
+ * new BigNumber(0.000000123) // '1.23e-7'
96
+ *
97
+ * // Almost never return exponential notation:
98
+ * BigNumber.config({ EXPONENTIAL_AT: 1e+9 })
99
+ *
100
+ * // Always return exponential notation:
101
+ * BigNumber.config({ EXPONENTIAL_AT: 0 })
102
+ * ```
103
+ *
104
+ * Regardless of the value of `EXPONENTIAL_AT`, the `toFixed` method will always return a value in
105
+ * normal notation and the `toExponential` method will always return a value in exponential form.
106
+ * Calling `toString` with a base argument, e.g. `toString(10)`, will also always return normal
107
+ * notation.
108
+ */
109
+ EXPONENTIAL_AT?: number | [number, number];
110
+
111
+ /**
112
+ * An integer, magnitude 1 to 1e+9, or an array, [-1e+9 to -1, 1 to 1e+9].
113
+ * Default value: `[-1e+9, 1e+9]`.
114
+ *
115
+ * The exponent value(s) beyond which overflow to Infinity and underflow to zero occurs.
116
+ *
117
+ * If a single number is assigned, it is the maximum exponent magnitude: values wth a positive
118
+ * exponent of greater magnitude become Infinity and those with a negative exponent of greater
119
+ * magnitude become zero.
120
+ *
121
+ * If an array of two numbers is assigned then the first number is the negative exponent limit and
122
+ * the second number is the positive exponent limit.
123
+ *
124
+ * For example, to emulate JavaScript numbers in terms of the exponent values at which they
125
+ * become zero and Infinity, use [-324, 308].
126
+ *
127
+ * ```ts
128
+ * BigNumber.config({ RANGE: 500 })
129
+ * BigNumber.config().RANGE // [ -500, 500 ]
130
+ * new BigNumber('9.999e499') // '9.999e+499'
131
+ * new BigNumber('1e500') // 'Infinity'
132
+ * new BigNumber('1e-499') // '1e-499'
133
+ * new BigNumber('1e-500') // '0'
134
+ *
135
+ * BigNumber.config({ RANGE: [-3, 4] })
136
+ * new BigNumber(99999) // '99999' e is only 4
137
+ * new BigNumber(100000) // 'Infinity' e is 5
138
+ * new BigNumber(0.001) // '0.01' e is only -3
139
+ * new BigNumber(0.0001) // '0' e is -4
140
+ * ```
141
+ * The largest possible magnitude of a finite BigNumber is 9.999...e+1000000000.
142
+ * The smallest possible magnitude of a non-zero BigNumber is 1e-1000000000.
143
+ */
144
+ RANGE?: number | [number, number];
145
+
146
+ /**
147
+ * A boolean: `true` or `false`. Default value: `false`.
148
+ *
149
+ * The value that determines whether cryptographically-secure pseudo-random number generation is
150
+ * used. If `CRYPTO` is set to true then the random method will generate random digits using
151
+ * `crypto.getRandomValues` in browsers that support it, or `crypto.randomBytes` if using a
152
+ * version of Node.js that supports it.
153
+ *
154
+ * If neither function is supported by the host environment then attempting to set `CRYPTO` to
155
+ * `true` will fail and an exception will be thrown.
156
+ *
157
+ * If `CRYPTO` is `false` then the source of randomness used will be `Math.random` (which is
158
+ * assumed to generate at least 30 bits of randomness).
159
+ *
160
+ * See `BigNumber.random`.
161
+ *
162
+ * ```ts
163
+ * // Node.js
164
+ * global.crypto = require('crypto')
165
+ *
166
+ * BigNumber.config({ CRYPTO: true })
167
+ * BigNumber.config().CRYPTO // true
168
+ * BigNumber.random() // 0.54340758610486147524
169
+ * ```
170
+ */
171
+ CRYPTO?: boolean;
172
+
173
+ /**
174
+ * An integer, 0, 1, 3, 6 or 9. Default value: `BigNumber.ROUND_DOWN` (1).
175
+ *
176
+ * The modulo mode used when calculating the modulus: `a mod n`.
177
+ * The quotient, `q = a / n`, is calculated according to the `ROUNDING_MODE` that corresponds to
178
+ * the chosen `MODULO_MODE`.
179
+ * The remainder, `r`, is calculated as: `r = a - n * q`.
180
+ *
181
+ * The modes that are most commonly used for the modulus/remainder operation are shown in the
182
+ * following table. Although the other rounding modes can be used, they may not give useful
183
+ * results.
184
+ *
185
+ * Property | Value | Description
186
+ * :------------------|:------|:------------------------------------------------------------------
187
+ * `ROUND_UP` | 0 | The remainder is positive if the dividend is negative.
188
+ * `ROUND_DOWN` | 1 | The remainder has the same sign as the dividend.
189
+ * | | Uses 'truncating division' and matches JavaScript's `%` operator .
190
+ * `ROUND_FLOOR` | 3 | The remainder has the same sign as the divisor.
191
+ * | | This matches Python's `%` operator.
192
+ * `ROUND_HALF_EVEN` | 6 | The IEEE 754 remainder function.
193
+ * `EUCLID` | 9 | The remainder is always positive.
194
+ * | | Euclidian division: `q = sign(n) * floor(a / abs(n))`
195
+ *
196
+ * The rounding/modulo modes are available as enumerated properties of the BigNumber constructor.
197
+ *
198
+ * See `modulo`.
199
+ *
200
+ * ```ts
201
+ * BigNumber.config({ MODULO_MODE: BigNumber.EUCLID })
202
+ * BigNumber.set({ MODULO_MODE: 9 }) // equivalent
203
+ * ```
204
+ */
205
+ MODULO_MODE?: BigNumber.ModuloMode;
206
+
207
+ /**
208
+ * An integer, 0 to 1e+9. Default value: 0.
209
+ *
210
+ * The maximum precision, i.e. number of significant digits, of the result of the power operation
211
+ * - unless a modulus is specified.
212
+ *
213
+ * If set to 0, the number of significant digits will not be limited.
214
+ *
215
+ * See `exponentiatedBy`.
216
+ *
217
+ * ```ts
218
+ * BigNumber.config({ POW_PRECISION: 100 })
219
+ * ```
220
+ */
221
+ POW_PRECISION?: number;
222
+
223
+ /**
224
+ * An object including any number of the properties shown below.
225
+ *
226
+ * The object configures the format of the string returned by the `toFormat` method.
227
+ * The example below shows the properties of the object that are recognised, and
228
+ * their default values.
229
+ *
230
+ * Unlike the other configuration properties, the values of the properties of the `FORMAT` object
231
+ * will not be checked for validity - the existing object will simply be replaced by the object
232
+ * that is passed in.
233
+ *
234
+ * See `toFormat`.
235
+ *
236
+ * ```ts
237
+ * BigNumber.config({
238
+ * FORMAT: {
239
+ * // string to prepend
240
+ * prefix: '',
241
+ * // the decimal separator
242
+ * decimalSeparator: '.',
243
+ * // the grouping separator of the integer part
244
+ * groupSeparator: ',',
245
+ * // the primary grouping size of the integer part
246
+ * groupSize: 3,
247
+ * // the secondary grouping size of the integer part
248
+ * secondaryGroupSize: 0,
249
+ * // the grouping separator of the fraction part
250
+ * fractionGroupSeparator: ' ',
251
+ * // the grouping size of the fraction part
252
+ * fractionGroupSize: 0,
253
+ * // string to append
254
+ * suffix: ''
255
+ * }
256
+ * })
257
+ * ```
258
+ */
259
+ FORMAT?: BigNumber.Format;
260
+
261
+ /**
262
+ * The alphabet used for base conversion. The length of the alphabet corresponds to the maximum
263
+ * value of the base argument that can be passed to the BigNumber constructor or `toString`.
264
+ *
265
+ * Default value: `'0123456789abcdefghijklmnopqrstuvwxyz'`.
266
+ *
267
+ * There is no maximum length for the alphabet, but it must be at least 2 characters long,
268
+ * and it must not contain whitespace or a repeated character, or the sign indicators '+' and
269
+ * '-', or the decimal separator '.'.
270
+ *
271
+ * ```ts
272
+ * // duodecimal (base 12)
273
+ * BigNumber.config({ ALPHABET: '0123456789TE' })
274
+ * x = new BigNumber('T', 12)
275
+ * x.toString() // '10'
276
+ * x.toString(12) // 'T'
277
+ * ```
278
+ */
279
+ ALPHABET?: string;
280
+ }
281
+
282
+ /** See `FORMAT` and `toFormat`. */
283
+ interface Format {
284
+
285
+ /** The string to prepend. */
286
+ prefix?: string;
287
+
288
+ /** The decimal separator. */
289
+ decimalSeparator?: string;
290
+
291
+ /** The grouping separator of the integer part. */
292
+ groupSeparator?: string;
293
+
294
+ /** The primary grouping size of the integer part. */
295
+ groupSize?: number;
296
+
297
+ /** The secondary grouping size of the integer part. */
298
+ secondaryGroupSize?: number;
299
+
300
+ /** The grouping separator of the fraction part. */
301
+ fractionGroupSeparator?: string;
302
+
303
+ /** The grouping size of the fraction part. */
304
+ fractionGroupSize?: number;
305
+
306
+ /** The string to append. */
307
+ suffix?: string;
308
+ }
309
+
310
+ interface Instance {
311
+
312
+ /** The coefficient of the value of this BigNumber, an array of base 1e14 integer numbers, or null. */
313
+ readonly c: number[] | null;
314
+
315
+ /** The exponent of the value of this BigNumber, an integer number, -1000000000 to 1000000000, or null. */
316
+ readonly e: number | null;
317
+
318
+ /** The sign of the value of this BigNumber, -1, 1, or null. */
319
+ readonly s: number | null;
320
+
321
+ [key: string]: any;
322
+ }
323
+
324
+ type Constructor = typeof BigNumber;
325
+ type ModuloMode = 0 | 1 | 3 | 6 | 9;
326
+ type RoundingMode = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
327
+ type Value = string | number | Instance;
328
+ }
329
+
330
+ export declare class BigNumber implements BigNumber.Instance {
331
+
332
+ /** Used internally to identify a BigNumber instance. */
333
+ private readonly _isBigNumber: true;
334
+
335
+ /** The coefficient of the value of this BigNumber, an array of base 1e14 integer numbers, or null. */
336
+ readonly c: number[] | null;
337
+
338
+ /** The exponent of the value of this BigNumber, an integer number, -1000000000 to 1000000000, or null. */
339
+ readonly e: number | null;
340
+
341
+ /** The sign of the value of this BigNumber, -1, 1, or null. */
342
+ readonly s: number | null;
343
+
344
+ /**
345
+ * Returns a new instance of a BigNumber object with value `n`, where `n` is a numeric value in
346
+ * the specified `base`, or base 10 if `base` is omitted or is `null` or `undefined`.
347
+ *
348
+ * ```ts
349
+ * x = new BigNumber(123.4567) // '123.4567'
350
+ * // 'new' is optional
351
+ * y = BigNumber(x) // '123.4567'
352
+ * ```
353
+ *
354
+ * If `n` is a base 10 value it can be in normal (fixed-point) or exponential notation.
355
+ * Values in other bases must be in normal notation. Values in any base can have fraction digits,
356
+ * i.e. digits after the decimal point.
357
+ *
358
+ * ```ts
359
+ * new BigNumber(43210) // '43210'
360
+ * new BigNumber('4.321e+4') // '43210'
361
+ * new BigNumber('-735.0918e-430') // '-7.350918e-428'
362
+ * new BigNumber('123412421.234324', 5) // '607236.557696'
363
+ * ```
364
+ *
365
+ * Signed `0`, signed `Infinity` and `NaN` are supported.
366
+ *
367
+ * ```ts
368
+ * new BigNumber('-Infinity') // '-Infinity'
369
+ * new BigNumber(NaN) // 'NaN'
370
+ * new BigNumber(-0) // '0'
371
+ * new BigNumber('.5') // '0.5'
372
+ * new BigNumber('+2') // '2'
373
+ * ```
374
+ *
375
+ * String values in hexadecimal literal form, e.g. `'0xff'`, are valid, as are string values with
376
+ * the octal and binary prefixs `'0o'` and `'0b'`. String values in octal literal form without the
377
+ * prefix will be interpreted as decimals, e.g. `'011'` is interpreted as 11, not 9.
378
+ *
379
+ * ```ts
380
+ * new BigNumber(-10110100.1, 2) // '-180.5'
381
+ * new BigNumber('-0b10110100.1') // '-180.5'
382
+ * new BigNumber('ff.8', 16) // '255.5'
383
+ * new BigNumber('0xff.8') // '255.5'
384
+ * ```
385
+ *
386
+ * If a base is specified, `n` is rounded according to the current `DECIMAL_PLACES` and
387
+ * `ROUNDING_MODE` settings. This includes base 10, so don't include a `base` parameter for decimal
388
+ * values unless this behaviour is desired.
389
+ *
390
+ * ```ts
391
+ * BigNumber.config({ DECIMAL_PLACES: 5 })
392
+ * new BigNumber(1.23456789) // '1.23456789'
393
+ * new BigNumber(1.23456789, 10) // '1.23457'
394
+ * ```
395
+ *
396
+ * An error is thrown if `base` is invalid.
397
+ *
398
+ * There is no limit to the number of digits of a value of type string (other than that of
399
+ * JavaScript's maximum array size). See `RANGE` to set the maximum and minimum possible exponent
400
+ * value of a BigNumber.
401
+ *
402
+ * ```ts
403
+ * new BigNumber('5032485723458348569331745.33434346346912144534543')
404
+ * new BigNumber('4.321e10000000')
405
+ * ```
406
+ *
407
+ * BigNumber `NaN` is returned if `n` is invalid (unless `BigNumber.DEBUG` is `true`, see below).
408
+ *
409
+ * ```ts
410
+ * new BigNumber('.1*') // 'NaN'
411
+ * new BigNumber('blurgh') // 'NaN'
412
+ * new BigNumber(9, 2) // 'NaN'
413
+ * ```
414
+ *
415
+ * To aid in debugging, if `BigNumber.DEBUG` is `true` then an error will be thrown on an
416
+ * invalid `n`. An error will also be thrown if `n` is of type number with more than 15
417
+ * significant digits, as calling `toString` or `valueOf` on these numbers may not result in the
418
+ * intended value.
419
+ *
420
+ * ```ts
421
+ * console.log(823456789123456.3) // 823456789123456.2
422
+ * new BigNumber(823456789123456.3) // '823456789123456.2'
423
+ * BigNumber.DEBUG = true
424
+ * // 'Error: Number has more than 15 significant digits'
425
+ * new BigNumber(823456789123456.3)
426
+ * // 'Error: Not a base 2 number'
427
+ * new BigNumber(9, 2)
428
+ * ```
429
+ *
430
+ * A BigNumber can also be created from an object literal.
431
+ * Use `isBigNumber` to check that it is well-formed.
432
+ *
433
+ * ```ts
434
+ * new BigNumber({ s: 1, e: 2, c: [ 777, 12300000000000 ], _isBigNumber: true }) // '777.123'
435
+ * ```
436
+ *
437
+ * @param n A numeric value.
438
+ * @param base The base of `n`, integer, 2 to 36 (or `ALPHABET.length`, see `ALPHABET`).
439
+ */
440
+ constructor(n: BigNumber.Value, base?: number);
441
+
442
+ /**
443
+ * Returns a BigNumber whose value is the absolute value, i.e. the magnitude, of the value of this
444
+ * BigNumber.
445
+ *
446
+ * The return value is always exact and unrounded.
447
+ *
448
+ * ```ts
449
+ * x = new BigNumber(-0.8)
450
+ * x.absoluteValue() // '0.8'
451
+ * ```
452
+ */
453
+ absoluteValue(): BigNumber;
454
+
455
+ /**
456
+ * Returns a BigNumber whose value is the absolute value, i.e. the magnitude, of the value of this
457
+ * BigNumber.
458
+ *
459
+ * The return value is always exact and unrounded.
460
+ *
461
+ * ```ts
462
+ * x = new BigNumber(-0.8)
463
+ * x.abs() // '0.8'
464
+ * ```
465
+ */
466
+ abs(): BigNumber;
467
+
468
+ /**
469
+ * Returns | |
470
+ * :-------:|:--------------------------------------------------------------|
471
+ * 1 | If the value of this BigNumber is greater than the value of `n`
472
+ * -1 | If the value of this BigNumber is less than the value of `n`
473
+ * 0 | If this BigNumber and `n` have the same value
474
+ * `null` | If the value of either this BigNumber or `n` is `NaN`
475
+ *
476
+ * ```ts
477
+ *
478
+ * x = new BigNumber(Infinity)
479
+ * y = new BigNumber(5)
480
+ * x.comparedTo(y) // 1
481
+ * x.comparedTo(x.minus(1)) // 0
482
+ * y.comparedTo(NaN) // null
483
+ * y.comparedTo('110', 2) // -1
484
+ * ```
485
+ * @param n A numeric value.
486
+ * @param [base] The base of n.
487
+ */
488
+ comparedTo(n: BigNumber.Value, base?: number): number;
489
+
490
+ /**
491
+ * Returns a BigNumber whose value is the value of this BigNumber rounded by rounding mode
492
+ * `roundingMode` to a maximum of `decimalPlaces` decimal places.
493
+ *
494
+ * If `decimalPlaces` is omitted, or is `null` or `undefined`, the return value is the number of
495
+ * decimal places of the value of this BigNumber, or `null` if the value of this BigNumber is
496
+ * ±`Infinity` or `NaN`.
497
+ *
498
+ * If `roundingMode` is omitted, or is `null` or `undefined`, `ROUNDING_MODE` is used.
499
+ *
500
+ * Throws if `decimalPlaces` or `roundingMode` is invalid.
501
+ *
502
+ * ```ts
503
+ * x = new BigNumber(1234.56)
504
+ * x.decimalPlaces() // 2
505
+ * x.decimalPlaces(1) // '1234.6'
506
+ * x.decimalPlaces(2) // '1234.56'
507
+ * x.decimalPlaces(10) // '1234.56'
508
+ * x.decimalPlaces(0, 1) // '1234'
509
+ * x.decimalPlaces(0, 6) // '1235'
510
+ * x.decimalPlaces(1, 1) // '1234.5'
511
+ * x.decimalPlaces(1, BigNumber.ROUND_HALF_EVEN) // '1234.6'
512
+ * x // '1234.56'
513
+ * y = new BigNumber('9.9e-101')
514
+ * y.decimalPlaces() // 102
515
+ * ```
516
+ *
517
+ * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
518
+ * @param [roundingMode] Rounding mode, integer, 0 to 8.
519
+ */
520
+ decimalPlaces(): number | null;
521
+ decimalPlaces(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
522
+
523
+ /**
524
+ * Returns a BigNumber whose value is the value of this BigNumber rounded by rounding mode
525
+ * `roundingMode` to a maximum of `decimalPlaces` decimal places.
526
+ *
527
+ * If `decimalPlaces` is omitted, or is `null` or `undefined`, the return value is the number of
528
+ * decimal places of the value of this BigNumber, or `null` if the value of this BigNumber is
529
+ * ±`Infinity` or `NaN`.
530
+ *
531
+ * If `roundingMode` is omitted, or is `null` or `undefined`, `ROUNDING_MODE` is used.
532
+ *
533
+ * Throws if `decimalPlaces` or `roundingMode` is invalid.
534
+ *
535
+ * ```ts
536
+ * x = new BigNumber(1234.56)
537
+ * x.dp() // 2
538
+ * x.dp(1) // '1234.6'
539
+ * x.dp(2) // '1234.56'
540
+ * x.dp(10) // '1234.56'
541
+ * x.dp(0, 1) // '1234'
542
+ * x.dp(0, 6) // '1235'
543
+ * x.dp(1, 1) // '1234.5'
544
+ * x.dp(1, BigNumber.ROUND_HALF_EVEN) // '1234.6'
545
+ * x // '1234.56'
546
+ * y = new BigNumber('9.9e-101')
547
+ * y.dp() // 102
548
+ * ```
549
+ *
550
+ * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
551
+ * @param [roundingMode] Rounding mode, integer, 0 to 8.
552
+ */
553
+ dp(): number | null;
554
+ dp(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
555
+
556
+ /**
557
+ * Returns a BigNumber whose value is the value of this BigNumber divided by `n`, rounded
558
+ * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
559
+ *
560
+ * ```ts
561
+ * x = new BigNumber(355)
562
+ * y = new BigNumber(113)
563
+ * x.dividedBy(y) // '3.14159292035398230088'
564
+ * x.dividedBy(5) // '71'
565
+ * x.dividedBy(47, 16) // '5'
566
+ * ```
567
+ *
568
+ * @param n A numeric value.
569
+ * @param [base] The base of n.
570
+ */
571
+ dividedBy(n: BigNumber.Value, base?: number): BigNumber;
572
+
573
+ /**
574
+ * Returns a BigNumber whose value is the value of this BigNumber divided by `n`, rounded
575
+ * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
576
+ *
577
+ * ```ts
578
+ * x = new BigNumber(355)
579
+ * y = new BigNumber(113)
580
+ * x.div(y) // '3.14159292035398230088'
581
+ * x.div(5) // '71'
582
+ * x.div(47, 16) // '5'
583
+ * ```
584
+ *
585
+ * @param n A numeric value.
586
+ * @param [base] The base of n.
587
+ */
588
+ div(n: BigNumber.Value, base?: number): BigNumber;
589
+
590
+ /**
591
+ * Returns a BigNumber whose value is the integer part of dividing the value of this BigNumber by
592
+ * `n`.
593
+ *
594
+ * ```ts
595
+ * x = new BigNumber(5)
596
+ * y = new BigNumber(3)
597
+ * x.dividedToIntegerBy(y) // '1'
598
+ * x.dividedToIntegerBy(0.7) // '7'
599
+ * x.dividedToIntegerBy('0.f', 16) // '5'
600
+ * ```
601
+ *
602
+ * @param n A numeric value.
603
+ * @param [base] The base of n.
604
+ */
605
+ dividedToIntegerBy(n: BigNumber.Value, base?: number): BigNumber;
606
+
607
+ /**
608
+ * Returns a BigNumber whose value is the integer part of dividing the value of this BigNumber by
609
+ * `n`.
610
+ *
611
+ * ```ts
612
+ * x = new BigNumber(5)
613
+ * y = new BigNumber(3)
614
+ * x.idiv(y) // '1'
615
+ * x.idiv(0.7) // '7'
616
+ * x.idiv('0.f', 16) // '5'
617
+ * ```
618
+ *
619
+ * @param n A numeric value.
620
+ * @param [base] The base of n.
621
+ */
622
+ idiv(n: BigNumber.Value, base?: number): BigNumber;
623
+
624
+ /**
625
+ * Returns a BigNumber whose value is the value of this BigNumber exponentiated by `n`, i.e.
626
+ * raised to the power `n`, and optionally modulo a modulus `m`.
627
+ *
628
+ * If `n` is negative the result is rounded according to the current `DECIMAL_PLACES` and
629
+ * `ROUNDING_MODE` settings.
630
+ *
631
+ * As the number of digits of the result of the power operation can grow so large so quickly,
632
+ * e.g. 123.456**10000 has over 50000 digits, the number of significant digits calculated is
633
+ * limited to the value of the `POW_PRECISION` setting (unless a modulus `m` is specified).
634
+ *
635
+ * By default `POW_PRECISION` is set to 0. This means that an unlimited number of significant
636
+ * digits will be calculated, and that the method's performance will decrease dramatically for
637
+ * larger exponents.
638
+ *
639
+ * If `m` is specified and the value of `m`, `n` and this BigNumber are integers and `n` is
640
+ * positive, then a fast modular exponentiation algorithm is used, otherwise the operation will
641
+ * be performed as `x.exponentiatedBy(n).modulo(m)` with a `POW_PRECISION` of 0.
642
+ *
643
+ * Throws if `n` is not an integer.
644
+ *
645
+ * ```ts
646
+ * Math.pow(0.7, 2) // 0.48999999999999994
647
+ * x = new BigNumber(0.7)
648
+ * x.exponentiatedBy(2) // '0.49'
649
+ * BigNumber(3).exponentiatedBy(-2) // '0.11111111111111111111'
650
+ * ```
651
+ *
652
+ * @param n The exponent, an integer.
653
+ * @param [m] The modulus.
654
+ */
655
+ exponentiatedBy(n: BigNumber.Value, m?: BigNumber.Value): BigNumber;
656
+ exponentiatedBy(n: number, m?: BigNumber.Value): BigNumber;
657
+
658
+ /**
659
+ * Returns a BigNumber whose value is the value of this BigNumber exponentiated by `n`, i.e.
660
+ * raised to the power `n`, and optionally modulo a modulus `m`.
661
+ *
662
+ * If `n` is negative the result is rounded according to the current `DECIMAL_PLACES` and
663
+ * `ROUNDING_MODE` settings.
664
+ *
665
+ * As the number of digits of the result of the power operation can grow so large so quickly,
666
+ * e.g. 123.456**10000 has over 50000 digits, the number of significant digits calculated is
667
+ * limited to the value of the `POW_PRECISION` setting (unless a modulus `m` is specified).
668
+ *
669
+ * By default `POW_PRECISION` is set to 0. This means that an unlimited number of significant
670
+ * digits will be calculated, and that the method's performance will decrease dramatically for
671
+ * larger exponents.
672
+ *
673
+ * If `m` is specified and the value of `m`, `n` and this BigNumber are integers and `n` is
674
+ * positive, then a fast modular exponentiation algorithm is used, otherwise the operation will
675
+ * be performed as `x.pow(n).modulo(m)` with a `POW_PRECISION` of 0.
676
+ *
677
+ * Throws if `n` is not an integer.
678
+ *
679
+ * ```ts
680
+ * Math.pow(0.7, 2) // 0.48999999999999994
681
+ * x = new BigNumber(0.7)
682
+ * x.pow(2) // '0.49'
683
+ * BigNumber(3).pow(-2) // '0.11111111111111111111'
684
+ * ```
685
+ *
686
+ * @param n The exponent, an integer.
687
+ * @param [m] The modulus.
688
+ */
689
+ pow(n: BigNumber.Value, m?: BigNumber.Value): BigNumber;
690
+ pow(n: number, m?: BigNumber.Value): BigNumber;
691
+
692
+ /**
693
+ * Returns a BigNumber whose value is the value of this BigNumber rounded to an integer using
694
+ * rounding mode `rm`.
695
+ *
696
+ * If `rm` is omitted, or is `null` or `undefined`, `ROUNDING_MODE` is used.
697
+ *
698
+ * Throws if `rm` is invalid.
699
+ *
700
+ * ```ts
701
+ * x = new BigNumber(123.456)
702
+ * x.integerValue() // '123'
703
+ * x.integerValue(BigNumber.ROUND_CEIL) // '124'
704
+ * y = new BigNumber(-12.7)
705
+ * y.integerValue() // '-13'
706
+ * x.integerValue(BigNumber.ROUND_DOWN) // '-12'
707
+ * ```
708
+ *
709
+ * @param {BigNumber.RoundingMode} [rm] The roundng mode, an integer, 0 to 8.
710
+ */
711
+ integerValue(rm?: BigNumber.RoundingMode): BigNumber;
712
+
713
+ /**
714
+ * Returns `true` if the value of this BigNumber is equal to the value of `n`, otherwise returns
715
+ * `false`.
716
+ *
717
+ * As with JavaScript, `NaN` does not equal `NaN`.
718
+ *
719
+ * ```ts
720
+ * 0 === 1e-324 // true
721
+ * x = new BigNumber(0)
722
+ * x.isEqualTo('1e-324') // false
723
+ * BigNumber(-0).isEqualTo(x) // true ( -0 === 0 )
724
+ * BigNumber(255).isEqualTo('ff', 16) // true
725
+ *
726
+ * y = new BigNumber(NaN)
727
+ * y.isEqualTo(NaN) // false
728
+ * ```
729
+ *
730
+ * @param n A numeric value.
731
+ * @param [base] The base of n.
732
+ */
733
+ isEqualTo(n: BigNumber.Value, base?: number): boolean;
734
+
735
+ /**
736
+ * Returns `true` if the value of this BigNumber is equal to the value of `n`, otherwise returns
737
+ * `false`.
738
+ *
739
+ * As with JavaScript, `NaN` does not equal `NaN`.
740
+ *
741
+ * ```ts
742
+ * 0 === 1e-324 // true
743
+ * x = new BigNumber(0)
744
+ * x.eq('1e-324') // false
745
+ * BigNumber(-0).eq(x) // true ( -0 === 0 )
746
+ * BigNumber(255).eq('ff', 16) // true
747
+ *
748
+ * y = new BigNumber(NaN)
749
+ * y.eq(NaN) // false
750
+ * ```
751
+ *
752
+ * @param n A numeric value.
753
+ * @param [base] The base of n.
754
+ */
755
+ eq(n: BigNumber.Value, base?: number): boolean;
756
+
757
+ /**
758
+ * Returns `true` if the value of this BigNumber is a finite number, otherwise returns `false`.
759
+ *
760
+ * The only possible non-finite values of a BigNumber are `NaN`, `Infinity` and `-Infinity`.
761
+ *
762
+ * ```ts
763
+ * x = new BigNumber(1)
764
+ * x.isFinite() // true
765
+ * y = new BigNumber(Infinity)
766
+ * y.isFinite() // false
767
+ * ```
768
+ */
769
+ isFinite(): boolean;
770
+
771
+ /**
772
+ * Returns `true` if the value of this BigNumber is greater than the value of `n`, otherwise
773
+ * returns `false`.
774
+ *
775
+ * ```ts
776
+ * 0.1 > (0.3 - 0.2) // true
777
+ * x = new BigNumber(0.1)
778
+ * x.isGreaterThan(BigNumber(0.3).minus(0.2)) // false
779
+ * BigNumber(0).isGreaterThan(x) // false
780
+ * BigNumber(11, 3).isGreaterThan(11.1, 2) // true
781
+ * ```
782
+ *
783
+ * @param n A numeric value.
784
+ * @param [base] The base of n.
785
+ */
786
+ isGreaterThan(n: BigNumber.Value, base?: number): boolean;
787
+
788
+ /**
789
+ * Returns `true` if the value of this BigNumber is greater than the value of `n`, otherwise
790
+ * returns `false`.
791
+ *
792
+ * ```ts
793
+ * 0.1 > (0.3 - 0 // true
794
+ * x = new BigNumber(0.1)
795
+ * x.gt(BigNumber(0.3).minus(0.2)) // false
796
+ * BigNumber(0).gt(x) // false
797
+ * BigNumber(11, 3).gt(11.1, 2) // true
798
+ * ```
799
+ *
800
+ * @param n A numeric value.
801
+ * @param [base] The base of n.
802
+ */
803
+ gt(n: BigNumber.Value, base?: number): boolean;
804
+
805
+ /**
806
+ * Returns `true` if the value of this BigNumber is greater than or equal to the value of `n`,
807
+ * otherwise returns `false`.
808
+ *
809
+ * ```ts
810
+ * (0.3 - 0.2) >= 0.1 // false
811
+ * x = new BigNumber(0.3).minus(0.2)
812
+ * x.isGreaterThanOrEqualTo(0.1) // true
813
+ * BigNumber(1).isGreaterThanOrEqualTo(x) // true
814
+ * BigNumber(10, 18).isGreaterThanOrEqualTo('i', 36) // true
815
+ * ```
816
+ *
817
+ * @param n A numeric value.
818
+ * @param [base] The base of n.
819
+ */
820
+ isGreaterThanOrEqualTo(n: BigNumber.Value, base?: number): boolean;
821
+
822
+ /**
823
+ * Returns `true` if the value of this BigNumber is greater than or equal to the value of `n`,
824
+ * otherwise returns `false`.
825
+ *
826
+ * ```ts
827
+ * (0.3 - 0.2) >= 0.1 // false
828
+ * x = new BigNumber(0.3).minus(0.2)
829
+ * x.gte(0.1) // true
830
+ * BigNumber(1).gte(x) // true
831
+ * BigNumber(10, 18).gte('i', 36) // true
832
+ * ```
833
+ *
834
+ * @param n A numeric value.
835
+ * @param [base] The base of n.
836
+ */
837
+ gte(n: BigNumber.Value, base?: number): boolean;
838
+
839
+ /**
840
+ * Returns `true` if the value of this BigNumber is an integer, otherwise returns `false`.
841
+ *
842
+ * ```ts
843
+ * x = new BigNumber(1)
844
+ * x.isInteger() // true
845
+ * y = new BigNumber(123.456)
846
+ * y.isInteger() // false
847
+ * ```
848
+ */
849
+ isInteger(): boolean;
850
+
851
+ /**
852
+ * Returns `true` if the value of this BigNumber is less than the value of `n`, otherwise returns
853
+ * `false`.
854
+ *
855
+ * ```ts
856
+ * (0.3 - 0.2) < 0.1 // true
857
+ * x = new BigNumber(0.3).minus(0.2)
858
+ * x.isLessThan(0.1) // false
859
+ * BigNumber(0).isLessThan(x) // true
860
+ * BigNumber(11.1, 2).isLessThan(11, 3) // true
861
+ * ```
862
+ *
863
+ * @param n A numeric value.
864
+ * @param [base] The base of n.
865
+ */
866
+ isLessThan(n: BigNumber.Value, base?: number): boolean;
867
+
868
+ /**
869
+ * Returns `true` if the value of this BigNumber is less than the value of `n`, otherwise returns
870
+ * `false`.
871
+ *
872
+ * ```ts
873
+ * (0.3 - 0.2) < 0.1 // true
874
+ * x = new BigNumber(0.3).minus(0.2)
875
+ * x.lt(0.1) // false
876
+ * BigNumber(0).lt(x) // true
877
+ * BigNumber(11.1, 2).lt(11, 3) // true
878
+ * ```
879
+ *
880
+ * @param n A numeric value.
881
+ * @param [base] The base of n.
882
+ */
883
+ lt(n: BigNumber.Value, base?: number): boolean;
884
+
885
+ /**
886
+ * Returns `true` if the value of this BigNumber is less than or equal to the value of `n`,
887
+ * otherwise returns `false`.
888
+ *
889
+ * ```ts
890
+ * 0.1 <= (0.3 - 0.2) // false
891
+ * x = new BigNumber(0.1)
892
+ * x.isLessThanOrEqualTo(BigNumber(0.3).minus(0.2)) // true
893
+ * BigNumber(-1).isLessThanOrEqualTo(x) // true
894
+ * BigNumber(10, 18).isLessThanOrEqualTo('i', 36) // true
895
+ * ```
896
+ *
897
+ * @param n A numeric value.
898
+ * @param [base] The base of n.
899
+ */
900
+ isLessThanOrEqualTo(n: BigNumber.Value, base?: number): boolean;
901
+
902
+ /**
903
+ * Returns `true` if the value of this BigNumber is less than or equal to the value of `n`,
904
+ * otherwise returns `false`.
905
+ *
906
+ * ```ts
907
+ * 0.1 <= (0.3 - 0.2) // false
908
+ * x = new BigNumber(0.1)
909
+ * x.lte(BigNumber(0.3).minus(0.2)) // true
910
+ * BigNumber(-1).lte(x) // true
911
+ * BigNumber(10, 18).lte('i', 36) // true
912
+ * ```
913
+ *
914
+ * @param n A numeric value.
915
+ * @param [base] The base of n.
916
+ */
917
+ lte(n: BigNumber.Value, base?: number): boolean;
918
+
919
+ /**
920
+ * Returns `true` if the value of this BigNumber is `NaN`, otherwise returns `false`.
921
+ *
922
+ * ```ts
923
+ * x = new BigNumber(NaN)
924
+ * x.isNaN() // true
925
+ * y = new BigNumber('Infinity')
926
+ * y.isNaN() // false
927
+ * ```
928
+ */
929
+ isNaN(): boolean;
930
+
931
+ /**
932
+ * Returns `true` if the value of this BigNumber is negative, otherwise returns `false`.
933
+ *
934
+ * ```ts
935
+ * x = new BigNumber(-0)
936
+ * x.isNegative() // true
937
+ * y = new BigNumber(2)
938
+ * y.isNegative() // false
939
+ * ```
940
+ */
941
+ isNegative(): boolean;
942
+
943
+ /**
944
+ * Returns `true` if the value of this BigNumber is positive, otherwise returns `false`.
945
+ *
946
+ * ```ts
947
+ * x = new BigNumber(-0)
948
+ * x.isPositive() // false
949
+ * y = new BigNumber(2)
950
+ * y.isPositive() // true
951
+ * ```
952
+ */
953
+ isPositive(): boolean;
954
+
955
+ /**
956
+ * Returns `true` if the value of this BigNumber is zero or minus zero, otherwise returns `false`.
957
+ *
958
+ * ```ts
959
+ * x = new BigNumber(-0)
960
+ * x.isZero() // true
961
+ * ```
962
+ */
963
+ isZero(): boolean;
964
+
965
+ /**
966
+ * Returns a BigNumber whose value is the value of this BigNumber minus `n`.
967
+ *
968
+ * The return value is always exact and unrounded.
969
+ *
970
+ * ```ts
971
+ * 0.3 - 0.1 // 0.19999999999999998
972
+ * x = new BigNumber(0.3)
973
+ * x.minus(0.1) // '0.2'
974
+ * x.minus(0.6, 20) // '0'
975
+ * ```
976
+ *
977
+ * @param n A numeric value.
978
+ * @param [base] The base of n.
979
+ */
980
+ minus(n: BigNumber.Value, base?: number): BigNumber;
981
+
982
+ /**
983
+ * Returns a BigNumber whose value is the value of this BigNumber modulo `n`, i.e. the integer
984
+ * remainder of dividing this BigNumber by `n`.
985
+ *
986
+ * The value returned, and in particular its sign, is dependent on the value of the `MODULO_MODE`
987
+ * setting of this BigNumber constructor. If it is 1 (default value), the result will have the
988
+ * same sign as this BigNumber, and it will match that of Javascript's `%` operator (within the
989
+ * limits of double precision) and BigDecimal's `remainder` method.
990
+ *
991
+ * The return value is always exact and unrounded.
992
+ *
993
+ * See `MODULO_MODE` for a description of the other modulo modes.
994
+ *
995
+ * ```ts
996
+ * 1 % 0.9 // 0.09999999999999998
997
+ * x = new BigNumber(1)
998
+ * x.modulo(0.9) // '0.1'
999
+ * y = new BigNumber(33)
1000
+ * y.modulo('a', 33) // '3'
1001
+ * ```
1002
+ *
1003
+ * @param n A numeric value.
1004
+ * @param [base] The base of n.
1005
+ */
1006
+ modulo(n: BigNumber.Value, base?: number): BigNumber;
1007
+
1008
+ /**
1009
+ * Returns a BigNumber whose value is the value of this BigNumber modulo `n`, i.e. the integer
1010
+ * remainder of dividing this BigNumber by `n`.
1011
+ *
1012
+ * The value returned, and in particular its sign, is dependent on the value of the `MODULO_MODE`
1013
+ * setting of this BigNumber constructor. If it is 1 (default value), the result will have the
1014
+ * same sign as this BigNumber, and it will match that of Javascript's `%` operator (within the
1015
+ * limits of double precision) and BigDecimal's `remainder` method.
1016
+ *
1017
+ * The return value is always exact and unrounded.
1018
+ *
1019
+ * See `MODULO_MODE` for a description of the other modulo modes.
1020
+ *
1021
+ * ```ts
1022
+ * 1 % 0.9 // 0.09999999999999998
1023
+ * x = new BigNumber(1)
1024
+ * x.mod(0.9) // '0.1'
1025
+ * y = new BigNumber(33)
1026
+ * y.mod('a', 33) // '3'
1027
+ * ```
1028
+ *
1029
+ * @param n A numeric value.
1030
+ * @param [base] The base of n.
1031
+ */
1032
+ mod(n: BigNumber.Value, base?: number): BigNumber;
1033
+
1034
+ /**
1035
+ * Returns a BigNumber whose value is the value of this BigNumber multiplied by `n`.
1036
+ *
1037
+ * The return value is always exact and unrounded.
1038
+ *
1039
+ * ```ts
1040
+ * 0.6 * 3 // 1.7999999999999998
1041
+ * x = new BigNumber(0.6)
1042
+ * y = x.multipliedBy(3) // '1.8'
1043
+ * BigNumber('7e+500').multipliedBy(y) // '1.26e+501'
1044
+ * x.multipliedBy('-a', 16) // '-6'
1045
+ * ```
1046
+ *
1047
+ * @param n A numeric value.
1048
+ * @param [base] The base of n.
1049
+ */
1050
+ multipliedBy(n: BigNumber.Value, base?: number): BigNumber;
1051
+
1052
+ /**
1053
+ * Returns a BigNumber whose value is the value of this BigNumber multiplied by `n`.
1054
+ *
1055
+ * The return value is always exact and unrounded.
1056
+ *
1057
+ * ```ts
1058
+ * 0.6 * 3 // 1.7999999999999998
1059
+ * x = new BigNumber(0.6)
1060
+ * y = x.times(3) // '1.8'
1061
+ * BigNumber('7e+500').times(y) // '1.26e+501'
1062
+ * x.times('-a', 16) // '-6'
1063
+ * ```
1064
+ *
1065
+ * @param n A numeric value.
1066
+ * @param [base] The base of n.
1067
+ */
1068
+ times(n: BigNumber.Value, base?: number): BigNumber;
1069
+
1070
+ /**
1071
+ * Returns a BigNumber whose value is the value of this BigNumber negated, i.e. multiplied by -1.
1072
+ *
1073
+ * ```ts
1074
+ * x = new BigNumber(1.8)
1075
+ * x.negated() // '-1.8'
1076
+ * y = new BigNumber(-1.3)
1077
+ * y.negated() // '1.3'
1078
+ * ```
1079
+ */
1080
+ negated(): BigNumber;
1081
+
1082
+ /**
1083
+ * Returns a BigNumber whose value is the value of this BigNumber plus `n`.
1084
+ *
1085
+ * The return value is always exact and unrounded.
1086
+ *
1087
+ * ```ts
1088
+ * 0.1 + 0.2 // 0.30000000000000004
1089
+ * x = new BigNumber(0.1)
1090
+ * y = x.plus(0.2) // '0.3'
1091
+ * BigNumber(0.7).plus(x).plus(y) // '1.1'
1092
+ * x.plus('0.1', 8) // '0.225'
1093
+ * ```
1094
+ *
1095
+ * @param n A numeric value.
1096
+ * @param [base] The base of n.
1097
+ */
1098
+ plus(n: BigNumber.Value, base?: number): BigNumber;
1099
+
1100
+ /**
1101
+ * Returns the number of significant digits of the value of this BigNumber, or `null` if the value
1102
+ * of this BigNumber is ±`Infinity` or `NaN`.
1103
+ *
1104
+ * If `includeZeros` is true then any trailing zeros of the integer part of the value of this
1105
+ * BigNumber are counted as significant digits, otherwise they are not.
1106
+ *
1107
+ * Throws if `includeZeros` is invalid.
1108
+ *
1109
+ * ```ts
1110
+ * x = new BigNumber(9876.54321)
1111
+ * x.precision() // 9
1112
+ * y = new BigNumber(987000)
1113
+ * y.precision(false) // 3
1114
+ * y.precision(true) // 6
1115
+ * ```
1116
+ *
1117
+ * @param [includeZeros] Whether to include integer trailing zeros in the significant digit count.
1118
+ */
1119
+ precision(includeZeros?: boolean): number;
1120
+
1121
+ /**
1122
+ * Returns a BigNumber whose value is the value of this BigNumber rounded to a precision of
1123
+ * `significantDigits` significant digits using rounding mode `roundingMode`.
1124
+ *
1125
+ * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` will be used.
1126
+ *
1127
+ * Throws if `significantDigits` or `roundingMode` is invalid.
1128
+ *
1129
+ * ```ts
1130
+ * x = new BigNumber(9876.54321)
1131
+ * x.precision(6) // '9876.54'
1132
+ * x.precision(6, BigNumber.ROUND_UP) // '9876.55'
1133
+ * x.precision(2) // '9900'
1134
+ * x.precision(2, 1) // '9800'
1135
+ * x // '9876.54321'
1136
+ * ```
1137
+ *
1138
+ * @param significantDigits Significant digits, integer, 1 to 1e+9.
1139
+ * @param [roundingMode] Rounding mode, integer, 0 to 8.
1140
+ */
1141
+ precision(significantDigits: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
1142
+
1143
+ /**
1144
+ * Returns the number of significant digits of the value of this BigNumber,
1145
+ * or `null` if the value of this BigNumber is ±`Infinity` or `NaN`.
1146
+ *
1147
+ * If `includeZeros` is true then any trailing zeros of the integer part of
1148
+ * the value of this BigNumber are counted as significant digits, otherwise
1149
+ * they are not.
1150
+ *
1151
+ * Throws if `includeZeros` is invalid.
1152
+ *
1153
+ * ```ts
1154
+ * x = new BigNumber(9876.54321)
1155
+ * x.sd() // 9
1156
+ * y = new BigNumber(987000)
1157
+ * y.sd(false) // 3
1158
+ * y.sd(true) // 6
1159
+ * ```
1160
+ *
1161
+ * @param [includeZeros] Whether to include integer trailing zeros in the significant digit count.
1162
+ */
1163
+ sd(includeZeros?: boolean): number;
1164
+
1165
+ /**
1166
+ * Returns a BigNumber whose value is the value of this BigNumber rounded to a precision of
1167
+ * `significantDigits` significant digits using rounding mode `roundingMode`.
1168
+ *
1169
+ * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` will be used.
1170
+ *
1171
+ * Throws if `significantDigits` or `roundingMode` is invalid.
1172
+ *
1173
+ * ```ts
1174
+ * x = new BigNumber(9876.54321)
1175
+ * x.sd(6) // '9876.54'
1176
+ * x.sd(6, BigNumber.ROUND_UP) // '9876.55'
1177
+ * x.sd(2) // '9900'
1178
+ * x.sd(2, 1) // '9800'
1179
+ * x // '9876.54321'
1180
+ * ```
1181
+ *
1182
+ * @param significantDigits Significant digits, integer, 1 to 1e+9.
1183
+ * @param [roundingMode] Rounding mode, integer, 0 to 8.
1184
+ */
1185
+ sd(significantDigits: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
1186
+
1187
+ /**
1188
+ * Returns a BigNumber whose value is the value of this BigNumber shifted by `n` places.
1189
+ *
1190
+ * The shift is of the decimal point, i.e. of powers of ten, and is to the left if `n` is negative
1191
+ * or to the right if `n` is positive.
1192
+ *
1193
+ * The return value is always exact and unrounded.
1194
+ *
1195
+ * Throws if `n` is invalid.
1196
+ *
1197
+ * ```ts
1198
+ * x = new BigNumber(1.23)
1199
+ * x.shiftedBy(3) // '1230'
1200
+ * x.shiftedBy(-3) // '0.00123'
1201
+ * ```
1202
+ *
1203
+ * @param n The shift value, integer, -9007199254740991 to 9007199254740991.
1204
+ */
1205
+ shiftedBy(n: number): BigNumber;
1206
+
1207
+ /**
1208
+ * Returns a BigNumber whose value is the square root of the value of this BigNumber, rounded
1209
+ * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
1210
+ *
1211
+ * The return value will be correctly rounded, i.e. rounded as if the result was first calculated
1212
+ * to an infinite number of correct digits before rounding.
1213
+ *
1214
+ * ```ts
1215
+ * x = new BigNumber(16)
1216
+ * x.squareRoot() // '4'
1217
+ * y = new BigNumber(3)
1218
+ * y.squareRoot() // '1.73205080756887729353'
1219
+ * ```
1220
+ */
1221
+ squareRoot(): BigNumber;
1222
+
1223
+ /**
1224
+ * Returns a BigNumber whose value is the square root of the value of this BigNumber, rounded
1225
+ * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
1226
+ *
1227
+ * The return value will be correctly rounded, i.e. rounded as if the result was first calculated
1228
+ * to an infinite number of correct digits before rounding.
1229
+ *
1230
+ * ```ts
1231
+ * x = new BigNumber(16)
1232
+ * x.sqrt() // '4'
1233
+ * y = new BigNumber(3)
1234
+ * y.sqrt() // '1.73205080756887729353'
1235
+ * ```
1236
+ */
1237
+ sqrt(): BigNumber;
1238
+
1239
+ /**
1240
+ * Returns a string representing the value of this BigNumber in exponential notation rounded using
1241
+ * rounding mode `roundingMode` to `decimalPlaces` decimal places, i.e with one digit before the
1242
+ * decimal point and `decimalPlaces` digits after it.
1243
+ *
1244
+ * If the value of this BigNumber in exponential notation has fewer than `decimalPlaces` fraction
1245
+ * digits, the return value will be appended with zeros accordingly.
1246
+ *
1247
+ * If `decimalPlaces` is omitted, or is `null` or `undefined`, the number of digits after the
1248
+ * decimal point defaults to the minimum number of digits necessary to represent the value
1249
+ * exactly.
1250
+ *
1251
+ * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
1252
+ *
1253
+ * Throws if `decimalPlaces` or `roundingMode` is invalid.
1254
+ *
1255
+ * ```ts
1256
+ * x = 45.6
1257
+ * y = new BigNumber(x)
1258
+ * x.toExponential() // '4.56e+1'
1259
+ * y.toExponential() // '4.56e+1'
1260
+ * x.toExponential(0) // '5e+1'
1261
+ * y.toExponential(0) // '5e+1'
1262
+ * x.toExponential(1) // '4.6e+1'
1263
+ * y.toExponential(1) // '4.6e+1'
1264
+ * y.toExponential(1, 1) // '4.5e+1' (ROUND_DOWN)
1265
+ * x.toExponential(3) // '4.560e+1'
1266
+ * y.toExponential(3) // '4.560e+1'
1267
+ * ```
1268
+ *
1269
+ * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
1270
+ * @param [roundingMode] Rounding mode, integer, 0 to 8.
1271
+ */
1272
+ toExponential(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): string;
1273
+ toExponential(): string;
1274
+
1275
+ /**
1276
+ * Returns a string representing the value of this BigNumber in normal (fixed-point) notation
1277
+ * rounded to `decimalPlaces` decimal places using rounding mode `roundingMode`.
1278
+ *
1279
+ * If the value of this BigNumber in normal notation has fewer than `decimalPlaces` fraction
1280
+ * digits, the return value will be appended with zeros accordingly.
1281
+ *
1282
+ * Unlike `Number.prototype.toFixed`, which returns exponential notation if a number is greater or
1283
+ * equal to 10**21, this method will always return normal notation.
1284
+ *
1285
+ * If `decimalPlaces` is omitted or is `null` or `undefined`, the return value will be unrounded
1286
+ * and in normal notation. This is also unlike `Number.prototype.toFixed`, which returns the value
1287
+ * to zero decimal places. It is useful when normal notation is required and the current
1288
+ * `EXPONENTIAL_AT` setting causes `toString` to return exponential notation.
1289
+ *
1290
+ * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
1291
+ *
1292
+ * Throws if `decimalPlaces` or `roundingMode` is invalid.
1293
+ *
1294
+ * ```ts
1295
+ * x = 3.456
1296
+ * y = new BigNumber(x)
1297
+ * x.toFixed() // '3'
1298
+ * y.toFixed() // '3.456'
1299
+ * y.toFixed(0) // '3'
1300
+ * x.toFixed(2) // '3.46'
1301
+ * y.toFixed(2) // '3.46'
1302
+ * y.toFixed(2, 1) // '3.45' (ROUND_DOWN)
1303
+ * x.toFixed(5) // '3.45600'
1304
+ * y.toFixed(5) // '3.45600'
1305
+ * ```
1306
+ *
1307
+ * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
1308
+ * @param [roundingMode] Rounding mode, integer, 0 to 8.
1309
+ */
1310
+ toFixed(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): string;
1311
+ toFixed(): string;
1312
+
1313
+ /**
1314
+ * Returns a string representing the value of this BigNumber in normal (fixed-point) notation
1315
+ * rounded to `decimalPlaces` decimal places using rounding mode `roundingMode`, and formatted
1316
+ * according to the properties of the `format` or `FORMAT` object.
1317
+ *
1318
+ * The formatting object may contain some or all of the properties shown in the examples below.
1319
+ *
1320
+ * If `decimalPlaces` is omitted or is `null` or `undefined`, then the return value is not
1321
+ * rounded to a fixed number of decimal places.
1322
+ *
1323
+ * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
1324
+ *
1325
+ * If `format` is omitted or is `null` or `undefined`, `FORMAT` is used.
1326
+ *
1327
+ * Throws if `decimalPlaces`, `roundingMode`, or `format` is invalid.
1328
+ *
1329
+ * ```ts
1330
+ * fmt = {
1331
+ * decimalSeparator: '.',
1332
+ * groupSeparator: ',',
1333
+ * groupSize: 3,
1334
+ * secondaryGroupSize: 0,
1335
+ * fractionGroupSeparator: ' ',
1336
+ * fractionGroupSize: 0
1337
+ * }
1338
+ *
1339
+ * x = new BigNumber('123456789.123456789')
1340
+ *
1341
+ * // Set the global formatting options
1342
+ * BigNumber.config({ FORMAT: fmt })
1343
+ *
1344
+ * x.toFormat() // '123,456,789.123456789'
1345
+ * x.toFormat(3) // '123,456,789.123'
1346
+ *
1347
+ * // If a reference to the object assigned to FORMAT has been retained,
1348
+ * // the format properties can be changed directly
1349
+ * fmt.groupSeparator = ' '
1350
+ * fmt.fractionGroupSize = 5
1351
+ * x.toFormat() // '123 456 789.12345 6789'
1352
+ *
1353
+ * // Alternatively, pass the formatting options as an argument
1354
+ * fmt = {
1355
+ * decimalSeparator: ',',
1356
+ * groupSeparator: '.',
1357
+ * groupSize: 3,
1358
+ * secondaryGroupSize: 2
1359
+ * }
1360
+ *
1361
+ * x.toFormat() // '123 456 789.12345 6789'
1362
+ * x.toFormat(fmt) // '12.34.56.789,123456789'
1363
+ * x.toFormat(2, fmt) // '12.34.56.789,12'
1364
+ * x.toFormat(3, BigNumber.ROUND_UP, fmt) // '12.34.56.789,124'
1365
+ * ```
1366
+ *
1367
+ * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
1368
+ * @param [roundingMode] Rounding mode, integer, 0 to 8.
1369
+ * @param [format] Formatting options object. See `BigNumber.Format`.
1370
+ */
1371
+ toFormat(decimalPlaces: number, roundingMode: BigNumber.RoundingMode, format?: BigNumber.Format): string;
1372
+ toFormat(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): string;
1373
+ toFormat(decimalPlaces?: number): string;
1374
+ toFormat(decimalPlaces: number, format: BigNumber.Format): string;
1375
+ toFormat(format: BigNumber.Format): string;
1376
+
1377
+ /**
1378
+ * Returns an array of two BigNumbers representing the value of this BigNumber as a simple
1379
+ * fraction with an integer numerator and an integer denominator.
1380
+ * The denominator will be a positive non-zero value less than or equal to `max_denominator`.
1381
+ * If a maximum denominator, `max_denominator`, is not specified, or is `null` or `undefined`, the
1382
+ * denominator will be the lowest value necessary to represent the number exactly.
1383
+ *
1384
+ * Throws if `max_denominator` is invalid.
1385
+ *
1386
+ * ```ts
1387
+ * x = new BigNumber(1.75)
1388
+ * x.toFraction() // '7, 4'
1389
+ *
1390
+ * pi = new BigNumber('3.14159265358')
1391
+ * pi.toFraction() // '157079632679,50000000000'
1392
+ * pi.toFraction(100000) // '312689, 99532'
1393
+ * pi.toFraction(10000) // '355, 113'
1394
+ * pi.toFraction(100) // '311, 99'
1395
+ * pi.toFraction(10) // '22, 7'
1396
+ * pi.toFraction(1) // '3, 1'
1397
+ * ```
1398
+ *
1399
+ * @param [max_denominator] The maximum denominator, integer > 0, or Infinity.
1400
+ */
1401
+ toFraction(max_denominator?: BigNumber.Value): [BigNumber, BigNumber];
1402
+
1403
+ /** As `valueOf`. */
1404
+ toJSON(): string;
1405
+
1406
+ /**
1407
+ * Returns the value of this BigNumber as a JavaScript primitive number.
1408
+ *
1409
+ * Using the unary plus operator gives the same result.
1410
+ *
1411
+ * ```ts
1412
+ * x = new BigNumber(456.789)
1413
+ * x.toNumber() // 456.789
1414
+ * +x // 456.789
1415
+ *
1416
+ * y = new BigNumber('45987349857634085409857349856430985')
1417
+ * y.toNumber() // 4.598734985763409e+34
1418
+ *
1419
+ * z = new BigNumber(-0)
1420
+ * 1 / z.toNumber() // -Infinity
1421
+ * 1 / +z // -Infinity
1422
+ * ```
1423
+ */
1424
+ toNumber(): number;
1425
+
1426
+ /**
1427
+ * Returns a string representing the value of this BigNumber rounded to `significantDigits`
1428
+ * significant digits using rounding mode `roundingMode`.
1429
+ *
1430
+ * If `significantDigits` is less than the number of digits necessary to represent the integer
1431
+ * part of the value in normal (fixed-point) notation, then exponential notation is used.
1432
+ *
1433
+ * If `significantDigits` is omitted, or is `null` or `undefined`, then the return value is the
1434
+ * same as `n.toString()`.
1435
+ *
1436
+ * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
1437
+ *
1438
+ * Throws if `significantDigits` or `roundingMode` is invalid.
1439
+ *
1440
+ * ```ts
1441
+ * x = 45.6
1442
+ * y = new BigNumber(x)
1443
+ * x.toPrecision() // '45.6'
1444
+ * y.toPrecision() // '45.6'
1445
+ * x.toPrecision(1) // '5e+1'
1446
+ * y.toPrecision(1) // '5e+1'
1447
+ * y.toPrecision(2, 0) // '4.6e+1' (ROUND_UP)
1448
+ * y.toPrecision(2, 1) // '4.5e+1' (ROUND_DOWN)
1449
+ * x.toPrecision(5) // '45.600'
1450
+ * y.toPrecision(5) // '45.600'
1451
+ * ```
1452
+ *
1453
+ * @param [significantDigits] Significant digits, integer, 1 to 1e+9.
1454
+ * @param [roundingMode] Rounding mode, integer 0 to 8.
1455
+ */
1456
+ toPrecision(significantDigits: number, roundingMode?: BigNumber.RoundingMode): string;
1457
+ toPrecision(): string;
1458
+
1459
+ /**
1460
+ * Returns a string representing the value of this BigNumber in base `base`, or base 10 if `base`
1461
+ * is omitted or is `null` or `undefined`.
1462
+ *
1463
+ * For bases above 10, and using the default base conversion alphabet (see `ALPHABET`), values
1464
+ * from 10 to 35 are represented by a-z (the same as `Number.prototype.toString`).
1465
+ *
1466
+ * If a base is specified the value is rounded according to the current `DECIMAL_PLACES` and
1467
+ * `ROUNDING_MODE` settings, otherwise it is not.
1468
+ *
1469
+ * If a base is not specified, and this BigNumber has a positive exponent that is equal to or
1470
+ * greater than the positive component of the current `EXPONENTIAL_AT` setting, or a negative
1471
+ * exponent equal to or less than the negative component of the setting, then exponential notation
1472
+ * is returned.
1473
+ *
1474
+ * If `base` is `null` or `undefined` it is ignored.
1475
+ *
1476
+ * Throws if `base` is invalid.
1477
+ *
1478
+ * ```ts
1479
+ * x = new BigNumber(750000)
1480
+ * x.toString() // '750000'
1481
+ * BigNumber.config({ EXPONENTIAL_AT: 5 })
1482
+ * x.toString() // '7.5e+5'
1483
+ *
1484
+ * y = new BigNumber(362.875)
1485
+ * y.toString(2) // '101101010.111'
1486
+ * y.toString(9) // '442.77777777777777777778'
1487
+ * y.toString(32) // 'ba.s'
1488
+ *
1489
+ * BigNumber.config({ DECIMAL_PLACES: 4 });
1490
+ * z = new BigNumber('1.23456789')
1491
+ * z.toString() // '1.23456789'
1492
+ * z.toString(10) // '1.2346'
1493
+ * ```
1494
+ *
1495
+ * @param [base] The base, integer, 2 to 36 (or `ALPHABET.length`, see `ALPHABET`).
1496
+ */
1497
+ toString(base?: number): string;
1498
+
1499
+ /**
1500
+ * As `toString`, but does not accept a base argument and includes the minus sign for negative
1501
+ * zero.
1502
+ *
1503
+ * ``ts
1504
+ * x = new BigNumber('-0')
1505
+ * x.toString() // '0'
1506
+ * x.valueOf() // '-0'
1507
+ * y = new BigNumber('1.777e+457')
1508
+ * y.valueOf() // '1.777e+457'
1509
+ * ```
1510
+ */
1511
+ valueOf(): string;
1512
+
1513
+ /** Helps ES6 import. */
1514
+ private static readonly default?: BigNumber.Constructor;
1515
+
1516
+ /** Helps ES6 import. */
1517
+ private static readonly BigNumber?: BigNumber.Constructor;
1518
+
1519
+ /** Rounds away from zero. */
1520
+ static readonly ROUND_UP: 0;
1521
+
1522
+ /** Rounds towards zero. */
1523
+ static readonly ROUND_DOWN: 1;
1524
+
1525
+ /** Rounds towards Infinity. */
1526
+ static readonly ROUND_CEIL: 2;
1527
+
1528
+ /** Rounds towards -Infinity. */
1529
+ static readonly ROUND_FLOOR: 3;
1530
+
1531
+ /** Rounds towards nearest neighbour. If equidistant, rounds away from zero . */
1532
+ static readonly ROUND_HALF_UP: 4;
1533
+
1534
+ /** Rounds towards nearest neighbour. If equidistant, rounds towards zero. */
1535
+ static readonly ROUND_HALF_DOWN: 5;
1536
+
1537
+ /** Rounds towards nearest neighbour. If equidistant, rounds towards even neighbour. */
1538
+ static readonly ROUND_HALF_EVEN: 6;
1539
+
1540
+ /** Rounds towards nearest neighbour. If equidistant, rounds towards Infinity. */
1541
+ static readonly ROUND_HALF_CEIL: 7;
1542
+
1543
+ /** Rounds towards nearest neighbour. If equidistant, rounds towards -Infinity. */
1544
+ static readonly ROUND_HALF_FLOOR: 8;
1545
+
1546
+ /** See `MODULO_MODE`. */
1547
+ static readonly EUCLID: 9;
1548
+
1549
+ /**
1550
+ * To aid in debugging, if a `BigNumber.DEBUG` property is `true` then an error will be thrown
1551
+ * if the BigNumber constructor receives an invalid `BigNumber.Value`, or if `BigNumber.isBigNumber`
1552
+ * receives a BigNumber instance that is malformed.
1553
+ *
1554
+ * ```ts
1555
+ * // No error, and BigNumber NaN is returned.
1556
+ * new BigNumber('blurgh') // 'NaN'
1557
+ * new BigNumber(9, 2) // 'NaN'
1558
+ * BigNumber.DEBUG = true
1559
+ * new BigNumber('blurgh') // '[BigNumber Error] Not a number'
1560
+ * new BigNumber(9, 2) // '[BigNumber Error] Not a base 2 number'
1561
+ * ```
1562
+ *
1563
+ * An error will also be thrown if a `BigNumber.Value` is of type number with more than 15
1564
+ * significant digits, as calling `toString` or `valueOf` on such numbers may not result
1565
+ * in the intended value.
1566
+ *
1567
+ * ```ts
1568
+ * console.log(823456789123456.3) // 823456789123456.2
1569
+ * // No error, and the returned BigNumber does not have the same value as the number literal.
1570
+ * new BigNumber(823456789123456.3) // '823456789123456.2'
1571
+ * BigNumber.DEBUG = true
1572
+ * new BigNumber(823456789123456.3)
1573
+ * // '[BigNumber Error] Number primitive has more than 15 significant digits'
1574
+ * ```
1575
+ *
1576
+ * Check that a BigNumber instance is well-formed:
1577
+ *
1578
+ * ```ts
1579
+ * x = new BigNumber(10)
1580
+ *
1581
+ * BigNumber.DEBUG = false
1582
+ * // Change x.c to an illegitimate value.
1583
+ * x.c = NaN
1584
+ * // No error, as BigNumber.DEBUG is false.
1585
+ * BigNumber.isBigNumber(x) // true
1586
+ *
1587
+ * BigNumber.DEBUG = true
1588
+ * BigNumber.isBigNumber(x) // '[BigNumber Error] Invalid BigNumber'
1589
+ * ```
1590
+ */
1591
+ static DEBUG?: boolean;
1592
+
1593
+ /**
1594
+ * Returns a new independent BigNumber constructor with configuration as described by `object`, or
1595
+ * with the default configuration if object is `null` or `undefined`.
1596
+ *
1597
+ * Throws if `object` is not an object.
1598
+ *
1599
+ * ```ts
1600
+ * BigNumber.config({ DECIMAL_PLACES: 5 })
1601
+ * BN = BigNumber.clone({ DECIMAL_PLACES: 9 })
1602
+ *
1603
+ * x = new BigNumber(1)
1604
+ * y = new BN(1)
1605
+ *
1606
+ * x.div(3) // 0.33333
1607
+ * y.div(3) // 0.333333333
1608
+ *
1609
+ * // BN = BigNumber.clone({ DECIMAL_PLACES: 9 }) is equivalent to:
1610
+ * BN = BigNumber.clone()
1611
+ * BN.config({ DECIMAL_PLACES: 9 })
1612
+ * ```
1613
+ *
1614
+ * @param [object] The configuration object.
1615
+ */
1616
+ static clone(object?: BigNumber.Config): BigNumber.Constructor;
1617
+
1618
+ /**
1619
+ * Configures the settings that apply to this BigNumber constructor.
1620
+ *
1621
+ * The configuration object, `object`, contains any number of the properties shown in the example
1622
+ * below.
1623
+ *
1624
+ * Returns an object with the above properties and their current values.
1625
+ *
1626
+ * Throws if `object` is not an object, or if an invalid value is assigned to one or more of the
1627
+ * properties.
1628
+ *
1629
+ * ```ts
1630
+ * BigNumber.config({
1631
+ * DECIMAL_PLACES: 40,
1632
+ * ROUNDING_MODE: BigNumber.ROUND_HALF_CEIL,
1633
+ * EXPONENTIAL_AT: [-10, 20],
1634
+ * RANGE: [-500, 500],
1635
+ * CRYPTO: true,
1636
+ * MODULO_MODE: BigNumber.ROUND_FLOOR,
1637
+ * POW_PRECISION: 80,
1638
+ * FORMAT: {
1639
+ * groupSize: 3,
1640
+ * groupSeparator: ' ',
1641
+ * decimalSeparator: ','
1642
+ * },
1643
+ * ALPHABET: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
1644
+ * });
1645
+ *
1646
+ * BigNumber.config().DECIMAL_PLACES // 40
1647
+ * ```
1648
+ *
1649
+ * @param object The configuration object.
1650
+ */
1651
+ static config(object?: BigNumber.Config): BigNumber.Config;
1652
+
1653
+ /**
1654
+ * Returns `true` if `value` is a BigNumber instance, otherwise returns `false`.
1655
+ *
1656
+ * If `BigNumber.DEBUG` is `true`, throws if a BigNumber instance is not well-formed.
1657
+ *
1658
+ * ```ts
1659
+ * x = 42
1660
+ * y = new BigNumber(x)
1661
+ *
1662
+ * BigNumber.isBigNumber(x) // false
1663
+ * y instanceof BigNumber // true
1664
+ * BigNumber.isBigNumber(y) // true
1665
+ *
1666
+ * BN = BigNumber.clone();
1667
+ * z = new BN(x)
1668
+ * z instanceof BigNumber // false
1669
+ * BigNumber.isBigNumber(z) // true
1670
+ * ```
1671
+ *
1672
+ * @param value The value to test.
1673
+ */
1674
+ static isBigNumber(value: any): value is BigNumber;
1675
+
1676
+ /**
1677
+ * Returns a BigNumber whose value is the maximum of the arguments.
1678
+ *
1679
+ * The return value is always exact and unrounded.
1680
+ *
1681
+ * ```ts
1682
+ * x = new BigNumber('3257869345.0378653')
1683
+ * BigNumber.maximum(4e9, x, '123456789.9') // '4000000000'
1684
+ *
1685
+ * arr = [12, '13', new BigNumber(14)]
1686
+ * BigNumber.maximum.apply(null, arr) // '14'
1687
+ * ```
1688
+ *
1689
+ * @param n A numeric value.
1690
+ */
1691
+ static maximum(...n: BigNumber.Value[]): BigNumber;
1692
+
1693
+ /**
1694
+ * Returns a BigNumber whose value is the maximum of the arguments.
1695
+ *
1696
+ * The return value is always exact and unrounded.
1697
+ *
1698
+ * ```ts
1699
+ * x = new BigNumber('3257869345.0378653')
1700
+ * BigNumber.max(4e9, x, '123456789.9') // '4000000000'
1701
+ *
1702
+ * arr = [12, '13', new BigNumber(14)]
1703
+ * BigNumber.max.apply(null, arr) // '14'
1704
+ * ```
1705
+ *
1706
+ * @param n A numeric value.
1707
+ */
1708
+ static max(...n: BigNumber.Value[]): BigNumber;
1709
+
1710
+ /**
1711
+ * Returns a BigNumber whose value is the minimum of the arguments.
1712
+ *
1713
+ * The return value is always exact and unrounded.
1714
+ *
1715
+ * ```ts
1716
+ * x = new BigNumber('3257869345.0378653')
1717
+ * BigNumber.minimum(4e9, x, '123456789.9') // '123456789.9'
1718
+ *
1719
+ * arr = [2, new BigNumber(-14), '-15.9999', -12]
1720
+ * BigNumber.minimum.apply(null, arr) // '-15.9999'
1721
+ * ```
1722
+ *
1723
+ * @param n A numeric value.
1724
+ */
1725
+ static minimum(...n: BigNumber.Value[]): BigNumber;
1726
+
1727
+ /**
1728
+ * Returns a BigNumber whose value is the minimum of the arguments.
1729
+ *
1730
+ * The return value is always exact and unrounded.
1731
+ *
1732
+ * ```ts
1733
+ * x = new BigNumber('3257869345.0378653')
1734
+ * BigNumber.min(4e9, x, '123456789.9') // '123456789.9'
1735
+ *
1736
+ * arr = [2, new BigNumber(-14), '-15.9999', -12]
1737
+ * BigNumber.min.apply(null, arr) // '-15.9999'
1738
+ * ```
1739
+ *
1740
+ * @param n A numeric value.
1741
+ */
1742
+ static min(...n: BigNumber.Value[]): BigNumber;
1743
+
1744
+ /**
1745
+ * Returns a new BigNumber with a pseudo-random value equal to or greater than 0 and less than 1.
1746
+ *
1747
+ * The return value will have `decimalPlaces` decimal places, or less if trailing zeros are
1748
+ * produced. If `decimalPlaces` is omitted, the current `DECIMAL_PLACES` setting will be used.
1749
+ *
1750
+ * Depending on the value of this BigNumber constructor's `CRYPTO` setting and the support for the
1751
+ * `crypto` object in the host environment, the random digits of the return value are generated by
1752
+ * either `Math.random` (fastest), `crypto.getRandomValues` (Web Cryptography API in recent
1753
+ * browsers) or `crypto.randomBytes` (Node.js).
1754
+ *
1755
+ * To be able to set `CRYPTO` to true when using Node.js, the `crypto` object must be available
1756
+ * globally:
1757
+ *
1758
+ * ```ts
1759
+ * global.crypto = require('crypto')
1760
+ * ```
1761
+ *
1762
+ * If `CRYPTO` is true, i.e. one of the `crypto` methods is to be used, the value of a returned
1763
+ * BigNumber should be cryptographically secure and statistically indistinguishable from a random
1764
+ * value.
1765
+ *
1766
+ * Throws if `decimalPlaces` is invalid.
1767
+ *
1768
+ * ```ts
1769
+ * BigNumber.config({ DECIMAL_PLACES: 10 })
1770
+ * BigNumber.random() // '0.4117936847'
1771
+ * BigNumber.random(20) // '0.78193327636914089009'
1772
+ * ```
1773
+ *
1774
+ * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
1775
+ */
1776
+ static random(decimalPlaces?: number): BigNumber;
1777
+
1778
+ /**
1779
+ * Returns a BigNumber whose value is the sum of the arguments.
1780
+ *
1781
+ * The return value is always exact and unrounded.
1782
+ *
1783
+ * ```ts
1784
+ * x = new BigNumber('3257869345.0378653')
1785
+ * BigNumber.sum(4e9, x, '123456789.9') // '7381326134.9378653'
1786
+ *
1787
+ * arr = [2, new BigNumber(14), '15.9999', 12]
1788
+ * BigNumber.sum.apply(null, arr) // '43.9999'
1789
+ * ```
1790
+ *
1791
+ * @param n A numeric value.
1792
+ */
1793
+ static sum(...n: BigNumber.Value[]): BigNumber;
1794
+
1795
+ /**
1796
+ * Configures the settings that apply to this BigNumber constructor.
1797
+ *
1798
+ * The configuration object, `object`, contains any number of the properties shown in the example
1799
+ * below.
1800
+ *
1801
+ * Returns an object with the above properties and their current values.
1802
+ *
1803
+ * Throws if `object` is not an object, or if an invalid value is assigned to one or more of the
1804
+ * properties.
1805
+ *
1806
+ * ```ts
1807
+ * BigNumber.set({
1808
+ * DECIMAL_PLACES: 40,
1809
+ * ROUNDING_MODE: BigNumber.ROUND_HALF_CEIL,
1810
+ * EXPONENTIAL_AT: [-10, 20],
1811
+ * RANGE: [-500, 500],
1812
+ * CRYPTO: true,
1813
+ * MODULO_MODE: BigNumber.ROUND_FLOOR,
1814
+ * POW_PRECISION: 80,
1815
+ * FORMAT: {
1816
+ * groupSize: 3,
1817
+ * groupSeparator: ' ',
1818
+ * decimalSeparator: ','
1819
+ * },
1820
+ * ALPHABET: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
1821
+ * });
1822
+ *
1823
+ * BigNumber.set().DECIMAL_PLACES // 40
1824
+ * ```
1825
+ *
1826
+ * @param object The configuration object.
1827
+ */
1828
+ static set(object?: BigNumber.Config): BigNumber.Config;
1829
+ }
1830
+
1831
+ export function BigNumber(n: BigNumber.Value, base?: number): BigNumber;