@aeternity/aepp-sdk 13.3.3 → 14.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 (1034) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +15 -21
  3. package/bin/aesophia_cli +0 -0
  4. package/dist/aepp-sdk.browser-script.cjs +3 -0
  5. package/dist/aepp-sdk.browser-script.cjs.LICENSE.txt +12 -0
  6. package/dist/aepp-sdk.browser-script.cjs.map +1 -0
  7. package/dist/aepp-sdk.browser.cjs +3 -0
  8. package/dist/aepp-sdk.browser.cjs.map +1 -0
  9. package/dist/aepp-sdk.cjs +38244 -0
  10. package/dist/aepp-sdk.cjs.map +1 -0
  11. package/es/AeSdk.d.ts +4 -4
  12. package/es/AeSdk.js +76 -0
  13. package/es/AeSdk.js.map +1 -0
  14. package/es/AeSdkAepp.d.ts +13 -8
  15. package/es/AeSdkAepp.js +153 -0
  16. package/es/AeSdkAepp.js.map +1 -0
  17. package/es/AeSdkBase.d.ts +15 -41
  18. package/es/AeSdkBase.js +235 -0
  19. package/es/AeSdkBase.js.map +1 -0
  20. package/es/AeSdkMethods.d.ts +11 -34
  21. package/es/AeSdkMethods.js +81 -0
  22. package/es/AeSdkMethods.js.map +1 -0
  23. package/es/AeSdkWallet.d.ts +13 -8
  24. package/es/AeSdkWallet.js +347 -0
  25. package/es/AeSdkWallet.js.map +1 -0
  26. package/es/Middleware.d.ts +14 -26
  27. package/es/Middleware.js +102 -0
  28. package/es/Middleware.js.map +1 -0
  29. package/es/MiddlewareSubscriber.d.ts +5 -3
  30. package/es/MiddlewareSubscriber.js +169 -0
  31. package/es/MiddlewareSubscriber.js.map +1 -0
  32. package/es/Node.d.ts +11 -22
  33. package/es/Node.js +121 -0
  34. package/es/Node.js.map +1 -0
  35. package/es/account/Base.d.ts +14 -66
  36. package/es/account/Base.js +7 -0
  37. package/es/account/Base.js.map +1 -0
  38. package/es/account/BaseFactory.d.ts +20 -0
  39. package/es/account/BaseFactory.js +29 -0
  40. package/es/account/BaseFactory.js.map +1 -0
  41. package/es/account/Generalized.d.ts +7 -6
  42. package/es/account/Generalized.js +117 -0
  43. package/es/account/Generalized.js.map +1 -0
  44. package/es/account/Ledger.d.ts +8 -7
  45. package/es/account/Ledger.js +116 -0
  46. package/es/account/Ledger.js.map +1 -0
  47. package/es/account/LedgerFactory.d.ts +18 -16
  48. package/es/account/LedgerFactory.js +86 -0
  49. package/es/account/LedgerFactory.js.map +1 -0
  50. package/es/account/Memory.d.ts +11 -22
  51. package/es/account/Memory.js +106 -0
  52. package/es/account/Memory.js.map +1 -0
  53. package/es/account/Metamask.d.ts +34 -0
  54. package/es/account/Metamask.js +89 -0
  55. package/es/account/Metamask.js.map +1 -0
  56. package/es/account/MetamaskFactory.d.ts +58 -0
  57. package/es/account/MetamaskFactory.js +164 -0
  58. package/es/account/MetamaskFactory.js.map +1 -0
  59. package/es/account/MnemonicFactory.d.ts +45 -0
  60. package/es/account/MnemonicFactory.js +112 -0
  61. package/es/account/MnemonicFactory.js.map +1 -0
  62. package/es/account/Rpc.d.ts +10 -19
  63. package/es/account/Rpc.js +94 -0
  64. package/es/account/Rpc.js.map +1 -0
  65. package/es/aens.d.ts +144 -165
  66. package/es/aens.js +292 -0
  67. package/es/aens.js.map +1 -0
  68. package/es/aepp-wallet-communication/WalletConnectorFrame.d.ts +25 -0
  69. package/es/aepp-wallet-communication/WalletConnectorFrame.js +39 -0
  70. package/es/aepp-wallet-communication/WalletConnectorFrame.js.map +1 -0
  71. package/es/aepp-wallet-communication/WalletConnectorFrameBase.d.ts +43 -0
  72. package/es/aepp-wallet-communication/WalletConnectorFrameBase.js +110 -0
  73. package/es/aepp-wallet-communication/WalletConnectorFrameBase.js.map +1 -0
  74. package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.d.ts +27 -0
  75. package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js +43 -0
  76. package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js.map +1 -0
  77. package/es/aepp-wallet-communication/connection/Browser.js +53 -0
  78. package/es/aepp-wallet-communication/connection/Browser.js.map +1 -0
  79. package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +2 -2
  80. package/es/aepp-wallet-communication/connection/BrowserRuntime.js +54 -0
  81. package/es/aepp-wallet-communication/connection/BrowserRuntime.js.map +1 -0
  82. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +2 -2
  83. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js +90 -0
  84. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js.map +1 -0
  85. package/es/aepp-wallet-communication/connection-proxy.d.ts +2 -2
  86. package/es/aepp-wallet-communication/connection-proxy.js +17 -0
  87. package/es/aepp-wallet-communication/connection-proxy.js.map +1 -0
  88. package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +1 -1
  89. package/es/aepp-wallet-communication/rpc/RpcClient.js +119 -0
  90. package/es/aepp-wallet-communication/rpc/RpcClient.js.map +1 -0
  91. package/es/aepp-wallet-communication/rpc/types.d.ts +13 -19
  92. package/es/aepp-wallet-communication/rpc/types.js +3 -0
  93. package/es/aepp-wallet-communication/rpc/types.js.map +1 -0
  94. package/es/aepp-wallet-communication/schema.d.ts +10 -3
  95. package/es/aepp-wallet-communication/schema.js +202 -0
  96. package/es/aepp-wallet-communication/schema.js.map +1 -0
  97. package/es/aepp-wallet-communication/wallet-detector.d.ts +4 -4
  98. package/es/aepp-wallet-communication/wallet-detector.js +44 -0
  99. package/es/aepp-wallet-communication/wallet-detector.js.map +1 -0
  100. package/es/apis/compiler/compiler.d.ts +2 -2
  101. package/es/apis/compiler/compiler.js +513 -0
  102. package/es/apis/compiler/compiler.js.map +1 -0
  103. package/es/apis/compiler/index.d.ts +2 -2
  104. package/es/apis/compiler/index.js +3 -0
  105. package/es/apis/compiler/index.js.map +1 -0
  106. package/es/apis/compiler/models/index.js +2 -0
  107. package/es/apis/compiler/models/index.js.map +1 -0
  108. package/es/apis/compiler/models/mappers.js +554 -0
  109. package/es/apis/compiler/models/mappers.js.map +1 -0
  110. package/es/apis/compiler/models/parameters.js +67 -0
  111. package/es/apis/compiler/models/parameters.js.map +1 -0
  112. package/es/apis/middleware/index.d.ts +2 -2
  113. package/es/apis/middleware/index.js +3 -0
  114. package/es/apis/middleware/index.js.map +1 -0
  115. package/es/apis/middleware/middleware.d.ts +222 -124
  116. package/es/apis/middleware/middleware.js +2146 -0
  117. package/es/apis/middleware/middleware.js.map +1 -0
  118. package/es/apis/middleware/models/index.d.ts +2062 -1198
  119. package/es/apis/middleware/models/index.js +2 -0
  120. package/es/apis/middleware/models/index.js.map +1 -0
  121. package/es/apis/middleware/models/mappers.d.ts +206 -81
  122. package/es/apis/middleware/models/mappers.js +9315 -0
  123. package/es/apis/middleware/models/mappers.js.map +1 -0
  124. package/es/apis/middleware/models/parameters.d.ts +78 -13
  125. package/es/apis/middleware/models/parameters.js +1164 -0
  126. package/es/apis/middleware/models/parameters.js.map +1 -0
  127. package/es/apis/node/index.d.ts +2 -2
  128. package/es/apis/node/index.js +3 -0
  129. package/es/apis/node/index.js.map +1 -0
  130. package/es/apis/node/models/index.d.ts +683 -631
  131. package/es/apis/node/models/index.js +2 -0
  132. package/es/apis/node/models/index.js.map +1 -0
  133. package/es/apis/node/models/mappers.d.ts +58 -55
  134. package/es/apis/node/models/mappers.js +5450 -0
  135. package/es/apis/node/models/mappers.js.map +1 -0
  136. package/es/apis/node/models/parameters.d.ts +5 -5
  137. package/es/apis/node/models/parameters.js +165 -0
  138. package/es/apis/node/models/parameters.js.map +1 -0
  139. package/es/apis/node/node.d.ts +113 -96
  140. package/es/apis/node/node.js +1292 -0
  141. package/es/apis/node/node.js.map +1 -0
  142. package/es/chain.d.ts +39 -26
  143. package/es/chain.js +448 -0
  144. package/es/chain.js.map +1 -0
  145. package/es/channel/Base.d.ts +12 -14
  146. package/es/channel/Base.js +246 -0
  147. package/es/channel/Base.js.map +1 -0
  148. package/es/channel/Contract.d.ts +12 -9
  149. package/es/channel/Contract.js +385 -0
  150. package/es/channel/Contract.js.map +1 -0
  151. package/es/channel/Spend.d.ts +10 -10
  152. package/es/channel/Spend.js +357 -0
  153. package/es/channel/Spend.js.map +1 -0
  154. package/es/channel/handlers.d.ts +4 -3
  155. package/es/channel/handlers.js +394 -0
  156. package/es/channel/handlers.js.map +1 -0
  157. package/es/channel/internal.d.ts +11 -10
  158. package/es/channel/internal.js +224 -0
  159. package/es/channel/internal.js.map +1 -0
  160. package/es/contract/Contract.d.ts +30 -21
  161. package/es/contract/Contract.js +535 -0
  162. package/es/contract/Contract.js.map +1 -0
  163. package/es/contract/compiler/Base.d.ts +2 -1
  164. package/es/contract/compiler/Base.js +6 -0
  165. package/es/contract/compiler/Base.js.map +1 -0
  166. package/es/contract/compiler/Cli.d.ts +4 -3
  167. package/es/contract/compiler/Cli.js +169 -0
  168. package/es/contract/compiler/Cli.js.map +1 -0
  169. package/es/contract/compiler/Http.d.ts +5 -4
  170. package/es/contract/compiler/Http.js +125 -0
  171. package/es/contract/compiler/Http.js.map +1 -0
  172. package/es/contract/compiler/HttpNode.d.ts +3 -3
  173. package/es/contract/compiler/HttpNode.js +29 -0
  174. package/es/contract/compiler/HttpNode.js.map +1 -0
  175. package/es/contract/compiler/getFileSystem.d.ts +1 -0
  176. package/es/contract/compiler/getFileSystem.js +33 -0
  177. package/es/contract/compiler/getFileSystem.js.map +1 -0
  178. package/es/contract/ga.d.ts +11 -15
  179. package/es/contract/ga.js +136 -0
  180. package/es/contract/ga.js.map +1 -0
  181. package/es/index-browser.d.ts +86 -51
  182. package/es/index-browser.js +85 -0
  183. package/es/index-browser.js.map +1 -0
  184. package/es/index.d.ts +4 -5
  185. package/es/index.js +5 -0
  186. package/es/index.js.map +1 -0
  187. package/es/oracle/Oracle.d.ts +79 -0
  188. package/es/oracle/Oracle.js +183 -0
  189. package/es/oracle/Oracle.js.map +1 -0
  190. package/es/oracle/OracleBase.d.ts +54 -0
  191. package/es/oracle/OracleBase.js +74 -0
  192. package/es/oracle/OracleBase.js.map +1 -0
  193. package/es/oracle/OracleClient.d.ts +60 -0
  194. package/es/oracle/OracleClient.js +105 -0
  195. package/es/oracle/OracleClient.js.map +1 -0
  196. package/es/send-transaction.d.ts +8 -8
  197. package/es/send-transaction.js +110 -0
  198. package/es/send-transaction.js.map +1 -0
  199. package/es/spend.d.ts +8 -13
  200. package/es/spend.js +93 -0
  201. package/es/spend.js.map +1 -0
  202. package/es/tx/builder/SchemaTypes.d.ts +3 -3
  203. package/es/tx/builder/SchemaTypes.js +2 -0
  204. package/es/tx/builder/SchemaTypes.js.map +1 -0
  205. package/es/tx/builder/common.d.ts +2 -2
  206. package/es/tx/builder/common.js +41 -0
  207. package/es/tx/builder/common.js.map +1 -0
  208. package/es/tx/builder/constants.d.ts +53 -27
  209. package/es/tx/builder/constants.js +170 -0
  210. package/es/tx/builder/constants.js.map +1 -0
  211. package/es/tx/builder/delegation/index.d.ts +3 -3
  212. package/es/tx/builder/delegation/index.js +24 -0
  213. package/es/tx/builder/delegation/index.js.map +1 -0
  214. package/es/tx/builder/delegation/schema.d.ts +21 -4
  215. package/es/tx/builder/delegation/schema.generated.d.ts +2 -2
  216. package/es/tx/builder/delegation/schema.generated.js +2 -0
  217. package/es/tx/builder/delegation/schema.generated.js.map +1 -0
  218. package/es/tx/builder/delegation/schema.js +83 -0
  219. package/es/tx/builder/delegation/schema.js.map +1 -0
  220. package/es/tx/builder/entry/constants.d.ts +35 -0
  221. package/es/tx/builder/entry/constants.js +45 -0
  222. package/es/tx/builder/entry/constants.js.map +1 -0
  223. package/es/tx/builder/entry/index.d.ts +38 -0
  224. package/es/tx/builder/entry/index.js +36 -0
  225. package/es/tx/builder/entry/index.js.map +1 -0
  226. package/es/tx/builder/entry/schema.d.ts +1030 -0
  227. package/es/tx/builder/entry/schema.generated.d.ts +607 -0
  228. package/es/tx/builder/entry/schema.generated.js +2 -0
  229. package/es/tx/builder/entry/schema.generated.js.map +1 -0
  230. package/es/tx/builder/entry/schema.js +204 -0
  231. package/es/tx/builder/entry/schema.js.map +1 -0
  232. package/es/tx/builder/field-types/abi-version.d.ts +4 -5
  233. package/es/tx/builder/field-types/abi-version.js +34 -0
  234. package/es/tx/builder/field-types/abi-version.js.map +1 -0
  235. package/es/tx/builder/field-types/address.d.ts +2 -3
  236. package/es/tx/builder/field-types/address.js +46 -0
  237. package/es/tx/builder/field-types/address.js.map +1 -0
  238. package/es/tx/builder/field-types/array.js +11 -0
  239. package/es/tx/builder/field-types/array.js.map +1 -0
  240. package/es/tx/builder/field-types/boolean.d.ts +0 -1
  241. package/es/tx/builder/field-types/boolean.js +10 -0
  242. package/es/tx/builder/field-types/boolean.js.map +1 -0
  243. package/es/tx/builder/field-types/coin-amount.d.ts +3 -4
  244. package/es/tx/builder/field-types/coin-amount.js +18 -0
  245. package/es/tx/builder/field-types/coin-amount.js.map +1 -0
  246. package/es/tx/builder/field-types/ct-version.d.ts +4 -19
  247. package/es/tx/builder/field-types/ct-version.js +57 -0
  248. package/es/tx/builder/field-types/ct-version.js.map +1 -0
  249. package/es/tx/builder/field-types/encoded.d.ts +1 -2
  250. package/es/tx/builder/field-types/encoded.js +18 -0
  251. package/es/tx/builder/field-types/encoded.js.map +1 -0
  252. package/es/tx/builder/field-types/entry.d.ts +5 -6
  253. package/es/tx/builder/field-types/entry.js +26 -0
  254. package/es/tx/builder/field-types/entry.js.map +1 -0
  255. package/es/tx/builder/field-types/enumeration.d.ts +0 -1
  256. package/es/tx/builder/field-types/enumeration.js +27 -0
  257. package/es/tx/builder/field-types/enumeration.js.map +1 -0
  258. package/es/tx/builder/field-types/fee.d.ts +8 -9
  259. package/es/tx/builder/field-types/fee.js +160 -0
  260. package/es/tx/builder/field-types/fee.js.map +1 -0
  261. package/es/tx/builder/field-types/field.d.ts +0 -1
  262. package/es/tx/builder/field-types/field.js +10 -0
  263. package/es/tx/builder/field-types/field.js.map +1 -0
  264. package/es/tx/builder/field-types/gas-limit.d.ts +4 -5
  265. package/es/tx/builder/field-types/gas-limit.js +31 -0
  266. package/es/tx/builder/field-types/gas-limit.js.map +1 -0
  267. package/es/tx/builder/field-types/gas-price.d.ts +10 -8
  268. package/es/tx/builder/field-types/gas-price.js +53 -0
  269. package/es/tx/builder/field-types/gas-price.js.map +1 -0
  270. package/es/tx/builder/field-types/interface.d.ts +7 -0
  271. package/es/tx/builder/field-types/interface.js +2 -0
  272. package/es/tx/builder/field-types/interface.js.map +1 -0
  273. package/es/tx/builder/field-types/map.d.ts +6 -7
  274. package/es/tx/builder/field-types/map.js +38 -0
  275. package/es/tx/builder/field-types/map.js.map +1 -0
  276. package/es/tx/builder/field-types/mptree.d.ts +12 -13
  277. package/es/tx/builder/field-types/mptree.js +223 -0
  278. package/es/tx/builder/field-types/mptree.js.map +1 -0
  279. package/es/tx/builder/field-types/name-fee.d.ts +3 -4
  280. package/es/tx/builder/field-types/name-fee.js +22 -0
  281. package/es/tx/builder/field-types/name-fee.js.map +1 -0
  282. package/es/tx/builder/field-types/name-id.d.ts +2 -3
  283. package/es/tx/builder/field-types/name-id.js +14 -0
  284. package/es/tx/builder/field-types/name-id.js.map +1 -0
  285. package/es/tx/builder/field-types/name.d.ts +1 -2
  286. package/es/tx/builder/field-types/name.js +16 -0
  287. package/es/tx/builder/field-types/name.js.map +1 -0
  288. package/es/tx/builder/field-types/nonce.d.ts +6 -4
  289. package/es/tx/builder/field-types/nonce.js +40 -0
  290. package/es/tx/builder/field-types/nonce.js.map +1 -0
  291. package/es/tx/builder/field-types/pointers.d.ts +9 -18
  292. package/es/tx/builder/field-types/pointers.js +69 -0
  293. package/es/tx/builder/field-types/pointers.js.map +1 -0
  294. package/es/tx/builder/field-types/query-fee.d.ts +4 -5
  295. package/es/tx/builder/field-types/query-fee.js +21 -0
  296. package/es/tx/builder/field-types/query-fee.js.map +1 -0
  297. package/es/tx/builder/field-types/raw.d.ts +0 -1
  298. package/es/tx/builder/field-types/raw.js +10 -0
  299. package/es/tx/builder/field-types/raw.js.map +1 -0
  300. package/es/tx/builder/field-types/short-u-int-const.d.ts +0 -1
  301. package/es/tx/builder/field-types/short-u-int-const.js +20 -0
  302. package/es/tx/builder/field-types/short-u-int-const.js.map +1 -0
  303. package/es/tx/builder/field-types/short-u-int.d.ts +0 -1
  304. package/es/tx/builder/field-types/short-u-int.js +10 -0
  305. package/es/tx/builder/field-types/short-u-int.js.map +1 -0
  306. package/es/tx/builder/field-types/string.d.ts +0 -1
  307. package/es/tx/builder/field-types/string.js +10 -0
  308. package/es/tx/builder/field-types/string.js.map +1 -0
  309. package/es/tx/builder/field-types/transaction.d.ts +10 -0
  310. package/es/tx/builder/field-types/transaction.js +26 -0
  311. package/es/tx/builder/field-types/transaction.js.map +1 -0
  312. package/es/tx/builder/field-types/ttl.d.ts +6 -11
  313. package/es/tx/builder/field-types/ttl.js +32 -0
  314. package/es/tx/builder/field-types/ttl.js.map +1 -0
  315. package/es/tx/builder/field-types/u-int.d.ts +1 -2
  316. package/es/tx/builder/field-types/u-int.js +13 -0
  317. package/es/tx/builder/field-types/u-int.js.map +1 -0
  318. package/es/tx/builder/field-types/with-default.js +9 -0
  319. package/es/tx/builder/field-types/with-default.js.map +1 -0
  320. package/es/tx/builder/field-types/with-formatting.js +9 -0
  321. package/es/tx/builder/field-types/with-formatting.js.map +1 -0
  322. package/es/tx/builder/field-types/wrapped.d.ts +5 -6
  323. package/es/tx/builder/field-types/wrapped.js +20 -0
  324. package/es/tx/builder/field-types/wrapped.js.map +1 -0
  325. package/es/tx/builder/helpers.d.ts +21 -16
  326. package/es/tx/builder/helpers.js +215 -0
  327. package/es/tx/builder/helpers.js.map +1 -0
  328. package/es/tx/builder/index.d.ts +4 -13
  329. package/es/tx/builder/index.js +91 -0
  330. package/es/tx/builder/index.js.map +1 -0
  331. package/es/tx/builder/schema.d.ts +587 -1724
  332. package/es/tx/builder/schema.generated.d.ts +45 -1001
  333. package/es/tx/builder/schema.generated.js +2 -0
  334. package/es/tx/builder/schema.generated.js.map +1 -0
  335. package/es/tx/builder/schema.js +357 -0
  336. package/es/tx/builder/schema.js.map +1 -0
  337. package/es/tx/execution-cost.d.ts +5 -2
  338. package/es/tx/execution-cost.js +143 -0
  339. package/es/tx/execution-cost.js.map +1 -0
  340. package/es/tx/transaction-signer.d.ts +2 -1
  341. package/es/tx/transaction-signer.js +25 -0
  342. package/es/tx/transaction-signer.js.map +1 -0
  343. package/es/tx/validator.d.ts +2 -2
  344. package/es/tx/validator.js +207 -0
  345. package/es/tx/validator.js.map +1 -0
  346. package/es/typings/blakejs/index.d.js +2 -0
  347. package/es/typings/blakejs/index.d.js.map +1 -0
  348. package/es/typings/sha-js/index.d.js +2 -0
  349. package/es/typings/sha-js/index.d.js.map +1 -0
  350. package/es/typings/tweetnacl-auth/index.d.js +2 -0
  351. package/es/typings/tweetnacl-auth/index.d.js.map +1 -0
  352. package/es/utils/MiddlewarePage.d.ts +37 -0
  353. package/es/utils/MiddlewarePage.js +57 -0
  354. package/es/utils/MiddlewarePage.js.map +1 -0
  355. package/es/utils/amount-formatter.d.ts +19 -5
  356. package/es/utils/amount-formatter.js +113 -0
  357. package/es/utils/amount-formatter.js.map +1 -0
  358. package/es/utils/autorest.d.ts +7 -2
  359. package/es/utils/autorest.js +212 -0
  360. package/es/utils/autorest.js.map +1 -0
  361. package/es/utils/bignumber.js +21 -0
  362. package/es/utils/bignumber.js.map +1 -0
  363. package/es/utils/bytes.d.ts +2 -1
  364. package/es/utils/bytes.js +32 -0
  365. package/es/utils/bytes.js.map +1 -0
  366. package/es/utils/crypto.d.ts +48 -59
  367. package/es/utils/crypto.js +162 -0
  368. package/es/utils/crypto.js.map +1 -0
  369. package/es/utils/encoder-types.d.ts +3 -1
  370. package/es/utils/encoder-types.js +36 -0
  371. package/es/utils/encoder-types.js.map +1 -0
  372. package/es/utils/encoder.d.ts +4 -3
  373. package/es/utils/encoder.js +106 -0
  374. package/es/utils/encoder.js.map +1 -0
  375. package/es/utils/errors.d.ts +4 -10
  376. package/es/utils/errors.js +746 -0
  377. package/es/utils/errors.js.map +1 -0
  378. package/es/utils/json-big.d.ts +1 -1
  379. package/es/utils/json-big.js +25 -0
  380. package/es/utils/json-big.js.map +1 -0
  381. package/es/utils/jwt.d.ts +2 -2
  382. package/es/utils/jwt.js +112 -0
  383. package/es/utils/jwt.js.map +1 -0
  384. package/es/utils/other.d.ts +4 -4
  385. package/es/utils/other.js +48 -0
  386. package/es/utils/other.js.map +1 -0
  387. package/es/utils/semver-satisfies.js +12 -0
  388. package/es/utils/semver-satisfies.js.map +1 -0
  389. package/es/utils/string.js +18 -0
  390. package/es/utils/string.js.map +1 -0
  391. package/es/utils/typed-data.d.ts +6 -2
  392. package/es/utils/typed-data.js +58 -0
  393. package/es/utils/typed-data.js.map +1 -0
  394. package/es/utils/wrap-proxy.js +15 -0
  395. package/es/utils/wrap-proxy.js.map +1 -0
  396. package/package.json +91 -113
  397. package/bin/aesophia_cli_8 +0 -0
  398. package/dist/aepp-sdk.browser-script.js +0 -3
  399. package/dist/aepp-sdk.browser-script.js.LICENSE.txt +0 -12
  400. package/dist/aepp-sdk.browser-script.js.map +0 -1
  401. package/dist/aepp-sdk.browser.js +0 -3
  402. package/dist/aepp-sdk.browser.js.map +0 -1
  403. package/dist/aepp-sdk.js +0 -30486
  404. package/dist/aepp-sdk.js.map +0 -1
  405. package/es/AeSdk.mjs +0 -76
  406. package/es/AeSdk.mjs.map +0 -1
  407. package/es/AeSdkAepp.mjs +0 -145
  408. package/es/AeSdkAepp.mjs.map +0 -1
  409. package/es/AeSdkBase.mjs +0 -289
  410. package/es/AeSdkBase.mjs.map +0 -1
  411. package/es/AeSdkMethods.mjs +0 -92
  412. package/es/AeSdkMethods.mjs.map +0 -1
  413. package/es/AeSdkWallet.mjs +0 -368
  414. package/es/AeSdkWallet.mjs.map +0 -1
  415. package/es/Middleware.mjs +0 -94
  416. package/es/Middleware.mjs.map +0 -1
  417. package/es/MiddlewareSubscriber.mjs +0 -189
  418. package/es/MiddlewareSubscriber.mjs.map +0 -1
  419. package/es/Node.mjs +0 -148
  420. package/es/Node.mjs.map +0 -1
  421. package/es/account/Base.mjs +0 -134
  422. package/es/account/Base.mjs.map +0 -1
  423. package/es/account/Generalized.mjs +0 -129
  424. package/es/account/Generalized.mjs.map +0 -1
  425. package/es/account/Ledger.mjs +0 -131
  426. package/es/account/Ledger.mjs.map +0 -1
  427. package/es/account/LedgerFactory.mjs +0 -79
  428. package/es/account/LedgerFactory.mjs.map +0 -1
  429. package/es/account/Memory.mjs +0 -187
  430. package/es/account/Memory.mjs.map +0 -1
  431. package/es/account/Rpc.mjs +0 -178
  432. package/es/account/Rpc.mjs.map +0 -1
  433. package/es/aens.mjs +0 -290
  434. package/es/aens.mjs.map +0 -1
  435. package/es/aepp-wallet-communication/connection/Browser.mjs +0 -52
  436. package/es/aepp-wallet-communication/connection/Browser.mjs.map +0 -1
  437. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +0 -55
  438. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +0 -1
  439. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +0 -98
  440. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +0 -1
  441. package/es/aepp-wallet-communication/connection-proxy.mjs +0 -17
  442. package/es/aepp-wallet-communication/connection-proxy.mjs.map +0 -1
  443. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +0 -134
  444. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +0 -1
  445. package/es/aepp-wallet-communication/rpc/types.mjs +0 -3
  446. package/es/aepp-wallet-communication/rpc/types.mjs.map +0 -1
  447. package/es/aepp-wallet-communication/schema.mjs +0 -187
  448. package/es/aepp-wallet-communication/schema.mjs.map +0 -1
  449. package/es/aepp-wallet-communication/wallet-detector.mjs +0 -44
  450. package/es/aepp-wallet-communication/wallet-detector.mjs.map +0 -1
  451. package/es/apis/compiler/compiler.mjs +0 -513
  452. package/es/apis/compiler/compiler.mjs.map +0 -1
  453. package/es/apis/compiler/index.mjs +0 -3
  454. package/es/apis/compiler/index.mjs.map +0 -1
  455. package/es/apis/compiler/models/index.mjs +0 -2
  456. package/es/apis/compiler/models/index.mjs.map +0 -1
  457. package/es/apis/compiler/models/mappers.mjs +0 -554
  458. package/es/apis/compiler/models/mappers.mjs.map +0 -1
  459. package/es/apis/compiler/models/parameters.mjs +0 -67
  460. package/es/apis/compiler/models/parameters.mjs.map +0 -1
  461. package/es/apis/middleware/index.mjs +0 -3
  462. package/es/apis/middleware/index.mjs.map +0 -1
  463. package/es/apis/middleware/middleware.mjs +0 -1623
  464. package/es/apis/middleware/middleware.mjs.map +0 -1
  465. package/es/apis/middleware/models/index.mjs +0 -630
  466. package/es/apis/middleware/models/index.mjs.map +0 -1
  467. package/es/apis/middleware/models/mappers.mjs +0 -3707
  468. package/es/apis/middleware/models/mappers.mjs.map +0 -1
  469. package/es/apis/middleware/models/parameters.mjs +0 -444
  470. package/es/apis/middleware/models/parameters.mjs.map +0 -1
  471. package/es/apis/node/index.mjs +0 -3
  472. package/es/apis/node/index.mjs.map +0 -1
  473. package/es/apis/node/models/index.mjs +0 -2
  474. package/es/apis/node/models/index.mjs.map +0 -1
  475. package/es/apis/node/models/mappers.mjs +0 -4395
  476. package/es/apis/node/models/mappers.mjs.map +0 -1
  477. package/es/apis/node/models/parameters.mjs +0 -165
  478. package/es/apis/node/models/parameters.mjs.map +0 -1
  479. package/es/apis/node/node.mjs +0 -1240
  480. package/es/apis/node/node.mjs.map +0 -1
  481. package/es/chain.mjs +0 -441
  482. package/es/chain.mjs.map +0 -1
  483. package/es/channel/Base.mjs +0 -254
  484. package/es/channel/Base.mjs.map +0 -1
  485. package/es/channel/Contract.mjs +0 -383
  486. package/es/channel/Contract.mjs.map +0 -1
  487. package/es/channel/Spend.mjs +0 -357
  488. package/es/channel/Spend.mjs.map +0 -1
  489. package/es/channel/handlers.mjs +0 -383
  490. package/es/channel/handlers.mjs.map +0 -1
  491. package/es/channel/internal.mjs +0 -237
  492. package/es/channel/internal.mjs.map +0 -1
  493. package/es/contract/Contract.mjs +0 -540
  494. package/es/contract/Contract.mjs.map +0 -1
  495. package/es/contract/compiler/Base.mjs +0 -5
  496. package/es/contract/compiler/Base.mjs.map +0 -1
  497. package/es/contract/compiler/Cli.mjs +0 -197
  498. package/es/contract/compiler/Cli.mjs.map +0 -1
  499. package/es/contract/compiler/Cli8.d.ts +0 -13
  500. package/es/contract/compiler/Cli8.mjs +0 -22
  501. package/es/contract/compiler/Cli8.mjs.map +0 -1
  502. package/es/contract/compiler/Http.mjs +0 -126
  503. package/es/contract/compiler/Http.mjs.map +0 -1
  504. package/es/contract/compiler/HttpNode.mjs +0 -31
  505. package/es/contract/compiler/HttpNode.mjs.map +0 -1
  506. package/es/contract/compiler/getFileSystem.mjs +0 -40
  507. package/es/contract/compiler/getFileSystem.mjs.map +0 -1
  508. package/es/contract/delegation-signature.d.ts +0 -45
  509. package/es/contract/delegation-signature.mjs +0 -80
  510. package/es/contract/delegation-signature.mjs.map +0 -1
  511. package/es/contract/ga.mjs +0 -135
  512. package/es/contract/ga.mjs.map +0 -1
  513. package/es/deprecated.d.ts +0 -62
  514. package/es/deprecated.mjs +0 -87
  515. package/es/deprecated.mjs.map +0 -1
  516. package/es/index-browser.mjs +0 -49
  517. package/es/index-browser.mjs.map +0 -1
  518. package/es/index.mjs +0 -6
  519. package/es/index.mjs.map +0 -1
  520. package/es/oracle.d.ts +0 -125
  521. package/es/oracle.mjs +0 -242
  522. package/es/oracle.mjs.map +0 -1
  523. package/es/send-transaction.mjs +0 -109
  524. package/es/send-transaction.mjs.map +0 -1
  525. package/es/spend.mjs +0 -90
  526. package/es/spend.mjs.map +0 -1
  527. package/es/tx/builder/SchemaTypes.mjs +0 -2
  528. package/es/tx/builder/SchemaTypes.mjs.map +0 -1
  529. package/es/tx/builder/common.mjs +0 -42
  530. package/es/tx/builder/common.mjs.map +0 -1
  531. package/es/tx/builder/constants.mjs +0 -147
  532. package/es/tx/builder/constants.mjs.map +0 -1
  533. package/es/tx/builder/delegation/index.mjs +0 -24
  534. package/es/tx/builder/delegation/index.mjs.map +0 -1
  535. package/es/tx/builder/delegation/schema.generated.mjs +0 -2
  536. package/es/tx/builder/delegation/schema.generated.mjs.map +0 -1
  537. package/es/tx/builder/delegation/schema.mjs +0 -54
  538. package/es/tx/builder/delegation/schema.mjs.map +0 -1
  539. package/es/tx/builder/field-types/abi-version.mjs +0 -37
  540. package/es/tx/builder/field-types/abi-version.mjs.map +0 -1
  541. package/es/tx/builder/field-types/address.mjs +0 -48
  542. package/es/tx/builder/field-types/address.mjs.map +0 -1
  543. package/es/tx/builder/field-types/array.mjs +0 -11
  544. package/es/tx/builder/field-types/array.mjs.map +0 -1
  545. package/es/tx/builder/field-types/boolean.mjs +0 -13
  546. package/es/tx/builder/field-types/boolean.mjs.map +0 -1
  547. package/es/tx/builder/field-types/coin-amount.mjs +0 -18
  548. package/es/tx/builder/field-types/coin-amount.mjs.map +0 -1
  549. package/es/tx/builder/field-types/ct-version.mjs +0 -75
  550. package/es/tx/builder/field-types/ct-version.mjs.map +0 -1
  551. package/es/tx/builder/field-types/encoded.mjs +0 -21
  552. package/es/tx/builder/field-types/encoded.mjs.map +0 -1
  553. package/es/tx/builder/field-types/entry.mjs +0 -29
  554. package/es/tx/builder/field-types/entry.mjs.map +0 -1
  555. package/es/tx/builder/field-types/enumeration.mjs +0 -30
  556. package/es/tx/builder/field-types/enumeration.mjs.map +0 -1
  557. package/es/tx/builder/field-types/fee.mjs +0 -160
  558. package/es/tx/builder/field-types/fee.mjs.map +0 -1
  559. package/es/tx/builder/field-types/field.mjs +0 -13
  560. package/es/tx/builder/field-types/field.mjs.map +0 -1
  561. package/es/tx/builder/field-types/gas-limit.mjs +0 -31
  562. package/es/tx/builder/field-types/gas-limit.mjs.map +0 -1
  563. package/es/tx/builder/field-types/gas-price.mjs +0 -60
  564. package/es/tx/builder/field-types/gas-price.mjs.map +0 -1
  565. package/es/tx/builder/field-types/index.d.ts +0 -39
  566. package/es/tx/builder/field-types/index.mjs +0 -32
  567. package/es/tx/builder/field-types/index.mjs.map +0 -1
  568. package/es/tx/builder/field-types/map.mjs +0 -38
  569. package/es/tx/builder/field-types/map.mjs.map +0 -1
  570. package/es/tx/builder/field-types/mptree.mjs +0 -251
  571. package/es/tx/builder/field-types/mptree.mjs.map +0 -1
  572. package/es/tx/builder/field-types/name-fee.mjs +0 -22
  573. package/es/tx/builder/field-types/name-fee.mjs.map +0 -1
  574. package/es/tx/builder/field-types/name-id.mjs +0 -14
  575. package/es/tx/builder/field-types/name-id.mjs.map +0 -1
  576. package/es/tx/builder/field-types/name.mjs +0 -16
  577. package/es/tx/builder/field-types/name.mjs.map +0 -1
  578. package/es/tx/builder/field-types/nonce.mjs +0 -31
  579. package/es/tx/builder/field-types/nonce.mjs.map +0 -1
  580. package/es/tx/builder/field-types/pointers.mjs +0 -33
  581. package/es/tx/builder/field-types/pointers.mjs.map +0 -1
  582. package/es/tx/builder/field-types/pointers2.d.ts +0 -23
  583. package/es/tx/builder/field-types/pointers2.mjs +0 -65
  584. package/es/tx/builder/field-types/pointers2.mjs.map +0 -1
  585. package/es/tx/builder/field-types/query-fee.mjs +0 -20
  586. package/es/tx/builder/field-types/query-fee.mjs.map +0 -1
  587. package/es/tx/builder/field-types/raw.mjs +0 -13
  588. package/es/tx/builder/field-types/raw.mjs.map +0 -1
  589. package/es/tx/builder/field-types/short-u-int-const.mjs +0 -20
  590. package/es/tx/builder/field-types/short-u-int-const.mjs.map +0 -1
  591. package/es/tx/builder/field-types/short-u-int.mjs +0 -10
  592. package/es/tx/builder/field-types/short-u-int.mjs.map +0 -1
  593. package/es/tx/builder/field-types/string.mjs +0 -10
  594. package/es/tx/builder/field-types/string.mjs.map +0 -1
  595. package/es/tx/builder/field-types/ttl.mjs +0 -32
  596. package/es/tx/builder/field-types/ttl.mjs.map +0 -1
  597. package/es/tx/builder/field-types/u-int.mjs +0 -13
  598. package/es/tx/builder/field-types/u-int.mjs.map +0 -1
  599. package/es/tx/builder/field-types/with-default.mjs +0 -9
  600. package/es/tx/builder/field-types/with-default.mjs.map +0 -1
  601. package/es/tx/builder/field-types/with-formatting.mjs +0 -9
  602. package/es/tx/builder/field-types/with-formatting.mjs.map +0 -1
  603. package/es/tx/builder/field-types/wrapped.mjs +0 -20
  604. package/es/tx/builder/field-types/wrapped.mjs.map +0 -1
  605. package/es/tx/builder/helpers.mjs +0 -209
  606. package/es/tx/builder/helpers.mjs.map +0 -1
  607. package/es/tx/builder/index.mjs +0 -98
  608. package/es/tx/builder/index.mjs.map +0 -1
  609. package/es/tx/builder/schema.generated.mjs +0 -2
  610. package/es/tx/builder/schema.generated.mjs.map +0 -1
  611. package/es/tx/builder/schema.mjs +0 -513
  612. package/es/tx/builder/schema.mjs.map +0 -1
  613. package/es/tx/execution-cost.mjs +0 -139
  614. package/es/tx/execution-cost.mjs.map +0 -1
  615. package/es/tx/transaction-signer.mjs +0 -24
  616. package/es/tx/transaction-signer.mjs.map +0 -1
  617. package/es/tx/validator.mjs +0 -214
  618. package/es/tx/validator.mjs.map +0 -1
  619. package/es/typings/@aeternity__uuid/index.d.mjs +0 -2
  620. package/es/typings/@aeternity__uuid/index.d.mjs.map +0 -1
  621. package/es/typings/bip32-path/index.d.mjs +0 -2
  622. package/es/typings/bip32-path/index.d.mjs.map +0 -1
  623. package/es/typings/blakejs/index.d.mjs +0 -2
  624. package/es/typings/blakejs/index.d.mjs.map +0 -1
  625. package/es/typings/sha-js/index.d.mjs +0 -2
  626. package/es/typings/sha-js/index.d.mjs.map +0 -1
  627. package/es/typings/tweetnacl-auth/index.d.mjs +0 -2
  628. package/es/typings/tweetnacl-auth/index.d.mjs.map +0 -1
  629. package/es/utils/amount-formatter.mjs +0 -97
  630. package/es/utils/amount-formatter.mjs.map +0 -1
  631. package/es/utils/autorest.mjs +0 -141
  632. package/es/utils/autorest.mjs.map +0 -1
  633. package/es/utils/bignumber.mjs +0 -21
  634. package/es/utils/bignumber.mjs.map +0 -1
  635. package/es/utils/bytes.mjs +0 -32
  636. package/es/utils/bytes.mjs.map +0 -1
  637. package/es/utils/crypto.mjs +0 -193
  638. package/es/utils/crypto.mjs.map +0 -1
  639. package/es/utils/encoder-types.mjs +0 -35
  640. package/es/utils/encoder-types.mjs.map +0 -1
  641. package/es/utils/encoder.mjs +0 -110
  642. package/es/utils/encoder.mjs.map +0 -1
  643. package/es/utils/errors.mjs +0 -756
  644. package/es/utils/errors.mjs.map +0 -1
  645. package/es/utils/hd-wallet.d.ts +0 -61
  646. package/es/utils/hd-wallet.mjs +0 -169
  647. package/es/utils/hd-wallet.mjs.map +0 -1
  648. package/es/utils/json-big.mjs +0 -25
  649. package/es/utils/json-big.mjs.map +0 -1
  650. package/es/utils/jwt.mjs +0 -120
  651. package/es/utils/jwt.mjs.map +0 -1
  652. package/es/utils/keystore.d.ts +0 -57
  653. package/es/utils/keystore.mjs +0 -140
  654. package/es/utils/keystore.mjs.map +0 -1
  655. package/es/utils/other.mjs +0 -49
  656. package/es/utils/other.mjs.map +0 -1
  657. package/es/utils/semver-satisfies.mjs +0 -12
  658. package/es/utils/semver-satisfies.mjs.map +0 -1
  659. package/es/utils/string.mjs +0 -18
  660. package/es/utils/string.mjs.map +0 -1
  661. package/es/utils/typed-data.mjs +0 -55
  662. package/es/utils/typed-data.mjs.map +0 -1
  663. package/es/utils/wrap-proxy.mjs +0 -15
  664. package/es/utils/wrap-proxy.mjs.map +0 -1
  665. package/src/AeSdk.ts +0 -75
  666. package/src/AeSdkAepp.ts +0 -179
  667. package/src/AeSdkBase.ts +0 -315
  668. package/src/AeSdkMethods.ts +0 -149
  669. package/src/AeSdkWallet.ts +0 -383
  670. package/src/Middleware.ts +0 -149
  671. package/src/MiddlewareSubscriber.ts +0 -207
  672. package/src/Node.ts +0 -213
  673. package/src/account/Base.ts +0 -224
  674. package/src/account/Generalized.ts +0 -113
  675. package/src/account/Ledger.ts +0 -161
  676. package/src/account/LedgerFactory.ts +0 -86
  677. package/src/account/Memory.ts +0 -218
  678. package/src/account/Rpc.ts +0 -170
  679. package/src/aens.ts +0 -372
  680. package/src/aepp-wallet-communication/connection/Browser.ts +0 -54
  681. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +0 -57
  682. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +0 -105
  683. package/src/aepp-wallet-communication/connection-proxy.ts +0 -19
  684. package/src/aepp-wallet-communication/rpc/RpcClient.ts +0 -153
  685. package/src/aepp-wallet-communication/rpc/types.ts +0 -115
  686. package/src/aepp-wallet-communication/schema.ts +0 -212
  687. package/src/aepp-wallet-communication/wallet-detector.ts +0 -54
  688. package/src/apis/compiler/compiler.ts +0 -527
  689. package/src/apis/compiler/index.ts +0 -2
  690. package/src/apis/compiler/models/index.ts +0 -236
  691. package/src/apis/compiler/models/mappers.ts +0 -555
  692. package/src/apis/compiler/models/parameters.ts +0 -87
  693. package/src/apis/middleware/index.ts +0 -2
  694. package/src/apis/middleware/middleware.ts +0 -1928
  695. package/src/apis/middleware/models/index.ts +0 -1949
  696. package/src/apis/middleware/models/mappers.ts +0 -3808
  697. package/src/apis/middleware/models/parameters.ts +0 -493
  698. package/src/apis/node/index.ts +0 -2
  699. package/src/apis/node/models/index.ts +0 -1335
  700. package/src/apis/node/models/mappers.ts +0 -4508
  701. package/src/apis/node/models/parameters.ts +0 -188
  702. package/src/apis/node/node.ts +0 -1420
  703. package/src/chain.ts +0 -433
  704. package/src/channel/Base.ts +0 -302
  705. package/src/channel/Contract.ts +0 -465
  706. package/src/channel/Spend.ts +0 -385
  707. package/src/channel/handlers.ts +0 -386
  708. package/src/channel/internal.ts +0 -461
  709. package/src/contract/Contract.ts +0 -629
  710. package/src/contract/compiler/Base.ts +0 -123
  711. package/src/contract/compiler/Cli.ts +0 -173
  712. package/src/contract/compiler/Cli8.ts +0 -17
  713. package/src/contract/compiler/Http.ts +0 -134
  714. package/src/contract/compiler/HttpNode.ts +0 -32
  715. package/src/contract/compiler/getFileSystem.ts +0 -42
  716. package/src/contract/delegation-signature.ts +0 -88
  717. package/src/contract/ga.ts +0 -138
  718. package/src/deprecated.ts +0 -77
  719. package/src/index-browser.ts +0 -121
  720. package/src/index.ts +0 -6
  721. package/src/oracle.ts +0 -311
  722. package/src/send-transaction.ts +0 -136
  723. package/src/spend.ts +0 -136
  724. package/src/tx/builder/SchemaTypes.ts +0 -79
  725. package/src/tx/builder/common.ts +0 -74
  726. package/src/tx/builder/constants.ts +0 -155
  727. package/src/tx/builder/delegation/index.ts +0 -28
  728. package/src/tx/builder/delegation/schema.generated.ts +0 -143
  729. package/src/tx/builder/delegation/schema.ts +0 -61
  730. package/src/tx/builder/field-types/abi-version.ts +0 -44
  731. package/src/tx/builder/field-types/address.ts +0 -62
  732. package/src/tx/builder/field-types/array.ts +0 -19
  733. package/src/tx/builder/field-types/boolean.ts +0 -9
  734. package/src/tx/builder/field-types/coin-amount.ts +0 -26
  735. package/src/tx/builder/field-types/ct-version.ts +0 -83
  736. package/src/tx/builder/field-types/encoded.ts +0 -27
  737. package/src/tx/builder/field-types/entry.ts +0 -33
  738. package/src/tx/builder/field-types/enumeration.ts +0 -32
  739. package/src/tx/builder/field-types/fee.ts +0 -191
  740. package/src/tx/builder/field-types/field.ts +0 -9
  741. package/src/tx/builder/field-types/gas-limit.ts +0 -46
  742. package/src/tx/builder/field-types/gas-price.ts +0 -67
  743. package/src/tx/builder/field-types/index.ts +0 -40
  744. package/src/tx/builder/field-types/map.ts +0 -45
  745. package/src/tx/builder/field-types/mptree.ts +0 -243
  746. package/src/tx/builder/field-types/name-fee.ts +0 -32
  747. package/src/tx/builder/field-types/name-id.ts +0 -17
  748. package/src/tx/builder/field-types/name.ts +0 -18
  749. package/src/tx/builder/field-types/nonce.ts +0 -46
  750. package/src/tx/builder/field-types/pointers.ts +0 -41
  751. package/src/tx/builder/field-types/pointers2.ts +0 -62
  752. package/src/tx/builder/field-types/query-fee.ts +0 -25
  753. package/src/tx/builder/field-types/raw.ts +0 -9
  754. package/src/tx/builder/field-types/short-u-int-const.ts +0 -30
  755. package/src/tx/builder/field-types/short-u-int.ts +0 -11
  756. package/src/tx/builder/field-types/string.ts +0 -11
  757. package/src/tx/builder/field-types/ttl.ts +0 -34
  758. package/src/tx/builder/field-types/u-int.ts +0 -15
  759. package/src/tx/builder/field-types/with-default.ts +0 -18
  760. package/src/tx/builder/field-types/with-formatting.ts +0 -18
  761. package/src/tx/builder/field-types/wrapped.ts +0 -32
  762. package/src/tx/builder/helpers.ts +0 -252
  763. package/src/tx/builder/index.ts +0 -123
  764. package/src/tx/builder/schema.generated.ts +0 -2049
  765. package/src/tx/builder/schema.ts +0 -612
  766. package/src/tx/execution-cost.ts +0 -164
  767. package/src/tx/transaction-signer.ts +0 -27
  768. package/src/tx/validator.ts +0 -222
  769. package/src/typings/@aeternity__uuid/index.d.ts +0 -5
  770. package/src/typings/bip32-path/index.d.ts +0 -33
  771. package/src/typings/blakejs/index.d.ts +0 -5
  772. package/src/typings/sha-js/index.d.ts +0 -5
  773. package/src/typings/tweetnacl-auth/index.d.ts +0 -14
  774. package/src/utils/amount-formatter.ts +0 -98
  775. package/src/utils/autorest.ts +0 -153
  776. package/src/utils/bignumber.ts +0 -21
  777. package/src/utils/bytes.ts +0 -28
  778. package/src/utils/crypto.ts +0 -216
  779. package/src/utils/encoder-types.ts +0 -63
  780. package/src/utils/encoder.ts +0 -145
  781. package/src/utils/errors.ts +0 -777
  782. package/src/utils/hd-wallet.ts +0 -191
  783. package/src/utils/json-big.ts +0 -27
  784. package/src/utils/jwt.ts +0 -126
  785. package/src/utils/keystore.ts +0 -189
  786. package/src/utils/other.ts +0 -64
  787. package/src/utils/semver-satisfies.ts +0 -22
  788. package/src/utils/string.ts +0 -17
  789. package/src/utils/typed-data.ts +0 -69
  790. package/src/utils/wrap-proxy.ts +0 -24
  791. package/types-legacy/ts4.2/AeSdk.d.ts +0 -44
  792. package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -71
  793. package/types-legacy/ts4.2/AeSdkBase.d.ts +0 -164
  794. package/types-legacy/ts4.2/AeSdkMethods.d.ts +0 -146
  795. package/types-legacy/ts4.2/AeSdkWallet.d.ts +0 -90
  796. package/types-legacy/ts4.2/Middleware.d.ts +0 -46
  797. package/types-legacy/ts4.2/MiddlewareSubscriber.d.ts +0 -30
  798. package/types-legacy/ts4.2/Node.d.ts +0 -95
  799. package/types-legacy/ts4.2/account/Base.d.ts +0 -147
  800. package/types-legacy/ts4.2/account/Generalized.d.ts +0 -22
  801. package/types-legacy/ts4.2/account/Ledger.d.ts +0 -34
  802. package/types-legacy/ts4.2/account/LedgerFactory.d.ts +0 -39
  803. package/types-legacy/ts4.2/account/Memory.d.ts +0 -46
  804. package/types-legacy/ts4.2/account/Rpc.d.ts +0 -35
  805. package/types-legacy/ts4.2/aens.d.ts +0 -193
  806. package/types-legacy/ts4.2/aepp-wallet-communication/connection/Browser.d.ts +0 -33
  807. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
  808. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
  809. package/types-legacy/ts4.2/aepp-wallet-communication/connection-proxy.d.ts +0 -11
  810. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
  811. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +0 -120
  812. package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +0 -129
  813. package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +0 -22
  814. package/types-legacy/ts4.2/apis/compiler/compiler.d.ts +0 -86
  815. package/types-legacy/ts4.2/apis/compiler/index.d.ts +0 -2
  816. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +0 -191
  817. package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +0 -22
  818. package/types-legacy/ts4.2/apis/compiler/models/parameters.d.ts +0 -12
  819. package/types-legacy/ts4.2/apis/middleware/index.d.ts +0 -2
  820. package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +0 -327
  821. package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +0 -1645
  822. package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +0 -109
  823. package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +0 -46
  824. package/types-legacy/ts4.2/apis/node/index.d.ts +0 -2
  825. package/types-legacy/ts4.2/apis/node/models/index.d.ts +0 -1129
  826. package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +0 -99
  827. package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +0 -17
  828. package/types-legacy/ts4.2/apis/node/node.d.ts +0 -236
  829. package/types-legacy/ts4.2/chain.d.ts +0 -227
  830. package/types-legacy/ts4.2/channel/Base.d.ts +0 -168
  831. package/types-legacy/ts4.2/channel/Contract.d.ts +0 -239
  832. package/types-legacy/ts4.2/channel/Spend.d.ts +0 -213
  833. package/types-legacy/ts4.2/channel/handlers.d.ts +0 -21
  834. package/types-legacy/ts4.2/channel/internal.d.ts +0 -232
  835. package/types-legacy/ts4.2/contract/Contract.d.ts +0 -164
  836. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +0 -104
  837. package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +0 -26
  838. package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +0 -13
  839. package/types-legacy/ts4.2/contract/compiler/Http.d.ts +0 -28
  840. package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +0 -15
  841. package/types-legacy/ts4.2/contract/compiler/getFileSystem.d.ts +0 -6
  842. package/types-legacy/ts4.2/contract/delegation-signature.d.ts +0 -45
  843. package/types-legacy/ts4.2/contract/ga.d.ts +0 -59
  844. package/types-legacy/ts4.2/deprecated.d.ts +0 -62
  845. package/types-legacy/ts4.2/globals.d.ts +0 -16
  846. package/types-legacy/ts4.2/index-browser.d.ts +0 -51
  847. package/types-legacy/ts4.2/index.d.ts +0 -6
  848. package/types-legacy/ts4.2/oracle.d.ts +0 -125
  849. package/types-legacy/ts4.2/send-transaction.d.ts +0 -53
  850. package/types-legacy/ts4.2/spend.d.ts +0 -56
  851. package/types-legacy/ts4.2/tx/builder/SchemaTypes.d.ts +0 -37
  852. package/types-legacy/ts4.2/tx/builder/common.d.ts +0 -32
  853. package/types-legacy/ts4.2/tx/builder/constants.d.ts +0 -100
  854. package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +0 -20
  855. package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +0 -136
  856. package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +0 -141
  857. package/types-legacy/ts4.2/tx/builder/field-types/abi-version.d.ts +0 -19
  858. package/types-legacy/ts4.2/tx/builder/field-types/address.d.ts +0 -21
  859. package/types-legacy/ts4.2/tx/builder/field-types/array.d.ts +0 -7
  860. package/types-legacy/ts4.2/tx/builder/field-types/boolean.d.ts +0 -6
  861. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +0 -11
  862. package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +0 -72
  863. package/types-legacy/ts4.2/tx/builder/field-types/encoded.d.ts +0 -6
  864. package/types-legacy/ts4.2/tx/builder/field-types/entry.d.ts +0 -11
  865. package/types-legacy/ts4.2/tx/builder/field-types/enumeration.d.ts +0 -7
  866. package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +0 -30
  867. package/types-legacy/ts4.2/tx/builder/field-types/field.d.ts +0 -6
  868. package/types-legacy/ts4.2/tx/builder/field-types/gas-limit.d.ts +0 -16
  869. package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +0 -17
  870. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +0 -45
  871. package/types-legacy/ts4.2/tx/builder/field-types/map.d.ts +0 -13
  872. package/types-legacy/ts4.2/tx/builder/field-types/mptree.d.ts +0 -48
  873. package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +0 -18
  874. package/types-legacy/ts4.2/tx/builder/field-types/name-id.d.ts +0 -11
  875. package/types-legacy/ts4.2/tx/builder/field-types/name.d.ts +0 -13
  876. package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +0 -15
  877. package/types-legacy/ts4.2/tx/builder/field-types/pointers.d.ts +0 -26
  878. package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +0 -26
  879. package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +0 -19
  880. package/types-legacy/ts4.2/tx/builder/field-types/raw.d.ts +0 -6
  881. package/types-legacy/ts4.2/tx/builder/field-types/short-u-int-const.d.ts +0 -7
  882. package/types-legacy/ts4.2/tx/builder/field-types/short-u-int.d.ts +0 -6
  883. package/types-legacy/ts4.2/tx/builder/field-types/string.d.ts +0 -6
  884. package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +0 -20
  885. package/types-legacy/ts4.2/tx/builder/field-types/u-int.d.ts +0 -7
  886. package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +0 -7
  887. package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +0 -7
  888. package/types-legacy/ts4.2/tx/builder/field-types/wrapped.d.ts +0 -14
  889. package/types-legacy/ts4.2/tx/builder/helpers.d.ts +0 -119
  890. package/types-legacy/ts4.2/tx/builder/index.d.ts +0 -62
  891. package/types-legacy/ts4.2/tx/builder/schema.d.ts +0 -3256
  892. package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +0 -2047
  893. package/types-legacy/ts4.2/tx/execution-cost.d.ts +0 -53
  894. package/types-legacy/ts4.2/tx/transaction-signer.d.ts +0 -6
  895. package/types-legacy/ts4.2/tx/validator.d.ts +0 -18
  896. package/types-legacy/ts4.2/utils/amount-formatter.d.ts +0 -41
  897. package/types-legacy/ts4.2/utils/autorest.d.ts +0 -7
  898. package/types-legacy/ts4.2/utils/bignumber.d.ts +0 -13
  899. package/types-legacy/ts4.2/utils/bytes.d.ts +0 -9
  900. package/types-legacy/ts4.2/utils/crypto.d.ts +0 -100
  901. package/types-legacy/ts4.2/utils/encoder-types.d.ts +0 -61
  902. package/types-legacy/ts4.2/utils/encoder.d.ts +0 -24
  903. package/types-legacy/ts4.2/utils/errors.d.ts +0 -464
  904. package/types-legacy/ts4.2/utils/hd-wallet.d.ts +0 -68
  905. package/types-legacy/ts4.2/utils/json-big.d.ts +0 -5
  906. package/types-legacy/ts4.2/utils/jwt.d.ts +0 -53
  907. package/types-legacy/ts4.2/utils/keystore.d.ts +0 -57
  908. package/types-legacy/ts4.2/utils/other.d.ts +0 -32
  909. package/types-legacy/ts4.2/utils/semver-satisfies.d.ts +0 -1
  910. package/types-legacy/ts4.2/utils/string.d.ts +0 -12
  911. package/types-legacy/ts4.2/utils/typed-data.d.ts +0 -58
  912. package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +0 -2
  913. package/types-legacy/ts4.5/AeSdk.d.ts +0 -44
  914. package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -71
  915. package/types-legacy/ts4.5/AeSdkBase.d.ts +0 -164
  916. package/types-legacy/ts4.5/AeSdkMethods.d.ts +0 -146
  917. package/types-legacy/ts4.5/AeSdkWallet.d.ts +0 -90
  918. package/types-legacy/ts4.5/Middleware.d.ts +0 -46
  919. package/types-legacy/ts4.5/MiddlewareSubscriber.d.ts +0 -30
  920. package/types-legacy/ts4.5/Node.d.ts +0 -95
  921. package/types-legacy/ts4.5/account/Base.d.ts +0 -147
  922. package/types-legacy/ts4.5/account/Generalized.d.ts +0 -22
  923. package/types-legacy/ts4.5/account/Ledger.d.ts +0 -34
  924. package/types-legacy/ts4.5/account/LedgerFactory.d.ts +0 -39
  925. package/types-legacy/ts4.5/account/Memory.d.ts +0 -46
  926. package/types-legacy/ts4.5/account/Rpc.d.ts +0 -35
  927. package/types-legacy/ts4.5/aens.d.ts +0 -193
  928. package/types-legacy/ts4.5/aepp-wallet-communication/connection/Browser.d.ts +0 -33
  929. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
  930. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
  931. package/types-legacy/ts4.5/aepp-wallet-communication/connection-proxy.d.ts +0 -11
  932. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
  933. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +0 -120
  934. package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +0 -129
  935. package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +0 -22
  936. package/types-legacy/ts4.5/apis/compiler/compiler.d.ts +0 -86
  937. package/types-legacy/ts4.5/apis/compiler/index.d.ts +0 -2
  938. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +0 -191
  939. package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +0 -22
  940. package/types-legacy/ts4.5/apis/compiler/models/parameters.d.ts +0 -12
  941. package/types-legacy/ts4.5/apis/middleware/index.d.ts +0 -2
  942. package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +0 -327
  943. package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +0 -1645
  944. package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +0 -109
  945. package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +0 -46
  946. package/types-legacy/ts4.5/apis/node/index.d.ts +0 -2
  947. package/types-legacy/ts4.5/apis/node/models/index.d.ts +0 -1129
  948. package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +0 -99
  949. package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +0 -17
  950. package/types-legacy/ts4.5/apis/node/node.d.ts +0 -236
  951. package/types-legacy/ts4.5/chain.d.ts +0 -227
  952. package/types-legacy/ts4.5/channel/Base.d.ts +0 -168
  953. package/types-legacy/ts4.5/channel/Contract.d.ts +0 -239
  954. package/types-legacy/ts4.5/channel/Spend.d.ts +0 -213
  955. package/types-legacy/ts4.5/channel/handlers.d.ts +0 -21
  956. package/types-legacy/ts4.5/channel/internal.d.ts +0 -232
  957. package/types-legacy/ts4.5/contract/Contract.d.ts +0 -164
  958. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +0 -104
  959. package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +0 -26
  960. package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +0 -13
  961. package/types-legacy/ts4.5/contract/compiler/Http.d.ts +0 -28
  962. package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +0 -15
  963. package/types-legacy/ts4.5/contract/compiler/getFileSystem.d.ts +0 -6
  964. package/types-legacy/ts4.5/contract/delegation-signature.d.ts +0 -45
  965. package/types-legacy/ts4.5/contract/ga.d.ts +0 -59
  966. package/types-legacy/ts4.5/deprecated.d.ts +0 -62
  967. package/types-legacy/ts4.5/index-browser.d.ts +0 -51
  968. package/types-legacy/ts4.5/index.d.ts +0 -5
  969. package/types-legacy/ts4.5/oracle.d.ts +0 -125
  970. package/types-legacy/ts4.5/send-transaction.d.ts +0 -53
  971. package/types-legacy/ts4.5/spend.d.ts +0 -56
  972. package/types-legacy/ts4.5/tx/builder/SchemaTypes.d.ts +0 -37
  973. package/types-legacy/ts4.5/tx/builder/common.d.ts +0 -32
  974. package/types-legacy/ts4.5/tx/builder/constants.d.ts +0 -100
  975. package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +0 -20
  976. package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +0 -136
  977. package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +0 -141
  978. package/types-legacy/ts4.5/tx/builder/field-types/abi-version.d.ts +0 -19
  979. package/types-legacy/ts4.5/tx/builder/field-types/address.d.ts +0 -21
  980. package/types-legacy/ts4.5/tx/builder/field-types/array.d.ts +0 -7
  981. package/types-legacy/ts4.5/tx/builder/field-types/boolean.d.ts +0 -6
  982. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +0 -11
  983. package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +0 -72
  984. package/types-legacy/ts4.5/tx/builder/field-types/encoded.d.ts +0 -6
  985. package/types-legacy/ts4.5/tx/builder/field-types/entry.d.ts +0 -11
  986. package/types-legacy/ts4.5/tx/builder/field-types/enumeration.d.ts +0 -7
  987. package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +0 -30
  988. package/types-legacy/ts4.5/tx/builder/field-types/field.d.ts +0 -6
  989. package/types-legacy/ts4.5/tx/builder/field-types/gas-limit.d.ts +0 -16
  990. package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +0 -17
  991. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +0 -45
  992. package/types-legacy/ts4.5/tx/builder/field-types/map.d.ts +0 -13
  993. package/types-legacy/ts4.5/tx/builder/field-types/mptree.d.ts +0 -48
  994. package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +0 -18
  995. package/types-legacy/ts4.5/tx/builder/field-types/name-id.d.ts +0 -11
  996. package/types-legacy/ts4.5/tx/builder/field-types/name.d.ts +0 -13
  997. package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +0 -15
  998. package/types-legacy/ts4.5/tx/builder/field-types/pointers.d.ts +0 -26
  999. package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +0 -26
  1000. package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +0 -19
  1001. package/types-legacy/ts4.5/tx/builder/field-types/raw.d.ts +0 -6
  1002. package/types-legacy/ts4.5/tx/builder/field-types/short-u-int-const.d.ts +0 -7
  1003. package/types-legacy/ts4.5/tx/builder/field-types/short-u-int.d.ts +0 -6
  1004. package/types-legacy/ts4.5/tx/builder/field-types/string.d.ts +0 -6
  1005. package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +0 -20
  1006. package/types-legacy/ts4.5/tx/builder/field-types/u-int.d.ts +0 -7
  1007. package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +0 -7
  1008. package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +0 -7
  1009. package/types-legacy/ts4.5/tx/builder/field-types/wrapped.d.ts +0 -14
  1010. package/types-legacy/ts4.5/tx/builder/helpers.d.ts +0 -119
  1011. package/types-legacy/ts4.5/tx/builder/index.d.ts +0 -62
  1012. package/types-legacy/ts4.5/tx/builder/schema.d.ts +0 -3256
  1013. package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +0 -2047
  1014. package/types-legacy/ts4.5/tx/execution-cost.d.ts +0 -53
  1015. package/types-legacy/ts4.5/tx/transaction-signer.d.ts +0 -6
  1016. package/types-legacy/ts4.5/tx/validator.d.ts +0 -18
  1017. package/types-legacy/ts4.5/utils/amount-formatter.d.ts +0 -41
  1018. package/types-legacy/ts4.5/utils/autorest.d.ts +0 -7
  1019. package/types-legacy/ts4.5/utils/bignumber.d.ts +0 -13
  1020. package/types-legacy/ts4.5/utils/bytes.d.ts +0 -9
  1021. package/types-legacy/ts4.5/utils/crypto.d.ts +0 -100
  1022. package/types-legacy/ts4.5/utils/encoder-types.d.ts +0 -61
  1023. package/types-legacy/ts4.5/utils/encoder.d.ts +0 -24
  1024. package/types-legacy/ts4.5/utils/errors.d.ts +0 -464
  1025. package/types-legacy/ts4.5/utils/hd-wallet.d.ts +0 -68
  1026. package/types-legacy/ts4.5/utils/json-big.d.ts +0 -5
  1027. package/types-legacy/ts4.5/utils/jwt.d.ts +0 -53
  1028. package/types-legacy/ts4.5/utils/keystore.d.ts +0 -57
  1029. package/types-legacy/ts4.5/utils/other.d.ts +0 -32
  1030. package/types-legacy/ts4.5/utils/semver-satisfies.d.ts +0 -1
  1031. package/types-legacy/ts4.5/utils/string.d.ts +0 -12
  1032. package/types-legacy/ts4.5/utils/typed-data.d.ts +0 -58
  1033. package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +0 -2
  1034. /package/dist/{aepp-sdk.browser.js.LICENSE.txt → aepp-sdk.browser.cjs.LICENSE.txt} +0 -0
