@aeternity/aepp-sdk 12.1.3 → 13.0.0-alpha.1

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 (565) hide show
  1. package/bin/aesophia_cli +0 -0
  2. package/dist/aepp-sdk.browser-script.js +1 -1
  3. package/dist/aepp-sdk.browser-script.js.map +1 -1
  4. package/dist/aepp-sdk.browser.js +1 -1
  5. package/dist/aepp-sdk.browser.js.map +1 -1
  6. package/dist/aepp-sdk.js +12031 -11231
  7. package/dist/aepp-sdk.js.map +1 -1
  8. package/es/AeSdk.d.ts +7 -3
  9. package/es/AeSdk.mjs +17 -22
  10. package/es/AeSdk.mjs.map +1 -1
  11. package/es/AeSdkAepp.d.ts +6 -5
  12. package/es/AeSdkAepp.mjs +7 -30
  13. package/es/AeSdkAepp.mjs.map +1 -1
  14. package/es/AeSdkBase.d.ts +18 -140
  15. package/es/AeSdkBase.mjs +30 -184
  16. package/es/AeSdkBase.mjs.map +1 -1
  17. package/es/AeSdkMethods.d.ts +123 -0
  18. package/es/AeSdkMethods.mjs +122 -0
  19. package/es/AeSdkMethods.mjs.map +1 -0
  20. package/es/AeSdkWallet.d.ts +7 -21
  21. package/es/AeSdkWallet.mjs +38 -86
  22. package/es/AeSdkWallet.mjs.map +1 -1
  23. package/es/Node.d.ts +11 -15
  24. package/es/Node.mjs +35 -48
  25. package/es/Node.mjs.map +1 -1
  26. package/es/account/Base.d.ts +24 -40
  27. package/es/account/Base.mjs +1 -101
  28. package/es/account/Base.mjs.map +1 -1
  29. package/es/account/Generalized.d.ts +16 -0
  30. package/es/account/Generalized.mjs +113 -0
  31. package/es/account/Generalized.mjs.map +1 -0
  32. package/es/account/Ledger.d.ts +28 -0
  33. package/es/account/Ledger.mjs +102 -0
  34. package/es/account/Ledger.mjs.map +1 -0
  35. package/es/account/LedgerFactory.d.ts +39 -0
  36. package/es/account/LedgerFactory.mjs +81 -0
  37. package/es/account/LedgerFactory.mjs.map +1 -0
  38. package/es/account/Memory.d.ts +13 -17
  39. package/es/account/Memory.mjs +43 -64
  40. package/es/account/Memory.mjs.map +1 -1
  41. package/es/account/Rpc.d.ts +6 -8
  42. package/es/account/Rpc.mjs +14 -32
  43. package/es/account/Rpc.mjs.map +1 -1
  44. package/es/aens.d.ts +4 -4
  45. package/es/aens.mjs +46 -41
  46. package/es/aens.mjs.map +1 -1
  47. package/es/aepp-wallet-communication/connection/Browser.mjs +9 -13
  48. package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
  49. package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +1 -0
  50. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +22 -11
  51. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
  52. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +1 -1
  53. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +0 -31
  54. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
  55. package/es/aepp-wallet-communication/connection-proxy.mjs.map +1 -1
  56. package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +3 -3
  57. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +5 -42
  58. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
  59. package/es/aepp-wallet-communication/rpc/types.d.ts +7 -1
  60. package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
  61. package/es/aepp-wallet-communication/schema.mjs +14 -68
  62. package/es/aepp-wallet-communication/schema.mjs.map +1 -1
  63. package/es/aepp-wallet-communication/wallet-detector.mjs +0 -3
  64. package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
  65. package/es/apis/compiler/compiler.d.ts +23 -29
  66. package/es/apis/compiler/compiler.mjs +128 -189
  67. package/es/apis/compiler/compiler.mjs.map +1 -1
  68. package/es/apis/compiler/index.mjs.map +1 -1
  69. package/es/apis/compiler/models/index.d.ts +82 -135
  70. package/es/apis/compiler/models/index.mjs +1 -47
  71. package/es/apis/compiler/models/index.mjs.map +1 -1
  72. package/es/apis/compiler/models/mappers.d.ts +8 -8
  73. package/es/apis/compiler/models/mappers.mjs +165 -183
  74. package/es/apis/compiler/models/mappers.mjs.map +1 -1
  75. package/es/apis/compiler/models/parameters.d.ts +0 -1
  76. package/es/apis/compiler/models/parameters.mjs +5 -9
  77. package/es/apis/compiler/models/parameters.mjs.map +1 -1
  78. package/es/apis/node/index.mjs.map +1 -1
  79. package/es/apis/node/models/index.d.ts +48 -48
  80. package/es/apis/node/models/mappers.mjs +12 -6
  81. package/es/apis/node/models/mappers.mjs.map +1 -1
  82. package/es/apis/node/models/parameters.mjs.map +1 -1
  83. package/es/apis/node/node.mjs +43 -84
  84. package/es/apis/node/node.mjs.map +1 -1
  85. package/es/chain.d.ts +10 -2
  86. package/es/chain.mjs +37 -59
  87. package/es/chain.mjs.map +1 -1
  88. package/es/channel/Base.d.ts +200 -0
  89. package/es/channel/Base.mjs +293 -0
  90. package/es/channel/Base.mjs.map +1 -0
  91. package/es/channel/Contract.d.ts +248 -0
  92. package/es/channel/Contract.mjs +420 -0
  93. package/es/channel/Contract.mjs.map +1 -0
  94. package/es/channel/Spend.d.ts +219 -0
  95. package/es/channel/Spend.mjs +385 -0
  96. package/es/channel/Spend.mjs.map +1 -0
  97. package/es/channel/handlers.d.ts +8 -21
  98. package/es/channel/handlers.mjs +151 -899
  99. package/es/channel/handlers.mjs.map +1 -1
  100. package/es/channel/internal.d.ts +27 -21
  101. package/es/channel/internal.mjs +101 -191
  102. package/es/channel/internal.mjs.map +1 -1
  103. package/es/contract/Contract.d.ts +210 -0
  104. package/es/contract/Contract.mjs +551 -0
  105. package/es/contract/Contract.mjs.map +1 -0
  106. package/es/contract/compiler/Base.d.ts +81 -0
  107. package/es/contract/compiler/Base.mjs +5 -0
  108. package/es/contract/compiler/Base.mjs.map +1 -0
  109. package/es/contract/compiler/Cli.d.ts +23 -0
  110. package/es/contract/compiler/Cli.mjs +155 -0
  111. package/es/contract/compiler/Cli.mjs.map +1 -0
  112. package/es/contract/compiler/Http.d.ts +32 -0
  113. package/es/contract/compiler/Http.mjs +118 -0
  114. package/es/contract/compiler/Http.mjs.map +1 -0
  115. package/es/contract/compiler/HttpNode.d.ts +17 -0
  116. package/es/contract/compiler/HttpNode.mjs +26 -0
  117. package/es/contract/compiler/HttpNode.mjs.map +1 -0
  118. package/es/contract/compiler/getFileSystem.d.ts +6 -0
  119. package/es/contract/compiler/getFileSystem.mjs +40 -0
  120. package/es/contract/compiler/getFileSystem.mjs.map +1 -0
  121. package/es/contract/ga.d.ts +9 -34
  122. package/es/contract/ga.mjs +29 -112
  123. package/es/contract/ga.mjs.map +1 -1
  124. package/es/index-browser.d.ts +39 -0
  125. package/es/index-browser.mjs +55 -0
  126. package/es/index-browser.mjs.map +1 -0
  127. package/es/index.d.ts +4 -35
  128. package/es/index.mjs +4 -51
  129. package/es/index.mjs.map +1 -1
  130. package/es/oracle.d.ts +5 -5
  131. package/es/oracle.mjs +34 -40
  132. package/es/oracle.mjs.map +1 -1
  133. package/es/spend.d.ts +3 -3
  134. package/es/spend.mjs +18 -23
  135. package/es/spend.mjs.map +1 -1
  136. package/es/tx/builder/constants.d.ts +30 -2
  137. package/es/tx/builder/constants.mjs +43 -14
  138. package/es/tx/builder/constants.mjs.map +1 -1
  139. package/es/tx/builder/field-types/abi-version.d.ts +10 -0
  140. package/es/tx/builder/field-types/abi-version.mjs +20 -0
  141. package/es/tx/builder/field-types/abi-version.mjs.map +1 -0
  142. package/es/tx/builder/field-types/address.d.ts +14 -0
  143. package/es/tx/builder/field-types/address.mjs +51 -0
  144. package/es/tx/builder/field-types/address.mjs.map +1 -0
  145. package/es/tx/builder/field-types/array.d.ts +7 -0
  146. package/es/tx/builder/field-types/array.mjs +11 -0
  147. package/es/tx/builder/field-types/array.mjs.map +1 -0
  148. package/es/tx/builder/field-types/boolean.d.ts +6 -0
  149. package/es/tx/builder/field-types/boolean.mjs +13 -0
  150. package/es/tx/builder/field-types/boolean.mjs.map +1 -0
  151. package/es/tx/builder/field-types/coin-amount.d.ts +2 -3
  152. package/es/tx/builder/field-types/coin-amount.mjs +4 -12
  153. package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
  154. package/es/tx/builder/field-types/ct-version.d.ts +30 -0
  155. package/es/tx/builder/field-types/ct-version.mjs +48 -0
  156. package/es/tx/builder/field-types/ct-version.mjs.map +1 -0
  157. package/es/tx/builder/field-types/deposit.d.ts +1 -2
  158. package/es/tx/builder/field-types/deposit.mjs +2 -4
  159. package/es/tx/builder/field-types/deposit.mjs.map +1 -1
  160. package/es/tx/builder/field-types/encoded.d.ts +6 -0
  161. package/es/tx/builder/field-types/encoded.mjs +21 -0
  162. package/es/tx/builder/field-types/encoded.mjs.map +1 -0
  163. package/es/tx/builder/field-types/entry.d.ts +11 -0
  164. package/es/tx/builder/field-types/entry.mjs +31 -0
  165. package/es/tx/builder/field-types/entry.mjs.map +1 -0
  166. package/es/tx/builder/field-types/enumeration.d.ts +7 -0
  167. package/es/tx/builder/field-types/enumeration.mjs +30 -0
  168. package/es/tx/builder/field-types/enumeration.mjs.map +1 -0
  169. package/es/tx/builder/field-types/fee.d.ts +10 -15
  170. package/es/tx/builder/field-types/fee.mjs +31 -43
  171. package/es/tx/builder/field-types/fee.mjs.map +1 -1
  172. package/es/tx/builder/field-types/field.mjs +0 -2
  173. package/es/tx/builder/field-types/field.mjs.map +1 -1
  174. package/es/tx/builder/field-types/gas-limit.d.ts +5 -2
  175. package/es/tx/builder/field-types/gas-limit.mjs +12 -14
  176. package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
  177. package/es/tx/builder/field-types/gas-price.d.ts +1 -2
  178. package/es/tx/builder/field-types/gas-price.mjs +3 -7
  179. package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
  180. package/es/tx/builder/field-types/index.d.ts +80 -30
  181. package/es/tx/builder/field-types/index.mjs +34 -9
  182. package/es/tx/builder/field-types/index.mjs.map +1 -1
  183. package/es/tx/builder/field-types/mptree.d.ts +37 -0
  184. package/es/tx/builder/field-types/mptree.mjs +268 -0
  185. package/es/tx/builder/field-types/mptree.mjs.map +1 -0
  186. package/es/tx/builder/field-types/name-fee.d.ts +1 -3
  187. package/es/tx/builder/field-types/name-fee.mjs +3 -5
  188. package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
  189. package/es/tx/builder/field-types/name-id.d.ts +1 -4
  190. package/es/tx/builder/field-types/name-id.mjs +5 -10
  191. package/es/tx/builder/field-types/name-id.mjs.map +1 -1
  192. package/es/tx/builder/field-types/name.mjs +0 -2
  193. package/es/tx/builder/field-types/name.mjs.map +1 -1
  194. package/es/tx/builder/field-types/pointers.d.ts +23 -0
  195. package/es/tx/builder/field-types/pointers.mjs +36 -0
  196. package/es/tx/builder/field-types/pointers.mjs.map +1 -0
  197. package/es/tx/builder/field-types/raw.d.ts +6 -0
  198. package/es/tx/builder/field-types/raw.mjs +13 -0
  199. package/es/tx/builder/field-types/raw.mjs.map +1 -0
  200. package/es/tx/builder/field-types/short-u-int-const.d.ts +5 -0
  201. package/es/tx/builder/field-types/short-u-int-const.mjs +16 -0
  202. package/es/tx/builder/field-types/short-u-int-const.mjs.map +1 -0
  203. package/es/tx/builder/field-types/short-u-int.mjs +0 -2
  204. package/es/tx/builder/field-types/short-u-int.mjs.map +1 -1
  205. package/es/tx/builder/field-types/string.d.ts +6 -0
  206. package/es/tx/builder/field-types/string.mjs +10 -0
  207. package/es/tx/builder/field-types/string.mjs.map +1 -0
  208. package/es/tx/builder/field-types/u-int.d.ts +1 -2
  209. package/es/tx/builder/field-types/u-int.mjs +3 -4
  210. package/es/tx/builder/field-types/u-int.mjs.map +1 -1
  211. package/es/tx/builder/helpers.d.ts +2 -32
  212. package/es/tx/builder/helpers.mjs +19 -71
  213. package/es/tx/builder/helpers.mjs.map +1 -1
  214. package/es/tx/builder/index.d.ts +11 -49
  215. package/es/tx/builder/index.mjs +57 -337
  216. package/es/tx/builder/index.mjs.map +1 -1
  217. package/es/tx/builder/schema.d.ts +2367 -667
  218. package/es/tx/builder/schema.mjs +70 -145
  219. package/es/tx/builder/schema.mjs.map +1 -1
  220. package/es/tx/index.d.ts +4 -49
  221. package/es/tx/index.mjs +38 -112
  222. package/es/tx/index.mjs.map +1 -1
  223. package/es/tx/validator.d.ts +4 -6
  224. package/es/tx/validator.mjs +104 -90
  225. package/es/tx/validator.mjs.map +1 -1
  226. package/es/typings/{@aeternity__argon2-browser → @aeternity__aepp-calldata}/index.d.mjs +0 -0
  227. package/es/typings/@aeternity__aepp-calldata/index.d.mjs.map +1 -0
  228. package/es/utils/amount-formatter.mjs +4 -10
  229. package/es/utils/amount-formatter.mjs.map +1 -1
  230. package/es/utils/autorest.d.ts +1 -0
  231. package/es/utils/autorest.mjs +17 -19
  232. package/es/utils/autorest.mjs.map +1 -1
  233. package/es/utils/bignumber.mjs +4 -7
  234. package/es/utils/bignumber.mjs.map +1 -1
  235. package/es/utils/bytes.d.ts +0 -17
  236. package/es/utils/bytes.mjs +6 -35
  237. package/es/utils/bytes.mjs.map +1 -1
  238. package/es/utils/crypto.d.ts +15 -8
  239. package/es/utils/crypto.mjs +40 -40
  240. package/es/utils/crypto.mjs.map +1 -1
  241. package/es/utils/encoder-types.d.ts +28 -28
  242. package/es/utils/encoder-types.mjs +0 -1
  243. package/es/utils/encoder-types.mjs.map +1 -1
  244. package/es/utils/encoder.d.ts +0 -1
  245. package/es/utils/encoder.mjs +7 -15
  246. package/es/utils/encoder.mjs.map +1 -1
  247. package/es/utils/errors.d.ts +15 -14
  248. package/es/utils/errors.mjs +86 -172
  249. package/es/utils/errors.mjs.map +1 -1
  250. package/es/utils/hd-wallet.d.ts +27 -19
  251. package/es/utils/hd-wallet.mjs +42 -26
  252. package/es/utils/hd-wallet.mjs.map +1 -1
  253. package/es/utils/json-big.mjs +0 -8
  254. package/es/utils/json-big.mjs.map +1 -1
  255. package/es/utils/keystore.d.ts +2 -0
  256. package/es/utils/keystore.mjs +37 -36
  257. package/es/utils/keystore.mjs.map +1 -1
  258. package/es/utils/other.d.ts +4 -2
  259. package/es/utils/other.mjs +11 -7
  260. package/es/utils/other.mjs.map +1 -1
  261. package/es/utils/semver-satisfies.mjs +0 -3
  262. package/es/utils/semver-satisfies.mjs.map +1 -1
  263. package/es/utils/string.d.ts +0 -12
  264. package/es/utils/string.mjs +1 -21
  265. package/es/utils/string.mjs.map +1 -1
  266. package/package.json +98 -51
  267. package/src/AeSdk.ts +15 -11
  268. package/src/AeSdkAepp.ts +9 -7
  269. package/src/AeSdkBase.ts +31 -202
  270. package/src/AeSdkMethods.ts +169 -0
  271. package/src/AeSdkWallet.ts +16 -47
  272. package/src/Node.ts +17 -18
  273. package/src/account/Base.ts +29 -75
  274. package/src/account/Generalized.ts +98 -0
  275. package/src/account/Ledger.ts +131 -0
  276. package/src/account/LedgerFactory.ts +86 -0
  277. package/src/account/Memory.ts +46 -60
  278. package/src/account/Rpc.ts +17 -26
  279. package/src/aens.ts +13 -11
  280. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +21 -9
  281. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +3 -3
  282. package/src/aepp-wallet-communication/rpc/RpcClient.ts +4 -4
  283. package/src/aepp-wallet-communication/rpc/types.ts +11 -1
  284. package/src/aepp-wallet-communication/schema.ts +18 -18
  285. package/src/apis/compiler/code-model-v4.yaml +681 -888
  286. package/src/apis/compiler/compiler.ts +113 -154
  287. package/src/apis/compiler/models/index.ts +80 -140
  288. package/src/apis/compiler/models/mappers.ts +165 -183
  289. package/src/apis/compiler/models/parameters.ts +6 -12
  290. package/src/chain.ts +11 -6
  291. package/src/channel/Base.ts +335 -0
  292. package/src/channel/Contract.ts +488 -0
  293. package/src/channel/Spend.ts +408 -0
  294. package/src/channel/handlers.ts +164 -582
  295. package/src/channel/internal.ts +114 -143
  296. package/src/contract/Contract.ts +610 -0
  297. package/src/contract/compiler/Base.ts +94 -0
  298. package/src/contract/compiler/Cli.ts +134 -0
  299. package/src/contract/compiler/Http.ts +124 -0
  300. package/src/contract/compiler/HttpNode.ts +26 -0
  301. package/src/contract/compiler/getFileSystem.ts +42 -0
  302. package/src/contract/ga.ts +23 -106
  303. package/src/index-browser.ts +58 -0
  304. package/src/index.ts +4 -55
  305. package/src/oracle.ts +8 -8
  306. package/src/spend.ts +6 -14
  307. package/src/tx/builder/constants.ts +33 -3
  308. package/src/tx/builder/field-types/abi-version.ts +21 -0
  309. package/src/tx/builder/field-types/address.ts +62 -0
  310. package/src/tx/builder/field-types/array.ts +19 -0
  311. package/src/tx/builder/field-types/boolean.ts +9 -0
  312. package/src/tx/builder/field-types/coin-amount.ts +4 -9
  313. package/src/tx/builder/field-types/ct-version.ts +50 -0
  314. package/src/tx/builder/field-types/deposit.ts +1 -1
  315. package/src/tx/builder/field-types/encoded.ts +27 -0
  316. package/src/tx/builder/field-types/entry.ts +31 -0
  317. package/src/tx/builder/field-types/enumeration.ts +32 -0
  318. package/src/tx/builder/field-types/fee.ts +39 -21
  319. package/src/tx/builder/field-types/gas-limit.ts +13 -8
  320. package/src/tx/builder/field-types/gas-price.ts +0 -2
  321. package/src/tx/builder/field-types/index.ts +54 -15
  322. package/src/tx/builder/field-types/mptree.ts +242 -0
  323. package/src/tx/builder/field-types/name-fee.ts +2 -3
  324. package/src/tx/builder/field-types/name-id.ts +7 -10
  325. package/src/tx/builder/field-types/pointers.ts +41 -0
  326. package/src/tx/builder/field-types/raw.ts +9 -0
  327. package/src/tx/builder/field-types/short-u-int-const.ts +20 -0
  328. package/src/tx/builder/field-types/string.ts +11 -0
  329. package/src/tx/builder/field-types/u-int.ts +4 -5
  330. package/src/tx/builder/helpers.ts +10 -60
  331. package/src/tx/builder/index.ts +65 -308
  332. package/src/tx/builder/schema.ts +280 -341
  333. package/src/tx/index.ts +40 -103
  334. package/src/tx/validator.ts +91 -96
  335. package/src/typings/@aeternity__aepp-calldata/index.d.ts +20 -0
  336. package/src/utils/autorest.ts +16 -1
  337. package/src/utils/bytes.ts +6 -34
  338. package/src/utils/crypto.ts +23 -16
  339. package/src/utils/encoder.ts +0 -1
  340. package/src/utils/errors.ts +22 -25
  341. package/src/utils/hd-wallet.ts +30 -9
  342. package/src/utils/keystore.ts +24 -21
  343. package/src/utils/other.ts +16 -1
  344. package/src/utils/string.ts +0 -20
  345. package/types-legacy/ts4.2/AeSdk.d.ts +41 -0
  346. package/types-legacy/ts4.2/AeSdkAepp.d.ts +71 -0
  347. package/types-legacy/ts4.2/AeSdkBase.d.ts +91 -0
  348. package/types-legacy/ts4.2/AeSdkMethods.d.ts +140 -0
  349. package/types-legacy/ts4.2/AeSdkWallet.d.ts +90 -0
  350. package/types-legacy/ts4.2/Node.d.ts +78 -0
  351. package/types-legacy/ts4.2/account/Base.d.ts +52 -0
  352. package/types-legacy/ts4.2/account/Generalized.d.ts +16 -0
  353. package/types-legacy/ts4.2/account/Ledger.d.ts +28 -0
  354. package/types-legacy/ts4.2/account/LedgerFactory.d.ts +39 -0
  355. package/types-legacy/ts4.2/account/Memory.d.ts +22 -0
  356. package/types-legacy/ts4.2/account/Rpc.d.ts +25 -0
  357. package/types-legacy/ts4.2/aens.d.ts +222 -0
  358. package/types-legacy/ts4.2/aepp-wallet-communication/connection/Browser.d.ts +33 -0
  359. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +19 -0
  360. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +36 -0
  361. package/types-legacy/ts4.2/aepp-wallet-communication/connection-proxy.d.ts +11 -0
  362. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/RpcClient.d.ts +34 -0
  363. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +83 -0
  364. package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +133 -0
  365. package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +25 -0
  366. package/types-legacy/ts4.2/apis/compiler/compiler.d.ts +86 -0
  367. package/types-legacy/ts4.2/apis/compiler/index.d.ts +2 -0
  368. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +195 -0
  369. package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +23 -0
  370. package/types-legacy/ts4.2/apis/compiler/models/parameters.d.ts +12 -0
  371. package/types-legacy/ts4.2/apis/node/index.d.ts +2 -0
  372. package/types-legacy/ts4.2/apis/node/models/index.d.ts +1065 -0
  373. package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +95 -0
  374. package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +17 -0
  375. package/types-legacy/ts4.2/apis/node/node.d.ts +215 -0
  376. package/types-legacy/ts4.2/chain.d.ts +256 -0
  377. package/types-legacy/ts4.2/channel/Base.d.ts +199 -0
  378. package/types-legacy/ts4.2/channel/Contract.d.ts +248 -0
  379. package/types-legacy/ts4.2/channel/Spend.d.ts +219 -0
  380. package/types-legacy/ts4.2/channel/handlers.d.ts +21 -0
  381. package/types-legacy/ts4.2/channel/internal.d.ts +107 -0
  382. package/types-legacy/ts4.2/contract/Contract.d.ts +212 -0
  383. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +81 -0
  384. package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +23 -0
  385. package/types-legacy/ts4.2/contract/compiler/Http.d.ts +32 -0
  386. package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +17 -0
  387. package/types-legacy/ts4.2/contract/compiler/getFileSystem.d.ts +6 -0
  388. package/types-legacy/ts4.2/contract/ga.d.ts +44 -0
  389. package/types-legacy/ts4.2/globals.d.ts +16 -0
  390. package/types-legacy/ts4.2/index-browser.d.ts +39 -0
  391. package/types-legacy/ts4.2/index.d.ts +5 -0
  392. package/types-legacy/ts4.2/oracle.d.ts +161 -0
  393. package/types-legacy/ts4.2/spend.d.ts +62 -0
  394. package/types-legacy/ts4.2/tx/builder/constants.d.ts +98 -0
  395. package/types-legacy/ts4.2/tx/builder/field-types/abi-version.d.ts +10 -0
  396. package/types-legacy/ts4.2/tx/builder/field-types/address.d.ts +21 -0
  397. package/types-legacy/ts4.2/tx/builder/field-types/array.d.ts +7 -0
  398. package/types-legacy/ts4.2/tx/builder/field-types/boolean.d.ts +6 -0
  399. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +12 -0
  400. package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +42 -0
  401. package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +14 -0
  402. package/types-legacy/ts4.2/tx/builder/field-types/encoded.d.ts +6 -0
  403. package/types-legacy/ts4.2/tx/builder/field-types/entry.d.ts +11 -0
  404. package/types-legacy/ts4.2/tx/builder/field-types/enumeration.d.ts +7 -0
  405. package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +20 -0
  406. package/types-legacy/ts4.2/tx/builder/field-types/field.d.ts +6 -0
  407. package/types-legacy/ts4.2/tx/builder/field-types/gas-limit.d.ts +15 -0
  408. package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +7 -0
  409. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +129 -0
  410. package/types-legacy/ts4.2/tx/builder/field-types/mptree.d.ts +43 -0
  411. package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +18 -0
  412. package/types-legacy/ts4.2/tx/builder/field-types/name-id.d.ts +11 -0
  413. package/types-legacy/ts4.2/tx/builder/field-types/name.d.ts +13 -0
  414. package/types-legacy/ts4.2/tx/builder/field-types/pointers.d.ts +26 -0
  415. package/types-legacy/ts4.2/tx/builder/field-types/raw.d.ts +6 -0
  416. package/types-legacy/ts4.2/tx/builder/field-types/short-u-int-const.d.ts +5 -0
  417. package/types-legacy/ts4.2/tx/builder/field-types/short-u-int.d.ts +6 -0
  418. package/types-legacy/ts4.2/tx/builder/field-types/string.d.ts +6 -0
  419. package/types-legacy/ts4.2/tx/builder/field-types/u-int.d.ts +7 -0
  420. package/types-legacy/ts4.2/tx/builder/helpers.d.ts +112 -0
  421. package/types-legacy/ts4.2/tx/builder/index.d.ts +50 -0
  422. package/types-legacy/ts4.2/tx/builder/schema.d.ts +4675 -0
  423. package/types-legacy/ts4.2/tx/index.d.ts +19 -0
  424. package/types-legacy/ts4.2/tx/validator.d.ts +18 -0
  425. package/types-legacy/ts4.2/utils/amount-formatter.d.ts +42 -0
  426. package/types-legacy/ts4.2/utils/autorest.d.ts +7 -0
  427. package/types-legacy/ts4.2/utils/bignumber.d.ts +13 -0
  428. package/types-legacy/ts4.2/utils/bytes.d.ts +9 -0
  429. package/types-legacy/ts4.2/utils/crypto.d.ts +95 -0
  430. package/types-legacy/ts4.2/utils/encoder-types.d.ts +61 -0
  431. package/types-legacy/ts4.2/utils/encoder.d.ts +24 -0
  432. package/types-legacy/ts4.2/utils/errors.d.ts +475 -0
  433. package/types-legacy/ts4.2/utils/hd-wallet.d.ts +65 -0
  434. package/types-legacy/ts4.2/utils/json-big.d.ts +5 -0
  435. package/types-legacy/ts4.2/utils/keystore.d.ts +53 -0
  436. package/types-legacy/ts4.2/utils/other.d.ts +31 -0
  437. package/types-legacy/ts4.2/utils/semver-satisfies.d.ts +1 -0
  438. package/types-legacy/ts4.2/utils/string.d.ts +12 -0
  439. package/types-legacy/ts4.5/AeSdk.d.ts +41 -0
  440. package/types-legacy/ts4.5/AeSdkAepp.d.ts +71 -0
  441. package/types-legacy/ts4.5/AeSdkBase.d.ts +91 -0
  442. package/types-legacy/ts4.5/AeSdkMethods.d.ts +140 -0
  443. package/types-legacy/ts4.5/AeSdkWallet.d.ts +90 -0
  444. package/types-legacy/ts4.5/Node.d.ts +78 -0
  445. package/types-legacy/ts4.5/account/Base.d.ts +52 -0
  446. package/types-legacy/ts4.5/account/Generalized.d.ts +16 -0
  447. package/types-legacy/ts4.5/account/Ledger.d.ts +28 -0
  448. package/types-legacy/ts4.5/account/LedgerFactory.d.ts +39 -0
  449. package/types-legacy/ts4.5/account/Memory.d.ts +22 -0
  450. package/types-legacy/ts4.5/account/Rpc.d.ts +25 -0
  451. package/types-legacy/ts4.5/aens.d.ts +222 -0
  452. package/types-legacy/ts4.5/aepp-wallet-communication/connection/Browser.d.ts +33 -0
  453. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +19 -0
  454. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +36 -0
  455. package/types-legacy/ts4.5/aepp-wallet-communication/connection-proxy.d.ts +11 -0
  456. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/RpcClient.d.ts +34 -0
  457. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +83 -0
  458. package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +133 -0
  459. package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +25 -0
  460. package/types-legacy/ts4.5/apis/compiler/compiler.d.ts +86 -0
  461. package/types-legacy/ts4.5/apis/compiler/index.d.ts +2 -0
  462. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +195 -0
  463. package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +23 -0
  464. package/types-legacy/ts4.5/apis/compiler/models/parameters.d.ts +12 -0
  465. package/types-legacy/ts4.5/apis/node/index.d.ts +2 -0
  466. package/types-legacy/ts4.5/apis/node/models/index.d.ts +1065 -0
  467. package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +95 -0
  468. package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +17 -0
  469. package/types-legacy/ts4.5/apis/node/node.d.ts +215 -0
  470. package/types-legacy/ts4.5/chain.d.ts +256 -0
  471. package/types-legacy/ts4.5/channel/Base.d.ts +199 -0
  472. package/types-legacy/ts4.5/channel/Contract.d.ts +248 -0
  473. package/types-legacy/ts4.5/channel/Spend.d.ts +219 -0
  474. package/types-legacy/ts4.5/channel/handlers.d.ts +21 -0
  475. package/types-legacy/ts4.5/channel/internal.d.ts +107 -0
  476. package/types-legacy/ts4.5/contract/Contract.d.ts +212 -0
  477. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +81 -0
  478. package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +23 -0
  479. package/types-legacy/ts4.5/contract/compiler/Http.d.ts +32 -0
  480. package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +17 -0
  481. package/types-legacy/ts4.5/contract/compiler/getFileSystem.d.ts +6 -0
  482. package/types-legacy/ts4.5/contract/ga.d.ts +44 -0
  483. package/types-legacy/ts4.5/index-browser.d.ts +39 -0
  484. package/types-legacy/ts4.5/index.d.ts +4 -0
  485. package/types-legacy/ts4.5/oracle.d.ts +161 -0
  486. package/types-legacy/ts4.5/spend.d.ts +62 -0
  487. package/types-legacy/ts4.5/tx/builder/constants.d.ts +98 -0
  488. package/types-legacy/ts4.5/tx/builder/field-types/abi-version.d.ts +10 -0
  489. package/types-legacy/ts4.5/tx/builder/field-types/address.d.ts +21 -0
  490. package/types-legacy/ts4.5/tx/builder/field-types/array.d.ts +7 -0
  491. package/types-legacy/ts4.5/tx/builder/field-types/boolean.d.ts +6 -0
  492. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +12 -0
  493. package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +42 -0
  494. package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +14 -0
  495. package/types-legacy/ts4.5/tx/builder/field-types/encoded.d.ts +6 -0
  496. package/types-legacy/ts4.5/tx/builder/field-types/entry.d.ts +11 -0
  497. package/types-legacy/ts4.5/tx/builder/field-types/enumeration.d.ts +7 -0
  498. package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +20 -0
  499. package/types-legacy/ts4.5/tx/builder/field-types/field.d.ts +6 -0
  500. package/types-legacy/ts4.5/tx/builder/field-types/gas-limit.d.ts +15 -0
  501. package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +7 -0
  502. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +129 -0
  503. package/types-legacy/ts4.5/tx/builder/field-types/mptree.d.ts +43 -0
  504. package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +18 -0
  505. package/types-legacy/ts4.5/tx/builder/field-types/name-id.d.ts +11 -0
  506. package/types-legacy/ts4.5/tx/builder/field-types/name.d.ts +13 -0
  507. package/types-legacy/ts4.5/tx/builder/field-types/pointers.d.ts +26 -0
  508. package/types-legacy/ts4.5/tx/builder/field-types/raw.d.ts +6 -0
  509. package/types-legacy/ts4.5/tx/builder/field-types/short-u-int-const.d.ts +5 -0
  510. package/types-legacy/ts4.5/tx/builder/field-types/short-u-int.d.ts +6 -0
  511. package/types-legacy/ts4.5/tx/builder/field-types/string.d.ts +6 -0
  512. package/types-legacy/ts4.5/tx/builder/field-types/u-int.d.ts +7 -0
  513. package/types-legacy/ts4.5/tx/builder/helpers.d.ts +112 -0
  514. package/types-legacy/ts4.5/tx/builder/index.d.ts +50 -0
  515. package/types-legacy/ts4.5/tx/builder/schema.d.ts +4675 -0
  516. package/types-legacy/ts4.5/tx/index.d.ts +19 -0
  517. package/types-legacy/ts4.5/tx/validator.d.ts +18 -0
  518. package/types-legacy/ts4.5/utils/amount-formatter.d.ts +42 -0
  519. package/types-legacy/ts4.5/utils/autorest.d.ts +7 -0
  520. package/types-legacy/ts4.5/utils/bignumber.d.ts +13 -0
  521. package/types-legacy/ts4.5/utils/bytes.d.ts +9 -0
  522. package/types-legacy/ts4.5/utils/crypto.d.ts +95 -0
  523. package/types-legacy/ts4.5/utils/encoder-types.d.ts +61 -0
  524. package/types-legacy/ts4.5/utils/encoder.d.ts +24 -0
  525. package/types-legacy/ts4.5/utils/errors.d.ts +475 -0
  526. package/types-legacy/ts4.5/utils/hd-wallet.d.ts +65 -0
  527. package/types-legacy/ts4.5/utils/json-big.d.ts +5 -0
  528. package/types-legacy/ts4.5/utils/keystore.d.ts +53 -0
  529. package/types-legacy/ts4.5/utils/other.d.ts +31 -0
  530. package/types-legacy/ts4.5/utils/semver-satisfies.d.ts +1 -0
  531. package/types-legacy/ts4.5/utils/string.d.ts +12 -0
  532. package/es/channel/index.d.ts +0 -625
  533. package/es/channel/index.mjs +0 -975
  534. package/es/channel/index.mjs.map +0 -1
  535. package/es/contract/Compiler.d.ts +0 -18
  536. package/es/contract/Compiler.mjs +0 -68
  537. package/es/contract/Compiler.mjs.map +0 -1
  538. package/es/contract/aci.d.ts +0 -127
  539. package/es/contract/aci.mjs +0 -508
  540. package/es/contract/aci.mjs.map +0 -1
  541. package/es/contract/methods.d.ts +0 -71
  542. package/es/contract/methods.mjs +0 -104
  543. package/es/contract/methods.mjs.map +0 -1
  544. package/es/deprecated/index.d.ts +0 -143
  545. package/es/deprecated/index.mjs +0 -162
  546. package/es/deprecated/index.mjs.map +0 -1
  547. package/es/deprecated/methods.d.ts +0 -18
  548. package/es/deprecated/methods.mjs +0 -26
  549. package/es/deprecated/methods.mjs.map +0 -1
  550. package/es/tx/builder/address.d.ts +0 -25
  551. package/es/tx/builder/address.mjs +0 -45
  552. package/es/tx/builder/address.mjs.map +0 -1
  553. package/es/typings/@aeternity__argon2-browser/index.d.mjs.map +0 -1
  554. package/es/utils/mptree.d.ts +0 -26
  555. package/es/utils/mptree.mjs +0 -165
  556. package/es/utils/mptree.mjs.map +0 -1
  557. package/src/channel/index.ts +0 -1025
  558. package/src/contract/Compiler.ts +0 -67
  559. package/src/contract/aci.ts +0 -537
  560. package/src/contract/methods.ts +0 -123
  561. package/src/deprecated/index.ts +0 -172
  562. package/src/deprecated/methods.ts +0 -25
  563. package/src/tx/builder/address.ts +0 -50
  564. package/src/typings/@aeternity__argon2-browser/index.d.ts +0 -3
  565. package/src/utils/mptree.ts +0 -145
