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