@@ -1,163 +1,46 @@
1
1
  /**
2
2
  * Transaction Schema for TxBuilder
3
3
  */
4
- /// <reference types="node" />
5
- import { Tag } from './constants';
6
- import SchemaTypes from './SchemaTypes';
7
- import { Encoded } from '../../utils/encoder';
4
+ import { Tag } from './constants.js';
5
+ import SchemaTypes from './SchemaTypes.js';
6
+ import coinAmount from './field-types/coin-amount.js';
7
+ import { Encoded, Encoding } from '../../utils/encoder.js';
8
+ import { EntryTag } from './entry/constants.js';
9
+ import { EntParams, EntUnpacked } from './entry/schema.generated.js';
10
+ /**
11
+ * @category oracle
12
+ */
8
13
  export declare enum ORACLE_TTL_TYPES {
9
14
  delta = 0,
10
15
  block = 1
11
16
  }
12
- export declare enum CallReturnType {
13
- Ok = 0,
14
- Error = 1,
15
- Revert = 2
16
- }
17
- interface EntryAny {
17
+ interface TransactionAny {
18
18
  serialize: (value: TxParams | Uint8Array | Encoded.Transaction) => Buffer;
19
19
  deserialize: (value: Buffer) => TxUnpacked;
20
20
  recursiveType: true;
21
21
  }
22
- interface EntrySignedTx {
23
- serialize: (value: TxParams & {
22
+ interface TransactionSignedTx {
23
+ serialize: (value: (TxParams & {
24
24
  tag: Tag.SignedTx;
25
- } | Uint8Array | Encoded.Transaction) => Buffer;
25
+ }) | Uint8Array | Encoded.Transaction) => Buffer;
26
26
  deserialize: (value: Buffer) => TxUnpacked & {
27
27
  tag: Tag.SignedTx;
28
28
  };
29
29
  recursiveType: true;
30
30
  }
31
- interface EntryMtreeValueArray {
32
- serialize: (value: Array<TxParams & {
33
- tag: Tag.MtreeValue;
34
- } | Uint8Array | Encoded.Transaction>) => Buffer[];
35
- deserialize: (value: Buffer[]) => Array<TxUnpacked & {
36
- tag: Tag.MtreeValue;
37
- }>;
38
- recursiveType: true;
39
- }
40
31
  interface EntryTreesPoi {
41
- serialize: (value: TxParams & {
42
- tag: Tag.TreesPoi;
43
- } | Uint8Array | Encoded.Transaction) => Buffer;
44
- deserialize: (value: Buffer) => TxUnpacked & {
45
- tag: Tag.TreesPoi;
32
+ serialize: (value: (EntParams & {
33
+ tag: EntryTag.TreesPoi;
34
+ }) | Uint8Array | Encoded.Transaction) => Buffer;
35
+ deserialize: (value: Buffer) => EntUnpacked & {
36
+ tag: EntryTag.TreesPoi;
46
37
  };
47
38
  recursiveType: true;
48
39
  }
49
- interface MapContracts {
50
- serialize: (value: Record<Encoded.ContractAddress, TxParams & {
51
- tag: Tag.Contract;
52
- }>) => Buffer;
53
- deserialize: (value: Buffer) => Record<Encoded.ContractAddress, TxUnpacked & {
54
- tag: Tag.Contract;
55
- }>;
56
- recursiveType: true;
57
- }
58
- interface MapAccounts {
59
- serialize: (value: Record<Encoded.AccountAddress, TxParams & {
60
- tag: Tag.Account;
61
- }>) => Buffer;
62
- deserialize: (value: Buffer) => Record<Encoded.AccountAddress, TxUnpacked & {
63
- tag: Tag.Account;
64
- }>;
65
- recursiveType: true;
66
- }
67
- interface MapCalls {
68
- serialize: (value: Record<Encoded.Bytearray, TxParams & {
69
- tag: Tag.ContractCall;
70
- }>) => Buffer;
71
- deserialize: (value: Buffer) => Record<Encoded.Bytearray, TxUnpacked & {
72
- tag: Tag.ContractCall;
73
- }>;
74
- recursiveType: true;
75
- }
76
- interface MapChannels {
77
- serialize: (value: Record<Encoded.Channel, TxParams & {
78
- tag: Tag.Channel;
79
- }>) => Buffer;
80
- deserialize: (value: Buffer) => Record<Encoded.Channel, TxUnpacked & {
81
- tag: Tag.Channel;
82
- }>;
83
- recursiveType: true;
84
- }
85
- interface MapNames {
86
- serialize: (value: Record<Encoded.Name, TxParams & {
87
- tag: Tag.Name;
88
- }>) => Buffer;
89
- deserialize: (value: Buffer) => Record<Encoded.Name, TxUnpacked & {
90
- tag: Tag.Name;
91
- }>;
92
- recursiveType: true;
93
- }
94
- interface MapOracles {
95
- serialize: (value: Record<Encoded.OracleAddress, TxParams & {
96
- tag: Tag.Oracle;
97
- }>) => Buffer;
98
- deserialize: (value: Buffer) => Record<Encoded.OracleAddress, TxUnpacked & {
99
- tag: Tag.Oracle;
100
- }>;
101
- recursiveType: true;
102
- }
103
40
  /**
104
41
  * @see {@link https://github.com/aeternity/protocol/blob/c007deeac4a01e401238412801ac7084ac72d60e/serializations.md#accounts-version-1-basic-accounts}
105
42
  */
106
43
  export declare const txSchema: readonly [{
107
- readonly tag: {
108
- serialize: (value: Tag.Account) => Buffer;
109
- deserialize: (value: Buffer) => Tag.Account;
110
- constValue: Tag.Account;
111
- constValueOptional: boolean;
112
- };
113
- readonly version: {
114
- serialize: (value: 1) => Buffer;
115
- deserialize: (value: Buffer) => 1;
116
- constValue: 1;
117
- constValueOptional: boolean;
118
- };
119
- readonly nonce: {
120
- serialize(value: number): Buffer;
121
- deserialize(value: Buffer): number;
122
- };
123
- readonly balance: {
124
- serialize(value: import("./constants").Int): Buffer;
125
- deserialize(value: Buffer): string;
126
- };
127
- }, {
128
- readonly tag: {
129
- serialize: (value: Tag.Account) => Buffer;
130
- deserialize: (value: Buffer) => Tag.Account;
131
- constValue: Tag.Account;
132
- constValueOptional: boolean;
133
- };
134
- readonly version: {
135
- serialize: (value?: 2 | undefined) => Buffer;
136
- deserialize: (value: Buffer) => 2;
137
- constValue: 2;
138
- constValueOptional: boolean;
139
- };
140
- readonly flags: {
141
- serialize(value: import("./constants").Int): Buffer;
142
- deserialize(value: Buffer): string;
143
- };
144
- readonly nonce: {
145
- serialize(value: number): Buffer;
146
- deserialize(value: Buffer): number;
147
- };
148
- readonly balance: {
149
- serialize(value: import("./constants").Int): Buffer;
150
- deserialize(value: Buffer): string;
151
- };
152
- readonly gaContract: {
153
- serialize: (value: `ct_${string}` | `nm_${string}`) => Buffer;
154
- deserialize: (value: Buffer) => `ct_${string}` | `nm_${string}`;
155
- };
156
- readonly gaAuthFun: {
157
- serialize: (value: `cb_${string}`) => Buffer;
158
- deserialize: (value: Buffer) => `cb_${string}`;
159
- };
160
- }, {
161
44
  readonly tag: {
162
45
  serialize: (value: Tag.SignedTx) => Buffer;
163
46
  deserialize: (value: Buffer) => Tag.SignedTx;
@@ -174,7 +57,7 @@ export declare const txSchema: readonly [{
174
57
  serialize: (value: readonly Uint8Array[], params: unknown) => Buffer[];
175
58
  deserialize: (value: Buffer[], params: unknown) => Buffer[];
176
59
  };
177
- readonly encodedTx: EntryAny;
60
+ readonly encodedTx: TransactionAny;
178
61
  }, {
179
62
  readonly tag: {
180
63
  serialize: (value: Tag.SpendTx) => Buffer;
@@ -198,46 +81,42 @@ export declare const txSchema: readonly [{
198
81
  };
199
82
  readonly amount: {
200
83
  serializeAettos(value: string | undefined, params: {}, options: {}): string;
201
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
202
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
84
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
85
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
203
86
  }): Buffer;
204
87
  deserialize(value: Buffer): string;
205
88
  };
206
89
  readonly fee: {
207
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
208
- onNode?: import("../..").Node | undefined;
209
- }): Promise<import("./constants").Int | undefined>;
210
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
211
- _canIncreaseFee?: boolean | undefined;
90
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
91
+ onNode?: import("../../Node.js").default;
92
+ }): Promise<import("./constants.js").Int | undefined>;
93
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
94
+ _canIncreaseFee?: boolean;
212
95
  }): string;
213
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
214
- _canIncreaseFee?: boolean | undefined;
215
- } & {
216
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
217
- }): Buffer;
96
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
97
+ _canIncreaseFee?: boolean;
98
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
218
99
  deserialize(value: Buffer): string;
