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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. package/README.md +1 -1
  2. package/bin/aesophia_cli +0 -0
  3. package/dist/aepp-sdk.browser-script.js +1 -1
  4. package/dist/aepp-sdk.browser-script.js.map +1 -1
  5. package/dist/aepp-sdk.browser.js +1 -1
  6. package/dist/aepp-sdk.browser.js.map +1 -1
  7. package/dist/aepp-sdk.js +1833 -1543
  8. package/dist/aepp-sdk.js.map +1 -1
  9. package/es/AeSdk.mjs.map +1 -1
  10. package/es/AeSdkAepp.d.ts +5 -4
  11. package/es/AeSdkAepp.mjs +13 -17
  12. package/es/AeSdkAepp.mjs.map +1 -1
  13. package/es/AeSdkBase.mjs.map +1 -1
  14. package/es/AeSdkMethods.d.ts +11 -12
  15. package/es/AeSdkMethods.mjs +6 -8
  16. package/es/AeSdkMethods.mjs.map +1 -1
  17. package/es/AeSdkWallet.mjs +1 -1
  18. package/es/AeSdkWallet.mjs.map +1 -1
  19. package/es/Node.d.ts +5 -1
  20. package/es/Node.mjs +11 -5
  21. package/es/Node.mjs.map +1 -1
  22. package/es/account/Base.d.ts +11 -6
  23. package/es/account/Base.mjs +0 -17
  24. package/es/account/Base.mjs.map +1 -1
  25. package/es/account/Generalized.mjs +12 -25
  26. package/es/account/Generalized.mjs.map +1 -1
  27. package/es/account/Ledger.mjs.map +1 -1
  28. package/es/account/LedgerFactory.mjs.map +1 -1
  29. package/es/account/Memory.d.ts +2 -1
  30. package/es/account/Memory.mjs +9 -21
  31. package/es/account/Memory.mjs.map +1 -1
  32. package/es/account/Rpc.mjs.map +1 -1
  33. package/es/aens.d.ts +12 -14
  34. package/es/aens.mjs +17 -31
  35. package/es/aens.mjs.map +1 -1
  36. package/es/aepp-wallet-communication/connection/Browser.mjs +0 -16
  37. package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
  38. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +0 -16
  39. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
  40. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +0 -16
  41. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
  42. package/es/aepp-wallet-communication/connection-proxy.mjs +0 -17
  43. package/es/aepp-wallet-communication/connection-proxy.mjs.map +1 -1
  44. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +4 -5
  45. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
  46. package/es/aepp-wallet-communication/rpc/types.d.ts +6 -2
  47. package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
  48. package/es/aepp-wallet-communication/schema.mjs.map +1 -1
  49. package/es/aepp-wallet-communication/wallet-detector.mjs +0 -16
  50. package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
  51. package/es/apis/compiler/compiler.d.ts +1 -1
  52. package/es/apis/compiler/compiler.mjs +4 -20
  53. package/es/apis/compiler/compiler.mjs.map +1 -1
  54. package/es/apis/compiler/models/index.d.ts +3 -2
  55. package/es/apis/compiler/models/index.mjs.map +1 -1
  56. package/es/apis/compiler/models/mappers.d.ts +1 -1
  57. package/es/apis/compiler/models/mappers.mjs +19 -2
  58. package/es/apis/compiler/models/mappers.mjs.map +1 -1
  59. package/es/apis/node/models/index.d.ts +15 -15
  60. package/es/apis/node/models/index.mjs.map +1 -1
  61. package/es/apis/node/models/mappers.d.ts +1 -1
  62. package/es/apis/node/models/mappers.mjs +2 -1
  63. package/es/apis/node/models/mappers.mjs.map +1 -1
  64. package/es/apis/node/models/parameters.d.ts +2 -2
  65. package/es/apis/node/models/parameters.mjs +2 -2
  66. package/es/apis/node/models/parameters.mjs.map +1 -1
  67. package/es/apis/node/node.mjs +3 -19
  68. package/es/apis/node/node.mjs.map +1 -1
  69. package/es/chain.d.ts +8 -8
  70. package/es/chain.mjs +20 -23
  71. package/es/chain.mjs.map +1 -1
  72. package/es/channel/Base.d.ts +25 -12
  73. package/es/channel/Base.mjs +23 -26
  74. package/es/channel/Base.mjs.map +1 -1
  75. package/es/channel/Contract.mjs +8 -21
  76. package/es/channel/Contract.mjs.map +1 -1
  77. package/es/channel/Spend.d.ts +4 -2
  78. package/es/channel/Spend.mjs +0 -16
  79. package/es/channel/Spend.mjs.map +1 -1
  80. package/es/channel/handlers.mjs +6 -18
  81. package/es/channel/handlers.mjs.map +1 -1
  82. package/es/channel/internal.d.ts +19 -2
  83. package/es/channel/internal.mjs +19 -19
  84. package/es/channel/internal.mjs.map +1 -1
  85. package/es/contract/Contract.d.ts +30 -85
  86. package/es/contract/Contract.mjs +197 -215
  87. package/es/contract/Contract.mjs.map +1 -1
  88. package/es/contract/compiler/Base.d.ts +10 -14
  89. package/es/contract/compiler/Base.mjs.map +1 -1
  90. package/es/contract/compiler/Cli.mjs +5 -11
  91. package/es/contract/compiler/Cli.mjs.map +1 -1
  92. package/es/contract/compiler/Http.mjs +6 -30
  93. package/es/contract/compiler/Http.mjs.map +1 -1
  94. package/es/contract/compiler/HttpNode.mjs.map +1 -1
  95. package/es/contract/compiler/getFileSystem.mjs.map +1 -1
  96. package/es/contract/delegation-signature.d.ts +43 -0
  97. package/es/contract/delegation-signature.mjs +45 -0
  98. package/es/contract/delegation-signature.mjs.map +1 -0
  99. package/es/contract/ga.d.ts +23 -7
  100. package/es/contract/ga.mjs +52 -27
  101. package/es/contract/ga.mjs.map +1 -1
  102. package/es/index-browser.d.ts +5 -4
  103. package/es/index-browser.mjs +7 -21
  104. package/es/index-browser.mjs.map +1 -1
  105. package/es/oracle.d.ts +12 -17
  106. package/es/oracle.mjs +28 -48
  107. package/es/oracle.mjs.map +1 -1
  108. package/es/spend.d.ts +19 -27
  109. package/es/spend.mjs +20 -43
  110. package/es/spend.mjs.map +1 -1
  111. package/es/tx/builder/SchemaTypes.d.ts +37 -0
  112. package/es/tx/builder/SchemaTypes.mjs +2 -0
  113. package/es/tx/builder/SchemaTypes.mjs.map +1 -0
  114. package/es/tx/builder/constants.d.ts +4 -2
  115. package/es/tx/builder/constants.mjs +2 -0
  116. package/es/tx/builder/constants.mjs.map +1 -1
  117. package/es/tx/builder/field-types/abi-version.d.ts +11 -2
  118. package/es/tx/builder/field-types/abi-version.mjs +24 -4
  119. package/es/tx/builder/field-types/abi-version.mjs.map +1 -1
  120. package/es/tx/builder/field-types/address.mjs.map +1 -1
  121. package/es/tx/builder/field-types/array.d.ts +1 -1
  122. package/es/tx/builder/field-types/array.mjs.map +1 -1
  123. package/es/tx/builder/field-types/boolean.mjs.map +1 -1
  124. package/es/tx/builder/field-types/coin-amount.d.ts +3 -4
  125. package/es/tx/builder/field-types/coin-amount.mjs +4 -5
  126. package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
  127. package/es/tx/builder/field-types/ct-version.d.ts +22 -3
  128. package/es/tx/builder/field-types/ct-version.mjs +32 -4
  129. package/es/tx/builder/field-types/ct-version.mjs.map +1 -1
  130. package/es/tx/builder/field-types/deposit.d.ts +2 -1
  131. package/es/tx/builder/field-types/deposit.mjs +3 -2
  132. package/es/tx/builder/field-types/deposit.mjs.map +1 -1
  133. package/es/tx/builder/field-types/encoded.d.ts +1 -1
  134. package/es/tx/builder/field-types/encoded.mjs.map +1 -1
  135. package/es/tx/builder/field-types/entry.mjs +3 -0
  136. package/es/tx/builder/field-types/entry.mjs.map +1 -1
  137. package/es/tx/builder/field-types/enumeration.mjs.map +1 -1
  138. package/es/tx/builder/field-types/fee.d.ts +3 -1
  139. package/es/tx/builder/field-types/fee.mjs +5 -1
  140. package/es/tx/builder/field-types/fee.mjs.map +1 -1
  141. package/es/tx/builder/field-types/field.mjs.map +1 -1
  142. package/es/tx/builder/field-types/gas-limit.d.ts +3 -2
  143. package/es/tx/builder/field-types/gas-limit.mjs +4 -2
  144. package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
  145. package/es/tx/builder/field-types/gas-price.d.ts +3 -1
  146. package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
  147. package/es/tx/builder/field-types/index.d.ts +52 -13
  148. package/es/tx/builder/field-types/index.mjs +10 -2
  149. package/es/tx/builder/field-types/index.mjs.map +1 -1
  150. package/es/tx/builder/field-types/map.d.ts +13 -0
  151. package/es/tx/builder/field-types/map.mjs +49 -0
  152. package/es/tx/builder/field-types/map.mjs.map +1 -0
  153. package/es/tx/builder/field-types/mptree.d.ts +7 -2
  154. package/es/tx/builder/field-types/mptree.mjs +5 -7
  155. package/es/tx/builder/field-types/mptree.mjs.map +1 -1
  156. package/es/tx/builder/field-types/name-fee.d.ts +1 -1
  157. package/es/tx/builder/field-types/name-fee.mjs +2 -2
  158. package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
  159. package/es/tx/builder/field-types/name-id.mjs.map +1 -1
  160. package/es/tx/builder/field-types/name.mjs.map +1 -1
  161. package/es/tx/builder/field-types/nonce.d.ts +14 -0
  162. package/es/tx/builder/field-types/nonce.mjs +29 -0
  163. package/es/tx/builder/field-types/nonce.mjs.map +1 -0
  164. package/es/tx/builder/field-types/pointers.mjs.map +1 -1
  165. package/es/tx/builder/field-types/raw.mjs.map +1 -1
  166. package/es/tx/builder/field-types/short-u-int-const.d.ts +4 -2
  167. package/es/tx/builder/field-types/short-u-int-const.mjs +12 -8
  168. package/es/tx/builder/field-types/short-u-int-const.mjs.map +1 -1
  169. package/es/tx/builder/field-types/short-u-int.mjs.map +1 -1
  170. package/es/tx/builder/field-types/string.mjs.map +1 -1
  171. package/es/tx/builder/field-types/ttl.d.ts +11 -0
  172. package/es/tx/builder/field-types/ttl.mjs +21 -0
  173. package/es/tx/builder/field-types/ttl.mjs.map +1 -0
  174. package/es/tx/builder/field-types/u-int.mjs.map +1 -1
  175. package/es/tx/builder/field-types/wrapped.d.ts +14 -0
  176. package/es/tx/builder/field-types/wrapped.mjs +22 -0
  177. package/es/tx/builder/field-types/wrapped.mjs.map +1 -0
  178. package/es/tx/builder/helpers.mjs.map +1 -1
  179. package/es/tx/builder/index.d.ts +20 -20
  180. package/es/tx/builder/index.mjs +54 -64
  181. package/es/tx/builder/index.mjs.map +1 -1
  182. package/es/tx/builder/schema.d.ts +2735 -2865
  183. package/es/tx/builder/schema.generated.d.ts +2011 -0
  184. package/es/tx/builder/schema.generated.mjs +2 -0
  185. package/es/tx/builder/schema.generated.mjs.map +1 -0
  186. package/es/tx/builder/schema.mjs +459 -155
  187. package/es/tx/builder/schema.mjs.map +1 -1
  188. package/es/tx/execution-cost.d.ts +35 -0
  189. package/es/tx/execution-cost.mjs +123 -0
  190. package/es/tx/execution-cost.mjs.map +1 -0
  191. package/es/tx/transaction-signer.d.ts +6 -0
  192. package/es/tx/transaction-signer.mjs +27 -0
  193. package/es/tx/transaction-signer.mjs.map +1 -0
  194. package/es/tx/validator.mjs +60 -109
  195. package/es/tx/validator.mjs.map +1 -1
  196. package/es/utils/amount-formatter.mjs +0 -16
  197. package/es/utils/amount-formatter.mjs.map +1 -1
  198. package/es/utils/autorest.d.ts +3 -2
  199. package/es/utils/autorest.mjs +43 -11
  200. package/es/utils/autorest.mjs.map +1 -1
  201. package/es/utils/bytes.mjs +0 -16
  202. package/es/utils/bytes.mjs.map +1 -1
  203. package/es/utils/crypto.mjs +0 -16
  204. package/es/utils/crypto.mjs.map +1 -1
  205. package/es/utils/encoder.mjs.map +1 -1
  206. package/es/utils/errors.d.ts +14 -31
  207. package/es/utils/errors.mjs +3 -33
  208. package/es/utils/errors.mjs.map +1 -1
  209. package/es/utils/hd-wallet.mjs.map +1 -1
  210. package/es/utils/json-big.mjs.map +1 -1
  211. package/es/utils/keystore.mjs.map +1 -1
  212. package/es/utils/other.d.ts +1 -1
  213. package/es/utils/other.mjs.map +1 -1
  214. package/es/utils/semver-satisfies.mjs.map +1 -1
  215. package/es/utils/string.mjs +0 -17
  216. package/es/utils/string.mjs.map +1 -1
  217. package/package.json +34 -30
  218. package/src/AeSdkAepp.ts +16 -14
  219. package/src/AeSdkMethods.ts +11 -16
  220. package/src/AeSdkWallet.ts +1 -1
  221. package/src/Node.ts +17 -6
  222. package/src/account/Base.ts +11 -22
  223. package/src/account/Generalized.ts +9 -24
  224. package/src/account/Memory.ts +14 -21
  225. package/src/aens.ts +31 -47
  226. package/src/aepp-wallet-communication/connection/Browser.ts +0 -17
  227. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +0 -17
  228. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +0 -17
  229. package/src/aepp-wallet-communication/connection-proxy.ts +0 -17
  230. package/src/aepp-wallet-communication/rpc/types.ts +7 -2
  231. package/src/aepp-wallet-communication/wallet-detector.ts +0 -17
  232. package/src/apis/compiler/compiler.ts +3 -27
  233. package/src/apis/compiler/models/index.ts +3 -2
  234. package/src/apis/compiler/models/mappers.ts +15 -2
  235. package/src/apis/node/models/index.ts +16 -15
  236. package/src/apis/node/models/mappers.ts +2 -1
  237. package/src/apis/node/models/parameters.ts +2 -2
  238. package/src/apis/node/node.ts +3 -27
  239. package/src/chain.ts +29 -28
  240. package/src/channel/Base.ts +33 -33
  241. package/src/channel/Contract.ts +8 -23
  242. package/src/channel/Spend.ts +2 -17
  243. package/src/channel/handlers.ts +5 -18
  244. package/src/channel/internal.ts +40 -22
  245. package/src/contract/Contract.ts +161 -170
  246. package/src/contract/compiler/Base.ts +10 -14
  247. package/src/contract/compiler/Cli.ts +5 -11
  248. package/src/contract/compiler/Http.ts +6 -25
  249. package/src/contract/delegation-signature.ts +56 -0
  250. package/src/contract/ga.ts +53 -32
  251. package/src/index-browser.ts +15 -21
  252. package/src/oracle.ts +46 -56
  253. package/src/spend.ts +33 -67
  254. package/src/tx/builder/SchemaTypes.ts +79 -0
  255. package/src/tx/builder/constants.ts +2 -0
  256. package/src/tx/builder/field-types/abi-version.ts +29 -6
  257. package/src/tx/builder/field-types/array.ts +1 -1
  258. package/src/tx/builder/field-types/coin-amount.ts +6 -4
  259. package/src/tx/builder/field-types/ct-version.ts +37 -4
  260. package/src/tx/builder/field-types/deposit.ts +3 -1
  261. package/src/tx/builder/field-types/encoded.ts +1 -1
  262. package/src/tx/builder/field-types/entry.ts +8 -3
  263. package/src/tx/builder/field-types/fee.ts +6 -4
  264. package/src/tx/builder/field-types/gas-limit.ts +2 -2
  265. package/src/tx/builder/field-types/index.ts +15 -1
  266. package/src/tx/builder/field-types/map.ts +45 -0
  267. package/src/tx/builder/field-types/mptree.ts +4 -3
  268. package/src/tx/builder/field-types/name-fee.ts +2 -1
  269. package/src/tx/builder/field-types/nonce.ts +40 -0
  270. package/src/tx/builder/field-types/short-u-int-const.ts +18 -8
  271. package/src/tx/builder/field-types/ttl.ts +24 -0
  272. package/src/tx/builder/field-types/wrapped.ts +32 -0
  273. package/src/tx/builder/index.ts +57 -71
  274. package/src/tx/builder/schema.generated.ts +2013 -0
  275. package/src/tx/builder/schema.ts +544 -624
  276. package/src/tx/execution-cost.ts +146 -0
  277. package/src/tx/transaction-signer.ts +27 -0
  278. package/src/tx/validator.ts +60 -91
  279. package/src/utils/amount-formatter.ts +0 -16
  280. package/src/utils/autorest.ts +52 -11
  281. package/src/utils/bytes.ts +0 -16
  282. package/src/utils/crypto.ts +0 -16
  283. package/src/utils/errors.ts +16 -45
  284. package/src/utils/string.ts +0 -17
  285. package/types-legacy/ts4.2/AeSdkAepp.d.ts +5 -4
  286. package/types-legacy/ts4.2/AeSdkMethods.d.ts +11 -12
  287. package/types-legacy/ts4.2/Node.d.ts +5 -1
  288. package/types-legacy/ts4.2/account/Base.d.ts +11 -6
  289. package/types-legacy/ts4.2/account/Memory.d.ts +2 -1
  290. package/types-legacy/ts4.2/aens.d.ts +12 -14
  291. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +6 -2
  292. package/types-legacy/ts4.2/apis/compiler/compiler.d.ts +1 -1
  293. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +3 -2
  294. package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +1 -1
  295. package/types-legacy/ts4.2/apis/node/models/index.d.ts +15 -15
  296. package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +1 -1
  297. package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +2 -2
  298. package/types-legacy/ts4.2/chain.d.ts +8 -8
  299. package/types-legacy/ts4.2/channel/Base.d.ts +25 -12
  300. package/types-legacy/ts4.2/channel/Spend.d.ts +4 -2
  301. package/types-legacy/ts4.2/channel/internal.d.ts +22 -2
  302. package/types-legacy/ts4.2/contract/Contract.d.ts +29 -84
  303. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +10 -14
  304. package/types-legacy/ts4.2/contract/delegation-signature.d.ts +43 -0
  305. package/types-legacy/ts4.2/contract/ga.d.ts +23 -7
  306. package/types-legacy/ts4.2/index-browser.d.ts +5 -4
  307. package/types-legacy/ts4.2/oracle.d.ts +12 -17
  308. package/types-legacy/ts4.2/spend.d.ts +19 -27
  309. package/types-legacy/ts4.2/tx/builder/SchemaTypes.d.ts +37 -0
  310. package/types-legacy/ts4.2/tx/builder/constants.d.ts +4 -2
  311. package/types-legacy/ts4.2/tx/builder/field-types/abi-version.d.ts +11 -2
  312. package/types-legacy/ts4.2/tx/builder/field-types/array.d.ts +1 -1
  313. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +3 -4
  314. package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +33 -3
  315. package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +2 -1
  316. package/types-legacy/ts4.2/tx/builder/field-types/encoded.d.ts +1 -1
  317. package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +3 -1
  318. package/types-legacy/ts4.2/tx/builder/field-types/gas-limit.d.ts +3 -2
  319. package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +3 -1
  320. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +52 -13
  321. package/types-legacy/ts4.2/tx/builder/field-types/map.d.ts +13 -0
  322. package/types-legacy/ts4.2/tx/builder/field-types/mptree.d.ts +7 -2
  323. package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +1 -1
  324. package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +14 -0
  325. package/types-legacy/ts4.2/tx/builder/field-types/short-u-int-const.d.ts +4 -2
  326. package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +11 -0
  327. package/types-legacy/ts4.2/tx/builder/field-types/wrapped.d.ts +14 -0
  328. package/types-legacy/ts4.2/tx/builder/index.d.ts +23 -20
  329. package/types-legacy/ts4.2/tx/builder/schema.d.ts +2962 -4629
  330. package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +2011 -0
  331. package/types-legacy/ts4.2/tx/execution-cost.d.ts +35 -0
  332. package/types-legacy/ts4.2/tx/transaction-signer.d.ts +6 -0
  333. package/types-legacy/ts4.2/utils/autorest.d.ts +3 -2
  334. package/types-legacy/ts4.2/utils/errors.d.ts +14 -31
  335. package/types-legacy/ts4.2/utils/other.d.ts +1 -1
  336. package/types-legacy/ts4.5/AeSdkAepp.d.ts +5 -4
  337. package/types-legacy/ts4.5/AeSdkMethods.d.ts +11 -12
  338. package/types-legacy/ts4.5/Node.d.ts +5 -1
  339. package/types-legacy/ts4.5/account/Base.d.ts +11 -6
  340. package/types-legacy/ts4.5/account/Memory.d.ts +2 -1
  341. package/types-legacy/ts4.5/aens.d.ts +12 -14
  342. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +6 -2
  343. package/types-legacy/ts4.5/apis/compiler/compiler.d.ts +1 -1
  344. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +3 -2
  345. package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +1 -1
  346. package/types-legacy/ts4.5/apis/node/models/index.d.ts +15 -15
  347. package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +1 -1
  348. package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +2 -2
  349. package/types-legacy/ts4.5/chain.d.ts +8 -8
  350. package/types-legacy/ts4.5/channel/Base.d.ts +25 -12
  351. package/types-legacy/ts4.5/channel/Spend.d.ts +4 -2
  352. package/types-legacy/ts4.5/channel/internal.d.ts +22 -2
  353. package/types-legacy/ts4.5/contract/Contract.d.ts +29 -84
  354. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +10 -14
  355. package/types-legacy/ts4.5/contract/delegation-signature.d.ts +43 -0
  356. package/types-legacy/ts4.5/contract/ga.d.ts +23 -7
  357. package/types-legacy/ts4.5/index-browser.d.ts +5 -4
  358. package/types-legacy/ts4.5/oracle.d.ts +12 -17
  359. package/types-legacy/ts4.5/spend.d.ts +19 -27
  360. package/types-legacy/ts4.5/tx/builder/SchemaTypes.d.ts +37 -0
  361. package/types-legacy/ts4.5/tx/builder/constants.d.ts +4 -2
  362. package/types-legacy/ts4.5/tx/builder/field-types/abi-version.d.ts +11 -2
  363. package/types-legacy/ts4.5/tx/builder/field-types/array.d.ts +1 -1
  364. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +3 -4
  365. package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +33 -3
  366. package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +2 -1
  367. package/types-legacy/ts4.5/tx/builder/field-types/encoded.d.ts +1 -1
  368. package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +3 -1
  369. package/types-legacy/ts4.5/tx/builder/field-types/gas-limit.d.ts +3 -2
  370. package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +3 -1
  371. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +52 -13
  372. package/types-legacy/ts4.5/tx/builder/field-types/map.d.ts +13 -0
  373. package/types-legacy/ts4.5/tx/builder/field-types/mptree.d.ts +7 -2
  374. package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +1 -1
  375. package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +14 -0
  376. package/types-legacy/ts4.5/tx/builder/field-types/short-u-int-const.d.ts +4 -2
  377. package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +11 -0
  378. package/types-legacy/ts4.5/tx/builder/field-types/wrapped.d.ts +14 -0
  379. package/types-legacy/ts4.5/tx/builder/index.d.ts +23 -20
  380. package/types-legacy/ts4.5/tx/builder/schema.d.ts +2962 -4629
  381. package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +2011 -0
  382. package/types-legacy/ts4.5/tx/execution-cost.d.ts +35 -0
  383. package/types-legacy/ts4.5/tx/transaction-signer.d.ts +6 -0
  384. package/types-legacy/ts4.5/utils/autorest.d.ts +3 -2
  385. package/types-legacy/ts4.5/utils/errors.d.ts +14 -31
  386. package/types-legacy/ts4.5/utils/other.d.ts +1 -1
  387. package/es/tx/index.d.ts +0 -19
  388. package/es/tx/index.mjs +0 -115
  389. package/es/tx/index.mjs.map +0 -1
  390. package/src/apis/compiler/code-model-v4.yaml +0 -2442
  391. package/src/apis/node/code-model-v4.yaml +0 -10080
  392. package/src/tx/index.ts +0 -129
  393. package/types-legacy/ts4.2/tx/index.d.ts +0 -19
  394. package/types-legacy/ts4.5/tx/index.d.ts +0 -19
