@geeqdev/geeq-sdk 0.1.0 → 0.2.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 (392) hide show
  1. package/.idea/geeq_sdk.iml +12 -0
  2. package/.idea/modules.xml +8 -0
  3. package/.idea/vcs.xml +6 -0
  4. package/.nvmrc +1 -0
  5. package/CONTRIBUTING.md +20 -0
  6. package/dist/src/address/record-type.d.ts +10 -0
  7. package/dist/src/address/record-type.js +59 -0
  8. package/dist/src/address/record-type.js.map +1 -0
  9. package/dist/src/address/wallet-address.d.ts +34 -0
  10. package/dist/src/address/wallet-address.js +90 -0
  11. package/dist/src/address/wallet-address.js.map +1 -0
  12. package/dist/src/amount.d.ts +43 -0
  13. package/dist/src/amount.js +105 -0
  14. package/dist/src/amount.js.map +1 -0
  15. package/dist/src/assert.d.ts +12 -0
  16. package/dist/src/assert.js +24 -0
  17. package/dist/src/assert.js.map +1 -0
  18. package/dist/src/capnp/adminNetTx.capnp.d.ts +75 -0
  19. package/dist/src/capnp/adminNetTx.capnp.js +66 -0
  20. package/dist/src/capnp/adminNetTx.capnp.js.map +1 -0
  21. package/dist/src/capnp/appLayBlock.capnp.d.ts +26 -0
  22. package/dist/src/capnp/appLayBlock.capnp.js +24 -0
  23. package/dist/src/capnp/appLayBlock.capnp.js.map +1 -0
  24. package/dist/src/capnp/appLayLedger.capnp.d.ts +34 -0
  25. package/dist/src/capnp/appLayLedger.capnp.js +32 -0
  26. package/dist/src/capnp/appLayLedger.capnp.js.map +1 -0
  27. package/dist/src/capnp/appLayRec.capnp.d.ts +129 -0
  28. package/dist/src/capnp/appLayRec.capnp.js +156 -0
  29. package/dist/src/capnp/appLayRec.capnp.js.map +1 -0
  30. package/dist/src/capnp/chainStateView.capnp.d.ts +50 -0
  31. package/dist/src/capnp/chainStateView.capnp.js +48 -0
  32. package/dist/src/capnp/chainStateView.capnp.js.map +1 -0
  33. package/dist/src/capnp/coinAcctRec.capnp.d.ts +178 -0
  34. package/dist/src/capnp/coinAcctRec.capnp.js +189 -0
  35. package/dist/src/capnp/coinAcctRec.capnp.js.map +1 -0
  36. package/dist/src/capnp/genesisBlock.capnp.d.ts +61 -0
  37. package/dist/src/capnp/genesisBlock.capnp.js +55 -0
  38. package/dist/src/capnp/genesisBlock.capnp.js.map +1 -0
  39. package/dist/src/capnp/hubContentStmt.capnp.d.ts +63 -0
  40. package/dist/src/capnp/hubContentStmt.capnp.js +57 -0
  41. package/dist/src/capnp/hubContentStmt.capnp.js.map +1 -0
  42. package/dist/src/capnp/misc.capnp.d.ts +20 -0
  43. package/dist/src/capnp/misc.capnp.js +18 -0
  44. package/dist/src/capnp/misc.capnp.js.map +1 -0
  45. package/dist/src/capnp/netActorRec.capnp.d.ts +65 -0
  46. package/dist/src/capnp/netActorRec.capnp.js +65 -0
  47. package/dist/src/capnp/netActorRec.capnp.js.map +1 -0
  48. package/dist/src/capnp/nodeContentStmt.capnp.d.ts +67 -0
  49. package/dist/src/capnp/nodeContentStmt.capnp.js +61 -0
  50. package/dist/src/capnp/nodeContentStmt.capnp.js.map +1 -0
  51. package/dist/src/capnp/nodePayloadList.capnp.d.ts +28 -0
  52. package/dist/src/capnp/nodePayloadList.capnp.js +26 -0
  53. package/dist/src/capnp/nodePayloadList.capnp.js.map +1 -0
  54. package/dist/src/capnp/nodeTxList.capnp.d.ts +36 -0
  55. package/dist/src/capnp/nodeTxList.capnp.js +34 -0
  56. package/dist/src/capnp/nodeTxList.capnp.js.map +1 -0
  57. package/dist/src/capnp/paramAcctRec.capnp.d.ts +338 -0
  58. package/dist/src/capnp/paramAcctRec.capnp.js +669 -0
  59. package/dist/src/capnp/paramAcctRec.capnp.js.map +1 -0
  60. package/dist/src/capnp/payload.capnp.d.ts +237 -0
  61. package/dist/src/capnp/payload.capnp.js +260 -0
  62. package/dist/src/capnp/payload.capnp.js.map +1 -0
  63. package/dist/src/capnp/proxyAcctRec.capnp.d.ts +223 -0
  64. package/dist/src/capnp/proxyAcctRec.capnp.js +255 -0
  65. package/dist/src/capnp/proxyAcctRec.capnp.js.map +1 -0
  66. package/dist/src/capnp/relayContentStmt.capnp.d.ts +82 -0
  67. package/dist/src/capnp/relayContentStmt.capnp.js +85 -0
  68. package/dist/src/capnp/relayContentStmt.capnp.js.map +1 -0
  69. package/dist/src/capnp/sysAcctRec.capnp.d.ts +48 -0
  70. package/dist/src/capnp/sysAcctRec.capnp.js +46 -0
  71. package/dist/src/capnp/sysAcctRec.capnp.js.map +1 -0
  72. package/dist/src/capnp/userAppTx.capnp.d.ts +230 -0
  73. package/dist/src/capnp/userAppTx.capnp.js +270 -0
  74. package/dist/src/capnp/userAppTx.capnp.js.map +1 -0
  75. package/dist/src/capnp/userValTx.capnp.d.ts +1575 -0
  76. package/dist/src/capnp/userValTx.capnp.js +2004 -0
  77. package/dist/src/capnp/userValTx.capnp.js.map +1 -0
  78. package/dist/src/capnp/valLayBlock.capnp.d.ts +88 -0
  79. package/dist/src/capnp/valLayBlock.capnp.js +86 -0
  80. package/dist/src/capnp/valLayBlock.capnp.js.map +1 -0
  81. package/dist/src/capnp/valLayLedger.capnp.d.ts +85 -0
  82. package/dist/src/capnp/valLayLedger.capnp.js +75 -0
  83. package/dist/src/capnp/valLayLedger.capnp.js.map +1 -0
  84. package/dist/src/chain/geeq-chain.d.ts +474 -0
  85. package/dist/src/chain/geeq-chain.js +721 -0
  86. package/dist/src/chain/geeq-chain.js.map +1 -0
  87. package/dist/src/chain/geeq-node.d.ts +57 -0
  88. package/dist/src/chain/geeq-node.js +62 -0
  89. package/dist/src/chain/geeq-node.js.map +1 -0
  90. package/dist/src/chain/nonce-guard.d.ts +42 -0
  91. package/dist/src/chain/nonce-guard.js +68 -0
  92. package/dist/src/chain/nonce-guard.js.map +1 -0
  93. package/dist/src/chain/select.d.ts +40 -0
  94. package/dist/src/chain/select.js +114 -0
  95. package/dist/src/chain/select.js.map +1 -0
  96. package/dist/src/crypto/account-id.d.ts +35 -0
  97. package/dist/src/crypto/account-id.js +58 -0
  98. package/dist/src/crypto/account-id.js.map +1 -0
  99. package/dist/src/crypto/keypair.d.ts +24 -0
  100. package/dist/src/crypto/keypair.js +158 -0
  101. package/dist/src/crypto/keypair.js.map +1 -0
  102. package/dist/src/crypto/mnemonic.d.ts +34 -0
  103. package/dist/src/crypto/mnemonic.js +57 -0
  104. package/dist/src/crypto/mnemonic.js.map +1 -0
  105. package/dist/src/encoding/base64.d.ts +8 -0
  106. package/dist/src/encoding/base64.js +53 -0
  107. package/dist/src/encoding/base64.js.map +1 -0
  108. package/dist/src/encoding/hex.d.ts +2 -0
  109. package/dist/src/encoding/hex.js +35 -0
  110. package/dist/src/encoding/hex.js.map +1 -0
  111. package/dist/src/errors.d.ts +83 -0
  112. package/dist/src/errors.js +49 -0
  113. package/dist/src/errors.js.map +1 -0
  114. package/dist/src/index.d.ts +59 -0
  115. package/dist/src/index.js +53 -0
  116. package/dist/src/index.js.map +1 -0
  117. package/dist/src/ledger/coin-accounts.d.ts +42 -0
  118. package/dist/src/ledger/coin-accounts.js +37 -0
  119. package/dist/src/ledger/coin-accounts.js.map +1 -0
  120. package/dist/src/ledger/decode.d.ts +18 -0
  121. package/dist/src/ledger/decode.js +113 -0
  122. package/dist/src/ledger/decode.js.map +1 -0
  123. package/dist/src/ledger/geeq-ledger.d.ts +99 -0
  124. package/dist/src/ledger/geeq-ledger.js +125 -0
  125. package/dist/src/ledger/geeq-ledger.js.map +1 -0
  126. package/dist/src/ledger/net-actors.d.ts +65 -0
  127. package/dist/src/ledger/net-actors.js +53 -0
  128. package/dist/src/ledger/net-actors.js.map +1 -0
  129. package/dist/src/ledger/nft-records.d.ts +13 -0
  130. package/dist/src/ledger/nft-records.js +41 -0
  131. package/dist/src/ledger/nft-records.js.map +1 -0
  132. package/dist/src/ledger/params.d.ts +34 -0
  133. package/dist/src/ledger/params.js +71 -0
  134. package/dist/src/ledger/params.js.map +1 -0
  135. package/dist/src/ledger/proxy-accounts.d.ts +26 -0
  136. package/dist/src/ledger/proxy-accounts.js +27 -0
  137. package/dist/src/ledger/proxy-accounts.js.map +1 -0
  138. package/dist/src/net/discovery.d.ts +62 -0
  139. package/dist/src/net/discovery.js +136 -0
  140. package/dist/src/net/discovery.js.map +1 -0
  141. package/dist/src/net/explorer.d.ts +57 -0
  142. package/dist/src/net/explorer.js +64 -0
  143. package/dist/src/net/explorer.js.map +1 -0
  144. package/dist/src/net/read-ledger.d.ts +7 -0
  145. package/dist/src/net/read-ledger.js +39 -0
  146. package/dist/src/net/read-ledger.js.map +1 -0
  147. package/dist/src/net/routes.d.ts +49 -0
  148. package/dist/src/net/routes.js +70 -0
  149. package/dist/src/net/routes.js.map +1 -0
  150. package/dist/src/net/transport.d.ts +55 -0
  151. package/dist/src/net/transport.js +168 -0
  152. package/dist/src/net/transport.js.map +1 -0
  153. package/dist/src/net/websocket.d.ts +49 -0
  154. package/dist/src/net/websocket.js +54 -0
  155. package/dist/src/net/websocket.js.map +1 -0
  156. package/dist/src/runtime/bindings.d.ts +9 -0
  157. package/dist/src/runtime/bindings.js +27 -0
  158. package/dist/src/runtime/bindings.js.map +1 -0
  159. package/dist/src/runtime/init.d.ts +13 -0
  160. package/dist/src/runtime/init.js +40 -0
  161. package/dist/src/runtime/init.js.map +1 -0
  162. package/dist/src/runtime/wasm-loader.browser.d.ts +14 -0
  163. package/dist/src/runtime/wasm-loader.browser.js +20 -0
  164. package/dist/src/runtime/wasm-loader.browser.js.map +1 -0
  165. package/dist/src/runtime/wasm-loader.node.d.ts +7 -0
  166. package/dist/src/runtime/wasm-loader.node.js +14 -0
  167. package/dist/src/runtime/wasm-loader.node.js.map +1 -0
  168. package/dist/src/socket/geeq-socket.d.ts +232 -0
  169. package/dist/src/socket/geeq-socket.js +634 -0
  170. package/dist/src/socket/geeq-socket.js.map +1 -0
  171. package/dist/src/socket/tracked-tx.d.ts +148 -0
  172. package/dist/src/socket/tracked-tx.js +212 -0
  173. package/dist/src/socket/tracked-tx.js.map +1 -0
  174. package/dist/src/socket/tx-status.d.ts +69 -0
  175. package/dist/src/socket/tx-status.js +72 -0
  176. package/dist/src/socket/tx-status.js.map +1 -0
  177. package/dist/src/tx/attestation.d.ts +60 -0
  178. package/dist/src/tx/attestation.js +163 -0
  179. package/dist/src/tx/attestation.js.map +1 -0
  180. package/dist/src/tx/content.d.ts +27 -0
  181. package/dist/src/tx/content.js +62 -0
  182. package/dist/src/tx/content.js.map +1 -0
  183. package/dist/src/tx/encode.d.ts +60 -0
  184. package/dist/src/tx/encode.js +82 -0
  185. package/dist/src/tx/encode.js.map +1 -0
  186. package/dist/src/tx/expiry.d.ts +11 -0
  187. package/dist/src/tx/expiry.js +12 -0
  188. package/dist/src/tx/expiry.js.map +1 -0
  189. package/dist/src/tx/fee.d.ts +16 -0
  190. package/dist/src/tx/fee.js +29 -0
  191. package/dist/src/tx/fee.js.map +1 -0
  192. package/dist/src/tx/metadata.d.ts +39 -0
  193. package/dist/src/tx/metadata.js +66 -0
  194. package/dist/src/tx/metadata.js.map +1 -0
  195. package/dist/src/tx/nft.d.ts +16 -0
  196. package/dist/src/tx/nft.js +98 -0
  197. package/dist/src/tx/nft.js.map +1 -0
  198. package/dist/src/tx/proxy.d.ts +37 -0
  199. package/dist/src/tx/proxy.js +134 -0
  200. package/dist/src/tx/proxy.js.map +1 -0
  201. package/dist/src/tx/transfer.d.ts +31 -0
  202. package/dist/src/tx/transfer.js +123 -0
  203. package/dist/src/tx/transfer.js.map +1 -0
  204. package/dist/src/types.d.ts +448 -0
  205. package/dist/src/types.js +2 -0
  206. package/dist/src/types.js.map +1 -0
  207. package/dist/tests/account-id.test.d.ts +1 -0
  208. package/dist/tests/account-id.test.js +27 -0
  209. package/dist/tests/account-id.test.js.map +1 -0
  210. package/dist/tests/amount.test.d.ts +1 -0
  211. package/dist/tests/amount.test.js +113 -0
  212. package/dist/tests/amount.test.js.map +1 -0
  213. package/dist/tests/attestation.test.d.ts +1 -0
  214. package/dist/tests/attestation.test.js +182 -0
  215. package/dist/tests/attestation.test.js.map +1 -0
  216. package/dist/tests/chain.test.d.ts +1 -0
  217. package/dist/tests/chain.test.js +647 -0
  218. package/dist/tests/chain.test.js.map +1 -0
  219. package/dist/tests/content.test.d.ts +1 -0
  220. package/dist/tests/content.test.js +90 -0
  221. package/dist/tests/content.test.js.map +1 -0
  222. package/dist/tests/documented-api.test.d.ts +1 -0
  223. package/dist/tests/documented-api.test.js +229 -0
  224. package/dist/tests/documented-api.test.js.map +1 -0
  225. package/dist/tests/explorer.test.d.ts +1 -0
  226. package/dist/tests/explorer.test.js +95 -0
  227. package/dist/tests/explorer.test.js.map +1 -0
  228. package/dist/tests/fee.test.d.ts +1 -0
  229. package/dist/tests/fee.test.js +179 -0
  230. package/dist/tests/fee.test.js.map +1 -0
  231. package/dist/tests/fixtures/build-vll.d.ts +71 -0
  232. package/dist/tests/fixtures/build-vll.js +141 -0
  233. package/dist/tests/fixtures/build-vll.js.map +1 -0
  234. package/dist/tests/fixtures/fake-socket.d.ts +44 -0
  235. package/dist/tests/fixtures/fake-socket.js +93 -0
  236. package/dist/tests/fixtures/fake-socket.js.map +1 -0
  237. package/dist/tests/fixtures/fake-transport.d.ts +24 -0
  238. package/dist/tests/fixtures/fake-transport.js +30 -0
  239. package/dist/tests/fixtures/fake-transport.js.map +1 -0
  240. package/dist/tests/keypair.test.d.ts +1 -0
  241. package/dist/tests/keypair.test.js +163 -0
  242. package/dist/tests/keypair.test.js.map +1 -0
  243. package/dist/tests/ledger.test.d.ts +1 -0
  244. package/dist/tests/ledger.test.js +234 -0
  245. package/dist/tests/ledger.test.js.map +1 -0
  246. package/dist/tests/mnemonic.test.d.ts +1 -0
  247. package/dist/tests/mnemonic.test.js +97 -0
  248. package/dist/tests/mnemonic.test.js.map +1 -0
  249. package/dist/tests/nft-transfer.test.d.ts +1 -0
  250. package/dist/tests/nft-transfer.test.js +170 -0
  251. package/dist/tests/nft-transfer.test.js.map +1 -0
  252. package/dist/tests/nft.test.d.ts +1 -0
  253. package/dist/tests/nft.test.js +180 -0
  254. package/dist/tests/nft.test.js.map +1 -0
  255. package/dist/tests/offline.test.d.ts +1 -0
  256. package/dist/tests/offline.test.js +95 -0
  257. package/dist/tests/offline.test.js.map +1 -0
  258. package/dist/tests/proxy.test.d.ts +1 -0
  259. package/dist/tests/proxy.test.js +183 -0
  260. package/dist/tests/proxy.test.js.map +1 -0
  261. package/dist/tests/select.test.d.ts +1 -0
  262. package/dist/tests/select.test.js +200 -0
  263. package/dist/tests/select.test.js.map +1 -0
  264. package/dist/tests/socket.test.d.ts +1 -0
  265. package/dist/tests/socket.test.js +607 -0
  266. package/dist/tests/socket.test.js.map +1 -0
  267. package/dist/tests/transfer.test.d.ts +1 -0
  268. package/dist/tests/transfer.test.js +225 -0
  269. package/dist/tests/transfer.test.js.map +1 -0
  270. package/dist/tests/wallet-address.test.d.ts +1 -0
  271. package/dist/tests/wallet-address.test.js +101 -0
  272. package/dist/tests/wallet-address.test.js.map +1 -0
  273. package/dist/tests/wasm-loader.jest.d.ts +13 -0
  274. package/dist/tests/wasm-loader.jest.js +15 -0
  275. package/dist/tests/wasm-loader.jest.js.map +1 -0
  276. package/example/.env.example +4 -0
  277. package/example/README.md +304 -0
  278. package/example/USAGE.md +74 -0
  279. package/example/index.html +12 -0
  280. package/example/package-lock.json +1557 -0
  281. package/example/package.json +25 -0
  282. package/example/scripts/browser-check.mjs +1421 -0
  283. package/example/scripts/match-derivation.mjs +65 -0
  284. package/example/src/App.vue +138 -0
  285. package/example/src/components/AuthorityPanel.vue +277 -0
  286. package/example/src/components/ChainPanel.vue +267 -0
  287. package/example/src/components/ChainState.vue +59 -0
  288. package/example/src/components/CopyButton.vue +25 -0
  289. package/example/src/components/CreateAssetPanel.vue +313 -0
  290. package/example/src/components/DigitalAssetsPanel.vue +68 -0
  291. package/example/src/components/EvidencePanel.vue +396 -0
  292. package/example/src/components/ExplorerPanel.vue +119 -0
  293. package/example/src/components/KeypairPanel.vue +182 -0
  294. package/example/src/components/PhrasePanel.vue +105 -0
  295. package/example/src/components/SocketWarning.vue +18 -0
  296. package/example/src/components/StepGate.vue +24 -0
  297. package/example/src/components/TransferPanel.vue +416 -0
  298. package/example/src/components/TxDeadline.vue +19 -0
  299. package/example/src/components/TxFee.vue +31 -0
  300. package/example/src/components/TxStatus.vue +105 -0
  301. package/example/src/composables/useSocketConnection.ts +80 -0
  302. package/example/src/env.d.ts +12 -0
  303. package/example/src/main.ts +5 -0
  304. package/example/src/pennies.ts +7 -0
  305. package/example/src/style.css +149 -0
  306. package/example/tsconfig.json +19 -0
  307. package/example/vite.config.ts +26 -0
  308. package/jest.config.js +18 -0
  309. package/package.json +2 -6
  310. package/scripts/copy-wasm.mjs +21 -0
  311. package/scripts/smoke.mjs +382 -0
  312. package/src/address/record-type.ts +77 -0
  313. package/src/address/wallet-address.ts +105 -0
  314. package/src/amount.ts +143 -0
  315. package/src/assert.ts +30 -0
  316. package/src/capnp/README.md +15 -0
  317. package/src/capnp/adminNetTx.capnp.ts +66 -0
  318. package/src/capnp/appLayBlock.capnp.ts +26 -0
  319. package/src/capnp/appLayLedger.capnp.ts +35 -0
  320. package/src/capnp/appLayRec.capnp.ts +159 -0
  321. package/src/capnp/chainStateView.capnp.ts +49 -0
  322. package/src/capnp/coinAcctRec.capnp.ts +193 -0
  323. package/src/capnp/genesisBlock.capnp.ts +56 -0
  324. package/src/capnp/hubContentStmt.capnp.ts +59 -0
  325. package/src/capnp/misc.capnp.ts +19 -0
  326. package/src/capnp/netActorRec.capnp.ts +64 -0
  327. package/src/capnp/nodeContentStmt.capnp.ts +62 -0
  328. package/src/capnp/nodePayloadList.capnp.ts +28 -0
  329. package/src/capnp/nodeTxList.capnp.ts +37 -0
  330. package/src/capnp/paramAcctRec.capnp.ts +669 -0
  331. package/src/capnp/payload.capnp.ts +261 -0
  332. package/src/capnp/proxyAcctRec.capnp.ts +259 -0
  333. package/src/capnp/relayContentStmt.capnp.ts +85 -0
  334. package/src/capnp/sysAcctRec.capnp.ts +47 -0
  335. package/src/capnp/userAppTx.capnp.ts +269 -0
  336. package/src/capnp/userValTx.capnp.ts +1999 -0
  337. package/src/capnp/valLayBlock.capnp.ts +93 -0
  338. package/src/capnp/valLayLedger.capnp.ts +80 -0
  339. package/src/chain/geeq-chain.ts +1094 -0
  340. package/src/chain/geeq-node.ts +105 -0
  341. package/src/chain/nonce-guard.ts +73 -0
  342. package/src/chain/select.ts +149 -0
  343. package/src/crypto/account-id.ts +83 -0
  344. package/src/crypto/keypair.ts +221 -0
  345. package/src/crypto/mnemonic.ts +69 -0
  346. package/src/encoding/base64.ts +58 -0
  347. package/src/encoding/hex.ts +42 -0
  348. package/src/errors.ts +122 -0
  349. package/src/index.ts +195 -0
  350. package/src/ledger/coin-accounts.ts +73 -0
  351. package/src/ledger/decode.ts +147 -0
  352. package/src/ledger/geeq-ledger.ts +184 -0
  353. package/src/ledger/net-actors.ts +129 -0
  354. package/src/ledger/nft-records.ts +49 -0
  355. package/src/ledger/params.ts +82 -0
  356. package/src/ledger/proxy-accounts.ts +51 -0
  357. package/src/net/discovery.ts +231 -0
  358. package/src/net/explorer.ts +123 -0
  359. package/src/net/read-ledger.ts +58 -0
  360. package/src/net/routes.ts +79 -0
  361. package/src/net/transport.ts +221 -0
  362. package/src/net/websocket.ts +94 -0
  363. package/src/runtime/bindings.ts +38 -0
  364. package/src/runtime/init.ts +49 -0
  365. package/src/runtime/wasm-loader.browser.ts +22 -0
  366. package/src/runtime/wasm-loader.node.ts +16 -0
  367. package/src/socket/geeq-socket.ts +827 -0
  368. package/src/socket/tracked-tx.ts +319 -0
  369. package/src/socket/tx-status.ts +131 -0
  370. package/src/tx/attestation.ts +222 -0
  371. package/src/tx/content.ts +82 -0
  372. package/src/tx/encode.ts +107 -0
  373. package/src/tx/expiry.ts +11 -0
  374. package/src/tx/fee.ts +31 -0
  375. package/src/tx/metadata.ts +100 -0
  376. package/src/tx/nft.ts +108 -0
  377. package/src/tx/proxy.ts +156 -0
  378. package/src/tx/transfer.ts +162 -0
  379. package/src/types.ts +503 -0
  380. package/src/wasm/README.md +22 -0
  381. package/src/wasm/browser/geeq_core.d.ts +1224 -0
  382. package/src/wasm/browser/geeq_core.js +6014 -0
  383. package/src/wasm/browser/geeq_core_bg.wasm +0 -0
  384. package/src/wasm/browser/geeq_core_bg.wasm.d.ts +447 -0
  385. package/src/wasm/nodejs/geeq_core.d.ts +753 -0
  386. package/src/wasm/nodejs/geeq_core.js +6016 -0
  387. package/src/wasm/nodejs/geeq_core_bg.wasm +0 -0
  388. package/src/wasm/nodejs/geeq_core_bg.wasm.d.ts +447 -0
  389. package/src/wasm/nodejs/package.json +3 -0
  390. package/tsconfig.build.json +8 -0
  391. package/tsconfig.json +21 -0
  392. package/tsup.config.ts +60 -0