219
100
  };
220
101
  readonly ttl: {
221
102
  serialize(value: number | undefined): Buffer;
222
103
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
223
- onNode?: import("../..").Node | undefined;
224
- absoluteTtl?: boolean | undefined;
225
- _isInternalBuild?: boolean | undefined;
226
- } & Omit<{
227
- _expectedMineRate?: number | undefined;
228
- _microBlockCycle?: number | undefined;
229
- onNode: import("../..").Node;
230
- }, "onNode">): Promise<number | undefined>;
104
+ onNode?: import("../../Node.js").default;
105
+ absoluteTtl?: boolean;
106
+ _isInternalBuild?: boolean;
107
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
231
108
  deserialize(value: Buffer): number;
232
109
  };
233
110
  readonly nonce: {
234
- serialize: (value: number) => Buffer;
111
+ serialize: (value: number, params: {
112
+ tag: Tag;
113
+ }) => Buffer;
235
114
  prepare: (value: number | undefined, params: {}, options: {
236
115
  senderId: string;
237
116
  } & {
238
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
239
- onNode?: import("../..").Node | undefined;
240
- _isInternalBuild?: boolean | undefined;
117
+ strategy?: import("../../apis/node/index.js").Enum1;
118
+ onNode?: import("../../Node.js").default;
119
+ _isInternalBuild?: boolean;
241
120
  }) => Promise<number>;
242
121
  deserialize: (value: Buffer) => number;
243
122
  senderKey: string;
@@ -246,43 +125,6 @@ export declare const txSchema: readonly [{
246
125
  serialize: (value?: `ba_${string}` | undefined) => Buffer;
247
126
  deserialize: (value: Buffer) => `ba_${string}`;
248
127
  };
249
- }, {
250
- readonly tag: {
251
- serialize: (value: Tag.Name) => Buffer;
252
- deserialize: (value: Buffer) => Tag.Name;
253
- constValue: Tag.Name;
254
- constValueOptional: boolean;
255
- };
256
- readonly version: {
257
- serialize: (value?: 1 | undefined) => Buffer;
258
- deserialize: (value: Buffer) => 1;
259
- constValue: 1;
260
- constValueOptional: boolean;
261
- };
262
- readonly accountId: {
263
- serialize: (value: `ak_${string}`) => Buffer;
264
- deserialize: (value: Buffer) => `ak_${string}`;
265
- };
266
- readonly nameTtl: {
267
- serialize(value: number): Buffer;
268
- deserialize(value: Buffer): number;
269
- };
270
- readonly status: {
271
- serialize(buffer: Uint8Array): Buffer;
272
- deserialize(buffer: Buffer): Buffer;
273
- };
274
- readonly clientTtl: {
275
- serialize(value: number): Buffer;
276
- deserialize(value: Buffer): number;
277
- };
278
- readonly pointers: {
279
- serialize(pointers: (import("../../apis/node").NamePointer & {
280
- id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
281
- })[]): Buffer[][];
282
- deserialize(pointers: [key: Buffer, id: Buffer][]): (import("../../apis/node").NamePointer & {
283
- id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
284
- })[];
285
- };
286
128
  }, {
287
129
  readonly tag: {
288
130
  serialize: (value: Tag.NamePreclaimTx) => Buffer;
@@ -301,13 +143,15 @@ export declare const txSchema: readonly [{
301
143
  deserialize: (value: Buffer) => `ak_${string}`;
302
144
  };
303
145
  readonly nonce: {
304
- serialize: (value: number) => Buffer;
146
+ serialize: (value: number, params: {
147
+ tag: Tag;
148
+ }) => Buffer;
305
149
  prepare: (value: number | undefined, params: {}, options: {
306
150
  accountId: string;
307
151
  } & {
308
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
309
- onNode?: import("../..").Node | undefined;
310
- _isInternalBuild?: boolean | undefined;
152
+ strategy?: import("../../apis/node/index.js").Enum1;
153
+ onNode?: import("../../Node.js").default;
154
+ _isInternalBuild?: boolean;
311
155
  }) => Promise<number>;
312
156
  deserialize: (value: Buffer) => number;
313
157
  senderKey: string;
@@ -317,30 +161,24 @@ export declare const txSchema: readonly [{
317
161
  deserialize: (value: Buffer) => `cm_${string}`;
318
162
  };
319
163
  readonly fee: {
320
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
321
- onNode?: import("../..").Node | undefined;
322
- }): Promise<import("./constants").Int | undefined>;
323
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
324
- _canIncreaseFee?: boolean | undefined;
164
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
165
+ onNode?: import("../../Node.js").default;
166
+ }): Promise<import("./constants.js").Int | undefined>;
167
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
168
+ _canIncreaseFee?: boolean;
325
169
  }): string;
326
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
327
- _canIncreaseFee?: boolean | undefined;
328
- } & {
329
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
330
- }): Buffer;
170
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
171
+ _canIncreaseFee?: boolean;
172
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
331
173
  deserialize(value: Buffer): string;