@@ -0,0 +1,2013 @@
1
+ /* eslint-disable */
2
+ // This file generated by `npm run build:generate`, don't edit manually.
3
+
4
+ import { TxParams as TxParamsComplex, TxParamsAsync as TxParamsAsyncComplex, TxUnpacked as TxUnpackedComplex } from "./schema";
5
+ import { Tag } from "./constants";
6
+ /**
7
+ * @category transaction builder
8
+ */
9
+ type TxParamsAccount1Type = TxParamsComplex & {
10
+ tag: Tag.Account;
11
+ version: 1;
12
+ };
13
+ /**
14
+ * @category transaction builder
15
+ */
16
+ export interface TxParamsAccount1 extends TxParamsAccount1Type {
17
+ }
18
+ /**
19
+ * @category transaction builder
20
+ */
21
+ type TxParamsAsyncAccount1Type = TxParamsAsyncComplex & {
22
+ tag: Tag.Account;
23
+ version: 1;
24
+ };
25
+ /**
26
+ * @category transaction builder
27
+ */
28
+ export interface TxParamsAsyncAccount1 extends TxParamsAsyncAccount1Type {
29
+ }
30
+ /**
31
+ * @category transaction builder
32
+ */
33
+ type TxUnpackedAccount1Type = TxUnpackedComplex & {
34
+ tag: Tag.Account;
35
+ version: 1;
36
+ };
37
+ /**
38
+ * @category transaction builder
39
+ */
40
+ export interface TxUnpackedAccount1 extends TxUnpackedAccount1Type {
41
+ }
42
+ /**
43
+ * @category transaction builder
44
+ */
45
+ type TxParamsAccount2Type = Omit<TxParamsComplex & {
46
+ tag: Tag.Account;
47
+ version: 2;
48
+ }, "version"> & {
49
+ version?: 2;
50
+ };
51
+ /**
52
+ * @category transaction builder
53
+ */
54
+ export interface TxParamsAccount2 extends TxParamsAccount2Type {
55
+ }
56
+ /**
57
+ * @category transaction builder
58
+ */
59
+ type TxParamsAsyncAccount2Type = Omit<TxParamsAsyncComplex & {
60
+ tag: Tag.Account;
61
+ version: 2;
62
+ }, "version"> & {
63
+ version?: 2;
64
+ };
65
+ /**
66
+ * @category transaction builder
67
+ */
68
+ export interface TxParamsAsyncAccount2 extends TxParamsAsyncAccount2Type {
69
+ }
70
+ /**
71
+ * @category transaction builder
72
+ */
73
+ type TxUnpackedAccount2Type = TxUnpackedComplex & {
74
+ tag: Tag.Account;
75
+ version: 2;
76
+ };
77
+ /**
78
+ * @category transaction builder
79
+ */
80
+ export interface TxUnpackedAccount2 extends TxUnpackedAccount2Type {
81
+ }
82
+ /**
83
+ * @category transaction builder
84
+ */
85
+ type TxParamsSignedTx1Type = Omit<TxParamsComplex & {
86
+ tag: Tag.SignedTx;
87
+ version: 1;
88
+ }, "version"> & {
89
+ version?: 1;
90
+ };
91
+ /**
92
+ * @category transaction builder
93
+ */
94
+ export interface TxParamsSignedTx1 extends TxParamsSignedTx1Type {
95
+ }
96
+ /**
97
+ * @category transaction builder
98
+ */
99
+ type TxParamsAsyncSignedTx1Type = Omit<TxParamsAsyncComplex & {
100
+ tag: Tag.SignedTx;
101
+ version: 1;
102
+ }, "version"> & {
103
+ version?: 1;
104
+ };
105
+ /**
106
+ * @category transaction builder
107
+ */
108
+ export interface TxParamsAsyncSignedTx1 extends TxParamsAsyncSignedTx1Type {
109
+ }
110
+ /**
111
+ * @category transaction builder
112
+ */
113
+ type TxUnpackedSignedTx1Type = TxUnpackedComplex & {
114
+ tag: Tag.SignedTx;
115
+ version: 1;
116
+ };
117
+ /**
118
+ * @category transaction builder
119
+ */
120
+ export interface TxUnpackedSignedTx1 extends TxUnpackedSignedTx1Type {
121
+ }
122
+ /**
123
+ * @category transaction builder
124
+ */
125
+ type TxParamsSpendTx1Type = Omit<TxParamsComplex & {
126
+ tag: Tag.SpendTx;
127
+ version: 1;
128
+ }, "version"> & {
129
+ version?: 1;
130
+ };
131
+ /**
132
+ * @category transaction builder
133
+ */
134
+ export interface TxParamsSpendTx1 extends TxParamsSpendTx1Type {
135
+ }
136
+ /**
137
+ * @category transaction builder
138
+ */
139
+ type TxParamsAsyncSpendTx1Type = Omit<TxParamsAsyncComplex & {
140
+ tag: Tag.SpendTx;
141
+ version: 1;
142
+ }, "version"> & {
143
+ version?: 1;
144
+ };
145
+ /**
146
+ * @category transaction builder
147
+ */
148
+ export interface TxParamsAsyncSpendTx1 extends TxParamsAsyncSpendTx1Type {
149
+ }
150
+ /**
151
+ * @category transaction builder
152
+ */
153
+ type TxUnpackedSpendTx1Type = TxUnpackedComplex & {
154
+ tag: Tag.SpendTx;
155
+ version: 1;
156
+ };
157
+ /**
158
+ * @category transaction builder
159
+ */
160
+ export interface TxUnpackedSpendTx1 extends TxUnpackedSpendTx1Type {
161
+ }
162
+ /**
163
+ * @category transaction builder
164
+ */
165
+ type TxParamsName1Type = Omit<TxParamsComplex & {
166
+ tag: Tag.Name;
167
+ version: 1;
168
+ }, "version"> & {
169
+ version?: 1;
170
+ };
171
+ /**
172
+ * @category transaction builder
173
+ */
174
+ export interface TxParamsName1 extends TxParamsName1Type {
175
+ }
176
+ /**
177
+ * @category transaction builder
178
+ */
179
+ type TxParamsAsyncName1Type = Omit<TxParamsAsyncComplex & {
180
+ tag: Tag.Name;
181
+ version: 1;
182
+ }, "version"> & {
183
+ version?: 1;
184
+ };
185
+ /**
186
+ * @category transaction builder
187
+ */
188
+ export interface TxParamsAsyncName1 extends TxParamsAsyncName1Type {
189
+ }
190
+ /**
191
+ * @category transaction builder
192
+ */
193
+ type TxUnpackedName1Type = TxUnpackedComplex & {
194
+ tag: Tag.Name;
195
+ version: 1;
196
+ };
197
+ /**
198
+ * @category transaction builder
199
+ */
200
+ export interface TxUnpackedName1 extends TxUnpackedName1Type {
201
+ }
202
+ /**
203
+ * @category transaction builder
204
+ */
205
+ type TxParamsNamePreclaimTx1Type = Omit<TxParamsComplex & {
206
+ tag: Tag.NamePreclaimTx;
207
+ version: 1;
208
+ }, "version"> & {
209
+ version?: 1;
210
+ };
211
+ /**
212
+ * @category transaction builder
213
+ */
214
+ export interface TxParamsNamePreclaimTx1 extends TxParamsNamePreclaimTx1Type {
215
+ }
216
+ /**
217
+ * @category transaction builder
218
+ */
219
+ type TxParamsAsyncNamePreclaimTx1Type = Omit<TxParamsAsyncComplex & {
220
+ tag: Tag.NamePreclaimTx;
221
+ version: 1;
222
+ }, "version"> & {
223
+ version?: 1;
224
+ };
225
+ /**
226
+ * @category transaction builder
227
+ */
228
+ export interface TxParamsAsyncNamePreclaimTx1 extends TxParamsAsyncNamePreclaimTx1Type {
229
+ }
230
+ /**
231
+ * @category transaction builder
232
+ */
233
+ type TxUnpackedNamePreclaimTx1Type = TxUnpackedComplex & {
234
+ tag: Tag.NamePreclaimTx;
235
+ version: 1;
236
+ };
237
+ /**
238
+ * @category transaction builder
239
+ */
240
+ export interface TxUnpackedNamePreclaimTx1 extends TxUnpackedNamePreclaimTx1Type {
241
+ }
242
+ /**
243
+ * @category transaction builder
244
+ */
245
+ type TxParamsNameClaimTx2Type = Omit<TxParamsComplex & {
246
+ tag: Tag.NameClaimTx;
247
+ version: 2;
248
+ }, "version"> & {
249
+ version?: 2;
250
+ };
251
+ /**
252
+ * @category transaction builder
253
+ */
254
+ export interface TxParamsNameClaimTx2 extends TxParamsNameClaimTx2Type {
255
+ }
256
+ /**
257
+ * @category transaction builder
258
+ */
259
+ type TxParamsAsyncNameClaimTx2Type = Omit<TxParamsAsyncComplex & {
260
+ tag: Tag.NameClaimTx;
261
+ version: 2;
262
+ }, "version"> & {
263
+ version?: 2;
264
+ };
265
+ /**
266
+ * @category transaction builder
267
+ */
268
+ export interface TxParamsAsyncNameClaimTx2 extends TxParamsAsyncNameClaimTx2Type {
269
+ }
270
+ /**
271
+ * @category transaction builder
272
+ */
273
+ type TxUnpackedNameClaimTx2Type = TxUnpackedComplex & {
274
+ tag: Tag.NameClaimTx;
275
+ version: 2;
276
+ };
277
+ /**
278
+ * @category transaction builder
279
+ */
280
+ export interface TxUnpackedNameClaimTx2 extends TxUnpackedNameClaimTx2Type {
281
+ }
282
+ /**
283
+ * @category transaction builder
284
+ */
285
+ type TxParamsNameUpdateTx1Type = Omit<TxParamsComplex & {
286
+ tag: Tag.NameUpdateTx;
287
+ version: 1;
288
+ }, "version"> & {
289
+ version?: 1;
290
+ };
291
+ /**
292
+ * @category transaction builder
293
+ */
294
+ export interface TxParamsNameUpdateTx1 extends TxParamsNameUpdateTx1Type {
295
+ }
296
+ /**
297
+ * @category transaction builder
298
+ */
299
+ type TxParamsAsyncNameUpdateTx1Type = Omit<TxParamsAsyncComplex & {
300
+ tag: Tag.NameUpdateTx;
301
+ version: 1;
302
+ }, "version"> & {
303
+ version?: 1;
304
+ };
305
+ /**
306
+ * @category transaction builder
307
+ */
308
+ export interface TxParamsAsyncNameUpdateTx1 extends TxParamsAsyncNameUpdateTx1Type {
309
+ }
310
+ /**
311
+ * @category transaction builder
312
+ */
313
+ type TxUnpackedNameUpdateTx1Type = TxUnpackedComplex & {
314
+ tag: Tag.NameUpdateTx;
315
+ version: 1;
316
+ };
317
+ /**
318
+ * @category transaction builder
319
+ */
320
+ export interface TxUnpackedNameUpdateTx1 extends TxUnpackedNameUpdateTx1Type {
321
+ }
322
+ /**
323
+ * @category transaction builder
324
+ */
325
+ type TxParamsNameTransferTx1Type = Omit<TxParamsComplex & {
326
+ tag: Tag.NameTransferTx;
327
+ version: 1;
328
+ }, "version"> & {
329
+ version?: 1;
330
+ };
331
+ /**
332
+ * @category transaction builder
333
+ */
334
+ export interface TxParamsNameTransferTx1 extends TxParamsNameTransferTx1Type {
335
+ }
336
+ /**
337
+ * @category transaction builder
338
+ */
339
+ type TxParamsAsyncNameTransferTx1Type = Omit<TxParamsAsyncComplex & {
340
+ tag: Tag.NameTransferTx;
341
+ version: 1;
342
+ }, "version"> & {
343
+ version?: 1;
344
+ };
345
+ /**
346
+ * @category transaction builder
347
+ */
348
+ export interface TxParamsAsyncNameTransferTx1 extends TxParamsAsyncNameTransferTx1Type {
349
+ }
350
+ /**
351
+ * @category transaction builder
352
+ */
353
+ type TxUnpackedNameTransferTx1Type = TxUnpackedComplex & {
354
+ tag: Tag.NameTransferTx;
355
+ version: 1;
356
+ };
357
+ /**
358
+ * @category transaction builder
359
+ */
360
+ export interface TxUnpackedNameTransferTx1 extends TxUnpackedNameTransferTx1Type {
361
+ }
362
+ /**
363
+ * @category transaction builder
364
+ */
365
+ type TxParamsNameRevokeTx1Type = Omit<TxParamsComplex & {
366
+ tag: Tag.NameRevokeTx;
367
+ version: 1;
368
+ }, "version"> & {
369
+ version?: 1;
370
+ };
371
+ /**
372
+ * @category transaction builder
373
+ */
374
+ export interface TxParamsNameRevokeTx1 extends TxParamsNameRevokeTx1Type {
375
+ }
376
+ /**
377
+ * @category transaction builder
378
+ */
379
+ type TxParamsAsyncNameRevokeTx1Type = Omit<TxParamsAsyncComplex & {
380
+ tag: Tag.NameRevokeTx;
381
+ version: 1;
382
+ }, "version"> & {
383
+ version?: 1;
384
+ };
385
+ /**
386
+ * @category transaction builder
387
+ */
388
+ export interface TxParamsAsyncNameRevokeTx1 extends TxParamsAsyncNameRevokeTx1Type {
389
+ }
390
+ /**
391
+ * @category transaction builder
392
+ */
393
+ type TxUnpackedNameRevokeTx1Type = TxUnpackedComplex & {
394
+ tag: Tag.NameRevokeTx;
395
+ version: 1;
396
+ };
397
+ /**
398
+ * @category transaction builder
399
+ */
400
+ export interface TxUnpackedNameRevokeTx1 extends TxUnpackedNameRevokeTx1Type {
401
+ }
402
+ /**
403
+ * @category transaction builder
404
+ */
405
+ type TxParamsContract1Type = Omit<TxParamsComplex & {
406
+ tag: Tag.Contract;
407
+ version: 1;
408
+ }, "version"> & {
409
+ version?: 1;
410
+ };
411
+ /**
412
+ * @category transaction builder
413
+ */
414
+ export interface TxParamsContract1 extends TxParamsContract1Type {
415
+ }
416
+ /**
417
+ * @category transaction builder
418
+ */
419
+ type TxParamsAsyncContract1Type = Omit<TxParamsAsyncComplex & {
420
+ tag: Tag.Contract;
421
+ version: 1;
422
+ }, "version"> & {
423
+ version?: 1;
424
+ };
425
+ /**
426
+ * @category transaction builder
427
+ */
428
+ export interface TxParamsAsyncContract1 extends TxParamsAsyncContract1Type {
429
+ }
430
+ /**
431
+ * @category transaction builder
432
+ */
433
+ type TxUnpackedContract1Type = TxUnpackedComplex & {
434
+ tag: Tag.Contract;
435
+ version: 1;
436
+ };
437
+ /**
438
+ * @category transaction builder
439
+ */
440
+ export interface TxUnpackedContract1 extends TxUnpackedContract1Type {
441
+ }
442
+ /**
443
+ * @category transaction builder
444
+ */
445
+ type TxParamsContractCreateTx1Type = Omit<TxParamsComplex & {
446
+ tag: Tag.ContractCreateTx;
447
+ version: 1;
448
+ }, "version"> & {
449
+ version?: 1;
450
+ };
451
+ /**
452
+ * @category transaction builder
453
+ */
454
+ export interface TxParamsContractCreateTx1 extends TxParamsContractCreateTx1Type {
455
+ }
456
+ /**
457
+ * @category transaction builder
458
+ */
459
+ type TxParamsAsyncContractCreateTx1Type = Omit<TxParamsAsyncComplex & {
460
+ tag: Tag.ContractCreateTx;
461
+ version: 1;
462
+ }, "version"> & {
463
+ version?: 1;
464
+ };
465
+ /**
466
+ * @category transaction builder
467
+ */
468
+ export interface TxParamsAsyncContractCreateTx1 extends TxParamsAsyncContractCreateTx1Type {
469
+ }
470
+ /**
471
+ * @category transaction builder
472
+ */
473
+ type TxUnpackedContractCreateTx1Type = TxUnpackedComplex & {
474
+ tag: Tag.ContractCreateTx;
475
+ version: 1;
476
+ };
477
+ /**
478
+ * @category transaction builder
479
+ */
480
+ export interface TxUnpackedContractCreateTx1 extends TxUnpackedContractCreateTx1Type {
481
+ }
482
+ /**
483
+ * @category transaction builder
484
+ */
485
+ type TxParamsContractCallTx1Type = Omit<TxParamsComplex & {
486
+ tag: Tag.ContractCallTx;
487
+ version: 1;
488
+ }, "version"> & {
489
+ version?: 1;
490
+ };
491
+ /**
492
+ * @category transaction builder
493
+ */
494
+ export interface TxParamsContractCallTx1 extends TxParamsContractCallTx1Type {
495
+ }
496
+ /**
497
+ * @category transaction builder
498
+ */
499
+ type TxParamsAsyncContractCallTx1Type = Omit<TxParamsAsyncComplex & {
500
+ tag: Tag.ContractCallTx;
501
+ version: 1;
502
+ }, "version"> & {
503
+ version?: 1;
504
+ };
505
+ /**
506
+ * @category transaction builder
507
+ */
508
+ export interface TxParamsAsyncContractCallTx1 extends TxParamsAsyncContractCallTx1Type {
509
+ }
510
+ /**
511
+ * @category transaction builder
512
+ */
513
+ type TxUnpackedContractCallTx1Type = TxUnpackedComplex & {
514
+ tag: Tag.ContractCallTx;
515
+ version: 1;
516
+ };
517
+ /**
518
+ * @category transaction builder
519
+ */
520
+ export interface TxUnpackedContractCallTx1 extends TxUnpackedContractCallTx1Type {
521
+ }
522
+ /**
523
+ * @category transaction builder
524
+ */
525
+ type TxParamsContractCall2Type = Omit<TxParamsComplex & {
526
+ tag: Tag.ContractCall;
527
+ version: 2;
528
+ }, "version"> & {
529
+ version?: 2;
530
+ };
531
+ /**
532
+ * @category transaction builder
533
+ */
534
+ export interface TxParamsContractCall2 extends TxParamsContractCall2Type {
535
+ }
536
+ /**
537
+ * @category transaction builder
538
+ */
539
+ type TxParamsAsyncContractCall2Type = Omit<TxParamsAsyncComplex & {
540
+ tag: Tag.ContractCall;
541
+ version: 2;
542
+ }, "version"> & {
543
+ version?: 2;
544
+ };
545
+ /**
546
+ * @category transaction builder
547
+ */
548
+ export interface TxParamsAsyncContractCall2 extends TxParamsAsyncContractCall2Type {
549
+ }
550
+ /**
551
+ * @category transaction builder
552
+ */
553
+ type TxUnpackedContractCall2Type = TxUnpackedComplex & {
554
+ tag: Tag.ContractCall;
555
+ version: 2;
556
+ };
557
+ /**
558
+ * @category transaction builder
559
+ */
560
+ export interface TxUnpackedContractCall2 extends TxUnpackedContractCall2Type {
561
+ }
562
+ /**
563
+ * @category transaction builder
564
+ */
565
+ type TxParamsOracle1Type = Omit<TxParamsComplex & {
566
+ tag: Tag.Oracle;
567
+ version: 1;
568
+ }, "version"> & {
569
+ version?: 1;
570
+ };
571
+ /**
572
+ * @category transaction builder
573
+ */
574
+ export interface TxParamsOracle1 extends TxParamsOracle1Type {
575
+ }
576
+ /**
577
+ * @category transaction builder
578
+ */
579
+ type TxParamsAsyncOracle1Type = Omit<TxParamsAsyncComplex & {
580
+ tag: Tag.Oracle;
581
+ version: 1;
582
+ }, "version"> & {
583
+ version?: 1;
584
+ };
585
+ /**
586
+ * @category transaction builder
587
+ */
588
+ export interface TxParamsAsyncOracle1 extends TxParamsAsyncOracle1Type {
589
+ }
590
+ /**
591
+ * @category transaction builder
592
+ */
593
+ type TxUnpackedOracle1Type = TxUnpackedComplex & {
594
+ tag: Tag.Oracle;
595
+ version: 1;
596
+ };
597
+ /**
598
+ * @category transaction builder
599
+ */
600
+ export interface TxUnpackedOracle1 extends TxUnpackedOracle1Type {
601
+ }
602
+ /**
603
+ * @category transaction builder
604
+ */
605
+ type TxParamsOracleRegisterTx1Type = Omit<TxParamsComplex & {
606
+ tag: Tag.OracleRegisterTx;
607
+ version: 1;
608
+ }, "version"> & {
609
+ version?: 1;
610
+ };
611
+ /**
612
+ * @category transaction builder
613
+ */
614
+ export interface TxParamsOracleRegisterTx1 extends TxParamsOracleRegisterTx1Type {
615
+ }
616
+ /**
617
+ * @category transaction builder
618
+ */
619
+ type TxParamsAsyncOracleRegisterTx1Type = Omit<TxParamsAsyncComplex & {
620
+ tag: Tag.OracleRegisterTx;
621
+ version: 1;
622
+ }, "version"> & {
623
+ version?: 1;
624
+ };
625
+ /**
626
+ * @category transaction builder
627
+ */
628
+ export interface TxParamsAsyncOracleRegisterTx1 extends TxParamsAsyncOracleRegisterTx1Type {
629
+ }
630
+ /**
631
+ * @category transaction builder
632
+ */
633
+ type TxUnpackedOracleRegisterTx1Type = TxUnpackedComplex & {
634
+ tag: Tag.OracleRegisterTx;
635
+ version: 1;
636
+ };
637
+ /**
638
+ * @category transaction builder
639
+ */
640
+ export interface TxUnpackedOracleRegisterTx1 extends TxUnpackedOracleRegisterTx1Type {
641
+ }
642
+ /**
643
+ * @category transaction builder
644
+ */
645
+ type TxParamsOracleExtendTx1Type = Omit<TxParamsComplex & {
646
+ tag: Tag.OracleExtendTx;
647
+ version: 1;
648
+ }, "version"> & {
649
+ version?: 1;
650
+ };
651
+ /**
652
+ * @category transaction builder
653
+ */
654
+ export interface TxParamsOracleExtendTx1 extends TxParamsOracleExtendTx1Type {
655
+ }
656
+ /**
657
+ * @category transaction builder
658
+ */
659
+ type TxParamsAsyncOracleExtendTx1Type = Omit<TxParamsAsyncComplex & {
660
+ tag: Tag.OracleExtendTx;
661
+ version: 1;
662
+ }, "version"> & {
663
+ version?: 1;
664
+ };
665
+ /**
666
+ * @category transaction builder
667
+ */
668
+ export interface TxParamsAsyncOracleExtendTx1 extends TxParamsAsyncOracleExtendTx1Type {
669
+ }
670
+ /**
671
+ * @category transaction builder
672
+ */
673
+ type TxUnpackedOracleExtendTx1Type = TxUnpackedComplex & {
674
+ tag: Tag.OracleExtendTx;
675
+ version: 1;
676
+ };
677
+ /**
678
+ * @category transaction builder
679
+ */
680
+ export interface TxUnpackedOracleExtendTx1 extends TxUnpackedOracleExtendTx1Type {
681
+ }
682
+ /**
683
+ * @category transaction builder
684
+ */
685
+ type TxParamsOracleQueryTx1Type = Omit<TxParamsComplex & {
686
+ tag: Tag.OracleQueryTx;
687
+ version: 1;
688
+ }, "version"> & {
689
+ version?: 1;
690
+ };
691
+ /**
692
+ * @category transaction builder
693
+ */
694
+ export interface TxParamsOracleQueryTx1 extends TxParamsOracleQueryTx1Type {
695
+ }
696
+ /**
697
+ * @category transaction builder
698
+ */
699
+ type TxParamsAsyncOracleQueryTx1Type = Omit<TxParamsAsyncComplex & {
700
+ tag: Tag.OracleQueryTx;
701
+ version: 1;
702
+ }, "version"> & {
703
+ version?: 1;
704
+ };
705
+ /**
706
+ * @category transaction builder
707
+ */
708
+ export interface TxParamsAsyncOracleQueryTx1 extends TxParamsAsyncOracleQueryTx1Type {
709
+ }
710
+ /**
711
+ * @category transaction builder
712
+ */
713
+ type TxUnpackedOracleQueryTx1Type = TxUnpackedComplex & {
714
+ tag: Tag.OracleQueryTx;
715
+ version: 1;
716
+ };
717
+ /**
718
+ * @category transaction builder
719
+ */
720
+ export interface TxUnpackedOracleQueryTx1 extends TxUnpackedOracleQueryTx1Type {
721
+ }
722
+ /**
723
+ * @category transaction builder
724
+ */
725
+ type TxParamsOracleResponseTx1Type = Omit<TxParamsComplex & {
726
+ tag: Tag.OracleResponseTx;
727
+ version: 1;
728
+ }, "version"> & {
729
+ version?: 1;
730
+ };
731
+ /**
732
+ * @category transaction builder
733
+ */
734
+ export interface TxParamsOracleResponseTx1 extends TxParamsOracleResponseTx1Type {
735
+ }
736
+ /**
737
+ * @category transaction builder
738
+ */
739
+ type TxParamsAsyncOracleResponseTx1Type = Omit<TxParamsAsyncComplex & {
740
+ tag: Tag.OracleResponseTx;
741
+ version: 1;
742
+ }, "version"> & {
743
+ version?: 1;
744
+ };
745
+ /**
746
+ * @category transaction builder
747
+ */
748
+ export interface TxParamsAsyncOracleResponseTx1 extends TxParamsAsyncOracleResponseTx1Type {
749
+ }
750
+ /**
751
+ * @category transaction builder
752
+ */
753
+ type TxUnpackedOracleResponseTx1Type = TxUnpackedComplex & {
754
+ tag: Tag.OracleResponseTx;
755
+ version: 1;
756
+ };
757
+ /**
758
+ * @category transaction builder
759
+ */
760
+ export interface TxUnpackedOracleResponseTx1 extends TxUnpackedOracleResponseTx1Type {
761
+ }
762
+ /**
763
+ * @category transaction builder
764
+ */
765
+ type TxParamsChannelCreateTx2Type = Omit<TxParamsComplex & {
766
+ tag: Tag.ChannelCreateTx;
767
+ version: 2;
768
+ }, "version"> & {
769
+ version?: 2;
770
+ };
771
+ /**
772
+ * @category transaction builder
773
+ */
774
+ export interface TxParamsChannelCreateTx2 extends TxParamsChannelCreateTx2Type {
775
+ }
776
+ /**
777
+ * @category transaction builder
778
+ */
779
+ type TxParamsAsyncChannelCreateTx2Type = Omit<TxParamsAsyncComplex & {
780
+ tag: Tag.ChannelCreateTx;
781
+ version: 2;
782
+ }, "version"> & {
783
+ version?: 2;
784
+ };
785
+ /**
786
+ * @category transaction builder
787
+ */
788
+ export interface TxParamsAsyncChannelCreateTx2 extends TxParamsAsyncChannelCreateTx2Type {
789
+ }
790
+ /**
791
+ * @category transaction builder
792
+ */
793
+ type TxUnpackedChannelCreateTx2Type = TxUnpackedComplex & {
794
+ tag: Tag.ChannelCreateTx;
795
+ version: 2;
796
+ };
797
+ /**
798
+ * @category transaction builder
799
+ */
800
+ export interface TxUnpackedChannelCreateTx2 extends TxUnpackedChannelCreateTx2Type {
801
+ }
802
+ /**
803
+ * @category transaction builder
804
+ */
805
+ type TxParamsChannelCloseMutualTx1Type = Omit<TxParamsComplex & {
806
+ tag: Tag.ChannelCloseMutualTx;
807
+ version: 1;
808
+ }, "version"> & {
809
+ version?: 1;
810
+ };
811
+ /**
812
+ * @category transaction builder
813
+ */
814
+ export interface TxParamsChannelCloseMutualTx1 extends TxParamsChannelCloseMutualTx1Type {
815
+ }
816
+ /**
817
+ * @category transaction builder
818
+ */
819
+ type TxParamsAsyncChannelCloseMutualTx1Type = Omit<TxParamsAsyncComplex & {
820
+ tag: Tag.ChannelCloseMutualTx;
821
+ version: 1;
822
+ }, "version"> & {
823
+ version?: 1;
824
+ };
825
+ /**
826
+ * @category transaction builder
827
+ */
828
+ export interface TxParamsAsyncChannelCloseMutualTx1 extends TxParamsAsyncChannelCloseMutualTx1Type {
829
+ }
830
+ /**
831
+ * @category transaction builder
832
+ */
833
+ type TxUnpackedChannelCloseMutualTx1Type = TxUnpackedComplex & {
834
+ tag: Tag.ChannelCloseMutualTx;
835
+ version: 1;
836
+ };
837
+ /**
838
+ * @category transaction builder
839
+ */
840
+ export interface TxUnpackedChannelCloseMutualTx1 extends TxUnpackedChannelCloseMutualTx1Type {
841
+ }
842
+ /**
843
+ * @category transaction builder
844
+ */
845
+ type TxParamsChannelCloseSoloTx1Type = Omit<TxParamsComplex & {
846
+ tag: Tag.ChannelCloseSoloTx;
847
+ version: 1;
848
+ }, "version"> & {
849
+ version?: 1;
850
+ };
851
+ /**
852
+ * @category transaction builder
853
+ */
854
+ export interface TxParamsChannelCloseSoloTx1 extends TxParamsChannelCloseSoloTx1Type {
855
+ }
856
+ /**
857
+ * @category transaction builder
858
+ */
859
+ type TxParamsAsyncChannelCloseSoloTx1Type = Omit<TxParamsAsyncComplex & {
860
+ tag: Tag.ChannelCloseSoloTx;
861
+ version: 1;
862
+ }, "version"> & {
863
+ version?: 1;
864
+ };
865
+ /**
866
+ * @category transaction builder
867
+ */
868
+ export interface TxParamsAsyncChannelCloseSoloTx1 extends TxParamsAsyncChannelCloseSoloTx1Type {
869
+ }
870
+ /**
871
+ * @category transaction builder
872
+ */
873
+ type TxUnpackedChannelCloseSoloTx1Type = TxUnpackedComplex & {
874
+ tag: Tag.ChannelCloseSoloTx;
875
+ version: 1;
876
+ };
877
+ /**
878
+ * @category transaction builder
879
+ */
880
+ export interface TxUnpackedChannelCloseSoloTx1 extends TxUnpackedChannelCloseSoloTx1Type {
881
+ }
882
+ /**
883
+ * @category transaction builder
884
+ */
885
+ type TxParamsChannelSlashTx1Type = Omit<TxParamsComplex & {
886
+ tag: Tag.ChannelSlashTx;
887
+ version: 1;
888
+ }, "version"> & {
889
+ version?: 1;
890
+ };
891
+ /**
892
+ * @category transaction builder
893
+ */
894
+ export interface TxParamsChannelSlashTx1 extends TxParamsChannelSlashTx1Type {
895
+ }
896
+ /**
897
+ * @category transaction builder
898
+ */
899
+ type TxParamsAsyncChannelSlashTx1Type = Omit<TxParamsAsyncComplex & {
900
+ tag: Tag.ChannelSlashTx;
901
+ version: 1;
902
+ }, "version"> & {
903
+ version?: 1;
904
+ };
905
+ /**
906
+ * @category transaction builder
907
+ */
908
+ export interface TxParamsAsyncChannelSlashTx1 extends TxParamsAsyncChannelSlashTx1Type {
909
+ }
910
+ /**
911
+ * @category transaction builder
912
+ */
913
+ type TxUnpackedChannelSlashTx1Type = TxUnpackedComplex & {
914
+ tag: Tag.ChannelSlashTx;
915
+ version: 1;
916
+ };
917
+ /**
918
+ * @category transaction builder
919
+ */
920
+ export interface TxUnpackedChannelSlashTx1 extends TxUnpackedChannelSlashTx1Type {
921
+ }
922
+ /**
923
+ * @category transaction builder
924
+ */
925
+ type TxParamsChannelDepositTx1Type = Omit<TxParamsComplex & {
926
+ tag: Tag.ChannelDepositTx;
927
+ version: 1;
928
+ }, "version"> & {
929
+ version?: 1;
930
+ };
931
+ /**
932
+ * @category transaction builder
933
+ */
934
+ export interface TxParamsChannelDepositTx1 extends TxParamsChannelDepositTx1Type {
935
+ }
936
+ /**
937
+ * @category transaction builder
938
+ */
939
+ type TxParamsAsyncChannelDepositTx1Type = Omit<TxParamsAsyncComplex & {
940
+ tag: Tag.ChannelDepositTx;
941
+ version: 1;
942
+ }, "version"> & {
943
+ version?: 1;
944
+ };
945
+ /**
946
+ * @category transaction builder
947
+ */
948
+ export interface TxParamsAsyncChannelDepositTx1 extends TxParamsAsyncChannelDepositTx1Type {
949
+ }
950
+ /**
951
+ * @category transaction builder
952
+ */
953
+ type TxUnpackedChannelDepositTx1Type = TxUnpackedComplex & {
954
+ tag: Tag.ChannelDepositTx;
955
+ version: 1;
956
+ };
957
+ /**
958
+ * @category transaction builder
959
+ */
960
+ export interface TxUnpackedChannelDepositTx1 extends TxUnpackedChannelDepositTx1Type {
961
+ }
962
+ /**
963
+ * @category transaction builder
964
+ */
965
+ type TxParamsChannelWithdrawTx1Type = Omit<TxParamsComplex & {
966
+ tag: Tag.ChannelWithdrawTx;
967
+ version: 1;
968
+ }, "version"> & {
969
+ version?: 1;
970
+ };
971
+ /**
972
+ * @category transaction builder
973
+ */
974
+ export interface TxParamsChannelWithdrawTx1 extends TxParamsChannelWithdrawTx1Type {
975
+ }
976
+ /**
977
+ * @category transaction builder
978
+ */
979
+ type TxParamsAsyncChannelWithdrawTx1Type = Omit<TxParamsAsyncComplex & {
980
+ tag: Tag.ChannelWithdrawTx;
981
+ version: 1;
982
+ }, "version"> & {
983
+ version?: 1;
984
+ };
985
+ /**
986
+ * @category transaction builder
987
+ */
988
+ export interface TxParamsAsyncChannelWithdrawTx1 extends TxParamsAsyncChannelWithdrawTx1Type {
989
+ }
990
+ /**
991
+ * @category transaction builder
992
+ */
993
+ type TxUnpackedChannelWithdrawTx1Type = TxUnpackedComplex & {
994
+ tag: Tag.ChannelWithdrawTx;
995
+ version: 1;
996
+ };
997
+ /**
998
+ * @category transaction builder
999
+ */
1000
+ export interface TxUnpackedChannelWithdrawTx1 extends TxUnpackedChannelWithdrawTx1Type {
1001
+ }
1002
+ /**
1003
+ * @category transaction builder
1004
+ */
1005
+ type TxParamsChannelSettleTx1Type = Omit<TxParamsComplex & {
1006
+ tag: Tag.ChannelSettleTx;
1007
+ version: 1;
1008
+ }, "version"> & {
1009
+ version?: 1;
1010
+ };
1011
+ /**
1012
+ * @category transaction builder
1013
+ */
1014
+ export interface TxParamsChannelSettleTx1 extends TxParamsChannelSettleTx1Type {
1015
+ }
1016
+ /**
1017
+ * @category transaction builder
1018
+ */
1019
+ type TxParamsAsyncChannelSettleTx1Type = Omit<TxParamsAsyncComplex & {
1020
+ tag: Tag.ChannelSettleTx;
1021
+ version: 1;
1022
+ }, "version"> & {
1023
+ version?: 1;
1024
+ };
1025
+ /**
1026
+ * @category transaction builder
1027
+ */
1028
+ export interface TxParamsAsyncChannelSettleTx1 extends TxParamsAsyncChannelSettleTx1Type {
1029
+ }
1030
+ /**
1031
+ * @category transaction builder
1032
+ */
1033
+ type TxUnpackedChannelSettleTx1Type = TxUnpackedComplex & {
1034
+ tag: Tag.ChannelSettleTx;
1035
+ version: 1;
1036
+ };
1037
+ /**
1038
+ * @category transaction builder
1039
+ */
1040
+ export interface TxUnpackedChannelSettleTx1 extends TxUnpackedChannelSettleTx1Type {
1041
+ }
1042
+ /**
1043
+ * @category transaction builder
1044
+ */
1045
+ type TxParamsChannelForceProgressTx1Type = Omit<TxParamsComplex & {
1046
+ tag: Tag.ChannelForceProgressTx;
1047
+ version: 1;
1048
+ }, "version"> & {
1049
+ version?: 1;
1050
+ };
1051
+ /**
1052
+ * @category transaction builder
1053
+ */
1054
+ export interface TxParamsChannelForceProgressTx1 extends TxParamsChannelForceProgressTx1Type {
1055
+ }
1056
+ /**
1057
+ * @category transaction builder
1058
+ */
1059
+ type TxParamsAsyncChannelForceProgressTx1Type = Omit<TxParamsAsyncComplex & {
1060
+ tag: Tag.ChannelForceProgressTx;
1061
+ version: 1;
1062
+ }, "version"> & {
1063
+ version?: 1;
1064
+ };
1065
+ /**
1066
+ * @category transaction builder
1067
+ */
1068
+ export interface TxParamsAsyncChannelForceProgressTx1 extends TxParamsAsyncChannelForceProgressTx1Type {
1069
+ }
1070
+ /**
1071
+ * @category transaction builder
1072
+ */
1073
+ type TxUnpackedChannelForceProgressTx1Type = TxUnpackedComplex & {
1074
+ tag: Tag.ChannelForceProgressTx;
1075
+ version: 1;
1076
+ };
1077
+ /**
1078
+ * @category transaction builder
1079
+ */
1080
+ export interface TxUnpackedChannelForceProgressTx1 extends TxUnpackedChannelForceProgressTx1Type {
1081
+ }
1082
+ /**
1083
+ * @category transaction builder
1084
+ */
1085
+ type TxParamsChannelOffChainTx2Type = Omit<TxParamsComplex & {
1086
+ tag: Tag.ChannelOffChainTx;
1087
+ version: 2;
1088
+ }, "version"> & {
1089
+ version?: 2;
1090
+ };
1091
+ /**
1092
+ * @category transaction builder
1093
+ */
1094
+ export interface TxParamsChannelOffChainTx2 extends TxParamsChannelOffChainTx2Type {
1095
+ }
1096
+ /**
1097
+ * @category transaction builder
1098
+ */
1099
+ type TxParamsAsyncChannelOffChainTx2Type = Omit<TxParamsAsyncComplex & {
1100
+ tag: Tag.ChannelOffChainTx;
1101
+ version: 2;
1102
+ }, "version"> & {
1103
+ version?: 2;
1104
+ };
1105
+ /**
1106
+ * @category transaction builder
1107
+ */
1108
+ export interface TxParamsAsyncChannelOffChainTx2 extends TxParamsAsyncChannelOffChainTx2Type {
1109
+ }
1110
+ /**
1111
+ * @category transaction builder
1112
+ */
1113
+ type TxUnpackedChannelOffChainTx2Type = TxUnpackedComplex & {
1114
+ tag: Tag.ChannelOffChainTx;
1115
+ version: 2;
1116
+ };
1117
+ /**
1118
+ * @category transaction builder
1119
+ */
1120
+ export interface TxUnpackedChannelOffChainTx2 extends TxUnpackedChannelOffChainTx2Type {
1121
+ }
1122
+ /**
1123
+ * @category transaction builder
1124
+ */
1125
+ type TxParamsChannel3Type = Omit<TxParamsComplex & {
1126
+ tag: Tag.Channel;
1127
+ version: 3;
1128
+ }, "version"> & {
1129
+ version?: 3;
1130
+ };
1131
+ /**
1132
+ * @category transaction builder
1133
+ */
1134
+ export interface TxParamsChannel3 extends TxParamsChannel3Type {
1135
+ }
1136
+ /**
1137
+ * @category transaction builder
1138
+ */
1139
+ type TxParamsAsyncChannel3Type = Omit<TxParamsAsyncComplex & {
1140
+ tag: Tag.Channel;
1141
+ version: 3;
1142
+ }, "version"> & {
1143
+ version?: 3;
1144
+ };
1145
+ /**
1146
+ * @category transaction builder
1147
+ */
1148
+ export interface TxParamsAsyncChannel3 extends TxParamsAsyncChannel3Type {
1149
+ }
1150
+ /**
1151
+ * @category transaction builder
1152
+ */
1153
+ type TxUnpackedChannel3Type = TxUnpackedComplex & {
1154
+ tag: Tag.Channel;
1155
+ version: 3;
1156
+ };
1157
+ /**
1158
+ * @category transaction builder
1159
+ */
1160
+ export interface TxUnpackedChannel3 extends TxUnpackedChannel3Type {
1161
+ }
1162
+ /**
1163
+ * @category transaction builder
1164
+ */
1165
+ type TxParamsChannelSnapshotSoloTx1Type = Omit<TxParamsComplex & {
1166
+ tag: Tag.ChannelSnapshotSoloTx;
1167
+ version: 1;
1168
+ }, "version"> & {
1169
+ version?: 1;
1170
+ };
1171
+ /**
1172
+ * @category transaction builder
1173
+ */
1174
+ export interface TxParamsChannelSnapshotSoloTx1 extends TxParamsChannelSnapshotSoloTx1Type {
1175
+ }
1176
+ /**
1177
+ * @category transaction builder
1178
+ */
1179
+ type TxParamsAsyncChannelSnapshotSoloTx1Type = Omit<TxParamsAsyncComplex & {
1180
+ tag: Tag.ChannelSnapshotSoloTx;
1181
+ version: 1;
1182
+ }, "version"> & {
1183
+ version?: 1;
1184
+ };
1185
+ /**
1186
+ * @category transaction builder
1187
+ */
1188
+ export interface TxParamsAsyncChannelSnapshotSoloTx1 extends TxParamsAsyncChannelSnapshotSoloTx1Type {
1189
+ }
1190
+ /**
1191
+ * @category transaction builder
1192
+ */
1193
+ type TxUnpackedChannelSnapshotSoloTx1Type = TxUnpackedComplex & {
1194
+ tag: Tag.ChannelSnapshotSoloTx;
1195
+ version: 1;
1196
+ };
1197
+ /**
1198
+ * @category transaction builder
1199
+ */
1200
+ export interface TxUnpackedChannelSnapshotSoloTx1 extends TxUnpackedChannelSnapshotSoloTx1Type {
1201
+ }
1202
+ /**
1203
+ * @category transaction builder
1204
+ */
1205
+ type TxParamsChannelOffChainUpdateTransfer1Type = Omit<TxParamsComplex & {
1206
+ tag: Tag.ChannelOffChainUpdateTransfer;
1207
+ version: 1;
1208
+ }, "version"> & {
1209
+ version?: 1;
1210
+ };
1211
+ /**
1212
+ * @category transaction builder
1213
+ */
1214
+ export interface TxParamsChannelOffChainUpdateTransfer1 extends TxParamsChannelOffChainUpdateTransfer1Type {
1215
+ }
1216
+ /**
1217
+ * @category transaction builder
1218
+ */
1219
+ type TxParamsAsyncChannelOffChainUpdateTransfer1Type = Omit<TxParamsAsyncComplex & {
1220
+ tag: Tag.ChannelOffChainUpdateTransfer;
1221
+ version: 1;
1222
+ }, "version"> & {
1223
+ version?: 1;
1224
+ };
1225
+ /**
1226
+ * @category transaction builder
1227
+ */
1228
+ export interface TxParamsAsyncChannelOffChainUpdateTransfer1 extends TxParamsAsyncChannelOffChainUpdateTransfer1Type {
1229
+ }
1230
+ /**
1231
+ * @category transaction builder
1232
+ */
1233
+ type TxUnpackedChannelOffChainUpdateTransfer1Type = TxUnpackedComplex & {
1234
+ tag: Tag.ChannelOffChainUpdateTransfer;
1235
+ version: 1;
1236
+ };
1237
+ /**
1238
+ * @category transaction builder
1239
+ */
1240
+ export interface TxUnpackedChannelOffChainUpdateTransfer1 extends TxUnpackedChannelOffChainUpdateTransfer1Type {
1241
+ }
1242
+ /**
1243
+ * @category transaction builder
1244
+ */
1245
+ type TxParamsChannelOffChainUpdateDeposit1Type = Omit<TxParamsComplex & {
1246
+ tag: Tag.ChannelOffChainUpdateDeposit;
1247
+ version: 1;
1248
+ }, "version"> & {
1249
+ version?: 1;
1250
+ };
1251
+ /**
1252
+ * @category transaction builder
1253
+ */
1254
+ export interface TxParamsChannelOffChainUpdateDeposit1 extends TxParamsChannelOffChainUpdateDeposit1Type {
1255
+ }
1256
+ /**
1257
+ * @category transaction builder
1258
+ */
1259
+ type TxParamsAsyncChannelOffChainUpdateDeposit1Type = Omit<TxParamsAsyncComplex & {
1260
+ tag: Tag.ChannelOffChainUpdateDeposit;
1261
+ version: 1;
1262
+ }, "version"> & {
1263
+ version?: 1;
1264
+ };
1265
+ /**
1266
+ * @category transaction builder
1267
+ */
1268
+ export interface TxParamsAsyncChannelOffChainUpdateDeposit1 extends TxParamsAsyncChannelOffChainUpdateDeposit1Type {
1269
+ }
1270
+ /**
1271
+ * @category transaction builder
1272
+ */
1273
+ type TxUnpackedChannelOffChainUpdateDeposit1Type = TxUnpackedComplex & {
1274
+ tag: Tag.ChannelOffChainUpdateDeposit;
1275
+ version: 1;
1276
+ };
1277
+ /**
1278
+ * @category transaction builder
1279
+ */
1280
+ export interface TxUnpackedChannelOffChainUpdateDeposit1 extends TxUnpackedChannelOffChainUpdateDeposit1Type {
1281
+ }
1282
+ /**
1283
+ * @category transaction builder
1284
+ */
1285
+ type TxParamsChannelOffChainUpdateWithdraw1Type = Omit<TxParamsComplex & {
1286
+ tag: Tag.ChannelOffChainUpdateWithdraw;
1287
+ version: 1;
1288
+ }, "version"> & {
1289
+ version?: 1;
1290
+ };
1291
+ /**
1292
+ * @category transaction builder
1293
+ */
1294
+ export interface TxParamsChannelOffChainUpdateWithdraw1 extends TxParamsChannelOffChainUpdateWithdraw1Type {
1295
+ }
1296
+ /**
1297
+ * @category transaction builder
1298
+ */
1299
+ type TxParamsAsyncChannelOffChainUpdateWithdraw1Type = Omit<TxParamsAsyncComplex & {
1300
+ tag: Tag.ChannelOffChainUpdateWithdraw;
1301
+ version: 1;
1302
+ }, "version"> & {
1303
+ version?: 1;
1304
+ };
1305
+ /**
1306
+ * @category transaction builder
1307
+ */
1308
+ export interface TxParamsAsyncChannelOffChainUpdateWithdraw1 extends TxParamsAsyncChannelOffChainUpdateWithdraw1Type {
1309
+ }
1310
+ /**
1311
+ * @category transaction builder
1312
+ */
1313
+ type TxUnpackedChannelOffChainUpdateWithdraw1Type = TxUnpackedComplex & {
1314
+ tag: Tag.ChannelOffChainUpdateWithdraw;
1315
+ version: 1;
1316
+ };
1317
+ /**
1318
+ * @category transaction builder
1319
+ */
1320
+ export interface TxUnpackedChannelOffChainUpdateWithdraw1 extends TxUnpackedChannelOffChainUpdateWithdraw1Type {
1321
+ }
1322
+ /**
1323
+ * @category transaction builder
1324
+ */
1325
+ type TxParamsChannelOffChainUpdateCreateContract1Type = Omit<TxParamsComplex & {
1326
+ tag: Tag.ChannelOffChainUpdateCreateContract;
1327
+ version: 1;
1328
+ }, "version"> & {
1329
+ version?: 1;
1330
+ };
1331
+ /**
1332
+ * @category transaction builder
1333
+ */
1334
+ export interface TxParamsChannelOffChainUpdateCreateContract1 extends TxParamsChannelOffChainUpdateCreateContract1Type {
1335
+ }
1336
+ /**
1337
+ * @category transaction builder
1338
+ */
1339
+ type TxParamsAsyncChannelOffChainUpdateCreateContract1Type = Omit<TxParamsAsyncComplex & {
1340
+ tag: Tag.ChannelOffChainUpdateCreateContract;
1341
+ version: 1;
1342
+ }, "version"> & {
1343
+ version?: 1;
1344
+ };
1345
+ /**
1346
+ * @category transaction builder
1347
+ */
1348
+ export interface TxParamsAsyncChannelOffChainUpdateCreateContract1 extends TxParamsAsyncChannelOffChainUpdateCreateContract1Type {
1349
+ }
1350
+ /**
1351
+ * @category transaction builder
1352
+ */
1353
+ type TxUnpackedChannelOffChainUpdateCreateContract1Type = TxUnpackedComplex & {
1354
+ tag: Tag.ChannelOffChainUpdateCreateContract;
1355
+ version: 1;
1356
+ };
1357
+ /**
1358
+ * @category transaction builder
1359
+ */
1360
+ export interface TxUnpackedChannelOffChainUpdateCreateContract1 extends TxUnpackedChannelOffChainUpdateCreateContract1Type {
1361
+ }
1362
+ /**
1363
+ * @category transaction builder
1364
+ */
1365
+ type TxParamsChannelOffChainUpdateCallContract1Type = Omit<TxParamsComplex & {
1366
+ tag: Tag.ChannelOffChainUpdateCallContract;
1367
+ version: 1;
1368
+ }, "version"> & {
1369
+ version?: 1;
1370
+ };
1371
+ /**
1372
+ * @category transaction builder
1373
+ */
1374
+ export interface TxParamsChannelOffChainUpdateCallContract1 extends TxParamsChannelOffChainUpdateCallContract1Type {
1375
+ }
1376
+ /**
1377
+ * @category transaction builder
1378
+ */
1379
+ type TxParamsAsyncChannelOffChainUpdateCallContract1Type = Omit<TxParamsAsyncComplex & {
1380
+ tag: Tag.ChannelOffChainUpdateCallContract;
1381
+ version: 1;
1382
+ }, "version"> & {
1383
+ version?: 1;
1384
+ };
1385
+ /**
1386
+ * @category transaction builder
1387
+ */
1388
+ export interface TxParamsAsyncChannelOffChainUpdateCallContract1 extends TxParamsAsyncChannelOffChainUpdateCallContract1Type {
1389
+ }
1390
+ /**
1391
+ * @category transaction builder
1392
+ */
1393
+ type TxUnpackedChannelOffChainUpdateCallContract1Type = TxUnpackedComplex & {
1394
+ tag: Tag.ChannelOffChainUpdateCallContract;
1395
+ version: 1;
1396
+ };
1397
+ /**
1398
+ * @category transaction builder
1399
+ */
1400
+ export interface TxUnpackedChannelOffChainUpdateCallContract1 extends TxUnpackedChannelOffChainUpdateCallContract1Type {
1401
+ }
1402
+ /**
1403
+ * @category transaction builder
1404
+ */
1405
+ type TxParamsChannelClientReconnectTx1Type = Omit<TxParamsComplex & {
1406
+ tag: Tag.ChannelClientReconnectTx;
1407
+ version: 1;
1408
+ }, "version"> & {
1409
+ version?: 1;
1410
+ };
1411
+ /**
1412
+ * @category transaction builder
1413
+ */
1414
+ export interface TxParamsChannelClientReconnectTx1 extends TxParamsChannelClientReconnectTx1Type {
1415
+ }
1416
+ /**
1417
+ * @category transaction builder
1418
+ */
1419
+ type TxParamsAsyncChannelClientReconnectTx1Type = Omit<TxParamsAsyncComplex & {
1420
+ tag: Tag.ChannelClientReconnectTx;
1421
+ version: 1;
1422
+ }, "version"> & {
1423
+ version?: 1;
1424
+ };
1425
+ /**
1426
+ * @category transaction builder
1427
+ */
1428
+ export interface TxParamsAsyncChannelClientReconnectTx1 extends TxParamsAsyncChannelClientReconnectTx1Type {
1429
+ }
1430
+ /**
1431
+ * @category transaction builder
1432
+ */
1433
+ type TxUnpackedChannelClientReconnectTx1Type = TxUnpackedComplex & {
1434
+ tag: Tag.ChannelClientReconnectTx;
1435
+ version: 1;
1436
+ };
1437
+ /**
1438
+ * @category transaction builder
1439
+ */
1440
+ export interface TxUnpackedChannelClientReconnectTx1 extends TxUnpackedChannelClientReconnectTx1Type {
1441
+ }
1442
+ /**
1443
+ * @category transaction builder
1444
+ */
1445
+ type TxParamsTreesPoi1Type = Omit<TxParamsComplex & {
1446
+ tag: Tag.TreesPoi;
1447
+ version: 1;
1448
+ }, "version"> & {
1449
+ version?: 1;
1450
+ };
1451
+ /**
1452
+ * @category transaction builder
1453
+ */
1454
+ export interface TxParamsTreesPoi1 extends TxParamsTreesPoi1Type {
1455
+ }
1456
+ /**
1457
+ * @category transaction builder
1458
+ */
1459
+ type TxParamsAsyncTreesPoi1Type = Omit<TxParamsAsyncComplex & {
1460
+ tag: Tag.TreesPoi;
1461
+ version: 1;
1462
+ }, "version"> & {
1463
+ version?: 1;
1464
+ };
1465
+ /**
1466
+ * @category transaction builder
1467
+ */
1468
+ export interface TxParamsAsyncTreesPoi1 extends TxParamsAsyncTreesPoi1Type {
1469
+ }
1470
+ /**
1471
+ * @category transaction builder
1472
+ */
1473
+ type TxUnpackedTreesPoi1Type = TxUnpackedComplex & {
1474
+ tag: Tag.TreesPoi;
1475
+ version: 1;
1476
+ };
1477
+ /**
1478
+ * @category transaction builder
1479
+ */
1480
+ export interface TxUnpackedTreesPoi1 extends TxUnpackedTreesPoi1Type {
1481
+ }
1482
+ /**
1483
+ * @category transaction builder
1484
+ */
1485
+ type TxParamsStateTrees0Type = Omit<TxParamsComplex & {
1486
+ tag: Tag.StateTrees;
1487
+ version: 0;
1488
+ }, "version"> & {
1489
+ version?: 0;
1490
+ };
1491
+ /**
1492
+ * @category transaction builder
1493
+ */
1494
+ export interface TxParamsStateTrees0 extends TxParamsStateTrees0Type {
1495
+ }
1496
+ /**
1497
+ * @category transaction builder
1498
+ */
1499
+ type TxParamsAsyncStateTrees0Type = Omit<TxParamsAsyncComplex & {
1500
+ tag: Tag.StateTrees;
1501
+ version: 0;
1502
+ }, "version"> & {
1503
+ version?: 0;
1504
+ };
1505
+ /**
1506
+ * @category transaction builder
1507
+ */
1508
+ export interface TxParamsAsyncStateTrees0 extends TxParamsAsyncStateTrees0Type {
1509
+ }
1510
+ /**
1511
+ * @category transaction builder
1512
+ */
1513
+ type TxUnpackedStateTrees0Type = TxUnpackedComplex & {
1514
+ tag: Tag.StateTrees;
1515
+ version: 0;
1516
+ };
1517
+ /**
1518
+ * @category transaction builder
1519
+ */
1520
+ export interface TxUnpackedStateTrees0 extends TxUnpackedStateTrees0Type {
1521
+ }
1522
+ /**
1523
+ * @category transaction builder
1524
+ */
1525
+ type TxParamsMtree1Type = Omit<TxParamsComplex & {
1526
+ tag: Tag.Mtree;
1527
+ version: 1;
1528
+ }, "version"> & {
1529
+ version?: 1;
1530
+ };
1531
+ /**
1532
+ * @category transaction builder
1533
+ */
1534
+ export interface TxParamsMtree1 extends TxParamsMtree1Type {
1535
+ }
1536
+ /**
1537
+ * @category transaction builder
1538
+ */
1539
+ type TxParamsAsyncMtree1Type = Omit<TxParamsAsyncComplex & {
1540
+ tag: Tag.Mtree;
1541
+ version: 1;
1542
+ }, "version"> & {
1543
+ version?: 1;
1544
+ };
1545
+ /**
1546
+ * @category transaction builder
1547
+ */
1548
+ export interface TxParamsAsyncMtree1 extends TxParamsAsyncMtree1Type {
1549
+ }
1550
+ /**
1551
+ * @category transaction builder
1552
+ */
1553
+ type TxUnpackedMtree1Type = TxUnpackedComplex & {
1554
+ tag: Tag.Mtree;
1555
+ version: 1;
1556
+ };
1557
+ /**
1558
+ * @category transaction builder
1559
+ */
1560
+ export interface TxUnpackedMtree1 extends TxUnpackedMtree1Type {
1561
+ }
1562
+ /**
1563
+ * @category transaction builder
1564
+ */
1565
+ type TxParamsMtreeValue1Type = Omit<TxParamsComplex & {
1566
+ tag: Tag.MtreeValue;
1567
+ version: 1;
1568
+ }, "version"> & {
1569
+ version?: 1;
1570
+ };
1571
+ /**
1572
+ * @category transaction builder
1573
+ */
1574
+ export interface TxParamsMtreeValue1 extends TxParamsMtreeValue1Type {
1575
+ }
1576
+ /**
1577
+ * @category transaction builder
1578
+ */
1579
+ type TxParamsAsyncMtreeValue1Type = Omit<TxParamsAsyncComplex & {
1580
+ tag: Tag.MtreeValue;
1581
+ version: 1;
1582
+ }, "version"> & {
1583
+ version?: 1;
1584
+ };
1585
+ /**
1586
+ * @category transaction builder
1587
+ */
1588
+ export interface TxParamsAsyncMtreeValue1 extends TxParamsAsyncMtreeValue1Type {
1589
+ }
1590
+ /**
1591
+ * @category transaction builder
1592
+ */
1593
+ type TxUnpackedMtreeValue1Type = TxUnpackedComplex & {
1594
+ tag: Tag.MtreeValue;
1595
+ version: 1;
1596
+ };
1597
+ /**
1598
+ * @category transaction builder
1599
+ */
1600
+ export interface TxUnpackedMtreeValue1 extends TxUnpackedMtreeValue1Type {
1601
+ }
1602
+ /**
1603
+ * @category transaction builder
1604
+ */
1605
+ type TxParamsContractsMtree1Type = Omit<TxParamsComplex & {
1606
+ tag: Tag.ContractsMtree;
1607
+ version: 1;
1608
+ }, "version"> & {
1609
+ version?: 1;
1610
+ };
1611
+ /**
1612
+ * @category transaction builder
1613
+ */
1614
+ export interface TxParamsContractsMtree1 extends TxParamsContractsMtree1Type {
1615
+ }
1616
+ /**
1617
+ * @category transaction builder
1618
+ */
1619
+ type TxParamsAsyncContractsMtree1Type = Omit<TxParamsAsyncComplex & {
1620
+ tag: Tag.ContractsMtree;
1621
+ version: 1;
1622
+ }, "version"> & {
1623
+ version?: 1;
1624
+ };
1625
+ /**
1626
+ * @category transaction builder
1627
+ */
1628
+ export interface TxParamsAsyncContractsMtree1 extends TxParamsAsyncContractsMtree1Type {
1629
+ }
1630
+ /**
1631
+ * @category transaction builder
1632
+ */
1633
+ type TxUnpackedContractsMtree1Type = TxUnpackedComplex & {
1634
+ tag: Tag.ContractsMtree;
1635
+ version: 1;
1636
+ };
1637
+ /**
1638
+ * @category transaction builder
1639
+ */
1640
+ export interface TxUnpackedContractsMtree1 extends TxUnpackedContractsMtree1Type {
1641
+ }
1642
+ /**
1643
+ * @category transaction builder
1644
+ */
1645
+ type TxParamsCallsMtree1Type = Omit<TxParamsComplex & {
1646
+ tag: Tag.CallsMtree;
1647
+ version: 1;
1648
+ }, "version"> & {
1649
+ version?: 1;
1650
+ };
1651
+ /**
1652
+ * @category transaction builder
1653
+ */
1654
+ export interface TxParamsCallsMtree1 extends TxParamsCallsMtree1Type {
1655
+ }
1656
+ /**
1657
+ * @category transaction builder
1658
+ */
1659
+ type TxParamsAsyncCallsMtree1Type = Omit<TxParamsAsyncComplex & {
1660
+ tag: Tag.CallsMtree;
1661
+ version: 1;
1662
+ }, "version"> & {
1663
+ version?: 1;
1664
+ };
1665
+ /**
1666
+ * @category transaction builder
1667
+ */
1668
+ export interface TxParamsAsyncCallsMtree1 extends TxParamsAsyncCallsMtree1Type {
1669
+ }
1670
+ /**
1671
+ * @category transaction builder
1672
+ */
1673
+ type TxUnpackedCallsMtree1Type = TxUnpackedComplex & {
1674
+ tag: Tag.CallsMtree;
1675
+ version: 1;
1676
+ };
1677
+ /**
1678
+ * @category transaction builder
1679
+ */
1680
+ export interface TxUnpackedCallsMtree1 extends TxUnpackedCallsMtree1Type {
1681
+ }
1682
+ /**
1683
+ * @category transaction builder
1684
+ */
1685
+ type TxParamsChannelsMtree1Type = Omit<TxParamsComplex & {
1686
+ tag: Tag.ChannelsMtree;
1687
+ version: 1;
1688
+ }, "version"> & {
1689
+ version?: 1;
1690
+ };
1691
+ /**
1692
+ * @category transaction builder
1693
+ */
1694
+ export interface TxParamsChannelsMtree1 extends TxParamsChannelsMtree1Type {
1695
+ }
1696
+ /**
1697
+ * @category transaction builder
1698
+ */
1699
+ type TxParamsAsyncChannelsMtree1Type = Omit<TxParamsAsyncComplex & {
1700
+ tag: Tag.ChannelsMtree;
1701
+ version: 1;
1702
+ }, "version"> & {
1703
+ version?: 1;
1704
+ };
1705
+ /**
1706
+ * @category transaction builder
1707
+ */
1708
+ export interface TxParamsAsyncChannelsMtree1 extends TxParamsAsyncChannelsMtree1Type {
1709
+ }
1710
+ /**
1711
+ * @category transaction builder
1712
+ */
1713
+ type TxUnpackedChannelsMtree1Type = TxUnpackedComplex & {
1714
+ tag: Tag.ChannelsMtree;
1715
+ version: 1;
1716
+ };
1717
+ /**
1718
+ * @category transaction builder
1719
+ */
1720
+ export interface TxUnpackedChannelsMtree1 extends TxUnpackedChannelsMtree1Type {
1721
+ }
1722
+ /**
1723
+ * @category transaction builder
1724
+ */
1725
+ type TxParamsNameserviceMtree1Type = Omit<TxParamsComplex & {
1726
+ tag: Tag.NameserviceMtree;
1727
+ version: 1;
1728
+ }, "version"> & {
1729
+ version?: 1;
1730
+ };
1731
+ /**
1732
+ * @category transaction builder
1733
+ */
1734
+ export interface TxParamsNameserviceMtree1 extends TxParamsNameserviceMtree1Type {
1735
+ }
1736
+ /**
1737
+ * @category transaction builder
1738
+ */
1739
+ type TxParamsAsyncNameserviceMtree1Type = Omit<TxParamsAsyncComplex & {
1740
+ tag: Tag.NameserviceMtree;
1741
+ version: 1;
1742
+ }, "version"> & {
1743
+ version?: 1;
1744
+ };
1745
+ /**
1746
+ * @category transaction builder
1747
+ */
1748
+ export interface TxParamsAsyncNameserviceMtree1 extends TxParamsAsyncNameserviceMtree1Type {
1749
+ }
1750
+ /**
1751
+ * @category transaction builder
1752
+ */
1753
+ type TxUnpackedNameserviceMtree1Type = TxUnpackedComplex & {
1754
+ tag: Tag.NameserviceMtree;
1755
+ version: 1;
1756
+ };
1757
+ /**
1758
+ * @category transaction builder
1759
+ */
1760
+ export interface TxUnpackedNameserviceMtree1 extends TxUnpackedNameserviceMtree1Type {
1761
+ }
1762
+ /**
1763
+ * @category transaction builder
1764
+ */
1765
+ type TxParamsOraclesMtree1Type = Omit<TxParamsComplex & {
1766
+ tag: Tag.OraclesMtree;
1767
+ version: 1;
1768
+ }, "version"> & {
1769
+ version?: 1;
1770
+ };
1771
+ /**
1772
+ * @category transaction builder
1773
+ */
1774
+ export interface TxParamsOraclesMtree1 extends TxParamsOraclesMtree1Type {
1775
+ }
1776
+ /**
1777
+ * @category transaction builder
1778
+ */
1779
+ type TxParamsAsyncOraclesMtree1Type = Omit<TxParamsAsyncComplex & {
1780
+ tag: Tag.OraclesMtree;
1781
+ version: 1;
1782
+ }, "version"> & {
1783
+ version?: 1;
1784
+ };
1785
+ /**
1786
+ * @category transaction builder
1787
+ */
1788
+ export interface TxParamsAsyncOraclesMtree1 extends TxParamsAsyncOraclesMtree1Type {
1789
+ }
1790
+ /**
1791
+ * @category transaction builder
1792
+ */
1793
+ type TxUnpackedOraclesMtree1Type = TxUnpackedComplex & {
1794
+ tag: Tag.OraclesMtree;
1795
+ version: 1;
1796
+ };
1797
+ /**
1798
+ * @category transaction builder
1799
+ */
1800
+ export interface TxUnpackedOraclesMtree1 extends TxUnpackedOraclesMtree1Type {
1801
+ }
1802
+ /**
1803
+ * @category transaction builder
1804
+ */
1805
+ type TxParamsAccountsMtree1Type = Omit<TxParamsComplex & {
1806
+ tag: Tag.AccountsMtree;
1807
+ version: 1;
1808
+ }, "version"> & {
1809
+ version?: 1;
1810
+ };
1811
+ /**
1812
+ * @category transaction builder
1813
+ */
1814
+ export interface TxParamsAccountsMtree1 extends TxParamsAccountsMtree1Type {
1815
+ }
1816
+ /**
1817
+ * @category transaction builder
1818
+ */
1819
+ type TxParamsAsyncAccountsMtree1Type = Omit<TxParamsAsyncComplex & {
1820
+ tag: Tag.AccountsMtree;
1821
+ version: 1;
1822
+ }, "version"> & {
1823
+ version?: 1;
1824
+ };
1825
+ /**
1826
+ * @category transaction builder
1827
+ */
1828
+ export interface TxParamsAsyncAccountsMtree1 extends TxParamsAsyncAccountsMtree1Type {
1829
+ }
1830
+ /**
1831
+ * @category transaction builder
1832
+ */
1833
+ type TxUnpackedAccountsMtree1Type = TxUnpackedComplex & {
1834
+ tag: Tag.AccountsMtree;
1835
+ version: 1;
1836
+ };
1837
+ /**
1838
+ * @category transaction builder
1839
+ */
1840
+ export interface TxUnpackedAccountsMtree1 extends TxUnpackedAccountsMtree1Type {
1841
+ }
1842
+ /**
1843
+ * @category transaction builder
1844
+ */
1845
+ type TxParamsGaAttachTx1Type = Omit<TxParamsComplex & {
1846
+ tag: Tag.GaAttachTx;
1847
+ version: 1;
1848
+ }, "version"> & {
1849
+ version?: 1;
1850
+ };
1851
+ /**
1852
+ * @category transaction builder
1853
+ */
1854
+ export interface TxParamsGaAttachTx1 extends TxParamsGaAttachTx1Type {
1855
+ }
1856
+ /**
1857
+ * @category transaction builder
1858
+ */
1859
+ type TxParamsAsyncGaAttachTx1Type = Omit<TxParamsAsyncComplex & {
1860
+ tag: Tag.GaAttachTx;
1861
+ version: 1;
1862
+ }, "version"> & {
1863
+ version?: 1;
1864
+ };
1865
+ /**
1866
+ * @category transaction builder
1867
+ */
1868
+ export interface TxParamsAsyncGaAttachTx1 extends TxParamsAsyncGaAttachTx1Type {
1869
+ }
1870
+ /**
1871
+ * @category transaction builder
1872
+ */
1873
+ type TxUnpackedGaAttachTx1Type = TxUnpackedComplex & {
1874
+ tag: Tag.GaAttachTx;
1875
+ version: 1;
1876
+ };
1877
+ /**
1878
+ * @category transaction builder
1879
+ */
1880
+ export interface TxUnpackedGaAttachTx1 extends TxUnpackedGaAttachTx1Type {
1881
+ }
1882
+ /**
1883
+ * @category transaction builder
1884
+ */
1885
+ type TxParamsGaMetaTx2Type = Omit<TxParamsComplex & {
1886
+ tag: Tag.GaMetaTx;
1887
+ version: 2;
1888
+ }, "version"> & {
1889
+ version?: 2;
1890
+ };
1891
+ /**
1892
+ * @category transaction builder
1893
+ */
1894
+ export interface TxParamsGaMetaTx2 extends TxParamsGaMetaTx2Type {
1895
+ }
1896
+ /**
1897
+ * @category transaction builder
1898
+ */
1899
+ type TxParamsAsyncGaMetaTx2Type = Omit<TxParamsAsyncComplex & {
1900
+ tag: Tag.GaMetaTx;
1901
+ version: 2;
1902
+ }, "version"> & {
1903
+ version?: 2;
1904
+ };
1905
+ /**
1906
+ * @category transaction builder
1907
+ */
1908
+ export interface TxParamsAsyncGaMetaTx2 extends TxParamsAsyncGaMetaTx2Type {
1909
+ }
1910
+ /**
1911
+ * @category transaction builder
1912
+ */
1913
+ type TxUnpackedGaMetaTx2Type = TxUnpackedComplex & {
1914
+ tag: Tag.GaMetaTx;
1915
+ version: 2;
1916
+ };
1917
+ /**
1918
+ * @category transaction builder
1919
+ */
1920
+ export interface TxUnpackedGaMetaTx2 extends TxUnpackedGaMetaTx2Type {
1921
+ }
1922
+ /**
1923
+ * @category transaction builder
1924
+ */
1925
+ type TxParamsPayingForTx1Type = Omit<TxParamsComplex & {
1926
+ tag: Tag.PayingForTx;
1927
+ version: 1;
1928
+ }, "version"> & {
1929
+ version?: 1;
1930
+ };
1931
+ /**
1932
+ * @category transaction builder
1933
+ */
1934
+ export interface TxParamsPayingForTx1 extends TxParamsPayingForTx1Type {
1935
+ }
1936
+ /**
1937
+ * @category transaction builder
1938
+ */
1939
+ type TxParamsAsyncPayingForTx1Type = Omit<TxParamsAsyncComplex & {
1940
+ tag: Tag.PayingForTx;
1941
+ version: 1;
1942
+ }, "version"> & {
1943
+ version?: 1;
1944
+ };
1945
+ /**
1946
+ * @category transaction builder
1947
+ */
1948
+ export interface TxParamsAsyncPayingForTx1 extends TxParamsAsyncPayingForTx1Type {
1949
+ }
1950
+ /**
1951
+ * @category transaction builder
1952
+ */
1953
+ type TxUnpackedPayingForTx1Type = TxUnpackedComplex & {
1954
+ tag: Tag.PayingForTx;
1955
+ version: 1;
1956
+ };
1957
+ /**
1958
+ * @category transaction builder
1959
+ */
1960
+ export interface TxUnpackedPayingForTx1 extends TxUnpackedPayingForTx1Type {
1961
+ }
1962
+ /**
1963
+ * @category transaction builder
1964
+ */
1965
+ type TxParamsGaMetaTxAuthData1Type = Omit<TxParamsComplex & {
1966
+ tag: Tag.GaMetaTxAuthData;
1967
+ version: 1;
1968
+ }, "version"> & {
1969
+ version?: 1;
1970
+ };
1971
+ /**
1972
+ * @category transaction builder
1973
+ */
1974
+ export interface TxParamsGaMetaTxAuthData1 extends TxParamsGaMetaTxAuthData1Type {
1975
+ }
1976
+ /**
1977
+ * @category transaction builder
1978
+ */
1979
+ type TxParamsAsyncGaMetaTxAuthData1Type = Omit<TxParamsAsyncComplex & {
1980
+ tag: Tag.GaMetaTxAuthData;
1981
+ version: 1;
1982
+ }, "version"> & {
1983
+ version?: 1;
1984
+ };
1985
+ /**
1986
+ * @category transaction builder
1987
+ */
1988
+ export interface TxParamsAsyncGaMetaTxAuthData1 extends TxParamsAsyncGaMetaTxAuthData1Type {
1989
+ }
1990
+ /**
1991
+ * @category transaction builder
1992
+ */
1993
+ type TxUnpackedGaMetaTxAuthData1Type = TxUnpackedComplex & {
1994
+ tag: Tag.GaMetaTxAuthData;
1995
+ version: 1;
1996
+ };
1997
+ /**
1998
+ * @category transaction builder
1999
+ */
2000
+ export interface TxUnpackedGaMetaTxAuthData1 extends TxUnpackedGaMetaTxAuthData1Type {
2001
+ }
2002
+ /**
2003
+ * @category transaction builder
2004
+ */
2005
+ export type TxParams = TxParamsAccount1 | TxParamsAccount2 | TxParamsSignedTx1 | TxParamsSpendTx1 | TxParamsName1 | TxParamsNamePreclaimTx1 | TxParamsNameClaimTx2 | TxParamsNameUpdateTx1 | TxParamsNameTransferTx1 | TxParamsNameRevokeTx1 | TxParamsContract1 | TxParamsContractCreateTx1 | TxParamsContractCallTx1 | TxParamsContractCall2 | TxParamsOracle1 | TxParamsOracleRegisterTx1 | TxParamsOracleExtendTx1 | TxParamsOracleQueryTx1 | TxParamsOracleResponseTx1 | TxParamsChannelCreateTx2 | TxParamsChannelCloseMutualTx1 | TxParamsChannelCloseSoloTx1 | TxParamsChannelSlashTx1 | TxParamsChannelDepositTx1 | TxParamsChannelWithdrawTx1 | TxParamsChannelSettleTx1 | TxParamsChannelForceProgressTx1 | TxParamsChannelOffChainTx2 | TxParamsChannel3 | TxParamsChannelSnapshotSoloTx1 | TxParamsChannelOffChainUpdateTransfer1 | TxParamsChannelOffChainUpdateDeposit1 | TxParamsChannelOffChainUpdateWithdraw1 | TxParamsChannelOffChainUpdateCreateContract1 | TxParamsChannelOffChainUpdateCallContract1 | TxParamsChannelClientReconnectTx1 | TxParamsTreesPoi1 | TxParamsStateTrees0 | TxParamsMtree1 | TxParamsMtreeValue1 | TxParamsContractsMtree1 | TxParamsCallsMtree1 | TxParamsChannelsMtree1 | TxParamsNameserviceMtree1 | TxParamsOraclesMtree1 | TxParamsAccountsMtree1 | TxParamsGaAttachTx1 | TxParamsGaMetaTx2 | TxParamsPayingForTx1 | TxParamsGaMetaTxAuthData1;
2006
+ /**
2007
+ * @category transaction builder
2008
+ */
2009
+ export type TxParamsAsync = TxParamsAsyncAccount1 | TxParamsAsyncAccount2 | TxParamsAsyncSignedTx1 | TxParamsAsyncSpendTx1 | TxParamsAsyncName1 | TxParamsAsyncNamePreclaimTx1 | TxParamsAsyncNameClaimTx2 | TxParamsAsyncNameUpdateTx1 | TxParamsAsyncNameTransferTx1 | TxParamsAsyncNameRevokeTx1 | TxParamsAsyncContract1 | TxParamsAsyncContractCreateTx1 | TxParamsAsyncContractCallTx1 | TxParamsAsyncContractCall2 | TxParamsAsyncOracle1 | TxParamsAsyncOracleRegisterTx1 | TxParamsAsyncOracleExtendTx1 | TxParamsAsyncOracleQueryTx1 | TxParamsAsyncOracleResponseTx1 | TxParamsAsyncChannelCreateTx2 | TxParamsAsyncChannelCloseMutualTx1 | TxParamsAsyncChannelCloseSoloTx1 | TxParamsAsyncChannelSlashTx1 | TxParamsAsyncChannelDepositTx1 | TxParamsAsyncChannelWithdrawTx1 | TxParamsAsyncChannelSettleTx1 | TxParamsAsyncChannelForceProgressTx1 | TxParamsAsyncChannelOffChainTx2 | TxParamsAsyncChannel3 | TxParamsAsyncChannelSnapshotSoloTx1 | TxParamsAsyncChannelOffChainUpdateTransfer1 | TxParamsAsyncChannelOffChainUpdateDeposit1 | TxParamsAsyncChannelOffChainUpdateWithdraw1 | TxParamsAsyncChannelOffChainUpdateCreateContract1 | TxParamsAsyncChannelOffChainUpdateCallContract1 | TxParamsAsyncChannelClientReconnectTx1 | TxParamsAsyncTreesPoi1 | TxParamsAsyncStateTrees0 | TxParamsAsyncMtree1 | TxParamsAsyncMtreeValue1 | TxParamsAsyncContractsMtree1 | TxParamsAsyncCallsMtree1 | TxParamsAsyncChannelsMtree1 | TxParamsAsyncNameserviceMtree1 | TxParamsAsyncOraclesMtree1 | TxParamsAsyncAccountsMtree1 | TxParamsAsyncGaAttachTx1 | TxParamsAsyncGaMetaTx2 | TxParamsAsyncPayingForTx1 | TxParamsAsyncGaMetaTxAuthData1;
2010
+ /**
2011
+ * @category transaction builder
2012
+ */
2013
+ export type TxUnpacked = TxUnpackedAccount1 | TxUnpackedAccount2 | TxUnpackedSignedTx1 | TxUnpackedSpendTx1 | TxUnpackedName1 | TxUnpackedNamePreclaimTx1 | TxUnpackedNameClaimTx2 | TxUnpackedNameUpdateTx1 | TxUnpackedNameTransferTx1 | TxUnpackedNameRevokeTx1 | TxUnpackedContract1 | TxUnpackedContractCreateTx1 | TxUnpackedContractCallTx1 | TxUnpackedContractCall2 | TxUnpackedOracle1 | TxUnpackedOracleRegisterTx1 | TxUnpackedOracleExtendTx1 | TxUnpackedOracleQueryTx1 | TxUnpackedOracleResponseTx1 | TxUnpackedChannelCreateTx2 | TxUnpackedChannelCloseMutualTx1 | TxUnpackedChannelCloseSoloTx1 | TxUnpackedChannelSlashTx1 | TxUnpackedChannelDepositTx1 | TxUnpackedChannelWithdrawTx1 | TxUnpackedChannelSettleTx1 | TxUnpackedChannelForceProgressTx1 | TxUnpackedChannelOffChainTx2 | TxUnpackedChannel3 | TxUnpackedChannelSnapshotSoloTx1 | TxUnpackedChannelOffChainUpdateTransfer1 | TxUnpackedChannelOffChainUpdateDeposit1 | TxUnpackedChannelOffChainUpdateWithdraw1 | TxUnpackedChannelOffChainUpdateCreateContract1 | TxUnpackedChannelOffChainUpdateCallContract1 | TxUnpackedChannelClientReconnectTx1 | TxUnpackedTreesPoi1 | TxUnpackedStateTrees0 | TxUnpackedMtree1 | TxUnpackedMtreeValue1 | TxUnpackedContractsMtree1 | TxUnpackedCallsMtree1 | TxUnpackedChannelsMtree1 | TxUnpackedNameserviceMtree1 | TxUnpackedOraclesMtree1 | TxUnpackedAccountsMtree1 | TxUnpackedGaAttachTx1 | TxUnpackedGaMetaTx2 | TxUnpackedPayingForTx1 | TxUnpackedGaMetaTxAuthData1;