@@ -0,0 +1,2004 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file has been automatically generated by the [capnpc-ts utility](https://github.com/jdiaz5513/capnp-ts).
4
+ */
5
+ import * as capnp from "capnp-ts";
6
+ import { NetActorStatus, NetActorType } from './netActorRec.capnp';
7
+ import { DceRecStatus } from './proxyAcctRec.capnp';
8
+ import { ObjectSize as __O, Struct as __S } from 'capnp-ts';
9
+ import { TokenAssetSubgroup, NftAssetSubgroup } from "./coinAcctRec.capnp";
10
+ import { HubContentStmtData, HubContentStmt } from "./hubContentStmt.capnp";
11
+ import { NodeContentStmtData, NodeContentStmt } from "./nodeContentStmt.capnp";
12
+ import { RelayContentStmtData, RelayContentStmt } from "./relayContentStmt.capnp";
13
+ export const _capnpFileId = "bc63e89e9ec5f899";
14
+ export class TokenAssetSubgroupEntry extends __S {
15
+ static { this._capnp = { displayName: "TokenAssetSubgroupEntry", id: "9d91bc3d6f78ea7e", size: new __O(8, 1) }; }
16
+ getPosition() { return __S.getUint32(0, this); }
17
+ setPosition(value) { __S.setUint32(0, value, this); }
18
+ adoptItem(value) { __S.adopt(value, __S.getPointer(0, this)); }
19
+ disownItem() { return __S.disown(this.getItem()); }
20
+ getItem() { return __S.getStruct(0, TokenAssetSubgroup, this); }
21
+ hasItem() { return !__S.isNull(__S.getPointer(0, this)); }
22
+ initItem() { return __S.initStructAt(0, TokenAssetSubgroup, this); }
23
+ setItem(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
24
+ toString() { return "TokenAssetSubgroupEntry_" + super.toString(); }
25
+ }
26
+ export class NftAssetSubgroupEntry extends __S {
27
+ static { this._capnp = { displayName: "NftAssetSubgroupEntry", id: "8402226dbc8c7857", size: new __O(8, 1) }; }
28
+ getPosition() { return __S.getUint32(0, this); }
29
+ setPosition(value) { __S.setUint32(0, value, this); }
30
+ adoptItem(value) { __S.adopt(value, __S.getPointer(0, this)); }
31
+ disownItem() { return __S.disown(this.getItem()); }
32
+ getItem() { return __S.getStruct(0, NftAssetSubgroup, this); }
33
+ hasItem() { return !__S.isNull(__S.getPointer(0, this)); }
34
+ initItem() { return __S.initStructAt(0, NftAssetSubgroup, this); }
35
+ setItem(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
36
+ toString() { return "NftAssetSubgroupEntry_" + super.toString(); }
37
+ }
38
+ export var CoinAssetTx_AmtCoin_Which;
39
+ (function (CoinAssetTx_AmtCoin_Which) {
40
+ CoinAssetTx_AmtCoin_Which[CoinAssetTx_AmtCoin_Which["SOME"] = 0] = "SOME";
41
+ CoinAssetTx_AmtCoin_Which[CoinAssetTx_AmtCoin_Which["NONE"] = 1] = "NONE";
42
+ })(CoinAssetTx_AmtCoin_Which || (CoinAssetTx_AmtCoin_Which = {}));
43
+ export class CoinAssetTx_AmtCoin extends __S {
44
+ static { this.SOME = CoinAssetTx_AmtCoin_Which.SOME; }
45
+ static { this.NONE = CoinAssetTx_AmtCoin_Which.NONE; }
46
+ static { this._capnp = { displayName: "amtCoin", id: "c8fc567a6493a1b6", size: new __O(16, 4) }; }
47
+ getSome() {
48
+ __S.testWhich("some", __S.getUint16(4, this), 0, this);
49
+ return __S.getUint64(8, this);
50
+ }
51
+ isSome() { return __S.getUint16(4, this) === 0; }
52
+ setSome(value) {
53
+ __S.setUint16(4, 0, this);
54
+ __S.setUint64(8, value, this);
55
+ }
56
+ isNone() { return __S.getUint16(4, this) === 1; }
57
+ setNone() { __S.setUint16(4, 1, this); }
58
+ toString() { return "CoinAssetTx_AmtCoin_" + super.toString(); }
59
+ which() { return __S.getUint16(4, this); }
60
+ }
61
+ export class CoinAssetTx extends __S {
62
+ static { this._capnp = { displayName: "CoinAssetTx", id: "eed83b251db4f8d7", size: new __O(16, 4) }; }
63
+ getNonce() { return __S.getUint32(0, this); }
64
+ setNonce(value) { __S.setUint32(0, value, this); }
65
+ getAmtCoin() { return __S.getAs(CoinAssetTx_AmtCoin, this); }
66
+ initAmtCoin() { return __S.getAs(CoinAssetTx_AmtCoin, this); }
67
+ adoptTokenAssetSubgroups(value) { __S.adopt(value, __S.getPointer(0, this)); }
68
+ disownTokenAssetSubgroups() { return __S.disown(this.getTokenAssetSubgroups()); }
69
+ getTokenAssetSubgroups() { return __S.getList(0, CoinAssetTx._TokenAssetSubgroups, this); }
70
+ hasTokenAssetSubgroups() { return !__S.isNull(__S.getPointer(0, this)); }
71
+ initTokenAssetSubgroups(length) { return __S.initList(0, CoinAssetTx._TokenAssetSubgroups, length, this); }
72
+ setTokenAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
73
+ adoptNftAssetSubgroups(value) { __S.adopt(value, __S.getPointer(1, this)); }
74
+ disownNftAssetSubgroups() { return __S.disown(this.getNftAssetSubgroups()); }
75
+ getNftAssetSubgroups() { return __S.getList(1, CoinAssetTx._NftAssetSubgroups, this); }
76
+ hasNftAssetSubgroups() { return !__S.isNull(__S.getPointer(1, this)); }
77
+ initNftAssetSubgroups(length) { return __S.initList(1, CoinAssetTx._NftAssetSubgroups, length, this); }
78
+ setNftAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
79
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(2, this)); }
80
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
81
+ getAcctNumRcv() { return __S.getData(2, this); }
82
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(2, this)); }
83
+ initAcctNumRcv(length) { return __S.initData(2, length, this); }
84
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
85
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(3, this)); }
86
+ disownPubKey() { return __S.disown(this.getPubKey()); }
87
+ getPubKey() { return __S.getData(3, this); }
88
+ hasPubKey() { return !__S.isNull(__S.getPointer(3, this)); }
89
+ initPubKey(length) { return __S.initData(3, length, this); }
90
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(3, this)); }
91
+ toString() { return "CoinAssetTx_" + super.toString(); }
92
+ }
93
+ export var CoinBurnTx_AmtCoin_Which;
94
+ (function (CoinBurnTx_AmtCoin_Which) {
95
+ CoinBurnTx_AmtCoin_Which[CoinBurnTx_AmtCoin_Which["SOME"] = 0] = "SOME";
96
+ CoinBurnTx_AmtCoin_Which[CoinBurnTx_AmtCoin_Which["NONE"] = 1] = "NONE";
97
+ })(CoinBurnTx_AmtCoin_Which || (CoinBurnTx_AmtCoin_Which = {}));
98
+ export class CoinBurnTx_AmtCoin extends __S {
99
+ static { this.SOME = CoinBurnTx_AmtCoin_Which.SOME; }
100
+ static { this.NONE = CoinBurnTx_AmtCoin_Which.NONE; }
101
+ static { this._capnp = { displayName: "amtCoin", id: "858b7a8f2b073861", size: new __O(16, 3) }; }
102
+ getSome() {
103
+ __S.testWhich("some", __S.getUint16(4, this), 0, this);
104
+ return __S.getUint64(8, this);
105
+ }
106
+ isSome() { return __S.getUint16(4, this) === 0; }
107
+ setSome(value) {
108
+ __S.setUint16(4, 0, this);
109
+ __S.setUint64(8, value, this);
110
+ }
111
+ isNone() { return __S.getUint16(4, this) === 1; }
112
+ setNone() { __S.setUint16(4, 1, this); }
113
+ toString() { return "CoinBurnTx_AmtCoin_" + super.toString(); }
114
+ which() { return __S.getUint16(4, this); }
115
+ }
116
+ export class CoinBurnTx extends __S {
117
+ static { this._capnp = { displayName: "CoinBurnTx", id: "c9dc8daf34dc6a48", size: new __O(16, 3) }; }
118
+ getNonce() { return __S.getUint32(0, this); }
119
+ setNonce(value) { __S.setUint32(0, value, this); }
120
+ getAmtCoin() { return __S.getAs(CoinBurnTx_AmtCoin, this); }
121
+ initAmtCoin() { return __S.getAs(CoinBurnTx_AmtCoin, this); }
122
+ adoptTokenAssetSubgroups(value) { __S.adopt(value, __S.getPointer(0, this)); }
123
+ disownTokenAssetSubgroups() { return __S.disown(this.getTokenAssetSubgroups()); }
124
+ getTokenAssetSubgroups() { return __S.getList(0, CoinBurnTx._TokenAssetSubgroups, this); }
125
+ hasTokenAssetSubgroups() { return !__S.isNull(__S.getPointer(0, this)); }
126
+ initTokenAssetSubgroups(length) { return __S.initList(0, CoinBurnTx._TokenAssetSubgroups, length, this); }
127
+ setTokenAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
128
+ adoptNftAssetSubgroups(value) { __S.adopt(value, __S.getPointer(1, this)); }
129
+ disownNftAssetSubgroups() { return __S.disown(this.getNftAssetSubgroups()); }
130
+ getNftAssetSubgroups() { return __S.getList(1, CoinBurnTx._NftAssetSubgroups, this); }
131
+ hasNftAssetSubgroups() { return !__S.isNull(__S.getPointer(1, this)); }
132
+ initNftAssetSubgroups(length) { return __S.initList(1, CoinBurnTx._NftAssetSubgroups, length, this); }
133
+ setNftAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
134
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(2, this)); }
135
+ disownPubKey() { return __S.disown(this.getPubKey()); }
136
+ getPubKey() { return __S.getData(2, this); }
137
+ hasPubKey() { return !__S.isNull(__S.getPointer(2, this)); }
138
+ initPubKey(length) { return __S.initData(2, length, this); }
139
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
140
+ toString() { return "CoinBurnTx_" + super.toString(); }
141
+ }
142
+ export var CoinHlTx_AmtCoin_Which;
143
+ (function (CoinHlTx_AmtCoin_Which) {
144
+ CoinHlTx_AmtCoin_Which[CoinHlTx_AmtCoin_Which["SOME"] = 0] = "SOME";
145
+ CoinHlTx_AmtCoin_Which[CoinHlTx_AmtCoin_Which["NONE"] = 1] = "NONE";
146
+ })(CoinHlTx_AmtCoin_Which || (CoinHlTx_AmtCoin_Which = {}));
147
+ export class CoinHlTx_AmtCoin extends __S {
148
+ static { this.SOME = CoinHlTx_AmtCoin_Which.SOME; }
149
+ static { this.NONE = CoinHlTx_AmtCoin_Which.NONE; }
150
+ static { this._capnp = { displayName: "amtCoin", id: "e345377f1711cca5", size: new __O(24, 7) }; }
151
+ getSome() {
152
+ __S.testWhich("some", __S.getUint16(16, this), 0, this);
153
+ return __S.getUint64(8, this);
154
+ }
155
+ isSome() { return __S.getUint16(16, this) === 0; }
156
+ setSome(value) {
157
+ __S.setUint16(16, 0, this);
158
+ __S.setUint64(8, value, this);
159
+ }
160
+ isNone() { return __S.getUint16(16, this) === 1; }
161
+ setNone() { __S.setUint16(16, 1, this); }
162
+ toString() { return "CoinHlTx_AmtCoin_" + super.toString(); }
163
+ which() { return __S.getUint16(16, this); }
164
+ }
165
+ export class CoinHlTx extends __S {
166
+ static { this._capnp = { displayName: "CoinHlTx", id: "df3b75893ec01b2e", size: new __O(24, 7) }; }
167
+ getNonce() { return __S.getUint32(0, this); }
168
+ setNonce(value) { __S.setUint32(0, value, this); }
169
+ getAmtCoin() { return __S.getAs(CoinHlTx_AmtCoin, this); }
170
+ initAmtCoin() { return __S.getAs(CoinHlTx_AmtCoin, this); }
171
+ adoptTokenAssetSubgroups(value) { __S.adopt(value, __S.getPointer(0, this)); }
172
+ disownTokenAssetSubgroups() { return __S.disown(this.getTokenAssetSubgroups()); }
173
+ getTokenAssetSubgroups() { return __S.getList(0, CoinHlTx._TokenAssetSubgroups, this); }
174
+ hasTokenAssetSubgroups() { return !__S.isNull(__S.getPointer(0, this)); }
175
+ initTokenAssetSubgroups(length) { return __S.initList(0, CoinHlTx._TokenAssetSubgroups, length, this); }
176
+ setTokenAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
177
+ adoptNftAssetSubgroups(value) { __S.adopt(value, __S.getPointer(1, this)); }
178
+ disownNftAssetSubgroups() { return __S.disown(this.getNftAssetSubgroups()); }
179
+ getNftAssetSubgroups() { return __S.getList(1, CoinHlTx._NftAssetSubgroups, this); }
180
+ hasNftAssetSubgroups() { return !__S.isNull(__S.getPointer(1, this)); }
181
+ initNftAssetSubgroups(length) { return __S.initList(1, CoinHlTx._NftAssetSubgroups, length, this); }
182
+ setNftAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
183
+ adoptHlDigest(value) { __S.adopt(value, __S.getPointer(2, this)); }
184
+ disownHlDigest() { return __S.disown(this.getHlDigest()); }
185
+ getHlDigest() { return __S.getData(2, this); }
186
+ hasHlDigest() { return !__S.isNull(__S.getPointer(2, this)); }
187
+ initHlDigest(length) { return __S.initData(2, length, this); }
188
+ setHlDigest(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
189
+ getBlockNumRfd() { return __S.getUint32(4, this); }
190
+ setBlockNumRfd(value) { __S.setUint32(4, value, this); }
191
+ adoptAcctNumRfd(value) { __S.adopt(value, __S.getPointer(3, this)); }
192
+ disownAcctNumRfd() { return __S.disown(this.getAcctNumRfd()); }
193
+ getAcctNumRfd() { return __S.getData(3, this); }
194
+ hasAcctNumRfd() { return !__S.isNull(__S.getPointer(3, this)); }
195
+ initAcctNumRfd(length) { return __S.initData(3, length, this); }
196
+ setAcctNumRfd(value) { __S.copyFrom(value, __S.getPointer(3, this)); }
197
+ adoptAcctNumHlTar(value) { __S.adopt(value, __S.getPointer(4, this)); }
198
+ disownAcctNumHlTar() { return __S.disown(this.getAcctNumHlTar()); }
199
+ getAcctNumHlTar() { return __S.getData(4, this); }
200
+ hasAcctNumHlTar() { return !__S.isNull(__S.getPointer(4, this)); }
201
+ initAcctNumHlTar(length) { return __S.initData(4, length, this); }
202
+ setAcctNumHlTar(value) { __S.copyFrom(value, __S.getPointer(4, this)); }
203
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(5, this)); }
204
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
205
+ getAcctNumRcv() { return __S.getData(5, this); }
206
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(5, this)); }
207
+ initAcctNumRcv(length) { return __S.initData(5, length, this); }
208
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(5, this)); }
209
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(6, this)); }
210
+ disownPubKey() { return __S.disown(this.getPubKey()); }
211
+ getPubKey() { return __S.getData(6, this); }
212
+ hasPubKey() { return !__S.isNull(__S.getPointer(6, this)); }
213
+ initPubKey(length) { return __S.initData(6, length, this); }
214
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(6, this)); }
215
+ toString() { return "CoinHlTx_" + super.toString(); }
216
+ }
217
+ export class CoinMicroTx extends __S {
218
+ static { this._capnp = { displayName: "CoinMicroTx", id: "876c1af780fb99c2", size: new __O(8, 3) }; }
219
+ getNonce() { return __S.getUint32(0, this); }
220
+ setNonce(value) { __S.setUint32(0, value, this); }
221
+ getBlockNumRfd() { return __S.getUint32(4, this); }
222
+ setBlockNumRfd(value) { __S.setUint32(4, value, this); }
223
+ adoptAcctNumRfd(value) { __S.adopt(value, __S.getPointer(0, this)); }
224
+ disownAcctNumRfd() { return __S.disown(this.getAcctNumRfd()); }
225
+ getAcctNumRfd() { return __S.getData(0, this); }
226
+ hasAcctNumRfd() { return !__S.isNull(__S.getPointer(0, this)); }
227
+ initAcctNumRfd(length) { return __S.initData(0, length, this); }
228
+ setAcctNumRfd(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
229
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(1, this)); }
230
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
231
+ getAcctNumRcv() { return __S.getData(1, this); }
232
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(1, this)); }
233
+ initAcctNumRcv(length) { return __S.initData(1, length, this); }
234
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
235
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(2, this)); }
236
+ disownPubKey() { return __S.disown(this.getPubKey()); }
237
+ getPubKey() { return __S.getData(2, this); }
238
+ hasPubKey() { return !__S.isNull(__S.getPointer(2, this)); }
239
+ initPubKey(length) { return __S.initData(2, length, this); }
240
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
241
+ toString() { return "CoinMicroTx_" + super.toString(); }
242
+ }
243
+ export class CoinPiTx extends __S {
244
+ static { this._capnp = { displayName: "CoinPiTx", id: "b391c77a3ee33c32", size: new __O(0, 3) }; }
245
+ adoptHlPreImage(value) { __S.adopt(value, __S.getPointer(0, this)); }
246
+ disownHlPreImage() { return __S.disown(this.getHlPreImage()); }
247
+ getHlPreImage() { return __S.getData(0, this); }
248
+ hasHlPreImage() { return !__S.isNull(__S.getPointer(0, this)); }
249
+ initHlPreImage(length) { return __S.initData(0, length, this); }
250
+ setHlPreImage(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
251
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(1, this)); }
252
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
253
+ getAcctNumRcv() { return __S.getData(1, this); }
254
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(1, this)); }
255
+ initAcctNumRcv(length) { return __S.initData(1, length, this); }
256
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
257
+ adoptAcctNumVal(value) { __S.adopt(value, __S.getPointer(2, this)); }
258
+ disownAcctNumVal() { return __S.disown(this.getAcctNumVal()); }
259
+ getAcctNumVal() { return __S.getData(2, this); }
260
+ hasAcctNumVal() { return !__S.isNull(__S.getPointer(2, this)); }
261
+ initAcctNumVal(length) { return __S.initData(2, length, this); }
262
+ setAcctNumVal(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
263
+ toString() { return "CoinPiTx_" + super.toString(); }
264
+ }
265
+ export var CoinTx_TxType_Which;
266
+ (function (CoinTx_TxType_Which) {
267
+ CoinTx_TxType_Which[CoinTx_TxType_Which["ASSET"] = 0] = "ASSET";
268
+ CoinTx_TxType_Which[CoinTx_TxType_Which["BURN"] = 1] = "BURN";
269
+ CoinTx_TxType_Which[CoinTx_TxType_Which["HL"] = 2] = "HL";
270
+ CoinTx_TxType_Which[CoinTx_TxType_Which["MICRO"] = 3] = "MICRO";
271
+ CoinTx_TxType_Which[CoinTx_TxType_Which["PI"] = 4] = "PI";
272
+ })(CoinTx_TxType_Which || (CoinTx_TxType_Which = {}));
273
+ export class CoinTx_TxType extends __S {
274
+ static { this.ASSET = CoinTx_TxType_Which.ASSET; }
275
+ static { this.BURN = CoinTx_TxType_Which.BURN; }
276
+ static { this.HL = CoinTx_TxType_Which.HL; }
277
+ static { this.MICRO = CoinTx_TxType_Which.MICRO; }
278
+ static { this.PI = CoinTx_TxType_Which.PI; }
279
+ static { this._capnp = { displayName: "txType", id: "c2370419be668e08", size: new __O(8, 1) }; }
280
+ adoptAsset(value) {
281
+ __S.setUint16(0, 0, this);
282
+ __S.adopt(value, __S.getPointer(0, this));
283
+ }
284
+ disownAsset() { return __S.disown(this.getAsset()); }
285
+ getAsset() {
286
+ __S.testWhich("asset", __S.getUint16(0, this), 0, this);
287
+ return __S.getStruct(0, CoinAssetTx, this);
288
+ }
289
+ hasAsset() { return !__S.isNull(__S.getPointer(0, this)); }
290
+ initAsset() {
291
+ __S.setUint16(0, 0, this);
292
+ return __S.initStructAt(0, CoinAssetTx, this);
293
+ }
294
+ isAsset() { return __S.getUint16(0, this) === 0; }
295
+ setAsset(value) {
296
+ __S.setUint16(0, 0, this);
297
+ __S.copyFrom(value, __S.getPointer(0, this));
298
+ }
299
+ adoptBurn(value) {
300
+ __S.setUint16(0, 1, this);
301
+ __S.adopt(value, __S.getPointer(0, this));
302
+ }
303
+ disownBurn() { return __S.disown(this.getBurn()); }
304
+ getBurn() {
305
+ __S.testWhich("burn", __S.getUint16(0, this), 1, this);
306
+ return __S.getStruct(0, CoinBurnTx, this);
307
+ }
308
+ hasBurn() { return !__S.isNull(__S.getPointer(0, this)); }
309
+ initBurn() {
310
+ __S.setUint16(0, 1, this);
311
+ return __S.initStructAt(0, CoinBurnTx, this);
312
+ }
313
+ isBurn() { return __S.getUint16(0, this) === 1; }
314
+ setBurn(value) {
315
+ __S.setUint16(0, 1, this);
316
+ __S.copyFrom(value, __S.getPointer(0, this));
317
+ }
318
+ adoptHl(value) {
319
+ __S.setUint16(0, 2, this);
320
+ __S.adopt(value, __S.getPointer(0, this));
321
+ }
322
+ disownHl() { return __S.disown(this.getHl()); }
323
+ getHl() {
324
+ __S.testWhich("hl", __S.getUint16(0, this), 2, this);
325
+ return __S.getStruct(0, CoinHlTx, this);
326
+ }
327
+ hasHl() { return !__S.isNull(__S.getPointer(0, this)); }
328
+ initHl() {
329
+ __S.setUint16(0, 2, this);
330
+ return __S.initStructAt(0, CoinHlTx, this);
331
+ }
332
+ isHl() { return __S.getUint16(0, this) === 2; }
333
+ setHl(value) {
334
+ __S.setUint16(0, 2, this);
335
+ __S.copyFrom(value, __S.getPointer(0, this));
336
+ }
337
+ adoptMicro(value) {
338
+ __S.setUint16(0, 3, this);
339
+ __S.adopt(value, __S.getPointer(0, this));
340
+ }
341
+ disownMicro() { return __S.disown(this.getMicro()); }
342
+ getMicro() {
343
+ __S.testWhich("micro", __S.getUint16(0, this), 3, this);
344
+ return __S.getStruct(0, CoinMicroTx, this);
345
+ }
346
+ hasMicro() { return !__S.isNull(__S.getPointer(0, this)); }
347
+ initMicro() {
348
+ __S.setUint16(0, 3, this);
349
+ return __S.initStructAt(0, CoinMicroTx, this);
350
+ }
351
+ isMicro() { return __S.getUint16(0, this) === 3; }
352
+ setMicro(value) {
353
+ __S.setUint16(0, 3, this);
354
+ __S.copyFrom(value, __S.getPointer(0, this));
355
+ }
356
+ adoptPi(value) {
357
+ __S.setUint16(0, 4, this);
358
+ __S.adopt(value, __S.getPointer(0, this));
359
+ }
360
+ disownPi() { return __S.disown(this.getPi()); }
361
+ getPi() {
362
+ __S.testWhich("pi", __S.getUint16(0, this), 4, this);
363
+ return __S.getStruct(0, CoinPiTx, this);
364
+ }
365
+ hasPi() { return !__S.isNull(__S.getPointer(0, this)); }
366
+ initPi() {
367
+ __S.setUint16(0, 4, this);
368
+ return __S.initStructAt(0, CoinPiTx, this);
369
+ }
370
+ isPi() { return __S.getUint16(0, this) === 4; }
371
+ setPi(value) {
372
+ __S.setUint16(0, 4, this);
373
+ __S.copyFrom(value, __S.getPointer(0, this));
374
+ }
375
+ toString() { return "CoinTx_TxType_" + super.toString(); }
376
+ which() { return __S.getUint16(0, this); }
377
+ }
378
+ export class CoinTx extends __S {
379
+ static { this._capnp = { displayName: "CoinTx", id: "9ce419b50c3b8bc4", size: new __O(8, 1) }; }
380
+ getTxType() { return __S.getAs(CoinTx_TxType, this); }
381
+ initTxType() { return __S.getAs(CoinTx_TxType, this); }
382
+ toString() { return "CoinTx_" + super.toString(); }
383
+ }
384
+ export class AcctNumEntry extends __S {
385
+ static { this._capnp = { displayName: "AcctNumEntry", id: "d44ddbf2ec12869b", size: new __O(8, 1) }; }
386
+ getPosition() { return __S.getUint16(0, this); }
387
+ setPosition(value) { __S.setUint16(0, value, this); }
388
+ adoptItem(value) { __S.adopt(value, __S.getPointer(0, this)); }
389
+ disownItem() { return __S.disown(this.getItem()); }
390
+ getItem() { return __S.getData(0, this); }
391
+ hasItem() { return !__S.isNull(__S.getPointer(0, this)); }
392
+ initItem(length) { return __S.initData(0, length, this); }
393
+ setItem(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
394
+ toString() { return "AcctNumEntry_" + super.toString(); }
395
+ }
396
+ export class ProxyCreateDceTx extends __S {
397
+ static { this._capnp = { displayName: "ProxyCreateDceTx", id: "f9b4142d6749b273", size: new __O(0, 2) }; }
398
+ adoptAcctNumAdminUser(value) { __S.adopt(value, __S.getPointer(0, this)); }
399
+ disownAcctNumAdminUser() { return __S.disown(this.getAcctNumAdminUser()); }
400
+ getAcctNumAdminUser() { return __S.getData(0, this); }
401
+ hasAcctNumAdminUser() { return !__S.isNull(__S.getPointer(0, this)); }
402
+ initAcctNumAdminUser(length) { return __S.initData(0, length, this); }
403
+ setAcctNumAdminUser(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
404
+ adoptAcctNumMultiUsers(value) { __S.adopt(value, __S.getPointer(1, this)); }
405
+ disownAcctNumMultiUsers() { return __S.disown(this.getAcctNumMultiUsers()); }
406
+ getAcctNumMultiUsers() { return __S.getList(1, ProxyCreateDceTx._AcctNumMultiUsers, this); }
407
+ hasAcctNumMultiUsers() { return !__S.isNull(__S.getPointer(1, this)); }
408
+ initAcctNumMultiUsers(length) { return __S.initList(1, ProxyCreateDceTx._AcctNumMultiUsers, length, this); }
409
+ setAcctNumMultiUsers(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
410
+ toString() { return "ProxyCreateDceTx_" + super.toString(); }
411
+ }
412
+ export class ProxyCreateFundingTx extends __S {
413
+ static { this._capnp = { displayName: "ProxyCreateFundingTx", id: "cb0fa8df1de0f87d", size: new __O(0, 2) }; }
414
+ adoptAcctNumAdminUser(value) { __S.adopt(value, __S.getPointer(0, this)); }
415
+ disownAcctNumAdminUser() { return __S.disown(this.getAcctNumAdminUser()); }
416
+ getAcctNumAdminUser() { return __S.getData(0, this); }
417
+ hasAcctNumAdminUser() { return !__S.isNull(__S.getPointer(0, this)); }
418
+ initAcctNumAdminUser(length) { return __S.initData(0, length, this); }
419
+ setAcctNumAdminUser(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
420
+ adoptAcctNumMultiUsers(value) { __S.adopt(value, __S.getPointer(1, this)); }
421
+ disownAcctNumMultiUsers() { return __S.disown(this.getAcctNumMultiUsers()); }
422
+ getAcctNumMultiUsers() { return __S.getList(1, ProxyCreateFundingTx._AcctNumMultiUsers, this); }
423
+ hasAcctNumMultiUsers() { return !__S.isNull(__S.getPointer(1, this)); }
424
+ initAcctNumMultiUsers(length) { return __S.initList(1, ProxyCreateFundingTx._AcctNumMultiUsers, length, this); }
425
+ setAcctNumMultiUsers(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
426
+ toString() { return "ProxyCreateFundingTx_" + super.toString(); }
427
+ }
428
+ export class ProxyCreateMultisigTx extends __S {
429
+ static { this._capnp = { displayName: "ProxyCreateMultisigTx", id: "ffcb92410ccb0c7e", size: new __O(8, 1) }; }
430
+ adoptAcctNumMultiUsers(value) { __S.adopt(value, __S.getPointer(0, this)); }
431
+ disownAcctNumMultiUsers() { return __S.disown(this.getAcctNumMultiUsers()); }
432
+ getAcctNumMultiUsers() { return __S.getList(0, ProxyCreateMultisigTx._AcctNumMultiUsers, this); }
433
+ hasAcctNumMultiUsers() { return !__S.isNull(__S.getPointer(0, this)); }
434
+ initAcctNumMultiUsers(length) { return __S.initList(0, ProxyCreateMultisigTx._AcctNumMultiUsers, length, this); }
435
+ setAcctNumMultiUsers(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
436
+ getSigThreshold() { return __S.getUint16(0, this); }
437
+ setSigThreshold(value) { __S.setUint16(0, value, this); }
438
+ toString() { return "ProxyCreateMultisigTx_" + super.toString(); }
439
+ }
440
+ export class ProxyCreateNftMintTx extends __S {
441
+ static { this._capnp = { displayName: "ProxyCreateNftMintTx", id: "bfc046025d39f551", size: new __O(0, 1) }; }
442
+ adoptAcctNumAdminUser(value) { __S.adopt(value, __S.getPointer(0, this)); }
443
+ disownAcctNumAdminUser() { return __S.disown(this.getAcctNumAdminUser()); }
444
+ getAcctNumAdminUser() { return __S.getData(0, this); }
445
+ hasAcctNumAdminUser() { return !__S.isNull(__S.getPointer(0, this)); }
446
+ initAcctNumAdminUser(length) { return __S.initData(0, length, this); }
447
+ setAcctNumAdminUser(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
448
+ toString() { return "ProxyCreateNftMintTx_" + super.toString(); }
449
+ }
450
+ export class ProxyCreateTokenMintTx extends __S {
451
+ static { this._capnp = { displayName: "ProxyCreateTokenMintTx", id: "be7d7d622a61537b", size: new __O(16, 2) }; }
452
+ adoptTokenAssetSubgroup(value) { __S.adopt(value, __S.getPointer(0, this)); }
453
+ disownTokenAssetSubgroup() { return __S.disown(this.getTokenAssetSubgroup()); }
454
+ getTokenAssetSubgroup() { return __S.getStruct(0, TokenAssetSubgroup, this); }
455
+ hasTokenAssetSubgroup() { return !__S.isNull(__S.getPointer(0, this)); }
456
+ initTokenAssetSubgroup() { return __S.initStructAt(0, TokenAssetSubgroup, this); }
457
+ setTokenAssetSubgroup(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
458
+ getAmtTokenMax() { return __S.getUint64(0, this); }
459
+ setAmtTokenMax(value) { __S.setUint64(0, value, this); }
460
+ getAmtTokenAuth() { return __S.getUint64(8, this); }
461
+ setAmtTokenAuth(value) { __S.setUint64(8, value, this); }
462
+ adoptAcctNumAdminUser(value) { __S.adopt(value, __S.getPointer(1, this)); }
463
+ disownAcctNumAdminUser() { return __S.disown(this.getAcctNumAdminUser()); }
464
+ getAcctNumAdminUser() { return __S.getData(1, this); }
465
+ hasAcctNumAdminUser() { return !__S.isNull(__S.getPointer(1, this)); }
466
+ initAcctNumAdminUser(length) { return __S.initData(1, length, this); }
467
+ setAcctNumAdminUser(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
468
+ toString() { return "ProxyCreateTokenMintTx_" + super.toString(); }
469
+ }
470
+ export var ProxyCreateTx_TxType_Which;
471
+ (function (ProxyCreateTx_TxType_Which) {
472
+ ProxyCreateTx_TxType_Which[ProxyCreateTx_TxType_Which["DCE"] = 4] = "DCE";
473
+ ProxyCreateTx_TxType_Which[ProxyCreateTx_TxType_Which["FUNDING"] = 2] = "FUNDING";
474
+ ProxyCreateTx_TxType_Which[ProxyCreateTx_TxType_Which["MULTISIG"] = 0] = "MULTISIG";
475
+ ProxyCreateTx_TxType_Which[ProxyCreateTx_TxType_Which["NFT_MINT"] = 1] = "NFT_MINT";
476
+ ProxyCreateTx_TxType_Which[ProxyCreateTx_TxType_Which["TOKEN_MINT"] = 3] = "TOKEN_MINT";
477
+ })(ProxyCreateTx_TxType_Which || (ProxyCreateTx_TxType_Which = {}));
478
+ export class ProxyCreateTx_TxType extends __S {
479
+ static { this.DCE = ProxyCreateTx_TxType_Which.DCE; }
480
+ static { this.FUNDING = ProxyCreateTx_TxType_Which.FUNDING; }
481
+ static { this.MULTISIG = ProxyCreateTx_TxType_Which.MULTISIG; }
482
+ static { this.NFT_MINT = ProxyCreateTx_TxType_Which.NFT_MINT; }
483
+ static { this.TOKEN_MINT = ProxyCreateTx_TxType_Which.TOKEN_MINT; }
484
+ static { this._capnp = { displayName: "txType", id: "9b8638e7a77b1730", size: new __O(16, 3) }; }
485
+ adoptDce(value) {
486
+ __S.setUint16(4, 4, this);
487
+ __S.adopt(value, __S.getPointer(0, this));
488
+ }
489
+ disownDce() { return __S.disown(this.getDce()); }
490
+ getDce() {
491
+ __S.testWhich("dce", __S.getUint16(4, this), 4, this);
492
+ return __S.getStruct(0, ProxyCreateDceTx, this);
493
+ }
494
+ hasDce() { return !__S.isNull(__S.getPointer(0, this)); }
495
+ initDce() {
496
+ __S.setUint16(4, 4, this);
497
+ return __S.initStructAt(0, ProxyCreateDceTx, this);
498
+ }
499
+ isDce() { return __S.getUint16(4, this) === 4; }
500
+ setDce(value) {
501
+ __S.setUint16(4, 4, this);
502
+ __S.copyFrom(value, __S.getPointer(0, this));
503
+ }
504
+ adoptFunding(value) {
505
+ __S.setUint16(4, 2, this);
506
+ __S.adopt(value, __S.getPointer(0, this));
507
+ }
508
+ disownFunding() { return __S.disown(this.getFunding()); }
509
+ getFunding() {
510
+ __S.testWhich("funding", __S.getUint16(4, this), 2, this);
511
+ return __S.getStruct(0, ProxyCreateFundingTx, this);
512
+ }
513
+ hasFunding() { return !__S.isNull(__S.getPointer(0, this)); }
514
+ initFunding() {
515
+ __S.setUint16(4, 2, this);
516
+ return __S.initStructAt(0, ProxyCreateFundingTx, this);
517
+ }
518
+ isFunding() { return __S.getUint16(4, this) === 2; }
519
+ setFunding(value) {
520
+ __S.setUint16(4, 2, this);
521
+ __S.copyFrom(value, __S.getPointer(0, this));
522
+ }
523
+ adoptMultisig(value) {
524
+ __S.setUint16(4, 0, this);
525
+ __S.adopt(value, __S.getPointer(0, this));
526
+ }
527
+ disownMultisig() { return __S.disown(this.getMultisig()); }
528
+ getMultisig() {
529
+ __S.testWhich("multisig", __S.getUint16(4, this), 0, this);
530
+ return __S.getStruct(0, ProxyCreateMultisigTx, this);
531
+ }
532
+ hasMultisig() { return !__S.isNull(__S.getPointer(0, this)); }
533
+ initMultisig() {
534
+ __S.setUint16(4, 0, this);
535
+ return __S.initStructAt(0, ProxyCreateMultisigTx, this);
536
+ }
537
+ isMultisig() { return __S.getUint16(4, this) === 0; }
538
+ setMultisig(value) {
539
+ __S.setUint16(4, 0, this);
540
+ __S.copyFrom(value, __S.getPointer(0, this));
541
+ }
542
+ adoptNftMint(value) {
543
+ __S.setUint16(4, 1, this);
544
+ __S.adopt(value, __S.getPointer(0, this));
545
+ }
546
+ disownNftMint() { return __S.disown(this.getNftMint()); }
547
+ getNftMint() {
548
+ __S.testWhich("nftMint", __S.getUint16(4, this), 1, this);
549
+ return __S.getStruct(0, ProxyCreateNftMintTx, this);
550
+ }
551
+ hasNftMint() { return !__S.isNull(__S.getPointer(0, this)); }
552
+ initNftMint() {
553
+ __S.setUint16(4, 1, this);
554
+ return __S.initStructAt(0, ProxyCreateNftMintTx, this);
555
+ }
556
+ isNftMint() { return __S.getUint16(4, this) === 1; }
557
+ setNftMint(value) {
558
+ __S.setUint16(4, 1, this);
559
+ __S.copyFrom(value, __S.getPointer(0, this));
560
+ }
561
+ adoptTokenMint(value) {
562
+ __S.setUint16(4, 3, this);
563
+ __S.adopt(value, __S.getPointer(0, this));
564
+ }
565
+ disownTokenMint() { return __S.disown(this.getTokenMint()); }
566
+ getTokenMint() {
567
+ __S.testWhich("tokenMint", __S.getUint16(4, this), 3, this);
568
+ return __S.getStruct(0, ProxyCreateTokenMintTx, this);
569
+ }
570
+ hasTokenMint() { return !__S.isNull(__S.getPointer(0, this)); }
571
+ initTokenMint() {
572
+ __S.setUint16(4, 3, this);
573
+ return __S.initStructAt(0, ProxyCreateTokenMintTx, this);
574
+ }
575
+ isTokenMint() { return __S.getUint16(4, this) === 3; }
576
+ setTokenMint(value) {
577
+ __S.setUint16(4, 3, this);
578
+ __S.copyFrom(value, __S.getPointer(0, this));
579
+ }
580
+ toString() { return "ProxyCreateTx_TxType_" + super.toString(); }
581
+ which() { return __S.getUint16(4, this); }
582
+ }
583
+ export class ProxyCreateTx extends __S {
584
+ static { this._capnp = { displayName: "ProxyCreateTx", id: "97311dbc140cf063", size: new __O(16, 3) }; }
585
+ getTxType() { return __S.getAs(ProxyCreateTx_TxType, this); }
586
+ initTxType() { return __S.getAs(ProxyCreateTx_TxType, this); }
587
+ getNonce() { return __S.getUint32(0, this); }
588
+ setNonce(value) { __S.setUint32(0, value, this); }
589
+ getAmtCoin() { return __S.getUint64(8, this); }
590
+ setAmtCoin(value) { __S.setUint64(8, value, this); }
591
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(1, this)); }
592
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
593
+ getAcctNumRcv() { return __S.getData(1, this); }
594
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(1, this)); }
595
+ initAcctNumRcv(length) { return __S.initData(1, length, this); }
596
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
597
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(2, this)); }
598
+ disownPubKey() { return __S.disown(this.getPubKey()); }
599
+ getPubKey() { return __S.getData(2, this); }
600
+ hasPubKey() { return !__S.isNull(__S.getPointer(2, this)); }
601
+ initPubKey(length) { return __S.initData(2, length, this); }
602
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
603
+ toString() { return "ProxyCreateTx_" + super.toString(); }
604
+ }
605
+ export var ProxyAssetTx_TokenAssetSubgroup_Which;
606
+ (function (ProxyAssetTx_TokenAssetSubgroup_Which) {
607
+ ProxyAssetTx_TokenAssetSubgroup_Which[ProxyAssetTx_TokenAssetSubgroup_Which["SOME"] = 0] = "SOME";
608
+ ProxyAssetTx_TokenAssetSubgroup_Which[ProxyAssetTx_TokenAssetSubgroup_Which["NONE"] = 1] = "NONE";
609
+ })(ProxyAssetTx_TokenAssetSubgroup_Which || (ProxyAssetTx_TokenAssetSubgroup_Which = {}));
610
+ export class ProxyAssetTx_TokenAssetSubgroup extends __S {
611
+ static { this.SOME = ProxyAssetTx_TokenAssetSubgroup_Which.SOME; }
612
+ static { this.NONE = ProxyAssetTx_TokenAssetSubgroup_Which.NONE; }
613
+ static { this._capnp = { displayName: "tokenAssetSubgroup", id: "bd7638deaa4a6ea2", size: new __O(16, 2) }; }
614
+ adoptSome(value) {
615
+ __S.setUint16(8, 0, this);
616
+ __S.adopt(value, __S.getPointer(0, this));
617
+ }
618
+ disownSome() { return __S.disown(this.getSome()); }
619
+ getSome() {
620
+ __S.testWhich("some", __S.getUint16(8, this), 0, this);
621
+ return __S.getStruct(0, TokenAssetSubgroup, this);
622
+ }
623
+ hasSome() { return !__S.isNull(__S.getPointer(0, this)); }
624
+ initSome() {
625
+ __S.setUint16(8, 0, this);
626
+ return __S.initStructAt(0, TokenAssetSubgroup, this);
627
+ }
628
+ isSome() { return __S.getUint16(8, this) === 0; }
629
+ setSome(value) {
630
+ __S.setUint16(8, 0, this);
631
+ __S.copyFrom(value, __S.getPointer(0, this));
632
+ }
633
+ isNone() { return __S.getUint16(8, this) === 1; }
634
+ setNone() { __S.setUint16(8, 1, this); }
635
+ toString() { return "ProxyAssetTx_TokenAssetSubgroup_" + super.toString(); }
636
+ which() { return __S.getUint16(8, this); }
637
+ }
638
+ export class ProxyAssetTx extends __S {
639
+ static { this._capnp = { displayName: "ProxyAssetTx", id: "94caf17f7c6bd85e", size: new __O(16, 2) }; }
640
+ getAmtCoin() { return __S.getUint64(0, this); }
641
+ setAmtCoin(value) { __S.setUint64(0, value, this); }
642
+ getTokenAssetSubgroup() { return __S.getAs(ProxyAssetTx_TokenAssetSubgroup, this); }
643
+ initTokenAssetSubgroup() { return __S.getAs(ProxyAssetTx_TokenAssetSubgroup, this); }
644
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(1, this)); }
645
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
646
+ getAcctNumRcv() { return __S.getData(1, this); }
647
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(1, this)); }
648
+ initAcctNumRcv(length) { return __S.initData(1, length, this); }
649
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
650
+ toString() { return "ProxyAssetTx_" + super.toString(); }
651
+ }
652
+ export class ProxyDeleteRecTx extends __S {
653
+ static { this._capnp = { displayName: "ProxyDeleteRecTx", id: "c886745dc0126b8b", size: new __O(0, 1) }; }
654
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(0, this)); }
655
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
656
+ getAcctNumRcv() { return __S.getData(0, this); }
657
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(0, this)); }
658
+ initAcctNumRcv(length) { return __S.initData(0, length, this); }
659
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
660
+ toString() { return "ProxyDeleteRecTx_" + super.toString(); }
661
+ }
662
+ export var ProxyHlTx_TokenAssetSubgroup_Which;
663
+ (function (ProxyHlTx_TokenAssetSubgroup_Which) {
664
+ ProxyHlTx_TokenAssetSubgroup_Which[ProxyHlTx_TokenAssetSubgroup_Which["SOME"] = 0] = "SOME";
665
+ ProxyHlTx_TokenAssetSubgroup_Which[ProxyHlTx_TokenAssetSubgroup_Which["NONE"] = 1] = "NONE";
666
+ })(ProxyHlTx_TokenAssetSubgroup_Which || (ProxyHlTx_TokenAssetSubgroup_Which = {}));
667
+ export class ProxyHlTx_TokenAssetSubgroup extends __S {
668
+ static { this.SOME = ProxyHlTx_TokenAssetSubgroup_Which.SOME; }
669
+ static { this.NONE = ProxyHlTx_TokenAssetSubgroup_Which.NONE; }
670
+ static { this._capnp = { displayName: "tokenAssetSubgroup", id: "bb72ace3c976e426", size: new __O(16, 5) }; }
671
+ adoptSome(value) {
672
+ __S.setUint16(12, 0, this);
673
+ __S.adopt(value, __S.getPointer(0, this));
674
+ }
675
+ disownSome() { return __S.disown(this.getSome()); }
676
+ getSome() {
677
+ __S.testWhich("some", __S.getUint16(12, this), 0, this);
678
+ return __S.getStruct(0, TokenAssetSubgroup, this);
679
+ }
680
+ hasSome() { return !__S.isNull(__S.getPointer(0, this)); }
681
+ initSome() {
682
+ __S.setUint16(12, 0, this);
683
+ return __S.initStructAt(0, TokenAssetSubgroup, this);
684
+ }
685
+ isSome() { return __S.getUint16(12, this) === 0; }
686
+ setSome(value) {
687
+ __S.setUint16(12, 0, this);
688
+ __S.copyFrom(value, __S.getPointer(0, this));
689
+ }
690
+ isNone() { return __S.getUint16(12, this) === 1; }
691
+ setNone() { __S.setUint16(12, 1, this); }
692
+ toString() { return "ProxyHlTx_TokenAssetSubgroup_" + super.toString(); }
693
+ which() { return __S.getUint16(12, this); }
694
+ }
695
+ export class ProxyHlTx extends __S {
696
+ static { this._capnp = { displayName: "ProxyHlTx", id: "c7aaed11fc0189a3", size: new __O(16, 5) }; }
697
+ getAmtCoin() { return __S.getUint64(0, this); }
698
+ setAmtCoin(value) { __S.setUint64(0, value, this); }
699
+ getTokenAssetSubgroup() { return __S.getAs(ProxyHlTx_TokenAssetSubgroup, this); }
700
+ initTokenAssetSubgroup() { return __S.getAs(ProxyHlTx_TokenAssetSubgroup, this); }
701
+ adoptHlDigest(value) { __S.adopt(value, __S.getPointer(1, this)); }
702
+ disownHlDigest() { return __S.disown(this.getHlDigest()); }
703
+ getHlDigest() { return __S.getData(1, this); }
704
+ hasHlDigest() { return !__S.isNull(__S.getPointer(1, this)); }
705
+ initHlDigest(length) { return __S.initData(1, length, this); }
706
+ setHlDigest(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
707
+ getBlockNumRfd() { return __S.getUint32(8, this); }
708
+ setBlockNumRfd(value) { __S.setUint32(8, value, this); }
709
+ adoptAcctNumRfd(value) { __S.adopt(value, __S.getPointer(2, this)); }
710
+ disownAcctNumRfd() { return __S.disown(this.getAcctNumRfd()); }
711
+ getAcctNumRfd() { return __S.getData(2, this); }
712
+ hasAcctNumRfd() { return !__S.isNull(__S.getPointer(2, this)); }
713
+ initAcctNumRfd(length) { return __S.initData(2, length, this); }
714
+ setAcctNumRfd(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
715
+ adoptAcctNumHlTar(value) { __S.adopt(value, __S.getPointer(3, this)); }
716
+ disownAcctNumHlTar() { return __S.disown(this.getAcctNumHlTar()); }
717
+ getAcctNumHlTar() { return __S.getData(3, this); }
718
+ hasAcctNumHlTar() { return !__S.isNull(__S.getPointer(3, this)); }
719
+ initAcctNumHlTar(length) { return __S.initData(3, length, this); }
720
+ setAcctNumHlTar(value) { __S.copyFrom(value, __S.getPointer(3, this)); }
721
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(4, this)); }
722
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
723
+ getAcctNumRcv() { return __S.getData(4, this); }
724
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(4, this)); }
725
+ initAcctNumRcv(length) { return __S.initData(4, length, this); }
726
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(4, this)); }
727
+ toString() { return "ProxyHlTx_" + super.toString(); }
728
+ }
729
+ export class ProxyMintTokenTx extends __S {
730
+ static { this._capnp = { displayName: "ProxyMintTokenTx", id: "c0252769cede4864", size: new __O(0, 0) }; }
731
+ toString() { return "ProxyMintTokenTx_" + super.toString(); }
732
+ }
733
+ export class ProxySendTx extends __S {
734
+ static { this._capnp = { displayName: "ProxySendTx", id: "83101ef9b24e95d6", size: new __O(8, 0) }; }
735
+ getAmtCoin() { return __S.getUint64(0, this); }
736
+ setAmtCoin(value) { __S.setUint64(0, value, this); }
737
+ toString() { return "ProxySendTx_" + super.toString(); }
738
+ }
739
+ export class ProxyUpdateTx extends __S {
740
+ static { this._capnp = { displayName: "ProxyUpdateTx", id: "a07638490f94a33f", size: new __O(8, 1) }; }
741
+ getRecStatus() { return __S.getUint16(0, this); }
742
+ setRecStatus(value) { __S.setUint16(0, value, this); }
743
+ adoptAcctNumMultiUsers(value) { __S.adopt(value, __S.getPointer(0, this)); }
744
+ disownAcctNumMultiUsers() { return __S.disown(this.getAcctNumMultiUsers()); }
745
+ getAcctNumMultiUsers() { return __S.getList(0, ProxyUpdateTx._AcctNumMultiUsers, this); }
746
+ hasAcctNumMultiUsers() { return !__S.isNull(__S.getPointer(0, this)); }
747
+ initAcctNumMultiUsers(length) { return __S.initList(0, ProxyUpdateTx._AcctNumMultiUsers, length, this); }
748
+ setAcctNumMultiUsers(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
749
+ toString() { return "ProxyUpdateTx_" + super.toString(); }
750
+ }
751
+ export var ProxyAdminTx_TxType_Which;
752
+ (function (ProxyAdminTx_TxType_Which) {
753
+ ProxyAdminTx_TxType_Which[ProxyAdminTx_TxType_Which["ASSET"] = 0] = "ASSET";
754
+ ProxyAdminTx_TxType_Which[ProxyAdminTx_TxType_Which["DELETE_REC"] = 1] = "DELETE_REC";
755
+ ProxyAdminTx_TxType_Which[ProxyAdminTx_TxType_Which["HL"] = 2] = "HL";
756
+ ProxyAdminTx_TxType_Which[ProxyAdminTx_TxType_Which["MINT_TOKEN"] = 3] = "MINT_TOKEN";
757
+ ProxyAdminTx_TxType_Which[ProxyAdminTx_TxType_Which["SEND"] = 4] = "SEND";
758
+ ProxyAdminTx_TxType_Which[ProxyAdminTx_TxType_Which["UPDATE"] = 5] = "UPDATE";
759
+ })(ProxyAdminTx_TxType_Which || (ProxyAdminTx_TxType_Which = {}));
760
+ export class ProxyAdminTx_TxType extends __S {
761
+ static { this.ASSET = ProxyAdminTx_TxType_Which.ASSET; }
762
+ static { this.DELETE_REC = ProxyAdminTx_TxType_Which.DELETE_REC; }
763
+ static { this.HL = ProxyAdminTx_TxType_Which.HL; }
764
+ static { this.MINT_TOKEN = ProxyAdminTx_TxType_Which.MINT_TOKEN; }
765
+ static { this.SEND = ProxyAdminTx_TxType_Which.SEND; }
766
+ static { this.UPDATE = ProxyAdminTx_TxType_Which.UPDATE; }
767
+ static { this._capnp = { displayName: "txType", id: "e2309c07aa45ee09", size: new __O(8, 3) }; }
768
+ adoptAsset(value) {
769
+ __S.setUint16(4, 0, this);
770
+ __S.adopt(value, __S.getPointer(0, this));
771
+ }
772
+ disownAsset() { return __S.disown(this.getAsset()); }
773
+ getAsset() {
774
+ __S.testWhich("asset", __S.getUint16(4, this), 0, this);
775
+ return __S.getStruct(0, ProxyAssetTx, this);
776
+ }
777
+ hasAsset() { return !__S.isNull(__S.getPointer(0, this)); }
778
+ initAsset() {
779
+ __S.setUint16(4, 0, this);
780
+ return __S.initStructAt(0, ProxyAssetTx, this);
781
+ }
782
+ isAsset() { return __S.getUint16(4, this) === 0; }
783
+ setAsset(value) {
784
+ __S.setUint16(4, 0, this);
785
+ __S.copyFrom(value, __S.getPointer(0, this));
786
+ }
787
+ adoptDeleteRec(value) {
788
+ __S.setUint16(4, 1, this);
789
+ __S.adopt(value, __S.getPointer(0, this));
790
+ }
791
+ disownDeleteRec() { return __S.disown(this.getDeleteRec()); }
792
+ getDeleteRec() {
793
+ __S.testWhich("deleteRec", __S.getUint16(4, this), 1, this);
794
+ return __S.getStruct(0, ProxyDeleteRecTx, this);
795
+ }
796
+ hasDeleteRec() { return !__S.isNull(__S.getPointer(0, this)); }
797
+ initDeleteRec() {
798
+ __S.setUint16(4, 1, this);
799
+ return __S.initStructAt(0, ProxyDeleteRecTx, this);
800
+ }
801
+ isDeleteRec() { return __S.getUint16(4, this) === 1; }
802
+ setDeleteRec(value) {
803
+ __S.setUint16(4, 1, this);
804
+ __S.copyFrom(value, __S.getPointer(0, this));
805
+ }
806
+ adoptHl(value) {
807
+ __S.setUint16(4, 2, this);
808
+ __S.adopt(value, __S.getPointer(0, this));
809
+ }
810
+ disownHl() { return __S.disown(this.getHl()); }
811
+ getHl() {
812
+ __S.testWhich("hl", __S.getUint16(4, this), 2, this);
813
+ return __S.getStruct(0, ProxyHlTx, this);
814
+ }
815
+ hasHl() { return !__S.isNull(__S.getPointer(0, this)); }
816
+ initHl() {
817
+ __S.setUint16(4, 2, this);
818
+ return __S.initStructAt(0, ProxyHlTx, this);
819
+ }
820
+ isHl() { return __S.getUint16(4, this) === 2; }
821
+ setHl(value) {
822
+ __S.setUint16(4, 2, this);
823
+ __S.copyFrom(value, __S.getPointer(0, this));
824
+ }
825
+ adoptMintToken(value) {
826
+ __S.setUint16(4, 3, this);
827
+ __S.adopt(value, __S.getPointer(0, this));
828
+ }
829
+ disownMintToken() { return __S.disown(this.getMintToken()); }
830
+ getMintToken() {
831
+ __S.testWhich("mintToken", __S.getUint16(4, this), 3, this);
832
+ return __S.getStruct(0, ProxyMintTokenTx, this);
833
+ }
834
+ hasMintToken() { return !__S.isNull(__S.getPointer(0, this)); }
835
+ initMintToken() {
836
+ __S.setUint16(4, 3, this);
837
+ return __S.initStructAt(0, ProxyMintTokenTx, this);
838
+ }
839
+ isMintToken() { return __S.getUint16(4, this) === 3; }
840
+ setMintToken(value) {
841
+ __S.setUint16(4, 3, this);
842
+ __S.copyFrom(value, __S.getPointer(0, this));
843
+ }
844
+ adoptSend(value) {
845
+ __S.setUint16(4, 4, this);
846
+ __S.adopt(value, __S.getPointer(0, this));
847
+ }
848
+ disownSend() { return __S.disown(this.getSend()); }
849
+ getSend() {
850
+ __S.testWhich("send", __S.getUint16(4, this), 4, this);
851
+ return __S.getStruct(0, ProxySendTx, this);
852
+ }
853
+ hasSend() { return !__S.isNull(__S.getPointer(0, this)); }
854
+ initSend() {
855
+ __S.setUint16(4, 4, this);
856
+ return __S.initStructAt(0, ProxySendTx, this);
857
+ }
858
+ isSend() { return __S.getUint16(4, this) === 4; }
859
+ setSend(value) {
860
+ __S.setUint16(4, 4, this);
861
+ __S.copyFrom(value, __S.getPointer(0, this));
862
+ }
863
+ adoptUpdate(value) {
864
+ __S.setUint16(4, 5, this);
865
+ __S.adopt(value, __S.getPointer(0, this));
866
+ }
867
+ disownUpdate() { return __S.disown(this.getUpdate()); }
868
+ getUpdate() {
869
+ __S.testWhich("update", __S.getUint16(4, this), 5, this);
870
+ return __S.getStruct(0, ProxyUpdateTx, this);
871
+ }
872
+ hasUpdate() { return !__S.isNull(__S.getPointer(0, this)); }
873
+ initUpdate() {
874
+ __S.setUint16(4, 5, this);
875
+ return __S.initStructAt(0, ProxyUpdateTx, this);
876
+ }
877
+ isUpdate() { return __S.getUint16(4, this) === 5; }
878
+ setUpdate(value) {
879
+ __S.setUint16(4, 5, this);
880
+ __S.copyFrom(value, __S.getPointer(0, this));
881
+ }
882
+ toString() { return "ProxyAdminTx_TxType_" + super.toString(); }
883
+ which() { return __S.getUint16(4, this); }
884
+ }
885
+ export class ProxyAdminTx extends __S {
886
+ static { this._capnp = { displayName: "ProxyAdminTx", id: "932b45a6e7f66f9f", size: new __O(8, 3) }; }
887
+ getTxType() { return __S.getAs(ProxyAdminTx_TxType, this); }
888
+ initTxType() { return __S.getAs(ProxyAdminTx_TxType, this); }
889
+ getNonce() { return __S.getUint32(0, this); }
890
+ setNonce(value) { __S.setUint32(0, value, this); }
891
+ adoptAcctNumVal(value) { __S.adopt(value, __S.getPointer(1, this)); }
892
+ disownAcctNumVal() { return __S.disown(this.getAcctNumVal()); }
893
+ getAcctNumVal() { return __S.getData(1, this); }
894
+ hasAcctNumVal() { return !__S.isNull(__S.getPointer(1, this)); }
895
+ initAcctNumVal(length) { return __S.initData(1, length, this); }
896
+ setAcctNumVal(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
897
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(2, this)); }
898
+ disownPubKey() { return __S.disown(this.getPubKey()); }
899
+ getPubKey() { return __S.getData(2, this); }
900
+ hasPubKey() { return !__S.isNull(__S.getPointer(2, this)); }
901
+ initPubKey(length) { return __S.initData(2, length, this); }
902
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
903
+ toString() { return "ProxyAdminTx_" + super.toString(); }
904
+ }
905
+ export class MultisigAssetTx extends __S {
906
+ static { this._capnp = { displayName: "MultisigAssetTx", id: "c6a73bf48b71e3d4", size: new __O(0, 1) }; }
907
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(0, this)); }
908
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
909
+ getAcctNumRcv() { return __S.getData(0, this); }
910
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(0, this)); }
911
+ initAcctNumRcv(length) { return __S.initData(0, length, this); }
912
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
913
+ toString() { return "MultisigAssetTx_" + super.toString(); }
914
+ }
915
+ export class MultisigBurnTx extends __S {
916
+ static { this._capnp = { displayName: "MultisigBurnTx", id: "c0de84c8cfae6798", size: new __O(0, 0) }; }
917
+ toString() { return "MultisigBurnTx_" + super.toString(); }
918
+ }
919
+ export class MultisigHlTx extends __S {
920
+ static { this._capnp = { displayName: "MultisigHlTx", id: "f61a9d41591ef4ba", size: new __O(8, 4) }; }
921
+ adoptHlDigest(value) { __S.adopt(value, __S.getPointer(0, this)); }
922
+ disownHlDigest() { return __S.disown(this.getHlDigest()); }
923
+ getHlDigest() { return __S.getData(0, this); }
924
+ hasHlDigest() { return !__S.isNull(__S.getPointer(0, this)); }
925
+ initHlDigest(length) { return __S.initData(0, length, this); }
926
+ setHlDigest(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
927
+ getBlockNumRfd() { return __S.getUint32(0, this); }
928
+ setBlockNumRfd(value) { __S.setUint32(0, value, this); }
929
+ adoptAcctNumRfd(value) { __S.adopt(value, __S.getPointer(1, this)); }
930
+ disownAcctNumRfd() { return __S.disown(this.getAcctNumRfd()); }
931
+ getAcctNumRfd() { return __S.getData(1, this); }
932
+ hasAcctNumRfd() { return !__S.isNull(__S.getPointer(1, this)); }
933
+ initAcctNumRfd(length) { return __S.initData(1, length, this); }
934
+ setAcctNumRfd(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
935
+ adoptAcctNumHlTar(value) { __S.adopt(value, __S.getPointer(2, this)); }
936
+ disownAcctNumHlTar() { return __S.disown(this.getAcctNumHlTar()); }
937
+ getAcctNumHlTar() { return __S.getData(2, this); }
938
+ hasAcctNumHlTar() { return !__S.isNull(__S.getPointer(2, this)); }
939
+ initAcctNumHlTar(length) { return __S.initData(2, length, this); }
940
+ setAcctNumHlTar(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
941
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(3, this)); }
942
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
943
+ getAcctNumRcv() { return __S.getData(3, this); }
944
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(3, this)); }
945
+ initAcctNumRcv(length) { return __S.initData(3, length, this); }
946
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(3, this)); }
947
+ toString() { return "MultisigHlTx_" + super.toString(); }
948
+ }
949
+ export var MultisigTx_TxType_Which;
950
+ (function (MultisigTx_TxType_Which) {
951
+ MultisigTx_TxType_Which[MultisigTx_TxType_Which["ASSET"] = 0] = "ASSET";
952
+ MultisigTx_TxType_Which[MultisigTx_TxType_Which["BURN"] = 1] = "BURN";
953
+ MultisigTx_TxType_Which[MultisigTx_TxType_Which["HL"] = 2] = "HL";
954
+ })(MultisigTx_TxType_Which || (MultisigTx_TxType_Which = {}));
955
+ export class MultisigTx_TxType extends __S {
956
+ static { this.ASSET = MultisigTx_TxType_Which.ASSET; }
957
+ static { this.BURN = MultisigTx_TxType_Which.BURN; }
958
+ static { this.HL = MultisigTx_TxType_Which.HL; }
959
+ static { this._capnp = { displayName: "txType", id: "f1c1c13b42e7a9b0", size: new __O(24, 4) }; }
960
+ adoptAsset(value) {
961
+ __S.setUint16(8, 0, this);
962
+ __S.adopt(value, __S.getPointer(1, this));
963
+ }
964
+ disownAsset() { return __S.disown(this.getAsset()); }
965
+ getAsset() {
966
+ __S.testWhich("asset", __S.getUint16(8, this), 0, this);
967
+ return __S.getStruct(1, MultisigAssetTx, this);
968
+ }
969
+ hasAsset() { return !__S.isNull(__S.getPointer(1, this)); }
970
+ initAsset() {
971
+ __S.setUint16(8, 0, this);
972
+ return __S.initStructAt(1, MultisigAssetTx, this);
973
+ }
974
+ isAsset() { return __S.getUint16(8, this) === 0; }
975
+ setAsset(value) {
976
+ __S.setUint16(8, 0, this);
977
+ __S.copyFrom(value, __S.getPointer(1, this));
978
+ }
979
+ adoptBurn(value) {
980
+ __S.setUint16(8, 1, this);
981
+ __S.adopt(value, __S.getPointer(1, this));
982
+ }
983
+ disownBurn() { return __S.disown(this.getBurn()); }
984
+ getBurn() {
985
+ __S.testWhich("burn", __S.getUint16(8, this), 1, this);
986
+ return __S.getStruct(1, MultisigBurnTx, this);
987
+ }
988
+ hasBurn() { return !__S.isNull(__S.getPointer(1, this)); }
989
+ initBurn() {
990
+ __S.setUint16(8, 1, this);
991
+ return __S.initStructAt(1, MultisigBurnTx, this);
992
+ }
993
+ isBurn() { return __S.getUint16(8, this) === 1; }
994
+ setBurn(value) {
995
+ __S.setUint16(8, 1, this);
996
+ __S.copyFrom(value, __S.getPointer(1, this));
997
+ }
998
+ adoptHl(value) {
999
+ __S.setUint16(8, 2, this);
1000
+ __S.adopt(value, __S.getPointer(1, this));
1001
+ }
1002
+ disownHl() { return __S.disown(this.getHl()); }
1003
+ getHl() {
1004
+ __S.testWhich("hl", __S.getUint16(8, this), 2, this);
1005
+ return __S.getStruct(1, MultisigHlTx, this);
1006
+ }
1007
+ hasHl() { return !__S.isNull(__S.getPointer(1, this)); }
1008
+ initHl() {
1009
+ __S.setUint16(8, 2, this);
1010
+ return __S.initStructAt(1, MultisigHlTx, this);
1011
+ }
1012
+ isHl() { return __S.getUint16(8, this) === 2; }
1013
+ setHl(value) {
1014
+ __S.setUint16(8, 2, this);
1015
+ __S.copyFrom(value, __S.getPointer(1, this));
1016
+ }
1017
+ toString() { return "MultisigTx_TxType_" + super.toString(); }
1018
+ which() { return __S.getUint16(8, this); }
1019
+ }
1020
+ export var MultisigTx_AmtCoin_Which;
1021
+ (function (MultisigTx_AmtCoin_Which) {
1022
+ MultisigTx_AmtCoin_Which[MultisigTx_AmtCoin_Which["SOME"] = 0] = "SOME";
1023
+ MultisigTx_AmtCoin_Which[MultisigTx_AmtCoin_Which["NONE"] = 1] = "NONE";
1024
+ })(MultisigTx_AmtCoin_Which || (MultisigTx_AmtCoin_Which = {}));
1025
+ export class MultisigTx_AmtCoin extends __S {
1026
+ static { this.SOME = MultisigTx_AmtCoin_Which.SOME; }
1027
+ static { this.NONE = MultisigTx_AmtCoin_Which.NONE; }
1028
+ static { this._capnp = { displayName: "amtCoin", id: "d6894b8a44c48dce", size: new __O(24, 4) }; }
1029
+ getSome() {
1030
+ __S.testWhich("some", __S.getUint16(10, this), 0, this);
1031
+ return __S.getUint64(16, this);
1032
+ }
1033
+ isSome() { return __S.getUint16(10, this) === 0; }
1034
+ setSome(value) {
1035
+ __S.setUint16(10, 0, this);
1036
+ __S.setUint64(16, value, this);
1037
+ }
1038
+ isNone() { return __S.getUint16(10, this) === 1; }
1039
+ setNone() { __S.setUint16(10, 1, this); }
1040
+ toString() { return "MultisigTx_AmtCoin_" + super.toString(); }
1041
+ which() { return __S.getUint16(10, this); }
1042
+ }
1043
+ export class MultisigTx extends __S {
1044
+ static { this._capnp = { displayName: "MultisigTx", id: "ebb6c38a332bfc78", size: new __O(24, 4) }; }
1045
+ getTxType() { return __S.getAs(MultisigTx_TxType, this); }
1046
+ initTxType() { return __S.getAs(MultisigTx_TxType, this); }
1047
+ getNonce() { return __S.getUint32(0, this); }
1048
+ setNonce(value) { __S.setUint32(0, value, this); }
1049
+ getAmtCoin() { return __S.getAs(MultisigTx_AmtCoin, this); }
1050
+ initAmtCoin() { return __S.getAs(MultisigTx_AmtCoin, this); }
1051
+ getBlockNumInclusion() { return __S.getUint32(4, this); }
1052
+ setBlockNumInclusion(value) { __S.setUint32(4, value, this); }
1053
+ adoptTokenAssetSubgroups(value) { __S.adopt(value, __S.getPointer(3, this)); }
1054
+ disownTokenAssetSubgroups() { return __S.disown(this.getTokenAssetSubgroups()); }
1055
+ getTokenAssetSubgroups() { return __S.getList(3, MultisigTx._TokenAssetSubgroups, this); }
1056
+ hasTokenAssetSubgroups() { return !__S.isNull(__S.getPointer(3, this)); }
1057
+ initTokenAssetSubgroups(length) { return __S.initList(3, MultisigTx._TokenAssetSubgroups, length, this); }
1058
+ setTokenAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(3, this)); }
1059
+ adoptNftAssetSubgroups(value) { __S.adopt(value, __S.getPointer(0, this)); }
1060
+ disownNftAssetSubgroups() { return __S.disown(this.getNftAssetSubgroups()); }
1061
+ getNftAssetSubgroups() { return __S.getList(0, MultisigTx._NftAssetSubgroups, this); }
1062
+ hasNftAssetSubgroups() { return !__S.isNull(__S.getPointer(0, this)); }
1063
+ initNftAssetSubgroups(length) { return __S.initList(0, MultisigTx._NftAssetSubgroups, length, this); }
1064
+ setNftAssetSubgroups(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1065
+ adoptAcctNumVal(value) { __S.adopt(value, __S.getPointer(2, this)); }
1066
+ disownAcctNumVal() { return __S.disown(this.getAcctNumVal()); }
1067
+ getAcctNumVal() { return __S.getData(2, this); }
1068
+ hasAcctNumVal() { return !__S.isNull(__S.getPointer(2, this)); }
1069
+ initAcctNumVal(length) { return __S.initData(2, length, this); }
1070
+ setAcctNumVal(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
1071
+ toString() { return "MultisigTx_" + super.toString(); }
1072
+ }
1073
+ export class NetActorRecCreateTx extends __S {
1074
+ static { this._capnp = { displayName: "NetActorRecCreateTx", id: "d09e41db4cf5d1e5", size: new __O(8, 0) }; }
1075
+ getNetActorType() { return __S.getUint16(0, this); }
1076
+ setNetActorType(value) { __S.setUint16(0, value, this); }
1077
+ toString() { return "NetActorRecCreateTx_" + super.toString(); }
1078
+ }
1079
+ export var NetActorRecUpdateTx_RecStatus_Which;
1080
+ (function (NetActorRecUpdateTx_RecStatus_Which) {
1081
+ NetActorRecUpdateTx_RecStatus_Which[NetActorRecUpdateTx_RecStatus_Which["SOME"] = 0] = "SOME";
1082
+ NetActorRecUpdateTx_RecStatus_Which[NetActorRecUpdateTx_RecStatus_Which["NONE"] = 1] = "NONE";
1083
+ })(NetActorRecUpdateTx_RecStatus_Which || (NetActorRecUpdateTx_RecStatus_Which = {}));
1084
+ export class NetActorRecUpdateTx_RecStatus extends __S {
1085
+ static { this.SOME = NetActorRecUpdateTx_RecStatus_Which.SOME; }
1086
+ static { this.NONE = NetActorRecUpdateTx_RecStatus_Which.NONE; }
1087
+ static { this._capnp = { displayName: "recStatus", id: "f4f3095ba0dc1e11", size: new __O(16, 2) }; }
1088
+ getSome() {
1089
+ __S.testWhich("some", __S.getUint16(2, this), 0, this);
1090
+ return __S.getUint16(0, this);
1091
+ }
1092
+ isSome() { return __S.getUint16(2, this) === 0; }
1093
+ setSome(value) {
1094
+ __S.setUint16(2, 0, this);
1095
+ __S.setUint16(0, value, this);
1096
+ }
1097
+ isNone() { return __S.getUint16(2, this) === 1; }
1098
+ setNone() { __S.setUint16(2, 1, this); }
1099
+ toString() { return "NetActorRecUpdateTx_RecStatus_" + super.toString(); }
1100
+ which() { return __S.getUint16(2, this); }
1101
+ }
1102
+ export var NetActorRecUpdateTx_IpAddr_Which;
1103
+ (function (NetActorRecUpdateTx_IpAddr_Which) {
1104
+ NetActorRecUpdateTx_IpAddr_Which[NetActorRecUpdateTx_IpAddr_Which["SOME"] = 0] = "SOME";
1105
+ NetActorRecUpdateTx_IpAddr_Which[NetActorRecUpdateTx_IpAddr_Which["NONE"] = 1] = "NONE";
1106
+ })(NetActorRecUpdateTx_IpAddr_Which || (NetActorRecUpdateTx_IpAddr_Which = {}));
1107
+ export class NetActorRecUpdateTx_IpAddr extends __S {
1108
+ static { this.SOME = NetActorRecUpdateTx_IpAddr_Which.SOME; }
1109
+ static { this.NONE = NetActorRecUpdateTx_IpAddr_Which.NONE; }
1110
+ static { this._capnp = { displayName: "ipAddr", id: "b0e8e9dd7fa14e94", size: new __O(16, 2) }; }
1111
+ getSome() {
1112
+ __S.testWhich("some", __S.getUint16(4, this), 0, this);
1113
+ return __S.getText(0, this);
1114
+ }
1115
+ isSome() { return __S.getUint16(4, this) === 0; }
1116
+ setSome(value) {
1117
+ __S.setUint16(4, 0, this);
1118
+ __S.setText(0, value, this);
1119
+ }
1120
+ isNone() { return __S.getUint16(4, this) === 1; }
1121
+ setNone() { __S.setUint16(4, 1, this); }
1122
+ toString() { return "NetActorRecUpdateTx_IpAddr_" + super.toString(); }
1123
+ which() { return __S.getUint16(4, this); }
1124
+ }
1125
+ export var NetActorRecUpdateTx_PortNum_Which;
1126
+ (function (NetActorRecUpdateTx_PortNum_Which) {
1127
+ NetActorRecUpdateTx_PortNum_Which[NetActorRecUpdateTx_PortNum_Which["SOME"] = 0] = "SOME";
1128
+ NetActorRecUpdateTx_PortNum_Which[NetActorRecUpdateTx_PortNum_Which["NONE"] = 1] = "NONE";
1129
+ })(NetActorRecUpdateTx_PortNum_Which || (NetActorRecUpdateTx_PortNum_Which = {}));
1130
+ export class NetActorRecUpdateTx_PortNum extends __S {
1131
+ static { this.SOME = NetActorRecUpdateTx_PortNum_Which.SOME; }
1132
+ static { this.NONE = NetActorRecUpdateTx_PortNum_Which.NONE; }
1133
+ static { this._capnp = { displayName: "portNum", id: "9a27319d5922b337", size: new __O(16, 2) }; }
1134
+ getSome() {
1135
+ __S.testWhich("some", __S.getUint16(8, this), 0, this);
1136
+ return __S.getUint16(6, this);
1137
+ }
1138
+ isSome() { return __S.getUint16(8, this) === 0; }
1139
+ setSome(value) {
1140
+ __S.setUint16(8, 0, this);
1141
+ __S.setUint16(6, value, this);
1142
+ }
1143
+ isNone() { return __S.getUint16(8, this) === 1; }
1144
+ setNone() { __S.setUint16(8, 1, this); }
1145
+ toString() { return "NetActorRecUpdateTx_PortNum_" + super.toString(); }
1146
+ which() { return __S.getUint16(8, this); }
1147
+ }
1148
+ export var NetActorRecUpdateTx_AcctNumRfd_Which;
1149
+ (function (NetActorRecUpdateTx_AcctNumRfd_Which) {
1150
+ NetActorRecUpdateTx_AcctNumRfd_Which[NetActorRecUpdateTx_AcctNumRfd_Which["SOME"] = 0] = "SOME";
1151
+ NetActorRecUpdateTx_AcctNumRfd_Which[NetActorRecUpdateTx_AcctNumRfd_Which["NONE"] = 1] = "NONE";
1152
+ })(NetActorRecUpdateTx_AcctNumRfd_Which || (NetActorRecUpdateTx_AcctNumRfd_Which = {}));
1153
+ export class NetActorRecUpdateTx_AcctNumRfd extends __S {
1154
+ static { this.SOME = NetActorRecUpdateTx_AcctNumRfd_Which.SOME; }
1155
+ static { this.NONE = NetActorRecUpdateTx_AcctNumRfd_Which.NONE; }
1156
+ static { this._capnp = { displayName: "acctNumRfd", id: "acd21c4384ee380b", size: new __O(16, 2) }; }
1157
+ adoptSome(value) {
1158
+ __S.setUint16(10, 0, this);
1159
+ __S.adopt(value, __S.getPointer(1, this));
1160
+ }
1161
+ disownSome() { return __S.disown(this.getSome()); }
1162
+ getSome() {
1163
+ __S.testWhich("some", __S.getUint16(10, this), 0, this);
1164
+ return __S.getData(1, this);
1165
+ }
1166
+ hasSome() { return !__S.isNull(__S.getPointer(1, this)); }
1167
+ initSome(length) {
1168
+ __S.setUint16(10, 0, this);
1169
+ return __S.initData(1, length, this);
1170
+ }
1171
+ isSome() { return __S.getUint16(10, this) === 0; }
1172
+ setSome(value) {
1173
+ __S.setUint16(10, 0, this);
1174
+ __S.copyFrom(value, __S.getPointer(1, this));
1175
+ }
1176
+ isNone() { return __S.getUint16(10, this) === 1; }
1177
+ setNone() { __S.setUint16(10, 1, this); }
1178
+ toString() { return "NetActorRecUpdateTx_AcctNumRfd_" + super.toString(); }
1179
+ which() { return __S.getUint16(10, this); }
1180
+ }
1181
+ export class NetActorRecUpdateTx extends __S {
1182
+ static { this._capnp = { displayName: "NetActorRecUpdateTx", id: "ad976b003e4f49c9", size: new __O(16, 2) }; }
1183
+ getRecStatus() { return __S.getAs(NetActorRecUpdateTx_RecStatus, this); }
1184
+ initRecStatus() { return __S.getAs(NetActorRecUpdateTx_RecStatus, this); }
1185
+ getIpAddr() { return __S.getAs(NetActorRecUpdateTx_IpAddr, this); }
1186
+ initIpAddr() { return __S.getAs(NetActorRecUpdateTx_IpAddr, this); }
1187
+ getPortNum() { return __S.getAs(NetActorRecUpdateTx_PortNum, this); }
1188
+ initPortNum() { return __S.getAs(NetActorRecUpdateTx_PortNum, this); }
1189
+ getAcctNumRfd() { return __S.getAs(NetActorRecUpdateTx_AcctNumRfd, this); }
1190
+ initAcctNumRfd() { return __S.getAs(NetActorRecUpdateTx_AcctNumRfd, this); }
1191
+ toString() { return "NetActorRecUpdateTx_" + super.toString(); }
1192
+ }
1193
+ export var NetActorRecTx_TxType_Which;
1194
+ (function (NetActorRecTx_TxType_Which) {
1195
+ NetActorRecTx_TxType_Which[NetActorRecTx_TxType_Which["CREATE"] = 0] = "CREATE";
1196
+ NetActorRecTx_TxType_Which[NetActorRecTx_TxType_Which["UPDATE"] = 1] = "UPDATE";
1197
+ })(NetActorRecTx_TxType_Which || (NetActorRecTx_TxType_Which = {}));
1198
+ export class NetActorRecTx_TxType extends __S {
1199
+ static { this.CREATE = NetActorRecTx_TxType_Which.CREATE; }
1200
+ static { this.UPDATE = NetActorRecTx_TxType_Which.UPDATE; }
1201
+ static { this._capnp = { displayName: "txType", id: "a46aaef729ceb359", size: new __O(8, 3) }; }
1202
+ adoptCreate(value) {
1203
+ __S.setUint16(4, 0, this);
1204
+ __S.adopt(value, __S.getPointer(1, this));
1205
+ }
1206
+ disownCreate() { return __S.disown(this.getCreate()); }
1207
+ getCreate() {
1208
+ __S.testWhich("create", __S.getUint16(4, this), 0, this);
1209
+ return __S.getStruct(1, NetActorRecCreateTx, this);
1210
+ }
1211
+ hasCreate() { return !__S.isNull(__S.getPointer(1, this)); }
1212
+ initCreate() {
1213
+ __S.setUint16(4, 0, this);
1214
+ return __S.initStructAt(1, NetActorRecCreateTx, this);
1215
+ }
1216
+ isCreate() { return __S.getUint16(4, this) === 0; }
1217
+ setCreate(value) {
1218
+ __S.setUint16(4, 0, this);
1219
+ __S.copyFrom(value, __S.getPointer(1, this));
1220
+ }
1221
+ adoptUpdate(value) {
1222
+ __S.setUint16(4, 1, this);
1223
+ __S.adopt(value, __S.getPointer(1, this));
1224
+ }
1225
+ disownUpdate() { return __S.disown(this.getUpdate()); }
1226
+ getUpdate() {
1227
+ __S.testWhich("update", __S.getUint16(4, this), 1, this);
1228
+ return __S.getStruct(1, NetActorRecUpdateTx, this);
1229
+ }
1230
+ hasUpdate() { return !__S.isNull(__S.getPointer(1, this)); }
1231
+ initUpdate() {
1232
+ __S.setUint16(4, 1, this);
1233
+ return __S.initStructAt(1, NetActorRecUpdateTx, this);
1234
+ }
1235
+ isUpdate() { return __S.getUint16(4, this) === 1; }
1236
+ setUpdate(value) {
1237
+ __S.setUint16(4, 1, this);
1238
+ __S.copyFrom(value, __S.getPointer(1, this));
1239
+ }
1240
+ toString() { return "NetActorRecTx_TxType_" + super.toString(); }
1241
+ which() { return __S.getUint16(4, this); }
1242
+ }
1243
+ export class NetActorRecTx extends __S {
1244
+ static { this._capnp = { displayName: "NetActorRecTx", id: "c0c5135f271ad32c", size: new __O(8, 3) }; }
1245
+ getTxType() { return __S.getAs(NetActorRecTx_TxType, this); }
1246
+ initTxType() { return __S.getAs(NetActorRecTx_TxType, this); }
1247
+ getNonce() { return __S.getUint32(0, this); }
1248
+ setNonce(value) { __S.setUint32(0, value, this); }
1249
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(0, this)); }
1250
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
1251
+ getAcctNumRcv() { return __S.getData(0, this); }
1252
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(0, this)); }
1253
+ initAcctNumRcv(length) { return __S.initData(0, length, this); }
1254
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1255
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(2, this)); }
1256
+ disownPubKey() { return __S.disown(this.getPubKey()); }
1257
+ getPubKey() { return __S.getData(2, this); }
1258
+ hasPubKey() { return !__S.isNull(__S.getPointer(2, this)); }
1259
+ initPubKey(length) { return __S.initData(2, length, this); }
1260
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
1261
+ toString() { return "NetActorRecTx_" + super.toString(); }
1262
+ }
1263
+ export var ParamAcctRecTx_ParamType_Which;
1264
+ (function (ParamAcctRecTx_ParamType_Which) {
1265
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_ATTEST"] = 0] = "ALLOW_ATTEST";
1266
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_FUNDING_PROXIES"] = 1] = "ALLOW_FUNDING_PROXIES";
1267
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_COINS"] = 2] = "ALLOW_COINS";
1268
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_COUNTERPARTY"] = 3] = "ALLOW_COUNTERPARTY";
1269
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_DCE"] = 4] = "ALLOW_DCE";
1270
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_DYNAMIC_NAL"] = 5] = "ALLOW_DYNAMIC_NAL";
1271
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_FEES"] = 6] = "ALLOW_FEES";
1272
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_GBB"] = 7] = "ALLOW_GBB";
1273
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_HASH_LOCKS"] = 8] = "ALLOW_HASH_LOCKS";
1274
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_MICROCOINS"] = 9] = "ALLOW_MICROCOINS";
1275
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_MULTISIG"] = 10] = "ALLOW_MULTISIG";
1276
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_NFT"] = 11] = "ALLOW_NFT";
1277
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_STACKABLE"] = 12] = "ALLOW_STACKABLE";
1278
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_TOKEN"] = 13] = "ALLOW_TOKEN";
1279
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["ALLOW_TREASURY"] = 14] = "ALLOW_TREASURY";
1280
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["GBB_AMT"] = 15] = "GBB_AMT";
1281
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["GEEQ_NORM"] = 16] = "GEEQ_NORM";
1282
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["METADATA_FIXED_BYTES"] = 17] = "METADATA_FIXED_BYTES";
1283
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["METADATA_FIXED_NUM"] = 18] = "METADATA_FIXED_NUM";
1284
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["METADATA_VAR_BYTES"] = 19] = "METADATA_VAR_BYTES";
1285
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["METADATA_VAR_NUM"] = 20] = "METADATA_VAR_NUM";
1286
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["MIN_TX_AMT"] = 21] = "MIN_TX_AMT";
1287
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["NTL_MAX_NUM"] = 22] = "NTL_MAX_NUM";
1288
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["RENT_INTERVAL"] = 23] = "RENT_INTERVAL";
1289
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["TARGET_ANCHOR_NODE"] = 24] = "TARGET_ANCHOR_NODE";
1290
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["TARGET_ANON_NODE"] = 25] = "TARGET_ANON_NODE";
1291
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["TARGET_BLOCK_INTERVAL"] = 26] = "TARGET_BLOCK_INTERVAL";
1292
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["TARGET_CERT_NODE"] = 27] = "TARGET_CERT_NODE";
1293
+ ParamAcctRecTx_ParamType_Which[ParamAcctRecTx_ParamType_Which["TARGET_GOSSIP_NET"] = 28] = "TARGET_GOSSIP_NET";
1294
+ })(ParamAcctRecTx_ParamType_Which || (ParamAcctRecTx_ParamType_Which = {}));
1295
+ export class ParamAcctRecTx_ParamType extends __S {
1296
+ static { this.ALLOW_ATTEST = ParamAcctRecTx_ParamType_Which.ALLOW_ATTEST; }
1297
+ static { this.ALLOW_FUNDING_PROXIES = ParamAcctRecTx_ParamType_Which.ALLOW_FUNDING_PROXIES; }
1298
+ static { this.ALLOW_COINS = ParamAcctRecTx_ParamType_Which.ALLOW_COINS; }
1299
+ static { this.ALLOW_COUNTERPARTY = ParamAcctRecTx_ParamType_Which.ALLOW_COUNTERPARTY; }
1300
+ static { this.ALLOW_DCE = ParamAcctRecTx_ParamType_Which.ALLOW_DCE; }
1301
+ static { this.ALLOW_DYNAMIC_NAL = ParamAcctRecTx_ParamType_Which.ALLOW_DYNAMIC_NAL; }
1302
+ static { this.ALLOW_FEES = ParamAcctRecTx_ParamType_Which.ALLOW_FEES; }
1303
+ static { this.ALLOW_GBB = ParamAcctRecTx_ParamType_Which.ALLOW_GBB; }
1304
+ static { this.ALLOW_HASH_LOCKS = ParamAcctRecTx_ParamType_Which.ALLOW_HASH_LOCKS; }
1305
+ static { this.ALLOW_MICROCOINS = ParamAcctRecTx_ParamType_Which.ALLOW_MICROCOINS; }
1306
+ static { this.ALLOW_MULTISIG = ParamAcctRecTx_ParamType_Which.ALLOW_MULTISIG; }
1307
+ static { this.ALLOW_NFT = ParamAcctRecTx_ParamType_Which.ALLOW_NFT; }
1308
+ static { this.ALLOW_STACKABLE = ParamAcctRecTx_ParamType_Which.ALLOW_STACKABLE; }
1309
+ static { this.ALLOW_TOKEN = ParamAcctRecTx_ParamType_Which.ALLOW_TOKEN; }
1310
+ static { this.ALLOW_TREASURY = ParamAcctRecTx_ParamType_Which.ALLOW_TREASURY; }
1311
+ static { this.GBB_AMT = ParamAcctRecTx_ParamType_Which.GBB_AMT; }
1312
+ static { this.GEEQ_NORM = ParamAcctRecTx_ParamType_Which.GEEQ_NORM; }
1313
+ static { this.METADATA_FIXED_BYTES = ParamAcctRecTx_ParamType_Which.METADATA_FIXED_BYTES; }
1314
+ static { this.METADATA_FIXED_NUM = ParamAcctRecTx_ParamType_Which.METADATA_FIXED_NUM; }
1315
+ static { this.METADATA_VAR_BYTES = ParamAcctRecTx_ParamType_Which.METADATA_VAR_BYTES; }
1316
+ static { this.METADATA_VAR_NUM = ParamAcctRecTx_ParamType_Which.METADATA_VAR_NUM; }
1317
+ static { this.MIN_TX_AMT = ParamAcctRecTx_ParamType_Which.MIN_TX_AMT; }
1318
+ static { this.NTL_MAX_NUM = ParamAcctRecTx_ParamType_Which.NTL_MAX_NUM; }
1319
+ static { this.RENT_INTERVAL = ParamAcctRecTx_ParamType_Which.RENT_INTERVAL; }
1320
+ static { this.TARGET_ANCHOR_NODE = ParamAcctRecTx_ParamType_Which.TARGET_ANCHOR_NODE; }
1321
+ static { this.TARGET_ANON_NODE = ParamAcctRecTx_ParamType_Which.TARGET_ANON_NODE; }
1322
+ static { this.TARGET_BLOCK_INTERVAL = ParamAcctRecTx_ParamType_Which.TARGET_BLOCK_INTERVAL; }
1323
+ static { this.TARGET_CERT_NODE = ParamAcctRecTx_ParamType_Which.TARGET_CERT_NODE; }
1324
+ static { this.TARGET_GOSSIP_NET = ParamAcctRecTx_ParamType_Which.TARGET_GOSSIP_NET; }
1325
+ static { this._capnp = { displayName: "paramType", id: "ed97b59c2e688c24", size: new __O(16, 2) }; }
1326
+ getAllowAttest() {
1327
+ __S.testWhich("allowAttest", __S.getUint16(6, this), 0, this);
1328
+ return __S.getBit(32, this);
1329
+ }
1330
+ isAllowAttest() { return __S.getUint16(6, this) === 0; }
1331
+ setAllowAttest(value) {
1332
+ __S.setUint16(6, 0, this);
1333
+ __S.setBit(32, value, this);
1334
+ }
1335
+ getAllowFundingProxies() {
1336
+ __S.testWhich("allowFundingProxies", __S.getUint16(6, this), 1, this);
1337
+ return __S.getBit(32, this);
1338
+ }
1339
+ isAllowFundingProxies() { return __S.getUint16(6, this) === 1; }
1340
+ setAllowFundingProxies(value) {
1341
+ __S.setUint16(6, 1, this);
1342
+ __S.setBit(32, value, this);
1343
+ }
1344
+ getAllowCoins() {
1345
+ __S.testWhich("allowCoins", __S.getUint16(6, this), 2, this);
1346
+ return __S.getBit(32, this);
1347
+ }
1348
+ isAllowCoins() { return __S.getUint16(6, this) === 2; }
1349
+ setAllowCoins(value) {
1350
+ __S.setUint16(6, 2, this);
1351
+ __S.setBit(32, value, this);
1352
+ }
1353
+ getAllowCounterparty() {
1354
+ __S.testWhich("allowCounterparty", __S.getUint16(6, this), 3, this);
1355
+ return __S.getBit(32, this);
1356
+ }
1357
+ isAllowCounterparty() { return __S.getUint16(6, this) === 3; }
1358
+ setAllowCounterparty(value) {
1359
+ __S.setUint16(6, 3, this);
1360
+ __S.setBit(32, value, this);
1361
+ }
1362
+ getAllowDce() {
1363
+ __S.testWhich("allowDce", __S.getUint16(6, this), 4, this);
1364
+ return __S.getBit(32, this);
1365
+ }
1366
+ isAllowDce() { return __S.getUint16(6, this) === 4; }
1367
+ setAllowDce(value) {
1368
+ __S.setUint16(6, 4, this);
1369
+ __S.setBit(32, value, this);
1370
+ }
1371
+ getAllowDynamicNal() {
1372
+ __S.testWhich("allowDynamicNal", __S.getUint16(6, this), 5, this);
1373
+ return __S.getBit(32, this);
1374
+ }
1375
+ isAllowDynamicNal() { return __S.getUint16(6, this) === 5; }
1376
+ setAllowDynamicNal(value) {
1377
+ __S.setUint16(6, 5, this);
1378
+ __S.setBit(32, value, this);
1379
+ }
1380
+ getAllowFees() {
1381
+ __S.testWhich("allowFees", __S.getUint16(6, this), 6, this);
1382
+ return __S.getBit(32, this);
1383
+ }
1384
+ isAllowFees() { return __S.getUint16(6, this) === 6; }
1385
+ setAllowFees(value) {
1386
+ __S.setUint16(6, 6, this);
1387
+ __S.setBit(32, value, this);
1388
+ }
1389
+ getAllowGbb() {
1390
+ __S.testWhich("allowGbb", __S.getUint16(6, this), 7, this);
1391
+ return __S.getBit(32, this);
1392
+ }
1393
+ isAllowGbb() { return __S.getUint16(6, this) === 7; }
1394
+ setAllowGbb(value) {
1395
+ __S.setUint16(6, 7, this);
1396
+ __S.setBit(32, value, this);
1397
+ }
1398
+ getAllowHashLocks() {
1399
+ __S.testWhich("allowHashLocks", __S.getUint16(6, this), 8, this);
1400
+ return __S.getBit(32, this);
1401
+ }
1402
+ isAllowHashLocks() { return __S.getUint16(6, this) === 8; }
1403
+ setAllowHashLocks(value) {
1404
+ __S.setUint16(6, 8, this);
1405
+ __S.setBit(32, value, this);
1406
+ }
1407
+ getAllowMicrocoins() {
1408
+ __S.testWhich("allowMicrocoins", __S.getUint16(6, this), 9, this);
1409
+ return __S.getBit(32, this);
1410
+ }
1411
+ isAllowMicrocoins() { return __S.getUint16(6, this) === 9; }
1412
+ setAllowMicrocoins(value) {
1413
+ __S.setUint16(6, 9, this);
1414
+ __S.setBit(32, value, this);
1415
+ }
1416
+ getAllowMultisig() {
1417
+ __S.testWhich("allowMultisig", __S.getUint16(6, this), 10, this);
1418
+ return __S.getBit(32, this);
1419
+ }
1420
+ isAllowMultisig() { return __S.getUint16(6, this) === 10; }
1421
+ setAllowMultisig(value) {
1422
+ __S.setUint16(6, 10, this);
1423
+ __S.setBit(32, value, this);
1424
+ }
1425
+ getAllowNft() {
1426
+ __S.testWhich("allowNft", __S.getUint16(6, this), 11, this);
1427
+ return __S.getBit(32, this);
1428
+ }
1429
+ isAllowNft() { return __S.getUint16(6, this) === 11; }
1430
+ setAllowNft(value) {
1431
+ __S.setUint16(6, 11, this);
1432
+ __S.setBit(32, value, this);
1433
+ }
1434
+ getAllowStackable() {
1435
+ __S.testWhich("allowStackable", __S.getUint16(6, this), 12, this);
1436
+ return __S.getBit(32, this);
1437
+ }
1438
+ isAllowStackable() { return __S.getUint16(6, this) === 12; }
1439
+ setAllowStackable(value) {
1440
+ __S.setUint16(6, 12, this);
1441
+ __S.setBit(32, value, this);
1442
+ }
1443
+ getAllowToken() {
1444
+ __S.testWhich("allowToken", __S.getUint16(6, this), 13, this);
1445
+ return __S.getBit(32, this);
1446
+ }
1447
+ isAllowToken() { return __S.getUint16(6, this) === 13; }
1448
+ setAllowToken(value) {
1449
+ __S.setUint16(6, 13, this);
1450
+ __S.setBit(32, value, this);
1451
+ }
1452
+ getAllowTreasury() {
1453
+ __S.testWhich("allowTreasury", __S.getUint16(6, this), 14, this);
1454
+ return __S.getBit(32, this);
1455
+ }
1456
+ isAllowTreasury() { return __S.getUint16(6, this) === 14; }
1457
+ setAllowTreasury(value) {
1458
+ __S.setUint16(6, 14, this);
1459
+ __S.setBit(32, value, this);
1460
+ }
1461
+ getGbbAmt() {
1462
+ __S.testWhich("gbbAmt", __S.getUint16(6, this), 15, this);
1463
+ return __S.getUint64(8, this);
1464
+ }
1465
+ isGbbAmt() { return __S.getUint16(6, this) === 15; }
1466
+ setGbbAmt(value) {
1467
+ __S.setUint16(6, 15, this);
1468
+ __S.setUint64(8, value, this);
1469
+ }
1470
+ getGeeqNorm() {
1471
+ __S.testWhich("geeqNorm", __S.getUint16(6, this), 16, this);
1472
+ return __S.getUint64(8, this);
1473
+ }
1474
+ isGeeqNorm() { return __S.getUint16(6, this) === 16; }
1475
+ setGeeqNorm(value) {
1476
+ __S.setUint16(6, 16, this);
1477
+ __S.setUint64(8, value, this);
1478
+ }
1479
+ getMetadataFixedBytes() {
1480
+ __S.testWhich("metadataFixedBytes", __S.getUint16(6, this), 17, this);
1481
+ return __S.getUint16(8, this);
1482
+ }
1483
+ isMetadataFixedBytes() { return __S.getUint16(6, this) === 17; }
1484
+ setMetadataFixedBytes(value) {
1485
+ __S.setUint16(6, 17, this);
1486
+ __S.setUint16(8, value, this);
1487
+ }
1488
+ getMetadataFixedNum() {
1489
+ __S.testWhich("metadataFixedNum", __S.getUint16(6, this), 18, this);
1490
+ return __S.getUint16(8, this);
1491
+ }
1492
+ isMetadataFixedNum() { return __S.getUint16(6, this) === 18; }
1493
+ setMetadataFixedNum(value) {
1494
+ __S.setUint16(6, 18, this);
1495
+ __S.setUint16(8, value, this);
1496
+ }
1497
+ getMetadataVarBytes() {
1498
+ __S.testWhich("metadataVarBytes", __S.getUint16(6, this), 19, this);
1499
+ return __S.getUint16(8, this);
1500
+ }
1501
+ isMetadataVarBytes() { return __S.getUint16(6, this) === 19; }
1502
+ setMetadataVarBytes(value) {
1503
+ __S.setUint16(6, 19, this);
1504
+ __S.setUint16(8, value, this);
1505
+ }
1506
+ getMetadataVarNum() {
1507
+ __S.testWhich("metadataVarNum", __S.getUint16(6, this), 20, this);
1508
+ return __S.getUint16(8, this);
1509
+ }
1510
+ isMetadataVarNum() { return __S.getUint16(6, this) === 20; }
1511
+ setMetadataVarNum(value) {
1512
+ __S.setUint16(6, 20, this);
1513
+ __S.setUint16(8, value, this);
1514
+ }
1515
+ getMinTxAmt() {
1516
+ __S.testWhich("minTxAmt", __S.getUint16(6, this), 21, this);
1517
+ return __S.getUint64(8, this);
1518
+ }
1519
+ isMinTxAmt() { return __S.getUint16(6, this) === 21; }
1520
+ setMinTxAmt(value) {
1521
+ __S.setUint16(6, 21, this);
1522
+ __S.setUint64(8, value, this);
1523
+ }
1524
+ getNtlMaxNum() {
1525
+ __S.testWhich("ntlMaxNum", __S.getUint16(6, this), 22, this);
1526
+ return __S.getUint16(8, this);
1527
+ }
1528
+ isNtlMaxNum() { return __S.getUint16(6, this) === 22; }
1529
+ setNtlMaxNum(value) {
1530
+ __S.setUint16(6, 22, this);
1531
+ __S.setUint16(8, value, this);
1532
+ }
1533
+ getRentInterval() {
1534
+ __S.testWhich("rentInterval", __S.getUint16(6, this), 23, this);
1535
+ return __S.getUint64(8, this);
1536
+ }
1537
+ isRentInterval() { return __S.getUint16(6, this) === 23; }
1538
+ setRentInterval(value) {
1539
+ __S.setUint16(6, 23, this);
1540
+ __S.setUint64(8, value, this);
1541
+ }
1542
+ getTargetAnchorNode() {
1543
+ __S.testWhich("targetAnchorNode", __S.getUint16(6, this), 24, this);
1544
+ return __S.getUint16(8, this);
1545
+ }
1546
+ isTargetAnchorNode() { return __S.getUint16(6, this) === 24; }
1547
+ setTargetAnchorNode(value) {
1548
+ __S.setUint16(6, 24, this);
1549
+ __S.setUint16(8, value, this);
1550
+ }
1551
+ getTargetAnonNode() {
1552
+ __S.testWhich("targetAnonNode", __S.getUint16(6, this), 25, this);
1553
+ return __S.getUint16(8, this);
1554
+ }
1555
+ isTargetAnonNode() { return __S.getUint16(6, this) === 25; }
1556
+ setTargetAnonNode(value) {
1557
+ __S.setUint16(6, 25, this);
1558
+ __S.setUint16(8, value, this);
1559
+ }
1560
+ getTargetBlockInterval() {
1561
+ __S.testWhich("targetBlockInterval", __S.getUint16(6, this), 26, this);
1562
+ return __S.getUint64(8, this);
1563
+ }
1564
+ isTargetBlockInterval() { return __S.getUint16(6, this) === 26; }
1565
+ setTargetBlockInterval(value) {
1566
+ __S.setUint16(6, 26, this);
1567
+ __S.setUint64(8, value, this);
1568
+ }
1569
+ getTargetCertNode() {
1570
+ __S.testWhich("targetCertNode", __S.getUint16(6, this), 27, this);
1571
+ return __S.getUint16(8, this);
1572
+ }
1573
+ isTargetCertNode() { return __S.getUint16(6, this) === 27; }
1574
+ setTargetCertNode(value) {
1575
+ __S.setUint16(6, 27, this);
1576
+ __S.setUint16(8, value, this);
1577
+ }
1578
+ getTargetGossipNet() {
1579
+ __S.testWhich("targetGossipNet", __S.getUint16(6, this), 28, this);
1580
+ return __S.getUint16(8, this);
1581
+ }
1582
+ isTargetGossipNet() { return __S.getUint16(6, this) === 28; }
1583
+ setTargetGossipNet(value) {
1584
+ __S.setUint16(6, 28, this);
1585
+ __S.setUint16(8, value, this);
1586
+ }
1587
+ toString() { return "ParamAcctRecTx_ParamType_" + super.toString(); }
1588
+ which() { return __S.getUint16(6, this); }
1589
+ }
1590
+ export class ParamAcctRecTx extends __S {
1591
+ static { this._capnp = { displayName: "ParamAcctRecTx", id: "b78b9a6573605402", size: new __O(16, 2) }; }
1592
+ getParamType() { return __S.getAs(ParamAcctRecTx_ParamType, this); }
1593
+ initParamType() { return __S.getAs(ParamAcctRecTx_ParamType, this); }
1594
+ getNonce() { return __S.getUint32(0, this); }
1595
+ setNonce(value) { __S.setUint32(0, value, this); }
1596
+ adoptAcctNumRcv(value) { __S.adopt(value, __S.getPointer(0, this)); }
1597
+ disownAcctNumRcv() { return __S.disown(this.getAcctNumRcv()); }
1598
+ getAcctNumRcv() { return __S.getData(0, this); }
1599
+ hasAcctNumRcv() { return !__S.isNull(__S.getPointer(0, this)); }
1600
+ initAcctNumRcv(length) { return __S.initData(0, length, this); }
1601
+ setAcctNumRcv(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1602
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(1, this)); }
1603
+ disownPubKey() { return __S.disown(this.getPubKey()); }
1604
+ getPubKey() { return __S.getData(1, this); }
1605
+ hasPubKey() { return !__S.isNull(__S.getPointer(1, this)); }
1606
+ initPubKey(length) { return __S.initData(1, length, this); }
1607
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
1608
+ toString() { return "ParamAcctRecTx_" + super.toString(); }
1609
+ }
1610
+ export class AuditHubTx extends __S {
1611
+ static { this._capnp = { displayName: "AuditHubTx", id: "ee4e6f8ba301507d", size: new __O(0, 2) }; }
1612
+ adoptHubContentStmtFirst(value) { __S.adopt(value, __S.getPointer(0, this)); }
1613
+ disownHubContentStmtFirst() { return __S.disown(this.getHubContentStmtFirst()); }
1614
+ getHubContentStmtFirst() { return __S.getStruct(0, HubContentStmt, this); }
1615
+ hasHubContentStmtFirst() { return !__S.isNull(__S.getPointer(0, this)); }
1616
+ initHubContentStmtFirst() { return __S.initStructAt(0, HubContentStmt, this); }
1617
+ setHubContentStmtFirst(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1618
+ adoptHubContentStmtSecond(value) { __S.adopt(value, __S.getPointer(1, this)); }
1619
+ disownHubContentStmtSecond() { return __S.disown(this.getHubContentStmtSecond()); }
1620
+ getHubContentStmtSecond() { return __S.getStruct(1, HubContentStmt, this); }
1621
+ hasHubContentStmtSecond() { return !__S.isNull(__S.getPointer(1, this)); }
1622
+ initHubContentStmtSecond() { return __S.initStructAt(1, HubContentStmt, this); }
1623
+ setHubContentStmtSecond(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
1624
+ toString() { return "AuditHubTx_" + super.toString(); }
1625
+ }
1626
+ export class AuditNodeTx extends __S {
1627
+ static { this._capnp = { displayName: "AuditNodeTx", id: "c86f93926c6f1952", size: new __O(0, 2) }; }
1628
+ adoptNodeContentStmtFirst(value) { __S.adopt(value, __S.getPointer(0, this)); }
1629
+ disownNodeContentStmtFirst() { return __S.disown(this.getNodeContentStmtFirst()); }
1630
+ getNodeContentStmtFirst() { return __S.getStruct(0, NodeContentStmt, this); }
1631
+ hasNodeContentStmtFirst() { return !__S.isNull(__S.getPointer(0, this)); }
1632
+ initNodeContentStmtFirst() { return __S.initStructAt(0, NodeContentStmt, this); }
1633
+ setNodeContentStmtFirst(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1634
+ adoptNodeContentStmtSecond(value) { __S.adopt(value, __S.getPointer(1, this)); }
1635
+ disownNodeContentStmtSecond() { return __S.disown(this.getNodeContentStmtSecond()); }
1636
+ getNodeContentStmtSecond() { return __S.getStruct(1, NodeContentStmt, this); }
1637
+ hasNodeContentStmtSecond() { return !__S.isNull(__S.getPointer(1, this)); }
1638
+ initNodeContentStmtSecond() { return __S.initStructAt(1, NodeContentStmt, this); }
1639
+ setNodeContentStmtSecond(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
1640
+ toString() { return "AuditNodeTx_" + super.toString(); }
1641
+ }
1642
+ export class AuditRelayTx extends __S {
1643
+ static { this._capnp = { displayName: "AuditRelayTx", id: "bf562ef971e04d24", size: new __O(0, 2) }; }
1644
+ adoptRelayContentStmtFirst(value) { __S.adopt(value, __S.getPointer(0, this)); }
1645
+ disownRelayContentStmtFirst() { return __S.disown(this.getRelayContentStmtFirst()); }
1646
+ getRelayContentStmtFirst() { return __S.getStruct(0, RelayContentStmt, this); }
1647
+ hasRelayContentStmtFirst() { return !__S.isNull(__S.getPointer(0, this)); }
1648
+ initRelayContentStmtFirst() { return __S.initStructAt(0, RelayContentStmt, this); }
1649
+ setRelayContentStmtFirst(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1650
+ adoptRelayContentStmtSecond(value) { __S.adopt(value, __S.getPointer(1, this)); }
1651
+ disownRelayContentStmtSecond() { return __S.disown(this.getRelayContentStmtSecond()); }
1652
+ getRelayContentStmtSecond() { return __S.getStruct(1, RelayContentStmt, this); }
1653
+ hasRelayContentStmtSecond() { return !__S.isNull(__S.getPointer(1, this)); }
1654
+ initRelayContentStmtSecond() { return __S.initStructAt(1, RelayContentStmt, this); }
1655
+ setRelayContentStmtSecond(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
1656
+ toString() { return "AuditRelayTx_" + super.toString(); }
1657
+ }
1658
+ export var AuditTx_TxType_Which;
1659
+ (function (AuditTx_TxType_Which) {
1660
+ AuditTx_TxType_Which[AuditTx_TxType_Which["HUB"] = 0] = "HUB";
1661
+ AuditTx_TxType_Which[AuditTx_TxType_Which["NODE"] = 1] = "NODE";
1662
+ AuditTx_TxType_Which[AuditTx_TxType_Which["RELAY"] = 2] = "RELAY";
1663
+ })(AuditTx_TxType_Which || (AuditTx_TxType_Which = {}));
1664
+ export class AuditTx_TxType extends __S {
1665
+ static { this.HUB = AuditTx_TxType_Which.HUB; }
1666
+ static { this.NODE = AuditTx_TxType_Which.NODE; }
1667
+ static { this.RELAY = AuditTx_TxType_Which.RELAY; }
1668
+ static { this._capnp = { displayName: "txType", id: "95cffd5b7bad35aa", size: new __O(16, 2) }; }
1669
+ adoptHub(value) {
1670
+ __S.setUint16(8, 0, this);
1671
+ __S.adopt(value, __S.getPointer(0, this));
1672
+ }
1673
+ disownHub() { return __S.disown(this.getHub()); }
1674
+ getHub() {
1675
+ __S.testWhich("hub", __S.getUint16(8, this), 0, this);
1676
+ return __S.getStruct(0, AuditHubTx, this);
1677
+ }
1678
+ hasHub() { return !__S.isNull(__S.getPointer(0, this)); }
1679
+ initHub() {
1680
+ __S.setUint16(8, 0, this);
1681
+ return __S.initStructAt(0, AuditHubTx, this);
1682
+ }
1683
+ isHub() { return __S.getUint16(8, this) === 0; }
1684
+ setHub(value) {
1685
+ __S.setUint16(8, 0, this);
1686
+ __S.copyFrom(value, __S.getPointer(0, this));
1687
+ }
1688
+ adoptNode(value) {
1689
+ __S.setUint16(8, 1, this);
1690
+ __S.adopt(value, __S.getPointer(0, this));
1691
+ }
1692
+ disownNode() { return __S.disown(this.getNode()); }
1693
+ getNode() {
1694
+ __S.testWhich("node", __S.getUint16(8, this), 1, this);
1695
+ return __S.getStruct(0, AuditNodeTx, this);
1696
+ }
1697
+ hasNode() { return !__S.isNull(__S.getPointer(0, this)); }
1698
+ initNode() {
1699
+ __S.setUint16(8, 1, this);
1700
+ return __S.initStructAt(0, AuditNodeTx, this);
1701
+ }
1702
+ isNode() { return __S.getUint16(8, this) === 1; }
1703
+ setNode(value) {
1704
+ __S.setUint16(8, 1, this);
1705
+ __S.copyFrom(value, __S.getPointer(0, this));
1706
+ }
1707
+ adoptRelay(value) {
1708
+ __S.setUint16(8, 2, this);
1709
+ __S.adopt(value, __S.getPointer(0, this));
1710
+ }
1711
+ disownRelay() { return __S.disown(this.getRelay()); }
1712
+ getRelay() {
1713
+ __S.testWhich("relay", __S.getUint16(8, this), 2, this);
1714
+ return __S.getStruct(0, AuditRelayTx, this);
1715
+ }
1716
+ hasRelay() { return !__S.isNull(__S.getPointer(0, this)); }
1717
+ initRelay() {
1718
+ __S.setUint16(8, 2, this);
1719
+ return __S.initStructAt(0, AuditRelayTx, this);
1720
+ }
1721
+ isRelay() { return __S.getUint16(8, this) === 2; }
1722
+ setRelay(value) {
1723
+ __S.setUint16(8, 2, this);
1724
+ __S.copyFrom(value, __S.getPointer(0, this));
1725
+ }
1726
+ toString() { return "AuditTx_TxType_" + super.toString(); }
1727
+ which() { return __S.getUint16(8, this); }
1728
+ }
1729
+ export class AuditTx extends __S {
1730
+ static { this._capnp = { displayName: "AuditTx", id: "e9cc52cf4815771c", size: new __O(16, 2) }; }
1731
+ getTxType() { return __S.getAs(AuditTx_TxType, this); }
1732
+ initTxType() { return __S.getAs(AuditTx_TxType, this); }
1733
+ getNonce() { return __S.getUint32(0, this); }
1734
+ setNonce(value) { __S.setUint32(0, value, this); }
1735
+ getNodeNumAudited() { return __S.getUint32(4, this); }
1736
+ setNodeNumAudited(value) { __S.setUint32(4, value, this); }
1737
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(1, this)); }
1738
+ disownPubKey() { return __S.disown(this.getPubKey()); }
1739
+ getPubKey() { return __S.getData(1, this); }
1740
+ hasPubKey() { return !__S.isNull(__S.getPointer(1, this)); }
1741
+ initPubKey(length) { return __S.initData(1, length, this); }
1742
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
1743
+ toString() { return "AuditTx_" + super.toString(); }
1744
+ }
1745
+ export var UserValTxData_Tx_Which;
1746
+ (function (UserValTxData_Tx_Which) {
1747
+ UserValTxData_Tx_Which[UserValTxData_Tx_Which["COIN"] = 0] = "COIN";
1748
+ UserValTxData_Tx_Which[UserValTxData_Tx_Which["PROXY_CREATE"] = 1] = "PROXY_CREATE";
1749
+ UserValTxData_Tx_Which[UserValTxData_Tx_Which["PROXY_ADMIN"] = 2] = "PROXY_ADMIN";
1750
+ UserValTxData_Tx_Which[UserValTxData_Tx_Which["MULTISIG"] = 3] = "MULTISIG";
1751
+ UserValTxData_Tx_Which[UserValTxData_Tx_Which["NET_ACTOR_REC"] = 4] = "NET_ACTOR_REC";
1752
+ UserValTxData_Tx_Which[UserValTxData_Tx_Which["PARAM_ACCT_REC"] = 5] = "PARAM_ACCT_REC";
1753
+ UserValTxData_Tx_Which[UserValTxData_Tx_Which["AUDIT"] = 6] = "AUDIT";
1754
+ })(UserValTxData_Tx_Which || (UserValTxData_Tx_Which = {}));
1755
+ export class UserValTxData_Tx extends __S {
1756
+ static { this.COIN = UserValTxData_Tx_Which.COIN; }
1757
+ static { this.PROXY_CREATE = UserValTxData_Tx_Which.PROXY_CREATE; }
1758
+ static { this.PROXY_ADMIN = UserValTxData_Tx_Which.PROXY_ADMIN; }
1759
+ static { this.MULTISIG = UserValTxData_Tx_Which.MULTISIG; }
1760
+ static { this.NET_ACTOR_REC = UserValTxData_Tx_Which.NET_ACTOR_REC; }
1761
+ static { this.PARAM_ACCT_REC = UserValTxData_Tx_Which.PARAM_ACCT_REC; }
1762
+ static { this.AUDIT = UserValTxData_Tx_Which.AUDIT; }
1763
+ static { this._capnp = { displayName: "tx", id: "8fc1761e104d4888", size: new __O(16, 1) }; }
1764
+ adoptCoin(value) {
1765
+ __S.setUint16(12, 0, this);
1766
+ __S.adopt(value, __S.getPointer(0, this));
1767
+ }
1768
+ disownCoin() { return __S.disown(this.getCoin()); }
1769
+ getCoin() {
1770
+ __S.testWhich("coin", __S.getUint16(12, this), 0, this);
1771
+ return __S.getStruct(0, CoinTx, this);
1772
+ }
1773
+ hasCoin() { return !__S.isNull(__S.getPointer(0, this)); }
1774
+ initCoin() {
1775
+ __S.setUint16(12, 0, this);
1776
+ return __S.initStructAt(0, CoinTx, this);
1777
+ }
1778
+ isCoin() { return __S.getUint16(12, this) === 0; }
1779
+ setCoin(value) {
1780
+ __S.setUint16(12, 0, this);
1781
+ __S.copyFrom(value, __S.getPointer(0, this));
1782
+ }
1783
+ adoptProxyCreate(value) {
1784
+ __S.setUint16(12, 1, this);
1785
+ __S.adopt(value, __S.getPointer(0, this));
1786
+ }
1787
+ disownProxyCreate() { return __S.disown(this.getProxyCreate()); }
1788
+ getProxyCreate() {
1789
+ __S.testWhich("proxyCreate", __S.getUint16(12, this), 1, this);
1790
+ return __S.getStruct(0, ProxyCreateTx, this);
1791
+ }
1792
+ hasProxyCreate() { return !__S.isNull(__S.getPointer(0, this)); }
1793
+ initProxyCreate() {
1794
+ __S.setUint16(12, 1, this);
1795
+ return __S.initStructAt(0, ProxyCreateTx, this);
1796
+ }
1797
+ isProxyCreate() { return __S.getUint16(12, this) === 1; }
1798
+ setProxyCreate(value) {
1799
+ __S.setUint16(12, 1, this);
1800
+ __S.copyFrom(value, __S.getPointer(0, this));
1801
+ }
1802
+ adoptProxyAdmin(value) {
1803
+ __S.setUint16(12, 2, this);
1804
+ __S.adopt(value, __S.getPointer(0, this));
1805
+ }
1806
+ disownProxyAdmin() { return __S.disown(this.getProxyAdmin()); }
1807
+ getProxyAdmin() {
1808
+ __S.testWhich("proxyAdmin", __S.getUint16(12, this), 2, this);
1809
+ return __S.getStruct(0, ProxyAdminTx, this);
1810
+ }
1811
+ hasProxyAdmin() { return !__S.isNull(__S.getPointer(0, this)); }
1812
+ initProxyAdmin() {
1813
+ __S.setUint16(12, 2, this);
1814
+ return __S.initStructAt(0, ProxyAdminTx, this);
1815
+ }
1816
+ isProxyAdmin() { return __S.getUint16(12, this) === 2; }
1817
+ setProxyAdmin(value) {
1818
+ __S.setUint16(12, 2, this);
1819
+ __S.copyFrom(value, __S.getPointer(0, this));
1820
+ }
1821
+ adoptMultisig(value) {
1822
+ __S.setUint16(12, 3, this);
1823
+ __S.adopt(value, __S.getPointer(0, this));
1824
+ }
1825
+ disownMultisig() { return __S.disown(this.getMultisig()); }
1826
+ getMultisig() {
1827
+ __S.testWhich("multisig", __S.getUint16(12, this), 3, this);
1828
+ return __S.getStruct(0, MultisigTx, this);
1829
+ }
1830
+ hasMultisig() { return !__S.isNull(__S.getPointer(0, this)); }
1831
+ initMultisig() {
1832
+ __S.setUint16(12, 3, this);
1833
+ return __S.initStructAt(0, MultisigTx, this);
1834
+ }
1835
+ isMultisig() { return __S.getUint16(12, this) === 3; }
1836
+ setMultisig(value) {
1837
+ __S.setUint16(12, 3, this);
1838
+ __S.copyFrom(value, __S.getPointer(0, this));
1839
+ }
1840
+ adoptNetActorRec(value) {
1841
+ __S.setUint16(12, 4, this);
1842
+ __S.adopt(value, __S.getPointer(0, this));
1843
+ }
1844
+ disownNetActorRec() { return __S.disown(this.getNetActorRec()); }
1845
+ getNetActorRec() {
1846
+ __S.testWhich("netActorRec", __S.getUint16(12, this), 4, this);
1847
+ return __S.getStruct(0, NetActorRecTx, this);
1848
+ }
1849
+ hasNetActorRec() { return !__S.isNull(__S.getPointer(0, this)); }
1850
+ initNetActorRec() {
1851
+ __S.setUint16(12, 4, this);
1852
+ return __S.initStructAt(0, NetActorRecTx, this);
1853
+ }
1854
+ isNetActorRec() { return __S.getUint16(12, this) === 4; }
1855
+ setNetActorRec(value) {
1856
+ __S.setUint16(12, 4, this);
1857
+ __S.copyFrom(value, __S.getPointer(0, this));
1858
+ }
1859
+ adoptParamAcctRec(value) {
1860
+ __S.setUint16(12, 5, this);
1861
+ __S.adopt(value, __S.getPointer(0, this));
1862
+ }
1863
+ disownParamAcctRec() { return __S.disown(this.getParamAcctRec()); }
1864
+ getParamAcctRec() {
1865
+ __S.testWhich("paramAcctRec", __S.getUint16(12, this), 5, this);
1866
+ return __S.getStruct(0, ParamAcctRecTx, this);
1867
+ }
1868
+ hasParamAcctRec() { return !__S.isNull(__S.getPointer(0, this)); }
1869
+ initParamAcctRec() {
1870
+ __S.setUint16(12, 5, this);
1871
+ return __S.initStructAt(0, ParamAcctRecTx, this);
1872
+ }
1873
+ isParamAcctRec() { return __S.getUint16(12, this) === 5; }
1874
+ setParamAcctRec(value) {
1875
+ __S.setUint16(12, 5, this);
1876
+ __S.copyFrom(value, __S.getPointer(0, this));
1877
+ }
1878
+ adoptAudit(value) {
1879
+ __S.setUint16(12, 6, this);
1880
+ __S.adopt(value, __S.getPointer(0, this));
1881
+ }
1882
+ disownAudit() { return __S.disown(this.getAudit()); }
1883
+ getAudit() {
1884
+ __S.testWhich("audit", __S.getUint16(12, this), 6, this);
1885
+ return __S.getStruct(0, AuditTx, this);
1886
+ }
1887
+ hasAudit() { return !__S.isNull(__S.getPointer(0, this)); }
1888
+ initAudit() {
1889
+ __S.setUint16(12, 6, this);
1890
+ return __S.initStructAt(0, AuditTx, this);
1891
+ }
1892
+ isAudit() { return __S.getUint16(12, this) === 6; }
1893
+ setAudit(value) {
1894
+ __S.setUint16(12, 6, this);
1895
+ __S.copyFrom(value, __S.getPointer(0, this));
1896
+ }
1897
+ toString() { return "UserValTxData_Tx_" + super.toString(); }
1898
+ which() { return __S.getUint16(12, this); }
1899
+ }
1900
+ export class UserValTxData extends __S {
1901
+ static { this._capnp = { displayName: "UserValTxData", id: "a50418a6266b68c9", size: new __O(16, 1) }; }
1902
+ getBlockNum() { return __S.getUint32(0, this); }
1903
+ setBlockNum(value) { __S.setUint32(0, value, this); }
1904
+ getChainNum() { return __S.getUint32(4, this); }
1905
+ setChainNum(value) { __S.setUint32(4, value, this); }
1906
+ getNodeNum() { return __S.getUint32(8, this); }
1907
+ setNodeNum(value) { __S.setUint32(8, value, this); }
1908
+ getTx() { return __S.getAs(UserValTxData_Tx, this); }
1909
+ initTx() { return __S.getAs(UserValTxData_Tx, this); }
1910
+ toString() { return "UserValTxData_" + super.toString(); }
1911
+ }
1912
+ export class MultisigEndSubgroup extends __S {
1913
+ static { this._capnp = { displayName: "MultisigEndSubgroup", id: "802604f0df7f56db", size: new __O(0, 2) }; }
1914
+ adoptPubKey(value) { __S.adopt(value, __S.getPointer(0, this)); }
1915
+ disownPubKey() { return __S.disown(this.getPubKey()); }
1916
+ getPubKey() { return __S.getData(0, this); }
1917
+ hasPubKey() { return !__S.isNull(__S.getPointer(0, this)); }
1918
+ initPubKey(length) { return __S.initData(0, length, this); }
1919
+ setPubKey(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1920
+ adoptSignature(value) { __S.adopt(value, __S.getPointer(1, this)); }
1921
+ disownSignature() { return __S.disown(this.getSignature()); }
1922
+ getSignature() { return __S.getData(1, this); }
1923
+ hasSignature() { return !__S.isNull(__S.getPointer(1, this)); }
1924
+ initSignature(length) { return __S.initData(1, length, this); }
1925
+ setSignature(value) { __S.copyFrom(value, __S.getPointer(1, this)); }
1926
+ toString() { return "MultisigEndSubgroup_" + super.toString(); }
1927
+ }
1928
+ export class MultisigEndSubgroupEntry extends __S {
1929
+ static { this._capnp = { displayName: "MultisigEndSubgroupEntry", id: "fbe2c254c97419d2", size: new __O(8, 1) }; }
1930
+ getPosition() { return __S.getUint16(0, this); }
1931
+ setPosition(value) { __S.setUint16(0, value, this); }
1932
+ adoptItem(value) { __S.adopt(value, __S.getPointer(0, this)); }
1933
+ disownItem() { return __S.disown(this.getItem()); }
1934
+ getItem() { return __S.getStruct(0, MultisigEndSubgroup, this); }
1935
+ hasItem() { return !__S.isNull(__S.getPointer(0, this)); }
1936
+ initItem() { return __S.initStructAt(0, MultisigEndSubgroup, this); }
1937
+ setItem(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1938
+ toString() { return "MultisigEndSubgroupEntry_" + super.toString(); }
1939
+ }
1940
+ export var UserValTx_Signature_Which;
1941
+ (function (UserValTx_Signature_Which) {
1942
+ UserValTx_Signature_Which[UserValTx_Signature_Which["SOME"] = 0] = "SOME";
1943
+ UserValTx_Signature_Which[UserValTx_Signature_Which["NONE"] = 1] = "NONE";
1944
+ })(UserValTx_Signature_Which || (UserValTx_Signature_Which = {}));
1945
+ export class UserValTx_Signature extends __S {
1946
+ static { this.SOME = UserValTx_Signature_Which.SOME; }
1947
+ static { this.NONE = UserValTx_Signature_Which.NONE; }
1948
+ static { this._capnp = { displayName: "signature", id: "ee088482c13cd971", size: new __O(8, 3) }; }
1949
+ adoptSome(value) {
1950
+ __S.setUint16(0, 0, this);
1951
+ __S.adopt(value, __S.getPointer(1, this));
1952
+ }
1953
+ disownSome() { return __S.disown(this.getSome()); }
1954
+ getSome() {
1955
+ __S.testWhich("some", __S.getUint16(0, this), 0, this);
1956
+ return __S.getData(1, this);
1957
+ }
1958
+ hasSome() { return !__S.isNull(__S.getPointer(1, this)); }
1959
+ initSome(length) {
1960
+ __S.setUint16(0, 0, this);
1961
+ return __S.initData(1, length, this);
1962
+ }
1963
+ isSome() { return __S.getUint16(0, this) === 0; }
1964
+ setSome(value) {
1965
+ __S.setUint16(0, 0, this);
1966
+ __S.copyFrom(value, __S.getPointer(1, this));
1967
+ }
1968
+ isNone() { return __S.getUint16(0, this) === 1; }
1969
+ setNone() { __S.setUint16(0, 1, this); }
1970
+ toString() { return "UserValTx_Signature_" + super.toString(); }
1971
+ which() { return __S.getUint16(0, this); }
1972
+ }
1973
+ export class UserValTx extends __S {
1974
+ static { this._capnp = { displayName: "UserValTx", id: "b383e92d8fb8ccac", size: new __O(8, 3) }; }
1975
+ adoptData(value) { __S.adopt(value, __S.getPointer(0, this)); }
1976
+ disownData() { return __S.disown(this.getData()); }
1977
+ getData() { return __S.getStruct(0, UserValTxData, this); }
1978
+ hasData() { return !__S.isNull(__S.getPointer(0, this)); }
1979
+ initData() { return __S.initStructAt(0, UserValTxData, this); }
1980
+ setData(value) { __S.copyFrom(value, __S.getPointer(0, this)); }
1981
+ getSignature() { return __S.getAs(UserValTx_Signature, this); }
1982
+ initSignature() { return __S.getAs(UserValTx_Signature, this); }
1983
+ adoptEndorsements(value) { __S.adopt(value, __S.getPointer(2, this)); }
1984
+ disownEndorsements() { return __S.disown(this.getEndorsements()); }
1985
+ getEndorsements() { return __S.getList(2, UserValTx._Endorsements, this); }
1986
+ hasEndorsements() { return !__S.isNull(__S.getPointer(2, this)); }
1987
+ initEndorsements(length) { return __S.initList(2, UserValTx._Endorsements, length, this); }
1988
+ setEndorsements(value) { __S.copyFrom(value, __S.getPointer(2, this)); }
1989
+ toString() { return "UserValTx_" + super.toString(); }
1990
+ }
1991
+ CoinAssetTx._TokenAssetSubgroups = capnp.CompositeList(TokenAssetSubgroupEntry);
1992
+ CoinAssetTx._NftAssetSubgroups = capnp.CompositeList(NftAssetSubgroupEntry);
1993
+ CoinBurnTx._TokenAssetSubgroups = capnp.CompositeList(TokenAssetSubgroupEntry);
1994
+ CoinBurnTx._NftAssetSubgroups = capnp.CompositeList(NftAssetSubgroupEntry);
1995
+ CoinHlTx._TokenAssetSubgroups = capnp.CompositeList(TokenAssetSubgroupEntry);
1996
+ CoinHlTx._NftAssetSubgroups = capnp.CompositeList(NftAssetSubgroupEntry);
1997
+ ProxyCreateDceTx._AcctNumMultiUsers = capnp.CompositeList(AcctNumEntry);
1998
+ ProxyCreateFundingTx._AcctNumMultiUsers = capnp.CompositeList(AcctNumEntry);
1999
+ ProxyCreateMultisigTx._AcctNumMultiUsers = capnp.CompositeList(AcctNumEntry);
2000
+ ProxyUpdateTx._AcctNumMultiUsers = capnp.CompositeList(AcctNumEntry);
2001
+ MultisigTx._TokenAssetSubgroups = capnp.CompositeList(TokenAssetSubgroupEntry);
2002
+ MultisigTx._NftAssetSubgroups = capnp.CompositeList(NftAssetSubgroupEntry);
2003
+ UserValTx._Endorsements = capnp.CompositeList(MultisigEndSubgroupEntry);
2004
+ //# sourceMappingURL=userValTx.capnp.js.map