332
174
  };
333
175
  readonly ttl: {
334
176
  serialize(value: number | undefined): Buffer;
335
177
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
336
- onNode?: import("../..").Node | undefined;
337
- absoluteTtl?: boolean | undefined;
338
- _isInternalBuild?: boolean | undefined;
339
- } & Omit<{
340
- _expectedMineRate?: number | undefined;
341
- _microBlockCycle?: number | undefined;
342
- onNode: import("../..").Node;
343
- }, "onNode">): Promise<number | undefined>;
178
+ onNode?: import("../../Node.js").default;
179
+ absoluteTtl?: boolean;
180
+ _isInternalBuild?: boolean;
181
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
344
182
  deserialize(value: Buffer): number;
345
183
  };
346
184
  }, {
@@ -361,61 +199,55 @@ export declare const txSchema: readonly [{
361
199
  deserialize: (value: Buffer) => `ak_${string}`;
362
200
  };
363
201
  readonly nonce: {
364
- serialize: (value: number) => Buffer;
202
+ serialize: (value: number, params: {
203
+ tag: Tag;
204
+ }) => Buffer;
365
205
  prepare: (value: number | undefined, params: {}, options: {
366
206
  accountId: string;
367
207
  } & {
368
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
369
- onNode?: import("../..").Node | undefined;
370
- _isInternalBuild?: boolean | undefined;
208
+ strategy?: import("../../apis/node/index.js").Enum1;
209
+ onNode?: import("../../Node.js").default;
210
+ _isInternalBuild?: boolean;
371
211
  }) => Promise<number>;
372
212
  deserialize: (value: Buffer) => number;
373
213
  senderKey: string;
374
214
  };
375
215
  readonly name: {
376
- serialize(value: `${string}.chain`): Buffer;
377
- deserialize(value: Buffer): `${string}.chain`;
216
+ serialize(value: import("./constants.js").AensName): Buffer;
217
+ deserialize(value: Buffer): import("./constants.js").AensName;
378
218
  };
379
219
  readonly nameSalt: {
380
- serialize(value: import("./constants").Int): Buffer;
381
- deserialize(value: Buffer): string;
220
+ serialize: (value: import("./constants.js").Int | undefined, params: unknown) => Buffer;
221
+ deserialize: (value: Buffer, params: unknown) => string;
382
222
  };
383
223
  readonly nameFee: {
384
224
  serializeAettos(_value: string | undefined, txFields: {
385
- name: `${string}.chain`;
225
+ name: import("./constants.js").AensName;
386
226
  }): string;
387
- serialize(value: import("./constants").Int | undefined, txFields: {
388
- name: `${string}.chain`;
389
- }, parameters: {
390
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
391
- }): Buffer;
227
+ serialize(value: import("./constants.js").Int | undefined, txFields: {
228
+ name: import("./constants.js").AensName;
229
+ } & Parameters<(typeof coinAmount)["serialize"]>[1], parameters: Parameters<(typeof coinAmount)["serialize"]>[2]): Buffer;
392
230
  deserialize(value: Buffer): string;
393
231
  };
394
232
  readonly fee: {
395
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
396
- onNode?: import("../..").Node | undefined;
397
- }): Promise<import("./constants").Int | undefined>;
398
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
399
- _canIncreaseFee?: boolean | undefined;
233
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
234
+ onNode?: import("../../Node.js").default;
235
+ }): Promise<import("./constants.js").Int | undefined>;
236
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
237
+ _canIncreaseFee?: boolean;
400
238
  }): string;
401
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
402
- _canIncreaseFee?: boolean | undefined;
403
- } & {
404
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
405
- }): Buffer;
239
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
240
+ _canIncreaseFee?: boolean;
241
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
406
242
  deserialize(value: Buffer): string;
407
243
  };
408
244
  readonly ttl: {
409
245
  serialize(value: number | undefined): Buffer;
410
246
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
411
- onNode?: import("../..").Node | undefined;
412
- absoluteTtl?: boolean | undefined;
413
- _isInternalBuild?: boolean | undefined;
414
- } & Omit<{
415
- _expectedMineRate?: number | undefined;
416
- _microBlockCycle?: number | undefined;
417
- onNode: import("../..").Node;
418
- }, "onNode">): Promise<number | undefined>;
247
+ onNode?: import("../../Node.js").default;
248
+ absoluteTtl?: boolean;
249
+ _isInternalBuild?: boolean;
250
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
419
251
  deserialize(value: Buffer): number;
420
252
  };
421
253
  }, {
@@ -436,19 +268,21 @@ export declare const txSchema: readonly [{
436
268
  deserialize: (value: Buffer) => `ak_${string}`;
437
269
  };
438
270
  readonly nonce: {
439
- serialize: (value: number) => Buffer;
271
+ serialize: (value: number, params: {
272
+ tag: Tag;
273
+ }) => Buffer;
440
274
  prepare: (value: number | undefined, params: {}, options: {
441
275
  accountId: string;
442
276
  } & {
443
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
444
- onNode?: import("../..").Node | undefined;
445
- _isInternalBuild?: boolean | undefined;
277
+ strategy?: import("../../apis/node/index.js").Enum1;
278
+ onNode?: import("../../Node.js").default;
279
+ _isInternalBuild?: boolean;
446
280
  }) => Promise<number>;
447
281
  deserialize: (value: Buffer) => number;
448
282
  senderKey: string;
449
283
  };
450
284
  readonly nameId: {
451
- serialize(value: `${string}.chain` | `nm_${string}`): Buffer;
285
+ serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
452
286
  deserialize: (value: Buffer) => `nm_${string}`;
453
287
  };
454
288
  readonly nameTtl: {
@@ -456,11 +290,11 @@ export declare const txSchema: readonly [{
456
290
  deserialize: (value: Buffer) => number;
457
291
  };
458
292
  readonly pointers: {
459
- serialize(pointers: (import("../../apis/node").NamePointer & {
460
- id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
461
- })[]): Buffer[][];
462
- deserialize(pointers: [key: Buffer, id: Buffer][]): (import("../../apis/node").NamePointer & {
463
- id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
293
+ serialize: (pointers: (import("../../apis/node/index.js").NamePointer & {
294
+ id: Encoded.Generic<import("./field-types/address.js").AddressEncodings>;
295
+ })[]) => Buffer[][];
296
+ deserialize: (pointers: Array<[key: Buffer, id: Buffer]>) => (import("../../apis/node/index.js").NamePointer & {
297
+ id: Encoded.Generic<import("./field-types/address.js").AddressEncodings>;
464
298
  })[];
465
299
  };
466
300
  readonly clientTtl: {
@@ -468,30 +302,24 @@ export declare const txSchema: readonly [{
468
302
  deserialize: (value: Buffer, params: unknown) => number;
469
303
  };
470
304
  readonly fee: {
471
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
472
- onNode?: import("../..").Node | undefined;
473
- }): Promise<import("./constants").Int | undefined>;
474
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
475
- _canIncreaseFee?: boolean | undefined;
305
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
306
+ onNode?: import("../../Node.js").default;
307
+ }): Promise<import("./constants.js").Int | undefined>;
308
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
309
+ _canIncreaseFee?: boolean;
476
310
  }): string;
477
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
478
- _canIncreaseFee?: boolean | undefined;
479
- } & {
480
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
481
- }): Buffer;
311
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
312
+ _canIncreaseFee?: boolean;
313
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
482
314
  deserialize(value: Buffer): string;
483
315
  };
484
316
  readonly ttl: {
485
317
  serialize(value: number | undefined): Buffer;
486
318
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
487
- onNode?: import("../..").Node | undefined;
488
- absoluteTtl?: boolean | undefined;
489
- _isInternalBuild?: boolean | undefined;
490
- } & Omit<{
491
- _expectedMineRate?: number | undefined;
492
- _microBlockCycle?: number | undefined;
493
- onNode: import("../..").Node;
494
- }, "onNode">): Promise<number | undefined>;
319
+ onNode?: import("../../Node.js").default;
320
+ absoluteTtl?: boolean;
321
+ _isInternalBuild?: boolean;
322
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
495
323
  deserialize(value: Buffer): number;
496
324
  };
497
325
  }, {
@@ -512,19 +340,21 @@ export declare const txSchema: readonly [{
512
340
  deserialize: (value: Buffer) => `ak_${string}`;
513
341
  };
514
342
  readonly nonce: {
515
- serialize: (value: number) => Buffer;
343
+ serialize: (value: number, params: {
344
+ tag: Tag;
345
+ }) => Buffer;
516
346
  prepare: (value: number | undefined, params: {}, options: {
517
347
  accountId: string;
518
348
  } & {
519
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
520
- onNode?: import("../..").Node | undefined;
521
- _isInternalBuild?: boolean | undefined;
349
+ strategy?: import("../../apis/node/index.js").Enum1;
350
+ onNode?: import("../../Node.js").default;
351
+ _isInternalBuild?: boolean;
522
352
  }) => Promise<number>;
523
353
  deserialize: (value: Buffer) => number;
524
354
  senderKey: string;
525
355
  };
526
356
  readonly nameId: {
527
- serialize(value: `${string}.chain` | `nm_${string}`): Buffer;
357
+ serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
528
358
  deserialize: (value: Buffer) => `nm_${string}`;
529
359
  };
530
360
  readonly nameTtl: {
@@ -532,11 +362,11 @@ export declare const txSchema: readonly [{
532
362
  deserialize: (value: Buffer) => number;
533
363
  };
534
364
  readonly pointers: {
535
- serialize(pointers: (import("../../apis/node").NamePointer & {
536
- id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}` | `ba_${string}`;
537
- })[]): Buffer[][];
538
- deserialize(pointers: [key: Buffer, id: Buffer][]): (import("../../apis/node").NamePointer & {
539
- id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}` | `ba_${string}`;
365
+ serialize: (pointers: (import("../../apis/node/index.js").NamePointer & {
366
+ id: Encoded.Generic<import("./field-types/address.js").AddressEncodings | Encoding.Bytearray>;
367
+ })[]) => Buffer[][];
368
+ deserialize: (pointers: Array<[key: Buffer, id: Buffer]>) => (import("../../apis/node/index.js").NamePointer & {
369
+ id: Encoded.Generic<import("./field-types/address.js").AddressEncodings | Encoding.Bytearray>;
540
370
  })[];
541
371
  };
542
372
  readonly clientTtl: {
@@ -544,30 +374,24 @@ export declare const txSchema: readonly [{
544
374
  deserialize: (value: Buffer, params: unknown) => number;
545
375
  };
546
376
  readonly fee: {
547
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
548
- onNode?: import("../..").Node | undefined;
549
- }): Promise<import("./constants").Int | undefined>;
550
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
551
- _canIncreaseFee?: boolean | undefined;
377
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
378
+ onNode?: import("../../Node.js").default;
379
+ }): Promise<import("./constants.js").Int | undefined>;
380
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
381
+ _canIncreaseFee?: boolean;
552
382
  }): string;
553
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
554
- _canIncreaseFee?: boolean | undefined;
555
- } & {
556
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
557
- }): Buffer;
383
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
384
+ _canIncreaseFee?: boolean;
385
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
558
386
  deserialize(value: Buffer): string;
559
387
  };
560
388
  readonly ttl: {
561
389
  serialize(value: number | undefined): Buffer;
562
390
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
563
- onNode?: import("../..").Node | undefined;
564
- absoluteTtl?: boolean | undefined;
565
- _isInternalBuild?: boolean | undefined;
566
- } & Omit<{
567
- _expectedMineRate?: number | undefined;
568
- _microBlockCycle?: number | undefined;
569
- onNode: import("../..").Node;
570
- }, "onNode">): Promise<number | undefined>;
391
+ onNode?: import("../../Node.js").default;
392
+ absoluteTtl?: boolean;
393
+ _isInternalBuild?: boolean;
394
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
571
395
  deserialize(value: Buffer): number;
572
396
  };
573
397
  }, {
@@ -588,19 +412,21 @@ export declare const txSchema: readonly [{
588
412
  deserialize: (value: Buffer) => `ak_${string}`;
589
413
  };
590
414
  readonly nonce: {
591
- serialize: (value: number) => Buffer;
415
+ serialize: (value: number, params: {
416
+ tag: Tag;
417
+ }) => Buffer;
592
418
  prepare: (value: number | undefined, params: {}, options: {
593
419
  accountId: string;
594
420
  } & {
595
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
596
- onNode?: import("../..").Node | undefined;
597
- _isInternalBuild?: boolean | undefined;
421
+ strategy?: import("../../apis/node/index.js").Enum1;
422
+ onNode?: import("../../Node.js").default;
423
+ _isInternalBuild?: boolean;
598
424
  }) => Promise<number>;
599
425
  deserialize: (value: Buffer) => number;
600
426
  senderKey: string;
601
427
  };
602
428
  readonly nameId: {
603
- serialize(value: `${string}.chain` | `nm_${string}`): Buffer;
429
+ serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
604
430
  deserialize: (value: Buffer) => `nm_${string}`;
605
431
  };
606
432
  readonly recipientId: {
@@ -608,30 +434,24 @@ export declare const txSchema: readonly [{
608
434
  deserialize: (value: Buffer) => `ak_${string}` | `nm_${string}`;
609
435
  };
610
436
  readonly fee: {
611
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
612
- onNode?: import("../..").Node | undefined;
613
- }): Promise<import("./constants").Int | undefined>;
614
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
615
- _canIncreaseFee?: boolean | undefined;
437
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
438
+ onNode?: import("../../Node.js").default;
439
+ }): Promise<import("./constants.js").Int | undefined>;
440
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
441
+ _canIncreaseFee?: boolean;
616
442
  }): string;
617
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
618
- _canIncreaseFee?: boolean | undefined;
619
- } & {
620
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
621
- }): Buffer;
443
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
444
+ _canIncreaseFee?: boolean;
445
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
622
446
  deserialize(value: Buffer): string;
623
447
  };
624
448
  readonly ttl: {
625
449
  serialize(value: number | undefined): Buffer;
626
450
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
627
- onNode?: import("../..").Node | undefined;
628
- absoluteTtl?: boolean | undefined;
629
- _isInternalBuild?: boolean | undefined;
630
- } & Omit<{
631
- _expectedMineRate?: number | undefined;
632
- _microBlockCycle?: number | undefined;
633
- onNode: import("../..").Node;
634
- }, "onNode">): Promise<number | undefined>;
451
+ onNode?: import("../../Node.js").default;
452
+ absoluteTtl?: boolean;
453
+ _isInternalBuild?: boolean;
454
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
635
455
  deserialize(value: Buffer): number;
636
456
  };