@@ -0,0 +1,4675 @@
1
+ /// <reference types="node" />
2
+ /**
3
+ * Transaction Schema for TxBuilder
4
+ */
5
+ import BigNumber from 'bignumber.js';
6
+ import { Tag } from './constants';
7
+ import { Field } from './field-types';
8
+ import { Encoding } from '../../utils/encoder';
9
+ import { UnionToIntersection } from '../../utils/other';
10
+ export declare enum ORACLE_TTL_TYPES {
11
+ delta = 0,
12
+ block = 1
13
+ }
14
+ export declare const TX_TTL = 0;
15
+ export declare const QUERY_FEE = 30000;
16
+ export declare const ORACLE_TTL: {
17
+ type: ORACLE_TTL_TYPES;
18
+ value: number;
19
+ };
20
+ export declare const QUERY_TTL: {
21
+ type: ORACLE_TTL_TYPES;
22
+ value: number;
23
+ };
24
+ export declare const RESPONSE_TTL: {
25
+ type: ORACLE_TTL_TYPES;
26
+ value: number;
27
+ };
28
+ export declare const DRY_RUN_ACCOUNT: {
29
+ readonly pub: "ak_11111111111111111111111111111111273Yts";
30
+ readonly amount: 100000000000000000000000000000000000n;
31
+ };
32
+ export type TxField = [
33
+ name: string,
34
+ type: Field
35
+ ];
36
+ export declare enum CallReturnType {
37
+ Ok = 0,
38
+ Error = 1,
39
+ Revert = 2
40
+ }
41
+ type TxElem = readonly [
42
+ string,
43
+ Field
44
+ ];
45
+ type BuildTxArgBySchemaType<Type extends Field> = Parameters<Type['serialize']>[0];
46
+ type NullablePartial<T, NK extends keyof T = {
47
+ [K in keyof T]: undefined extends T[K] ? K : never;
48
+ }[keyof T]> = Partial<Pick<T, NK>> & Omit<T, NK>;
49
+ type BuildTxArgBySchema<SchemaLine> = UnionToIntersection<SchemaLine extends ReadonlyArray<infer Elem> ? Elem extends TxElem ? NullablePartial<{
50
+ [k in Elem[0]]: BuildTxArgBySchemaType<Elem[1]>;
51
+ }> : never : never>;
52
+ export type RawTxObject<Tx extends TxSchema> = {
53
+ [k in keyof Tx]-?: Tx[k] extends BigNumber ? string : Tx[k];
54
+ };
55
+ /**
56
+ * @see {@link https://github.com/aeternity/protocol/blob/c007deeac4a01e401238412801ac7084ac72d60e/serializations.md#accounts-version-1-basic-accounts}
57
+ */
58
+ export declare const TX_SCHEMA: {
59
+ readonly 10: {
60
+ readonly 1: readonly [
61
+ readonly [
62
+ "tag",
63
+ {
64
+ serialize: (value?: Tag.Account | undefined) => Buffer;
65
+ deserialize: (value: Buffer) => Tag.Account;
66
+ }
67
+ ],
68
+ readonly [
69
+ "version",
70
+ {
71
+ serialize: (value?: 1 | undefined) => Buffer;
72
+ deserialize: (value: Buffer) => 1;
73
+ }
74
+ ],
75
+ readonly [
76
+ "nonce",
77
+ {
78
+ serialize(value: number): Buffer;
79
+ deserialize(value: Buffer): number;
80
+ }
81
+ ],
82
+ readonly [
83
+ "balance",
84
+ {
85
+ serialize(value: import("./constants").Int): Buffer;
86
+ deserialize(value: Buffer): string;
87
+ }
88
+ ]
89
+ ];
90
+ readonly 2: readonly [
91
+ readonly [
92
+ "tag",
93
+ {
94
+ serialize: (value?: Tag.Account | undefined) => Buffer;
95
+ deserialize: (value: Buffer) => Tag.Account;
96
+ }
97
+ ],
98
+ readonly [
99
+ "version",
100
+ {
101
+ serialize: (value?: 2 | undefined) => Buffer;
102
+ deserialize: (value: Buffer) => 2;
103
+ }
104
+ ],
105
+ readonly [
106
+ "flags",
107
+ {
108
+ serialize(value: import("./constants").Int): Buffer;
109
+ deserialize(value: Buffer): string;
110
+ }
111
+ ],
112
+ readonly [
113
+ "nonce",
114
+ {
115
+ serialize(value: number): Buffer;
116
+ deserialize(value: Buffer): number;
117
+ }
118
+ ],
119
+ readonly [
120
+ "balance",
121
+ {
122
+ serialize(value: import("./constants").Int): Buffer;
123
+ deserialize(value: Buffer): string;
124
+ }
125
+ ],
126
+ readonly [
127
+ "gaContract",
128
+ {
129
+ serialize: (value: `ct_${string}` | `nm_${string}`) => Buffer;
130
+ deserialize: (value: Buffer) => `ct_${string}` | `nm_${string}`;
131
+ }
132
+ ],
133
+ readonly [
134
+ "gaAuthFun",
135
+ {
136
+ serialize: (value: `cb_${string}`) => Buffer;
137
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
138
+ }
139
+ ]
140
+ ];
141
+ };
142
+ readonly 11: {
143
+ readonly 1: readonly [
144
+ readonly [
145
+ "tag",
146
+ {
147
+ serialize: (value?: Tag.SignedTx | undefined) => Buffer;
148
+ deserialize: (value: Buffer) => Tag.SignedTx;
149
+ }
150
+ ],
151
+ readonly [
152
+ "version",
153
+ {
154
+ serialize: (value?: 1 | undefined) => Buffer;
155
+ deserialize: (value: Buffer) => 1;
156
+ }
157
+ ],
158
+ readonly [
159
+ "signatures",
160
+ {
161
+ serialize: (value: Uint8Array[], params: unknown) => Buffer[];
162
+ deserialize: (value: Buffer[], params: unknown) => Buffer[];
163
+ }
164
+ ],
165
+ readonly [
166
+ "encodedTx",
167
+ {
168
+ serialize: (value: any, options: {
169
+ buildTx: typeof import(".").buildTx;
170
+ }) => Buffer;
171
+ deserialize: (value: Buffer, options: {
172
+ unpackTx: typeof import(".").unpackTx;
173
+ }) => any;
174
+ }
175
+ ]
176
+ ];
177
+ };
178
+ readonly 12: {
179
+ readonly 1: readonly [
180
+ readonly [
181
+ "tag",
182
+ {
183
+ serialize: (value?: Tag.SpendTx | undefined) => Buffer;
184
+ deserialize: (value: Buffer) => Tag.SpendTx;
185
+ }
186
+ ],
187
+ readonly [
188
+ "version",
189
+ {
190
+ serialize: (value?: 1 | undefined) => Buffer;
191
+ deserialize: (value: Buffer) => 1;
192
+ }
193
+ ],
194
+ readonly [
195
+ "senderId",
196
+ {
197
+ serialize: (value: `ak_${string}`) => Buffer;
198
+ deserialize: (value: Buffer) => `ak_${string}`;
199
+ }
200
+ ],
201
+ readonly [
202
+ "recipientId",
203
+ {
204
+ serialize: (value: `ak_${string}` | `nm_${string}`) => Buffer;
205
+ deserialize: (value: Buffer) => `ak_${string}` | `nm_${string}`;
206
+ }
207
+ ],
208
+ readonly [
209
+ "amount",
210
+ {
211
+ serializeAettos(value: string | undefined): string;
212
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
213
+ deserialize(value: Buffer): string;
214
+ }
215
+ ],
216
+ readonly [
217
+ "fee",
218
+ {
219
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
220
+ rebuildTx: (params: any) => `tx_${string}`;
221
+ unpackTx: typeof import(".").unpackTx;
222
+ buildTx: typeof import(".").buildTx;
223
+ _computingMinFee?: BigNumber | undefined;
224
+ _pickBiggerFee?: boolean | undefined;
225
+ }): string;
226
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
227
+ deserialize(value: Buffer): string;
228
+ }
229
+ ],
230
+ readonly [
231
+ "ttl",
232
+ {
233
+ serialize(value: number): Buffer;
234
+ deserialize(value: Buffer): number;
235
+ }
236
+ ],
237
+ readonly [
238
+ "nonce",
239
+ {
240
+ serialize(value: number): Buffer;
241
+ deserialize(value: Buffer): number;
242
+ }
243
+ ],
244
+ readonly [
245
+ "payload",
246
+ {
247
+ serialize: (value?: `ba_${string}` | undefined) => Buffer;
248
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
249
+ }
250
+ ]
251
+ ];
252
+ };
253
+ readonly 30: {
254
+ readonly 1: readonly [
255
+ readonly [
256
+ "tag",
257
+ {
258
+ serialize: (value?: Tag.Name | undefined) => Buffer;
259
+ deserialize: (value: Buffer) => Tag.Name;
260
+ }
261
+ ],
262
+ readonly [
263
+ "version",
264
+ {
265
+ serialize: (value?: 1 | undefined) => Buffer;
266
+ deserialize: (value: Buffer) => 1;
267
+ }
268
+ ],
269
+ readonly [
270
+ "accountId",
271
+ {
272
+ serialize: (value: `ak_${string}`) => Buffer;
273
+ deserialize: (value: Buffer) => `ak_${string}`;
274
+ }
275
+ ],
276
+ readonly [
277
+ "nameTtl",
278
+ {
279
+ serialize(value: number): Buffer;
280
+ deserialize(value: Buffer): number;
281
+ }
282
+ ],
283
+ readonly [
284
+ "status",
285
+ {
286
+ serialize(buffer: Uint8Array): Buffer;
287
+ deserialize(buffer: Buffer): Buffer;
288
+ }
289
+ ],
290
+ readonly [
291
+ "clientTtl",
292
+ {
293
+ serialize(value: number): Buffer;
294
+ deserialize(value: Buffer): number;
295
+ }
296
+ ],
297
+ readonly [
298
+ "pointers",
299
+ {
300
+ serialize(pointers: (import("../../apis/node").NamePointer & {
301
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
302
+ })[]): Buffer[][];
303
+ deserialize(pointers: [
304
+ key: Buffer,
305
+ id: Buffer
306
+ ][]): (import("../../apis/node").NamePointer & {
307
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
308
+ })[];
309
+ }
310
+ ]
311
+ ];
312
+ };
313
+ readonly 33: {
314
+ readonly 1: readonly [
315
+ readonly [
316
+ "tag",
317
+ {
318
+ serialize: (value?: Tag.NamePreclaimTx | undefined) => Buffer;
319
+ deserialize: (value: Buffer) => Tag.NamePreclaimTx;
320
+ }
321
+ ],
322
+ readonly [
323
+ "version",
324
+ {
325
+ serialize: (value?: 1 | undefined) => Buffer;
326
+ deserialize: (value: Buffer) => 1;
327
+ }
328
+ ],
329
+ readonly [
330
+ "accountId",
331
+ {
332
+ serialize: (value: `ak_${string}`) => Buffer;
333
+ deserialize: (value: Buffer) => `ak_${string}`;
334
+ }
335
+ ],
336
+ readonly [
337
+ "nonce",
338
+ {
339
+ serialize(value: number): Buffer;
340
+ deserialize(value: Buffer): number;
341
+ }
342
+ ],
343
+ readonly [
344
+ "commitmentId",
345
+ {
346
+ serialize: (value: `cm_${string}`) => Buffer;
347
+ deserialize: (value: Buffer) => `cm_${string}`;
348
+ }
349
+ ],
350
+ readonly [
351
+ "fee",
352
+ {
353
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
354
+ rebuildTx: (params: any) => `tx_${string}`;
355
+ unpackTx: typeof import(".").unpackTx;
356
+ buildTx: typeof import(".").buildTx;
357
+ _computingMinFee?: BigNumber | undefined;
358
+ _pickBiggerFee?: boolean | undefined;
359
+ }): string;
360
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
361
+ deserialize(value: Buffer): string;
362
+ }
363
+ ],
364
+ readonly [
365
+ "ttl",
366
+ {
367
+ serialize(value: number): Buffer;
368
+ deserialize(value: Buffer): number;
369
+ }
370
+ ]
371
+ ];
372
+ };
373
+ readonly 32: {
374
+ readonly 2: readonly [
375
+ readonly [
376
+ "tag",
377
+ {
378
+ serialize: (value?: Tag.NameClaimTx | undefined) => Buffer;
379
+ deserialize: (value: Buffer) => Tag.NameClaimTx;
380
+ }
381
+ ],
382
+ readonly [
383
+ "version",
384
+ {
385
+ serialize: (value?: 2 | undefined) => Buffer;
386
+ deserialize: (value: Buffer) => 2;
387
+ }
388
+ ],
389
+ readonly [
390
+ "accountId",
391
+ {
392
+ serialize: (value: `ak_${string}`) => Buffer;
393
+ deserialize: (value: Buffer) => `ak_${string}`;
394
+ }
395
+ ],
396
+ readonly [
397
+ "nonce",
398
+ {
399
+ serialize(value: number): Buffer;
400
+ deserialize(value: Buffer): number;
401
+ }
402
+ ],
403
+ readonly [
404
+ "name",
405
+ {
406
+ serialize(value: `${string}.chain`): Buffer;
407
+ deserialize(value: Buffer): `${string}.chain`;
408
+ }
409
+ ],
410
+ readonly [
411
+ "nameSalt",
412
+ {
413
+ serialize(value: import("./constants").Int): Buffer;
414
+ deserialize(value: Buffer): string;
415
+ }
416
+ ],
417
+ readonly [
418
+ "nameFee",
419
+ {
420
+ serializeAettos(_value: string | undefined, txFields: {
421
+ name: `${string}.chain`;
422
+ }): string;
423
+ serialize(value: import("./constants").Int | undefined, txFields: {
424
+ name: `${string}.chain`;
425
+ } & import("./field-types/coin-amount").Options): Buffer;
426
+ deserialize(value: Buffer): string;
427
+ }
428
+ ],
429
+ readonly [
430
+ "fee",
431
+ {
432
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
433
+ rebuildTx: (params: any) => `tx_${string}`;
434
+ unpackTx: typeof import(".").unpackTx;
435
+ buildTx: typeof import(".").buildTx;
436
+ _computingMinFee?: BigNumber | undefined;
437
+ _pickBiggerFee?: boolean | undefined;
438
+ }): string;
439
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
440
+ deserialize(value: Buffer): string;
441
+ }
442
+ ],
443
+ readonly [
444
+ "ttl",
445
+ {
446
+ serialize(value: number): Buffer;
447
+ deserialize(value: Buffer): number;
448
+ }
449
+ ]
450
+ ];
451
+ };
452
+ readonly 34: {
453
+ readonly 1: readonly [
454
+ readonly [
455
+ "tag",
456
+ {
457
+ serialize: (value?: Tag.NameUpdateTx | undefined) => Buffer;
458
+ deserialize: (value: Buffer) => Tag.NameUpdateTx;
459
+ }
460
+ ],
461
+ readonly [
462
+ "version",
463
+ {
464
+ serialize: (value?: 1 | undefined) => Buffer;
465
+ deserialize: (value: Buffer) => 1;
466
+ }
467
+ ],
468
+ readonly [
469
+ "accountId",
470
+ {
471
+ serialize: (value: `ak_${string}`) => Buffer;
472
+ deserialize: (value: Buffer) => `ak_${string}`;
473
+ }
474
+ ],
475
+ readonly [
476
+ "nonce",
477
+ {
478
+ serialize(value: number): Buffer;
479
+ deserialize(value: Buffer): number;
480
+ }
481
+ ],
482
+ readonly [
483
+ "nameId",
484
+ {
485
+ serialize(value: `${string}.chain` | `nm_${string}`): Buffer;
486
+ deserialize: (value: Buffer) => `nm_${string}`;
487
+ }
488
+ ],
489
+ readonly [
490
+ "nameTtl",
491
+ {
492
+ serialize(value: number): Buffer;
493
+ deserialize(value: Buffer): number;
494
+ }
495
+ ],
496
+ readonly [
497
+ "pointers",
498
+ {
499
+ serialize(pointers: (import("../../apis/node").NamePointer & {
500
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
501
+ })[]): Buffer[][];
502
+ deserialize(pointers: [
503
+ key: Buffer,
504
+ id: Buffer
505
+ ][]): (import("../../apis/node").NamePointer & {
506
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
507
+ })[];
508
+ }
509
+ ],
510
+ readonly [
511
+ "clientTtl",
512
+ {
513
+ serialize(value: number): Buffer;
514
+ deserialize(value: Buffer): number;
515
+ }
516
+ ],
517
+ readonly [
518
+ "fee",
519
+ {
520
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
521
+ rebuildTx: (params: any) => `tx_${string}`;
522
+ unpackTx: typeof import(".").unpackTx;
523
+ buildTx: typeof import(".").buildTx;
524
+ _computingMinFee?: BigNumber | undefined;
525
+ _pickBiggerFee?: boolean | undefined;
526
+ }): string;
527
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
528
+ deserialize(value: Buffer): string;
529
+ }
530
+ ],
531
+ readonly [
532
+ "ttl",
533
+ {
534
+ serialize(value: number): Buffer;
535
+ deserialize(value: Buffer): number;
536
+ }
537
+ ]
538
+ ];
539
+ };
540
+ readonly 36: {
541
+ readonly 1: readonly [
542
+ readonly [
543
+ "tag",
544
+ {
545
+ serialize: (value?: Tag.NameTransferTx | undefined) => Buffer;
546
+ deserialize: (value: Buffer) => Tag.NameTransferTx;
547
+ }
548
+ ],
549
+ readonly [
550
+ "version",
551
+ {
552
+ serialize: (value?: 1 | undefined) => Buffer;
553
+ deserialize: (value: Buffer) => 1;
554
+ }
555
+ ],
556
+ readonly [
557
+ "accountId",
558
+ {
559
+ serialize: (value: `ak_${string}`) => Buffer;
560
+ deserialize: (value: Buffer) => `ak_${string}`;
561
+ }
562
+ ],
563
+ readonly [
564
+ "nonce",
565
+ {
566
+ serialize(value: number): Buffer;
567
+ deserialize(value: Buffer): number;
568
+ }
569
+ ],
570
+ readonly [
571
+ "nameId",
572
+ {
573
+ serialize(value: `${string}.chain` | `nm_${string}`): Buffer;
574
+ deserialize: (value: Buffer) => `nm_${string}`;
575
+ }
576
+ ],
577
+ readonly [
578
+ "recipientId",
579
+ {
580
+ serialize: (value: `ak_${string}` | `nm_${string}`) => Buffer;
581
+ deserialize: (value: Buffer) => `ak_${string}` | `nm_${string}`;
582
+ }
583
+ ],
584
+ readonly [
585
+ "fee",
586
+ {
587
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
588
+ rebuildTx: (params: any) => `tx_${string}`;
589
+ unpackTx: typeof import(".").unpackTx;
590
+ buildTx: typeof import(".").buildTx;
591
+ _computingMinFee?: BigNumber | undefined;
592
+ _pickBiggerFee?: boolean | undefined;
593
+ }): string;
594
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
595
+ deserialize(value: Buffer): string;
596
+ }
597
+ ],
598
+ readonly [
599
+ "ttl",
600
+ {
601
+ serialize(value: number): Buffer;
602
+ deserialize(value: Buffer): number;
603
+ }
604
+ ]
605
+ ];
606
+ };
607
+ readonly 35: {
608
+ readonly 1: readonly [
609
+ readonly [
610
+ "tag",
611
+ {
612
+ serialize: (value?: Tag.NameRevokeTx | undefined) => Buffer;
613
+ deserialize: (value: Buffer) => Tag.NameRevokeTx;
614
+ }
615
+ ],
616
+ readonly [
617
+ "version",
618
+ {
619
+ serialize: (value?: 1 | undefined) => Buffer;
620
+ deserialize: (value: Buffer) => 1;
621
+ }
622
+ ],
623
+ readonly [
624
+ "accountId",
625
+ {
626
+ serialize: (value: `ak_${string}`) => Buffer;
627
+ deserialize: (value: Buffer) => `ak_${string}`;
628
+ }
629
+ ],
630
+ readonly [
631
+ "nonce",
632
+ {
633
+ serialize(value: number): Buffer;
634
+ deserialize(value: Buffer): number;
635
+ }
636
+ ],
637
+ readonly [
638
+ "nameId",
639
+ {
640
+ serialize(value: `${string}.chain` | `nm_${string}`): Buffer;
641
+ deserialize: (value: Buffer) => `nm_${string}`;
642
+ }
643
+ ],
644
+ readonly [
645
+ "fee",
646
+ {
647
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
648
+ rebuildTx: (params: any) => `tx_${string}`;
649
+ unpackTx: typeof import(".").unpackTx;
650
+ buildTx: typeof import(".").buildTx;
651
+ _computingMinFee?: BigNumber | undefined;
652
+ _pickBiggerFee?: boolean | undefined;
653
+ }): string;
654
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
655
+ deserialize(value: Buffer): string;
656
+ }
657
+ ],
658
+ readonly [
659
+ "ttl",
660
+ {
661
+ serialize(value: number): Buffer;
662
+ deserialize(value: Buffer): number;
663
+ }
664
+ ]
665
+ ];
666
+ };
667
+ readonly 40: {
668
+ readonly 1: readonly [
669
+ readonly [
670
+ "tag",
671
+ {
672
+ serialize: (value?: Tag.Contract | undefined) => Buffer;
673
+ deserialize: (value: Buffer) => Tag.Contract;
674
+ }
675
+ ],
676
+ readonly [
677
+ "version",
678
+ {
679
+ serialize: (value?: 1 | undefined) => Buffer;
680
+ deserialize: (value: Buffer) => 1;
681
+ }
682
+ ],
683
+ readonly [
684
+ "owner",
685
+ {
686
+ serialize: (value: `ak_${string}`) => Buffer;
687
+ deserialize: (value: Buffer) => `ak_${string}`;
688
+ }
689
+ ],
690
+ readonly [
691
+ "ctVersion",
692
+ {
693
+ serialize(value: import("./field-types/ct-version").CtVersion | undefined, { consensusProtocolVersion }: {
694
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
695
+ }): Buffer;
696
+ deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
697
+ }
698
+ ],
699
+ readonly [
700
+ "code",
701
+ {
702
+ serialize: (value: `cb_${string}`) => Buffer;
703
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
704
+ }
705
+ ],
706
+ readonly [
707
+ "log",
708
+ {
709
+ serialize: (value: `cb_${string}`) => Buffer;
710
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
711
+ }
712
+ ],
713
+ readonly [
714
+ "active",
715
+ {
716
+ serialize(value: boolean): Buffer;
717
+ deserialize(buffer: Buffer): boolean;
718
+ }
719
+ ],
720
+ readonly [
721
+ "referers",
722
+ {
723
+ serialize: (value: `ak_${string}`[], params: unknown) => Buffer[];
724
+ deserialize: (value: Buffer[], params: unknown) => `ak_${string}`[];
725
+ }
726
+ ],
727
+ readonly [
728
+ "deposit",
729
+ {
730
+ serialize(value: import("./constants").Int | undefined, options: import("./field-types/coin-amount").Options): Buffer;
731
+ serializeAettos(value: string | undefined): string;
732
+ deserialize(value: Buffer): string;
733
+ }
734
+ ]
735
+ ];
736
+ };
737
+ readonly 42: {
738
+ readonly 1: readonly [
739
+ readonly [
740
+ "tag",
741
+ {
742
+ serialize: (value?: Tag.ContractCreateTx | undefined) => Buffer;
743
+ deserialize: (value: Buffer) => Tag.ContractCreateTx;
744
+ }
745
+ ],
746
+ readonly [
747
+ "version",
748
+ {
749
+ serialize: (value?: 1 | undefined) => Buffer;
750
+ deserialize: (value: Buffer) => 1;
751
+ }
752
+ ],
753
+ readonly [
754
+ "ownerId",
755
+ {
756
+ serialize: (value: `ak_${string}`) => Buffer;
757
+ deserialize: (value: Buffer) => `ak_${string}`;
758
+ }
759
+ ],
760
+ readonly [
761
+ "nonce",
762
+ {
763
+ serialize(value: number): Buffer;
764
+ deserialize(value: Buffer): number;
765
+ }
766
+ ],
767
+ readonly [
768
+ "code",
769
+ {
770
+ serialize: (value: `cb_${string}`) => Buffer;
771
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
772
+ }
773
+ ],
774
+ readonly [
775
+ "ctVersion",
776
+ {
777
+ serialize(value: import("./field-types/ct-version").CtVersion | undefined, { consensusProtocolVersion }: {
778
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
779
+ }): Buffer;
780
+ deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
781
+ }
782
+ ],
783
+ readonly [
784
+ "fee",
785
+ {
786
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
787
+ rebuildTx: (params: any) => `tx_${string}`;
788
+ unpackTx: typeof import(".").unpackTx;
789
+ buildTx: typeof import(".").buildTx;
790
+ _computingMinFee?: BigNumber | undefined;
791
+ _pickBiggerFee?: boolean | undefined;
792
+ }): string;
793
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
794
+ deserialize(value: Buffer): string;
795
+ }
796
+ ],
797
+ readonly [
798
+ "ttl",
799
+ {
800
+ serialize(value: number): Buffer;
801
+ deserialize(value: Buffer): number;
802
+ }
803
+ ],
804
+ readonly [
805
+ "deposit",
806
+ {
807
+ serialize(value: import("./constants").Int | undefined, options: import("./field-types/coin-amount").Options): Buffer;
808
+ serializeAettos(value: string | undefined): string;
809
+ deserialize(value: Buffer): string;
810
+ }
811
+ ],
812
+ readonly [
813
+ "amount",
814
+ {
815
+ serializeAettos(value: string | undefined): string;
816
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
817
+ deserialize(value: Buffer): string;
818
+ }
819
+ ],
820
+ readonly [
821
+ "gasLimit",
822
+ {
823
+ serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, gasMax, _computingGasLimit, }: {
824
+ tag: Tag;
825
+ rebuildTx: (params: any) => any;
826
+ unpackTx: typeof import(".").unpackTx;
827
+ buildTx: typeof import(".").buildTx;
828
+ gasMax: number;
829
+ _computingGasLimit?: number | undefined;
830
+ }): Buffer;
831
+ deserialize(value: Buffer): number;
832
+ }
833
+ ],
834
+ readonly [
835
+ "gasPrice",
836
+ {
837
+ serializeAettos(value?: string | undefined): string;
838
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
839
+ deserialize(value: Buffer): string;
840
+ }
841
+ ],
842
+ readonly [
843
+ "callData",
844
+ {
845
+ serialize: (value: `cb_${string}`) => Buffer;
846
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
847
+ }
848
+ ]
849
+ ];
850
+ };
851
+ readonly 43: {
852
+ readonly 1: readonly [
853
+ readonly [
854
+ "tag",
855
+ {
856
+ serialize: (value?: Tag.ContractCallTx | undefined) => Buffer;
857
+ deserialize: (value: Buffer) => Tag.ContractCallTx;
858
+ }
859
+ ],
860
+ readonly [
861
+ "version",
862
+ {
863
+ serialize: (value?: 1 | undefined) => Buffer;
864
+ deserialize: (value: Buffer) => 1;
865
+ }
866
+ ],
867
+ readonly [
868
+ "callerId",
869
+ {
870
+ serialize: (value: `ak_${string}`) => Buffer;
871
+ deserialize: (value: Buffer) => `ak_${string}`;
872
+ }
873
+ ],
874
+ readonly [
875
+ "nonce",
876
+ {
877
+ serialize(value: number): Buffer;
878
+ deserialize(value: Buffer): number;
879
+ }
880
+ ],
881
+ readonly [
882
+ "contractId",
883
+ {
884
+ serialize: (value: `ct_${string}` | `nm_${string}`) => Buffer;
885
+ deserialize: (value: Buffer) => `ct_${string}` | `nm_${string}`;
886
+ }
887
+ ],
888
+ readonly [
889
+ "abiVersion",
890
+ {
891
+ serialize(value: import("./constants").AbiVersion | undefined, { tag, consensusProtocolVersion }: {
892
+ tag: Tag;
893
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
894
+ }): Buffer;
895
+ deserialize(buffer: Buffer): import("./constants").AbiVersion;
896
+ }
897
+ ],
898
+ readonly [
899
+ "fee",
900
+ {
901
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
902
+ rebuildTx: (params: any) => `tx_${string}`;
903
+ unpackTx: typeof import(".").unpackTx;
904
+ buildTx: typeof import(".").buildTx;
905
+ _computingMinFee?: BigNumber | undefined;
906
+ _pickBiggerFee?: boolean | undefined;
907
+ }): string;
908
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
909
+ deserialize(value: Buffer): string;
910
+ }
911
+ ],
912
+ readonly [
913
+ "ttl",
914
+ {
915
+ serialize(value: number): Buffer;
916
+ deserialize(value: Buffer): number;
917
+ }
918
+ ],
919
+ readonly [
920
+ "amount",
921
+ {
922
+ serializeAettos(value: string | undefined): string;
923
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
924
+ deserialize(value: Buffer): string;
925
+ }
926
+ ],
927
+ readonly [
928
+ "gasLimit",
929
+ {
930
+ serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, gasMax, _computingGasLimit, }: {
931
+ tag: Tag;
932
+ rebuildTx: (params: any) => any;
933
+ unpackTx: typeof import(".").unpackTx;
934
+ buildTx: typeof import(".").buildTx;
935
+ gasMax: number;
936
+ _computingGasLimit?: number | undefined;
937
+ }): Buffer;
938
+ deserialize(value: Buffer): number;
939
+ }
940
+ ],
941
+ readonly [
942
+ "gasPrice",
943
+ {
944
+ serializeAettos(value?: string | undefined): string;
945
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
946
+ deserialize(value: Buffer): string;
947
+ }
948
+ ],
949
+ readonly [
950
+ "callData",
951
+ {
952
+ serialize: (value: `cb_${string}`) => Buffer;
953
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
954
+ }
955
+ ]
956
+ ];
957
+ };
958
+ readonly 41: {
959
+ readonly 1: readonly [
960
+ readonly [
961
+ "tag",
962
+ {
963
+ serialize: (value?: Tag.ContractCall | undefined) => Buffer;
964
+ deserialize: (value: Buffer) => Tag.ContractCall;
965
+ }
966
+ ],
967
+ readonly [
968
+ "version",
969
+ {
970
+ serialize: (value?: 1 | undefined) => Buffer;
971
+ deserialize: (value: Buffer) => 1;
972
+ }
973
+ ],
974
+ readonly [
975
+ "callerId",
976
+ {
977
+ serialize: (value: `ak_${string}`) => Buffer;
978
+ deserialize: (value: Buffer) => `ak_${string}`;
979
+ }
980
+ ],
981
+ readonly [
982
+ "callerNonce",
983
+ {
984
+ serialize(value: number): Buffer;
985
+ deserialize(value: Buffer): number;
986
+ }
987
+ ],
988
+ readonly [
989
+ "height",
990
+ {
991
+ serialize(value: number): Buffer;
992
+ deserialize(value: Buffer): number;
993
+ }
994
+ ],
995
+ readonly [
996
+ "contractId",
997
+ {
998
+ serialize: (value: `ct_${string}`) => Buffer;
999
+ deserialize: (value: Buffer) => `ct_${string}`;
1000
+ }
1001
+ ],
1002
+ readonly [
1003
+ "gasPrice",
1004
+ {
1005
+ serializeAettos(value?: string | undefined): string;
1006
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1007
+ deserialize(value: Buffer): string;
1008
+ }
1009
+ ],
1010
+ readonly [
1011
+ "gasUsed",
1012
+ {
1013
+ serialize(value: number): Buffer;
1014
+ deserialize(value: Buffer): number;
1015
+ }
1016
+ ],
1017
+ readonly [
1018
+ "returnValue",
1019
+ {
1020
+ serialize: (value: `cb_${string}`) => Buffer;
1021
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
1022
+ }
1023
+ ],
1024
+ readonly [
1025
+ "returnType",
1026
+ {
1027
+ serialize: (value: CallReturnType) => Buffer;
1028
+ deserialize: (value: Buffer) => CallReturnType;
1029
+ }
1030
+ ],
1031
+ readonly [
1032
+ "log",
1033
+ {
1034
+ serialize(buffer: Uint8Array): Buffer;
1035
+ deserialize(buffer: Buffer): Buffer;
1036
+ }
1037
+ ]
1038
+ ];
1039
+ };
1040
+ readonly 20: {
1041
+ readonly 1: readonly [
1042
+ readonly [
1043
+ "tag",
1044
+ {
1045
+ serialize: (value?: Tag.Oracle | undefined) => Buffer;
1046
+ deserialize: (value: Buffer) => Tag.Oracle;
1047
+ }
1048
+ ],
1049
+ readonly [
1050
+ "version",
1051
+ {
1052
+ serialize: (value?: 1 | undefined) => Buffer;
1053
+ deserialize: (value: Buffer) => 1;
1054
+ }
1055
+ ],
1056
+ readonly [
1057
+ "accountId",
1058
+ {
1059
+ serialize: (value: `ak_${string}`) => Buffer;
1060
+ deserialize: (value: Buffer) => `ak_${string}`;
1061
+ }
1062
+ ],
1063
+ readonly [
1064
+ "queryFormat",
1065
+ {
1066
+ serialize(string: string): Buffer;
1067
+ deserialize(buffer: Buffer): string;
1068
+ }
1069
+ ],
1070
+ readonly [
1071
+ "responseFormat",
1072
+ {
1073
+ serialize(string: string): Buffer;
1074
+ deserialize(buffer: Buffer): string;
1075
+ }
1076
+ ],
1077
+ readonly [
1078
+ "queryFee",
1079
+ {
1080
+ serializeAettos(value: string | undefined): string;
1081
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1082
+ deserialize(value: Buffer): string;
1083
+ }
1084
+ ],
1085
+ readonly [
1086
+ "oracleTtlValue",
1087
+ {
1088
+ serialize(value: number): Buffer;
1089
+ deserialize(value: Buffer): number;
1090
+ }
1091
+ ],
1092
+ readonly [
1093
+ "abiVersion",
1094
+ {
1095
+ serialize(value: import("./constants").AbiVersion | undefined, { tag, consensusProtocolVersion }: {
1096
+ tag: Tag;
1097
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
1098
+ }): Buffer;
1099
+ deserialize(buffer: Buffer): import("./constants").AbiVersion;
1100
+ }
1101
+ ]
1102
+ ];
1103
+ };
1104
+ readonly 22: {
1105
+ readonly 1: readonly [
1106
+ readonly [
1107
+ "tag",
1108
+ {
1109
+ serialize: (value?: Tag.OracleRegisterTx | undefined) => Buffer;
1110
+ deserialize: (value: Buffer) => Tag.OracleRegisterTx;
1111
+ }
1112
+ ],
1113
+ readonly [
1114
+ "version",
1115
+ {
1116
+ serialize: (value?: 1 | undefined) => Buffer;
1117
+ deserialize: (value: Buffer) => 1;
1118
+ }
1119
+ ],
1120
+ readonly [
1121
+ "accountId",
1122
+ {
1123
+ serialize: (value: `ak_${string}`) => Buffer;
1124
+ deserialize: (value: Buffer) => `ak_${string}`;
1125
+ }
1126
+ ],
1127
+ readonly [
1128
+ "nonce",
1129
+ {
1130
+ serialize(value: number): Buffer;
1131
+ deserialize(value: Buffer): number;
1132
+ }
1133
+ ],
1134
+ readonly [
1135
+ "queryFormat",
1136
+ {
1137
+ serialize(string: string): Buffer;
1138
+ deserialize(buffer: Buffer): string;
1139
+ }
1140
+ ],
1141
+ readonly [
1142
+ "responseFormat",
1143
+ {
1144
+ serialize(string: string): Buffer;
1145
+ deserialize(buffer: Buffer): string;
1146
+ }
1147
+ ],
1148
+ readonly [
1149
+ "queryFee",
1150
+ {
1151
+ serializeAettos(value: string | undefined): string;
1152
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1153
+ deserialize(value: Buffer): string;
1154
+ }
1155
+ ],
1156
+ readonly [
1157
+ "oracleTtlType",
1158
+ {
1159
+ serialize: (value: ORACLE_TTL_TYPES) => Buffer;
1160
+ deserialize: (value: Buffer) => ORACLE_TTL_TYPES;
1161
+ }
1162
+ ],
1163
+ readonly [
1164
+ "oracleTtlValue",
1165
+ {
1166
+ serialize(value: number): Buffer;
1167
+ deserialize(value: Buffer): number;
1168
+ }
1169
+ ],
1170
+ readonly [
1171
+ "fee",
1172
+ {
1173
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1174
+ rebuildTx: (params: any) => `tx_${string}`;
1175
+ unpackTx: typeof import(".").unpackTx;
1176
+ buildTx: typeof import(".").buildTx;
1177
+ _computingMinFee?: BigNumber | undefined;
1178
+ _pickBiggerFee?: boolean | undefined;
1179
+ }): string;
1180
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1181
+ deserialize(value: Buffer): string;
1182
+ }
1183
+ ],
1184
+ readonly [
1185
+ "ttl",
1186
+ {
1187
+ serialize(value: number): Buffer;
1188
+ deserialize(value: Buffer): number;
1189
+ }
1190
+ ],
1191
+ readonly [
1192
+ "abiVersion",
1193
+ {
1194
+ serialize(value: import("./constants").AbiVersion | undefined, { tag, consensusProtocolVersion }: {
1195
+ tag: Tag;
1196
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
1197
+ }): Buffer;
1198
+ deserialize(buffer: Buffer): import("./constants").AbiVersion;
1199
+ }
1200
+ ]
1201
+ ];
1202
+ };
1203
+ readonly 25: {
1204
+ readonly 1: readonly [
1205
+ readonly [
1206
+ "tag",
1207
+ {
1208
+ serialize: (value?: Tag.OracleExtendTx | undefined) => Buffer;
1209
+ deserialize: (value: Buffer) => Tag.OracleExtendTx;
1210
+ }
1211
+ ],
1212
+ readonly [
1213
+ "version",
1214
+ {
1215
+ serialize: (value?: 1 | undefined) => Buffer;
1216
+ deserialize: (value: Buffer) => 1;
1217
+ }
1218
+ ],
1219
+ readonly [
1220
+ "oracleId",
1221
+ {
1222
+ serialize: (value: `ok_${string}` | `nm_${string}`) => Buffer;
1223
+ deserialize: (value: Buffer) => `ok_${string}` | `nm_${string}`;
1224
+ }
1225
+ ],
1226
+ readonly [
1227
+ "nonce",
1228
+ {
1229
+ serialize(value: number): Buffer;
1230
+ deserialize(value: Buffer): number;
1231
+ }
1232
+ ],
1233
+ readonly [
1234
+ "oracleTtlType",
1235
+ {
1236
+ serialize: (value: ORACLE_TTL_TYPES) => Buffer;
1237
+ deserialize: (value: Buffer) => ORACLE_TTL_TYPES;
1238
+ }
1239
+ ],
1240
+ readonly [
1241
+ "oracleTtlValue",
1242
+ {
1243
+ serialize(value: number): Buffer;
1244
+ deserialize(value: Buffer): number;
1245
+ }
1246
+ ],
1247
+ readonly [
1248
+ "fee",
1249
+ {
1250
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1251
+ rebuildTx: (params: any) => `tx_${string}`;
1252
+ unpackTx: typeof import(".").unpackTx;
1253
+ buildTx: typeof import(".").buildTx;
1254
+ _computingMinFee?: BigNumber | undefined;
1255
+ _pickBiggerFee?: boolean | undefined;
1256
+ }): string;
1257
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1258
+ deserialize(value: Buffer): string;
1259
+ }
1260
+ ],
1261
+ readonly [
1262
+ "ttl",
1263
+ {
1264
+ serialize(value: number): Buffer;
1265
+ deserialize(value: Buffer): number;
1266
+ }
1267
+ ]
1268
+ ];
1269
+ };
1270
+ readonly 23: {
1271
+ readonly 1: readonly [
1272
+ readonly [
1273
+ "tag",
1274
+ {
1275
+ serialize: (value?: Tag.OracleQueryTx | undefined) => Buffer;
1276
+ deserialize: (value: Buffer) => Tag.OracleQueryTx;
1277
+ }
1278
+ ],
1279
+ readonly [
1280
+ "version",
1281
+ {
1282
+ serialize: (value?: 1 | undefined) => Buffer;
1283
+ deserialize: (value: Buffer) => 1;
1284
+ }
1285
+ ],
1286
+ readonly [
1287
+ "senderId",
1288
+ {
1289
+ serialize: (value: `ak_${string}`) => Buffer;
1290
+ deserialize: (value: Buffer) => `ak_${string}`;
1291
+ }
1292
+ ],
1293
+ readonly [
1294
+ "nonce",
1295
+ {
1296
+ serialize(value: number): Buffer;
1297
+ deserialize(value: Buffer): number;
1298
+ }
1299
+ ],
1300
+ readonly [
1301
+ "oracleId",
1302
+ {
1303
+ serialize: (value: `ok_${string}` | `nm_${string}`) => Buffer;
1304
+ deserialize: (value: Buffer) => `ok_${string}` | `nm_${string}`;
1305
+ }
1306
+ ],
1307
+ readonly [
1308
+ "query",
1309
+ {
1310
+ serialize(string: string): Buffer;
1311
+ deserialize(buffer: Buffer): string;
1312
+ }
1313
+ ],
1314
+ readonly [
1315
+ "queryFee",
1316
+ {
1317
+ serializeAettos(value: string | undefined): string;
1318
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1319
+ deserialize(value: Buffer): string;
1320
+ }
1321
+ ],
1322
+ readonly [
1323
+ "queryTtlType",
1324
+ {
1325
+ serialize: (value: ORACLE_TTL_TYPES) => Buffer;
1326
+ deserialize: (value: Buffer) => ORACLE_TTL_TYPES;
1327
+ }
1328
+ ],
1329
+ readonly [
1330
+ "queryTtlValue",
1331
+ {
1332
+ serialize(value: number): Buffer;
1333
+ deserialize(value: Buffer): number;
1334
+ }
1335
+ ],
1336
+ readonly [
1337
+ "responseTtlType",
1338
+ {
1339
+ serialize: (value: ORACLE_TTL_TYPES) => Buffer;
1340
+ deserialize: (value: Buffer) => ORACLE_TTL_TYPES;
1341
+ }
1342
+ ],
1343
+ readonly [
1344
+ "responseTtlValue",
1345
+ {
1346
+ serialize(value: number): Buffer;
1347
+ deserialize(value: Buffer): number;
1348
+ }
1349
+ ],
1350
+ readonly [
1351
+ "fee",
1352
+ {
1353
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1354
+ rebuildTx: (params: any) => `tx_${string}`;
1355
+ unpackTx: typeof import(".").unpackTx;
1356
+ buildTx: typeof import(".").buildTx;
1357
+ _computingMinFee?: BigNumber | undefined;
1358
+ _pickBiggerFee?: boolean | undefined;
1359
+ }): string;
1360
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1361
+ deserialize(value: Buffer): string;
1362
+ }
1363
+ ],
1364
+ readonly [
1365
+ "ttl",
1366
+ {
1367
+ serialize(value: number): Buffer;
1368
+ deserialize(value: Buffer): number;
1369
+ }
1370
+ ]
1371
+ ];
1372
+ };
1373
+ readonly 24: {
1374
+ readonly 1: readonly [
1375
+ readonly [
1376
+ "tag",
1377
+ {
1378
+ serialize: (value?: Tag.OracleResponseTx | undefined) => Buffer;
1379
+ deserialize: (value: Buffer) => Tag.OracleResponseTx;
1380
+ }
1381
+ ],
1382
+ readonly [
1383
+ "version",
1384
+ {
1385
+ serialize: (value?: 1 | undefined) => Buffer;
1386
+ deserialize: (value: Buffer) => 1;
1387
+ }
1388
+ ],
1389
+ readonly [
1390
+ "oracleId",
1391
+ {
1392
+ serialize: (value: `ok_${string}`) => Buffer;
1393
+ deserialize: (value: Buffer) => `ok_${string}`;
1394
+ }
1395
+ ],
1396
+ readonly [
1397
+ "nonce",
1398
+ {
1399
+ serialize(value: number): Buffer;
1400
+ deserialize(value: Buffer): number;
1401
+ }
1402
+ ],
1403
+ readonly [
1404
+ "queryId",
1405
+ {
1406
+ serialize: (value: `oq_${string}`) => Buffer;
1407
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
1408
+ }
1409
+ ],
1410
+ readonly [
1411
+ "response",
1412
+ {
1413
+ serialize(string: string): Buffer;
1414
+ deserialize(buffer: Buffer): string;
1415
+ }
1416
+ ],
1417
+ readonly [
1418
+ "responseTtlType",
1419
+ {
1420
+ serialize: (value: ORACLE_TTL_TYPES) => Buffer;
1421
+ deserialize: (value: Buffer) => ORACLE_TTL_TYPES;
1422
+ }
1423
+ ],
1424
+ readonly [
1425
+ "responseTtlValue",
1426
+ {
1427
+ serialize(value: number): Buffer;
1428
+ deserialize(value: Buffer): number;
1429
+ }
1430
+ ],
1431
+ readonly [
1432
+ "fee",
1433
+ {
1434
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1435
+ rebuildTx: (params: any) => `tx_${string}`;
1436
+ unpackTx: typeof import(".").unpackTx;
1437
+ buildTx: typeof import(".").buildTx;
1438
+ _computingMinFee?: BigNumber | undefined;
1439
+ _pickBiggerFee?: boolean | undefined;
1440
+ }): string;
1441
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1442
+ deserialize(value: Buffer): string;
1443
+ }
1444
+ ],
1445
+ readonly [
1446
+ "ttl",
1447
+ {
1448
+ serialize(value: number): Buffer;
1449
+ deserialize(value: Buffer): number;
1450
+ }
1451
+ ]
1452
+ ];
1453
+ };
1454
+ readonly 50: {
1455
+ readonly 2: readonly [
1456
+ readonly [
1457
+ "tag",
1458
+ {
1459
+ serialize: (value?: Tag.ChannelCreateTx | undefined) => Buffer;
1460
+ deserialize: (value: Buffer) => Tag.ChannelCreateTx;
1461
+ }
1462
+ ],
1463
+ readonly [
1464
+ "version",
1465
+ {
1466
+ serialize: (value?: 2 | undefined) => Buffer;
1467
+ deserialize: (value: Buffer) => 2;
1468
+ }
1469
+ ],
1470
+ readonly [
1471
+ "initiator",
1472
+ {
1473
+ serialize: (value: `ak_${string}`) => Buffer;
1474
+ deserialize: (value: Buffer) => `ak_${string}`;
1475
+ }
1476
+ ],
1477
+ readonly [
1478
+ "initiatorAmount",
1479
+ {
1480
+ serialize(value: import("./constants").Int): Buffer;
1481
+ deserialize(value: Buffer): string;
1482
+ }
1483
+ ],
1484
+ readonly [
1485
+ "responder",
1486
+ {
1487
+ serialize: (value: `ak_${string}`) => Buffer;
1488
+ deserialize: (value: Buffer) => `ak_${string}`;
1489
+ }
1490
+ ],
1491
+ readonly [
1492
+ "responderAmount",
1493
+ {
1494
+ serialize(value: import("./constants").Int): Buffer;
1495
+ deserialize(value: Buffer): string;
1496
+ }
1497
+ ],
1498
+ readonly [
1499
+ "channelReserve",
1500
+ {
1501
+ serialize(value: import("./constants").Int): Buffer;
1502
+ deserialize(value: Buffer): string;
1503
+ }
1504
+ ],
1505
+ readonly [
1506
+ "lockPeriod",
1507
+ {
1508
+ serialize(value: import("./constants").Int): Buffer;
1509
+ deserialize(value: Buffer): string;
1510
+ }
1511
+ ],
1512
+ readonly [
1513
+ "ttl",
1514
+ {
1515
+ serialize(value: number): Buffer;
1516
+ deserialize(value: Buffer): number;
1517
+ }
1518
+ ],
1519
+ readonly [
1520
+ "fee",
1521
+ {
1522
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1523
+ rebuildTx: (params: any) => `tx_${string}`;
1524
+ unpackTx: typeof import(".").unpackTx;
1525
+ buildTx: typeof import(".").buildTx;
1526
+ _computingMinFee?: BigNumber | undefined;
1527
+ _pickBiggerFee?: boolean | undefined;
1528
+ }): string;
1529
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1530
+ deserialize(value: Buffer): string;
1531
+ }
1532
+ ],
1533
+ readonly [
1534
+ "initiatorDelegateIds",
1535
+ {
1536
+ serialize: (value: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
1537
+ deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
1538
+ }
1539
+ ],
1540
+ readonly [
1541
+ "responderDelegateIds",
1542
+ {
1543
+ serialize: (value: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
1544
+ deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
1545
+ }
1546
+ ],
1547
+ readonly [
1548
+ "stateHash",
1549
+ {
1550
+ serialize: (value: `st_${string}`) => Buffer;
1551
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
1552
+ }
1553
+ ],
1554
+ readonly [
1555
+ "nonce",
1556
+ {
1557
+ serialize(value: number): Buffer;
1558
+ deserialize(value: Buffer): number;
1559
+ }
1560
+ ]
1561
+ ];
1562
+ };
1563
+ readonly 53: {
1564
+ readonly 1: readonly [
1565
+ readonly [
1566
+ "tag",
1567
+ {
1568
+ serialize: (value?: Tag.ChannelCloseMutualTx | undefined) => Buffer;
1569
+ deserialize: (value: Buffer) => Tag.ChannelCloseMutualTx;
1570
+ }
1571
+ ],
1572
+ readonly [
1573
+ "version",
1574
+ {
1575
+ serialize: (value?: 1 | undefined) => Buffer;
1576
+ deserialize: (value: Buffer) => 1;
1577
+ }
1578
+ ],
1579
+ readonly [
1580
+ "channelId",
1581
+ {
1582
+ serialize: (value: `ch_${string}`) => Buffer;
1583
+ deserialize: (value: Buffer) => `ch_${string}`;
1584
+ }
1585
+ ],
1586
+ readonly [
1587
+ "fromId",
1588
+ {
1589
+ serialize: (value: `ak_${string}`) => Buffer;
1590
+ deserialize: (value: Buffer) => `ak_${string}`;
1591
+ }
1592
+ ],
1593
+ readonly [
1594
+ "initiatorAmountFinal",
1595
+ {
1596
+ serialize(value: import("./constants").Int): Buffer;
1597
+ deserialize(value: Buffer): string;
1598
+ }
1599
+ ],
1600
+ readonly [
1601
+ "responderAmountFinal",
1602
+ {
1603
+ serialize(value: import("./constants").Int): Buffer;
1604
+ deserialize(value: Buffer): string;
1605
+ }
1606
+ ],
1607
+ readonly [
1608
+ "ttl",
1609
+ {
1610
+ serialize(value: number): Buffer;
1611
+ deserialize(value: Buffer): number;
1612
+ }
1613
+ ],
1614
+ readonly [
1615
+ "fee",
1616
+ {
1617
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1618
+ rebuildTx: (params: any) => `tx_${string}`;
1619
+ unpackTx: typeof import(".").unpackTx;
1620
+ buildTx: typeof import(".").buildTx;
1621
+ _computingMinFee?: BigNumber | undefined;
1622
+ _pickBiggerFee?: boolean | undefined;
1623
+ }): string;
1624
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1625
+ deserialize(value: Buffer): string;
1626
+ }
1627
+ ],
1628
+ readonly [
1629
+ "nonce",
1630
+ {
1631
+ serialize(value: number): Buffer;
1632
+ deserialize(value: Buffer): number;
1633
+ }
1634
+ ]
1635
+ ];
1636
+ };
1637
+ readonly 54: {
1638
+ readonly 1: readonly [
1639
+ readonly [
1640
+ "tag",
1641
+ {
1642
+ serialize: (value?: Tag.ChannelCloseSoloTx | undefined) => Buffer;
1643
+ deserialize: (value: Buffer) => Tag.ChannelCloseSoloTx;
1644
+ }
1645
+ ],
1646
+ readonly [
1647
+ "version",
1648
+ {
1649
+ serialize: (value?: 1 | undefined) => Buffer;
1650
+ deserialize: (value: Buffer) => 1;
1651
+ }
1652
+ ],
1653
+ readonly [
1654
+ "channelId",
1655
+ {
1656
+ serialize: (value: `ch_${string}`) => Buffer;
1657
+ deserialize: (value: Buffer) => `ch_${string}`;
1658
+ }
1659
+ ],
1660
+ readonly [
1661
+ "fromId",
1662
+ {
1663
+ serialize: (value: `ak_${string}`) => Buffer;
1664
+ deserialize: (value: Buffer) => `ak_${string}`;
1665
+ }
1666
+ ],
1667
+ readonly [
1668
+ "payload",
1669
+ {
1670
+ serialize: (value: `tx_${string}`) => Buffer;
1671
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
1672
+ }
1673
+ ],
1674
+ readonly [
1675
+ "poi",
1676
+ {
1677
+ serialize: (value: any, options: {
1678
+ buildTx: typeof import(".").buildTx;
1679
+ }) => Buffer;
1680
+ deserialize: (value: Buffer, options: {
1681
+ unpackTx: typeof import(".").unpackTx;
1682
+ }) => any;
1683
+ }
1684
+ ],
1685
+ readonly [
1686
+ "ttl",
1687
+ {
1688
+ serialize(value: number): Buffer;
1689
+ deserialize(value: Buffer): number;
1690
+ }
1691
+ ],
1692
+ readonly [
1693
+ "fee",
1694
+ {
1695
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1696
+ rebuildTx: (params: any) => `tx_${string}`;
1697
+ unpackTx: typeof import(".").unpackTx;
1698
+ buildTx: typeof import(".").buildTx;
1699
+ _computingMinFee?: BigNumber | undefined;
1700
+ _pickBiggerFee?: boolean | undefined;
1701
+ }): string;
1702
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1703
+ deserialize(value: Buffer): string;
1704
+ }
1705
+ ],
1706
+ readonly [
1707
+ "nonce",
1708
+ {
1709
+ serialize(value: number): Buffer;
1710
+ deserialize(value: Buffer): number;
1711
+ }
1712
+ ]
1713
+ ];
1714
+ };
1715
+ readonly 55: {
1716
+ readonly 1: readonly [
1717
+ readonly [
1718
+ "tag",
1719
+ {
1720
+ serialize: (value?: Tag.ChannelSlashTx | undefined) => Buffer;
1721
+ deserialize: (value: Buffer) => Tag.ChannelSlashTx;
1722
+ }
1723
+ ],
1724
+ readonly [
1725
+ "version",
1726
+ {
1727
+ serialize: (value?: 1 | undefined) => Buffer;
1728
+ deserialize: (value: Buffer) => 1;
1729
+ }
1730
+ ],
1731
+ readonly [
1732
+ "channelId",
1733
+ {
1734
+ serialize: (value: `ch_${string}`) => Buffer;
1735
+ deserialize: (value: Buffer) => `ch_${string}`;
1736
+ }
1737
+ ],
1738
+ readonly [
1739
+ "fromId",
1740
+ {
1741
+ serialize: (value: `ak_${string}`) => Buffer;
1742
+ deserialize: (value: Buffer) => `ak_${string}`;
1743
+ }
1744
+ ],
1745
+ readonly [
1746
+ "payload",
1747
+ {
1748
+ serialize: (value: `tx_${string}`) => Buffer;
1749
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
1750
+ }
1751
+ ],
1752
+ readonly [
1753
+ "poi",
1754
+ {
1755
+ serialize: (value: any, options: {
1756
+ buildTx: typeof import(".").buildTx;
1757
+ }) => Buffer;
1758
+ deserialize: (value: Buffer, options: {
1759
+ unpackTx: typeof import(".").unpackTx;
1760
+ }) => any;
1761
+ }
1762
+ ],
1763
+ readonly [
1764
+ "ttl",
1765
+ {
1766
+ serialize(value: number): Buffer;
1767
+ deserialize(value: Buffer): number;
1768
+ }
1769
+ ],
1770
+ readonly [
1771
+ "fee",
1772
+ {
1773
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1774
+ rebuildTx: (params: any) => `tx_${string}`;
1775
+ unpackTx: typeof import(".").unpackTx;
1776
+ buildTx: typeof import(".").buildTx;
1777
+ _computingMinFee?: BigNumber | undefined;
1778
+ _pickBiggerFee?: boolean | undefined;
1779
+ }): string;
1780
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1781
+ deserialize(value: Buffer): string;
1782
+ }
1783
+ ],
1784
+ readonly [
1785
+ "nonce",
1786
+ {
1787
+ serialize(value: number): Buffer;
1788
+ deserialize(value: Buffer): number;
1789
+ }
1790
+ ]
1791
+ ];
1792
+ };
1793
+ readonly 51: {
1794
+ readonly 1: readonly [
1795
+ readonly [
1796
+ "tag",
1797
+ {
1798
+ serialize: (value?: Tag.ChannelDepositTx | undefined) => Buffer;
1799
+ deserialize: (value: Buffer) => Tag.ChannelDepositTx;
1800
+ }
1801
+ ],
1802
+ readonly [
1803
+ "version",
1804
+ {
1805
+ serialize: (value?: 1 | undefined) => Buffer;
1806
+ deserialize: (value: Buffer) => 1;
1807
+ }
1808
+ ],
1809
+ readonly [
1810
+ "channelId",
1811
+ {
1812
+ serialize: (value: `ch_${string}`) => Buffer;
1813
+ deserialize: (value: Buffer) => `ch_${string}`;
1814
+ }
1815
+ ],
1816
+ readonly [
1817
+ "fromId",
1818
+ {
1819
+ serialize: (value: `ak_${string}`) => Buffer;
1820
+ deserialize: (value: Buffer) => `ak_${string}`;
1821
+ }
1822
+ ],
1823
+ readonly [
1824
+ "amount",
1825
+ {
1826
+ serialize(value: import("./constants").Int): Buffer;
1827
+ deserialize(value: Buffer): string;
1828
+ }
1829
+ ],
1830
+ readonly [
1831
+ "ttl",
1832
+ {
1833
+ serialize(value: number): Buffer;
1834
+ deserialize(value: Buffer): number;
1835
+ }
1836
+ ],
1837
+ readonly [
1838
+ "fee",
1839
+ {
1840
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1841
+ rebuildTx: (params: any) => `tx_${string}`;
1842
+ unpackTx: typeof import(".").unpackTx;
1843
+ buildTx: typeof import(".").buildTx;
1844
+ _computingMinFee?: BigNumber | undefined;
1845
+ _pickBiggerFee?: boolean | undefined;
1846
+ }): string;
1847
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1848
+ deserialize(value: Buffer): string;
1849
+ }
1850
+ ],
1851
+ readonly [
1852
+ "stateHash",
1853
+ {
1854
+ serialize: (value: `st_${string}`) => Buffer;
1855
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
1856
+ }
1857
+ ],
1858
+ readonly [
1859
+ "round",
1860
+ {
1861
+ serialize(value: number): Buffer;
1862
+ deserialize(value: Buffer): number;
1863
+ }
1864
+ ],
1865
+ readonly [
1866
+ "nonce",
1867
+ {
1868
+ serialize(value: number): Buffer;
1869
+ deserialize(value: Buffer): number;
1870
+ }
1871
+ ]
1872
+ ];
1873
+ };
1874
+ readonly 52: {
1875
+ readonly 1: readonly [
1876
+ readonly [
1877
+ "tag",
1878
+ {
1879
+ serialize: (value?: Tag.ChannelWithdrawTx | undefined) => Buffer;
1880
+ deserialize: (value: Buffer) => Tag.ChannelWithdrawTx;
1881
+ }
1882
+ ],
1883
+ readonly [
1884
+ "version",
1885
+ {
1886
+ serialize: (value?: 1 | undefined) => Buffer;
1887
+ deserialize: (value: Buffer) => 1;
1888
+ }
1889
+ ],
1890
+ readonly [
1891
+ "channelId",
1892
+ {
1893
+ serialize: (value: `ch_${string}`) => Buffer;
1894
+ deserialize: (value: Buffer) => `ch_${string}`;
1895
+ }
1896
+ ],
1897
+ readonly [
1898
+ "toId",
1899
+ {
1900
+ serialize: (value: `ak_${string}`) => Buffer;
1901
+ deserialize: (value: Buffer) => `ak_${string}`;
1902
+ }
1903
+ ],
1904
+ readonly [
1905
+ "amount",
1906
+ {
1907
+ serialize(value: import("./constants").Int): Buffer;
1908
+ deserialize(value: Buffer): string;
1909
+ }
1910
+ ],
1911
+ readonly [
1912
+ "ttl",
1913
+ {
1914
+ serialize(value: number): Buffer;
1915
+ deserialize(value: Buffer): number;
1916
+ }
1917
+ ],
1918
+ readonly [
1919
+ "fee",
1920
+ {
1921
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
1922
+ rebuildTx: (params: any) => `tx_${string}`;
1923
+ unpackTx: typeof import(".").unpackTx;
1924
+ buildTx: typeof import(".").buildTx;
1925
+ _computingMinFee?: BigNumber | undefined;
1926
+ _pickBiggerFee?: boolean | undefined;
1927
+ }): string;
1928
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
1929
+ deserialize(value: Buffer): string;
1930
+ }
1931
+ ],
1932
+ readonly [
1933
+ "stateHash",
1934
+ {
1935
+ serialize: (value: `st_${string}`) => Buffer;
1936
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
1937
+ }
1938
+ ],
1939
+ readonly [
1940
+ "round",
1941
+ {
1942
+ serialize(value: number): Buffer;
1943
+ deserialize(value: Buffer): number;
1944
+ }
1945
+ ],
1946
+ readonly [
1947
+ "nonce",
1948
+ {
1949
+ serialize(value: number): Buffer;
1950
+ deserialize(value: Buffer): number;
1951
+ }
1952
+ ]
1953
+ ];
1954
+ };
1955
+ readonly 56: {
1956
+ readonly 1: readonly [
1957
+ readonly [
1958
+ "tag",
1959
+ {
1960
+ serialize: (value?: Tag.ChannelSettleTx | undefined) => Buffer;
1961
+ deserialize: (value: Buffer) => Tag.ChannelSettleTx;
1962
+ }
1963
+ ],
1964
+ readonly [
1965
+ "version",
1966
+ {
1967
+ serialize: (value?: 1 | undefined) => Buffer;
1968
+ deserialize: (value: Buffer) => 1;
1969
+ }
1970
+ ],
1971
+ readonly [
1972
+ "channelId",
1973
+ {
1974
+ serialize: (value: `ch_${string}`) => Buffer;
1975
+ deserialize: (value: Buffer) => `ch_${string}`;
1976
+ }
1977
+ ],
1978
+ readonly [
1979
+ "fromId",
1980
+ {
1981
+ serialize: (value: `ak_${string}`) => Buffer;
1982
+ deserialize: (value: Buffer) => `ak_${string}`;
1983
+ }
1984
+ ],
1985
+ readonly [
1986
+ "initiatorAmountFinal",
1987
+ {
1988
+ serialize(value: import("./constants").Int): Buffer;
1989
+ deserialize(value: Buffer): string;
1990
+ }
1991
+ ],
1992
+ readonly [
1993
+ "responderAmountFinal",
1994
+ {
1995
+ serialize(value: import("./constants").Int): Buffer;
1996
+ deserialize(value: Buffer): string;
1997
+ }
1998
+ ],
1999
+ readonly [
2000
+ "ttl",
2001
+ {
2002
+ serialize(value: number): Buffer;
2003
+ deserialize(value: Buffer): number;
2004
+ }
2005
+ ],
2006
+ readonly [
2007
+ "fee",
2008
+ {
2009
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
2010
+ rebuildTx: (params: any) => `tx_${string}`;
2011
+ unpackTx: typeof import(".").unpackTx;
2012
+ buildTx: typeof import(".").buildTx;
2013
+ _computingMinFee?: BigNumber | undefined;
2014
+ _pickBiggerFee?: boolean | undefined;
2015
+ }): string;
2016
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
2017
+ deserialize(value: Buffer): string;
2018
+ }
2019
+ ],
2020
+ readonly [
2021
+ "nonce",
2022
+ {
2023
+ serialize(value: number): Buffer;
2024
+ deserialize(value: Buffer): number;
2025
+ }
2026
+ ]
2027
+ ];
2028
+ };
2029
+ readonly 521: {
2030
+ readonly 1: readonly [
2031
+ readonly [
2032
+ "tag",
2033
+ {
2034
+ serialize: (value?: Tag.ChannelForceProgressTx | undefined) => Buffer;
2035
+ deserialize: (value: Buffer) => Tag.ChannelForceProgressTx;
2036
+ }
2037
+ ],
2038
+ readonly [
2039
+ "version",
2040
+ {
2041
+ serialize: (value?: 1 | undefined) => Buffer;
2042
+ deserialize: (value: Buffer) => 1;
2043
+ }
2044
+ ],
2045
+ readonly [
2046
+ "channelId",
2047
+ {
2048
+ serialize: (value: `ch_${string}`) => Buffer;
2049
+ deserialize: (value: Buffer) => `ch_${string}`;
2050
+ }
2051
+ ],
2052
+ readonly [
2053
+ "fromId",
2054
+ {
2055
+ serialize: (value: `ak_${string}`) => Buffer;
2056
+ deserialize: (value: Buffer) => `ak_${string}`;
2057
+ }
2058
+ ],
2059
+ readonly [
2060
+ "payload",
2061
+ {
2062
+ serialize: (value: `tx_${string}`) => Buffer;
2063
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2064
+ }
2065
+ ],
2066
+ readonly [
2067
+ "round",
2068
+ {
2069
+ serialize(value: number): Buffer;
2070
+ deserialize(value: Buffer): number;
2071
+ }
2072
+ ],
2073
+ readonly [
2074
+ "update",
2075
+ {
2076
+ serialize: (value: `cb_${string}`) => Buffer;
2077
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2078
+ }
2079
+ ],
2080
+ readonly [
2081
+ "stateHash",
2082
+ {
2083
+ serialize: (value: `st_${string}`) => Buffer;
2084
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2085
+ }
2086
+ ],
2087
+ readonly [
2088
+ "offChainTrees",
2089
+ {
2090
+ serialize: (value: `ss_${string}`) => Buffer;
2091
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2092
+ }
2093
+ ],
2094
+ readonly [
2095
+ "ttl",
2096
+ {
2097
+ serialize(value: number): Buffer;
2098
+ deserialize(value: Buffer): number;
2099
+ }
2100
+ ],
2101
+ readonly [
2102
+ "fee",
2103
+ {
2104
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
2105
+ rebuildTx: (params: any) => `tx_${string}`;
2106
+ unpackTx: typeof import(".").unpackTx;
2107
+ buildTx: typeof import(".").buildTx;
2108
+ _computingMinFee?: BigNumber | undefined;
2109
+ _pickBiggerFee?: boolean | undefined;
2110
+ }): string;
2111
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
2112
+ deserialize(value: Buffer): string;
2113
+ }
2114
+ ],
2115
+ readonly [
2116
+ "nonce",
2117
+ {
2118
+ serialize(value: number): Buffer;
2119
+ deserialize(value: Buffer): number;
2120
+ }
2121
+ ]
2122
+ ];
2123
+ };
2124
+ readonly 57: {
2125
+ readonly 2: readonly [
2126
+ readonly [
2127
+ "tag",
2128
+ {
2129
+ serialize: (value?: Tag.ChannelOffChainTx | undefined) => Buffer;
2130
+ deserialize: (value: Buffer) => Tag.ChannelOffChainTx;
2131
+ }
2132
+ ],
2133
+ readonly [
2134
+ "version",
2135
+ {
2136
+ serialize: (value?: 2 | undefined) => Buffer;
2137
+ deserialize: (value: Buffer) => 2;
2138
+ }
2139
+ ],
2140
+ readonly [
2141
+ "channelId",
2142
+ {
2143
+ serialize: (value: `ch_${string}`) => Buffer;
2144
+ deserialize: (value: Buffer) => `ch_${string}`;
2145
+ }
2146
+ ],
2147
+ readonly [
2148
+ "round",
2149
+ {
2150
+ serialize(value: number): Buffer;
2151
+ deserialize(value: Buffer): number;
2152
+ }
2153
+ ],
2154
+ readonly [
2155
+ "stateHash",
2156
+ {
2157
+ serialize: (value: `st_${string}`) => Buffer;
2158
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2159
+ }
2160
+ ]
2161
+ ];
2162
+ };
2163
+ readonly 58: {
2164
+ readonly 3: readonly [
2165
+ readonly [
2166
+ "tag",
2167
+ {
2168
+ serialize: (value?: Tag.Channel | undefined) => Buffer;
2169
+ deserialize: (value: Buffer) => Tag.Channel;
2170
+ }
2171
+ ],
2172
+ readonly [
2173
+ "version",
2174
+ {
2175
+ serialize: (value?: 3 | undefined) => Buffer;
2176
+ deserialize: (value: Buffer) => 3;
2177
+ }
2178
+ ],
2179
+ readonly [
2180
+ "initiator",
2181
+ {
2182
+ serialize: (value: `ak_${string}`) => Buffer;
2183
+ deserialize: (value: Buffer) => `ak_${string}`;
2184
+ }
2185
+ ],
2186
+ readonly [
2187
+ "responder",
2188
+ {
2189
+ serialize: (value: `ak_${string}`) => Buffer;
2190
+ deserialize: (value: Buffer) => `ak_${string}`;
2191
+ }
2192
+ ],
2193
+ readonly [
2194
+ "channelAmount",
2195
+ {
2196
+ serialize(value: import("./constants").Int): Buffer;
2197
+ deserialize(value: Buffer): string;
2198
+ }
2199
+ ],
2200
+ readonly [
2201
+ "initiatorAmount",
2202
+ {
2203
+ serialize(value: import("./constants").Int): Buffer;
2204
+ deserialize(value: Buffer): string;
2205
+ }
2206
+ ],
2207
+ readonly [
2208
+ "responderAmount",
2209
+ {
2210
+ serialize(value: import("./constants").Int): Buffer;
2211
+ deserialize(value: Buffer): string;
2212
+ }
2213
+ ],
2214
+ readonly [
2215
+ "channelReserve",
2216
+ {
2217
+ serialize(value: import("./constants").Int): Buffer;
2218
+ deserialize(value: Buffer): string;
2219
+ }
2220
+ ],
2221
+ readonly [
2222
+ "initiatorDelegateIds",
2223
+ {
2224
+ serialize: (value: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
2225
+ deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
2226
+ }
2227
+ ],
2228
+ readonly [
2229
+ "responderDelegateIds",
2230
+ {
2231
+ serialize: (value: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
2232
+ deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
2233
+ }
2234
+ ],
2235
+ readonly [
2236
+ "stateHash",
2237
+ {
2238
+ serialize: (value: `st_${string}`) => Buffer;
2239
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2240
+ }
2241
+ ],
2242
+ readonly [
2243
+ "round",
2244
+ {
2245
+ serialize(value: number): Buffer;
2246
+ deserialize(value: Buffer): number;
2247
+ }
2248
+ ],
2249
+ readonly [
2250
+ "soloRound",
2251
+ {
2252
+ serialize(value: import("./constants").Int): Buffer;
2253
+ deserialize(value: Buffer): string;
2254
+ }
2255
+ ],
2256
+ readonly [
2257
+ "lockPeriod",
2258
+ {
2259
+ serialize(value: import("./constants").Int): Buffer;
2260
+ deserialize(value: Buffer): string;
2261
+ }
2262
+ ],
2263
+ readonly [
2264
+ "lockedUntil",
2265
+ {
2266
+ serialize(value: import("./constants").Int): Buffer;
2267
+ deserialize(value: Buffer): string;
2268
+ }
2269
+ ],
2270
+ readonly [
2271
+ "initiatorAuth",
2272
+ {
2273
+ serialize: (value: `cb_${string}`) => Buffer;
2274
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2275
+ }
2276
+ ],
2277
+ readonly [
2278
+ "responderAuth",
2279
+ {
2280
+ serialize: (value: `cb_${string}`) => Buffer;
2281
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2282
+ }
2283
+ ]
2284
+ ];
2285
+ };
2286
+ readonly 59: {
2287
+ readonly 1: readonly [
2288
+ readonly [
2289
+ "tag",
2290
+ {
2291
+ serialize: (value?: Tag.ChannelSnapshotSoloTx | undefined) => Buffer;
2292
+ deserialize: (value: Buffer) => Tag.ChannelSnapshotSoloTx;
2293
+ }
2294
+ ],
2295
+ readonly [
2296
+ "version",
2297
+ {
2298
+ serialize: (value?: 1 | undefined) => Buffer;
2299
+ deserialize: (value: Buffer) => 1;
2300
+ }
2301
+ ],
2302
+ readonly [
2303
+ "channelId",
2304
+ {
2305
+ serialize: (value: `ch_${string}`) => Buffer;
2306
+ deserialize: (value: Buffer) => `ch_${string}`;
2307
+ }
2308
+ ],
2309
+ readonly [
2310
+ "fromId",
2311
+ {
2312
+ serialize: (value: `ak_${string}`) => Buffer;
2313
+ deserialize: (value: Buffer) => `ak_${string}`;
2314
+ }
2315
+ ],
2316
+ readonly [
2317
+ "payload",
2318
+ {
2319
+ serialize: (value: `tx_${string}`) => Buffer;
2320
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2321
+ }
2322
+ ],
2323
+ readonly [
2324
+ "ttl",
2325
+ {
2326
+ serialize(value: number): Buffer;
2327
+ deserialize(value: Buffer): number;
2328
+ }
2329
+ ],
2330
+ readonly [
2331
+ "fee",
2332
+ {
2333
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
2334
+ rebuildTx: (params: any) => `tx_${string}`;
2335
+ unpackTx: typeof import(".").unpackTx;
2336
+ buildTx: typeof import(".").buildTx;
2337
+ _computingMinFee?: BigNumber | undefined;
2338
+ _pickBiggerFee?: boolean | undefined;
2339
+ }): string;
2340
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
2341
+ deserialize(value: Buffer): string;
2342
+ }
2343
+ ],
2344
+ readonly [
2345
+ "nonce",
2346
+ {
2347
+ serialize(value: number): Buffer;
2348
+ deserialize(value: Buffer): number;
2349
+ }
2350
+ ]
2351
+ ];
2352
+ };
2353
+ readonly 570: {
2354
+ readonly 1: readonly [
2355
+ readonly [
2356
+ "tag",
2357
+ {
2358
+ serialize: (value?: Tag.ChannelOffChainUpdateTransfer | undefined) => Buffer;
2359
+ deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateTransfer;
2360
+ }
2361
+ ],
2362
+ readonly [
2363
+ "version",
2364
+ {
2365
+ serialize: (value?: 1 | undefined) => Buffer;
2366
+ deserialize: (value: Buffer) => 1;
2367
+ }
2368
+ ],
2369
+ readonly [
2370
+ "from",
2371
+ {
2372
+ serialize: (value: `ak_${string}`) => Buffer;
2373
+ deserialize: (value: Buffer) => `ak_${string}`;
2374
+ }
2375
+ ],
2376
+ readonly [
2377
+ "to",
2378
+ {
2379
+ serialize: (value: `ak_${string}`) => Buffer;
2380
+ deserialize: (value: Buffer) => `ak_${string}`;
2381
+ }
2382
+ ],
2383
+ readonly [
2384
+ "amount",
2385
+ {
2386
+ serialize(value: import("./constants").Int): Buffer;
2387
+ deserialize(value: Buffer): string;
2388
+ }
2389
+ ]
2390
+ ];
2391
+ };
2392
+ readonly 571: {
2393
+ readonly 1: readonly [
2394
+ readonly [
2395
+ "tag",
2396
+ {
2397
+ serialize: (value?: Tag.ChannelOffChainUpdateDeposit | undefined) => Buffer;
2398
+ deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateDeposit;
2399
+ }
2400
+ ],
2401
+ readonly [
2402
+ "version",
2403
+ {
2404
+ serialize: (value?: 1 | undefined) => Buffer;
2405
+ deserialize: (value: Buffer) => 1;
2406
+ }
2407
+ ],
2408
+ readonly [
2409
+ "from",
2410
+ {
2411
+ serialize: (value: `ak_${string}`) => Buffer;
2412
+ deserialize: (value: Buffer) => `ak_${string}`;
2413
+ }
2414
+ ],
2415
+ readonly [
2416
+ "amount",
2417
+ {
2418
+ serialize(value: import("./constants").Int): Buffer;
2419
+ deserialize(value: Buffer): string;
2420
+ }
2421
+ ]
2422
+ ];
2423
+ };
2424
+ readonly 572: {
2425
+ readonly 1: readonly [
2426
+ readonly [
2427
+ "tag",
2428
+ {
2429
+ serialize: (value?: Tag.ChannelOffChainUpdateWithdraw | undefined) => Buffer;
2430
+ deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateWithdraw;
2431
+ }
2432
+ ],
2433
+ readonly [
2434
+ "version",
2435
+ {
2436
+ serialize: (value?: 1 | undefined) => Buffer;
2437
+ deserialize: (value: Buffer) => 1;
2438
+ }
2439
+ ],
2440
+ readonly [
2441
+ "from",
2442
+ {
2443
+ serialize: (value: `ak_${string}`) => Buffer;
2444
+ deserialize: (value: Buffer) => `ak_${string}`;
2445
+ }
2446
+ ],
2447
+ readonly [
2448
+ "amount",
2449
+ {
2450
+ serialize(value: import("./constants").Int): Buffer;
2451
+ deserialize(value: Buffer): string;
2452
+ }
2453
+ ]
2454
+ ];
2455
+ };
2456
+ readonly 573: {
2457
+ readonly 1: readonly [
2458
+ readonly [
2459
+ "tag",
2460
+ {
2461
+ serialize: (value?: Tag.ChannelOffChainUpdateCreateContract | undefined) => Buffer;
2462
+ deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateCreateContract;
2463
+ }
2464
+ ],
2465
+ readonly [
2466
+ "version",
2467
+ {
2468
+ serialize: (value?: 1 | undefined) => Buffer;
2469
+ deserialize: (value: Buffer) => 1;
2470
+ }
2471
+ ],
2472
+ readonly [
2473
+ "owner",
2474
+ {
2475
+ serialize: (value: `ak_${string}`) => Buffer;
2476
+ deserialize: (value: Buffer) => `ak_${string}`;
2477
+ }
2478
+ ],
2479
+ readonly [
2480
+ "ctVersion",
2481
+ {
2482
+ serialize(value: import("./field-types/ct-version").CtVersion | undefined, { consensusProtocolVersion }: {
2483
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
2484
+ }): Buffer;
2485
+ deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
2486
+ }
2487
+ ],
2488
+ readonly [
2489
+ "code",
2490
+ {
2491
+ serialize: (value: `cb_${string}`) => Buffer;
2492
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2493
+ }
2494
+ ],
2495
+ readonly [
2496
+ "deposit",
2497
+ {
2498
+ serialize(value: import("./constants").Int): Buffer;
2499
+ deserialize(value: Buffer): string;
2500
+ }
2501
+ ],
2502
+ readonly [
2503
+ "callData",
2504
+ {
2505
+ serialize: (value: `cb_${string}`) => Buffer;
2506
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2507
+ }
2508
+ ]
2509
+ ];
2510
+ };
2511
+ readonly 574: {
2512
+ readonly 1: readonly [
2513
+ readonly [
2514
+ "tag",
2515
+ {
2516
+ serialize: (value?: Tag.ChannelOffChainUpdateCallContract | undefined) => Buffer;
2517
+ deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateCallContract;
2518
+ }
2519
+ ],
2520
+ readonly [
2521
+ "version",
2522
+ {
2523
+ serialize: (value?: 1 | undefined) => Buffer;
2524
+ deserialize: (value: Buffer) => 1;
2525
+ }
2526
+ ],
2527
+ readonly [
2528
+ "caller",
2529
+ {
2530
+ serialize: (value: `ak_${string}`) => Buffer;
2531
+ deserialize: (value: Buffer) => `ak_${string}`;
2532
+ }
2533
+ ],
2534
+ readonly [
2535
+ "contract",
2536
+ {
2537
+ serialize: (value: `ct_${string}`) => Buffer;
2538
+ deserialize: (value: Buffer) => `ct_${string}`;
2539
+ }
2540
+ ],
2541
+ readonly [
2542
+ "abiVersion",
2543
+ {
2544
+ serialize(value: import("./constants").AbiVersion | undefined, { tag, consensusProtocolVersion }: {
2545
+ tag: Tag;
2546
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
2547
+ }): Buffer;
2548
+ deserialize(buffer: Buffer): import("./constants").AbiVersion;
2549
+ }
2550
+ ],
2551
+ readonly [
2552
+ "amount",
2553
+ {
2554
+ serialize(value: import("./constants").Int): Buffer;
2555
+ deserialize(value: Buffer): string;
2556
+ }
2557
+ ],
2558
+ readonly [
2559
+ "callData",
2560
+ {
2561
+ serialize: (value: `cb_${string}`) => Buffer;
2562
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
2563
+ }
2564
+ ],
2565
+ readonly [
2566
+ "callStack",
2567
+ {
2568
+ serialize(buffer: Uint8Array): Buffer;
2569
+ deserialize(buffer: Buffer): Buffer;
2570
+ }
2571
+ ],
2572
+ readonly [
2573
+ "gasPrice",
2574
+ {
2575
+ serializeAettos(value?: string | undefined): string;
2576
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
2577
+ deserialize(value: Buffer): string;
2578
+ }
2579
+ ],
2580
+ readonly [
2581
+ "gasLimit",
2582
+ {
2583
+ serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, gasMax, _computingGasLimit, }: {
2584
+ tag: Tag;
2585
+ rebuildTx: (params: any) => any;
2586
+ unpackTx: typeof import(".").unpackTx;
2587
+ buildTx: typeof import(".").buildTx;
2588
+ gasMax: number;
2589
+ _computingGasLimit?: number | undefined;
2590
+ }): Buffer;
2591
+ deserialize(value: Buffer): number;
2592
+ }
2593
+ ]
2594
+ ];
2595
+ };
2596
+ readonly 575: {
2597
+ readonly 1: readonly [
2598
+ readonly [
2599
+ "tag",
2600
+ {
2601
+ serialize: (value?: Tag.ChannelClientReconnectTx | undefined) => Buffer;
2602
+ deserialize: (value: Buffer) => Tag.ChannelClientReconnectTx;
2603
+ }
2604
+ ],
2605
+ readonly [
2606
+ "version",
2607
+ {
2608
+ serialize: (value?: 1 | undefined) => Buffer;
2609
+ deserialize: (value: Buffer) => 1;
2610
+ }
2611
+ ],
2612
+ readonly [
2613
+ "channelId",
2614
+ {
2615
+ serialize: (value: `ch_${string}`) => Buffer;
2616
+ deserialize: (value: Buffer) => `ch_${string}`;
2617
+ }
2618
+ ],
2619
+ readonly [
2620
+ "round",
2621
+ {
2622
+ serialize(value: number): Buffer;
2623
+ deserialize(value: Buffer): number;
2624
+ }
2625
+ ],
2626
+ readonly [
2627
+ "role",
2628
+ {
2629
+ serialize(string: string): Buffer;
2630
+ deserialize(buffer: Buffer): string;
2631
+ }
2632
+ ],
2633
+ readonly [
2634
+ "pubkey",
2635
+ {
2636
+ serialize: (value: `ak_${string}`) => Buffer;
2637
+ deserialize: (value: Buffer) => `ak_${string}`;
2638
+ }
2639
+ ]
2640
+ ];
2641
+ };
2642
+ readonly 60: {
2643
+ readonly 1: readonly [
2644
+ readonly [
2645
+ "tag",
2646
+ {
2647
+ serialize: (value?: Tag.TreesPoi | undefined) => Buffer;
2648
+ deserialize: (value: Buffer) => Tag.TreesPoi;
2649
+ }
2650
+ ],
2651
+ readonly [
2652
+ "version",
2653
+ {
2654
+ serialize: (value?: 1 | undefined) => Buffer;
2655
+ deserialize: (value: Buffer) => 1;
2656
+ }
2657
+ ],
2658
+ readonly [
2659
+ "accounts",
2660
+ {
2661
+ serialize: (value: {
2662
+ readonly "__#3@#rootHash": string;
2663
+ "__#3@#isComplete": boolean;
2664
+ readonly isComplete: boolean;
2665
+ readonly "__#3@#nodes": {
2666
+ [key: string]: Buffer[];
2667
+ };
2668
+ readonly "__#3@#encoding": Encoding.AccountAddress;
2669
+ readonly "__#3@#tag": Tag.Account;
2670
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2671
+ isEqual(tree: any): boolean;
2672
+ serialize(): [
2673
+ Buffer,
2674
+ [
2675
+ Buffer,
2676
+ Buffer[]
2677
+ ][]
2678
+ ];
2679
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
2680
+ get(key: `ak_${string}`): RawTxObject<(Partial<Pick<{
2681
+ tag: Tag.Account | undefined;
2682
+ }, "tag">> & Omit<{
2683
+ tag: Tag.Account | undefined;
2684
+ }, "tag"> & Partial<Pick<{
2685
+ nonce: number;
2686
+ }, never>> & Omit<{
2687
+ nonce: number;
2688
+ }, never> & Partial<Pick<{
2689
+ balance: import("./constants").Int;
2690
+ }, never>> & Omit<{
2691
+ balance: import("./constants").Int;
2692
+ }, never> & Partial<Pick<{
2693
+ version: 2 | undefined;
2694
+ }, "version">> & Omit<{
2695
+ version: 2 | undefined;
2696
+ }, "version"> & Partial<Pick<{
2697
+ flags: import("./constants").Int;
2698
+ }, never>> & Omit<{
2699
+ flags: import("./constants").Int;
2700
+ }, never> & Partial<Pick<{
2701
+ gaContract: `ct_${string}` | `nm_${string}`;
2702
+ }, never>> & Omit<{
2703
+ gaContract: `ct_${string}` | `nm_${string}`;
2704
+ }, never> & Partial<Pick<{
2705
+ gaAuthFun: `cb_${string}`;
2706
+ }, never>> & Omit<{
2707
+ gaAuthFun: `cb_${string}`;
2708
+ }, never>) | (Partial<Pick<{
2709
+ tag: Tag.Account | undefined;
2710
+ }, "tag">> & Omit<{
2711
+ tag: Tag.Account | undefined;
2712
+ }, "tag"> & Partial<Pick<{
2713
+ nonce: number;
2714
+ }, never>> & Omit<{
2715
+ nonce: number;
2716
+ }, never> & Partial<Pick<{
2717
+ balance: import("./constants").Int;
2718
+ }, never>> & Omit<{
2719
+ balance: import("./constants").Int;
2720
+ }, never> & Partial<Pick<{
2721
+ version: 1 | undefined;
2722
+ }, "version">> & Omit<{
2723
+ version: 1 | undefined;
2724
+ }, "version">)> | undefined;
2725
+ "__#3@#entriesRaw"(): [
2726
+ string,
2727
+ Buffer
2728
+ ][];
2729
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<(Partial<Pick<{
2730
+ tag: Tag.Account | undefined;
2731
+ }, "tag">> & Omit<{
2732
+ tag: Tag.Account | undefined;
2733
+ }, "tag"> & Partial<Pick<{
2734
+ nonce: number;
2735
+ }, never>> & Omit<{
2736
+ nonce: number;
2737
+ }, never> & Partial<Pick<{
2738
+ balance: import("./constants").Int;
2739
+ }, never>> & Omit<{
2740
+ balance: import("./constants").Int;
2741
+ }, never> & Partial<Pick<{
2742
+ version: 2 | undefined;
2743
+ }, "version">> & Omit<{
2744
+ version: 2 | undefined;
2745
+ }, "version"> & Partial<Pick<{
2746
+ flags: import("./constants").Int;
2747
+ }, never>> & Omit<{
2748
+ flags: import("./constants").Int;
2749
+ }, never> & Partial<Pick<{
2750
+ gaContract: `ct_${string}` | `nm_${string}`;
2751
+ }, never>> & Omit<{
2752
+ gaContract: `ct_${string}` | `nm_${string}`;
2753
+ }, never> & Partial<Pick<{
2754
+ gaAuthFun: `cb_${string}`;
2755
+ }, never>> & Omit<{
2756
+ gaAuthFun: `cb_${string}`;
2757
+ }, never>) | (Partial<Pick<{
2758
+ tag: Tag.Account | undefined;
2759
+ }, "tag">> & Omit<{
2760
+ tag: Tag.Account | undefined;
2761
+ }, "tag"> & Partial<Pick<{
2762
+ nonce: number;
2763
+ }, never>> & Omit<{
2764
+ nonce: number;
2765
+ }, never> & Partial<Pick<{
2766
+ balance: import("./constants").Int;
2767
+ }, never>> & Omit<{
2768
+ balance: import("./constants").Int;
2769
+ }, never> & Partial<Pick<{
2770
+ version: 1 | undefined;
2771
+ }, "version">> & Omit<{
2772
+ version: 1 | undefined;
2773
+ }, "version">)>>;
2774
+ }[], params: unknown) => [
2775
+ Buffer,
2776
+ [
2777
+ Buffer,
2778
+ Buffer[]
2779
+ ][]
2780
+ ][];
2781
+ deserialize: (value: [
2782
+ Buffer,
2783
+ [
2784
+ Buffer,
2785
+ Buffer[]
2786
+ ][]
2787
+ ][], params: unknown) => {
2788
+ readonly "__#3@#rootHash": string;
2789
+ "__#3@#isComplete": boolean;
2790
+ readonly isComplete: boolean;
2791
+ readonly "__#3@#nodes": {
2792
+ [key: string]: Buffer[];
2793
+ };
2794
+ readonly "__#3@#encoding": Encoding.AccountAddress;
2795
+ readonly "__#3@#tag": Tag.Account;
2796
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2797
+ isEqual(tree: any): boolean;
2798
+ serialize(): [
2799
+ Buffer,
2800
+ [
2801
+ Buffer,
2802
+ Buffer[]
2803
+ ][]
2804
+ ];
2805
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
2806
+ get(key: `ak_${string}`): RawTxObject<(Partial<Pick<{
2807
+ tag: Tag.Account | undefined;
2808
+ }, "tag">> & Omit<{
2809
+ tag: Tag.Account | undefined;
2810
+ }, "tag"> & Partial<Pick<{
2811
+ nonce: number;
2812
+ }, never>> & Omit<{
2813
+ nonce: number;
2814
+ }, never> & Partial<Pick<{
2815
+ balance: import("./constants").Int;
2816
+ }, never>> & Omit<{
2817
+ balance: import("./constants").Int;
2818
+ }, never> & Partial<Pick<{
2819
+ version: 2 | undefined;
2820
+ }, "version">> & Omit<{
2821
+ version: 2 | undefined;
2822
+ }, "version"> & Partial<Pick<{
2823
+ flags: import("./constants").Int;
2824
+ }, never>> & Omit<{
2825
+ flags: import("./constants").Int;
2826
+ }, never> & Partial<Pick<{
2827
+ gaContract: `ct_${string}` | `nm_${string}`;
2828
+ }, never>> & Omit<{
2829
+ gaContract: `ct_${string}` | `nm_${string}`;
2830
+ }, never> & Partial<Pick<{
2831
+ gaAuthFun: `cb_${string}`;
2832
+ }, never>> & Omit<{
2833
+ gaAuthFun: `cb_${string}`;
2834
+ }, never>) | (Partial<Pick<{
2835
+ tag: Tag.Account | undefined;
2836
+ }, "tag">> & Omit<{
2837
+ tag: Tag.Account | undefined;
2838
+ }, "tag"> & Partial<Pick<{
2839
+ nonce: number;
2840
+ }, never>> & Omit<{
2841
+ nonce: number;
2842
+ }, never> & Partial<Pick<{
2843
+ balance: import("./constants").Int;
2844
+ }, never>> & Omit<{
2845
+ balance: import("./constants").Int;
2846
+ }, never> & Partial<Pick<{
2847
+ version: 1 | undefined;
2848
+ }, "version">> & Omit<{
2849
+ version: 1 | undefined;
2850
+ }, "version">)> | undefined;
2851
+ "__#3@#entriesRaw"(): [
2852
+ string,
2853
+ Buffer
2854
+ ][];
2855
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<(Partial<Pick<{
2856
+ tag: Tag.Account | undefined;
2857
+ }, "tag">> & Omit<{
2858
+ tag: Tag.Account | undefined;
2859
+ }, "tag"> & Partial<Pick<{
2860
+ nonce: number;
2861
+ }, never>> & Omit<{
2862
+ nonce: number;
2863
+ }, never> & Partial<Pick<{
2864
+ balance: import("./constants").Int;
2865
+ }, never>> & Omit<{
2866
+ balance: import("./constants").Int;
2867
+ }, never> & Partial<Pick<{
2868
+ version: 2 | undefined;
2869
+ }, "version">> & Omit<{
2870
+ version: 2 | undefined;
2871
+ }, "version"> & Partial<Pick<{
2872
+ flags: import("./constants").Int;
2873
+ }, never>> & Omit<{
2874
+ flags: import("./constants").Int;
2875
+ }, never> & Partial<Pick<{
2876
+ gaContract: `ct_${string}` | `nm_${string}`;
2877
+ }, never>> & Omit<{
2878
+ gaContract: `ct_${string}` | `nm_${string}`;
2879
+ }, never> & Partial<Pick<{
2880
+ gaAuthFun: `cb_${string}`;
2881
+ }, never>> & Omit<{
2882
+ gaAuthFun: `cb_${string}`;
2883
+ }, never>) | (Partial<Pick<{
2884
+ tag: Tag.Account | undefined;
2885
+ }, "tag">> & Omit<{
2886
+ tag: Tag.Account | undefined;
2887
+ }, "tag"> & Partial<Pick<{
2888
+ nonce: number;
2889
+ }, never>> & Omit<{
2890
+ nonce: number;
2891
+ }, never> & Partial<Pick<{
2892
+ balance: import("./constants").Int;
2893
+ }, never>> & Omit<{
2894
+ balance: import("./constants").Int;
2895
+ }, never> & Partial<Pick<{
2896
+ version: 1 | undefined;
2897
+ }, "version">> & Omit<{
2898
+ version: 1 | undefined;
2899
+ }, "version">)>>;
2900
+ }[];
2901
+ }
2902
+ ],
2903
+ readonly [
2904
+ "calls",
2905
+ {
2906
+ serialize: (value: {
2907
+ readonly "__#3@#rootHash": string;
2908
+ "__#3@#isComplete": boolean;
2909
+ readonly isComplete: boolean;
2910
+ readonly "__#3@#nodes": {
2911
+ [key: string]: Buffer[];
2912
+ };
2913
+ readonly "__#3@#encoding": Encoding.Bytearray;
2914
+ readonly "__#3@#tag": Tag.ContractCall;
2915
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
2916
+ isEqual(tree: any): boolean;
2917
+ serialize(): [
2918
+ Buffer,
2919
+ [
2920
+ Buffer,
2921
+ Buffer[]
2922
+ ][]
2923
+ ];
2924
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
2925
+ get(key: `ba_${string}`): RawTxObject<Partial<Pick<{
2926
+ version: 1 | undefined;
2927
+ }, "version">> & Omit<{
2928
+ version: 1 | undefined;
2929
+ }, "version"> & Partial<Pick<{
2930
+ gasPrice: import("./constants").Int | undefined;
2931
+ }, "gasPrice">> & Omit<{
2932
+ gasPrice: import("./constants").Int | undefined;
2933
+ }, "gasPrice"> & Partial<Pick<{
2934
+ callerId: `ak_${string}`;
2935
+ }, never>> & Omit<{
2936
+ callerId: `ak_${string}`;
2937
+ }, never> & Partial<Pick<{
2938
+ tag: Tag.ContractCall | undefined;
2939
+ }, "tag">> & Omit<{
2940
+ tag: Tag.ContractCall | undefined;
2941
+ }, "tag"> & Partial<Pick<{
2942
+ callerNonce: number;
2943
+ }, never>> & Omit<{
2944
+ callerNonce: number;
2945
+ }, never> & Partial<Pick<{
2946
+ height: number;
2947
+ }, never>> & Omit<{
2948
+ height: number;
2949
+ }, never> & Partial<Pick<{
2950
+ contractId: `ct_${string}`;
2951
+ }, never>> & Omit<{
2952
+ contractId: `ct_${string}`;
2953
+ }, never> & Partial<Pick<{
2954
+ gasUsed: number;
2955
+ }, never>> & Omit<{
2956
+ gasUsed: number;
2957
+ }, never> & Partial<Pick<{
2958
+ returnValue: `cb_${string}`;
2959
+ }, never>> & Omit<{
2960
+ returnValue: `cb_${string}`;
2961
+ }, never> & Partial<Pick<{
2962
+ returnType: CallReturnType;
2963
+ }, never>> & Omit<{
2964
+ returnType: CallReturnType;
2965
+ }, never> & Partial<Pick<{
2966
+ log: Uint8Array;
2967
+ }, never>> & Omit<{
2968
+ log: Uint8Array;
2969
+ }, never>> | undefined;
2970
+ "__#3@#entriesRaw"(): [
2971
+ string,
2972
+ Buffer
2973
+ ][];
2974
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
2975
+ version: 1 | undefined;
2976
+ }, "version">> & Omit<{
2977
+ version: 1 | undefined;
2978
+ }, "version"> & Partial<Pick<{
2979
+ gasPrice: import("./constants").Int | undefined;
2980
+ }, "gasPrice">> & Omit<{
2981
+ gasPrice: import("./constants").Int | undefined;
2982
+ }, "gasPrice"> & Partial<Pick<{
2983
+ callerId: `ak_${string}`;
2984
+ }, never>> & Omit<{
2985
+ callerId: `ak_${string}`;
2986
+ }, never> & Partial<Pick<{
2987
+ tag: Tag.ContractCall | undefined;
2988
+ }, "tag">> & Omit<{
2989
+ tag: Tag.ContractCall | undefined;
2990
+ }, "tag"> & Partial<Pick<{
2991
+ callerNonce: number;
2992
+ }, never>> & Omit<{
2993
+ callerNonce: number;
2994
+ }, never> & Partial<Pick<{
2995
+ height: number;
2996
+ }, never>> & Omit<{
2997
+ height: number;
2998
+ }, never> & Partial<Pick<{
2999
+ contractId: `ct_${string}`;
3000
+ }, never>> & Omit<{
3001
+ contractId: `ct_${string}`;
3002
+ }, never> & Partial<Pick<{
3003
+ gasUsed: number;
3004
+ }, never>> & Omit<{
3005
+ gasUsed: number;
3006
+ }, never> & Partial<Pick<{
3007
+ returnValue: `cb_${string}`;
3008
+ }, never>> & Omit<{
3009
+ returnValue: `cb_${string}`;
3010
+ }, never> & Partial<Pick<{
3011
+ returnType: CallReturnType;
3012
+ }, never>> & Omit<{
3013
+ returnType: CallReturnType;
3014
+ }, never> & Partial<Pick<{
3015
+ log: Uint8Array;
3016
+ }, never>> & Omit<{
3017
+ log: Uint8Array;
3018
+ }, never>>>;
3019
+ }[], params: unknown) => [
3020
+ Buffer,
3021
+ [
3022
+ Buffer,
3023
+ Buffer[]
3024
+ ][]
3025
+ ][];
3026
+ deserialize: (value: [
3027
+ Buffer,
3028
+ [
3029
+ Buffer,
3030
+ Buffer[]
3031
+ ][]
3032
+ ][], params: unknown) => {
3033
+ readonly "__#3@#rootHash": string;
3034
+ "__#3@#isComplete": boolean;
3035
+ readonly isComplete: boolean;
3036
+ readonly "__#3@#nodes": {
3037
+ [key: string]: Buffer[];
3038
+ };
3039
+ readonly "__#3@#encoding": Encoding.Bytearray;
3040
+ readonly "__#3@#tag": Tag.ContractCall;
3041
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3042
+ isEqual(tree: any): boolean;
3043
+ serialize(): [
3044
+ Buffer,
3045
+ [
3046
+ Buffer,
3047
+ Buffer[]
3048
+ ][]
3049
+ ];
3050
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3051
+ get(key: `ba_${string}`): RawTxObject<Partial<Pick<{
3052
+ version: 1 | undefined;
3053
+ }, "version">> & Omit<{
3054
+ version: 1 | undefined;
3055
+ }, "version"> & Partial<Pick<{
3056
+ gasPrice: import("./constants").Int | undefined;
3057
+ }, "gasPrice">> & Omit<{
3058
+ gasPrice: import("./constants").Int | undefined;
3059
+ }, "gasPrice"> & Partial<Pick<{
3060
+ callerId: `ak_${string}`;
3061
+ }, never>> & Omit<{
3062
+ callerId: `ak_${string}`;
3063
+ }, never> & Partial<Pick<{
3064
+ tag: Tag.ContractCall | undefined;
3065
+ }, "tag">> & Omit<{
3066
+ tag: Tag.ContractCall | undefined;
3067
+ }, "tag"> & Partial<Pick<{
3068
+ callerNonce: number;
3069
+ }, never>> & Omit<{
3070
+ callerNonce: number;
3071
+ }, never> & Partial<Pick<{
3072
+ height: number;
3073
+ }, never>> & Omit<{
3074
+ height: number;
3075
+ }, never> & Partial<Pick<{
3076
+ contractId: `ct_${string}`;
3077
+ }, never>> & Omit<{
3078
+ contractId: `ct_${string}`;
3079
+ }, never> & Partial<Pick<{
3080
+ gasUsed: number;
3081
+ }, never>> & Omit<{
3082
+ gasUsed: number;
3083
+ }, never> & Partial<Pick<{
3084
+ returnValue: `cb_${string}`;
3085
+ }, never>> & Omit<{
3086
+ returnValue: `cb_${string}`;
3087
+ }, never> & Partial<Pick<{
3088
+ returnType: CallReturnType;
3089
+ }, never>> & Omit<{
3090
+ returnType: CallReturnType;
3091
+ }, never> & Partial<Pick<{
3092
+ log: Uint8Array;
3093
+ }, never>> & Omit<{
3094
+ log: Uint8Array;
3095
+ }, never>> | undefined;
3096
+ "__#3@#entriesRaw"(): [
3097
+ string,
3098
+ Buffer
3099
+ ][];
3100
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3101
+ version: 1 | undefined;
3102
+ }, "version">> & Omit<{
3103
+ version: 1 | undefined;
3104
+ }, "version"> & Partial<Pick<{
3105
+ gasPrice: import("./constants").Int | undefined;
3106
+ }, "gasPrice">> & Omit<{
3107
+ gasPrice: import("./constants").Int | undefined;
3108
+ }, "gasPrice"> & Partial<Pick<{
3109
+ callerId: `ak_${string}`;
3110
+ }, never>> & Omit<{
3111
+ callerId: `ak_${string}`;
3112
+ }, never> & Partial<Pick<{
3113
+ tag: Tag.ContractCall | undefined;
3114
+ }, "tag">> & Omit<{
3115
+ tag: Tag.ContractCall | undefined;
3116
+ }, "tag"> & Partial<Pick<{
3117
+ callerNonce: number;
3118
+ }, never>> & Omit<{
3119
+ callerNonce: number;
3120
+ }, never> & Partial<Pick<{
3121
+ height: number;
3122
+ }, never>> & Omit<{
3123
+ height: number;
3124
+ }, never> & Partial<Pick<{
3125
+ contractId: `ct_${string}`;
3126
+ }, never>> & Omit<{
3127
+ contractId: `ct_${string}`;
3128
+ }, never> & Partial<Pick<{
3129
+ gasUsed: number;
3130
+ }, never>> & Omit<{
3131
+ gasUsed: number;
3132
+ }, never> & Partial<Pick<{
3133
+ returnValue: `cb_${string}`;
3134
+ }, never>> & Omit<{
3135
+ returnValue: `cb_${string}`;
3136
+ }, never> & Partial<Pick<{
3137
+ returnType: CallReturnType;
3138
+ }, never>> & Omit<{
3139
+ returnType: CallReturnType;
3140
+ }, never> & Partial<Pick<{
3141
+ log: Uint8Array;
3142
+ }, never>> & Omit<{
3143
+ log: Uint8Array;
3144
+ }, never>>>;
3145
+ }[];
3146
+ }
3147
+ ],
3148
+ readonly [
3149
+ "channels",
3150
+ {
3151
+ serialize: (value: {
3152
+ readonly "__#3@#rootHash": string;
3153
+ "__#3@#isComplete": boolean;
3154
+ readonly isComplete: boolean;
3155
+ readonly "__#3@#nodes": {
3156
+ [key: string]: Buffer[];
3157
+ };
3158
+ readonly "__#3@#encoding": Encoding.Channel;
3159
+ readonly "__#3@#tag": Tag.Channel;
3160
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3161
+ isEqual(tree: any): boolean;
3162
+ serialize(): [
3163
+ Buffer,
3164
+ [
3165
+ Buffer,
3166
+ Buffer[]
3167
+ ][]
3168
+ ];
3169
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3170
+ get(key: `ch_${string}`): RawTxObject<Partial<Pick<{
3171
+ initiator: `ak_${string}`;
3172
+ }, never>> & Omit<{
3173
+ initiator: `ak_${string}`;
3174
+ }, never> & Partial<Pick<{
3175
+ initiatorAmount: import("./constants").Int;
3176
+ }, never>> & Omit<{
3177
+ initiatorAmount: import("./constants").Int;
3178
+ }, never> & Partial<Pick<{
3179
+ responder: `ak_${string}`;
3180
+ }, never>> & Omit<{
3181
+ responder: `ak_${string}`;
3182
+ }, never> & Partial<Pick<{
3183
+ responderAmount: import("./constants").Int;
3184
+ }, never>> & Omit<{
3185
+ responderAmount: import("./constants").Int;
3186
+ }, never> & Partial<Pick<{
3187
+ channelReserve: import("./constants").Int;
3188
+ }, never>> & Omit<{
3189
+ channelReserve: import("./constants").Int;
3190
+ }, never> & Partial<Pick<{
3191
+ lockPeriod: import("./constants").Int;
3192
+ }, never>> & Omit<{
3193
+ lockPeriod: import("./constants").Int;
3194
+ }, never> & Partial<Pick<{
3195
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3196
+ }, never>> & Omit<{
3197
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3198
+ }, never> & Partial<Pick<{
3199
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3200
+ }, never>> & Omit<{
3201
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3202
+ }, never> & Partial<Pick<{
3203
+ stateHash: `st_${string}`;
3204
+ }, never>> & Omit<{
3205
+ stateHash: `st_${string}`;
3206
+ }, never> & Partial<Pick<{
3207
+ round: number;
3208
+ }, never>> & Omit<{
3209
+ round: number;
3210
+ }, never> & Partial<Pick<{
3211
+ tag: Tag.Channel | undefined;
3212
+ }, "tag">> & Omit<{
3213
+ tag: Tag.Channel | undefined;
3214
+ }, "tag"> & Partial<Pick<{
3215
+ version: 3 | undefined;
3216
+ }, "version">> & Omit<{
3217
+ version: 3 | undefined;
3218
+ }, "version"> & Partial<Pick<{
3219
+ channelAmount: import("./constants").Int;
3220
+ }, never>> & Omit<{
3221
+ channelAmount: import("./constants").Int;
3222
+ }, never> & Partial<Pick<{
3223
+ soloRound: import("./constants").Int;
3224
+ }, never>> & Omit<{
3225
+ soloRound: import("./constants").Int;
3226
+ }, never> & Partial<Pick<{
3227
+ lockedUntil: import("./constants").Int;
3228
+ }, never>> & Omit<{
3229
+ lockedUntil: import("./constants").Int;
3230
+ }, never> & Partial<Pick<{
3231
+ initiatorAuth: `cb_${string}`;
3232
+ }, never>> & Omit<{
3233
+ initiatorAuth: `cb_${string}`;
3234
+ }, never> & Partial<Pick<{
3235
+ responderAuth: `cb_${string}`;
3236
+ }, never>> & Omit<{
3237
+ responderAuth: `cb_${string}`;
3238
+ }, never>> | undefined;
3239
+ "__#3@#entriesRaw"(): [
3240
+ string,
3241
+ Buffer
3242
+ ][];
3243
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3244
+ initiator: `ak_${string}`;
3245
+ }, never>> & Omit<{
3246
+ initiator: `ak_${string}`;
3247
+ }, never> & Partial<Pick<{
3248
+ initiatorAmount: import("./constants").Int;
3249
+ }, never>> & Omit<{
3250
+ initiatorAmount: import("./constants").Int;
3251
+ }, never> & Partial<Pick<{
3252
+ responder: `ak_${string}`;
3253
+ }, never>> & Omit<{
3254
+ responder: `ak_${string}`;
3255
+ }, never> & Partial<Pick<{
3256
+ responderAmount: import("./constants").Int;
3257
+ }, never>> & Omit<{
3258
+ responderAmount: import("./constants").Int;
3259
+ }, never> & Partial<Pick<{
3260
+ channelReserve: import("./constants").Int;
3261
+ }, never>> & Omit<{
3262
+ channelReserve: import("./constants").Int;
3263
+ }, never> & Partial<Pick<{
3264
+ lockPeriod: import("./constants").Int;
3265
+ }, never>> & Omit<{
3266
+ lockPeriod: import("./constants").Int;
3267
+ }, never> & Partial<Pick<{
3268
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3269
+ }, never>> & Omit<{
3270
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3271
+ }, never> & Partial<Pick<{
3272
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3273
+ }, never>> & Omit<{
3274
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3275
+ }, never> & Partial<Pick<{
3276
+ stateHash: `st_${string}`;
3277
+ }, never>> & Omit<{
3278
+ stateHash: `st_${string}`;
3279
+ }, never> & Partial<Pick<{
3280
+ round: number;
3281
+ }, never>> & Omit<{
3282
+ round: number;
3283
+ }, never> & Partial<Pick<{
3284
+ tag: Tag.Channel | undefined;
3285
+ }, "tag">> & Omit<{
3286
+ tag: Tag.Channel | undefined;
3287
+ }, "tag"> & Partial<Pick<{
3288
+ version: 3 | undefined;
3289
+ }, "version">> & Omit<{
3290
+ version: 3 | undefined;
3291
+ }, "version"> & Partial<Pick<{
3292
+ channelAmount: import("./constants").Int;
3293
+ }, never>> & Omit<{
3294
+ channelAmount: import("./constants").Int;
3295
+ }, never> & Partial<Pick<{
3296
+ soloRound: import("./constants").Int;
3297
+ }, never>> & Omit<{
3298
+ soloRound: import("./constants").Int;
3299
+ }, never> & Partial<Pick<{
3300
+ lockedUntil: import("./constants").Int;
3301
+ }, never>> & Omit<{
3302
+ lockedUntil: import("./constants").Int;
3303
+ }, never> & Partial<Pick<{
3304
+ initiatorAuth: `cb_${string}`;
3305
+ }, never>> & Omit<{
3306
+ initiatorAuth: `cb_${string}`;
3307
+ }, never> & Partial<Pick<{
3308
+ responderAuth: `cb_${string}`;
3309
+ }, never>> & Omit<{
3310
+ responderAuth: `cb_${string}`;
3311
+ }, never>>>;
3312
+ }[], params: unknown) => [
3313
+ Buffer,
3314
+ [
3315
+ Buffer,
3316
+ Buffer[]
3317
+ ][]
3318
+ ][];
3319
+ deserialize: (value: [
3320
+ Buffer,
3321
+ [
3322
+ Buffer,
3323
+ Buffer[]
3324
+ ][]
3325
+ ][], params: unknown) => {
3326
+ readonly "__#3@#rootHash": string;
3327
+ "__#3@#isComplete": boolean;
3328
+ readonly isComplete: boolean;
3329
+ readonly "__#3@#nodes": {
3330
+ [key: string]: Buffer[];
3331
+ };
3332
+ readonly "__#3@#encoding": Encoding.Channel;
3333
+ readonly "__#3@#tag": Tag.Channel;
3334
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3335
+ isEqual(tree: any): boolean;
3336
+ serialize(): [
3337
+ Buffer,
3338
+ [
3339
+ Buffer,
3340
+ Buffer[]
3341
+ ][]
3342
+ ];
3343
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3344
+ get(key: `ch_${string}`): RawTxObject<Partial<Pick<{
3345
+ initiator: `ak_${string}`;
3346
+ }, never>> & Omit<{
3347
+ initiator: `ak_${string}`;
3348
+ }, never> & Partial<Pick<{
3349
+ initiatorAmount: import("./constants").Int;
3350
+ }, never>> & Omit<{
3351
+ initiatorAmount: import("./constants").Int;
3352
+ }, never> & Partial<Pick<{
3353
+ responder: `ak_${string}`;
3354
+ }, never>> & Omit<{
3355
+ responder: `ak_${string}`;
3356
+ }, never> & Partial<Pick<{
3357
+ responderAmount: import("./constants").Int;
3358
+ }, never>> & Omit<{
3359
+ responderAmount: import("./constants").Int;
3360
+ }, never> & Partial<Pick<{
3361
+ channelReserve: import("./constants").Int;
3362
+ }, never>> & Omit<{
3363
+ channelReserve: import("./constants").Int;
3364
+ }, never> & Partial<Pick<{
3365
+ lockPeriod: import("./constants").Int;
3366
+ }, never>> & Omit<{
3367
+ lockPeriod: import("./constants").Int;
3368
+ }, never> & Partial<Pick<{
3369
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3370
+ }, never>> & Omit<{
3371
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3372
+ }, never> & Partial<Pick<{
3373
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3374
+ }, never>> & Omit<{
3375
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3376
+ }, never> & Partial<Pick<{
3377
+ stateHash: `st_${string}`;
3378
+ }, never>> & Omit<{
3379
+ stateHash: `st_${string}`;
3380
+ }, never> & Partial<Pick<{
3381
+ round: number;
3382
+ }, never>> & Omit<{
3383
+ round: number;
3384
+ }, never> & Partial<Pick<{
3385
+ tag: Tag.Channel | undefined;
3386
+ }, "tag">> & Omit<{
3387
+ tag: Tag.Channel | undefined;
3388
+ }, "tag"> & Partial<Pick<{
3389
+ version: 3 | undefined;
3390
+ }, "version">> & Omit<{
3391
+ version: 3 | undefined;
3392
+ }, "version"> & Partial<Pick<{
3393
+ channelAmount: import("./constants").Int;
3394
+ }, never>> & Omit<{
3395
+ channelAmount: import("./constants").Int;
3396
+ }, never> & Partial<Pick<{
3397
+ soloRound: import("./constants").Int;
3398
+ }, never>> & Omit<{
3399
+ soloRound: import("./constants").Int;
3400
+ }, never> & Partial<Pick<{
3401
+ lockedUntil: import("./constants").Int;
3402
+ }, never>> & Omit<{
3403
+ lockedUntil: import("./constants").Int;
3404
+ }, never> & Partial<Pick<{
3405
+ initiatorAuth: `cb_${string}`;
3406
+ }, never>> & Omit<{
3407
+ initiatorAuth: `cb_${string}`;
3408
+ }, never> & Partial<Pick<{
3409
+ responderAuth: `cb_${string}`;
3410
+ }, never>> & Omit<{
3411
+ responderAuth: `cb_${string}`;
3412
+ }, never>> | undefined;
3413
+ "__#3@#entriesRaw"(): [
3414
+ string,
3415
+ Buffer
3416
+ ][];
3417
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3418
+ initiator: `ak_${string}`;
3419
+ }, never>> & Omit<{
3420
+ initiator: `ak_${string}`;
3421
+ }, never> & Partial<Pick<{
3422
+ initiatorAmount: import("./constants").Int;
3423
+ }, never>> & Omit<{
3424
+ initiatorAmount: import("./constants").Int;
3425
+ }, never> & Partial<Pick<{
3426
+ responder: `ak_${string}`;
3427
+ }, never>> & Omit<{
3428
+ responder: `ak_${string}`;
3429
+ }, never> & Partial<Pick<{
3430
+ responderAmount: import("./constants").Int;
3431
+ }, never>> & Omit<{
3432
+ responderAmount: import("./constants").Int;
3433
+ }, never> & Partial<Pick<{
3434
+ channelReserve: import("./constants").Int;
3435
+ }, never>> & Omit<{
3436
+ channelReserve: import("./constants").Int;
3437
+ }, never> & Partial<Pick<{
3438
+ lockPeriod: import("./constants").Int;
3439
+ }, never>> & Omit<{
3440
+ lockPeriod: import("./constants").Int;
3441
+ }, never> & Partial<Pick<{
3442
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3443
+ }, never>> & Omit<{
3444
+ initiatorDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3445
+ }, never> & Partial<Pick<{
3446
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3447
+ }, never>> & Omit<{
3448
+ responderDelegateIds: (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
3449
+ }, never> & Partial<Pick<{
3450
+ stateHash: `st_${string}`;
3451
+ }, never>> & Omit<{
3452
+ stateHash: `st_${string}`;
3453
+ }, never> & Partial<Pick<{
3454
+ round: number;
3455
+ }, never>> & Omit<{
3456
+ round: number;
3457
+ }, never> & Partial<Pick<{
3458
+ tag: Tag.Channel | undefined;
3459
+ }, "tag">> & Omit<{
3460
+ tag: Tag.Channel | undefined;
3461
+ }, "tag"> & Partial<Pick<{
3462
+ version: 3 | undefined;
3463
+ }, "version">> & Omit<{
3464
+ version: 3 | undefined;
3465
+ }, "version"> & Partial<Pick<{
3466
+ channelAmount: import("./constants").Int;
3467
+ }, never>> & Omit<{
3468
+ channelAmount: import("./constants").Int;
3469
+ }, never> & Partial<Pick<{
3470
+ soloRound: import("./constants").Int;
3471
+ }, never>> & Omit<{
3472
+ soloRound: import("./constants").Int;
3473
+ }, never> & Partial<Pick<{
3474
+ lockedUntil: import("./constants").Int;
3475
+ }, never>> & Omit<{
3476
+ lockedUntil: import("./constants").Int;
3477
+ }, never> & Partial<Pick<{
3478
+ initiatorAuth: `cb_${string}`;
3479
+ }, never>> & Omit<{
3480
+ initiatorAuth: `cb_${string}`;
3481
+ }, never> & Partial<Pick<{
3482
+ responderAuth: `cb_${string}`;
3483
+ }, never>> & Omit<{
3484
+ responderAuth: `cb_${string}`;
3485
+ }, never>>>;
3486
+ }[];
3487
+ }
3488
+ ],
3489
+ readonly [
3490
+ "contracts",
3491
+ {
3492
+ serialize: (value: {
3493
+ readonly "__#3@#rootHash": string;
3494
+ "__#3@#isComplete": boolean;
3495
+ readonly isComplete: boolean;
3496
+ readonly "__#3@#nodes": {
3497
+ [key: string]: Buffer[];
3498
+ };
3499
+ readonly "__#3@#encoding": Encoding.ContractAddress;
3500
+ readonly "__#3@#tag": Tag.Contract;
3501
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3502
+ isEqual(tree: any): boolean;
3503
+ serialize(): [
3504
+ Buffer,
3505
+ [
3506
+ Buffer,
3507
+ Buffer[]
3508
+ ][]
3509
+ ];
3510
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3511
+ get(key: `ct_${string}`): RawTxObject<Partial<Pick<{
3512
+ version: 1 | undefined;
3513
+ }, "version">> & Omit<{
3514
+ version: 1 | undefined;
3515
+ }, "version"> & Partial<Pick<{
3516
+ tag: Tag.Contract | undefined;
3517
+ }, "tag">> & Omit<{
3518
+ tag: Tag.Contract | undefined;
3519
+ }, "tag"> & Partial<Pick<{
3520
+ owner: `ak_${string}`;
3521
+ }, never>> & Omit<{
3522
+ owner: `ak_${string}`;
3523
+ }, never> & Partial<Pick<{
3524
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3525
+ }, "ctVersion">> & Omit<{
3526
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3527
+ }, "ctVersion"> & Partial<Pick<{
3528
+ code: `cb_${string}`;
3529
+ }, never>> & Omit<{
3530
+ code: `cb_${string}`;
3531
+ }, never> & Partial<Pick<{
3532
+ log: `cb_${string}`;
3533
+ }, never>> & Omit<{
3534
+ log: `cb_${string}`;
3535
+ }, never> & Partial<Pick<{
3536
+ active: boolean;
3537
+ }, never>> & Omit<{
3538
+ active: boolean;
3539
+ }, never> & Partial<Pick<{
3540
+ referers: `ak_${string}`[];
3541
+ }, never>> & Omit<{
3542
+ referers: `ak_${string}`[];
3543
+ }, never> & Partial<Pick<{
3544
+ deposit: import("./constants").Int | undefined;
3545
+ }, "deposit">> & Omit<{
3546
+ deposit: import("./constants").Int | undefined;
3547
+ }, "deposit">> | undefined;
3548
+ "__#3@#entriesRaw"(): [
3549
+ string,
3550
+ Buffer
3551
+ ][];
3552
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3553
+ version: 1 | undefined;
3554
+ }, "version">> & Omit<{
3555
+ version: 1 | undefined;
3556
+ }, "version"> & Partial<Pick<{
3557
+ tag: Tag.Contract | undefined;
3558
+ }, "tag">> & Omit<{
3559
+ tag: Tag.Contract | undefined;
3560
+ }, "tag"> & Partial<Pick<{
3561
+ owner: `ak_${string}`;
3562
+ }, never>> & Omit<{
3563
+ owner: `ak_${string}`;
3564
+ }, never> & Partial<Pick<{
3565
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3566
+ }, "ctVersion">> & Omit<{
3567
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3568
+ }, "ctVersion"> & Partial<Pick<{
3569
+ code: `cb_${string}`;
3570
+ }, never>> & Omit<{
3571
+ code: `cb_${string}`;
3572
+ }, never> & Partial<Pick<{
3573
+ log: `cb_${string}`;
3574
+ }, never>> & Omit<{
3575
+ log: `cb_${string}`;
3576
+ }, never> & Partial<Pick<{
3577
+ active: boolean;
3578
+ }, never>> & Omit<{
3579
+ active: boolean;
3580
+ }, never> & Partial<Pick<{
3581
+ referers: `ak_${string}`[];
3582
+ }, never>> & Omit<{
3583
+ referers: `ak_${string}`[];
3584
+ }, never> & Partial<Pick<{
3585
+ deposit: import("./constants").Int | undefined;
3586
+ }, "deposit">> & Omit<{
3587
+ deposit: import("./constants").Int | undefined;
3588
+ }, "deposit">>>;
3589
+ }[], params: unknown) => [
3590
+ Buffer,
3591
+ [
3592
+ Buffer,
3593
+ Buffer[]
3594
+ ][]
3595
+ ][];
3596
+ deserialize: (value: [
3597
+ Buffer,
3598
+ [
3599
+ Buffer,
3600
+ Buffer[]
3601
+ ][]
3602
+ ][], params: unknown) => {
3603
+ readonly "__#3@#rootHash": string;
3604
+ "__#3@#isComplete": boolean;
3605
+ readonly isComplete: boolean;
3606
+ readonly "__#3@#nodes": {
3607
+ [key: string]: Buffer[];
3608
+ };
3609
+ readonly "__#3@#encoding": Encoding.ContractAddress;
3610
+ readonly "__#3@#tag": Tag.Contract;
3611
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3612
+ isEqual(tree: any): boolean;
3613
+ serialize(): [
3614
+ Buffer,
3615
+ [
3616
+ Buffer,
3617
+ Buffer[]
3618
+ ][]
3619
+ ];
3620
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3621
+ get(key: `ct_${string}`): RawTxObject<Partial<Pick<{
3622
+ version: 1 | undefined;
3623
+ }, "version">> & Omit<{
3624
+ version: 1 | undefined;
3625
+ }, "version"> & Partial<Pick<{
3626
+ tag: Tag.Contract | undefined;
3627
+ }, "tag">> & Omit<{
3628
+ tag: Tag.Contract | undefined;
3629
+ }, "tag"> & Partial<Pick<{
3630
+ owner: `ak_${string}`;
3631
+ }, never>> & Omit<{
3632
+ owner: `ak_${string}`;
3633
+ }, never> & Partial<Pick<{
3634
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3635
+ }, "ctVersion">> & Omit<{
3636
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3637
+ }, "ctVersion"> & Partial<Pick<{
3638
+ code: `cb_${string}`;
3639
+ }, never>> & Omit<{
3640
+ code: `cb_${string}`;
3641
+ }, never> & Partial<Pick<{
3642
+ log: `cb_${string}`;
3643
+ }, never>> & Omit<{
3644
+ log: `cb_${string}`;
3645
+ }, never> & Partial<Pick<{
3646
+ active: boolean;
3647
+ }, never>> & Omit<{
3648
+ active: boolean;
3649
+ }, never> & Partial<Pick<{
3650
+ referers: `ak_${string}`[];
3651
+ }, never>> & Omit<{
3652
+ referers: `ak_${string}`[];
3653
+ }, never> & Partial<Pick<{
3654
+ deposit: import("./constants").Int | undefined;
3655
+ }, "deposit">> & Omit<{
3656
+ deposit: import("./constants").Int | undefined;
3657
+ }, "deposit">> | undefined;
3658
+ "__#3@#entriesRaw"(): [
3659
+ string,
3660
+ Buffer
3661
+ ][];
3662
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3663
+ version: 1 | undefined;
3664
+ }, "version">> & Omit<{
3665
+ version: 1 | undefined;
3666
+ }, "version"> & Partial<Pick<{
3667
+ tag: Tag.Contract | undefined;
3668
+ }, "tag">> & Omit<{
3669
+ tag: Tag.Contract | undefined;
3670
+ }, "tag"> & Partial<Pick<{
3671
+ owner: `ak_${string}`;
3672
+ }, never>> & Omit<{
3673
+ owner: `ak_${string}`;
3674
+ }, never> & Partial<Pick<{
3675
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3676
+ }, "ctVersion">> & Omit<{
3677
+ ctVersion: import("./field-types/ct-version").CtVersion | undefined;
3678
+ }, "ctVersion"> & Partial<Pick<{
3679
+ code: `cb_${string}`;
3680
+ }, never>> & Omit<{
3681
+ code: `cb_${string}`;
3682
+ }, never> & Partial<Pick<{
3683
+ log: `cb_${string}`;
3684
+ }, never>> & Omit<{
3685
+ log: `cb_${string}`;
3686
+ }, never> & Partial<Pick<{
3687
+ active: boolean;
3688
+ }, never>> & Omit<{
3689
+ active: boolean;
3690
+ }, never> & Partial<Pick<{
3691
+ referers: `ak_${string}`[];
3692
+ }, never>> & Omit<{
3693
+ referers: `ak_${string}`[];
3694
+ }, never> & Partial<Pick<{
3695
+ deposit: import("./constants").Int | undefined;
3696
+ }, "deposit">> & Omit<{
3697
+ deposit: import("./constants").Int | undefined;
3698
+ }, "deposit">>>;
3699
+ }[];
3700
+ }
3701
+ ],
3702
+ readonly [
3703
+ "ns",
3704
+ {
3705
+ serialize: (value: {
3706
+ readonly "__#3@#rootHash": string;
3707
+ "__#3@#isComplete": boolean;
3708
+ readonly isComplete: boolean;
3709
+ readonly "__#3@#nodes": {
3710
+ [key: string]: Buffer[];
3711
+ };
3712
+ readonly "__#3@#encoding": Encoding.Name;
3713
+ readonly "__#3@#tag": Tag.Name;
3714
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3715
+ isEqual(tree: any): boolean;
3716
+ serialize(): [
3717
+ Buffer,
3718
+ [
3719
+ Buffer,
3720
+ Buffer[]
3721
+ ][]
3722
+ ];
3723
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3724
+ get(key: `nm_${string}`): RawTxObject<Partial<Pick<{
3725
+ version: 1 | undefined;
3726
+ }, "version">> & Omit<{
3727
+ version: 1 | undefined;
3728
+ }, "version"> & Partial<Pick<{
3729
+ accountId: `ak_${string}`;
3730
+ }, never>> & Omit<{
3731
+ accountId: `ak_${string}`;
3732
+ }, never> & Partial<Pick<{
3733
+ tag: Tag.Name | undefined;
3734
+ }, "tag">> & Omit<{
3735
+ tag: Tag.Name | undefined;
3736
+ }, "tag"> & Partial<Pick<{
3737
+ nameTtl: number;
3738
+ }, never>> & Omit<{
3739
+ nameTtl: number;
3740
+ }, never> & Partial<Pick<{
3741
+ status: Uint8Array;
3742
+ }, never>> & Omit<{
3743
+ status: Uint8Array;
3744
+ }, never> & Partial<Pick<{
3745
+ clientTtl: number;
3746
+ }, never>> & Omit<{
3747
+ clientTtl: number;
3748
+ }, never> & Partial<Pick<{
3749
+ pointers: (import("../../apis/node").NamePointer & {
3750
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3751
+ })[];
3752
+ }, never>> & Omit<{
3753
+ pointers: (import("../../apis/node").NamePointer & {
3754
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3755
+ })[];
3756
+ }, never>> | undefined;
3757
+ "__#3@#entriesRaw"(): [
3758
+ string,
3759
+ Buffer
3760
+ ][];
3761
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3762
+ version: 1 | undefined;
3763
+ }, "version">> & Omit<{
3764
+ version: 1 | undefined;
3765
+ }, "version"> & Partial<Pick<{
3766
+ accountId: `ak_${string}`;
3767
+ }, never>> & Omit<{
3768
+ accountId: `ak_${string}`;
3769
+ }, never> & Partial<Pick<{
3770
+ tag: Tag.Name | undefined;
3771
+ }, "tag">> & Omit<{
3772
+ tag: Tag.Name | undefined;
3773
+ }, "tag"> & Partial<Pick<{
3774
+ nameTtl: number;
3775
+ }, never>> & Omit<{
3776
+ nameTtl: number;
3777
+ }, never> & Partial<Pick<{
3778
+ status: Uint8Array;
3779
+ }, never>> & Omit<{
3780
+ status: Uint8Array;
3781
+ }, never> & Partial<Pick<{
3782
+ clientTtl: number;
3783
+ }, never>> & Omit<{
3784
+ clientTtl: number;
3785
+ }, never> & Partial<Pick<{
3786
+ pointers: (import("../../apis/node").NamePointer & {
3787
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3788
+ })[];
3789
+ }, never>> & Omit<{
3790
+ pointers: (import("../../apis/node").NamePointer & {
3791
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3792
+ })[];
3793
+ }, never>>>;
3794
+ }[], params: unknown) => [
3795
+ Buffer,
3796
+ [
3797
+ Buffer,
3798
+ Buffer[]
3799
+ ][]
3800
+ ][];
3801
+ deserialize: (value: [
3802
+ Buffer,
3803
+ [
3804
+ Buffer,
3805
+ Buffer[]
3806
+ ][]
3807
+ ][], params: unknown) => {
3808
+ readonly "__#3@#rootHash": string;
3809
+ "__#3@#isComplete": boolean;
3810
+ readonly isComplete: boolean;
3811
+ readonly "__#3@#nodes": {
3812
+ [key: string]: Buffer[];
3813
+ };
3814
+ readonly "__#3@#encoding": Encoding.Name;
3815
+ readonly "__#3@#tag": Tag.Name;
3816
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3817
+ isEqual(tree: any): boolean;
3818
+ serialize(): [
3819
+ Buffer,
3820
+ [
3821
+ Buffer,
3822
+ Buffer[]
3823
+ ][]
3824
+ ];
3825
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3826
+ get(key: `nm_${string}`): RawTxObject<Partial<Pick<{
3827
+ version: 1 | undefined;
3828
+ }, "version">> & Omit<{
3829
+ version: 1 | undefined;
3830
+ }, "version"> & Partial<Pick<{
3831
+ accountId: `ak_${string}`;
3832
+ }, never>> & Omit<{
3833
+ accountId: `ak_${string}`;
3834
+ }, never> & Partial<Pick<{
3835
+ tag: Tag.Name | undefined;
3836
+ }, "tag">> & Omit<{
3837
+ tag: Tag.Name | undefined;
3838
+ }, "tag"> & Partial<Pick<{
3839
+ nameTtl: number;
3840
+ }, never>> & Omit<{
3841
+ nameTtl: number;
3842
+ }, never> & Partial<Pick<{
3843
+ status: Uint8Array;
3844
+ }, never>> & Omit<{
3845
+ status: Uint8Array;
3846
+ }, never> & Partial<Pick<{
3847
+ clientTtl: number;
3848
+ }, never>> & Omit<{
3849
+ clientTtl: number;
3850
+ }, never> & Partial<Pick<{
3851
+ pointers: (import("../../apis/node").NamePointer & {
3852
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3853
+ })[];
3854
+ }, never>> & Omit<{
3855
+ pointers: (import("../../apis/node").NamePointer & {
3856
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3857
+ })[];
3858
+ }, never>> | undefined;
3859
+ "__#3@#entriesRaw"(): [
3860
+ string,
3861
+ Buffer
3862
+ ][];
3863
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3864
+ version: 1 | undefined;
3865
+ }, "version">> & Omit<{
3866
+ version: 1 | undefined;
3867
+ }, "version"> & Partial<Pick<{
3868
+ accountId: `ak_${string}`;
3869
+ }, never>> & Omit<{
3870
+ accountId: `ak_${string}`;
3871
+ }, never> & Partial<Pick<{
3872
+ tag: Tag.Name | undefined;
3873
+ }, "tag">> & Omit<{
3874
+ tag: Tag.Name | undefined;
3875
+ }, "tag"> & Partial<Pick<{
3876
+ nameTtl: number;
3877
+ }, never>> & Omit<{
3878
+ nameTtl: number;
3879
+ }, never> & Partial<Pick<{
3880
+ status: Uint8Array;
3881
+ }, never>> & Omit<{
3882
+ status: Uint8Array;
3883
+ }, never> & Partial<Pick<{
3884
+ clientTtl: number;
3885
+ }, never>> & Omit<{
3886
+ clientTtl: number;
3887
+ }, never> & Partial<Pick<{
3888
+ pointers: (import("../../apis/node").NamePointer & {
3889
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3890
+ })[];
3891
+ }, never>> & Omit<{
3892
+ pointers: (import("../../apis/node").NamePointer & {
3893
+ id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
3894
+ })[];
3895
+ }, never>>>;
3896
+ }[];
3897
+ }
3898
+ ],
3899
+ readonly [
3900
+ "oracles",
3901
+ {
3902
+ serialize: (value: {
3903
+ readonly "__#3@#rootHash": string;
3904
+ "__#3@#isComplete": boolean;
3905
+ readonly isComplete: boolean;
3906
+ readonly "__#3@#nodes": {
3907
+ [key: string]: Buffer[];
3908
+ };
3909
+ readonly "__#3@#encoding": Encoding.OracleAddress;
3910
+ readonly "__#3@#tag": Tag.Oracle;
3911
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
3912
+ isEqual(tree: any): boolean;
3913
+ serialize(): [
3914
+ Buffer,
3915
+ [
3916
+ Buffer,
3917
+ Buffer[]
3918
+ ][]
3919
+ ];
3920
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
3921
+ get(key: `ok_${string}`): RawTxObject<Partial<Pick<{
3922
+ version: 1 | undefined;
3923
+ }, "version">> & Omit<{
3924
+ version: 1 | undefined;
3925
+ }, "version"> & Partial<Pick<{
3926
+ accountId: `ak_${string}`;
3927
+ }, never>> & Omit<{
3928
+ accountId: `ak_${string}`;
3929
+ }, never> & Partial<Pick<{
3930
+ abiVersion: import("./constants").AbiVersion | undefined;
3931
+ }, "abiVersion">> & Omit<{
3932
+ abiVersion: import("./constants").AbiVersion | undefined;
3933
+ }, "abiVersion"> & Partial<Pick<{
3934
+ tag: Tag.Oracle | undefined;
3935
+ }, "tag">> & Omit<{
3936
+ tag: Tag.Oracle | undefined;
3937
+ }, "tag"> & Partial<Pick<{
3938
+ queryFormat: string;
3939
+ }, never>> & Omit<{
3940
+ queryFormat: string;
3941
+ }, never> & Partial<Pick<{
3942
+ responseFormat: string;
3943
+ }, never>> & Omit<{
3944
+ responseFormat: string;
3945
+ }, never> & Partial<Pick<{
3946
+ queryFee: import("./constants").Int | undefined;
3947
+ }, "queryFee">> & Omit<{
3948
+ queryFee: import("./constants").Int | undefined;
3949
+ }, "queryFee"> & Partial<Pick<{
3950
+ oracleTtlValue: number;
3951
+ }, never>> & Omit<{
3952
+ oracleTtlValue: number;
3953
+ }, never>> | undefined;
3954
+ "__#3@#entriesRaw"(): [
3955
+ string,
3956
+ Buffer
3957
+ ][];
3958
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
3959
+ version: 1 | undefined;
3960
+ }, "version">> & Omit<{
3961
+ version: 1 | undefined;
3962
+ }, "version"> & Partial<Pick<{
3963
+ accountId: `ak_${string}`;
3964
+ }, never>> & Omit<{
3965
+ accountId: `ak_${string}`;
3966
+ }, never> & Partial<Pick<{
3967
+ abiVersion: import("./constants").AbiVersion | undefined;
3968
+ }, "abiVersion">> & Omit<{
3969
+ abiVersion: import("./constants").AbiVersion | undefined;
3970
+ }, "abiVersion"> & Partial<Pick<{
3971
+ tag: Tag.Oracle | undefined;
3972
+ }, "tag">> & Omit<{
3973
+ tag: Tag.Oracle | undefined;
3974
+ }, "tag"> & Partial<Pick<{
3975
+ queryFormat: string;
3976
+ }, never>> & Omit<{
3977
+ queryFormat: string;
3978
+ }, never> & Partial<Pick<{
3979
+ responseFormat: string;
3980
+ }, never>> & Omit<{
3981
+ responseFormat: string;
3982
+ }, never> & Partial<Pick<{
3983
+ queryFee: import("./constants").Int | undefined;
3984
+ }, "queryFee">> & Omit<{
3985
+ queryFee: import("./constants").Int | undefined;
3986
+ }, "queryFee"> & Partial<Pick<{
3987
+ oracleTtlValue: number;
3988
+ }, never>> & Omit<{
3989
+ oracleTtlValue: number;
3990
+ }, never>>>;
3991
+ }[], params: unknown) => [
3992
+ Buffer,
3993
+ [
3994
+ Buffer,
3995
+ Buffer[]
3996
+ ][]
3997
+ ][];
3998
+ deserialize: (value: [
3999
+ Buffer,
4000
+ [
4001
+ Buffer,
4002
+ Buffer[]
4003
+ ][]
4004
+ ][], params: unknown) => {
4005
+ readonly "__#3@#rootHash": string;
4006
+ "__#3@#isComplete": boolean;
4007
+ readonly isComplete: boolean;
4008
+ readonly "__#3@#nodes": {
4009
+ [key: string]: Buffer[];
4010
+ };
4011
+ readonly "__#3@#encoding": Encoding.OracleAddress;
4012
+ readonly "__#3@#tag": Tag.Oracle;
4013
+ readonly "__#3@#unpackTx": typeof import(".").unpackTx;
4014
+ isEqual(tree: any): boolean;
4015
+ serialize(): [
4016
+ Buffer,
4017
+ [
4018
+ Buffer,
4019
+ Buffer[]
4020
+ ][]
4021
+ ];
4022
+ "__#3@#getRaw"(_key: string): Buffer | undefined;
4023
+ get(key: `ok_${string}`): RawTxObject<Partial<Pick<{
4024
+ version: 1 | undefined;
4025
+ }, "version">> & Omit<{
4026
+ version: 1 | undefined;
4027
+ }, "version"> & Partial<Pick<{
4028
+ accountId: `ak_${string}`;
4029
+ }, never>> & Omit<{
4030
+ accountId: `ak_${string}`;
4031
+ }, never> & Partial<Pick<{
4032
+ abiVersion: import("./constants").AbiVersion | undefined;
4033
+ }, "abiVersion">> & Omit<{
4034
+ abiVersion: import("./constants").AbiVersion | undefined;
4035
+ }, "abiVersion"> & Partial<Pick<{
4036
+ tag: Tag.Oracle | undefined;
4037
+ }, "tag">> & Omit<{
4038
+ tag: Tag.Oracle | undefined;
4039
+ }, "tag"> & Partial<Pick<{
4040
+ queryFormat: string;
4041
+ }, never>> & Omit<{
4042
+ queryFormat: string;
4043
+ }, never> & Partial<Pick<{
4044
+ responseFormat: string;
4045
+ }, never>> & Omit<{
4046
+ responseFormat: string;
4047
+ }, never> & Partial<Pick<{
4048
+ queryFee: import("./constants").Int | undefined;
4049
+ }, "queryFee">> & Omit<{
4050
+ queryFee: import("./constants").Int | undefined;
4051
+ }, "queryFee"> & Partial<Pick<{
4052
+ oracleTtlValue: number;
4053
+ }, never>> & Omit<{
4054
+ oracleTtlValue: number;
4055
+ }, never>> | undefined;
4056
+ "__#3@#entriesRaw"(): [
4057
+ string,
4058
+ Buffer
4059
+ ][];
4060
+ toObject(): Record<`kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`, RawTxObject<Partial<Pick<{
4061
+ version: 1 | undefined;
4062
+ }, "version">> & Omit<{
4063
+ version: 1 | undefined;
4064
+ }, "version"> & Partial<Pick<{
4065
+ accountId: `ak_${string}`;
4066
+ }, never>> & Omit<{
4067
+ accountId: `ak_${string}`;
4068
+ }, never> & Partial<Pick<{
4069
+ abiVersion: import("./constants").AbiVersion | undefined;
4070
+ }, "abiVersion">> & Omit<{
4071
+ abiVersion: import("./constants").AbiVersion | undefined;
4072
+ }, "abiVersion"> & Partial<Pick<{
4073
+ tag: Tag.Oracle | undefined;
4074
+ }, "tag">> & Omit<{
4075
+ tag: Tag.Oracle | undefined;
4076
+ }, "tag"> & Partial<Pick<{
4077
+ queryFormat: string;
4078
+ }, never>> & Omit<{
4079
+ queryFormat: string;
4080
+ }, never> & Partial<Pick<{
4081
+ responseFormat: string;
4082
+ }, never>> & Omit<{
4083
+ responseFormat: string;
4084
+ }, never> & Partial<Pick<{
4085
+ queryFee: import("./constants").Int | undefined;
4086
+ }, "queryFee">> & Omit<{
4087
+ queryFee: import("./constants").Int | undefined;
4088
+ }, "queryFee"> & Partial<Pick<{
4089
+ oracleTtlValue: number;
4090
+ }, never>> & Omit<{
4091
+ oracleTtlValue: number;
4092
+ }, never>>>;
4093
+ }[];
4094
+ }
4095
+ ]
4096
+ ];
4097
+ };
4098
+ readonly 62: {
4099
+ readonly 1: readonly [
4100
+ readonly [
4101
+ "tag",
4102
+ {
4103
+ serialize: (value?: Tag.StateTrees | undefined) => Buffer;
4104
+ deserialize: (value: Buffer) => Tag.StateTrees;
4105
+ }
4106
+ ],
4107
+ readonly [
4108
+ "version",
4109
+ {
4110
+ serialize: (value?: 1 | undefined) => Buffer;
4111
+ deserialize: (value: Buffer) => 1;
4112
+ }
4113
+ ],
4114
+ readonly [
4115
+ "contracts",
4116
+ {
4117
+ serialize: (value: any, options: {
4118
+ buildTx: typeof import(".").buildTx;
4119
+ }) => Buffer;
4120
+ deserialize: (value: Buffer, options: {
4121
+ unpackTx: typeof import(".").unpackTx;
4122
+ }) => any;
4123
+ }
4124
+ ],
4125
+ readonly [
4126
+ "calls",
4127
+ {
4128
+ serialize: (value: any, options: {
4129
+ buildTx: typeof import(".").buildTx;
4130
+ }) => Buffer;
4131
+ deserialize: (value: Buffer, options: {
4132
+ unpackTx: typeof import(".").unpackTx;
4133
+ }) => any;
4134
+ }
4135
+ ],
4136
+ readonly [
4137
+ "channels",
4138
+ {
4139
+ serialize: (value: any, options: {
4140
+ buildTx: typeof import(".").buildTx;
4141
+ }) => Buffer;
4142
+ deserialize: (value: Buffer, options: {
4143
+ unpackTx: typeof import(".").unpackTx;
4144
+ }) => any;
4145
+ }
4146
+ ],
4147
+ readonly [
4148
+ "ns",
4149
+ {
4150
+ serialize: (value: any, options: {
4151
+ buildTx: typeof import(".").buildTx;
4152
+ }) => Buffer;
4153
+ deserialize: (value: Buffer, options: {
4154
+ unpackTx: typeof import(".").unpackTx;
4155
+ }) => any;
4156
+ }
4157
+ ],
4158
+ readonly [
4159
+ "oracles",
4160
+ {
4161
+ serialize: (value: any, options: {
4162
+ buildTx: typeof import(".").buildTx;
4163
+ }) => Buffer;
4164
+ deserialize: (value: Buffer, options: {
4165
+ unpackTx: typeof import(".").unpackTx;
4166
+ }) => any;
4167
+ }
4168
+ ],
4169
+ readonly [
4170
+ "accounts",
4171
+ {
4172
+ serialize: (value: any, options: {
4173
+ buildTx: typeof import(".").buildTx;
4174
+ }) => Buffer;
4175
+ deserialize: (value: Buffer, options: {
4176
+ unpackTx: typeof import(".").unpackTx;
4177
+ }) => any;
4178
+ }
4179
+ ]
4180
+ ];
4181
+ };
4182
+ readonly 63: {
4183
+ readonly 1: readonly [
4184
+ readonly [
4185
+ "tag",
4186
+ {
4187
+ serialize: (value?: Tag.Mtree | undefined) => Buffer;
4188
+ deserialize: (value: Buffer) => Tag.Mtree;
4189
+ }
4190
+ ],
4191
+ readonly [
4192
+ "version",
4193
+ {
4194
+ serialize: (value?: 1 | undefined) => Buffer;
4195
+ deserialize: (value: Buffer) => 1;
4196
+ }
4197
+ ],
4198
+ readonly [
4199
+ "values",
4200
+ {
4201
+ serialize: (value: any[], params: unknown) => Buffer[];
4202
+ deserialize: (value: Buffer[], params: unknown) => any[];
4203
+ }
4204
+ ]
4205
+ ];
4206
+ };
4207
+ readonly 64: {
4208
+ readonly 1: readonly [
4209
+ readonly [
4210
+ "tag",
4211
+ {
4212
+ serialize: (value?: Tag.MtreeValue | undefined) => Buffer;
4213
+ deserialize: (value: Buffer) => Tag.MtreeValue;
4214
+ }
4215
+ ],
4216
+ readonly [
4217
+ "version",
4218
+ {
4219
+ serialize: (value?: 1 | undefined) => Buffer;
4220
+ deserialize: (value: Buffer) => 1;
4221
+ }
4222
+ ],
4223
+ readonly [
4224
+ "key",
4225
+ {
4226
+ serialize(buffer: Uint8Array): Buffer;
4227
+ deserialize(buffer: Buffer): Buffer;
4228
+ }
4229
+ ],
4230
+ readonly [
4231
+ "value",
4232
+ {
4233
+ serialize(buffer: Uint8Array): Buffer;
4234
+ deserialize(buffer: Buffer): Buffer;
4235
+ }
4236
+ ]
4237
+ ];
4238
+ };
4239
+ readonly 621: {
4240
+ readonly 1: readonly [
4241
+ readonly [
4242
+ "tag",
4243
+ {
4244
+ serialize: (value?: Tag.ContractsMtree | undefined) => Buffer;
4245
+ deserialize: (value: Buffer) => Tag.ContractsMtree;
4246
+ }
4247
+ ],
4248
+ readonly [
4249
+ "version",
4250
+ {
4251
+ serialize: (value?: 1 | undefined) => Buffer;
4252
+ deserialize: (value: Buffer) => 1;
4253
+ }
4254
+ ],
4255
+ readonly [
4256
+ "contracts",
4257
+ {
4258
+ serialize: (value: any, options: {
4259
+ buildTx: typeof import(".").buildTx;
4260
+ }) => Buffer;
4261
+ deserialize: (value: Buffer, options: {
4262
+ unpackTx: typeof import(".").unpackTx;
4263
+ }) => any;
4264
+ }
4265
+ ]
4266
+ ];
4267
+ };
4268
+ readonly 622: {
4269
+ readonly 1: readonly [
4270
+ readonly [
4271
+ "tag",
4272
+ {
4273
+ serialize: (value?: Tag.CallsMtree | undefined) => Buffer;
4274
+ deserialize: (value: Buffer) => Tag.CallsMtree;
4275
+ }
4276
+ ],
4277
+ readonly [
4278
+ "version",
4279
+ {
4280
+ serialize: (value?: 1 | undefined) => Buffer;
4281
+ deserialize: (value: Buffer) => 1;
4282
+ }
4283
+ ],
4284
+ readonly [
4285
+ "calls",
4286
+ {
4287
+ serialize: (value: any, options: {
4288
+ buildTx: typeof import(".").buildTx;
4289
+ }) => Buffer;
4290
+ deserialize: (value: Buffer, options: {
4291
+ unpackTx: typeof import(".").unpackTx;
4292
+ }) => any;
4293
+ }
4294
+ ]
4295
+ ];
4296
+ };
4297
+ readonly 623: {
4298
+ readonly 1: readonly [
4299
+ readonly [
4300
+ "tag",
4301
+ {
4302
+ serialize: (value?: Tag.ChannelsMtree | undefined) => Buffer;
4303
+ deserialize: (value: Buffer) => Tag.ChannelsMtree;
4304
+ }
4305
+ ],
4306
+ readonly [
4307
+ "version",
4308
+ {
4309
+ serialize: (value?: 1 | undefined) => Buffer;
4310
+ deserialize: (value: Buffer) => 1;
4311
+ }
4312
+ ],
4313
+ readonly [
4314
+ "channels",
4315
+ {
4316
+ serialize: (value: any, options: {
4317
+ buildTx: typeof import(".").buildTx;
4318
+ }) => Buffer;
4319
+ deserialize: (value: Buffer, options: {
4320
+ unpackTx: typeof import(".").unpackTx;
4321
+ }) => any;
4322
+ }
4323
+ ]
4324
+ ];
4325
+ };
4326
+ readonly 624: {
4327
+ readonly 1: readonly [
4328
+ readonly [
4329
+ "tag",
4330
+ {
4331
+ serialize: (value?: Tag.NameserviceMtree | undefined) => Buffer;
4332
+ deserialize: (value: Buffer) => Tag.NameserviceMtree;
4333
+ }
4334
+ ],
4335
+ readonly [
4336
+ "version",
4337
+ {
4338
+ serialize: (value?: 1 | undefined) => Buffer;
4339
+ deserialize: (value: Buffer) => 1;
4340
+ }
4341
+ ],
4342
+ readonly [
4343
+ "mtree",
4344
+ {
4345
+ serialize: (value: any, options: {
4346
+ buildTx: typeof import(".").buildTx;
4347
+ }) => Buffer;
4348
+ deserialize: (value: Buffer, options: {
4349
+ unpackTx: typeof import(".").unpackTx;
4350
+ }) => any;
4351
+ }
4352
+ ]
4353
+ ];
4354
+ };
4355
+ readonly 625: {
4356
+ readonly 1: readonly [
4357
+ readonly [
4358
+ "tag",
4359
+ {
4360
+ serialize: (value?: Tag.OraclesMtree | undefined) => Buffer;
4361
+ deserialize: (value: Buffer) => Tag.OraclesMtree;
4362
+ }
4363
+ ],
4364
+ readonly [
4365
+ "version",
4366
+ {
4367
+ serialize: (value?: 1 | undefined) => Buffer;
4368
+ deserialize: (value: Buffer) => 1;
4369
+ }
4370
+ ],
4371
+ readonly [
4372
+ "otree",
4373
+ {
4374
+ serialize: (value: any, options: {
4375
+ buildTx: typeof import(".").buildTx;
4376
+ }) => Buffer;
4377
+ deserialize: (value: Buffer, options: {
4378
+ unpackTx: typeof import(".").unpackTx;
4379
+ }) => any;
4380
+ }
4381
+ ]
4382
+ ];
4383
+ };
4384
+ readonly 626: {
4385
+ readonly 1: readonly [
4386
+ readonly [
4387
+ "tag",
4388
+ {
4389
+ serialize: (value?: Tag.AccountsMtree | undefined) => Buffer;
4390
+ deserialize: (value: Buffer) => Tag.AccountsMtree;
4391
+ }
4392
+ ],
4393
+ readonly [
4394
+ "version",
4395
+ {
4396
+ serialize: (value?: 1 | undefined) => Buffer;
4397
+ deserialize: (value: Buffer) => 1;
4398
+ }
4399
+ ],
4400
+ readonly [
4401
+ "accounts",
4402
+ {
4403
+ serialize: (value: any, options: {
4404
+ buildTx: typeof import(".").buildTx;
4405
+ }) => Buffer;
4406
+ deserialize: (value: Buffer, options: {
4407
+ unpackTx: typeof import(".").unpackTx;
4408
+ }) => any;
4409
+ }
4410
+ ]
4411
+ ];
4412
+ };
4413
+ readonly 80: {
4414
+ readonly 1: readonly [
4415
+ readonly [
4416
+ "tag",
4417
+ {
4418
+ serialize: (value?: Tag.GaAttachTx | undefined) => Buffer;
4419
+ deserialize: (value: Buffer) => Tag.GaAttachTx;
4420
+ }
4421
+ ],
4422
+ readonly [
4423
+ "version",
4424
+ {
4425
+ serialize: (value?: 1 | undefined) => Buffer;
4426
+ deserialize: (value: Buffer) => 1;
4427
+ }
4428
+ ],
4429
+ readonly [
4430
+ "ownerId",
4431
+ {
4432
+ serialize: (value: `ak_${string}`) => Buffer;
4433
+ deserialize: (value: Buffer) => `ak_${string}`;
4434
+ }
4435
+ ],
4436
+ readonly [
4437
+ "nonce",
4438
+ {
4439
+ serialize(value: number): Buffer;
4440
+ deserialize(value: Buffer): number;
4441
+ }
4442
+ ],
4443
+ readonly [
4444
+ "code",
4445
+ {
4446
+ serialize: (value: `cb_${string}`) => Buffer;
4447
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
4448
+ }
4449
+ ],
4450
+ readonly [
4451
+ "authFun",
4452
+ {
4453
+ serialize(buffer: Uint8Array): Buffer;
4454
+ deserialize(buffer: Buffer): Buffer;
4455
+ }
4456
+ ],
4457
+ readonly [
4458
+ "ctVersion",
4459
+ {
4460
+ serialize(value: import("./field-types/ct-version").CtVersion | undefined, { consensusProtocolVersion }: {
4461
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
4462
+ }): Buffer;
4463
+ deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
4464
+ }
4465
+ ],
4466
+ readonly [
4467
+ "fee",
4468
+ {
4469
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
4470
+ rebuildTx: (params: any) => `tx_${string}`;
4471
+ unpackTx: typeof import(".").unpackTx;
4472
+ buildTx: typeof import(".").buildTx;
4473
+ _computingMinFee?: BigNumber | undefined;
4474
+ _pickBiggerFee?: boolean | undefined;
4475
+ }): string;
4476
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
4477
+ deserialize(value: Buffer): string;
4478
+ }
4479
+ ],
4480
+ readonly [
4481
+ "ttl",
4482
+ {
4483
+ serialize(value: number): Buffer;
4484
+ deserialize(value: Buffer): number;
4485
+ }
4486
+ ],
4487
+ readonly [
4488
+ "gasLimit",
4489
+ {
4490
+ serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, gasMax, _computingGasLimit, }: {
4491
+ tag: Tag;
4492
+ rebuildTx: (params: any) => any;
4493
+ unpackTx: typeof import(".").unpackTx;
4494
+ buildTx: typeof import(".").buildTx;
4495
+ gasMax: number;
4496
+ _computingGasLimit?: number | undefined;
4497
+ }): Buffer;
4498
+ deserialize(value: Buffer): number;
4499
+ }
4500
+ ],
4501
+ readonly [
4502
+ "gasPrice",
4503
+ {
4504
+ serializeAettos(value?: string | undefined): string;
4505
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
4506
+ deserialize(value: Buffer): string;
4507
+ }
4508
+ ],
4509
+ readonly [
4510
+ "callData",
4511
+ {
4512
+ serialize: (value: `cb_${string}`) => Buffer;
4513
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
4514
+ }
4515
+ ]
4516
+ ];
4517
+ };
4518
+ readonly 81: {
4519
+ readonly 2: readonly [
4520
+ readonly [
4521
+ "tag",
4522
+ {
4523
+ serialize: (value?: Tag.GaMetaTx | undefined) => Buffer;
4524
+ deserialize: (value: Buffer) => Tag.GaMetaTx;
4525
+ }
4526
+ ],
4527
+ readonly [
4528
+ "version",
4529
+ {
4530
+ serialize: (value?: 2 | undefined) => Buffer;
4531
+ deserialize: (value: Buffer) => 2;
4532
+ }
4533
+ ],
4534
+ readonly [
4535
+ "gaId",
4536
+ {
4537
+ serialize: (value: `ak_${string}`) => Buffer;
4538
+ deserialize: (value: Buffer) => `ak_${string}`;
4539
+ }
4540
+ ],
4541
+ readonly [
4542
+ "authData",
4543
+ {
4544
+ serialize: (value: `cb_${string}`) => Buffer;
4545
+ deserialize: (value: Buffer) => `kh_${string}` | `mh_${string}` | `bf_${string}` | `bx_${string}` | `bs_${string}` | `ch_${string}` | `ct_${string}` | `cb_${string}` | `ck_${string}` | `cv_${string}` | `tx_${string}` | `th_${string}` | `ok_${string}` | `ov_${string}` | `oq_${string}` | `or_${string}` | `ak_${string}` | `sg_${string}` | `cm_${string}` | `pp_${string}` | `nm_${string}` | `st_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}` | `ba_${string}`;
4546
+ }
4547
+ ],
4548
+ readonly [
4549
+ "abiVersion",
4550
+ {
4551
+ serialize(value: import("./constants").AbiVersion | undefined, { tag, consensusProtocolVersion }: {
4552
+ tag: Tag;
4553
+ consensusProtocolVersion: import("./constants").ConsensusProtocolVersion;
4554
+ }): Buffer;
4555
+ deserialize(buffer: Buffer): import("./constants").AbiVersion;
4556
+ }
4557
+ ],
4558
+ readonly [
4559
+ "fee",
4560
+ {
4561
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
4562
+ rebuildTx: (params: any) => `tx_${string}`;
4563
+ unpackTx: typeof import(".").unpackTx;
4564
+ buildTx: typeof import(".").buildTx;
4565
+ _computingMinFee?: BigNumber | undefined;
4566
+ _pickBiggerFee?: boolean | undefined;
4567
+ }): string;
4568
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
4569
+ deserialize(value: Buffer): string;
4570
+ }
4571
+ ],
4572
+ readonly [
4573
+ "gasLimit",
4574
+ {
4575
+ serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, gasMax, _computingGasLimit, }: {
4576
+ tag: Tag;
4577
+ rebuildTx: (params: any) => any;
4578
+ unpackTx: typeof import(".").unpackTx;
4579
+ buildTx: typeof import(".").buildTx;
4580
+ gasMax: number;
4581
+ _computingGasLimit?: number | undefined;
4582
+ }): Buffer;
4583
+ deserialize(value: Buffer): number;
4584
+ }
4585
+ ],
4586
+ readonly [
4587
+ "gasPrice",
4588
+ {
4589
+ serializeAettos(value?: string | undefined): string;
4590
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
4591
+ deserialize(value: Buffer): string;
4592
+ }
4593
+ ],
4594
+ readonly [
4595
+ "tx",
4596
+ {
4597
+ serialize: (value: any, options: {
4598
+ buildTx: typeof import(".").buildTx;
4599
+ }) => Buffer;
4600
+ deserialize: (value: Buffer, options: {
4601
+ unpackTx: typeof import(".").unpackTx;
4602
+ }) => any;
4603
+ }
4604
+ ]
4605
+ ];
4606
+ };
4607
+ readonly 82: {
4608
+ readonly 1: readonly [
4609
+ readonly [
4610
+ "tag",
4611
+ {
4612
+ serialize: (value?: Tag.PayingForTx | undefined) => Buffer;
4613
+ deserialize: (value: Buffer) => Tag.PayingForTx;
4614
+ }
4615
+ ],
4616
+ readonly [
4617
+ "version",
4618
+ {
4619
+ serialize: (value?: 1 | undefined) => Buffer;
4620
+ deserialize: (value: Buffer) => 1;
4621
+ }
4622
+ ],
4623
+ readonly [
4624
+ "payerId",
4625
+ {
4626
+ serialize: (value: `ak_${string}`) => Buffer;
4627
+ deserialize: (value: Buffer) => `ak_${string}`;
4628
+ }
4629
+ ],
4630
+ readonly [
4631
+ "nonce",
4632
+ {
4633
+ serialize(value: number): Buffer;
4634
+ deserialize(value: Buffer): number;
4635
+ }
4636
+ ],
4637
+ readonly [
4638
+ "fee",
4639
+ {
4640
+ serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee, _pickBiggerFee, }: {
4641
+ rebuildTx: (params: any) => `tx_${string}`;
4642
+ unpackTx: typeof import(".").unpackTx;
4643
+ buildTx: typeof import(".").buildTx;
4644
+ _computingMinFee?: BigNumber | undefined;
4645
+ _pickBiggerFee?: boolean | undefined;
4646
+ }): string;
4647
+ serialize(value: import("./constants").Int | undefined, { denomination, ...options }: import("./field-types/coin-amount").Options): Buffer;
4648
+ deserialize(value: Buffer): string;
4649
+ }
4650
+ ],
4651
+ readonly [
4652
+ "tx",
4653
+ {
4654
+ serialize: (value: any, options: {
4655
+ buildTx: typeof import(".").buildTx;
4656
+ }) => Buffer;
4657
+ deserialize: (value: Buffer, options: {
4658
+ unpackTx: typeof import(".").unpackTx;
4659
+ }) => any;
4660
+ }
4661
+ ]
4662
+ ];
4663
+ };
4664
+ };
4665
+ type TxTypeSchemasNotCombined = {
4666
+ [tag in Tag]: {
4667
+ [ver in keyof typeof TX_SCHEMA[tag]]: BuildTxArgBySchema<typeof TX_SCHEMA[tag][ver]>;
4668
+ };
4669
+ };
4670
+ export type TxTypeSchemas = {
4671
+ [key in Tag]: TxTypeSchemasNotCombined[key][keyof TxTypeSchemasNotCombined[key]];
4672
+ };
4673
+ export type TxSchema = TxTypeSchemas[Tag];
4674
+ export type TxParamsCommon = Partial<UnionToIntersection<TxSchema>>;
4675
+ export {};