637
457
  }, {
@@ -652,98 +472,44 @@ export declare const txSchema: readonly [{
652
472
  deserialize: (value: Buffer) => `ak_${string}`;
653
473
  };
654
474
  readonly nonce: {
655
- serialize: (value: number) => Buffer;
475
+ serialize: (value: number, params: {
476
+ tag: Tag;
477
+ }) => Buffer;
656
478
  prepare: (value: number | undefined, params: {}, options: {
657
479
  accountId: string;
658
480
  } & {
659
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
660
- onNode?: import("../..").Node | undefined;
661
- _isInternalBuild?: boolean | undefined;
481
+ strategy?: import("../../apis/node/index.js").Enum1;
482
+ onNode?: import("../../Node.js").default;
483
+ _isInternalBuild?: boolean;
662
484
  }) => Promise<number>;
663
485
  deserialize: (value: Buffer) => number;
664
486
  senderKey: string;
665
487
  };
666
488
  readonly nameId: {
667
- serialize(value: `${string}.chain` | `nm_${string}`): Buffer;
489
+ serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
668
490
  deserialize: (value: Buffer) => `nm_${string}`;
669
491
  };
670
492
  readonly fee: {
671
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
672
- onNode?: import("../..").Node | undefined;
673
- }): Promise<import("./constants").Int | undefined>;
674
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
675
- _canIncreaseFee?: boolean | undefined;
493
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
494
+ onNode?: import("../../Node.js").default;
495
+ }): Promise<import("./constants.js").Int | undefined>;
496
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
497
+ _canIncreaseFee?: boolean;
676
498
  }): string;
677
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
678
- _canIncreaseFee?: boolean | undefined;
679
- } & {
680
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
681
- }): Buffer;
499
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
500
+ _canIncreaseFee?: boolean;
501
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
682
502
  deserialize(value: Buffer): string;
683
503
  };
684
504
  readonly ttl: {
685
505
  serialize(value: number | undefined): Buffer;
686
506
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
687
- onNode?: import("../..").Node | undefined;
688
- absoluteTtl?: boolean | undefined;
689
- _isInternalBuild?: boolean | undefined;
690
- } & Omit<{
691
- _expectedMineRate?: number | undefined;
692
- _microBlockCycle?: number | undefined;
693
- onNode: import("../..").Node;
694
- }, "onNode">): Promise<number | undefined>;
507
+ onNode?: import("../../Node.js").default;
508
+ absoluteTtl?: boolean;
509
+ _isInternalBuild?: boolean;
510
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
695
511
  deserialize(value: Buffer): number;
696
512
  };
697
- }, {
698
- readonly tag: {
699
- serialize: (value: Tag.Contract) => Buffer;
700
- deserialize: (value: Buffer) => Tag.Contract;
701
- constValue: Tag.Contract;
702
- constValueOptional: boolean;
703
- };
704
- readonly version: {
705
- serialize: (value?: 1 | undefined) => Buffer;
706
- deserialize: (value: Buffer) => 1;
707
- constValue: 1;
708
- constValueOptional: boolean;
709
- };
710
- readonly owner: {
711
- serialize: (value: `ak_${string}`) => Buffer;
712
- deserialize: (value: Buffer) => `ak_${string}`;
713
- };
714
- readonly ctVersion: {
715
- serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
716
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
717
- }): Buffer;
718
- prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
719
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
720
- onNode?: import("../..").Node | undefined;
721
- }): Promise<import("./field-types/ct-version").CtVersion | undefined>;
722
- deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
723
- };
724
- readonly code: {
725
- serialize: (value: `cb_${string}`) => Buffer;
726
- deserialize: (value: Buffer) => `cb_${string}`;
727
- };
728
- readonly log: {
729
- serialize: (value: `cb_${string}`) => Buffer;
730
- deserialize: (value: Buffer) => `cb_${string}`;
731
- };
732
- readonly active: {
733
- serialize(value: boolean): Buffer;
734
- deserialize(buffer: Buffer): boolean;
735
- };
736
- readonly referers: {
737
- serialize: (value: readonly `ak_${string}`[], params: unknown) => Buffer[];
738
- deserialize: (value: Buffer[], params: unknown) => `ak_${string}`[];
739
- };
740
- readonly deposit: {
741
- serializeAettos(value: string | undefined, params: {}, options: {}): string;
742
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
743
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
744
- }): Buffer;
745
- deserialize(value: Buffer): string;
746
- };
747
513
  }, {
748
514
  readonly tag: {
749
515
  serialize: (value: Tag.ContractCreateTx) => Buffer;
@@ -762,13 +528,15 @@ export declare const txSchema: readonly [{
762
528
  deserialize: (value: Buffer) => `ak_${string}`;
763
529
  };
764
530
  readonly nonce: {
765
- serialize: (value: number) => Buffer;
531
+ serialize: (value: number, params: {
532
+ tag: Tag;
533
+ }) => Buffer;
766
534
  prepare: (value: number | undefined, params: {}, options: {
767
535
  ownerId: string;
768
536
  } & {
769
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
770
- onNode?: import("../..").Node | undefined;
771
- _isInternalBuild?: boolean | undefined;
537
+ strategy?: import("../../apis/node/index.js").Enum1;
538
+ onNode?: import("../../Node.js").default;
539
+ _isInternalBuild?: boolean;
772
540
  }) => Promise<number>;
773
541
  deserialize: (value: Buffer) => number;
774
542
  senderKey: string;
@@ -778,52 +546,46 @@ export declare const txSchema: readonly [{
778
546
  deserialize: (value: Buffer) => `cb_${string}`;
779
547
  };
780
548
  readonly ctVersion: {
781
- serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
782
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
549
+ serialize(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, { consensusProtocolVersion, }: {
550
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
783
551
  }): Buffer;
784
- prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
785
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
786
- onNode?: import("../..").Node | undefined;
787
- }): Promise<import("./field-types/ct-version").CtVersion | undefined>;
788
- deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
552
+ prepare(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, options: {
553
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
554
+ onNode?: import("../../Node.js").default;
555
+ }): Promise<import("./field-types/ct-version.js").CtVersion | undefined>;
556
+ deserialize(buffer: Buffer): import("./field-types/ct-version.js").CtVersion;
789
557
  };
790
558
  readonly fee: {
791
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
792
- onNode?: import("../..").Node | undefined;
793
- }): Promise<import("./constants").Int | undefined>;
794
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
795
- _canIncreaseFee?: boolean | undefined;
559
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
560
+ onNode?: import("../../Node.js").default;
561
+ }): Promise<import("./constants.js").Int | undefined>;
562
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
563
+ _canIncreaseFee?: boolean;
796
564
  }): string;
797
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
798
- _canIncreaseFee?: boolean | undefined;
799
- } & {
800
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
801
- }): Buffer;
565
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
566
+ _canIncreaseFee?: boolean;
567
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
802
568
  deserialize(value: Buffer): string;
803
569
  };
804
570
  readonly ttl: {
805
571
  serialize(value: number | undefined): Buffer;
806
572
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
807
- onNode?: import("../..").Node | undefined;
808
- absoluteTtl?: boolean | undefined;
809
- _isInternalBuild?: boolean | undefined;
810
- } & Omit<{
811
- _expectedMineRate?: number | undefined;
812
- _microBlockCycle?: number | undefined;
813
- onNode: import("../..").Node;
814
- }, "onNode">): Promise<number | undefined>;
573
+ onNode?: import("../../Node.js").default;
574
+ absoluteTtl?: boolean;
575
+ _isInternalBuild?: boolean;
576
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
815
577
  deserialize(value: Buffer): number;
816
578
  };
817
579
  readonly deposit: {
818
- serialize: (value: import("./constants").Int | undefined, params: {}, options: {
819
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
580
+ serialize: (value: import("./constants.js").Int | undefined, params: {}, options: {
581
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
820
582
  }) => Buffer;
821
583
  deserialize: (value: Buffer) => string;
822
584
  };
823
585
  readonly amount: {
824
586
  serializeAettos(value: string | undefined, params: {}, options: {}): string;
825
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
826
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
587
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
588
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
827
589
  }): Buffer;
828
590
  deserialize(value: Buffer): string;
829
591
  };
@@ -831,22 +593,22 @@ export declare const txSchema: readonly [{
831
593
  serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
832
594
  tag: Tag;
833
595
  rebuildTx: (params: any) => any;
834
- unpackTx: typeof import(".").unpackTx;
835
- buildTx: typeof import(".").buildTx;
836
- _computingGasLimit?: number | undefined;
596
+ unpackTx: typeof import("./index.js").unpackTx;
597
+ buildTx: typeof import("./index.js").buildTx;
598
+ _computingGasLimit?: number;
837
599
  }, { gasMax }: {
838
- gasMax?: number | undefined;
600
+ gasMax?: number;
839
601
  }): Buffer;
840
602
  deserialize(value: Buffer): number;
841
603
  };
842
604
  readonly gasPrice: {
843
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
844
- onNode?: import("../..").Node | undefined;
845
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
846
- }): Promise<import("./constants").Int | undefined>;
605
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
606
+ onNode?: import("../../Node.js").default;
607
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
608
+ }): Promise<import("./constants.js").Int | undefined>;
847
609
  serializeAettos(value?: string | undefined): string;
848
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
849
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
610
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
611
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
850
612
  }): Buffer;
851
613
  deserialize(value: Buffer): string;
852
614
  };
@@ -872,13 +634,15 @@ export declare const txSchema: readonly [{
872
634
  deserialize: (value: Buffer) => `ak_${string}`;
873
635
  };
874
636
  readonly nonce: {
875
- serialize: (value: number) => Buffer;
637
+ serialize: (value: number, params: {
638
+ tag: Tag;
639
+ }) => Buffer;
876
640
  prepare: (value: number | undefined, params: {}, options: {
877
641
  callerId: string;
878
642
  } & {
879
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
880
- onNode?: import("../..").Node | undefined;
881
- _isInternalBuild?: boolean | undefined;
643
+ strategy?: import("../../apis/node/index.js").Enum1;
644
+ onNode?: import("../../Node.js").default;
645
+ _isInternalBuild?: boolean;
882
646
  }) => Promise<number>;
883
647
  deserialize: (value: Buffer) => number;
884
648
  senderKey: string;
@@ -888,51 +652,45 @@ export declare const txSchema: readonly [{
888
652
  deserialize: (value: Buffer) => `ct_${string}` | `nm_${string}`;
889
653
  };
890
654
  readonly abiVersion: {
891
- _getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
892
- serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
655
+ _getProtocolDetails(c: import("./constants.js").ConsensusProtocolVersion, tag: Tag): import("./constants.js").AbiVersion;
656
+ serialize(value: import("./constants.js").AbiVersion | undefined, { tag }: {
893
657
  tag: Tag;
894
- }, { consensusProtocolVersion }: {
895
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
658
+ }, { consensusProtocolVersion, }: {
659
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
896
660
  }): Buffer;
897
- prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
661
+ prepare(value: import("./constants.js").AbiVersion | undefined, { tag }: {
898
662
  tag: Tag;
899
663
  }, options: {
900
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
901
- onNode?: import("../..").Node | undefined;
902
- }): Promise<import("./constants").AbiVersion | undefined>;
903
- deserialize(buffer: Buffer): import("./constants").AbiVersion;
664
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
665
+ onNode?: import("../../Node.js").default;
666
+ }): Promise<import("./constants.js").AbiVersion | undefined>;
667
+ deserialize(buffer: Buffer): import("./constants.js").AbiVersion;
904
668
  };
905
669
  readonly fee: {
906
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
907
- onNode?: import("../..").Node | undefined;
908
- }): Promise<import("./constants").Int | undefined>;
909
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
910
- _canIncreaseFee?: boolean | undefined;
670
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
671
+ onNode?: import("../../Node.js").default;
672
+ }): Promise<import("./constants.js").Int | undefined>;
673
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
674
+ _canIncreaseFee?: boolean;
911
675
  }): string;
912
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
913
- _canIncreaseFee?: boolean | undefined;
914
- } & {
915
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
916
- }): Buffer;
676
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
677
+ _canIncreaseFee?: boolean;
678
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
917
679
  deserialize(value: Buffer): string;
918
680
  };
919
681
  readonly ttl: {
920
682
  serialize(value: number | undefined): Buffer;
921
683
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
922
- onNode?: import("../..").Node | undefined;
923
- absoluteTtl?: boolean | undefined;
924
- _isInternalBuild?: boolean | undefined;
925
- } & Omit<{
926
- _expectedMineRate?: number | undefined;
927
- _microBlockCycle?: number | undefined;
928
- onNode: import("../..").Node;
929
- }, "onNode">): Promise<number | undefined>;
684
+ onNode?: import("../../Node.js").default;
685
+ absoluteTtl?: boolean;
686
+ _isInternalBuild?: boolean;
687
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
930
688
  deserialize(value: Buffer): number;
931
689
  };
932
690
  readonly amount: {
933
691
  serializeAettos(value: string | undefined, params: {}, options: {}): string;
934
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
935
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
692
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
693
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
936
694
  }): Buffer;
937
695
  deserialize(value: Buffer): string;
938
696
  };
@@ -940,22 +698,22 @@ export declare const txSchema: readonly [{
940
698
  serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
941
699
  tag: Tag;
942
700
  rebuildTx: (params: any) => any;
943
- unpackTx: typeof import(".").unpackTx;
944
- buildTx: typeof import(".").buildTx;
945
- _computingGasLimit?: number | undefined;
701
+ unpackTx: typeof import("./index.js").unpackTx;
702
+ buildTx: typeof import("./index.js").buildTx;
703
+ _computingGasLimit?: number;
946
704
  }, { gasMax }: {
947
- gasMax?: number | undefined;
705
+ gasMax?: number;
948
706
  }): Buffer;
949
707
  deserialize(value: Buffer): number;
950
708
  };
951
709
  readonly gasPrice: {
952
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
953
- onNode?: import("../..").Node | undefined;
954
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
955
- }): Promise<import("./constants").Int | undefined>;
710
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
711
+ onNode?: import("../../Node.js").default;
712
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
713
+ }): Promise<import("./constants.js").Int | undefined>;
956
714
  serializeAettos(value?: string | undefined): string;
957
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
958
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
715
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
716
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
959
717
  }): Buffer;
960
718
  deserialize(value: Buffer): string;
961
719
  };
@@ -963,106 +721,6 @@ export declare const txSchema: readonly [{
963
721
  serialize: (value: `cb_${string}`) => Buffer;
964
722
  deserialize: (value: Buffer) => `cb_${string}`;
965
723
  };
966
- }, {
967
- readonly tag: {
968
- serialize: (value: Tag.ContractCall) => Buffer;
969
- deserialize: (value: Buffer) => Tag.ContractCall;
970
- constValue: Tag.ContractCall;
971
- constValueOptional: boolean;
972
- };
973
- readonly version: {
974
- serialize: (value?: 2 | undefined) => Buffer;
975
- deserialize: (value: Buffer) => 2;
976
- constValue: 2;
977
- constValueOptional: boolean;
978
- };
979
- readonly callerId: {
980
- serialize: (value: `ak_${string}`) => Buffer;
981
- deserialize: (value: Buffer) => `ak_${string}`;
982
- };
983
- readonly callerNonce: {
984
- serialize(value: number): Buffer;
985
- deserialize(value: Buffer): number;
986
- };
987
- readonly height: {
988
- serialize(value: number): Buffer;
989
- deserialize(value: Buffer): number;
990
- };
991
- readonly contractId: {
992
- serialize: (value: `ct_${string}`) => Buffer;
993
- deserialize: (value: Buffer) => `ct_${string}`;
994
- };
995
- readonly gasPrice: {
996
- serialize(value: import("./constants").Int): Buffer;
997
- deserialize(value: Buffer): string;
998
- };
999
- readonly gasUsed: {
1000
- serialize(value: number): Buffer;
1001
- deserialize(value: Buffer): number;
1002
- };
1003
- readonly returnValue: {
1004
- serialize: (value: `cb_${string}`) => Buffer;
1005
- deserialize: (value: Buffer) => `cb_${string}`;
1006
- };
1007
- readonly returnType: {
1008
- serialize: (value: CallReturnType) => Buffer;
1009
- deserialize: (value: Buffer) => CallReturnType;
1010
- };
1011
- readonly log: {
1012
- serialize: (value: readonly Uint8Array[], params: unknown) => Buffer[];
1013
- deserialize: (value: Buffer[], params: unknown) => Buffer[];
1014
- };
1015
- }, {
1016
- readonly tag: {
1017
- serialize: (value: Tag.Oracle) => Buffer;
1018
- deserialize: (value: Buffer) => Tag.Oracle;
1019
- constValue: Tag.Oracle;
1020
- constValueOptional: boolean;
1021
- };
1022
- readonly version: {
1023
- serialize: (value?: 1 | undefined) => Buffer;
1024
- deserialize: (value: Buffer) => 1;
1025
- constValue: 1;
1026
- constValueOptional: boolean;
1027
- };
1028
- readonly accountId: {
1029
- serialize: (value: `ak_${string}`) => Buffer;
1030
- deserialize: (value: Buffer) => `ak_${string}`;
1031
- };
1032
- readonly queryFormat: {
1033
- serialize(string: string): Buffer;
1034
- deserialize(buffer: Buffer): string;
1035
- };
1036
- readonly responseFormat: {
1037
- serialize(string: string): Buffer;
1038
- deserialize(buffer: Buffer): string;
1039
- };
1040
- readonly queryFee: {
1041
- serializeAettos(value: string | undefined, params: {}, options: {}): string;
1042
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
1043
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1044
- }): Buffer;
1045
- deserialize(value: Buffer): string;
1046
- };
1047
- readonly oracleTtlValue: {
1048
- serialize(value: number): Buffer;
1049
- deserialize(value: Buffer): number;
1050
- };
1051
- readonly abiVersion: {
1052
- _getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
1053
- serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
1054
- tag: Tag;
1055
- }, { consensusProtocolVersion }: {
1056
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
1057
- }): Buffer;
1058
- prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
1059
- tag: Tag;
1060
- }, options: {
1061
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
1062
- onNode?: import("../..").Node | undefined;
1063
- }): Promise<import("./constants").AbiVersion | undefined>;
1064
- deserialize(buffer: Buffer): import("./constants").AbiVersion;
1065
- };
1066
724
  }, {
1067
725
  readonly tag: {
1068
726
  serialize: (value: Tag.OracleRegisterTx) => Buffer;
@@ -1081,13 +739,15 @@ export declare const txSchema: readonly [{
1081
739
  deserialize: (value: Buffer) => `ak_${string}`;
1082
740
  };
1083
741
  readonly nonce: {
1084
- serialize: (value: number) => Buffer;
742
+ serialize: (value: number, params: {
743
+ tag: Tag;
744
+ }) => Buffer;
1085
745
  prepare: (value: number | undefined, params: {}, options: {
1086
746
  accountId: string;
1087
747
  } & {
1088
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1089
- onNode?: import("../..").Node | undefined;
1090
- _isInternalBuild?: boolean | undefined;
748
+ strategy?: import("../../apis/node/index.js").Enum1;
749
+ onNode?: import("../../Node.js").default;
750
+ _isInternalBuild?: boolean;
1091
751
  }) => Promise<number>;
1092
752
  deserialize: (value: Buffer) => number;
1093
753
  senderKey: string;
@@ -1102,8 +762,8 @@ export declare const txSchema: readonly [{
1102
762
  };
1103
763
  readonly queryFee: {
1104
764
  serializeAettos(value: string | undefined, params: {}, options: {}): string;
1105
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
1106
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
765
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
766
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
1107
767
  }): Buffer;
1108
768
  deserialize(value: Buffer): string;
1109
769
  };
@@ -1116,46 +776,40 @@ export declare const txSchema: readonly [{
1116
776
  deserialize: (value: Buffer, params: unknown) => number;
1117
777
  };
1118
778
  readonly fee: {
1119
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1120
- onNode?: import("../..").Node | undefined;
1121
- }): Promise<import("./constants").Int | undefined>;
1122
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1123
- _canIncreaseFee?: boolean | undefined;
779
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
780
+ onNode?: import("../../Node.js").default;
781
+ }): Promise<import("./constants.js").Int | undefined>;
782
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
783
+ _canIncreaseFee?: boolean;
1124
784
  }): string;
1125
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1126
- _canIncreaseFee?: boolean | undefined;
1127
- } & {
1128
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1129
- }): Buffer;
785
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
786
+ _canIncreaseFee?: boolean;
787
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1130
788
  deserialize(value: Buffer): string;
1131
789
  };
1132
790
  readonly ttl: {
1133
791
  serialize(value: number | undefined): Buffer;
1134
792
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1135
- onNode?: import("../..").Node | undefined;
1136
- absoluteTtl?: boolean | undefined;
1137
- _isInternalBuild?: boolean | undefined;
1138
- } & Omit<{
1139
- _expectedMineRate?: number | undefined;
1140
- _microBlockCycle?: number | undefined;
1141
- onNode: import("../..").Node;
1142
- }, "onNode">): Promise<number | undefined>;
793
+ onNode?: import("../../Node.js").default;
794
+ absoluteTtl?: boolean;
795
+ _isInternalBuild?: boolean;
796
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1143
797
  deserialize(value: Buffer): number;
1144
798
  };
1145
799
  readonly abiVersion: {
1146
- _getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
1147
- serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
800
+ _getProtocolDetails(c: import("./constants.js").ConsensusProtocolVersion, tag: Tag): import("./constants.js").AbiVersion;
801
+ serialize(value: import("./constants.js").AbiVersion | undefined, { tag }: {
1148
802
  tag: Tag;
1149
- }, { consensusProtocolVersion }: {
1150
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
803
+ }, { consensusProtocolVersion, }: {
804
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
1151
805
  }): Buffer;
1152
- prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
806
+ prepare(value: import("./constants.js").AbiVersion | undefined, { tag }: {
1153
807
  tag: Tag;
1154
808
  }, options: {
1155
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
1156
- onNode?: import("../..").Node | undefined;
1157
- }): Promise<import("./constants").AbiVersion | undefined>;
1158
- deserialize(buffer: Buffer): import("./constants").AbiVersion;
809
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
810
+ onNode?: import("../../Node.js").default;
811
+ }): Promise<import("./constants.js").AbiVersion | undefined>;
812
+ deserialize(buffer: Buffer): import("./constants.js").AbiVersion;
1159
813
  };
1160
814
  }, {
1161
815
  readonly tag: {
@@ -1175,13 +829,15 @@ export declare const txSchema: readonly [{
1175
829
  deserialize: (value: Buffer) => `ok_${string}` | `nm_${string}`;
1176
830
  };
1177
831
  readonly nonce: {
1178
- serialize: (value: number) => Buffer;
832
+ serialize: (value: number, params: {
833
+ tag: Tag;
834
+ }) => Buffer;
1179
835
  prepare: (value: number | undefined, params: {}, options: {
1180
836
  oracleId: string;
1181
837
  } & {
1182
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1183
- onNode?: import("../..").Node | undefined;
1184
- _isInternalBuild?: boolean | undefined;
838
+ strategy?: import("../../apis/node/index.js").Enum1;
839
+ onNode?: import("../../Node.js").default;
840
+ _isInternalBuild?: boolean;
1185
841
  }) => Promise<number>;
1186
842
  deserialize: (value: Buffer) => number;
1187
843
  senderKey: string;
@@ -1195,30 +851,24 @@ export declare const txSchema: readonly [{
1195
851
  deserialize: (value: Buffer, params: unknown) => number;
1196
852
  };
1197
853
  readonly fee: {
1198
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1199
- onNode?: import("../..").Node | undefined;
1200
- }): Promise<import("./constants").Int | undefined>;
1201
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1202
- _canIncreaseFee?: boolean | undefined;
854
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
855
+ onNode?: import("../../Node.js").default;
856
+ }): Promise<import("./constants.js").Int | undefined>;
857
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
858
+ _canIncreaseFee?: boolean;
1203
859
  }): string;
1204
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1205
- _canIncreaseFee?: boolean | undefined;
1206
- } & {
1207
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1208
- }): Buffer;
860
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
861
+ _canIncreaseFee?: boolean;
862
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1209
863
  deserialize(value: Buffer): string;
1210
864
  };
1211
865
  readonly ttl: {
1212
866
  serialize(value: number | undefined): Buffer;
1213
867
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1214
- onNode?: import("../..").Node | undefined;
1215
- absoluteTtl?: boolean | undefined;
1216
- _isInternalBuild?: boolean | undefined;
1217
- } & Omit<{
1218
- _expectedMineRate?: number | undefined;
1219
- _microBlockCycle?: number | undefined;
1220
- onNode: import("../..").Node;
1221
- }, "onNode">): Promise<number | undefined>;
868
+ onNode?: import("../../Node.js").default;
869
+ absoluteTtl?: boolean;
870
+ _isInternalBuild?: boolean;
871
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1222
872
  deserialize(value: Buffer): number;
1223
873
  };
1224
874
  }, {
@@ -1239,13 +889,15 @@ export declare const txSchema: readonly [{
1239
889
  deserialize: (value: Buffer) => `ak_${string}`;
1240
890
  };
1241
891
  readonly nonce: {
1242
- serialize: (value: number) => Buffer;
892
+ serialize: (value: number, params: {
893
+ tag: Tag;
894
+ }) => Buffer;
1243
895
  prepare: (value: number | undefined, params: {}, options: {
1244
896
  senderId: string;
1245
897
  } & {
1246
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1247
- onNode?: import("../..").Node | undefined;
1248
- _isInternalBuild?: boolean | undefined;
898
+ strategy?: import("../../apis/node/index.js").Enum1;
899
+ onNode?: import("../../Node.js").default;
900
+ _isInternalBuild?: boolean;
1249
901
  }) => Promise<number>;
1250
902
  deserialize: (value: Buffer) => number;
1251
903
  senderKey: string;
@@ -1259,13 +911,13 @@ export declare const txSchema: readonly [{
1259
911
  deserialize(buffer: Buffer): string;
1260
912
  };
1261
913
  readonly queryFee: {
1262
- prepare(value: import("./constants").Int | undefined, params: {}, options: {
1263
- oracleId?: `ok_${string}` | undefined;
1264
- onNode?: import("../..").Node | undefined;
1265
- }): Promise<import("./constants").Int>;
914
+ prepare(value: import("./constants.js").Int | undefined, params: {}, options: {
915
+ oracleId?: Encoded.OracleAddress;
916
+ onNode?: import("../../Node.js").default;
917
+ }): Promise<import("./constants.js").Int>;
1266
918
  serializeAettos(value: string | undefined, params: {}, options: {}): string;
1267
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
1268
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
919
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
920
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
1269
921
  }): Buffer;
1270
922
  deserialize(value: Buffer): string;
1271
923
  };
@@ -1286,30 +938,24 @@ export declare const txSchema: readonly [{
1286
938
  deserialize: (value: Buffer, params: unknown) => number;
1287
939
  };
1288
940
  readonly fee: {
1289
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1290
- onNode?: import("../..").Node | undefined;
1291
- }): Promise<import("./constants").Int | undefined>;
1292
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1293
- _canIncreaseFee?: boolean | undefined;
941
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
942
+ onNode?: import("../../Node.js").default;
943
+ }): Promise<import("./constants.js").Int | undefined>;
944
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
945
+ _canIncreaseFee?: boolean;
1294
946
  }): string;
1295
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1296
- _canIncreaseFee?: boolean | undefined;
1297
- } & {
1298
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1299
- }): Buffer;
947
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
948
+ _canIncreaseFee?: boolean;
949
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1300
950
  deserialize(value: Buffer): string;
1301
951
  };
1302
952
  readonly ttl: {
1303
953
  serialize(value: number | undefined): Buffer;
1304
954
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1305
- onNode?: import("../..").Node | undefined;
1306
- absoluteTtl?: boolean | undefined;
1307
- _isInternalBuild?: boolean | undefined;
1308
- } & Omit<{
1309
- _expectedMineRate?: number | undefined;
1310
- _microBlockCycle?: number | undefined;
1311
- onNode: import("../..").Node;
1312
- }, "onNode">): Promise<number | undefined>;
955
+ onNode?: import("../../Node.js").default;
956
+ absoluteTtl?: boolean;
957
+ _isInternalBuild?: boolean;
958
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1313
959
  deserialize(value: Buffer): number;
1314
960
  };
1315
961
  }, {
@@ -1330,13 +976,15 @@ export declare const txSchema: readonly [{
1330
976
  deserialize: (value: Buffer) => `ok_${string}`;
1331
977
  };
1332
978
  readonly nonce: {
1333
- serialize: (value: number) => Buffer;
979
+ serialize: (value: number, params: {
980
+ tag: Tag;
981
+ }) => Buffer;
1334
982
  prepare: (value: number | undefined, params: {}, options: {
1335
983
  oracleId: string;
1336
984
  } & {
1337
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1338
- onNode?: import("../..").Node | undefined;
1339
- _isInternalBuild?: boolean | undefined;
985
+ strategy?: import("../../apis/node/index.js").Enum1;
986
+ onNode?: import("../../Node.js").default;
987
+ _isInternalBuild?: boolean;
1340
988
  }) => Promise<number>;
1341
989
  deserialize: (value: Buffer) => number;
1342
990
  senderKey: string;
@@ -1358,30 +1006,24 @@ export declare const txSchema: readonly [{
1358
1006
  deserialize: (value: Buffer, params: unknown) => number;
1359
1007
  };
1360
1008
  readonly fee: {
1361
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1362
- onNode?: import("../..").Node | undefined;
1363
- }): Promise<import("./constants").Int | undefined>;
1364
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1365
- _canIncreaseFee?: boolean | undefined;
1009
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1010
+ onNode?: import("../../Node.js").default;
1011
+ }): Promise<import("./constants.js").Int | undefined>;
1012
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1013
+ _canIncreaseFee?: boolean;
1366
1014
  }): string;
1367
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1368
- _canIncreaseFee?: boolean | undefined;
1369
- } & {
1370
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1371
- }): Buffer;
1015
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1016
+ _canIncreaseFee?: boolean;
1017
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1372
1018
  deserialize(value: Buffer): string;
1373
1019
  };
1374
1020
  readonly ttl: {
1375
1021
  serialize(value: number | undefined): Buffer;
1376
1022
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1377
- onNode?: import("../..").Node | undefined;
1378
- absoluteTtl?: boolean | undefined;
1379
- _isInternalBuild?: boolean | undefined;
1380
- } & Omit<{
1381
- _expectedMineRate?: number | undefined;
1382
- _microBlockCycle?: number | undefined;
1383
- onNode: import("../..").Node;
1384
- }, "onNode">): Promise<number | undefined>;
1023
+ onNode?: import("../../Node.js").default;
1024
+ absoluteTtl?: boolean;
1025
+ _isInternalBuild?: boolean;
1026
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1385
1027
  deserialize(value: Buffer): number;
1386
1028
  };
1387
1029
  }, {
@@ -1402,7 +1044,7 @@ export declare const txSchema: readonly [{
1402
1044
  deserialize: (value: Buffer) => `ak_${string}`;
1403
1045
  };
1404
1046
  readonly initiatorAmount: {
1405
- serialize(value: import("./constants").Int): Buffer;
1047
+ serialize(value: import("./constants.js").Int): Buffer;
1406
1048
  deserialize(value: Buffer): string;
1407
1049
  };
1408
1050
  readonly responder: {
@@ -1410,42 +1052,36 @@ export declare const txSchema: readonly [{
1410
1052
  deserialize: (value: Buffer) => `ak_${string}`;
1411
1053
  };
1412
1054
  readonly responderAmount: {
1413
- serialize(value: import("./constants").Int): Buffer;
1055
+ serialize(value: import("./constants.js").Int): Buffer;
1414
1056
  deserialize(value: Buffer): string;
1415
1057
  };
1416
1058
  readonly channelReserve: {
1417
- serialize(value: import("./constants").Int): Buffer;
1059
+ serialize(value: import("./constants.js").Int): Buffer;
1418
1060
  deserialize(value: Buffer): string;
1419
1061
  };
1420
1062
  readonly lockPeriod: {
1421
- serialize(value: import("./constants").Int): Buffer;
1063
+ serialize(value: import("./constants.js").Int): Buffer;
1422
1064
  deserialize(value: Buffer): string;
1423
1065
  };
1424
1066
  readonly ttl: {
1425
1067
  serialize(value: number | undefined): Buffer;
1426
1068
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1427
- onNode?: import("../..").Node | undefined;
1428
- absoluteTtl?: boolean | undefined;
1429
- _isInternalBuild?: boolean | undefined;
1430
- } & Omit<{
1431
- _expectedMineRate?: number | undefined;
1432
- _microBlockCycle?: number | undefined;
1433
- onNode: import("../..").Node;
1434
- }, "onNode">): Promise<number | undefined>;
1069
+ onNode?: import("../../Node.js").default;
1070
+ absoluteTtl?: boolean;
1071
+ _isInternalBuild?: boolean;
1072
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1435
1073
  deserialize(value: Buffer): number;
1436
1074
  };
1437
1075
  readonly fee: {
1438
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1439
- onNode?: import("../..").Node | undefined;
1440
- }): Promise<import("./constants").Int | undefined>;
1441
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1442
- _canIncreaseFee?: boolean | undefined;
1076
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1077
+ onNode?: import("../../Node.js").default;
1078
+ }): Promise<import("./constants.js").Int | undefined>;
1079
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1080
+ _canIncreaseFee?: boolean;
1443
1081
  }): string;
1444
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1445
- _canIncreaseFee?: boolean | undefined;
1446
- } & {
1447
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1448
- }): Buffer;
1082
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1083
+ _canIncreaseFee?: boolean;
1084
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1449
1085
  deserialize(value: Buffer): string;
1450
1086
  };
1451
1087
  readonly initiatorDelegateIds: {
@@ -1461,13 +1097,15 @@ export declare const txSchema: readonly [{
1461
1097
  deserialize: (value: Buffer) => `st_${string}`;
1462
1098
  };
1463
1099
  readonly nonce: {
1464
- serialize: (value: number) => Buffer;
1100
+ serialize: (value: number, params: {
1101
+ tag: Tag;
1102
+ }) => Buffer;
1465
1103
  prepare: (value: number | undefined, params: {}, options: {
1466
1104
  initiator: string;
1467
1105
  } & {
1468
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1469
- onNode?: import("../..").Node | undefined;
1470
- _isInternalBuild?: boolean | undefined;
1106
+ strategy?: import("../../apis/node/index.js").Enum1;
1107
+ onNode?: import("../../Node.js").default;
1108
+ _isInternalBuild?: boolean;
1471
1109
  }) => Promise<number>;
1472
1110
  deserialize: (value: Buffer) => number;
1473
1111
  senderKey: string;
@@ -1494,48 +1132,44 @@ export declare const txSchema: readonly [{
1494
1132
  deserialize: (value: Buffer) => `ak_${string}`;
1495
1133
  };
1496
1134
  readonly initiatorAmountFinal: {
1497
- serialize(value: import("./constants").Int): Buffer;
1135
+ serialize(value: import("./constants.js").Int): Buffer;
1498
1136
  deserialize(value: Buffer): string;
1499
1137
  };
1500
1138
  readonly responderAmountFinal: {
1501
- serialize(value: import("./constants").Int): Buffer;
1139
+ serialize(value: import("./constants.js").Int): Buffer;
1502
1140
  deserialize(value: Buffer): string;
1503
1141
  };
1504
1142
  readonly ttl: {
1505
1143
  serialize(value: number | undefined): Buffer;
1506
1144
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1507
- onNode?: import("../..").Node | undefined;
1508
- absoluteTtl?: boolean | undefined;
1509
- _isInternalBuild?: boolean | undefined;
1510
- } & Omit<{
1511
- _expectedMineRate?: number | undefined;
1512
- _microBlockCycle?: number | undefined;
1513
- onNode: import("../..").Node;
1514
- }, "onNode">): Promise<number | undefined>;
1145
+ onNode?: import("../../Node.js").default;
1146
+ absoluteTtl?: boolean;
1147
+ _isInternalBuild?: boolean;
1148
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1515
1149
  deserialize(value: Buffer): number;
1516
1150
  };
1517
1151
  readonly fee: {
1518
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1519
- onNode?: import("../..").Node | undefined;
1520
- }): Promise<import("./constants").Int | undefined>;
1521
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1522
- _canIncreaseFee?: boolean | undefined;
1152
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1153
+ onNode?: import("../../Node.js").default;
1154
+ }): Promise<import("./constants.js").Int | undefined>;
1155
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1156
+ _canIncreaseFee?: boolean;
1523
1157
  }): string;
1524
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1525
- _canIncreaseFee?: boolean | undefined;
1526
- } & {
1527
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1528
- }): Buffer;
1158
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1159
+ _canIncreaseFee?: boolean;
1160
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1529
1161
  deserialize(value: Buffer): string;
1530
1162
  };
1531
1163
  readonly nonce: {
1532
- serialize: (value: number) => Buffer;
1164
+ serialize: (value: number, params: {
1165
+ tag: Tag;
1166
+ }) => Buffer;
1533
1167
  prepare: (value: number | undefined, params: {}, options: {
1534
1168
  fromId: string;
1535
1169
  } & {
1536
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1537
- onNode?: import("../..").Node | undefined;
1538
- _isInternalBuild?: boolean | undefined;
1170
+ strategy?: import("../../apis/node/index.js").Enum1;
1171
+ onNode?: import("../../Node.js").default;
1172
+ _isInternalBuild?: boolean;
1539
1173
  }) => Promise<number>;
1540
1174
  deserialize: (value: Buffer) => number;
1541
1175
  senderKey: string;
@@ -1569,38 +1203,34 @@ export declare const txSchema: readonly [{
1569
1203
  readonly ttl: {
1570
1204
  serialize(value: number | undefined): Buffer;
1571
1205
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1572
- onNode?: import("../..").Node | undefined;
1573
- absoluteTtl?: boolean | undefined;
1574
- _isInternalBuild?: boolean | undefined;
1575
- } & Omit<{
1576
- _expectedMineRate?: number | undefined;
1577
- _microBlockCycle?: number | undefined;
1578
- onNode: import("../..").Node;
1579
- }, "onNode">): Promise<number | undefined>;
1206
+ onNode?: import("../../Node.js").default;
1207
+ absoluteTtl?: boolean;
1208
+ _isInternalBuild?: boolean;
1209
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1580
1210
  deserialize(value: Buffer): number;
1581
1211
  };
1582
1212
  readonly fee: {
1583
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1584
- onNode?: import("../..").Node | undefined;
1585
- }): Promise<import("./constants").Int | undefined>;
1586
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1587
- _canIncreaseFee?: boolean | undefined;
1213
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1214
+ onNode?: import("../../Node.js").default;
1215
+ }): Promise<import("./constants.js").Int | undefined>;
1216
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1217
+ _canIncreaseFee?: boolean;
1588
1218
  }): string;
1589
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1590
- _canIncreaseFee?: boolean | undefined;
1591
- } & {
1592
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1593
- }): Buffer;
1219
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1220
+ _canIncreaseFee?: boolean;
1221
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1594
1222
  deserialize(value: Buffer): string;
1595
1223
  };
1596
1224
  readonly nonce: {
1597
- serialize: (value: number) => Buffer;
1225
+ serialize: (value: number, params: {
1226
+ tag: Tag;
1227
+ }) => Buffer;
1598
1228
  prepare: (value: number | undefined, params: {}, options: {
1599
1229
  fromId: string;
1600
1230
  } & {
1601
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1602
- onNode?: import("../..").Node | undefined;
1603
- _isInternalBuild?: boolean | undefined;
1231
+ strategy?: import("../../apis/node/index.js").Enum1;
1232
+ onNode?: import("../../Node.js").default;
1233
+ _isInternalBuild?: boolean;
1604
1234
  }) => Promise<number>;
1605
1235
  deserialize: (value: Buffer) => number;
1606
1236
  senderKey: string;
@@ -1634,38 +1264,34 @@ export declare const txSchema: readonly [{
1634
1264
  readonly ttl: {
1635
1265
  serialize(value: number | undefined): Buffer;
1636
1266
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1637
- onNode?: import("../..").Node | undefined;
1638
- absoluteTtl?: boolean | undefined;
1639
- _isInternalBuild?: boolean | undefined;
1640
- } & Omit<{
1641
- _expectedMineRate?: number | undefined;
1642
- _microBlockCycle?: number | undefined;
1643
- onNode: import("../..").Node;
1644
- }, "onNode">): Promise<number | undefined>;
1267
+ onNode?: import("../../Node.js").default;
1268
+ absoluteTtl?: boolean;
1269
+ _isInternalBuild?: boolean;
1270
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1645
1271
  deserialize(value: Buffer): number;
1646
1272
  };
1647
1273
  readonly fee: {
1648
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1649
- onNode?: import("../..").Node | undefined;
1650
- }): Promise<import("./constants").Int | undefined>;
1651
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1652
- _canIncreaseFee?: boolean | undefined;
1274
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1275
+ onNode?: import("../../Node.js").default;
1276
+ }): Promise<import("./constants.js").Int | undefined>;
1277
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1278
+ _canIncreaseFee?: boolean;
1653
1279
  }): string;
1654
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1655
- _canIncreaseFee?: boolean | undefined;
1656
- } & {
1657
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1658
- }): Buffer;
1280
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1281
+ _canIncreaseFee?: boolean;
1282
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1659
1283
  deserialize(value: Buffer): string;
1660
1284
  };
1661
1285
  readonly nonce: {
1662
- serialize: (value: number) => Buffer;
1663
- prepare: (value: number | undefined, params: {}, options: {
1286
+ serialize: (value: number, params: {
1287
+ tag: Tag;
1288
+ }) => Buffer;
1289
+ prepare: (value: number | undefined, params: {}, options: {
1664
1290
  fromId: string;
1665
1291
  } & {
1666
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1667
- onNode?: import("../..").Node | undefined;
1668
- _isInternalBuild?: boolean | undefined;
1292
+ strategy?: import("../../apis/node/index.js").Enum1;
1293
+ onNode?: import("../../Node.js").default;
1294
+ _isInternalBuild?: boolean;
1669
1295
  }) => Promise<number>;
1670
1296
  deserialize: (value: Buffer) => number;
1671
1297
  senderKey: string;
@@ -1692,34 +1318,28 @@ export declare const txSchema: readonly [{
1692
1318
  deserialize: (value: Buffer) => `ak_${string}`;
1693
1319
  };
1694
1320
  readonly amount: {
1695
- serialize(value: import("./constants").Int): Buffer;
1321
+ serialize(value: import("./constants.js").Int): Buffer;
1696
1322
  deserialize(value: Buffer): string;
1697
1323
  };
1698
1324
  readonly ttl: {
1699
1325
  serialize(value: number | undefined): Buffer;
1700
1326
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1701
- onNode?: import("../..").Node | undefined;
1702
- absoluteTtl?: boolean | undefined;
1703
- _isInternalBuild?: boolean | undefined;
1704
- } & Omit<{
1705
- _expectedMineRate?: number | undefined;
1706
- _microBlockCycle?: number | undefined;
1707
- onNode: import("../..").Node;
1708
- }, "onNode">): Promise<number | undefined>;
1327
+ onNode?: import("../../Node.js").default;
1328
+ absoluteTtl?: boolean;
1329
+ _isInternalBuild?: boolean;
1330
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1709
1331
  deserialize(value: Buffer): number;
1710
1332
  };
1711
1333
  readonly fee: {
1712
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1713
- onNode?: import("../..").Node | undefined;
1714
- }): Promise<import("./constants").Int | undefined>;
1715
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1716
- _canIncreaseFee?: boolean | undefined;
1334
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1335
+ onNode?: import("../../Node.js").default;
1336
+ }): Promise<import("./constants.js").Int | undefined>;
1337
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1338
+ _canIncreaseFee?: boolean;
1717
1339
  }): string;
1718
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1719
- _canIncreaseFee?: boolean | undefined;
1720
- } & {
1721
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1722
- }): Buffer;
1340
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1341
+ _canIncreaseFee?: boolean;
1342
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1723
1343
  deserialize(value: Buffer): string;
1724
1344
  };
1725
1345
  readonly stateHash: {
@@ -1731,13 +1351,15 @@ export declare const txSchema: readonly [{
1731
1351
  deserialize(value: Buffer): number;
1732
1352
  };
1733
1353
  readonly nonce: {
1734
- serialize: (value: number) => Buffer;
1354
+ serialize: (value: number, params: {
1355
+ tag: Tag;
1356
+ }) => Buffer;
1735
1357
  prepare: (value: number | undefined, params: {}, options: {
1736
1358
  fromId: string;
1737
1359
  } & {
1738
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1739
- onNode?: import("../..").Node | undefined;
1740
- _isInternalBuild?: boolean | undefined;
1360
+ strategy?: import("../../apis/node/index.js").Enum1;
1361
+ onNode?: import("../../Node.js").default;
1362
+ _isInternalBuild?: boolean;
1741
1363
  }) => Promise<number>;
1742
1364
  deserialize: (value: Buffer) => number;
1743
1365
  senderKey: string;
@@ -1764,34 +1386,28 @@ export declare const txSchema: readonly [{
1764
1386
  deserialize: (value: Buffer) => `ak_${string}`;
1765
1387
  };
1766
1388
  readonly amount: {
1767
- serialize(value: import("./constants").Int): Buffer;
1389
+ serialize(value: import("./constants.js").Int): Buffer;
1768
1390
  deserialize(value: Buffer): string;
1769
1391
  };
1770
1392
  readonly ttl: {
1771
1393
  serialize(value: number | undefined): Buffer;
1772
1394
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1773
- onNode?: import("../..").Node | undefined;
1774
- absoluteTtl?: boolean | undefined;
1775
- _isInternalBuild?: boolean | undefined;
1776
- } & Omit<{
1777
- _expectedMineRate?: number | undefined;
1778
- _microBlockCycle?: number | undefined;
1779
- onNode: import("../..").Node;
1780
- }, "onNode">): Promise<number | undefined>;
1395
+ onNode?: import("../../Node.js").default;
1396
+ absoluteTtl?: boolean;
1397
+ _isInternalBuild?: boolean;
1398
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1781
1399
  deserialize(value: Buffer): number;
1782
1400
  };
1783
1401
  readonly fee: {
1784
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1785
- onNode?: import("../..").Node | undefined;
1786
- }): Promise<import("./constants").Int | undefined>;
1787
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1788
- _canIncreaseFee?: boolean | undefined;
1402
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1403
+ onNode?: import("../../Node.js").default;
1404
+ }): Promise<import("./constants.js").Int | undefined>;
1405
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1406
+ _canIncreaseFee?: boolean;
1789
1407
  }): string;
1790
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1791
- _canIncreaseFee?: boolean | undefined;
1792
- } & {
1793
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1794
- }): Buffer;
1408
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1409
+ _canIncreaseFee?: boolean;
1410
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1795
1411
  deserialize(value: Buffer): string;
1796
1412
  };
1797
1413
  readonly stateHash: {
@@ -1803,13 +1419,15 @@ export declare const txSchema: readonly [{
1803
1419
  deserialize(value: Buffer): number;
1804
1420
  };
1805
1421
  readonly nonce: {
1806
- serialize: (value: number) => Buffer;
1422
+ serialize: (value: number, params: {
1423
+ tag: Tag;
1424
+ }) => Buffer;
1807
1425
  prepare: (value: number | undefined, params: {}, options: {
1808
1426
  fromId: string;
1809
1427
  } & {
1810
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1811
- onNode?: import("../..").Node | undefined;
1812
- _isInternalBuild?: boolean | undefined;
1428
+ strategy?: import("../../apis/node/index.js").Enum1;
1429
+ onNode?: import("../../Node.js").default;
1430
+ _isInternalBuild?: boolean;
1813
1431
  }) => Promise<number>;
1814
1432
  deserialize: (value: Buffer) => number;
1815
1433
  senderKey: string;
@@ -1836,48 +1454,44 @@ export declare const txSchema: readonly [{
1836
1454
  deserialize: (value: Buffer) => `ak_${string}`;
1837
1455
  };
1838
1456
  readonly initiatorAmountFinal: {
1839
- serialize(value: import("./constants").Int): Buffer;
1457
+ serialize(value: import("./constants.js").Int): Buffer;
1840
1458
  deserialize(value: Buffer): string;
1841
1459
  };
1842
1460
  readonly responderAmountFinal: {
1843
- serialize(value: import("./constants").Int): Buffer;
1461
+ serialize(value: import("./constants.js").Int): Buffer;
1844
1462
  deserialize(value: Buffer): string;
1845
1463
  };
1846
1464
  readonly ttl: {
1847
1465
  serialize(value: number | undefined): Buffer;
1848
1466
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1849
- onNode?: import("../..").Node | undefined;
1850
- absoluteTtl?: boolean | undefined;
1851
- _isInternalBuild?: boolean | undefined;
1852
- } & Omit<{
1853
- _expectedMineRate?: number | undefined;
1854
- _microBlockCycle?: number | undefined;
1855
- onNode: import("../..").Node;
1856
- }, "onNode">): Promise<number | undefined>;
1467
+ onNode?: import("../../Node.js").default;
1468
+ absoluteTtl?: boolean;
1469
+ _isInternalBuild?: boolean;
1470
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1857
1471
  deserialize(value: Buffer): number;
1858
1472
  };
1859
1473
  readonly fee: {
1860
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1861
- onNode?: import("../..").Node | undefined;
1862
- }): Promise<import("./constants").Int | undefined>;
1863
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1864
- _canIncreaseFee?: boolean | undefined;
1474
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1475
+ onNode?: import("../../Node.js").default;
1476
+ }): Promise<import("./constants.js").Int | undefined>;
1477
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1478
+ _canIncreaseFee?: boolean;
1865
1479
  }): string;
1866
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1867
- _canIncreaseFee?: boolean | undefined;
1868
- } & {
1869
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1870
- }): Buffer;
1480
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1481
+ _canIncreaseFee?: boolean;
1482
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1871
1483
  deserialize(value: Buffer): string;
1872
1484
  };
1873
1485
  readonly nonce: {
1874
- serialize: (value: number) => Buffer;
1486
+ serialize: (value: number, params: {
1487
+ tag: Tag;
1488
+ }) => Buffer;
1875
1489
  prepare: (value: number | undefined, params: {}, options: {
1876
1490
  fromId: string;
1877
1491
  } & {
1878
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1879
- onNode?: import("../..").Node | undefined;
1880
- _isInternalBuild?: boolean | undefined;
1492
+ strategy?: import("../../apis/node/index.js").Enum1;
1493
+ onNode?: import("../../Node.js").default;
1494
+ _isInternalBuild?: boolean;
1881
1495
  }) => Promise<number>;
1882
1496
  deserialize: (value: Buffer) => number;
1883
1497
  senderKey: string;
@@ -1926,38 +1540,34 @@ export declare const txSchema: readonly [{
1926
1540
  readonly ttl: {
1927
1541
  serialize(value: number | undefined): Buffer;
1928
1542
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
1929
- onNode?: import("../..").Node | undefined;
1930
- absoluteTtl?: boolean | undefined;
1931
- _isInternalBuild?: boolean | undefined;
1932
- } & Omit<{
1933
- _expectedMineRate?: number | undefined;
1934
- _microBlockCycle?: number | undefined;
1935
- onNode: import("../..").Node;
1936
- }, "onNode">): Promise<number | undefined>;
1543
+ onNode?: import("../../Node.js").default;
1544
+ absoluteTtl?: boolean;
1545
+ _isInternalBuild?: boolean;
1546
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
1937
1547
  deserialize(value: Buffer): number;
1938
1548
  };
1939
1549
  readonly fee: {
1940
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
1941
- onNode?: import("../..").Node | undefined;
1942
- }): Promise<import("./constants").Int | undefined>;
1943
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
1944
- _canIncreaseFee?: boolean | undefined;
1550
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1551
+ onNode?: import("../../Node.js").default;
1552
+ }): Promise<import("./constants.js").Int | undefined>;
1553
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1554
+ _canIncreaseFee?: boolean;
1945
1555
  }): string;
1946
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
1947
- _canIncreaseFee?: boolean | undefined;
1948
- } & {
1949
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1950
- }): Buffer;
1556
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1557
+ _canIncreaseFee?: boolean;
1558
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
1951
1559
  deserialize(value: Buffer): string;
1952
1560
  };
1953
1561
  readonly nonce: {
1954
- serialize: (value: number) => Buffer;
1562
+ serialize: (value: number, params: {
1563
+ tag: Tag;
1564
+ }) => Buffer;
1955
1565
  prepare: (value: number | undefined, params: {}, options: {
1956
1566
  fromId: string;
1957
1567
  } & {
1958
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
1959
- onNode?: import("../..").Node | undefined;
1960
- _isInternalBuild?: boolean | undefined;
1568
+ strategy?: import("../../apis/node/index.js").Enum1;
1569
+ onNode?: import("../../Node.js").default;
1570
+ _isInternalBuild?: boolean;
1961
1571
  }) => Promise<number>;
1962
1572
  deserialize: (value: Buffer) => number;
1963
1573
  senderKey: string;
@@ -1987,79 +1597,6 @@ export declare const txSchema: readonly [{
1987
1597
  serialize: (value: `st_${string}`) => Buffer;
1988
1598
  deserialize: (value: Buffer) => `st_${string}`;
1989
1599
  };
1990
- }, {
1991
- readonly tag: {
1992
- serialize: (value: Tag.Channel) => Buffer;
1993
- deserialize: (value: Buffer) => Tag.Channel;
1994
- constValue: Tag.Channel;
1995
- constValueOptional: boolean;
1996
- };
1997
- readonly version: {
1998
- serialize: (value?: 3 | undefined) => Buffer;
1999
- deserialize: (value: Buffer) => 3;
2000
- constValue: 3;
2001
- constValueOptional: boolean;
2002
- };
2003
- readonly initiator: {
2004
- serialize: (value: `ak_${string}`) => Buffer;
2005
- deserialize: (value: Buffer) => `ak_${string}`;
2006
- };
2007
- readonly responder: {
2008
- serialize: (value: `ak_${string}`) => Buffer;
2009
- deserialize: (value: Buffer) => `ak_${string}`;
2010
- };
2011
- readonly channelAmount: {
2012
- serialize(value: import("./constants").Int): Buffer;
2013
- deserialize(value: Buffer): string;
2014
- };
2015
- readonly initiatorAmount: {
2016
- serialize(value: import("./constants").Int): Buffer;
2017
- deserialize(value: Buffer): string;
2018
- };
2019
- readonly responderAmount: {
2020
- serialize(value: import("./constants").Int): Buffer;
2021
- deserialize(value: Buffer): string;
2022
- };
2023
- readonly channelReserve: {
2024
- serialize(value: import("./constants").Int): Buffer;
2025
- deserialize(value: Buffer): string;
2026
- };
2027
- readonly initiatorDelegateIds: {
2028
- serialize: (value: readonly (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
2029
- deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
2030
- };
2031
- readonly responderDelegateIds: {
2032
- serialize: (value: readonly (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
2033
- deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
2034
- };
2035
- readonly stateHash: {
2036
- serialize: (value: `st_${string}`) => Buffer;
2037
- deserialize: (value: Buffer) => `st_${string}`;
2038
- };
2039
- readonly round: {
2040
- serialize(value: number): Buffer;
2041
- deserialize(value: Buffer): number;
2042
- };
2043
- readonly soloRound: {
2044
- serialize(value: import("./constants").Int): Buffer;
2045
- deserialize(value: Buffer): string;
2046
- };
2047
- readonly lockPeriod: {
2048
- serialize(value: import("./constants").Int): Buffer;
2049
- deserialize(value: Buffer): string;
2050
- };
2051
- readonly lockedUntil: {
2052
- serialize(value: import("./constants").Int): Buffer;
2053
- deserialize(value: Buffer): string;
2054
- };
2055
- readonly initiatorAuth: {
2056
- serialize: (value: `cb_${string}`) => Buffer;
2057
- deserialize: (value: Buffer) => `cb_${string}`;
2058
- };
2059
- readonly responderAuth: {
2060
- serialize: (value: `cb_${string}`) => Buffer;
2061
- deserialize: (value: Buffer) => `cb_${string}`;
2062
- };
2063
1600
  }, {
2064
1601
  readonly tag: {
2065
1602
  serialize: (value: Tag.ChannelSnapshotSoloTx) => Buffer;
@@ -2088,671 +1625,38 @@ export declare const txSchema: readonly [{
2088
1625
  readonly ttl: {
2089
1626
  serialize(value: number | undefined): Buffer;
2090
1627
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
2091
- onNode?: import("../..").Node | undefined;
2092
- absoluteTtl?: boolean | undefined;
2093
- _isInternalBuild?: boolean | undefined;
2094
- } & Omit<{
2095
- _expectedMineRate?: number | undefined;
2096
- _microBlockCycle?: number | undefined;
2097
- onNode: import("../..").Node;
2098
- }, "onNode">): Promise<number | undefined>;
1628
+ onNode?: import("../../Node.js").default;
1629
+ absoluteTtl?: boolean;
1630
+ _isInternalBuild?: boolean;
1631
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
2099
1632
  deserialize(value: Buffer): number;
2100
1633
  };
2101
1634
  readonly fee: {
2102
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
2103
- onNode?: import("../..").Node | undefined;
2104
- }): Promise<import("./constants").Int | undefined>;
2105
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
2106
- _canIncreaseFee?: boolean | undefined;
1635
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1636
+ onNode?: import("../../Node.js").default;
1637
+ }): Promise<import("./constants.js").Int | undefined>;
1638
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1639
+ _canIncreaseFee?: boolean;
2107
1640
  }): string;
2108
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
2109
- _canIncreaseFee?: boolean | undefined;
2110
- } & {
2111
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2112
- }): Buffer;
1641
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1642
+ _canIncreaseFee?: boolean;
1643
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
2113
1644
  deserialize(value: Buffer): string;
2114
1645
  };
2115
1646
  readonly nonce: {
2116
- serialize: (value: number) => Buffer;
1647
+ serialize: (value: number, params: {
1648
+ tag: Tag;
1649
+ }) => Buffer;
2117
1650
  prepare: (value: number | undefined, params: {}, options: {
2118
1651
  fromId: string;
2119
1652
  } & {
2120
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
2121
- onNode?: import("../..").Node | undefined;
2122
- _isInternalBuild?: boolean | undefined;
1653
+ strategy?: import("../../apis/node/index.js").Enum1;
1654
+ onNode?: import("../../Node.js").default;
1655
+ _isInternalBuild?: boolean;
2123
1656
  }) => Promise<number>;
2124
1657
  deserialize: (value: Buffer) => number;
2125
1658
  senderKey: string;
2126
1659
  };
2127
- }, {
2128
- readonly tag: {
2129
- serialize: (value: Tag.ChannelOffChainUpdateTransfer) => Buffer;
2130
- deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateTransfer;
2131
- constValue: Tag.ChannelOffChainUpdateTransfer;
2132
- constValueOptional: boolean;
2133
- };
2134
- readonly version: {
2135
- serialize: (value?: 1 | undefined) => Buffer;
2136
- deserialize: (value: Buffer) => 1;
2137
- constValue: 1;
2138
- constValueOptional: boolean;
2139
- };
2140
- readonly from: {
2141
- serialize: (value: `ak_${string}`) => Buffer;
2142
- deserialize: (value: Buffer) => `ak_${string}`;
2143
- };
2144
- readonly to: {
2145
- serialize: (value: `ak_${string}`) => Buffer;
2146
- deserialize: (value: Buffer) => `ak_${string}`;
2147
- };
2148
- readonly amount: {
2149
- serialize(value: import("./constants").Int): Buffer;
2150
- deserialize(value: Buffer): string;
2151
- };
2152
- }, {
2153
- readonly tag: {
2154
- serialize: (value: Tag.ChannelOffChainUpdateDeposit) => Buffer;
2155
- deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateDeposit;
2156
- constValue: Tag.ChannelOffChainUpdateDeposit;
2157
- constValueOptional: boolean;
2158
- };
2159
- readonly version: {
2160
- serialize: (value?: 1 | undefined) => Buffer;
2161
- deserialize: (value: Buffer) => 1;
2162
- constValue: 1;
2163
- constValueOptional: boolean;
2164
- };
2165
- readonly from: {
2166
- serialize: (value: `ak_${string}`) => Buffer;
2167
- deserialize: (value: Buffer) => `ak_${string}`;
2168
- };
2169
- readonly amount: {
2170
- serialize(value: import("./constants").Int): Buffer;
2171
- deserialize(value: Buffer): string;
2172
- };
2173
- }, {
2174
- readonly tag: {
2175
- serialize: (value: Tag.ChannelOffChainUpdateWithdraw) => Buffer;
2176
- deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateWithdraw;
2177
- constValue: Tag.ChannelOffChainUpdateWithdraw;
2178
- constValueOptional: boolean;
2179
- };
2180
- readonly version: {
2181
- serialize: (value?: 1 | undefined) => Buffer;
2182
- deserialize: (value: Buffer) => 1;
2183
- constValue: 1;
2184
- constValueOptional: boolean;
2185
- };
2186
- readonly from: {
2187
- serialize: (value: `ak_${string}`) => Buffer;
2188
- deserialize: (value: Buffer) => `ak_${string}`;
2189
- };
2190
- readonly amount: {
2191
- serialize(value: import("./constants").Int): Buffer;
2192
- deserialize(value: Buffer): string;
2193
- };
2194
- }, {
2195
- readonly tag: {
2196
- serialize: (value: Tag.ChannelOffChainUpdateCreateContract) => Buffer;
2197
- deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateCreateContract;
2198
- constValue: Tag.ChannelOffChainUpdateCreateContract;
2199
- constValueOptional: boolean;
2200
- };
2201
- readonly version: {
2202
- serialize: (value?: 1 | undefined) => Buffer;
2203
- deserialize: (value: Buffer) => 1;
2204
- constValue: 1;
2205
- constValueOptional: boolean;
2206
- };
2207
- readonly owner: {
2208
- serialize: (value: `ak_${string}`) => Buffer;
2209
- deserialize: (value: Buffer) => `ak_${string}`;
2210
- };
2211
- readonly ctVersion: {
2212
- serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
2213
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
2214
- }): Buffer;
2215
- prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
2216
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
2217
- onNode?: import("../..").Node | undefined;
2218
- }): Promise<import("./field-types/ct-version").CtVersion | undefined>;
2219
- deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
2220
- };
2221
- readonly code: {
2222
- serialize: (value: `cb_${string}`) => Buffer;
2223
- deserialize: (value: Buffer) => `cb_${string}`;
2224
- };
2225
- readonly deposit: {
2226
- serialize(value: import("./constants").Int): Buffer;
2227
- deserialize(value: Buffer): string;
2228
- };
2229
- readonly callData: {
2230
- serialize: (value: `cb_${string}`) => Buffer;
2231
- deserialize: (value: Buffer) => `cb_${string}`;
2232
- };
2233
- }, {
2234
- readonly tag: {
2235
- serialize: (value: Tag.ChannelOffChainUpdateCallContract) => Buffer;
2236
- deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateCallContract;
2237
- constValue: Tag.ChannelOffChainUpdateCallContract;
2238
- constValueOptional: boolean;
2239
- };
2240
- readonly version: {
2241
- serialize: (value?: 1 | undefined) => Buffer;
2242
- deserialize: (value: Buffer) => 1;
2243
- constValue: 1;
2244
- constValueOptional: boolean;
2245
- };
2246
- readonly caller: {
2247
- serialize: (value: `ak_${string}`) => Buffer;
2248
- deserialize: (value: Buffer) => `ak_${string}`;
2249
- };
2250
- readonly contract: {
2251
- serialize: (value: `ct_${string}`) => Buffer;
2252
- deserialize: (value: Buffer) => `ct_${string}`;
2253
- };
2254
- readonly abiVersion: {
2255
- _getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
2256
- serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
2257
- tag: Tag;
2258
- }, { consensusProtocolVersion }: {
2259
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
2260
- }): Buffer;
2261
- prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
2262
- tag: Tag;
2263
- }, options: {
2264
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
2265
- onNode?: import("../..").Node | undefined;
2266
- }): Promise<import("./constants").AbiVersion | undefined>;
2267
- deserialize(buffer: Buffer): import("./constants").AbiVersion;
2268
- };
2269
- readonly amount: {
2270
- serialize(value: import("./constants").Int): Buffer;
2271
- deserialize(value: Buffer): string;
2272
- };
2273
- readonly callData: {
2274
- serialize: (value: `cb_${string}`) => Buffer;
2275
- deserialize: (value: Buffer) => `cb_${string}`;
2276
- };
2277
- readonly callStack: {
2278
- serialize(buffer: Uint8Array): Buffer;
2279
- deserialize(buffer: Buffer): Buffer;
2280
- };
2281
- readonly gasPrice: {
2282
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
2283
- onNode?: import("../..").Node | undefined;
2284
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2285
- }): Promise<import("./constants").Int | undefined>;
2286
- serializeAettos(value?: string | undefined): string;
2287
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
2288
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2289
- }): Buffer;
2290
- deserialize(value: Buffer): string;
2291
- };
2292
- readonly gasLimit: {
2293
- serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
2294
- tag: Tag;
2295
- rebuildTx: (params: any) => any;
2296
- unpackTx: typeof import(".").unpackTx;
2297
- buildTx: typeof import(".").buildTx;
2298
- _computingGasLimit?: number | undefined;
2299
- }, { gasMax }: {
2300
- gasMax?: number | undefined;
2301
- }): Buffer;
2302
- deserialize(value: Buffer): number;
2303
- };
2304
- }, {
2305
- readonly tag: {
2306
- serialize: (value: Tag.ChannelClientReconnectTx) => Buffer;
2307
- deserialize: (value: Buffer) => Tag.ChannelClientReconnectTx;
2308
- constValue: Tag.ChannelClientReconnectTx;
2309
- constValueOptional: boolean;
2310
- };
2311
- readonly version: {
2312
- serialize: (value?: 1 | undefined) => Buffer;
2313
- deserialize: (value: Buffer) => 1;
2314
- constValue: 1;
2315
- constValueOptional: boolean;
2316
- };
2317
- readonly channelId: {
2318
- serialize: (value: `ch_${string}`) => Buffer;
2319
- deserialize: (value: Buffer) => `ch_${string}`;
2320
- };
2321
- readonly round: {
2322
- serialize(value: number): Buffer;
2323
- deserialize(value: Buffer): number;
2324
- };
2325
- readonly role: {
2326
- serialize(string: string): Buffer;
2327
- deserialize(buffer: Buffer): string;
2328
- };
2329
- readonly pubkey: {
2330
- serialize: (value: `ak_${string}`) => Buffer;
2331
- deserialize: (value: Buffer) => `ak_${string}`;
2332
- };
2333
- }, {
2334
- readonly tag: {
2335
- serialize: (value: Tag.TreesPoi) => Buffer;
2336
- deserialize: (value: Buffer) => Tag.TreesPoi;
2337
- constValue: Tag.TreesPoi;
2338
- constValueOptional: boolean;
2339
- };
2340
- readonly version: {
2341
- serialize: (value?: 1 | undefined) => Buffer;
2342
- deserialize: (value: Buffer) => 1;
2343
- constValue: 1;
2344
- constValueOptional: boolean;
2345
- };
2346
- readonly accounts: {
2347
- serialize: (value: readonly {
2348
- readonly "__#3@#rootHash": string;
2349
- "__#3@#isComplete": boolean;
2350
- readonly isComplete: boolean;
2351
- readonly "__#3@#nodes": {
2352
- [key: string]: Buffer[];
2353
- };
2354
- readonly "__#3@#encoding": Encoded.Encoding.AccountAddress;
2355
- readonly "__#3@#tag": Tag.Account;
2356
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2357
- isEqual(tree: any): boolean;
2358
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2359
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2360
- get(key: `ak_${string}`): (import("./schema.generated").TxUnpackedAccount1 & {
2361
- tag: Tag.Account;
2362
- }) | (import("./schema.generated").TxUnpackedAccount2 & {
2363
- tag: Tag.Account;
2364
- }) | undefined;
2365
- "__#3@#entriesRaw"(): [string, Buffer][];
2366
- toObject(): Record<`ak_${string}`, (import("./schema.generated").TxUnpackedAccount1 & {
2367
- tag: Tag.Account;
2368
- }) | (import("./schema.generated").TxUnpackedAccount2 & {
2369
- tag: Tag.Account;
2370
- })>;
2371
- }[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
2372
- deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
2373
- readonly "__#3@#rootHash": string;
2374
- "__#3@#isComplete": boolean;
2375
- readonly isComplete: boolean;
2376
- readonly "__#3@#nodes": {
2377
- [key: string]: Buffer[];
2378
- };
2379
- readonly "__#3@#encoding": Encoded.Encoding.AccountAddress;
2380
- readonly "__#3@#tag": Tag.Account;
2381
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2382
- isEqual(tree: any): boolean;
2383
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2384
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2385
- get(key: `ak_${string}`): (import("./schema.generated").TxUnpackedAccount1 & {
2386
- tag: Tag.Account;
2387
- }) | (import("./schema.generated").TxUnpackedAccount2 & {
2388
- tag: Tag.Account;
2389
- }) | undefined;
2390
- "__#3@#entriesRaw"(): [string, Buffer][];
2391
- toObject(): Record<`ak_${string}`, (import("./schema.generated").TxUnpackedAccount1 & {
2392
- tag: Tag.Account;
2393
- }) | (import("./schema.generated").TxUnpackedAccount2 & {
2394
- tag: Tag.Account;
2395
- })>;
2396
- }[];
2397
- };
2398
- readonly calls: {
2399
- serialize: (value: readonly {
2400
- readonly "__#3@#rootHash": string;
2401
- "__#3@#isComplete": boolean;
2402
- readonly isComplete: boolean;
2403
- readonly "__#3@#nodes": {
2404
- [key: string]: Buffer[];
2405
- };
2406
- readonly "__#3@#encoding": Encoded.Encoding.Bytearray;
2407
- readonly "__#3@#tag": Tag.ContractCall;
2408
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2409
- isEqual(tree: any): boolean;
2410
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2411
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2412
- get(key: `ba_${string}`): (import("./schema.generated").TxUnpackedContractCall2 & {
2413
- tag: Tag.ContractCall;
2414
- }) | undefined;
2415
- "__#3@#entriesRaw"(): [string, Buffer][];
2416
- toObject(): Record<`ba_${string}`, import("./schema.generated").TxUnpackedContractCall2 & {
2417
- tag: Tag.ContractCall;
2418
- }>;
2419
- }[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
2420
- deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
2421
- readonly "__#3@#rootHash": string;
2422
- "__#3@#isComplete": boolean;
2423
- readonly isComplete: boolean;
2424
- readonly "__#3@#nodes": {
2425
- [key: string]: Buffer[];
2426
- };
2427
- readonly "__#3@#encoding": Encoded.Encoding.Bytearray;
2428
- readonly "__#3@#tag": Tag.ContractCall;
2429
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2430
- isEqual(tree: any): boolean;
2431
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2432
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2433
- get(key: `ba_${string}`): (import("./schema.generated").TxUnpackedContractCall2 & {
2434
- tag: Tag.ContractCall;
2435
- }) | undefined;
2436
- "__#3@#entriesRaw"(): [string, Buffer][];
2437
- toObject(): Record<`ba_${string}`, import("./schema.generated").TxUnpackedContractCall2 & {
2438
- tag: Tag.ContractCall;
2439
- }>;
2440
- }[];
2441
- };
2442
- readonly channels: {
2443
- serialize: (value: readonly {
2444
- readonly "__#3@#rootHash": string;
2445
- "__#3@#isComplete": boolean;
2446
- readonly isComplete: boolean;
2447
- readonly "__#3@#nodes": {
2448
- [key: string]: Buffer[];
2449
- };
2450
- readonly "__#3@#encoding": Encoded.Encoding.Channel;
2451
- readonly "__#3@#tag": Tag.Channel;
2452
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2453
- isEqual(tree: any): boolean;
2454
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2455
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2456
- get(key: `ch_${string}`): (import("./schema.generated").TxUnpackedChannel3 & {
2457
- tag: Tag.Channel;
2458
- }) | undefined;
2459
- "__#3@#entriesRaw"(): [string, Buffer][];
2460
- toObject(): Record<`ch_${string}`, import("./schema.generated").TxUnpackedChannel3 & {
2461
- tag: Tag.Channel;
2462
- }>;
2463
- }[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
2464
- deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
2465
- readonly "__#3@#rootHash": string;
2466
- "__#3@#isComplete": boolean;
2467
- readonly isComplete: boolean;
2468
- readonly "__#3@#nodes": {
2469
- [key: string]: Buffer[];
2470
- };
2471
- readonly "__#3@#encoding": Encoded.Encoding.Channel;
2472
- readonly "__#3@#tag": Tag.Channel;
2473
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2474
- isEqual(tree: any): boolean;
2475
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2476
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2477
- get(key: `ch_${string}`): (import("./schema.generated").TxUnpackedChannel3 & {
2478
- tag: Tag.Channel;
2479
- }) | undefined;
2480
- "__#3@#entriesRaw"(): [string, Buffer][];
2481
- toObject(): Record<`ch_${string}`, import("./schema.generated").TxUnpackedChannel3 & {
2482
- tag: Tag.Channel;
2483
- }>;
2484
- }[];
2485
- };
2486
- readonly contracts: {
2487
- serialize: (value: readonly {
2488
- readonly "__#3@#rootHash": string;
2489
- "__#3@#isComplete": boolean;
2490
- readonly isComplete: boolean;
2491
- readonly "__#3@#nodes": {
2492
- [key: string]: Buffer[];
2493
- };
2494
- readonly "__#3@#encoding": Encoded.Encoding.ContractAddress;
2495
- readonly "__#3@#tag": Tag.Contract;
2496
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2497
- isEqual(tree: any): boolean;
2498
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2499
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2500
- get(key: `ct_${string}`): (import("./schema.generated").TxUnpackedContract1 & {
2501
- tag: Tag.Contract;
2502
- }) | undefined;
2503
- "__#3@#entriesRaw"(): [string, Buffer][];
2504
- toObject(): Record<`ct_${string}`, import("./schema.generated").TxUnpackedContract1 & {
2505
- tag: Tag.Contract;
2506
- }>;
2507
- }[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
2508
- deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
2509
- readonly "__#3@#rootHash": string;
2510
- "__#3@#isComplete": boolean;
2511
- readonly isComplete: boolean;
2512
- readonly "__#3@#nodes": {
2513
- [key: string]: Buffer[];
2514
- };
2515
- readonly "__#3@#encoding": Encoded.Encoding.ContractAddress;
2516
- readonly "__#3@#tag": Tag.Contract;
2517
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2518
- isEqual(tree: any): boolean;
2519
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2520
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2521
- get(key: `ct_${string}`): (import("./schema.generated").TxUnpackedContract1 & {
2522
- tag: Tag.Contract;
2523
- }) | undefined;
2524
- "__#3@#entriesRaw"(): [string, Buffer][];
2525
- toObject(): Record<`ct_${string}`, import("./schema.generated").TxUnpackedContract1 & {
2526
- tag: Tag.Contract;
2527
- }>;
2528
- }[];
2529
- };
2530
- readonly ns: {
2531
- serialize: (value: readonly {
2532
- readonly "__#3@#rootHash": string;
2533
- "__#3@#isComplete": boolean;
2534
- readonly isComplete: boolean;
2535
- readonly "__#3@#nodes": {
2536
- [key: string]: Buffer[];
2537
- };
2538
- readonly "__#3@#encoding": Encoded.Encoding.Name;
2539
- readonly "__#3@#tag": Tag.Name;
2540
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2541
- isEqual(tree: any): boolean;
2542
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2543
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2544
- get(key: `nm_${string}`): (import("./schema.generated").TxUnpackedName1 & {
2545
- tag: Tag.Name;
2546
- }) | undefined;
2547
- "__#3@#entriesRaw"(): [string, Buffer][];
2548
- toObject(): Record<`nm_${string}`, import("./schema.generated").TxUnpackedName1 & {
2549
- tag: Tag.Name;
2550
- }>;
2551
- }[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
2552
- deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
2553
- readonly "__#3@#rootHash": string;
2554
- "__#3@#isComplete": boolean;
2555
- readonly isComplete: boolean;
2556
- readonly "__#3@#nodes": {
2557
- [key: string]: Buffer[];
2558
- };
2559
- readonly "__#3@#encoding": Encoded.Encoding.Name;
2560
- readonly "__#3@#tag": Tag.Name;
2561
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2562
- isEqual(tree: any): boolean;
2563
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2564
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2565
- get(key: `nm_${string}`): (import("./schema.generated").TxUnpackedName1 & {
2566
- tag: Tag.Name;
2567
- }) | undefined;
2568
- "__#3@#entriesRaw"(): [string, Buffer][];
2569
- toObject(): Record<`nm_${string}`, import("./schema.generated").TxUnpackedName1 & {
2570
- tag: Tag.Name;
2571
- }>;
2572
- }[];
2573
- };
2574
- readonly oracles: {
2575
- serialize: (value: readonly {
2576
- readonly "__#3@#rootHash": string;
2577
- "__#3@#isComplete": boolean;
2578
- readonly isComplete: boolean;
2579
- readonly "__#3@#nodes": {
2580
- [key: string]: Buffer[];
2581
- };
2582
- readonly "__#3@#encoding": Encoded.Encoding.OracleAddress;
2583
- readonly "__#3@#tag": Tag.Oracle;
2584
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2585
- isEqual(tree: any): boolean;
2586
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2587
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2588
- get(key: `ok_${string}`): (import("./schema.generated").TxUnpackedOracle1 & {
2589
- tag: Tag.Oracle;
2590
- }) | undefined;
2591
- "__#3@#entriesRaw"(): [string, Buffer][];
2592
- toObject(): Record<`ok_${string}`, import("./schema.generated").TxUnpackedOracle1 & {
2593
- tag: Tag.Oracle;
2594
- }>;
2595
- }[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
2596
- deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
2597
- readonly "__#3@#rootHash": string;
2598
- "__#3@#isComplete": boolean;
2599
- readonly isComplete: boolean;
2600
- readonly "__#3@#nodes": {
2601
- [key: string]: Buffer[];
2602
- };
2603
- readonly "__#3@#encoding": Encoded.Encoding.OracleAddress;
2604
- readonly "__#3@#tag": Tag.Oracle;
2605
- readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2606
- isEqual(tree: any): boolean;
2607
- serialize(): [Buffer, [Buffer, Buffer[]][]];
2608
- "__#3@#getRaw"(_key: string): Buffer | undefined;
2609
- get(key: `ok_${string}`): (import("./schema.generated").TxUnpackedOracle1 & {
2610
- tag: Tag.Oracle;
2611
- }) | undefined;
2612
- "__#3@#entriesRaw"(): [string, Buffer][];
2613
- toObject(): Record<`ok_${string}`, import("./schema.generated").TxUnpackedOracle1 & {
2614
- tag: Tag.Oracle;
2615
- }>;
2616
- }[];
2617
- };
2618
- }, {
2619
- readonly tag: {
2620
- serialize: (value: Tag.StateTrees) => Buffer;
2621
- deserialize: (value: Buffer) => Tag.StateTrees;
2622
- constValue: Tag.StateTrees;
2623
- constValueOptional: boolean;
2624
- };
2625
- readonly version: {
2626
- serialize: (value?: 0 | undefined) => Buffer;
2627
- deserialize: (value: Buffer) => 0;
2628
- constValue: 0;
2629
- constValueOptional: boolean;
2630
- };
2631
- readonly contracts: MapContracts;
2632
- readonly calls: MapCalls;
2633
- readonly channels: MapChannels;
2634
- readonly ns: MapNames;
2635
- readonly oracles: MapOracles;
2636
- readonly accounts: MapAccounts;
2637
- }, {
2638
- readonly tag: {
2639
- serialize: (value: Tag.Mtree) => Buffer;
2640
- deserialize: (value: Buffer) => Tag.Mtree;
2641
- constValue: Tag.Mtree;
2642
- constValueOptional: boolean;
2643
- };
2644
- readonly version: {
2645
- serialize: (value?: 1 | undefined) => Buffer;
2646
- deserialize: (value: Buffer) => 1;
2647
- constValue: 1;
2648
- constValueOptional: boolean;
2649
- };
2650
- readonly values: EntryMtreeValueArray;
2651
- }, {
2652
- readonly tag: {
2653
- serialize: (value: Tag.MtreeValue) => Buffer;
2654
- deserialize: (value: Buffer) => Tag.MtreeValue;
2655
- constValue: Tag.MtreeValue;
2656
- constValueOptional: boolean;
2657
- };
2658
- readonly version: {
2659
- serialize: (value?: 1 | undefined) => Buffer;
2660
- deserialize: (value: Buffer) => 1;
2661
- constValue: 1;
2662
- constValueOptional: boolean;
2663
- };
2664
- readonly key: {
2665
- serialize(buffer: Uint8Array): Buffer;
2666
- deserialize(buffer: Buffer): Buffer;
2667
- };
2668
- readonly value: {
2669
- serialize(buffer: Uint8Array): Buffer;
2670
- deserialize(buffer: Buffer): Buffer;
2671
- };
2672
- }, {
2673
- readonly tag: {
2674
- serialize: (value: Tag.ContractsMtree) => Buffer;
2675
- deserialize: (value: Buffer) => Tag.ContractsMtree;
2676
- constValue: Tag.ContractsMtree;
2677
- constValueOptional: boolean;
2678
- };
2679
- readonly version: {
2680
- serialize: (value?: 1 | undefined) => Buffer;
2681
- deserialize: (value: Buffer) => 1;
2682
- constValue: 1;
2683
- constValueOptional: boolean;
2684
- };
2685
- readonly payload: MapContracts;
2686
- }, {
2687
- readonly tag: {
2688
- serialize: (value: Tag.CallsMtree) => Buffer;
2689
- deserialize: (value: Buffer) => Tag.CallsMtree;
2690
- constValue: Tag.CallsMtree;
2691
- constValueOptional: boolean;
2692
- };
2693
- readonly version: {
2694
- serialize: (value?: 1 | undefined) => Buffer;
2695
- deserialize: (value: Buffer) => 1;
2696
- constValue: 1;
2697
- constValueOptional: boolean;
2698
- };
2699
- readonly payload: MapCalls;
2700
- }, {
2701
- readonly tag: {
2702
- serialize: (value: Tag.ChannelsMtree) => Buffer;
2703
- deserialize: (value: Buffer) => Tag.ChannelsMtree;
2704
- constValue: Tag.ChannelsMtree;
2705
- constValueOptional: boolean;
2706
- };
2707
- readonly version: {
2708
- serialize: (value?: 1 | undefined) => Buffer;
2709
- deserialize: (value: Buffer) => 1;
2710
- constValue: 1;
2711
- constValueOptional: boolean;
2712
- };
2713
- readonly payload: MapChannels;
2714
- }, {
2715
- readonly tag: {
2716
- serialize: (value: Tag.NameserviceMtree) => Buffer;
2717
- deserialize: (value: Buffer) => Tag.NameserviceMtree;
2718
- constValue: Tag.NameserviceMtree;
2719
- constValueOptional: boolean;
2720
- };
2721
- readonly version: {
2722
- serialize: (value?: 1 | undefined) => Buffer;
2723
- deserialize: (value: Buffer) => 1;
2724
- constValue: 1;
2725
- constValueOptional: boolean;
2726
- };
2727
- readonly payload: MapNames;
2728
- }, {
2729
- readonly tag: {
2730
- serialize: (value: Tag.OraclesMtree) => Buffer;
2731
- deserialize: (value: Buffer) => Tag.OraclesMtree;
2732
- constValue: Tag.OraclesMtree;
2733
- constValueOptional: boolean;
2734
- };
2735
- readonly version: {
2736
- serialize: (value?: 1 | undefined) => Buffer;
2737
- deserialize: (value: Buffer) => 1;
2738
- constValue: 1;
2739
- constValueOptional: boolean;
2740
- };
2741
- readonly payload: MapOracles;
2742
- }, {
2743
- readonly tag: {
2744
- serialize: (value: Tag.AccountsMtree) => Buffer;
2745
- deserialize: (value: Buffer) => Tag.AccountsMtree;
2746
- constValue: Tag.AccountsMtree;
2747
- constValueOptional: boolean;
2748
- };
2749
- readonly version: {
2750
- serialize: (value?: 1 | undefined) => Buffer;
2751
- deserialize: (value: Buffer) => 1;
2752
- constValue: 1;
2753
- constValueOptional: boolean;
2754
- };
2755
- readonly payload: MapAccounts;
2756
1660
  }, {
2757
1661
  readonly tag: {
2758
1662
  serialize: (value: Tag.GaAttachTx) => Buffer;
@@ -2771,13 +1675,15 @@ export declare const txSchema: readonly [{
2771
1675
  deserialize: (value: Buffer) => `ak_${string}`;
2772
1676
  };
2773
1677
  readonly nonce: {
2774
- serialize: (value: number) => Buffer;
1678
+ serialize: (value: number, params: {
1679
+ tag: Tag;
1680
+ }) => Buffer;
2775
1681
  prepare: (value: number | undefined, params: {}, options: {
2776
1682
  ownerId: string;
2777
1683
  } & {
2778
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
2779
- onNode?: import("../..").Node | undefined;
2780
- _isInternalBuild?: boolean | undefined;
1684
+ strategy?: import("../../apis/node/index.js").Enum1;
1685
+ onNode?: import("../../Node.js").default;
1686
+ _isInternalBuild?: boolean;
2781
1687
  }) => Promise<number>;
2782
1688
  deserialize: (value: Buffer) => number;
2783
1689
  senderKey: string;
@@ -2791,62 +1697,56 @@ export declare const txSchema: readonly [{
2791
1697
  deserialize(buffer: Buffer): Buffer;
2792
1698
  };
2793
1699
  readonly ctVersion: {
2794
- serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
2795
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
1700
+ serialize(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, { consensusProtocolVersion, }: {
1701
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
2796
1702
  }): Buffer;
2797
- prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
2798
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
2799
- onNode?: import("../..").Node | undefined;
2800
- }): Promise<import("./field-types/ct-version").CtVersion | undefined>;
2801
- deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
1703
+ prepare(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, options: {
1704
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
1705
+ onNode?: import("../../Node.js").default;
1706
+ }): Promise<import("./field-types/ct-version.js").CtVersion | undefined>;
1707
+ deserialize(buffer: Buffer): import("./field-types/ct-version.js").CtVersion;
2802
1708
  };
2803
1709
  readonly fee: {
2804
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
2805
- onNode?: import("../..").Node | undefined;
2806
- }): Promise<import("./constants").Int | undefined>;
2807
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
2808
- _canIncreaseFee?: boolean | undefined;
1710
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1711
+ onNode?: import("../../Node.js").default;
1712
+ }): Promise<import("./constants.js").Int | undefined>;
1713
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1714
+ _canIncreaseFee?: boolean;
2809
1715
  }): string;
2810
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
2811
- _canIncreaseFee?: boolean | undefined;
2812
- } & {
2813
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2814
- }): Buffer;
1716
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1717
+ _canIncreaseFee?: boolean;
1718
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
2815
1719
  deserialize(value: Buffer): string;
2816
1720
  };
2817
1721
  readonly ttl: {
2818
1722
  serialize(value: number | undefined): Buffer;
2819
1723
  prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
2820
- onNode?: import("../..").Node | undefined;
2821
- absoluteTtl?: boolean | undefined;
2822
- _isInternalBuild?: boolean | undefined;
2823
- } & Omit<{
2824
- _expectedMineRate?: number | undefined;
2825
- _microBlockCycle?: number | undefined;
2826
- onNode: import("../..").Node;
2827
- }, "onNode">): Promise<number | undefined>;
1724
+ onNode?: import("../../Node.js").default;
1725
+ absoluteTtl?: boolean;
1726
+ _isInternalBuild?: boolean;
1727
+ } & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
2828
1728
  deserialize(value: Buffer): number;
2829
1729
  };
2830
1730
  readonly gasLimit: {
2831
1731
  serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
2832
1732
  tag: Tag;
2833
1733
  rebuildTx: (params: any) => any;
2834
- unpackTx: typeof import(".").unpackTx;
2835
- buildTx: typeof import(".").buildTx;
2836
- _computingGasLimit?: number | undefined;
1734
+ unpackTx: typeof import("./index.js").unpackTx;
1735
+ buildTx: typeof import("./index.js").buildTx;
1736
+ _computingGasLimit?: number;
2837
1737
  }, { gasMax }: {
2838
- gasMax?: number | undefined;
1738
+ gasMax?: number;
2839
1739
  }): Buffer;
2840
1740
  deserialize(value: Buffer): number;
2841
1741
  };
2842
1742
  readonly gasPrice: {
2843
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
2844
- onNode?: import("../..").Node | undefined;
2845
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2846
- }): Promise<import("./constants").Int | undefined>;
1743
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
1744
+ onNode?: import("../../Node.js").default;
1745
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
1746
+ }): Promise<import("./constants.js").Int | undefined>;
2847
1747
  serializeAettos(value?: string | undefined): string;
2848
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
2849
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1748
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
1749
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
2850
1750
  }): Buffer;
2851
1751
  deserialize(value: Buffer): string;
2852
1752
  };
@@ -2876,58 +1776,56 @@ export declare const txSchema: readonly [{
2876
1776
  deserialize: (value: Buffer) => `cb_${string}`;
2877
1777
  };
2878
1778
  readonly abiVersion: {
2879
- _getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
2880
- serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
1779
+ _getProtocolDetails(c: import("./constants.js").ConsensusProtocolVersion, tag: Tag): import("./constants.js").AbiVersion;
1780
+ serialize(value: import("./constants.js").AbiVersion | undefined, { tag }: {
2881
1781
  tag: Tag;
2882
- }, { consensusProtocolVersion }: {
2883
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
1782
+ }, { consensusProtocolVersion, }: {
1783
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
2884
1784
  }): Buffer;
2885
- prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
1785
+ prepare(value: import("./constants.js").AbiVersion | undefined, { tag }: {
2886
1786
  tag: Tag;
2887
1787
  }, options: {
2888
- consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
2889
- onNode?: import("../..").Node | undefined;
2890
- }): Promise<import("./constants").AbiVersion | undefined>;
2891
- deserialize(buffer: Buffer): import("./constants").AbiVersion;
1788
+ consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
1789
+ onNode?: import("../../Node.js").default;
1790
+ }): Promise<import("./constants.js").AbiVersion | undefined>;
1791
+ deserialize(buffer: Buffer): import("./constants.js").AbiVersion;
2892
1792
  };
2893
1793
  readonly fee: {
2894
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
2895
- onNode?: import("../..").Node | undefined;
2896
- }): Promise<import("./constants").Int | undefined>;
2897
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
2898
- _canIncreaseFee?: boolean | undefined;
1794
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1795
+ onNode?: import("../../Node.js").default;
1796
+ }): Promise<import("./constants.js").Int | undefined>;
1797
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1798
+ _canIncreaseFee?: boolean;
2899
1799
  }): string;
2900
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
2901
- _canIncreaseFee?: boolean | undefined;
2902
- } & {
2903
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2904
- }): Buffer;
1800
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1801
+ _canIncreaseFee?: boolean;
1802
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
2905
1803
  deserialize(value: Buffer): string;
2906
1804
  };
2907
1805
  readonly gasLimit: {
2908
1806
  serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
2909
1807
  tag: Tag;
2910
1808
  rebuildTx: (params: any) => any;
2911
- unpackTx: typeof import(".").unpackTx;
2912
- buildTx: typeof import(".").buildTx;
2913
- _computingGasLimit?: number | undefined;
1809
+ unpackTx: typeof import("./index.js").unpackTx;
1810
+ buildTx: typeof import("./index.js").buildTx;
1811
+ _computingGasLimit?: number;
2914
1812
  }, { gasMax }: {
2915
- gasMax?: number | undefined;
1813
+ gasMax?: number;
2916
1814
  }): Buffer;
2917
1815
  deserialize(value: Buffer): number;
2918
1816
  };
2919
1817
  readonly gasPrice: {
2920
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
2921
- onNode?: import("../..").Node | undefined;
2922
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2923
- }): Promise<import("./constants").Int | undefined>;
1818
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
1819
+ onNode?: import("../../Node.js").default;
1820
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
1821
+ }): Promise<import("./constants.js").Int | undefined>;
2924
1822
  serializeAettos(value?: string | undefined): string;
2925
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
2926
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
1823
+ serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
1824
+ denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
2927
1825
  }): Buffer;
2928
1826
  deserialize(value: Buffer): string;
2929
1827
  };
2930
- readonly tx: EntrySignedTx;
1828
+ readonly tx: TransactionSignedTx;
2931
1829
  }, {
2932
1830
  readonly tag: {
2933
1831
  serialize: (value: Tag.PayingForTx) => Buffer;
@@ -2946,67 +1844,32 @@ export declare const txSchema: readonly [{
2946
1844
  deserialize: (value: Buffer) => `ak_${string}`;
2947
1845
  };
2948
1846
  readonly nonce: {
2949
- serialize: (value: number) => Buffer;
1847
+ serialize: (value: number, params: {
1848
+ tag: Tag;
1849
+ }) => Buffer;
2950
1850
  prepare: (value: number | undefined, params: {}, options: {
2951
1851
  payerId: string;
2952
1852
  } & {
2953
- strategy?: import("../../apis/node").NextNonceStrategy | undefined;
2954
- onNode?: import("../..").Node | undefined;
2955
- _isInternalBuild?: boolean | undefined;
1853
+ strategy?: import("../../apis/node/index.js").Enum1;
1854
+ onNode?: import("../../Node.js").default;
1855
+ _isInternalBuild?: boolean;
2956
1856
  }) => Promise<number>;
2957
1857
  deserialize: (value: Buffer) => number;
2958
1858
  senderKey: string;
2959
1859
  };
2960
1860
  readonly fee: {
2961
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
2962
- onNode?: import("../..").Node | undefined;
2963
- }): Promise<import("./constants").Int | undefined>;
2964
- serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, }: import("./field-types/fee").SerializeAettosParams, { _canIncreaseFee }: {
2965
- _canIncreaseFee?: boolean | undefined;
1861
+ prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
1862
+ onNode?: import("../../Node.js").default;
1863
+ }): Promise<import("./constants.js").Int | undefined>;
1864
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
1865
+ _canIncreaseFee?: boolean;
2966
1866
  }): string;
2967
- serialize(value: import("./constants").Int | undefined, params: import("./field-types/fee").SerializeAettosParams, options: {
2968
- _canIncreaseFee?: boolean | undefined;
2969
- } & {
2970
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2971
- }): Buffer;
2972
- deserialize(value: Buffer): string;
2973
- };
2974
- readonly tx: EntrySignedTx;
2975
- }, {
2976
- readonly tag: {
2977
- serialize: (value: Tag.GaMetaTxAuthData) => Buffer;
2978
- deserialize: (value: Buffer) => Tag.GaMetaTxAuthData;
2979
- constValue: Tag.GaMetaTxAuthData;
2980
- constValueOptional: boolean;
2981
- };
2982
- readonly version: {
2983
- serialize: (value?: 1 | undefined) => Buffer;
2984
- deserialize: (value: Buffer) => 1;
2985
- constValue: 1;
2986
- constValueOptional: boolean;
2987
- };
2988
- readonly fee: {
2989
- serializeAettos(value: string | undefined, params: {}, options: {}): string;
2990
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
2991
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2992
- }): Buffer;
1867
+ serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
1868
+ _canIncreaseFee?: boolean;
1869
+ } & Parameters<typeof coinAmount.serialize>[2]): Buffer;
2993
1870
  deserialize(value: Buffer): string;
2994
1871
  };
2995
- readonly gasPrice: {
2996
- prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
2997
- onNode?: import("../..").Node | undefined;
2998
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
2999
- }): Promise<import("./constants").Int | undefined>;
3000
- serializeAettos(value?: string | undefined): string;
3001
- serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
3002
- denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
3003
- }): Buffer;
3004
- deserialize(value: Buffer): string;
3005
- };
3006
- readonly txHash: {
3007
- serialize: (value: `th_${string}`) => Buffer;
3008
- deserialize: (value: Buffer) => `th_${string}`;
3009
- };
1872
+ readonly tx: TransactionSignedTx;
3010
1873
  }];
3011
1874
  type TxSchema = SchemaTypes<typeof txSchema>;
3012
1875
  export type TxParams = TxSchema['TxParams'];