@sentio/sdk-bundle 4.0.1-rc.2 → 4.0.1-rc.4

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 (64) hide show
  1. package/assets/chainlink-oracles-sepolia.json +21 -0
  2. package/assets/chainlink-oracles.json +219 -0
  3. package/dist/{0x1-B_N1Dd6d.js → 0x1-CWhLCIJf.js} +30 -22
  4. package/dist/0x1-CWhLCIJf.js.map +1 -0
  5. package/dist/{AbstractKeylessAccount-dvYSW9Go.js → AbstractKeylessAccount-DE1e2Glg.js} +3 -2
  6. package/dist/{AbstractKeylessAccount-dvYSW9Go.js.map → AbstractKeylessAccount-DE1e2Glg.js.map} +1 -1
  7. package/dist/_md-CZAi2AzY.js +644 -0
  8. package/dist/_md-CZAi2AzY.js.map +1 -0
  9. package/dist/aptos/builtin/0x1.js +2 -2
  10. package/dist/aptos/builtin/0x3.js +3 -3
  11. package/dist/aptos/builtin/0x3.js.map +1 -1
  12. package/dist/aptos/builtin/0x4.js +3 -3
  13. package/dist/aptos/builtin/0x4.js.map +1 -1
  14. package/dist/aptos/builtin/index.js +1 -1
  15. package/dist/aptos/ext/index.js +2 -2
  16. package/dist/aptos/index.js +2 -2
  17. package/dist/{aptos-DPeebJ9j.js → aptos-Cgfa8IQj.js} +257 -47
  18. package/dist/{aptos-DPeebJ9j.js.map → aptos-Cgfa8IQj.js.map} +1 -1
  19. package/dist/{coin-DREiK-Br.js → coin-CBrx3CpG.js} +1514 -105
  20. package/dist/coin-CBrx3CpG.js.map +1 -0
  21. package/dist/{coin-CWRVUEBa.js → coin-Mht4Jgvj.js} +803 -4
  22. package/dist/coin-Mht4Jgvj.js.map +1 -0
  23. package/dist/eth/builtin/eacaggregatorproxy.js +1 -1
  24. package/dist/eth/builtin/erc1155.js +1 -1
  25. package/dist/eth/builtin/erc20.js +1 -1
  26. package/dist/eth/builtin/erc721.js +1 -1
  27. package/dist/eth/builtin/index.js +1 -1
  28. package/dist/eth/builtin/weth9.js +1 -1
  29. package/dist/eth/index.js +1 -1
  30. package/dist/iota/builtin/0x1.js +3 -3
  31. package/dist/iota/builtin/0x2.js +168 -5
  32. package/dist/iota/builtin/0x2.js.map +1 -1
  33. package/dist/iota/builtin/0x3.js +3 -3
  34. package/dist/iota/ext/index.js +1 -1
  35. package/dist/iota/index.js +3 -3
  36. package/dist/{keyless-B3QnUmtL.js → keyless-nGiRkJjM.js} +1278 -976
  37. package/dist/keyless-nGiRkJjM.js.map +1 -0
  38. package/dist/move/index.js +1 -1
  39. package/dist/{move-Dr-DL5zT.js → move-BVvdKH2Q.js} +7 -7
  40. package/dist/{move-Dr-DL5zT.js.map → move-BVvdKH2Q.js.map} +1 -1
  41. package/dist/sui/builtin/0x1.js +1 -1
  42. package/dist/sui/builtin/0x2.js +4 -4
  43. package/dist/sui/builtin/0x3.js +4 -4
  44. package/dist/sui/builtin/index.js +1 -1
  45. package/dist/sui/ext/index.js +1 -1
  46. package/dist/sui/index.js +3 -3
  47. package/dist/{sui-BbKeYXM3.js → sui-BcHp8IsJ.js} +17 -17
  48. package/dist/{sui-BbKeYXM3.js.map → sui-BcHp8IsJ.js.map} +1 -1
  49. package/dist/testing/index.js +6 -6
  50. package/dist/utils/index.js +1 -1
  51. package/dist/{utils-Jndk-n_F.js → utils-BQ0dnllb.js} +11 -903
  52. package/dist/utils-BQ0dnllb.js.map +1 -0
  53. package/package.json +2 -2
  54. package/assets/chainlink-oracles-sepolia.csv +0 -19
  55. package/assets/chainlink-oracles.csv +0 -217
  56. package/dist/0x1-B_N1Dd6d.js.map +0 -1
  57. package/dist/base-BvfRCgEy.js +0 -959
  58. package/dist/base-BvfRCgEy.js.map +0 -1
  59. package/dist/coin-CWRVUEBa.js.map +0 -1
  60. package/dist/coin-DREiK-Br.js.map +0 -1
  61. package/dist/dist-CA96PSzE.js +0 -824
  62. package/dist/dist-CA96PSzE.js.map +0 -1
  63. package/dist/keyless-B3QnUmtL.js.map +0 -1
  64. package/dist/utils-Jndk-n_F.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"coin-DREiK-Br.js","names":["NAME_SEPARATOR","#write","#serialize","#schema","#bytes","Owner","TypeTag","FundsWithdrawal","StructTag","Argument","Command","ProgrammableTransaction","TransactionKind","TransactionExpiration","PasskeyAuthenticator","TypeOrigin","PackageUpgradeError","MoveLocation","CommandArgumentError","TypeArgumentError","ExecutionStatus","GasCostSummary","Owner","TypeTag","TransactionEffects","#prefix","#cache","u64.add3L","u64.add3H","u64.rotr32H","u64.rotr32L","u64.add","u64.rotrSH","u64.rotrSL","u64.rotrBH","u64.rotrBL","u64.fromBig","#cache","#url","#pageSize","#overrides","#mvrPackageDataLoader","#resolvePackages","#mvrTypeDataLoader","#resolveTypes","#fetch","NormalizedCallArg","TransactionExpiration","TransactionExpiration","ExecutionStatus","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","PbLong","MessageType","MessageType","MessageType","MessageType","PbLong","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","ServiceType","#client","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","MessageType","ServiceType","MessageType","ServiceType","MessageType","ServiceType","MessageType","ServiceType","MessageType","ServiceType","MessageType","ServiceType","MessageType","ServiceType","GrpcWebFetchTransport","GrpcWebFetchTransport","fetch"],"sources":["../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/utils/suins.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/utils/move-registry.mjs","../../../node_modules/.pnpm/@mysten+utils@0.3.3/node_modules/@mysten/utils/dist/b58.mjs","../../../node_modules/.pnpm/@mysten+utils@0.3.3/node_modules/@mysten/utils/dist/b64.mjs","../../../node_modules/.pnpm/@mysten+utils@0.3.3/node_modules/@mysten/utils/dist/hex.mjs","../../../node_modules/.pnpm/@mysten+utils@0.3.3/node_modules/@mysten/utils/dist/chunk.mjs","../../../node_modules/.pnpm/@mysten+utils@0.3.3/node_modules/@mysten/utils/dist/dataloader.mjs","../../../node_modules/.pnpm/@mysten+bcs@2.0.5/node_modules/@mysten/bcs/dist/utils.mjs","../../../node_modules/.pnpm/@mysten+bcs@2.0.5/node_modules/@mysten/bcs/dist/uleb.mjs","../../../node_modules/.pnpm/@mysten+bcs@2.0.5/node_modules/@mysten/bcs/dist/reader.mjs","../../../node_modules/.pnpm/@mysten+bcs@2.0.5/node_modules/@mysten/bcs/dist/writer.mjs","../../../node_modules/.pnpm/@mysten+bcs@2.0.5/node_modules/@mysten/bcs/dist/bcs-type.mjs","../../../node_modules/.pnpm/@mysten+bcs@2.0.5/node_modules/@mysten/bcs/dist/bcs.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/utils/sui-types.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/bcs/type-tag-serializer.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/bcs/bcs.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/bcs/effects.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/bcs/pure.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/bcs/index.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/client/cache.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/client/client.mjs","../../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_blake.js","../../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/blake2.js","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/utils/dynamic-fields.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/version.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/client/mvr.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/client/core.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/transactions/data/internal.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/transactions/data/v1.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/transactions/hash.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/transactions/utils.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/transactions/TransactionData.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/client/utils.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/client/errors.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/utils/constants.mjs","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/json-typings.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/base64.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/protobufjs-utf8.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/binary-format-contract.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/goog-varint.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/pb-long.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/binary-reader.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/assert.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/binary-writer.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/json-format-contract.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/message-type-contract.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/lower-camel-case.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-info.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/oneof.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-type-check.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-long-convert.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-reader.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-writer.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-scalar-default.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-reader.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-writer.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-create.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-merge-partial.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-equals.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/message-type.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-contains-message-type.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/enum-object.js","../../../node_modules/.pnpm/@protobuf-ts+runtime@2.11.1/node_modules/@protobuf-ts/runtime/build/commonjs/index.js","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/google/protobuf/struct.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/move_package.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/owner.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/argument.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/input.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/google/protobuf/duration.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/jwk.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/bcs.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/object.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/google/protobuf/timestamp.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/object_reference.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/transaction.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/client/transaction-resolver.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/execution_status.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/gas_cost_summary.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/effects.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/signature.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/balance_change.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/event.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/google/protobuf/field_mask.mjs","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/reflection-info.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/service-type.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-error.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-options.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/deferred.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/unary-call.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-streaming-call.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/client-streaming-call.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/duplex-streaming-call.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/test-transport.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-interceptor.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-call-context.js","../../../node_modules/.pnpm/@protobuf-ts+runtime-rpc@2.11.1/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/index.js","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/core.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.client.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/protocol_config.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/system_state.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/epoch.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/checkpoint_contents.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/checkpoint_summary.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/checkpoint.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/google/protobuf/any.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/google/rpc/status.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/ledger_service.client.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/move_package_service.client.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/state_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/state_service.client.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/subscription_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/name_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/rpc/v2/name_service.client.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/forking/v1alpha/forking_service.mjs","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.mjs","../../../node_modules/.pnpm/@protobuf-ts+grpcweb-transport@2.11.1/node_modules/@protobuf-ts/grpcweb-transport/build/commonjs/goog-grpc-status-code.js","../../../node_modules/.pnpm/@protobuf-ts+grpcweb-transport@2.11.1/node_modules/@protobuf-ts/grpcweb-transport/build/commonjs/grpc-web-format.js","../../../node_modules/.pnpm/@protobuf-ts+grpcweb-transport@2.11.1/node_modules/@protobuf-ts/grpcweb-transport/build/commonjs/grpc-web-transport.js","../../../node_modules/.pnpm/@protobuf-ts+grpcweb-transport@2.11.1/node_modules/@protobuf-ts/grpcweb-transport/build/commonjs/index.js","../../../node_modules/.pnpm/@mysten+sui@2.17.0_typescript@6.0.3/node_modules/@mysten/sui/dist/grpc/client.mjs","../src/sui/network.ts","../src/sui/ext/coin.ts"],"sourcesContent":["//#region src/utils/suins.ts\nconst SUI_NS_NAME_REGEX = /^(?!.*(^(?!@)|[-.@])($|[-.@]))(?:[a-z0-9-]{0,63}(?:\\.[a-z0-9-]{0,63})*)?@[a-z0-9-]{0,63}$/i;\nconst SUI_NS_DOMAIN_REGEX = /^(?!.*(^|[-.])($|[-.]))(?:[a-z0-9-]{0,63}\\.)+sui$/i;\nconst MAX_SUI_NS_NAME_LENGTH = 235;\nfunction isValidSuiNSName(name) {\n\tif (name.length > MAX_SUI_NS_NAME_LENGTH) return false;\n\tif (name.includes(\"@\")) return SUI_NS_NAME_REGEX.test(name);\n\treturn SUI_NS_DOMAIN_REGEX.test(name);\n}\nfunction normalizeSuiNSName(name, format = \"at\") {\n\tconst lowerCase = name.toLowerCase();\n\tlet parts;\n\tif (lowerCase.includes(\"@\")) {\n\t\tif (!SUI_NS_NAME_REGEX.test(lowerCase)) throw new Error(`Invalid SuiNS name ${name}`);\n\t\tconst [labels, domain] = lowerCase.split(\"@\");\n\t\tparts = [...labels ? labels.split(\".\") : [], domain];\n\t} else {\n\t\tif (!SUI_NS_DOMAIN_REGEX.test(lowerCase)) throw new Error(`Invalid SuiNS name ${name}`);\n\t\tparts = lowerCase.split(\".\").slice(0, -1);\n\t}\n\tif (format === \"dot\") return `${parts.join(\".\")}.sui`;\n\treturn `${parts.slice(0, -1).join(\".\")}@${parts[parts.length - 1]}`;\n}\n\n//#endregion\nexport { isValidSuiNSName, normalizeSuiNSName };\n//# sourceMappingURL=suins.mjs.map","import { isValidSuiNSName } from \"./suins.mjs\";\nimport { isValidStructTag } from \"./sui-types.mjs\";\n\n//#region src/utils/move-registry.ts\n/** The pattern to find an optionally versioned name */\nconst NAME_PATTERN = /^([a-z0-9]+(?:-[a-z0-9]+)*)$/;\n/** The pattern for a valid version number */\nconst VERSION_REGEX = /^\\d+$/;\n/** The maximum size for an app */\nconst MAX_APP_SIZE = 64;\n/** The separator for the name */\nconst NAME_SEPARATOR = \"/\";\nconst isValidNamedPackage = (name) => {\n\tconst parts = name.split(NAME_SEPARATOR);\n\tif (parts.length < 2 || parts.length > 3) return false;\n\tconst [org, app, version] = parts;\n\tif (version !== void 0 && !VERSION_REGEX.test(version)) return false;\n\tif (!isValidSuiNSName(org)) return false;\n\treturn NAME_PATTERN.test(app) && app.length < MAX_APP_SIZE;\n};\n/**\n* Checks if a type contains valid named packages and is a valid Move struct tag.\n*/\nconst isValidNamedType = (type) => {\n\tconst splitType = type.split(/::|<|>|,/);\n\tfor (const t of splitType) if (t.includes(NAME_SEPARATOR) && !isValidNamedPackage(t)) return false;\n\treturn isValidStructTag(type);\n};\n\n//#endregion\nexport { isValidNamedPackage, isValidNamedType };\n//# sourceMappingURL=move-registry.mjs.map","import { base58 } from \"@scure/base\";\n\n//#region src/b58.ts\nconst toBase58 = (buffer) => base58.encode(buffer);\nconst fromBase58 = (str) => base58.decode(str);\n\n//#endregion\nexport { fromBase58, toBase58 };\n//# sourceMappingURL=b58.mjs.map","//#region src/b64.ts\nfunction fromBase64(base64String) {\n\treturn Uint8Array.from(atob(base64String), (char) => char.charCodeAt(0));\n}\nconst CHUNK_SIZE = 8192;\nfunction toBase64(bytes) {\n\tif (bytes.length < CHUNK_SIZE) return btoa(String.fromCharCode(...bytes));\n\tlet output = \"\";\n\tfor (var i = 0; i < bytes.length; i += CHUNK_SIZE) {\n\t\tconst chunk = bytes.slice(i, i + CHUNK_SIZE);\n\t\toutput += String.fromCharCode(...chunk);\n\t}\n\treturn btoa(output);\n}\n\n//#endregion\nexport { fromBase64, toBase64 };\n//# sourceMappingURL=b64.mjs.map","//#region src/hex.ts\nfunction fromHex(hexStr) {\n\tconst normalized = hexStr.startsWith(\"0x\") ? hexStr.slice(2) : hexStr;\n\tconst padded = normalized.length % 2 === 0 ? normalized : `0${normalized}`;\n\tconst intArr = padded.match(/[0-9a-fA-F]{2}/g)?.map((byte) => parseInt(byte, 16)) ?? [];\n\tif (intArr.length !== padded.length / 2) throw new Error(`Invalid hex string ${hexStr}`);\n\treturn Uint8Array.from(intArr);\n}\nfunction toHex(bytes) {\n\treturn bytes.reduce((str, byte) => str + byte.toString(16).padStart(2, \"0\"), \"\");\n}\n\n//#endregion\nexport { fromHex, toHex };\n//# sourceMappingURL=hex.mjs.map","//#region src/chunk.ts\nfunction chunk(array, size) {\n\treturn Array.from({ length: Math.ceil(array.length / size) }, (_, i) => {\n\t\treturn array.slice(i * size, (i + 1) * size);\n\t});\n}\n\n//#endregion\nexport { chunk };\n//# sourceMappingURL=chunk.mjs.map","//#region src/dataloader.ts\n/**\n* DataLoader - A generic utility for batching and caching data fetches.\n*\n* Vendored from: https://github.com/graphql/dataloader\n* Commit: a10773043d41a56bde4219c155fcf5633e6c9bcb\n* License: MIT\n* Copyright (c) GraphQL Contributors\n*/\n/**\n* A `DataLoader` creates a public API for loading data from a particular\n* data back-end with unique keys such as the `id` column of a SQL table or\n* document name in a MongoDB database, given a batch loading function.\n*\n* Each `DataLoader` instance contains a unique memoized cache. Use caution when\n* used in long-lived applications or those which serve many users with\n* different access permissions and consider creating a new instance per\n* web request.\n*/\nvar DataLoader = class {\n\tconstructor(batchLoadFn, options) {\n\t\tif (typeof batchLoadFn !== \"function\") throw new TypeError(`DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but got: ${batchLoadFn}.`);\n\t\tthis._batchLoadFn = batchLoadFn;\n\t\tthis._maxBatchSize = getValidMaxBatchSize(options);\n\t\tthis._batchScheduleFn = getValidBatchScheduleFn(options);\n\t\tthis._cacheKeyFn = getValidCacheKeyFn(options);\n\t\tthis._cacheMap = getValidCacheMap(options);\n\t\tthis._batch = null;\n\t\tthis.name = getValidName(options);\n\t}\n\t/**\n\t* Loads a key, returning a `Promise` for the value represented by that key.\n\t*/\n\tload(key) {\n\t\tif (key === null || key === void 0) throw new TypeError(`The loader.load() function must be called with a value, but got: ${String(key)}.`);\n\t\tconst batch = getCurrentBatch(this);\n\t\tconst cacheMap = this._cacheMap;\n\t\tlet cacheKey;\n\t\tif (cacheMap) {\n\t\t\tcacheKey = this._cacheKeyFn(key);\n\t\t\tconst cachedPromise = cacheMap.get(cacheKey);\n\t\t\tif (cachedPromise) {\n\t\t\t\tconst cacheHits = batch.cacheHits || (batch.cacheHits = []);\n\t\t\t\treturn new Promise((resolve) => {\n\t\t\t\t\tcacheHits.push(() => {\n\t\t\t\t\t\tresolve(cachedPromise);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tbatch.keys.push(key);\n\t\tconst promise = new Promise((resolve, reject) => {\n\t\t\tbatch.callbacks.push({\n\t\t\t\tresolve,\n\t\t\t\treject\n\t\t\t});\n\t\t});\n\t\tif (cacheMap) cacheMap.set(cacheKey, promise);\n\t\treturn promise;\n\t}\n\t/**\n\t* Loads multiple keys, promising an array of values:\n\t*\n\t* var [ a, b ] = await myLoader.loadMany([ 'a', 'b' ]);\n\t*\n\t* This is similar to the more verbose:\n\t*\n\t* var [ a, b ] = await Promise.all([\n\t* myLoader.load('a'),\n\t* myLoader.load('b')\n\t* ]);\n\t*\n\t* However it is different in the case where any load fails. Where\n\t* Promise.all() would reject, loadMany() always resolves, however each result\n\t* is either a value or an Error instance.\n\t*\n\t* var [ a, b, c ] = await myLoader.loadMany([ 'a', 'b', 'badkey' ]);\n\t* // c instanceof Error\n\t*\n\t*/\n\tloadMany(keys) {\n\t\tif (!isArrayLike(keys)) throw new TypeError(`The loader.loadMany() function must be called with Array<key>, but got: ${keys}.`);\n\t\tconst loadPromises = [];\n\t\tfor (let i = 0; i < keys.length; i++) loadPromises.push(this.load(keys[i]).catch((error) => error));\n\t\treturn Promise.all(loadPromises);\n\t}\n\t/**\n\t* Clears the value at `key` from the cache, if it exists. Returns itself for\n\t* method chaining.\n\t*/\n\tclear(key) {\n\t\tconst cacheMap = this._cacheMap;\n\t\tif (cacheMap) {\n\t\t\tconst cacheKey = this._cacheKeyFn(key);\n\t\t\tcacheMap.delete(cacheKey);\n\t\t}\n\t\treturn this;\n\t}\n\t/**\n\t* Clears the entire cache. To be used when some event results in unknown\n\t* invalidations across this particular `DataLoader`. Returns itself for\n\t* method chaining.\n\t*/\n\tclearAll() {\n\t\tconst cacheMap = this._cacheMap;\n\t\tif (cacheMap) cacheMap.clear();\n\t\treturn this;\n\t}\n\t/**\n\t* Adds the provided key and value to the cache. If the key already\n\t* exists, no change is made. Returns itself for method chaining.\n\t*\n\t* To prime the cache with an error at a key, provide an Error instance.\n\t*/\n\tprime(key, value) {\n\t\tconst cacheMap = this._cacheMap;\n\t\tif (cacheMap) {\n\t\t\tconst cacheKey = this._cacheKeyFn(key);\n\t\t\tif (cacheMap.get(cacheKey) === void 0) {\n\t\t\t\tlet promise;\n\t\t\t\tif (value instanceof Error) {\n\t\t\t\t\tpromise = Promise.reject(value);\n\t\t\t\t\tpromise.catch(() => {});\n\t\t\t\t} else promise = Promise.resolve(value);\n\t\t\t\tcacheMap.set(cacheKey, promise);\n\t\t\t}\n\t\t}\n\t\treturn this;\n\t}\n};\nconst enqueuePostPromiseJob = typeof process === \"object\" && typeof process.nextTick === \"function\" ? function(fn) {\n\tif (!resolvedPromise) resolvedPromise = Promise.resolve();\n\tresolvedPromise.then(() => {\n\t\tprocess.nextTick(fn);\n\t});\n} : typeof setImmediate === \"function\" ? function(fn) {\n\tsetImmediate(fn);\n} : function(fn) {\n\tsetTimeout(fn);\n};\nlet resolvedPromise;\nfunction getCurrentBatch(loader) {\n\tconst existingBatch = loader._batch;\n\tif (existingBatch !== null && !existingBatch.hasDispatched && existingBatch.keys.length < loader._maxBatchSize) return existingBatch;\n\tconst newBatch = {\n\t\thasDispatched: false,\n\t\tkeys: [],\n\t\tcallbacks: []\n\t};\n\tloader._batch = newBatch;\n\tloader._batchScheduleFn(() => {\n\t\tdispatchBatch(loader, newBatch);\n\t});\n\treturn newBatch;\n}\nfunction dispatchBatch(loader, batch) {\n\tbatch.hasDispatched = true;\n\tif (batch.keys.length === 0) {\n\t\tresolveCacheHits(batch);\n\t\treturn;\n\t}\n\tlet batchPromise;\n\ttry {\n\t\tbatchPromise = loader._batchLoadFn(batch.keys);\n\t} catch (e) {\n\t\treturn failedDispatch(loader, batch, /* @__PURE__ */ new TypeError(`DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function errored synchronously: ${String(e)}.`));\n\t}\n\tif (!batchPromise || typeof batchPromise.then !== \"function\") return failedDispatch(loader, batch, /* @__PURE__ */ new TypeError(`DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise: ${String(batchPromise)}.`));\n\tPromise.resolve(batchPromise).then((values) => {\n\t\tif (!isArrayLike(values)) throw new TypeError(`DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: ${String(values)}.`);\n\t\tif (values.length !== batch.keys.length) throw new TypeError(`DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\\n\\nKeys:\\n${String(batch.keys)}\\n\\nValues:\\n${String(values)}`);\n\t\tresolveCacheHits(batch);\n\t\tfor (let i = 0; i < batch.callbacks.length; i++) {\n\t\t\tconst value = values[i];\n\t\t\tif (value instanceof Error) batch.callbacks[i].reject(value);\n\t\t\telse batch.callbacks[i].resolve(value);\n\t\t}\n\t}).catch((error) => {\n\t\tfailedDispatch(loader, batch, error);\n\t});\n}\nfunction failedDispatch(loader, batch, error) {\n\tresolveCacheHits(batch);\n\tfor (let i = 0; i < batch.keys.length; i++) {\n\t\tloader.clear(batch.keys[i]);\n\t\tbatch.callbacks[i].reject(error);\n\t}\n}\nfunction resolveCacheHits(batch) {\n\tif (batch.cacheHits) for (let i = 0; i < batch.cacheHits.length; i++) batch.cacheHits[i]();\n}\nfunction getValidMaxBatchSize(options) {\n\tif (!(!options || options.batch !== false)) return 1;\n\tconst maxBatchSize = options && options.maxBatchSize;\n\tif (maxBatchSize === void 0) return Infinity;\n\tif (typeof maxBatchSize !== \"number\" || maxBatchSize < 1) throw new TypeError(`maxBatchSize must be a positive number: ${maxBatchSize}`);\n\treturn maxBatchSize;\n}\nfunction getValidBatchScheduleFn(options) {\n\tconst batchScheduleFn = options && options.batchScheduleFn;\n\tif (batchScheduleFn === void 0) return enqueuePostPromiseJob;\n\tif (typeof batchScheduleFn !== \"function\") throw new TypeError(`batchScheduleFn must be a function: ${batchScheduleFn}`);\n\treturn batchScheduleFn;\n}\nfunction getValidCacheKeyFn(options) {\n\tconst cacheKeyFn = options && options.cacheKeyFn;\n\tif (cacheKeyFn === void 0) return (key) => key;\n\tif (typeof cacheKeyFn !== \"function\") throw new TypeError(`cacheKeyFn must be a function: ${cacheKeyFn}`);\n\treturn cacheKeyFn;\n}\nfunction getValidCacheMap(options) {\n\tif (!(!options || options.cache !== false)) return null;\n\tconst cacheMap = options && options.cacheMap;\n\tif (cacheMap === void 0) return /* @__PURE__ */ new Map();\n\tif (cacheMap !== null) {\n\t\tconst missingFunctions = [\n\t\t\t\"get\",\n\t\t\t\"set\",\n\t\t\t\"delete\",\n\t\t\t\"clear\"\n\t\t].filter((fnName) => cacheMap && typeof cacheMap[fnName] !== \"function\");\n\t\tif (missingFunctions.length !== 0) throw new TypeError(\"Custom cacheMap missing methods: \" + missingFunctions.join(\", \"));\n\t}\n\treturn cacheMap;\n}\nfunction getValidName(options) {\n\tif (options && options.name) return options.name;\n\treturn null;\n}\nfunction isArrayLike(x) {\n\treturn typeof x === \"object\" && x !== null && \"length\" in x && typeof x.length === \"number\" && (x.length === 0 || x.length > 0 && Object.prototype.hasOwnProperty.call(x, x.length - 1));\n}\n\n//#endregion\nexport { DataLoader };\n//# sourceMappingURL=dataloader.mjs.map","import { fromBase58, fromBase64, fromHex, toBase58, toBase64, toHex } from \"@mysten/utils\";\n\n//#region src/utils.ts\n/**\n* Encode data with either `hex` or `base64`.\n*\n* @param {Uint8Array} data Data to encode.\n* @param {String} encoding Encoding to use: base64 or hex\n* @returns {String} Encoded value.\n*/\nfunction encodeStr(data, encoding) {\n\tswitch (encoding) {\n\t\tcase \"base58\": return toBase58(data);\n\t\tcase \"base64\": return toBase64(data);\n\t\tcase \"hex\": return toHex(data);\n\t\tdefault: throw new Error(\"Unsupported encoding, supported values are: base64, hex\");\n\t}\n}\n/**\n* Decode either `base64` or `hex` data.\n*\n* @param {String} data Data to encode.\n* @param {String} encoding Encoding to use: base64 or hex\n* @returns {Uint8Array} Encoded value.\n*/\nfunction decodeStr(data, encoding) {\n\tswitch (encoding) {\n\t\tcase \"base58\": return fromBase58(data);\n\t\tcase \"base64\": return fromBase64(data);\n\t\tcase \"hex\": return fromHex(data);\n\t\tdefault: throw new Error(\"Unsupported encoding, supported values are: base64, hex\");\n\t}\n}\nfunction splitGenericParameters(str, genericSeparators = [\"<\", \">\"]) {\n\tconst [left, right] = genericSeparators;\n\tconst tok = [];\n\tlet word = \"\";\n\tlet nestedAngleBrackets = 0;\n\tfor (let i = 0; i < str.length; i++) {\n\t\tconst char = str[i];\n\t\tif (char === left) nestedAngleBrackets++;\n\t\tif (char === right) nestedAngleBrackets--;\n\t\tif (nestedAngleBrackets === 0 && char === \",\") {\n\t\t\ttok.push(word.trim());\n\t\t\tword = \"\";\n\t\t\tcontinue;\n\t\t}\n\t\tword += char;\n\t}\n\ttok.push(word.trim());\n\treturn tok;\n}\n\n//#endregion\nexport { decodeStr, encodeStr, splitGenericParameters };\n//# sourceMappingURL=utils.mjs.map","//#region src/uleb.ts\nfunction ulebEncode(num) {\n\tlet bigNum = BigInt(num);\n\tconst arr = [];\n\tlet len = 0;\n\tif (bigNum === 0n) return [0];\n\twhile (bigNum > 0) {\n\t\tarr[len] = Number(bigNum & 127n);\n\t\tbigNum >>= 7n;\n\t\tif (bigNum > 0n) arr[len] |= 128;\n\t\tlen += 1;\n\t}\n\treturn arr;\n}\nfunction ulebDecode(arr) {\n\tlet total = 0n;\n\tlet shift = 0n;\n\tlet len = 0;\n\twhile (true) {\n\t\tif (len >= arr.length) throw new Error(\"ULEB decode error: buffer overflow\");\n\t\tconst byte = arr[len];\n\t\tlen += 1;\n\t\ttotal += BigInt(byte & 127) << shift;\n\t\tif ((byte & 128) === 0) break;\n\t\tshift += 7n;\n\t}\n\tif (total > BigInt(Number.MAX_SAFE_INTEGER)) throw new Error(\"ULEB decode error: value exceeds MAX_SAFE_INTEGER\");\n\treturn {\n\t\tvalue: Number(total),\n\t\tlength: len\n\t};\n}\n\n//#endregion\nexport { ulebDecode, ulebEncode };\n//# sourceMappingURL=uleb.mjs.map","import { ulebDecode } from \"./uleb.mjs\";\n\n//#region src/reader.ts\n/**\n* Class used for reading BCS data chunk by chunk. Meant to be used\n* by some wrapper, which will make sure that data is valid and is\n* matching the desired format.\n*\n* @example\n* // data for this example is:\n* // { a: u8, b: u32, c: bool, d: u64 }\n*\n* let reader = new BcsReader(\"647f1a060001ffffe7890423c78a050102030405\");\n* let field1 = reader.read8();\n* let field2 = reader.read32();\n* let field3 = reader.read8() === '1'; // bool\n* let field4 = reader.read64();\n* // ....\n*\n* Reading vectors is another deal in bcs. To read a vector, you first need to read\n* its length using {@link readULEB}. Here's an example:\n* @example\n* // data encoded: { field: [1, 2, 3, 4, 5] }\n* let reader = new BcsReader(\"050102030405\");\n* let vec_length = reader.readULEB();\n* let elements = [];\n* for (let i = 0; i < vec_length; i++) {\n* elements.push(reader.read8());\n* }\n* console.log(elements); // [1,2,3,4,5]\n*\n* @param {String} data HEX-encoded data (serialized BCS)\n*/\nvar BcsReader = class {\n\t/**\n\t* @param {Uint8Array} data Data to use as a buffer.\n\t*/\n\tconstructor(data) {\n\t\tthis.bytePosition = 0;\n\t\tthis.dataView = new DataView(data.buffer, data.byteOffset, data.byteLength);\n\t}\n\t/**\n\t* Shift current cursor position by `bytes`.\n\t*\n\t* @param {Number} bytes Number of bytes to\n\t* @returns {this} Self for possible chaining.\n\t*/\n\tshift(bytes) {\n\t\tthis.bytePosition += bytes;\n\t\treturn this;\n\t}\n\t/**\n\t* Read U8 value from the buffer and shift cursor by 1.\n\t* @returns\n\t*/\n\tread8() {\n\t\tconst value = this.dataView.getUint8(this.bytePosition);\n\t\tthis.shift(1);\n\t\treturn value;\n\t}\n\t/**\n\t* Read U16 value from the buffer and shift cursor by 2.\n\t* @returns\n\t*/\n\tread16() {\n\t\tconst value = this.dataView.getUint16(this.bytePosition, true);\n\t\tthis.shift(2);\n\t\treturn value;\n\t}\n\t/**\n\t* Read U32 value from the buffer and shift cursor by 4.\n\t* @returns\n\t*/\n\tread32() {\n\t\tconst value = this.dataView.getUint32(this.bytePosition, true);\n\t\tthis.shift(4);\n\t\treturn value;\n\t}\n\t/**\n\t* Read U64 value from the buffer and shift cursor by 8.\n\t* @returns\n\t*/\n\tread64() {\n\t\tconst value1 = this.read32();\n\t\tconst result = this.read32().toString(16) + value1.toString(16).padStart(8, \"0\");\n\t\treturn BigInt(\"0x\" + result).toString(10);\n\t}\n\t/**\n\t* Read U128 value from the buffer and shift cursor by 16.\n\t*/\n\tread128() {\n\t\tconst value1 = BigInt(this.read64());\n\t\tconst result = BigInt(this.read64()).toString(16) + value1.toString(16).padStart(16, \"0\");\n\t\treturn BigInt(\"0x\" + result).toString(10);\n\t}\n\t/**\n\t* Read U128 value from the buffer and shift cursor by 32.\n\t* @returns\n\t*/\n\tread256() {\n\t\tconst value1 = BigInt(this.read128());\n\t\tconst result = BigInt(this.read128()).toString(16) + value1.toString(16).padStart(32, \"0\");\n\t\treturn BigInt(\"0x\" + result).toString(10);\n\t}\n\t/**\n\t* Read `num` number of bytes from the buffer and shift cursor by `num`.\n\t* @param num Number of bytes to read.\n\t*/\n\treadBytes(num) {\n\t\tconst start = this.bytePosition + this.dataView.byteOffset;\n\t\tconst value = new Uint8Array(this.dataView.buffer, start, num);\n\t\tthis.shift(num);\n\t\treturn value;\n\t}\n\t/**\n\t* Read ULEB value - an integer of varying size. Used for enum indexes and\n\t* vector lengths.\n\t* @returns {Number} The ULEB value.\n\t*/\n\treadULEB() {\n\t\tconst start = this.bytePosition + this.dataView.byteOffset;\n\t\tconst { value, length } = ulebDecode(new Uint8Array(this.dataView.buffer, start));\n\t\tthis.shift(length);\n\t\treturn value;\n\t}\n\t/**\n\t* Read a BCS vector: read a length and then apply function `cb` X times\n\t* where X is the length of the vector, defined as ULEB in BCS bytes.\n\t* @param cb Callback to process elements of vector.\n\t* @returns {Array<Any>} Array of the resulting values, returned by callback.\n\t*/\n\treadVec(cb) {\n\t\tconst length = this.readULEB();\n\t\tconst result = [];\n\t\tfor (let i = 0; i < length; i++) result.push(cb(this, i, length));\n\t\treturn result;\n\t}\n};\n\n//#endregion\nexport { BcsReader };\n//# sourceMappingURL=reader.mjs.map","import { ulebEncode } from \"./uleb.mjs\";\nimport { encodeStr } from \"./utils.mjs\";\n\n//#region src/writer.ts\n/**\n* Class used to write BCS data into a buffer. Initializer requires\n* some size of a buffer to init; default value for this buffer is 1KB.\n*\n* Most methods are chainable, so it is possible to write them in one go.\n*\n* @example\n* let serialized = new BcsWriter()\n* .write8(10)\n* .write32(1000000)\n* .write64(10000001000000)\n* .hex();\n*/\n/**\n* Set of methods that allows data encoding/decoding as standalone\n* BCS value or a part of a composed structure/vector.\n*/\nvar BcsWriter = class {\n\tconstructor({ initialSize = 1024, maxSize = Infinity, allocateSize = 1024 } = {}) {\n\t\tthis.bytePosition = 0;\n\t\tthis.size = initialSize;\n\t\tthis.maxSize = maxSize;\n\t\tthis.allocateSize = allocateSize;\n\t\tthis.dataView = new DataView(new ArrayBuffer(initialSize));\n\t}\n\tensureSizeOrGrow(bytes) {\n\t\tconst requiredSize = this.bytePosition + bytes;\n\t\tif (requiredSize > this.size) {\n\t\t\tconst nextSize = Math.min(this.maxSize, Math.max(this.size + requiredSize, this.size + this.allocateSize));\n\t\t\tif (requiredSize > nextSize) throw new Error(`Attempting to serialize to BCS, but buffer does not have enough size. Allocated size: ${this.size}, Max size: ${this.maxSize}, Required size: ${requiredSize}`);\n\t\t\tthis.size = nextSize;\n\t\t\tconst nextBuffer = new ArrayBuffer(this.size);\n\t\t\tnew Uint8Array(nextBuffer).set(new Uint8Array(this.dataView.buffer));\n\t\t\tthis.dataView = new DataView(nextBuffer);\n\t\t}\n\t}\n\t/**\n\t* Shift current cursor position by `bytes`.\n\t*\n\t* @param {Number} bytes Number of bytes to\n\t* @returns {this} Self for possible chaining.\n\t*/\n\tshift(bytes) {\n\t\tthis.bytePosition += bytes;\n\t\treturn this;\n\t}\n\t/**\n\t* Write a U8 value into a buffer and shift cursor position by 1.\n\t* @param {Number} value Value to write.\n\t* @returns {this}\n\t*/\n\twrite8(value) {\n\t\tthis.ensureSizeOrGrow(1);\n\t\tthis.dataView.setUint8(this.bytePosition, Number(value));\n\t\treturn this.shift(1);\n\t}\n\t/**\n\t* Write a U8 value into a buffer and shift cursor position by 1.\n\t* @param {Number} value Value to write.\n\t* @returns {this}\n\t*/\n\twriteBytes(bytes) {\n\t\tthis.ensureSizeOrGrow(bytes.length);\n\t\tfor (let i = 0; i < bytes.length; i++) this.dataView.setUint8(this.bytePosition + i, bytes[i]);\n\t\treturn this.shift(bytes.length);\n\t}\n\t/**\n\t* Write a U16 value into a buffer and shift cursor position by 2.\n\t* @param {Number} value Value to write.\n\t* @returns {this}\n\t*/\n\twrite16(value) {\n\t\tthis.ensureSizeOrGrow(2);\n\t\tthis.dataView.setUint16(this.bytePosition, Number(value), true);\n\t\treturn this.shift(2);\n\t}\n\t/**\n\t* Write a U32 value into a buffer and shift cursor position by 4.\n\t* @param {Number} value Value to write.\n\t* @returns {this}\n\t*/\n\twrite32(value) {\n\t\tthis.ensureSizeOrGrow(4);\n\t\tthis.dataView.setUint32(this.bytePosition, Number(value), true);\n\t\treturn this.shift(4);\n\t}\n\t/**\n\t* Write a U64 value into a buffer and shift cursor position by 8.\n\t* @param {bigint} value Value to write.\n\t* @returns {this}\n\t*/\n\twrite64(value) {\n\t\ttoLittleEndian(BigInt(value), 8).forEach((el) => this.write8(el));\n\t\treturn this;\n\t}\n\t/**\n\t* Write a U128 value into a buffer and shift cursor position by 16.\n\t*\n\t* @param {bigint} value Value to write.\n\t* @returns {this}\n\t*/\n\twrite128(value) {\n\t\ttoLittleEndian(BigInt(value), 16).forEach((el) => this.write8(el));\n\t\treturn this;\n\t}\n\t/**\n\t* Write a U256 value into a buffer and shift cursor position by 16.\n\t*\n\t* @param {bigint} value Value to write.\n\t* @returns {this}\n\t*/\n\twrite256(value) {\n\t\ttoLittleEndian(BigInt(value), 32).forEach((el) => this.write8(el));\n\t\treturn this;\n\t}\n\t/**\n\t* Write a ULEB value into a buffer and shift cursor position by number of bytes\n\t* written.\n\t* @param {Number} value Value to write.\n\t* @returns {this}\n\t*/\n\twriteULEB(value) {\n\t\tulebEncode(value).forEach((el) => this.write8(el));\n\t\treturn this;\n\t}\n\t/**\n\t* Write a vector into a buffer by first writing the vector length and then calling\n\t* a callback on each passed value.\n\t*\n\t* @param {Array<Any>} vector Array of elements to write.\n\t* @param {WriteVecCb} cb Callback to call on each element of the vector.\n\t* @returns {this}\n\t*/\n\twriteVec(vector, cb) {\n\t\tthis.writeULEB(vector.length);\n\t\tArray.from(vector).forEach((el, i) => cb(this, el, i, vector.length));\n\t\treturn this;\n\t}\n\t/**\n\t* Adds support for iterations over the object.\n\t* @returns {Uint8Array}\n\t*/\n\t*[Symbol.iterator]() {\n\t\tfor (let i = 0; i < this.bytePosition; i++) yield this.dataView.getUint8(i);\n\t\treturn this.toBytes();\n\t}\n\t/**\n\t* Get underlying buffer taking only value bytes (in case initial buffer size was bigger).\n\t* @returns {Uint8Array} Resulting bcs.\n\t*/\n\ttoBytes() {\n\t\treturn new Uint8Array(this.dataView.buffer.slice(0, this.bytePosition));\n\t}\n\t/**\n\t* Represent data as 'hex' or 'base64'\n\t* @param encoding Encoding to use: 'base64' or 'hex'\n\t*/\n\ttoString(encoding) {\n\t\treturn encodeStr(this.toBytes(), encoding);\n\t}\n};\nfunction toLittleEndian(bigint, size) {\n\tconst result = new Uint8Array(size);\n\tlet i = 0;\n\twhile (bigint > 0) {\n\t\tresult[i] = Number(bigint % BigInt(256));\n\t\tbigint = bigint / BigInt(256);\n\t\ti += 1;\n\t}\n\treturn result;\n}\n\n//#endregion\nexport { BcsWriter };\n//# sourceMappingURL=writer.mjs.map","import { ulebEncode } from \"./uleb.mjs\";\nimport { BcsReader } from \"./reader.mjs\";\nimport { BcsWriter } from \"./writer.mjs\";\nimport { fromBase58, fromBase64, fromHex, toBase58, toBase64, toHex } from \"@mysten/utils\";\n\n//#region src/bcs-type.ts\nvar BcsType = class BcsType {\n\t#write;\n\t#serialize;\n\tconstructor(options) {\n\t\tthis.name = options.name;\n\t\tthis.read = options.read;\n\t\tthis.serializedSize = options.serializedSize ?? (() => null);\n\t\tthis.#write = options.write;\n\t\tthis.#serialize = options.serialize ?? ((value, options$1) => {\n\t\t\tconst writer = new BcsWriter({\n\t\t\t\tinitialSize: this.serializedSize(value) ?? void 0,\n\t\t\t\t...options$1\n\t\t\t});\n\t\t\tthis.#write(value, writer);\n\t\t\treturn writer.toBytes();\n\t\t});\n\t\tthis.validate = options.validate ?? (() => {});\n\t}\n\twrite(value, writer) {\n\t\tthis.validate(value);\n\t\tthis.#write(value, writer);\n\t}\n\tserialize(value, options) {\n\t\tthis.validate(value);\n\t\treturn new SerializedBcs(this, this.#serialize(value, options));\n\t}\n\tparse(bytes) {\n\t\tconst reader = new BcsReader(bytes);\n\t\treturn this.read(reader);\n\t}\n\tfromHex(hex) {\n\t\treturn this.parse(fromHex(hex));\n\t}\n\tfromBase58(b64) {\n\t\treturn this.parse(fromBase58(b64));\n\t}\n\tfromBase64(b64) {\n\t\treturn this.parse(fromBase64(b64));\n\t}\n\ttransform({ name, input, output, validate }) {\n\t\treturn new BcsType({\n\t\t\tname: name ?? this.name,\n\t\t\tread: (reader) => output ? output(this.read(reader)) : this.read(reader),\n\t\t\twrite: (value, writer) => this.#write(input ? input(value) : value, writer),\n\t\t\tserializedSize: (value) => this.serializedSize(input ? input(value) : value),\n\t\t\tserialize: (value, options) => this.#serialize(input ? input(value) : value, options),\n\t\t\tvalidate: (value) => {\n\t\t\t\tvalidate?.(value);\n\t\t\t\tthis.validate(input ? input(value) : value);\n\t\t\t}\n\t\t});\n\t}\n};\nconst SERIALIZED_BCS_BRAND = Symbol.for(\"@mysten/serialized-bcs\");\nfunction isSerializedBcs(obj) {\n\treturn !!obj && typeof obj === \"object\" && obj[SERIALIZED_BCS_BRAND] === true;\n}\nvar SerializedBcs = class {\n\t#schema;\n\t#bytes;\n\tget [SERIALIZED_BCS_BRAND]() {\n\t\treturn true;\n\t}\n\tconstructor(schema, bytes) {\n\t\tthis.#schema = schema;\n\t\tthis.#bytes = bytes;\n\t}\n\ttoBytes() {\n\t\treturn this.#bytes;\n\t}\n\ttoHex() {\n\t\treturn toHex(this.#bytes);\n\t}\n\ttoBase64() {\n\t\treturn toBase64(this.#bytes);\n\t}\n\ttoBase58() {\n\t\treturn toBase58(this.#bytes);\n\t}\n\tparse() {\n\t\treturn this.#schema.parse(this.#bytes);\n\t}\n};\nfunction fixedSizeBcsType({ size, ...options }) {\n\treturn new BcsType({\n\t\t...options,\n\t\tserializedSize: () => size\n\t});\n}\nfunction uIntBcsType({ readMethod, writeMethod, ...options }) {\n\treturn fixedSizeBcsType({\n\t\t...options,\n\t\tread: (reader) => reader[readMethod](),\n\t\twrite: (value, writer) => writer[writeMethod](value),\n\t\tvalidate: (value) => {\n\t\t\tif (value < 0 || value > options.maxValue) throw new TypeError(`Invalid ${options.name} value: ${value}. Expected value in range 0-${options.maxValue}`);\n\t\t\toptions.validate?.(value);\n\t\t}\n\t});\n}\nfunction bigUIntBcsType({ readMethod, writeMethod, ...options }) {\n\treturn fixedSizeBcsType({\n\t\t...options,\n\t\tread: (reader) => reader[readMethod](),\n\t\twrite: (value, writer) => writer[writeMethod](BigInt(value)),\n\t\tvalidate: (val) => {\n\t\t\tconst value = BigInt(val);\n\t\t\tif (value < 0 || value > options.maxValue) throw new TypeError(`Invalid ${options.name} value: ${value}. Expected value in range 0-${options.maxValue}`);\n\t\t\toptions.validate?.(value);\n\t\t}\n\t});\n}\nfunction dynamicSizeBcsType({ serialize, ...options }) {\n\tconst type = new BcsType({\n\t\t...options,\n\t\tserialize,\n\t\twrite: (value, writer) => {\n\t\t\tfor (const byte of type.serialize(value).toBytes()) writer.write8(byte);\n\t\t}\n\t});\n\treturn type;\n}\nfunction stringLikeBcsType({ toBytes, fromBytes, ...options }) {\n\treturn new BcsType({\n\t\t...options,\n\t\tread: (reader) => {\n\t\t\tconst length = reader.readULEB();\n\t\t\treturn fromBytes(reader.readBytes(length));\n\t\t},\n\t\twrite: (hex, writer) => {\n\t\t\tconst bytes = toBytes(hex);\n\t\t\twriter.writeULEB(bytes.length);\n\t\t\tfor (let i = 0; i < bytes.length; i++) writer.write8(bytes[i]);\n\t\t},\n\t\tserialize: (value) => {\n\t\t\tconst bytes = toBytes(value);\n\t\t\tconst size = ulebEncode(bytes.length);\n\t\t\tconst result = new Uint8Array(size.length + bytes.length);\n\t\t\tresult.set(size, 0);\n\t\t\tresult.set(bytes, size.length);\n\t\t\treturn result;\n\t\t},\n\t\tvalidate: (value) => {\n\t\t\tif (typeof value !== \"string\") throw new TypeError(`Invalid ${options.name} value: ${value}. Expected string`);\n\t\t\toptions.validate?.(value);\n\t\t}\n\t});\n}\nfunction lazyBcsType(cb) {\n\tlet lazyType = null;\n\tfunction getType() {\n\t\tif (!lazyType) lazyType = cb();\n\t\treturn lazyType;\n\t}\n\treturn new BcsType({\n\t\tname: \"lazy\",\n\t\tread: (data) => getType().read(data),\n\t\tserializedSize: (value) => getType().serializedSize(value),\n\t\twrite: (value, writer) => getType().write(value, writer),\n\t\tserialize: (value, options) => getType().serialize(value, options).toBytes()\n\t});\n}\nvar BcsStruct = class extends BcsType {\n\tconstructor({ name, fields, ...options }) {\n\t\tconst canonicalOrder = Object.entries(fields);\n\t\tsuper({\n\t\t\tname,\n\t\t\tserializedSize: (values) => {\n\t\t\t\tlet total = 0;\n\t\t\t\tfor (const [field, type] of canonicalOrder) {\n\t\t\t\t\tconst size = type.serializedSize(values[field]);\n\t\t\t\t\tif (size == null) return null;\n\t\t\t\t\ttotal += size;\n\t\t\t\t}\n\t\t\t\treturn total;\n\t\t\t},\n\t\t\tread: (reader) => {\n\t\t\t\tconst result = {};\n\t\t\t\tfor (const [field, type] of canonicalOrder) result[field] = type.read(reader);\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\twrite: (value, writer) => {\n\t\t\t\tfor (const [field, type] of canonicalOrder) type.write(value[field], writer);\n\t\t\t},\n\t\t\t...options,\n\t\t\tvalidate: (value) => {\n\t\t\t\toptions?.validate?.(value);\n\t\t\t\tif (typeof value !== \"object\" || value == null) throw new TypeError(`Expected object, found ${typeof value}`);\n\t\t\t}\n\t\t});\n\t}\n};\nvar BcsEnum = class extends BcsType {\n\tconstructor({ fields, ...options }) {\n\t\tconst canonicalOrder = Object.entries(fields);\n\t\tsuper({\n\t\t\tread: (reader) => {\n\t\t\t\tconst index = reader.readULEB();\n\t\t\t\tconst enumEntry = canonicalOrder[index];\n\t\t\t\tif (!enumEntry) throw new TypeError(`Unknown value ${index} for enum ${options.name}`);\n\t\t\t\tconst [kind, type] = enumEntry;\n\t\t\t\treturn {\n\t\t\t\t\t[kind]: type?.read(reader) ?? true,\n\t\t\t\t\t$kind: kind\n\t\t\t\t};\n\t\t\t},\n\t\t\twrite: (value, writer) => {\n\t\t\t\tconst [name, val] = Object.entries(value).filter(([name$1]) => Object.hasOwn(fields, name$1))[0];\n\t\t\t\tfor (let i = 0; i < canonicalOrder.length; i++) {\n\t\t\t\t\tconst [optionName, optionType] = canonicalOrder[i];\n\t\t\t\t\tif (optionName === name) {\n\t\t\t\t\t\twriter.writeULEB(i);\n\t\t\t\t\t\toptionType?.write(val, writer);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t...options,\n\t\t\tvalidate: (value) => {\n\t\t\t\toptions?.validate?.(value);\n\t\t\t\tif (typeof value !== \"object\" || value == null) throw new TypeError(`Expected object, found ${typeof value}`);\n\t\t\t\tconst keys = Object.keys(value).filter((k) => value[k] !== void 0 && Object.hasOwn(fields, k));\n\t\t\t\tif (keys.length !== 1) throw new TypeError(`Expected object with one key, but found ${keys.length} for type ${options.name}}`);\n\t\t\t\tconst [variant] = keys;\n\t\t\t\tif (!Object.hasOwn(fields, variant)) throw new TypeError(`Invalid enum variant ${variant}`);\n\t\t\t}\n\t\t});\n\t}\n};\nvar BcsTuple = class extends BcsType {\n\tconstructor({ fields, name, ...options }) {\n\t\tsuper({\n\t\t\tname: name ?? `(${fields.map((t) => t.name).join(\", \")})`,\n\t\t\tserializedSize: (values) => {\n\t\t\t\tlet total = 0;\n\t\t\t\tfor (let i = 0; i < fields.length; i++) {\n\t\t\t\t\tconst size = fields[i].serializedSize(values[i]);\n\t\t\t\t\tif (size == null) return null;\n\t\t\t\t\ttotal += size;\n\t\t\t\t}\n\t\t\t\treturn total;\n\t\t\t},\n\t\t\tread: (reader) => {\n\t\t\t\tconst result = [];\n\t\t\t\tfor (const field of fields) result.push(field.read(reader));\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\twrite: (value, writer) => {\n\t\t\t\tfor (let i = 0; i < fields.length; i++) fields[i].write(value[i], writer);\n\t\t\t},\n\t\t\t...options,\n\t\t\tvalidate: (value) => {\n\t\t\t\toptions?.validate?.(value);\n\t\t\t\tif (!Array.isArray(value)) throw new TypeError(`Expected array, found ${typeof value}`);\n\t\t\t\tif (value.length !== fields.length) throw new TypeError(`Expected array of length ${fields.length}, found ${value.length}`);\n\t\t\t}\n\t\t});\n\t}\n};\n\n//#endregion\nexport { BcsEnum, BcsStruct, BcsTuple, BcsType, SerializedBcs, bigUIntBcsType, dynamicSizeBcsType, fixedSizeBcsType, isSerializedBcs, lazyBcsType, stringLikeBcsType, uIntBcsType };\n//# sourceMappingURL=bcs-type.mjs.map","import { ulebEncode } from \"./uleb.mjs\";\nimport { BcsEnum, BcsStruct, BcsTuple, BcsType, bigUIntBcsType, dynamicSizeBcsType, fixedSizeBcsType, lazyBcsType, stringLikeBcsType, uIntBcsType } from \"./bcs-type.mjs\";\n\n//#region src/bcs.ts\nfunction fixedArray(size, type, options) {\n\treturn new BcsType({\n\t\tread: (reader) => {\n\t\t\tconst result = new Array(size);\n\t\t\tfor (let i = 0; i < size; i++) result[i] = type.read(reader);\n\t\t\treturn result;\n\t\t},\n\t\twrite: (value, writer) => {\n\t\t\tfor (const item of value) type.write(item, writer);\n\t\t},\n\t\t...options,\n\t\tname: options?.name ?? `${type.name}[${size}]`,\n\t\tvalidate: (value) => {\n\t\t\toptions?.validate?.(value);\n\t\t\tif (!value || typeof value !== \"object\" || !(\"length\" in value)) throw new TypeError(`Expected array, found ${typeof value}`);\n\t\t\tif (value.length !== size) throw new TypeError(`Expected array of length ${size}, found ${value.length}`);\n\t\t}\n\t});\n}\nfunction option(type) {\n\treturn bcs.enum(`Option<${type.name}>`, {\n\t\tNone: null,\n\t\tSome: type\n\t}).transform({\n\t\tinput: (value) => {\n\t\t\tif (value == null) return { None: true };\n\t\t\treturn { Some: value };\n\t\t},\n\t\toutput: (value) => {\n\t\t\tif (value.$kind === \"Some\") return value.Some;\n\t\t\treturn null;\n\t\t}\n\t});\n}\nfunction vector(type, options) {\n\treturn new BcsType({\n\t\tread: (reader) => {\n\t\t\tconst length = reader.readULEB();\n\t\t\tconst result = new Array(length);\n\t\t\tfor (let i = 0; i < length; i++) result[i] = type.read(reader);\n\t\t\treturn result;\n\t\t},\n\t\twrite: (value, writer) => {\n\t\t\twriter.writeULEB(value.length);\n\t\t\tfor (const item of value) type.write(item, writer);\n\t\t},\n\t\t...options,\n\t\tname: options?.name ?? `vector<${type.name}>`,\n\t\tvalidate: (value) => {\n\t\t\toptions?.validate?.(value);\n\t\t\tif (!value || typeof value !== \"object\" || !(\"length\" in value)) throw new TypeError(`Expected array, found ${typeof value}`);\n\t\t}\n\t});\n}\n/**\n* Compares two byte arrays using lexicographic ordering.\n* This matches Rust's Ord implementation for Vec<u8>/[u8] which is used for BTreeMap key ordering.\n* Comparison is done byte-by-byte first, then by length if all compared bytes are equal.\n*/\nfunction compareBcsBytes(a, b) {\n\tfor (let i = 0; i < Math.min(a.length, b.length); i++) if (a[i] !== b[i]) return a[i] - b[i];\n\treturn a.length - b.length;\n}\nfunction map(keyType, valueType) {\n\treturn new BcsType({\n\t\tname: `Map<${keyType.name}, ${valueType.name}>`,\n\t\tread: (reader) => {\n\t\t\tconst length = reader.readULEB();\n\t\t\tconst result = /* @__PURE__ */ new Map();\n\t\t\tfor (let i = 0; i < length; i++) result.set(keyType.read(reader), valueType.read(reader));\n\t\t\treturn result;\n\t\t},\n\t\twrite: (value, writer) => {\n\t\t\tconst entries = [...value.entries()].map(([key, val]) => [keyType.serialize(key).toBytes(), val]);\n\t\t\tentries.sort(([a], [b]) => compareBcsBytes(a, b));\n\t\t\twriter.writeULEB(entries.length);\n\t\t\tfor (const [keyBytes, val] of entries) {\n\t\t\t\twriter.writeBytes(keyBytes);\n\t\t\t\tvalueType.write(val, writer);\n\t\t\t}\n\t\t}\n\t});\n}\nconst bcs = {\n\tu8(options) {\n\t\treturn uIntBcsType({\n\t\t\treadMethod: \"read8\",\n\t\t\twriteMethod: \"write8\",\n\t\t\tsize: 1,\n\t\t\tmaxValue: 2 ** 8 - 1,\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"u8\"\n\t\t});\n\t},\n\tu16(options) {\n\t\treturn uIntBcsType({\n\t\t\treadMethod: \"read16\",\n\t\t\twriteMethod: \"write16\",\n\t\t\tsize: 2,\n\t\t\tmaxValue: 2 ** 16 - 1,\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"u16\"\n\t\t});\n\t},\n\tu32(options) {\n\t\treturn uIntBcsType({\n\t\t\treadMethod: \"read32\",\n\t\t\twriteMethod: \"write32\",\n\t\t\tsize: 4,\n\t\t\tmaxValue: 2 ** 32 - 1,\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"u32\"\n\t\t});\n\t},\n\tu64(options) {\n\t\treturn bigUIntBcsType({\n\t\t\treadMethod: \"read64\",\n\t\t\twriteMethod: \"write64\",\n\t\t\tsize: 8,\n\t\t\tmaxValue: 2n ** 64n - 1n,\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"u64\"\n\t\t});\n\t},\n\tu128(options) {\n\t\treturn bigUIntBcsType({\n\t\t\treadMethod: \"read128\",\n\t\t\twriteMethod: \"write128\",\n\t\t\tsize: 16,\n\t\t\tmaxValue: 2n ** 128n - 1n,\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"u128\"\n\t\t});\n\t},\n\tu256(options) {\n\t\treturn bigUIntBcsType({\n\t\t\treadMethod: \"read256\",\n\t\t\twriteMethod: \"write256\",\n\t\t\tsize: 32,\n\t\t\tmaxValue: 2n ** 256n - 1n,\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"u256\"\n\t\t});\n\t},\n\tbool(options) {\n\t\treturn fixedSizeBcsType({\n\t\t\tsize: 1,\n\t\t\tread: (reader) => reader.read8() === 1,\n\t\t\twrite: (value, writer) => writer.write8(value ? 1 : 0),\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"bool\",\n\t\t\tvalidate: (value) => {\n\t\t\t\toptions?.validate?.(value);\n\t\t\t\tif (typeof value !== \"boolean\") throw new TypeError(`Expected boolean, found ${typeof value}`);\n\t\t\t}\n\t\t});\n\t},\n\tuleb128(options) {\n\t\treturn dynamicSizeBcsType({\n\t\t\tread: (reader) => reader.readULEB(),\n\t\t\tserialize: (value) => {\n\t\t\t\treturn Uint8Array.from(ulebEncode(value));\n\t\t\t},\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"uleb128\"\n\t\t});\n\t},\n\tbytes(size, options) {\n\t\treturn fixedSizeBcsType({\n\t\t\tsize,\n\t\t\tread: (reader) => reader.readBytes(size),\n\t\t\twrite: (value, writer) => {\n\t\t\t\twriter.writeBytes(new Uint8Array(value));\n\t\t\t},\n\t\t\t...options,\n\t\t\tname: options?.name ?? `bytes[${size}]`,\n\t\t\tvalidate: (value) => {\n\t\t\t\toptions?.validate?.(value);\n\t\t\t\tif (!value || typeof value !== \"object\" || !(\"length\" in value)) throw new TypeError(`Expected array, found ${typeof value}`);\n\t\t\t\tif (value.length !== size) throw new TypeError(`Expected array of length ${size}, found ${value.length}`);\n\t\t\t}\n\t\t});\n\t},\n\tbyteVector(options) {\n\t\treturn new BcsType({\n\t\t\tread: (reader) => {\n\t\t\t\tconst length = reader.readULEB();\n\t\t\t\treturn reader.readBytes(length);\n\t\t\t},\n\t\t\twrite: (value, writer) => {\n\t\t\t\tconst array = new Uint8Array(value);\n\t\t\t\twriter.writeULEB(array.length);\n\t\t\t\twriter.writeBytes(array);\n\t\t\t},\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"vector<u8>\",\n\t\t\tserializedSize: (value) => {\n\t\t\t\tconst length = \"length\" in value ? value.length : null;\n\t\t\t\treturn length == null ? null : ulebEncode(length).length + length;\n\t\t\t},\n\t\t\tvalidate: (value) => {\n\t\t\t\toptions?.validate?.(value);\n\t\t\t\tif (!value || typeof value !== \"object\" || !(\"length\" in value)) throw new TypeError(`Expected array, found ${typeof value}`);\n\t\t\t}\n\t\t});\n\t},\n\tstring(options) {\n\t\treturn stringLikeBcsType({\n\t\t\ttoBytes: (value) => new TextEncoder().encode(value),\n\t\t\tfromBytes: (bytes) => new TextDecoder().decode(bytes),\n\t\t\t...options,\n\t\t\tname: options?.name ?? \"string\"\n\t\t});\n\t},\n\tfixedArray,\n\toption,\n\tvector,\n\ttuple(fields, options) {\n\t\treturn new BcsTuple({\n\t\t\tfields,\n\t\t\t...options\n\t\t});\n\t},\n\tstruct(name, fields, options) {\n\t\treturn new BcsStruct({\n\t\t\tname,\n\t\t\tfields,\n\t\t\t...options\n\t\t});\n\t},\n\tenum(name, fields, options) {\n\t\treturn new BcsEnum({\n\t\t\tname,\n\t\t\tfields,\n\t\t\t...options\n\t\t});\n\t},\n\tmap,\n\tlazy(cb) {\n\t\treturn lazyBcsType(cb);\n\t}\n};\n\n//#endregion\nexport { bcs, compareBcsBytes };\n//# sourceMappingURL=bcs.mjs.map","import { isValidNamedPackage } from \"./move-registry.mjs\";\nimport { fromBase58, splitGenericParameters } from \"@mysten/bcs\";\n\n//#region src/utils/sui-types.ts\nconst TX_DIGEST_LENGTH = 32;\n/** Returns whether the tx digest is valid based on the serialization format */\nfunction isValidTransactionDigest(value) {\n\ttry {\n\t\treturn fromBase58(value).length === TX_DIGEST_LENGTH;\n\t} catch {\n\t\treturn false;\n\t}\n}\nconst SUI_ADDRESS_LENGTH = 32;\nfunction isValidSuiAddress(value) {\n\treturn isHex(value) && getHexByteLength(value) === SUI_ADDRESS_LENGTH;\n}\nfunction isValidSuiObjectId(value) {\n\treturn isValidSuiAddress(value);\n}\nconst MOVE_IDENTIFIER_REGEX = /^[a-zA-Z][a-zA-Z0-9_]*$/;\nfunction isValidMoveIdentifier(name) {\n\treturn MOVE_IDENTIFIER_REGEX.test(name);\n}\nconst PRIMITIVE_TYPE_TAGS = [\n\t\"bool\",\n\t\"u8\",\n\t\"u16\",\n\t\"u32\",\n\t\"u64\",\n\t\"u128\",\n\t\"u256\",\n\t\"address\",\n\t\"signer\"\n];\nconst VECTOR_TYPE_REGEX = /^vector<(.+)>$/;\nfunction isValidTypeTag(type) {\n\tif (PRIMITIVE_TYPE_TAGS.includes(type)) return true;\n\tconst vectorMatch = type.match(VECTOR_TYPE_REGEX);\n\tif (vectorMatch) return isValidTypeTag(vectorMatch[1]);\n\tif (type.includes(\"::\")) return isValidStructTag(type);\n\treturn false;\n}\nfunction isValidParsedStructTag(tag) {\n\tif (!isValidSuiAddress(tag.address) && !isValidNamedPackage(tag.address)) return false;\n\tif (!isValidMoveIdentifier(tag.module) || !isValidMoveIdentifier(tag.name)) return false;\n\treturn tag.typeParams.every((param) => {\n\t\tif (typeof param === \"string\") return isValidTypeTag(param);\n\t\treturn isValidParsedStructTag(param);\n\t});\n}\nfunction isValidStructTag(type) {\n\ttry {\n\t\treturn isValidParsedStructTag(parseStructTag(type));\n\t} catch {\n\t\treturn false;\n\t}\n}\nfunction parseTypeTag(type) {\n\tif (type.startsWith(\"vector<\")) {\n\t\tif (!type.endsWith(\">\")) throw new Error(`Invalid type tag: ${type}`);\n\t\tconst inner = type.slice(7, -1);\n\t\tif (!inner) throw new Error(`Invalid type tag: ${type}`);\n\t\tconst parsed = parseTypeTag(inner);\n\t\tif (typeof parsed === \"string\") return `vector<${parsed}>`;\n\t\treturn `vector<${normalizeStructTag(parsed)}>`;\n\t}\n\tif (!type.includes(\"::\")) return type;\n\treturn parseStructTag(type);\n}\nfunction parseStructTag(type) {\n\tconst parts = type.split(\"::\");\n\tif (parts.length < 3) throw new Error(`Invalid struct tag: ${type}`);\n\tconst [address, module] = parts;\n\tif (!address || !module) throw new Error(`Invalid struct tag: ${type}`);\n\tconst isMvrPackage = isValidNamedPackage(address);\n\tconst rest = type.slice(address.length + module.length + 4);\n\tconst name = rest.includes(\"<\") ? rest.slice(0, rest.indexOf(\"<\")) : rest;\n\tif (!name || rest.includes(\"<\") && !rest.endsWith(\">\")) throw new Error(`Invalid struct tag: ${type}`);\n\tconst typeParams = rest.includes(\"<\") ? splitGenericParameters(rest.slice(rest.indexOf(\"<\") + 1, rest.lastIndexOf(\">\"))).map((typeParam) => parseTypeTag(typeParam.trim())) : [];\n\treturn {\n\t\taddress: isMvrPackage ? address : normalizeSuiAddress(address),\n\t\tmodule,\n\t\tname,\n\t\ttypeParams\n\t};\n}\nfunction normalizeStructTag(type) {\n\tif (typeof type === \"string\" && type.startsWith(\"vector<\")) throw new Error(\"normalizeStructTag does not support vector types. Use normalizeTypeTag instead.\");\n\tconst { address, module, name, typeParams } = typeof type === \"string\" ? parseStructTag(type) : type;\n\treturn `${address}::${module}::${name}${typeParams?.length > 0 ? `<${typeParams.map((typeParam) => typeof typeParam === \"string\" ? typeParam : normalizeStructTag(typeParam)).join(\",\")}>` : \"\"}`;\n}\n/**\n* Perform the following operations:\n* 1. Make the address lower case\n* 2. Prepend `0x` if the string does not start with `0x`.\n* 3. Add more zeros if the length of the address(excluding `0x`) is less than `SUI_ADDRESS_LENGTH`\n*\n* WARNING: if the address value itself starts with `0x`, e.g., `0x0x`, the default behavior\n* is to treat the first `0x` not as part of the address. The default behavior can be overridden by\n* setting `forceAdd0x` to true\n*\n*/\nfunction normalizeSuiAddress(value, forceAdd0x = false) {\n\tlet address = value.toLowerCase();\n\tif (!forceAdd0x && address.startsWith(\"0x\")) address = address.slice(2);\n\treturn `0x${address.padStart(SUI_ADDRESS_LENGTH * 2, \"0\")}`;\n}\nfunction normalizeSuiObjectId(value, forceAdd0x = false) {\n\treturn normalizeSuiAddress(value, forceAdd0x);\n}\nfunction isHex(value) {\n\treturn /^(0x|0X)?[a-fA-F0-9]+$/.test(value) && value.length % 2 === 0;\n}\nfunction getHexByteLength(value) {\n\treturn /^(0x|0X)/.test(value) ? (value.length - 2) / 2 : value.length / 2;\n}\n\n//#endregion\nexport { SUI_ADDRESS_LENGTH, isValidStructTag, isValidSuiAddress, isValidSuiObjectId, isValidTransactionDigest, normalizeStructTag, normalizeSuiAddress, normalizeSuiObjectId, parseStructTag };\n//# sourceMappingURL=sui-types.mjs.map","import { normalizeSuiAddress } from \"../utils/sui-types.mjs\";\nimport { splitGenericParameters } from \"@mysten/bcs\";\n\n//#region src/bcs/type-tag-serializer.ts\nconst VECTOR_REGEX = /^vector<(.+)>$/;\nconst STRUCT_REGEX = /^([^:]+)::([^:]+)::([^<]+)(<(.+)>)?/;\nvar TypeTagSerializer = class TypeTagSerializer {\n\tstatic parseFromStr(str, normalizeAddress = false) {\n\t\tif (str === \"address\") return { address: null };\n\t\telse if (str === \"bool\") return { bool: null };\n\t\telse if (str === \"u8\") return { u8: null };\n\t\telse if (str === \"u16\") return { u16: null };\n\t\telse if (str === \"u32\") return { u32: null };\n\t\telse if (str === \"u64\") return { u64: null };\n\t\telse if (str === \"u128\") return { u128: null };\n\t\telse if (str === \"u256\") return { u256: null };\n\t\telse if (str === \"signer\") return { signer: null };\n\t\tconst vectorMatch = str.match(VECTOR_REGEX);\n\t\tif (vectorMatch) return { vector: TypeTagSerializer.parseFromStr(vectorMatch[1], normalizeAddress) };\n\t\tconst structMatch = str.match(STRUCT_REGEX);\n\t\tif (structMatch) return { struct: {\n\t\t\taddress: normalizeAddress ? normalizeSuiAddress(structMatch[1]) : structMatch[1],\n\t\t\tmodule: structMatch[2],\n\t\t\tname: structMatch[3],\n\t\t\ttypeParams: structMatch[5] === void 0 ? [] : TypeTagSerializer.parseStructTypeArgs(structMatch[5], normalizeAddress)\n\t\t} };\n\t\tthrow new Error(`Encountered unexpected token when parsing type args for ${str}`);\n\t}\n\tstatic parseStructTypeArgs(str, normalizeAddress = false) {\n\t\treturn splitGenericParameters(str).map((tok) => TypeTagSerializer.parseFromStr(tok, normalizeAddress));\n\t}\n\tstatic tagToString(tag) {\n\t\tif (\"bool\" in tag) return \"bool\";\n\t\tif (\"u8\" in tag) return \"u8\";\n\t\tif (\"u16\" in tag) return \"u16\";\n\t\tif (\"u32\" in tag) return \"u32\";\n\t\tif (\"u64\" in tag) return \"u64\";\n\t\tif (\"u128\" in tag) return \"u128\";\n\t\tif (\"u256\" in tag) return \"u256\";\n\t\tif (\"address\" in tag) return \"address\";\n\t\tif (\"signer\" in tag) return \"signer\";\n\t\tif (\"vector\" in tag) return `vector<${TypeTagSerializer.tagToString(tag.vector)}>`;\n\t\tif (\"struct\" in tag) {\n\t\t\tconst struct = tag.struct;\n\t\t\tconst typeParams = struct.typeParams.map(TypeTagSerializer.tagToString).join(\", \");\n\t\t\treturn `${struct.address}::${struct.module}::${struct.name}${typeParams ? `<${typeParams}>` : \"\"}`;\n\t\t}\n\t\tthrow new Error(\"Invalid TypeTag\");\n\t}\n};\nfunction normalizeTypeTag(type) {\n\treturn TypeTagSerializer.tagToString(TypeTagSerializer.parseFromStr(type));\n}\n\n//#endregion\nexport { TypeTagSerializer, normalizeTypeTag };\n//# sourceMappingURL=type-tag-serializer.mjs.map","import { SUI_ADDRESS_LENGTH, isValidSuiAddress, normalizeSuiAddress } from \"../utils/sui-types.mjs\";\nimport { TypeTagSerializer } from \"./type-tag-serializer.mjs\";\nimport { bcs, fromBase58, fromBase64, fromHex, toBase58, toBase64, toHex } from \"@mysten/bcs\";\n\n//#region src/bcs/bcs.ts\nfunction unsafe_u64(options) {\n\treturn bcs.u64({\n\t\tname: \"unsafe_u64\",\n\t\t...options\n\t}).transform({\n\t\tinput: (val) => val,\n\t\toutput: (val) => Number(val)\n\t});\n}\nfunction optionEnum(type) {\n\treturn bcs.enum(\"Option\", {\n\t\tNone: null,\n\t\tSome: type\n\t});\n}\nconst Address = bcs.bytes(SUI_ADDRESS_LENGTH).transform({\n\tvalidate: (val) => {\n\t\tconst address = typeof val === \"string\" ? val : toHex(val);\n\t\tif (!address || !isValidSuiAddress(normalizeSuiAddress(address))) throw new Error(`Invalid Sui address ${address}`);\n\t},\n\tinput: (val) => typeof val === \"string\" ? fromHex(normalizeSuiAddress(val)) : val,\n\toutput: (val) => normalizeSuiAddress(toHex(val))\n});\nconst ObjectDigest = bcs.byteVector().transform({\n\tname: \"ObjectDigest\",\n\tinput: (value) => fromBase58(value),\n\toutput: (value) => toBase58(new Uint8Array(value)),\n\tvalidate: (value) => {\n\t\tif (fromBase58(value).length !== 32) throw new Error(\"ObjectDigest must be 32 bytes\");\n\t}\n});\nconst SuiObjectRef = bcs.struct(\"SuiObjectRef\", {\n\tobjectId: Address,\n\tversion: bcs.u64(),\n\tdigest: ObjectDigest\n});\nconst SharedObjectRef = bcs.struct(\"SharedObjectRef\", {\n\tobjectId: Address,\n\tinitialSharedVersion: bcs.u64(),\n\tmutable: bcs.bool()\n});\nconst ObjectArg = bcs.enum(\"ObjectArg\", {\n\tImmOrOwnedObject: SuiObjectRef,\n\tSharedObject: SharedObjectRef,\n\tReceiving: SuiObjectRef\n});\nconst Owner = bcs.enum(\"Owner\", {\n\tAddressOwner: Address,\n\tObjectOwner: Address,\n\tShared: bcs.struct(\"Shared\", { initialSharedVersion: bcs.u64() }),\n\tImmutable: null,\n\tConsensusAddressOwner: bcs.struct(\"ConsensusAddressOwner\", {\n\t\tstartVersion: bcs.u64(),\n\t\towner: Address\n\t})\n});\nconst Reservation = bcs.enum(\"Reservation\", { MaxAmountU64: bcs.u64() });\nconst WithdrawalType = bcs.enum(\"WithdrawalType\", { Balance: bcs.lazy(() => TypeTag) });\nconst WithdrawFrom = bcs.enum(\"WithdrawFrom\", {\n\tSender: null,\n\tSponsor: null\n});\nconst FundsWithdrawal = bcs.struct(\"FundsWithdrawal\", {\n\treservation: Reservation,\n\ttypeArg: WithdrawalType,\n\twithdrawFrom: WithdrawFrom\n});\nconst CallArg = bcs.enum(\"CallArg\", {\n\tPure: bcs.struct(\"Pure\", { bytes: bcs.byteVector().transform({\n\t\tinput: (val) => typeof val === \"string\" ? fromBase64(val) : val,\n\t\toutput: (val) => toBase64(new Uint8Array(val))\n\t}) }),\n\tObject: ObjectArg,\n\tFundsWithdrawal\n});\nconst InnerTypeTag = bcs.enum(\"TypeTag\", {\n\tbool: null,\n\tu8: null,\n\tu64: null,\n\tu128: null,\n\taddress: null,\n\tsigner: null,\n\tvector: bcs.lazy(() => InnerTypeTag),\n\tstruct: bcs.lazy(() => StructTag),\n\tu16: null,\n\tu32: null,\n\tu256: null\n});\nconst TypeTag = InnerTypeTag.transform({\n\tinput: (typeTag) => typeof typeTag === \"string\" ? TypeTagSerializer.parseFromStr(typeTag, true) : typeTag,\n\toutput: (typeTag) => TypeTagSerializer.tagToString(typeTag)\n});\nconst Argument = bcs.enum(\"Argument\", {\n\tGasCoin: null,\n\tInput: bcs.u16(),\n\tResult: bcs.u16(),\n\tNestedResult: bcs.tuple([bcs.u16(), bcs.u16()])\n});\nconst ProgrammableMoveCall = bcs.struct(\"ProgrammableMoveCall\", {\n\tpackage: Address,\n\tmodule: bcs.string(),\n\tfunction: bcs.string(),\n\ttypeArguments: bcs.vector(TypeTag),\n\targuments: bcs.vector(Argument)\n});\nconst Command = bcs.enum(\"Command\", {\n\tMoveCall: ProgrammableMoveCall,\n\tTransferObjects: bcs.struct(\"TransferObjects\", {\n\t\tobjects: bcs.vector(Argument),\n\t\taddress: Argument\n\t}),\n\tSplitCoins: bcs.struct(\"SplitCoins\", {\n\t\tcoin: Argument,\n\t\tamounts: bcs.vector(Argument)\n\t}),\n\tMergeCoins: bcs.struct(\"MergeCoins\", {\n\t\tdestination: Argument,\n\t\tsources: bcs.vector(Argument)\n\t}),\n\tPublish: bcs.struct(\"Publish\", {\n\t\tmodules: bcs.vector(bcs.byteVector().transform({\n\t\t\tinput: (val) => typeof val === \"string\" ? fromBase64(val) : val,\n\t\t\toutput: (val) => toBase64(new Uint8Array(val))\n\t\t})),\n\t\tdependencies: bcs.vector(Address)\n\t}),\n\tMakeMoveVec: bcs.struct(\"MakeMoveVec\", {\n\t\ttype: optionEnum(TypeTag).transform({\n\t\t\tinput: (val) => val === null ? { None: true } : { Some: val },\n\t\t\toutput: (val) => val.Some ?? null\n\t\t}),\n\t\telements: bcs.vector(Argument)\n\t}),\n\tUpgrade: bcs.struct(\"Upgrade\", {\n\t\tmodules: bcs.vector(bcs.byteVector().transform({\n\t\t\tinput: (val) => typeof val === \"string\" ? fromBase64(val) : val,\n\t\t\toutput: (val) => toBase64(new Uint8Array(val))\n\t\t})),\n\t\tdependencies: bcs.vector(Address),\n\t\tpackage: Address,\n\t\tticket: Argument\n\t})\n});\nconst ProgrammableTransaction = bcs.struct(\"ProgrammableTransaction\", {\n\tinputs: bcs.vector(CallArg),\n\tcommands: bcs.vector(Command)\n});\nconst TransactionKind = bcs.enum(\"TransactionKind\", {\n\tProgrammableTransaction,\n\tChangeEpoch: null,\n\tGenesis: null,\n\tConsensusCommitPrologue: null\n});\nconst ValidDuring = bcs.struct(\"ValidDuring\", {\n\tminEpoch: bcs.option(bcs.u64()),\n\tmaxEpoch: bcs.option(bcs.u64()),\n\tminTimestamp: bcs.option(bcs.u64()),\n\tmaxTimestamp: bcs.option(bcs.u64()),\n\tchain: ObjectDigest,\n\tnonce: bcs.u32()\n});\nconst TransactionExpiration = bcs.enum(\"TransactionExpiration\", {\n\tNone: null,\n\tEpoch: unsafe_u64(),\n\tValidDuring\n});\nconst StructTag = bcs.struct(\"StructTag\", {\n\taddress: Address,\n\tmodule: bcs.string(),\n\tname: bcs.string(),\n\ttypeParams: bcs.vector(InnerTypeTag)\n});\nconst GasData = bcs.struct(\"GasData\", {\n\tpayment: bcs.vector(SuiObjectRef),\n\towner: Address,\n\tprice: bcs.u64(),\n\tbudget: bcs.u64()\n});\nconst TransactionDataV1 = bcs.struct(\"TransactionDataV1\", {\n\tkind: TransactionKind,\n\tsender: Address,\n\tgasData: GasData,\n\texpiration: TransactionExpiration\n});\nconst TransactionData = bcs.enum(\"TransactionData\", { V1: TransactionDataV1 });\nconst IntentScope = bcs.enum(\"IntentScope\", {\n\tTransactionData: null,\n\tTransactionEffects: null,\n\tCheckpointSummary: null,\n\tPersonalMessage: null\n});\nconst IntentVersion = bcs.enum(\"IntentVersion\", { V0: null });\nconst AppId = bcs.enum(\"AppId\", { Sui: null });\nconst Intent = bcs.struct(\"Intent\", {\n\tscope: IntentScope,\n\tversion: IntentVersion,\n\tappId: AppId\n});\nfunction IntentMessage(T) {\n\treturn bcs.struct(`IntentMessage<${T.name}>`, {\n\t\tintent: Intent,\n\t\tvalue: T\n\t});\n}\nconst CompressedSignature = bcs.enum(\"CompressedSignature\", {\n\tED25519: bcs.bytes(64),\n\tSecp256k1: bcs.bytes(64),\n\tSecp256r1: bcs.bytes(64),\n\tZkLogin: bcs.byteVector(),\n\tPasskey: bcs.byteVector()\n});\nconst PublicKey = bcs.enum(\"PublicKey\", {\n\tED25519: bcs.bytes(32),\n\tSecp256k1: bcs.bytes(33),\n\tSecp256r1: bcs.bytes(33),\n\tZkLogin: bcs.byteVector(),\n\tPasskey: bcs.bytes(33)\n});\nconst MultiSigPkMap = bcs.struct(\"MultiSigPkMap\", {\n\tpubKey: PublicKey,\n\tweight: bcs.u8()\n});\nconst MultiSigPublicKey = bcs.struct(\"MultiSigPublicKey\", {\n\tpk_map: bcs.vector(MultiSigPkMap),\n\tthreshold: bcs.u16()\n});\nconst MultiSig = bcs.struct(\"MultiSig\", {\n\tsigs: bcs.vector(CompressedSignature),\n\tbitmap: bcs.u16(),\n\tmultisig_pk: MultiSigPublicKey\n});\nconst base64String = bcs.byteVector().transform({\n\tinput: (val) => typeof val === \"string\" ? fromBase64(val) : val,\n\toutput: (val) => toBase64(new Uint8Array(val))\n});\nconst SenderSignedTransaction = bcs.struct(\"SenderSignedTransaction\", {\n\tintentMessage: IntentMessage(TransactionData),\n\ttxSignatures: bcs.vector(base64String)\n});\nconst SenderSignedData = bcs.vector(SenderSignedTransaction, { name: \"SenderSignedData\" });\nconst PasskeyAuthenticator = bcs.struct(\"PasskeyAuthenticator\", {\n\tauthenticatorData: bcs.byteVector(),\n\tclientDataJson: bcs.string(),\n\tuserSignature: bcs.byteVector()\n});\nconst MoveObjectType = bcs.enum(\"MoveObjectType\", {\n\tOther: StructTag,\n\tGasCoin: null,\n\tStakedSui: null,\n\tCoin: TypeTag,\n\tAccumulatorBalanceWrapper: null\n});\nconst TypeOrigin = bcs.struct(\"TypeOrigin\", {\n\tmoduleName: bcs.string(),\n\tdatatypeName: bcs.string(),\n\tpackage: Address\n});\nconst UpgradeInfo = bcs.struct(\"UpgradeInfo\", {\n\tupgradedId: Address,\n\tupgradedVersion: bcs.u64()\n});\nconst MovePackage = bcs.struct(\"MovePackage\", {\n\tid: Address,\n\tversion: bcs.u64(),\n\tmoduleMap: bcs.map(bcs.string(), bcs.byteVector()),\n\ttypeOriginTable: bcs.vector(TypeOrigin),\n\tlinkageTable: bcs.map(Address, UpgradeInfo)\n});\nconst MoveObject = bcs.struct(\"MoveObject\", {\n\ttype: MoveObjectType,\n\thasPublicTransfer: bcs.bool(),\n\tversion: bcs.u64(),\n\tcontents: bcs.byteVector()\n});\nconst Data = bcs.enum(\"Data\", {\n\tMove: MoveObject,\n\tPackage: MovePackage\n});\nconst ObjectInner = bcs.struct(\"ObjectInner\", {\n\tdata: Data,\n\towner: Owner,\n\tpreviousTransaction: ObjectDigest,\n\tstorageRebate: bcs.u64()\n});\n\n//#endregion\nexport { Address, AppId, Argument, CallArg, Command, CompressedSignature, Data, GasData, Intent, IntentMessage, IntentScope, IntentVersion, MoveObject, MoveObjectType, MovePackage, MultiSig, MultiSigPkMap, MultiSigPublicKey, ObjectArg, ObjectDigest, ObjectInner, Owner, PasskeyAuthenticator, ProgrammableMoveCall, ProgrammableTransaction, PublicKey, SenderSignedData, SenderSignedTransaction, SharedObjectRef, StructTag, SuiObjectRef, TransactionData, TransactionDataV1, TransactionExpiration, TransactionKind, TypeOrigin, TypeTag, UpgradeInfo };\n//# sourceMappingURL=bcs.mjs.map","import { Address, ObjectDigest, Owner, SuiObjectRef, TypeTag } from \"./bcs.mjs\";\nimport { bcs } from \"@mysten/bcs\";\n\n//#region src/bcs/effects.ts\nconst PackageUpgradeError = bcs.enum(\"PackageUpgradeError\", {\n\tUnableToFetchPackage: bcs.struct(\"UnableToFetchPackage\", { packageId: Address }),\n\tNotAPackage: bcs.struct(\"NotAPackage\", { objectId: Address }),\n\tIncompatibleUpgrade: null,\n\tDigestDoesNotMatch: bcs.struct(\"DigestDoesNotMatch\", { digest: bcs.byteVector() }),\n\tUnknownUpgradePolicy: bcs.struct(\"UnknownUpgradePolicy\", { policy: bcs.u8() }),\n\tPackageIDDoesNotMatch: bcs.struct(\"PackageIDDoesNotMatch\", {\n\t\tpackageId: Address,\n\t\tticketId: Address\n\t})\n});\nconst ModuleId = bcs.struct(\"ModuleId\", {\n\taddress: Address,\n\tname: bcs.string()\n});\nconst MoveLocation = bcs.struct(\"MoveLocation\", {\n\tmodule: ModuleId,\n\tfunction: bcs.u16(),\n\tinstruction: bcs.u16(),\n\tfunctionName: bcs.option(bcs.string())\n});\nconst CommandArgumentError = bcs.enum(\"CommandArgumentError\", {\n\tTypeMismatch: null,\n\tInvalidBCSBytes: null,\n\tInvalidUsageOfPureArg: null,\n\tInvalidArgumentToPrivateEntryFunction: null,\n\tIndexOutOfBounds: bcs.struct(\"IndexOutOfBounds\", { idx: bcs.u16() }),\n\tSecondaryIndexOutOfBounds: bcs.struct(\"SecondaryIndexOutOfBounds\", {\n\t\tresultIdx: bcs.u16(),\n\t\tsecondaryIdx: bcs.u16()\n\t}),\n\tInvalidResultArity: bcs.struct(\"InvalidResultArity\", { resultIdx: bcs.u16() }),\n\tInvalidGasCoinUsage: null,\n\tInvalidValueUsage: null,\n\tInvalidObjectByValue: null,\n\tInvalidObjectByMutRef: null,\n\tSharedObjectOperationNotAllowed: null,\n\tInvalidArgumentArity: null,\n\tInvalidTransferObject: null,\n\tInvalidMakeMoveVecNonObjectArgument: null,\n\tArgumentWithoutValue: null,\n\tCannotMoveBorrowedValue: null,\n\tCannotWriteToExtendedReference: null,\n\tInvalidReferenceArgument: null\n});\nconst TypeArgumentError = bcs.enum(\"TypeArgumentError\", {\n\tTypeNotFound: null,\n\tConstraintNotSatisfied: null\n});\nconst ExecutionFailureStatus = bcs.enum(\"ExecutionFailureStatus\", {\n\tInsufficientGas: null,\n\tInvalidGasObject: null,\n\tInvariantViolation: null,\n\tFeatureNotYetSupported: null,\n\tMoveObjectTooBig: bcs.struct(\"MoveObjectTooBig\", {\n\t\tobjectSize: bcs.u64(),\n\t\tmaxObjectSize: bcs.u64()\n\t}),\n\tMovePackageTooBig: bcs.struct(\"MovePackageTooBig\", {\n\t\tobjectSize: bcs.u64(),\n\t\tmaxObjectSize: bcs.u64()\n\t}),\n\tCircularObjectOwnership: bcs.struct(\"CircularObjectOwnership\", { object: Address }),\n\tInsufficientCoinBalance: null,\n\tCoinBalanceOverflow: null,\n\tPublishErrorNonZeroAddress: null,\n\tSuiMoveVerificationError: null,\n\tMovePrimitiveRuntimeError: bcs.option(MoveLocation),\n\tMoveAbort: bcs.tuple([MoveLocation, bcs.u64()]),\n\tVMVerificationOrDeserializationError: null,\n\tVMInvariantViolation: null,\n\tFunctionNotFound: null,\n\tArityMismatch: null,\n\tTypeArityMismatch: null,\n\tNonEntryFunctionInvoked: null,\n\tCommandArgumentError: bcs.struct(\"CommandArgumentError\", {\n\t\targIdx: bcs.u16(),\n\t\tkind: CommandArgumentError\n\t}),\n\tTypeArgumentError: bcs.struct(\"TypeArgumentError\", {\n\t\targumentIdx: bcs.u16(),\n\t\tkind: TypeArgumentError\n\t}),\n\tUnusedValueWithoutDrop: bcs.struct(\"UnusedValueWithoutDrop\", {\n\t\tresultIdx: bcs.u16(),\n\t\tsecondaryIdx: bcs.u16()\n\t}),\n\tInvalidPublicFunctionReturnType: bcs.struct(\"InvalidPublicFunctionReturnType\", { idx: bcs.u16() }),\n\tInvalidTransferObject: null,\n\tEffectsTooLarge: bcs.struct(\"EffectsTooLarge\", {\n\t\tcurrentSize: bcs.u64(),\n\t\tmaxSize: bcs.u64()\n\t}),\n\tPublishUpgradeMissingDependency: null,\n\tPublishUpgradeDependencyDowngrade: null,\n\tPackageUpgradeError: bcs.struct(\"PackageUpgradeError\", { upgradeError: PackageUpgradeError }),\n\tWrittenObjectsTooLarge: bcs.struct(\"WrittenObjectsTooLarge\", {\n\t\tcurrentSize: bcs.u64(),\n\t\tmaxSize: bcs.u64()\n\t}),\n\tCertificateDenied: null,\n\tSuiMoveVerificationTimedout: null,\n\tSharedObjectOperationNotAllowed: null,\n\tInputObjectDeleted: null,\n\tExecutionCancelledDueToSharedObjectCongestion: bcs.struct(\"ExecutionCancelledDueToSharedObjectCongestion\", { congested_objects: bcs.vector(Address) }),\n\tAddressDeniedForCoin: bcs.struct(\"AddressDeniedForCoin\", {\n\t\taddress: Address,\n\t\tcoinType: bcs.string()\n\t}),\n\tCoinTypeGlobalPause: bcs.struct(\"CoinTypeGlobalPause\", { coinType: bcs.string() }),\n\tExecutionCancelledDueToRandomnessUnavailable: null,\n\tMoveVectorElemTooBig: bcs.struct(\"MoveVectorElemTooBig\", {\n\t\tvalueSize: bcs.u64(),\n\t\tmaxScaledSize: bcs.u64()\n\t}),\n\tMoveRawValueTooBig: bcs.struct(\"MoveRawValueTooBig\", {\n\t\tvalueSize: bcs.u64(),\n\t\tmaxScaledSize: bcs.u64()\n\t}),\n\tInvalidLinkage: null,\n\tInsufficientBalanceForWithdraw: null,\n\tNonExclusiveWriteInputObjectModified: bcs.struct(\"NonExclusiveWriteInputObjectModified\", { id: Address })\n});\nconst ExecutionStatus = bcs.enum(\"ExecutionStatus\", {\n\tSuccess: null,\n\tFailure: bcs.struct(\"Failure\", {\n\t\terror: ExecutionFailureStatus,\n\t\tcommand: bcs.option(bcs.u64())\n\t})\n});\nconst GasCostSummary = bcs.struct(\"GasCostSummary\", {\n\tcomputationCost: bcs.u64(),\n\tstorageCost: bcs.u64(),\n\tstorageRebate: bcs.u64(),\n\tnonRefundableStorageFee: bcs.u64()\n});\nconst TransactionEffectsV1 = bcs.struct(\"TransactionEffectsV1\", {\n\tstatus: ExecutionStatus,\n\texecutedEpoch: bcs.u64(),\n\tgasUsed: GasCostSummary,\n\tmodifiedAtVersions: bcs.vector(bcs.tuple([Address, bcs.u64()])),\n\tsharedObjects: bcs.vector(SuiObjectRef),\n\ttransactionDigest: ObjectDigest,\n\tcreated: bcs.vector(bcs.tuple([SuiObjectRef, Owner])),\n\tmutated: bcs.vector(bcs.tuple([SuiObjectRef, Owner])),\n\tunwrapped: bcs.vector(bcs.tuple([SuiObjectRef, Owner])),\n\tdeleted: bcs.vector(SuiObjectRef),\n\tunwrappedThenDeleted: bcs.vector(SuiObjectRef),\n\twrapped: bcs.vector(SuiObjectRef),\n\tgasObject: bcs.tuple([SuiObjectRef, Owner]),\n\teventsDigest: bcs.option(ObjectDigest),\n\tdependencies: bcs.vector(ObjectDigest)\n});\nconst VersionDigest = bcs.tuple([bcs.u64(), ObjectDigest]);\nconst ObjectIn = bcs.enum(\"ObjectIn\", {\n\tNotExist: null,\n\tExist: bcs.tuple([VersionDigest, Owner])\n});\nconst AccumulatorAddress = bcs.struct(\"AccumulatorAddress\", {\n\taddress: Address,\n\tty: TypeTag\n});\nconst AccumulatorOperation = bcs.enum(\"AccumulatorOperation\", {\n\tMerge: null,\n\tSplit: null\n});\nconst AccumulatorValue = bcs.enum(\"AccumulatorValue\", {\n\tInteger: bcs.u64(),\n\tIntegerTuple: bcs.tuple([bcs.u64(), bcs.u64()]),\n\tEventDigest: bcs.vector(bcs.tuple([bcs.u64(), ObjectDigest]))\n});\nconst AccumulatorWriteV1 = bcs.struct(\"AccumulatorWriteV1\", {\n\taddress: AccumulatorAddress,\n\toperation: AccumulatorOperation,\n\tvalue: AccumulatorValue\n});\nconst ObjectOut = bcs.enum(\"ObjectOut\", {\n\tNotExist: null,\n\tObjectWrite: bcs.tuple([ObjectDigest, Owner]),\n\tPackageWrite: VersionDigest,\n\tAccumulatorWriteV1\n});\nconst IDOperation = bcs.enum(\"IDOperation\", {\n\tNone: null,\n\tCreated: null,\n\tDeleted: null\n});\nconst EffectsObjectChange = bcs.struct(\"EffectsObjectChange\", {\n\tinputState: ObjectIn,\n\toutputState: ObjectOut,\n\tidOperation: IDOperation\n});\nconst UnchangedConsensusKind = bcs.enum(\"UnchangedConsensusKind\", {\n\tReadOnlyRoot: VersionDigest,\n\tMutateConsensusStreamEnded: bcs.u64(),\n\tReadConsensusStreamEnded: bcs.u64(),\n\tCancelled: bcs.u64(),\n\tPerEpochConfig: null\n});\nconst TransactionEffectsV2 = bcs.struct(\"TransactionEffectsV2\", {\n\tstatus: ExecutionStatus,\n\texecutedEpoch: bcs.u64(),\n\tgasUsed: GasCostSummary,\n\ttransactionDigest: ObjectDigest,\n\tgasObjectIndex: bcs.option(bcs.u32()),\n\teventsDigest: bcs.option(ObjectDigest),\n\tdependencies: bcs.vector(ObjectDigest),\n\tlamportVersion: bcs.u64(),\n\tchangedObjects: bcs.vector(bcs.tuple([Address, EffectsObjectChange])),\n\tunchangedConsensusObjects: bcs.vector(bcs.tuple([Address, UnchangedConsensusKind])),\n\tauxDataDigest: bcs.option(ObjectDigest)\n});\nconst TransactionEffects = bcs.enum(\"TransactionEffects\", {\n\tV1: TransactionEffectsV1,\n\tV2: TransactionEffectsV2\n});\n\n//#endregion\nexport { ExecutionStatus, TransactionEffects };\n//# sourceMappingURL=effects.mjs.map","import { Address } from \"./bcs.mjs\";\nimport { bcs } from \"@mysten/bcs\";\n\n//#region src/bcs/pure.ts\nfunction pureBcsSchemaFromTypeName(name) {\n\tswitch (name) {\n\t\tcase \"u8\": return bcs.u8();\n\t\tcase \"u16\": return bcs.u16();\n\t\tcase \"u32\": return bcs.u32();\n\t\tcase \"u64\": return bcs.u64();\n\t\tcase \"u128\": return bcs.u128();\n\t\tcase \"u256\": return bcs.u256();\n\t\tcase \"bool\": return bcs.bool();\n\t\tcase \"string\": return bcs.string();\n\t\tcase \"id\":\n\t\tcase \"address\": return Address;\n\t}\n\tconst generic = name.match(/^(vector|option)<(.+)>$/);\n\tif (generic) {\n\t\tconst [kind, inner] = generic.slice(1);\n\t\tif (kind === \"vector\") return bcs.vector(pureBcsSchemaFromTypeName(inner));\n\t\telse return bcs.option(pureBcsSchemaFromTypeName(inner));\n\t}\n\tthrow new Error(`Invalid Pure type name: ${name}`);\n}\n\n//#endregion\nexport { pureBcsSchemaFromTypeName };\n//# sourceMappingURL=pure.mjs.map","import { TypeTagSerializer } from \"./type-tag-serializer.mjs\";\nimport { Address, AppId, Argument, CallArg, Command, CompressedSignature, Data, GasData, Intent, IntentMessage, IntentScope, IntentVersion, MoveObject, MoveObjectType, MovePackage, MultiSig, MultiSigPkMap, MultiSigPublicKey, ObjectArg, ObjectDigest, ObjectInner, Owner, PasskeyAuthenticator, ProgrammableMoveCall, ProgrammableTransaction, PublicKey, SenderSignedData, SenderSignedTransaction, SharedObjectRef, StructTag, SuiObjectRef, TransactionData, TransactionDataV1, TransactionExpiration, TransactionKind, TypeOrigin, TypeTag, UpgradeInfo } from \"./bcs.mjs\";\nimport { TransactionEffects } from \"./effects.mjs\";\nimport { pureBcsSchemaFromTypeName } from \"./pure.mjs\";\nimport { BcsEnum, BcsStruct, BcsTuple, BcsType, bcs, compareBcsBytes } from \"@mysten/bcs\";\n\n//#region src/bcs/index.ts\nconst suiBcs = {\n\t...bcs,\n\tU8: bcs.u8(),\n\tU16: bcs.u16(),\n\tU32: bcs.u32(),\n\tU64: bcs.u64(),\n\tU128: bcs.u128(),\n\tU256: bcs.u256(),\n\tULEB128: bcs.uleb128(),\n\tBool: bcs.bool(),\n\tString: bcs.string(),\n\tAddress,\n\tAppId,\n\tArgument,\n\tCallArg,\n\tCommand,\n\tCompressedSignature,\n\tData,\n\tGasData,\n\tIntent,\n\tIntentMessage,\n\tIntentScope,\n\tIntentVersion,\n\tMoveObject,\n\tMoveObjectType,\n\tMovePackage,\n\tMultiSig,\n\tMultiSigPkMap,\n\tMultiSigPublicKey,\n\tObject: ObjectInner,\n\tObjectArg,\n\tObjectDigest,\n\tOwner,\n\tPasskeyAuthenticator,\n\tProgrammableMoveCall,\n\tProgrammableTransaction,\n\tPublicKey,\n\tSenderSignedData,\n\tSenderSignedTransaction,\n\tSharedObjectRef,\n\tStructTag,\n\tSuiObjectRef,\n\tTransactionData,\n\tTransactionDataV1,\n\tTransactionEffects,\n\tTransactionExpiration,\n\tTransactionKind,\n\tTypeOrigin,\n\tTypeTag,\n\tUpgradeInfo\n};\n\n//#endregion\nexport { BcsEnum, BcsStruct, BcsTuple, BcsType, TypeTagSerializer, suiBcs as bcs, compareBcsBytes, pureBcsSchemaFromTypeName };\n//# sourceMappingURL=index.mjs.map","//#region src/client/cache.ts\nvar ClientCache = class ClientCache {\n\t#prefix;\n\t#cache;\n\tconstructor({ prefix, cache } = {}) {\n\t\tthis.#prefix = prefix ?? [];\n\t\tthis.#cache = cache ?? /* @__PURE__ */ new Map();\n\t}\n\tread(key, load) {\n\t\tconst cacheKey = [this.#prefix, ...key].join(\":\");\n\t\tif (this.#cache.has(cacheKey)) return this.#cache.get(cacheKey);\n\t\tconst result = load();\n\t\tthis.#cache.set(cacheKey, result);\n\t\tif (typeof result === \"object\" && result !== null && \"then\" in result) return Promise.resolve(result).then((v) => {\n\t\t\tthis.#cache.set(cacheKey, v);\n\t\t\treturn v;\n\t\t}).catch((err) => {\n\t\t\tthis.#cache.delete(cacheKey);\n\t\t\tthrow err;\n\t\t});\n\t\treturn result;\n\t}\n\treadSync(key, load) {\n\t\tconst cacheKey = [this.#prefix, ...key].join(\":\");\n\t\tif (this.#cache.has(cacheKey)) return this.#cache.get(cacheKey);\n\t\tconst result = load();\n\t\tthis.#cache.set(cacheKey, result);\n\t\treturn result;\n\t}\n\tclear(prefix) {\n\t\tconst prefixKey = [...this.#prefix, ...prefix ?? []].join(\":\");\n\t\tif (!prefixKey) {\n\t\t\tthis.#cache.clear();\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of this.#cache.keys()) if (key.startsWith(prefixKey)) this.#cache.delete(key);\n\t}\n\tscope(prefix) {\n\t\treturn new ClientCache({\n\t\t\tprefix: [...this.#prefix, ...Array.isArray(prefix) ? prefix : [prefix]],\n\t\t\tcache: this.#cache\n\t\t});\n\t}\n};\n\n//#endregion\nexport { ClientCache };\n//# sourceMappingURL=cache.mjs.map","import { ClientCache } from \"./cache.mjs\";\n\n//#region src/client/client.ts\nvar BaseClient = class {\n\tconstructor({ network, base, cache = base?.cache ?? new ClientCache() }) {\n\t\tthis.network = network;\n\t\tthis.base = base ?? this;\n\t\tthis.cache = cache;\n\t}\n\t$extend(...registrations) {\n\t\tconst extensions = Object.fromEntries(registrations.map((registration) => {\n\t\t\treturn [registration.name, registration.register(this)];\n\t\t}));\n\t\tconst methodCache = /* @__PURE__ */ new Map();\n\t\treturn new Proxy(this, { get(target, prop, receiver) {\n\t\t\tif (typeof prop === \"string\" && prop in extensions) return extensions[prop];\n\t\t\tconst value = Reflect.get(target, prop, receiver);\n\t\t\tif (typeof value === \"function\") {\n\t\t\t\tif (prop === \"$extend\") return value.bind(receiver);\n\t\t\t\tif (!methodCache.has(prop)) methodCache.set(prop, value.bind(target));\n\t\t\t\treturn methodCache.get(prop);\n\t\t\t}\n\t\t\treturn value;\n\t\t} });\n\t}\n};\n\n//#endregion\nexport { BaseClient };\n//# sourceMappingURL=client.mjs.map","/**\n * Internal helpers for blake hash.\n * @module\n */\nimport { rotr } from \"./utils.js\";\n/**\n * Internal blake variable.\n * For BLAKE2b, the two extra permutations for rounds 10 and 11 are SIGMA[10..11] = SIGMA[0..1].\n */\n// prettier-ignore\nexport const BSIGMA = /* @__PURE__ */ Uint8Array.from([\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3,\n 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4,\n 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8,\n 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13,\n 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9,\n 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11,\n 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10,\n 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5,\n 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0,\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3,\n // Blake1, unused in others\n 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4,\n 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8,\n 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13,\n 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9,\n]);\n// Mixing function G splitted in two halfs\nexport function G1s(a, b, c, d, x) {\n a = (a + b + x) | 0;\n d = rotr(d ^ a, 16);\n c = (c + d) | 0;\n b = rotr(b ^ c, 12);\n return { a, b, c, d };\n}\nexport function G2s(a, b, c, d, x) {\n a = (a + b + x) | 0;\n d = rotr(d ^ a, 8);\n c = (c + d) | 0;\n b = rotr(b ^ c, 7);\n return { a, b, c, d };\n}\n//# sourceMappingURL=_blake.js.map","/**\n * blake2b (64-bit) & blake2s (8 to 32-bit) hash functions.\n * b could have been faster, but there is no fast u64 in js, so s is 1.5x faster.\n * @module\n */\nimport { BSIGMA, G1s, G2s } from \"./_blake.js\";\nimport { SHA256_IV } from \"./_md.js\";\nimport * as u64 from \"./_u64.js\";\n// prettier-ignore\nimport { abytes, aexists, anumber, aoutput, clean, createHasher, swap32IfBE, swap8IfBE, u32 } from \"./utils.js\";\n// Same as SHA512_IV, but swapped endianness: LE instead of BE. iv[1] is iv[0], etc.\nconst B2B_IV = /* @__PURE__ */ Uint32Array.from([\n 0xf3bcc908, 0x6a09e667, 0x84caa73b, 0xbb67ae85, 0xfe94f82b, 0x3c6ef372, 0x5f1d36f1, 0xa54ff53a,\n 0xade682d1, 0x510e527f, 0x2b3e6c1f, 0x9b05688c, 0xfb41bd6b, 0x1f83d9ab, 0x137e2179, 0x5be0cd19,\n]);\n// Temporary buffer\nconst BBUF = /* @__PURE__ */ new Uint32Array(32);\n// Mixing function G splitted in two halfs\nfunction G1b(a, b, c, d, msg, x) {\n // NOTE: V is LE here\n const Xl = msg[x], Xh = msg[x + 1]; // prettier-ignore\n let Al = BBUF[2 * a], Ah = BBUF[2 * a + 1]; // prettier-ignore\n let Bl = BBUF[2 * b], Bh = BBUF[2 * b + 1]; // prettier-ignore\n let Cl = BBUF[2 * c], Ch = BBUF[2 * c + 1]; // prettier-ignore\n let Dl = BBUF[2 * d], Dh = BBUF[2 * d + 1]; // prettier-ignore\n // v[a] = (v[a] + v[b] + x) | 0;\n let ll = u64.add3L(Al, Bl, Xl);\n Ah = u64.add3H(ll, Ah, Bh, Xh);\n Al = ll | 0;\n // v[d] = rotr(v[d] ^ v[a], 32)\n ({ Dh, Dl } = { Dh: Dh ^ Ah, Dl: Dl ^ Al });\n ({ Dh, Dl } = { Dh: u64.rotr32H(Dh, Dl), Dl: u64.rotr32L(Dh, Dl) });\n // v[c] = (v[c] + v[d]) | 0;\n ({ h: Ch, l: Cl } = u64.add(Ch, Cl, Dh, Dl));\n // v[b] = rotr(v[b] ^ v[c], 24)\n ({ Bh, Bl } = { Bh: Bh ^ Ch, Bl: Bl ^ Cl });\n ({ Bh, Bl } = { Bh: u64.rotrSH(Bh, Bl, 24), Bl: u64.rotrSL(Bh, Bl, 24) });\n ((BBUF[2 * a] = Al), (BBUF[2 * a + 1] = Ah));\n ((BBUF[2 * b] = Bl), (BBUF[2 * b + 1] = Bh));\n ((BBUF[2 * c] = Cl), (BBUF[2 * c + 1] = Ch));\n ((BBUF[2 * d] = Dl), (BBUF[2 * d + 1] = Dh));\n}\nfunction G2b(a, b, c, d, msg, x) {\n // NOTE: V is LE here\n const Xl = msg[x], Xh = msg[x + 1]; // prettier-ignore\n let Al = BBUF[2 * a], Ah = BBUF[2 * a + 1]; // prettier-ignore\n let Bl = BBUF[2 * b], Bh = BBUF[2 * b + 1]; // prettier-ignore\n let Cl = BBUF[2 * c], Ch = BBUF[2 * c + 1]; // prettier-ignore\n let Dl = BBUF[2 * d], Dh = BBUF[2 * d + 1]; // prettier-ignore\n // v[a] = (v[a] + v[b] + x) | 0;\n let ll = u64.add3L(Al, Bl, Xl);\n Ah = u64.add3H(ll, Ah, Bh, Xh);\n Al = ll | 0;\n // v[d] = rotr(v[d] ^ v[a], 16)\n ({ Dh, Dl } = { Dh: Dh ^ Ah, Dl: Dl ^ Al });\n ({ Dh, Dl } = { Dh: u64.rotrSH(Dh, Dl, 16), Dl: u64.rotrSL(Dh, Dl, 16) });\n // v[c] = (v[c] + v[d]) | 0;\n ({ h: Ch, l: Cl } = u64.add(Ch, Cl, Dh, Dl));\n // v[b] = rotr(v[b] ^ v[c], 63)\n ({ Bh, Bl } = { Bh: Bh ^ Ch, Bl: Bl ^ Cl });\n ({ Bh, Bl } = { Bh: u64.rotrBH(Bh, Bl, 63), Bl: u64.rotrBL(Bh, Bl, 63) });\n ((BBUF[2 * a] = Al), (BBUF[2 * a + 1] = Ah));\n ((BBUF[2 * b] = Bl), (BBUF[2 * b + 1] = Bh));\n ((BBUF[2 * c] = Cl), (BBUF[2 * c + 1] = Ch));\n ((BBUF[2 * d] = Dl), (BBUF[2 * d + 1] = Dh));\n}\nfunction checkBlake2Opts(outputLen, opts = {}, keyLen, saltLen, persLen) {\n anumber(keyLen);\n if (outputLen < 0 || outputLen > keyLen)\n throw new Error('outputLen bigger than keyLen');\n const { key, salt, personalization } = opts;\n if (key !== undefined && (key.length < 1 || key.length > keyLen))\n throw new Error('\"key\" expected to be undefined or of length=1..' + keyLen);\n if (salt !== undefined)\n abytes(salt, saltLen, 'salt');\n if (personalization !== undefined)\n abytes(personalization, persLen, 'personalization');\n}\n/** Internal base class for BLAKE2. */\nexport class _BLAKE2 {\n buffer;\n buffer32;\n finished = false;\n destroyed = false;\n length = 0;\n pos = 0;\n blockLen;\n outputLen;\n constructor(blockLen, outputLen) {\n anumber(blockLen);\n anumber(outputLen);\n this.blockLen = blockLen;\n this.outputLen = outputLen;\n this.buffer = new Uint8Array(blockLen);\n this.buffer32 = u32(this.buffer);\n }\n update(data) {\n aexists(this);\n abytes(data);\n // Main difference with other hashes: there is flag for last block,\n // so we cannot process current block before we know that there\n // is the next one. This significantly complicates logic and reduces ability\n // to do zero-copy processing\n const { blockLen, buffer, buffer32 } = this;\n const len = data.length;\n const offset = data.byteOffset;\n const buf = data.buffer;\n for (let pos = 0; pos < len;) {\n // If buffer is full and we still have input (don't process last block, same as blake2s)\n if (this.pos === blockLen) {\n swap32IfBE(buffer32);\n this.compress(buffer32, 0, false);\n swap32IfBE(buffer32);\n this.pos = 0;\n }\n const take = Math.min(blockLen - this.pos, len - pos);\n const dataOffset = offset + pos;\n // full block && aligned to 4 bytes && not last in input\n if (take === blockLen && !(dataOffset % 4) && pos + take < len) {\n const data32 = new Uint32Array(buf, dataOffset, Math.floor((len - pos) / 4));\n swap32IfBE(data32);\n for (let pos32 = 0; pos + blockLen < len; pos32 += buffer32.length, pos += blockLen) {\n this.length += blockLen;\n this.compress(data32, pos32, false);\n }\n swap32IfBE(data32);\n continue;\n }\n buffer.set(data.subarray(pos, pos + take), this.pos);\n this.pos += take;\n this.length += take;\n pos += take;\n }\n return this;\n }\n digestInto(out) {\n aexists(this);\n aoutput(out, this);\n const { pos, buffer32 } = this;\n this.finished = true;\n // Padding\n clean(this.buffer.subarray(pos));\n swap32IfBE(buffer32);\n this.compress(buffer32, 0, true);\n swap32IfBE(buffer32);\n const out32 = u32(out);\n this.get().forEach((v, i) => (out32[i] = swap8IfBE(v)));\n }\n digest() {\n const { buffer, outputLen } = this;\n this.digestInto(buffer);\n const res = buffer.slice(0, outputLen);\n this.destroy();\n return res;\n }\n _cloneInto(to) {\n const { buffer, length, finished, destroyed, outputLen, pos } = this;\n to ||= new this.constructor({ dkLen: outputLen });\n to.set(...this.get());\n to.buffer.set(buffer);\n to.destroyed = destroyed;\n to.finished = finished;\n to.length = length;\n to.pos = pos;\n // @ts-ignore\n to.outputLen = outputLen;\n return to;\n }\n clone() {\n return this._cloneInto();\n }\n}\n/** Internal blake2b hash class. */\nexport class _BLAKE2b extends _BLAKE2 {\n // Same as SHA-512, but LE\n v0l = B2B_IV[0] | 0;\n v0h = B2B_IV[1] | 0;\n v1l = B2B_IV[2] | 0;\n v1h = B2B_IV[3] | 0;\n v2l = B2B_IV[4] | 0;\n v2h = B2B_IV[5] | 0;\n v3l = B2B_IV[6] | 0;\n v3h = B2B_IV[7] | 0;\n v4l = B2B_IV[8] | 0;\n v4h = B2B_IV[9] | 0;\n v5l = B2B_IV[10] | 0;\n v5h = B2B_IV[11] | 0;\n v6l = B2B_IV[12] | 0;\n v6h = B2B_IV[13] | 0;\n v7l = B2B_IV[14] | 0;\n v7h = B2B_IV[15] | 0;\n constructor(opts = {}) {\n const olen = opts.dkLen === undefined ? 64 : opts.dkLen;\n super(128, olen);\n checkBlake2Opts(olen, opts, 64, 16, 16);\n let { key, personalization, salt } = opts;\n let keyLength = 0;\n if (key !== undefined) {\n abytes(key, undefined, 'key');\n keyLength = key.length;\n }\n this.v0l ^= this.outputLen | (keyLength << 8) | (0x01 << 16) | (0x01 << 24);\n if (salt !== undefined) {\n abytes(salt, undefined, 'salt');\n const slt = u32(salt);\n this.v4l ^= swap8IfBE(slt[0]);\n this.v4h ^= swap8IfBE(slt[1]);\n this.v5l ^= swap8IfBE(slt[2]);\n this.v5h ^= swap8IfBE(slt[3]);\n }\n if (personalization !== undefined) {\n abytes(personalization, undefined, 'personalization');\n const pers = u32(personalization);\n this.v6l ^= swap8IfBE(pers[0]);\n this.v6h ^= swap8IfBE(pers[1]);\n this.v7l ^= swap8IfBE(pers[2]);\n this.v7h ^= swap8IfBE(pers[3]);\n }\n if (key !== undefined) {\n // Pad to blockLen and update\n const tmp = new Uint8Array(this.blockLen);\n tmp.set(key);\n this.update(tmp);\n }\n }\n // prettier-ignore\n get() {\n let { v0l, v0h, v1l, v1h, v2l, v2h, v3l, v3h, v4l, v4h, v5l, v5h, v6l, v6h, v7l, v7h } = this;\n return [v0l, v0h, v1l, v1h, v2l, v2h, v3l, v3h, v4l, v4h, v5l, v5h, v6l, v6h, v7l, v7h];\n }\n // prettier-ignore\n set(v0l, v0h, v1l, v1h, v2l, v2h, v3l, v3h, v4l, v4h, v5l, v5h, v6l, v6h, v7l, v7h) {\n this.v0l = v0l | 0;\n this.v0h = v0h | 0;\n this.v1l = v1l | 0;\n this.v1h = v1h | 0;\n this.v2l = v2l | 0;\n this.v2h = v2h | 0;\n this.v3l = v3l | 0;\n this.v3h = v3h | 0;\n this.v4l = v4l | 0;\n this.v4h = v4h | 0;\n this.v5l = v5l | 0;\n this.v5h = v5h | 0;\n this.v6l = v6l | 0;\n this.v6h = v6h | 0;\n this.v7l = v7l | 0;\n this.v7h = v7h | 0;\n }\n compress(msg, offset, isLast) {\n this.get().forEach((v, i) => (BBUF[i] = v)); // First half from state.\n BBUF.set(B2B_IV, 16); // Second half from IV.\n let { h, l } = u64.fromBig(BigInt(this.length));\n BBUF[24] = B2B_IV[8] ^ l; // Low word of the offset.\n BBUF[25] = B2B_IV[9] ^ h; // High word.\n // Invert all bits for last block\n if (isLast) {\n BBUF[28] = ~BBUF[28];\n BBUF[29] = ~BBUF[29];\n }\n let j = 0;\n const s = BSIGMA;\n for (let i = 0; i < 12; i++) {\n G1b(0, 4, 8, 12, msg, offset + 2 * s[j++]);\n G2b(0, 4, 8, 12, msg, offset + 2 * s[j++]);\n G1b(1, 5, 9, 13, msg, offset + 2 * s[j++]);\n G2b(1, 5, 9, 13, msg, offset + 2 * s[j++]);\n G1b(2, 6, 10, 14, msg, offset + 2 * s[j++]);\n G2b(2, 6, 10, 14, msg, offset + 2 * s[j++]);\n G1b(3, 7, 11, 15, msg, offset + 2 * s[j++]);\n G2b(3, 7, 11, 15, msg, offset + 2 * s[j++]);\n G1b(0, 5, 10, 15, msg, offset + 2 * s[j++]);\n G2b(0, 5, 10, 15, msg, offset + 2 * s[j++]);\n G1b(1, 6, 11, 12, msg, offset + 2 * s[j++]);\n G2b(1, 6, 11, 12, msg, offset + 2 * s[j++]);\n G1b(2, 7, 8, 13, msg, offset + 2 * s[j++]);\n G2b(2, 7, 8, 13, msg, offset + 2 * s[j++]);\n G1b(3, 4, 9, 14, msg, offset + 2 * s[j++]);\n G2b(3, 4, 9, 14, msg, offset + 2 * s[j++]);\n }\n this.v0l ^= BBUF[0] ^ BBUF[16];\n this.v0h ^= BBUF[1] ^ BBUF[17];\n this.v1l ^= BBUF[2] ^ BBUF[18];\n this.v1h ^= BBUF[3] ^ BBUF[19];\n this.v2l ^= BBUF[4] ^ BBUF[20];\n this.v2h ^= BBUF[5] ^ BBUF[21];\n this.v3l ^= BBUF[6] ^ BBUF[22];\n this.v3h ^= BBUF[7] ^ BBUF[23];\n this.v4l ^= BBUF[8] ^ BBUF[24];\n this.v4h ^= BBUF[9] ^ BBUF[25];\n this.v5l ^= BBUF[10] ^ BBUF[26];\n this.v5h ^= BBUF[11] ^ BBUF[27];\n this.v6l ^= BBUF[12] ^ BBUF[28];\n this.v6h ^= BBUF[13] ^ BBUF[29];\n this.v7l ^= BBUF[14] ^ BBUF[30];\n this.v7h ^= BBUF[15] ^ BBUF[31];\n clean(BBUF);\n }\n destroy() {\n this.destroyed = true;\n clean(this.buffer32);\n this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);\n }\n}\n/**\n * Blake2b hash function. 64-bit. 1.5x slower than blake2s in JS.\n * @param msg - message that would be hashed\n * @param opts - dkLen output length, key for MAC mode, salt, personalization\n */\nexport const blake2b = /* @__PURE__ */ createHasher((opts) => new _BLAKE2b(opts));\n/** BLAKE2-compress core method. */\n// prettier-ignore\nexport function compress(s, offset, msg, rounds, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15) {\n let j = 0;\n for (let i = 0; i < rounds; i++) {\n ({ a: v0, b: v4, c: v8, d: v12 } = G1s(v0, v4, v8, v12, msg[offset + s[j++]]));\n ({ a: v0, b: v4, c: v8, d: v12 } = G2s(v0, v4, v8, v12, msg[offset + s[j++]]));\n ({ a: v1, b: v5, c: v9, d: v13 } = G1s(v1, v5, v9, v13, msg[offset + s[j++]]));\n ({ a: v1, b: v5, c: v9, d: v13 } = G2s(v1, v5, v9, v13, msg[offset + s[j++]]));\n ({ a: v2, b: v6, c: v10, d: v14 } = G1s(v2, v6, v10, v14, msg[offset + s[j++]]));\n ({ a: v2, b: v6, c: v10, d: v14 } = G2s(v2, v6, v10, v14, msg[offset + s[j++]]));\n ({ a: v3, b: v7, c: v11, d: v15 } = G1s(v3, v7, v11, v15, msg[offset + s[j++]]));\n ({ a: v3, b: v7, c: v11, d: v15 } = G2s(v3, v7, v11, v15, msg[offset + s[j++]]));\n ({ a: v0, b: v5, c: v10, d: v15 } = G1s(v0, v5, v10, v15, msg[offset + s[j++]]));\n ({ a: v0, b: v5, c: v10, d: v15 } = G2s(v0, v5, v10, v15, msg[offset + s[j++]]));\n ({ a: v1, b: v6, c: v11, d: v12 } = G1s(v1, v6, v11, v12, msg[offset + s[j++]]));\n ({ a: v1, b: v6, c: v11, d: v12 } = G2s(v1, v6, v11, v12, msg[offset + s[j++]]));\n ({ a: v2, b: v7, c: v8, d: v13 } = G1s(v2, v7, v8, v13, msg[offset + s[j++]]));\n ({ a: v2, b: v7, c: v8, d: v13 } = G2s(v2, v7, v8, v13, msg[offset + s[j++]]));\n ({ a: v3, b: v4, c: v9, d: v14 } = G1s(v3, v4, v9, v14, msg[offset + s[j++]]));\n ({ a: v3, b: v4, c: v9, d: v14 } = G2s(v3, v4, v9, v14, msg[offset + s[j++]]));\n }\n return { v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15 };\n}\nconst B2S_IV = /* @__PURE__ */ SHA256_IV.slice();\n/** Internal blake2s hash class. */\nexport class _BLAKE2s extends _BLAKE2 {\n // Internal state, same as SHA-256\n v0 = B2S_IV[0] | 0;\n v1 = B2S_IV[1] | 0;\n v2 = B2S_IV[2] | 0;\n v3 = B2S_IV[3] | 0;\n v4 = B2S_IV[4] | 0;\n v5 = B2S_IV[5] | 0;\n v6 = B2S_IV[6] | 0;\n v7 = B2S_IV[7] | 0;\n constructor(opts = {}) {\n const olen = opts.dkLen === undefined ? 32 : opts.dkLen;\n super(64, olen);\n checkBlake2Opts(olen, opts, 32, 8, 8);\n let { key, personalization, salt } = opts;\n let keyLength = 0;\n if (key !== undefined) {\n abytes(key, undefined, 'key');\n keyLength = key.length;\n }\n this.v0 ^= this.outputLen | (keyLength << 8) | (0x01 << 16) | (0x01 << 24);\n if (salt !== undefined) {\n abytes(salt, undefined, 'salt');\n const slt = u32(salt);\n this.v4 ^= swap8IfBE(slt[0]);\n this.v5 ^= swap8IfBE(slt[1]);\n }\n if (personalization !== undefined) {\n abytes(personalization, undefined, 'personalization');\n const pers = u32(personalization);\n this.v6 ^= swap8IfBE(pers[0]);\n this.v7 ^= swap8IfBE(pers[1]);\n }\n if (key !== undefined) {\n // Pad to blockLen and update\n const tmp = new Uint8Array(this.blockLen);\n tmp.set(key);\n this.update(tmp);\n }\n }\n get() {\n const { v0, v1, v2, v3, v4, v5, v6, v7 } = this;\n return [v0, v1, v2, v3, v4, v5, v6, v7];\n }\n // prettier-ignore\n set(v0, v1, v2, v3, v4, v5, v6, v7) {\n this.v0 = v0 | 0;\n this.v1 = v1 | 0;\n this.v2 = v2 | 0;\n this.v3 = v3 | 0;\n this.v4 = v4 | 0;\n this.v5 = v5 | 0;\n this.v6 = v6 | 0;\n this.v7 = v7 | 0;\n }\n compress(msg, offset, isLast) {\n const { h, l } = u64.fromBig(BigInt(this.length));\n // prettier-ignore\n const { v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15 } = compress(BSIGMA, offset, msg, 10, this.v0, this.v1, this.v2, this.v3, this.v4, this.v5, this.v6, this.v7, B2S_IV[0], B2S_IV[1], B2S_IV[2], B2S_IV[3], l ^ B2S_IV[4], h ^ B2S_IV[5], isLast ? ~B2S_IV[6] : B2S_IV[6], B2S_IV[7]);\n this.v0 ^= v0 ^ v8;\n this.v1 ^= v1 ^ v9;\n this.v2 ^= v2 ^ v10;\n this.v3 ^= v3 ^ v11;\n this.v4 ^= v4 ^ v12;\n this.v5 ^= v5 ^ v13;\n this.v6 ^= v6 ^ v14;\n this.v7 ^= v7 ^ v15;\n }\n destroy() {\n this.destroyed = true;\n clean(this.buffer32);\n this.set(0, 0, 0, 0, 0, 0, 0, 0);\n }\n}\n/**\n * Blake2s hash function. Focuses on 8-bit to 32-bit platforms. 1.5x faster than blake2b in JS.\n * @param msg - message that would be hashed\n * @param opts - dkLen output length, key for MAC mode, salt, personalization\n */\nexport const blake2s = /* @__PURE__ */ createHasher((opts) => new _BLAKE2s(opts));\n//# sourceMappingURL=blake2.js.map","import { bcs as suiBcs } from \"../bcs/index.mjs\";\nimport { toHex } from \"@mysten/bcs\";\nimport { blake2b } from \"@noble/hashes/blake2.js\";\n\n//#region src/utils/dynamic-fields.ts\nfunction deriveDynamicFieldID(parentId, typeTag, key) {\n\tconst address = suiBcs.Address.serialize(parentId).toBytes();\n\tconst tag = suiBcs.TypeTag.serialize(typeTag).toBytes();\n\tconst keyLength = suiBcs.u64().serialize(key.length).toBytes();\n\tconst hash = blake2b.create({ dkLen: 32 });\n\thash.update(new Uint8Array([240]));\n\thash.update(address);\n\thash.update(keyLength);\n\thash.update(key);\n\thash.update(tag);\n\treturn `0x${toHex(hash.digest().slice(0, 32))}`;\n}\n\n//#endregion\nexport { deriveDynamicFieldID };\n//# sourceMappingURL=dynamic-fields.mjs.map","//#region src/version.ts\nconst PACKAGE_VERSION = \"2.17.0\";\n\n//#endregion\nexport { PACKAGE_VERSION };\n//# sourceMappingURL=version.mjs.map","import { isValidNamedPackage, isValidNamedType } from \"../utils/move-registry.mjs\";\nimport { isValidSuiAddress, normalizeStructTag, normalizeSuiAddress, parseStructTag } from \"../utils/sui-types.mjs\";\nimport { PACKAGE_VERSION } from \"../version.mjs\";\nimport { DataLoader, chunk } from \"@mysten/utils\";\n\n//#region src/client/mvr.ts\nconst NAME_SEPARATOR = \"/\";\nconst MVR_API_HEADER = { \"Mvr-Source\": `@mysten/sui@${PACKAGE_VERSION}` };\nvar MvrClient = class {\n\t#cache;\n\t#url;\n\t#pageSize;\n\t#overrides;\n\tconstructor({ cache, url, pageSize = 50, overrides }) {\n\t\tthis.#cache = cache;\n\t\tthis.#url = url;\n\t\tthis.#pageSize = pageSize;\n\t\tthis.#overrides = {\n\t\t\tpackages: overrides?.packages,\n\t\t\ttypes: overrides?.types\n\t\t};\n\t\tvalidateOverrides(this.#overrides);\n\t}\n\tget #mvrPackageDataLoader() {\n\t\treturn this.#cache.readSync([\"#mvrPackageDataLoader\", this.#url ?? \"\"], () => {\n\t\t\tconst loader = new DataLoader(async (packages) => {\n\t\t\t\tif (!this.#url) throw new Error(`MVR Api URL is not set for the current client (resolving ${packages.join(\", \")})`);\n\t\t\t\tconst resolved = await this.#resolvePackages(packages);\n\t\t\t\treturn packages.map((pkg) => resolved[pkg] ?? /* @__PURE__ */ new Error(`Failed to resolve package: ${pkg}`));\n\t\t\t});\n\t\t\tconst overrides = this.#overrides?.packages;\n\t\t\tif (overrides) for (const [pkg, id] of Object.entries(overrides)) loader.prime(pkg, id);\n\t\t\treturn loader;\n\t\t});\n\t}\n\tget #mvrTypeDataLoader() {\n\t\treturn this.#cache.readSync([\"#mvrTypeDataLoader\", this.#url ?? \"\"], () => {\n\t\t\tconst loader = new DataLoader(async (types) => {\n\t\t\t\tif (!this.#url) throw new Error(`MVR Api URL is not set for the current client (resolving ${types.join(\", \")})`);\n\t\t\t\tconst resolved = await this.#resolveTypes(types);\n\t\t\t\treturn types.map((type) => resolved[type] ?? /* @__PURE__ */ new Error(`Failed to resolve type: ${type}`));\n\t\t\t});\n\t\t\tconst overrides = this.#overrides?.types;\n\t\t\tif (overrides) for (const [type, id] of Object.entries(overrides)) loader.prime(type, id);\n\t\t\treturn loader;\n\t\t});\n\t}\n\tasync #resolvePackages(packages) {\n\t\tif (packages.length === 0) return {};\n\t\tconst batches = chunk(packages, this.#pageSize);\n\t\tconst results = {};\n\t\tawait Promise.all(batches.map(async (batch) => {\n\t\t\tconst data = await this.#fetch(\"/v1/resolution/bulk\", { names: batch });\n\t\t\tif (!data?.resolution) return;\n\t\t\tfor (const pkg of Object.keys(data?.resolution)) {\n\t\t\t\tconst pkgData = data.resolution[pkg]?.package_id;\n\t\t\t\tif (!pkgData) continue;\n\t\t\t\tresults[pkg] = pkgData;\n\t\t\t}\n\t\t}));\n\t\treturn results;\n\t}\n\tasync #resolveTypes(types) {\n\t\tif (types.length === 0) return {};\n\t\tconst batches = chunk(types, this.#pageSize);\n\t\tconst results = {};\n\t\tawait Promise.all(batches.map(async (batch) => {\n\t\t\tconst data = await this.#fetch(\"/v1/struct-definition/bulk\", { types: batch });\n\t\t\tif (!data?.resolution) return;\n\t\t\tfor (const type of Object.keys(data?.resolution)) {\n\t\t\t\tconst typeData = data.resolution[type]?.type_tag;\n\t\t\t\tif (!typeData) continue;\n\t\t\t\tresults[type] = typeData;\n\t\t\t}\n\t\t}));\n\t\treturn results;\n\t}\n\tasync #fetch(url, body) {\n\t\tif (!this.#url) throw new Error(\"MVR Api URL is not set for the current client\");\n\t\tconst response = await fetch(`${this.#url}${url}`, {\n\t\t\tmethod: \"POST\",\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\t...MVR_API_HEADER\n\t\t\t},\n\t\t\tbody: JSON.stringify(body)\n\t\t});\n\t\tif (!response.ok) {\n\t\t\tconst errorBody = await response.json().catch(() => ({}));\n\t\t\tthrow new Error(`Failed to resolve types: ${errorBody?.message}`);\n\t\t}\n\t\treturn response.json();\n\t}\n\tasync resolvePackage({ package: name }) {\n\t\tif (!hasMvrName(name)) return { package: name };\n\t\treturn { package: await this.#mvrPackageDataLoader.load(name) };\n\t}\n\tasync resolveType({ type }) {\n\t\tif (!hasMvrName(type)) return { type };\n\t\tconst mvrTypes = [...extractMvrTypes(type)];\n\t\tconst resolvedTypes = await this.#mvrTypeDataLoader.loadMany(mvrTypes);\n\t\tconst typeMap = {};\n\t\tfor (let i = 0; i < mvrTypes.length; i++) {\n\t\t\tconst resolvedType = resolvedTypes[i];\n\t\t\tif (resolvedType instanceof Error) throw resolvedType;\n\t\t\ttypeMap[mvrTypes[i]] = resolvedType;\n\t\t}\n\t\treturn { type: replaceMvrNames(type, typeMap) };\n\t}\n\tasync resolve({ types = [], packages = [] }) {\n\t\tconst mvrTypes = /* @__PURE__ */ new Set();\n\t\tfor (const type of types ?? []) extractMvrTypes(type, mvrTypes);\n\t\tconst typesArray = [...mvrTypes];\n\t\tconst [resolvedTypes, resolvedPackages] = await Promise.all([typesArray.length > 0 ? this.#mvrTypeDataLoader.loadMany(typesArray) : [], packages.length > 0 ? this.#mvrPackageDataLoader.loadMany(packages) : []]);\n\t\tconst typeMap = { ...this.#overrides?.types };\n\t\tfor (const [i, type] of typesArray.entries()) {\n\t\t\tconst resolvedType = resolvedTypes[i];\n\t\t\tif (resolvedType instanceof Error) throw resolvedType;\n\t\t\ttypeMap[type] = resolvedType;\n\t\t}\n\t\tconst replacedTypes = {};\n\t\tfor (const type of types ?? []) replacedTypes[type] = { type: replaceMvrNames(type, typeMap) };\n\t\tconst replacedPackages = {};\n\t\tfor (const [i, pkg] of (packages ?? []).entries()) {\n\t\t\tconst resolvedPkg = this.#overrides?.packages?.[pkg] ?? resolvedPackages[i];\n\t\t\tif (resolvedPkg instanceof Error) throw resolvedPkg;\n\t\t\treplacedPackages[pkg] = { package: resolvedPkg };\n\t\t}\n\t\treturn {\n\t\t\ttypes: replacedTypes,\n\t\t\tpackages: replacedPackages\n\t\t};\n\t}\n};\nfunction validateOverrides(overrides) {\n\tif (overrides?.packages) for (const [pkg, id] of Object.entries(overrides.packages)) {\n\t\tif (!isValidNamedPackage(pkg)) throw new Error(`Invalid package name: ${pkg}`);\n\t\tif (!isValidSuiAddress(normalizeSuiAddress(id))) throw new Error(`Invalid package ID: ${id}`);\n\t}\n\tif (overrides?.types) for (const [type, val] of Object.entries(overrides.types)) {\n\t\tif (parseStructTag(type).typeParams.length > 0) throw new Error(\"Type overrides must be first-level only. If you want to supply generic types, just pass each type individually.\");\n\t\tif (!isValidSuiAddress(parseStructTag(val).address)) throw new Error(`Invalid type: ${val}`);\n\t}\n}\n/**\n* Extracts all named types from a given type.\n*/\nfunction extractMvrTypes(type, types = /* @__PURE__ */ new Set()) {\n\tif (typeof type === \"string\" && !hasMvrName(type)) return types;\n\tif (typeof type === \"string\" && type.startsWith(\"vector<\") && type.endsWith(\">\")) return extractMvrTypes(type.slice(7, -1), types);\n\tconst tag = isStructTag(type) ? type : parseStructTag(type);\n\tif (hasMvrName(tag.address)) types.add(`${tag.address}::${tag.module}::${tag.name}`);\n\tfor (const param of tag.typeParams) extractMvrTypes(param, types);\n\treturn types;\n}\n/**\n* Traverses a type, and replaces any found names with their resolved equivalents,\n* based on the supplied type cache.\n*/\nfunction replaceMvrNames(tag, typeCache) {\n\tif (typeof tag === \"string\" && !tag.includes(\"::\")) return tag;\n\tif (typeof tag === \"string\" && tag.startsWith(\"vector<\") && tag.endsWith(\">\")) return `vector<${replaceMvrNames(tag.slice(7, -1), typeCache)}>`;\n\tconst type = isStructTag(tag) ? tag : parseStructTag(tag);\n\tconst cacheHit = typeCache[`${type.address}::${type.module}::${type.name}`];\n\treturn normalizeStructTag({\n\t\t...type,\n\t\taddress: cacheHit ? cacheHit.split(\"::\")[0] : type.address,\n\t\ttypeParams: type.typeParams.map((param) => replaceMvrNames(param, typeCache))\n\t});\n}\nfunction hasMvrName(nameOrType) {\n\treturn nameOrType.includes(NAME_SEPARATOR) || nameOrType.includes(\"@\") || nameOrType.includes(\".sui\");\n}\nfunction isStructTag(type) {\n\treturn typeof type === \"object\" && \"address\" in type && \"module\" in type && \"name\" in type && \"typeParams\" in type;\n}\n/**\n* Looks up all `.move` names in a transaction block.\n* Returns a list of all the names found.\n*/\nfunction findNamesInTransaction(builder) {\n\tconst packages = /* @__PURE__ */ new Set();\n\tconst types = /* @__PURE__ */ new Set();\n\tfor (const command of builder.commands) switch (command.$kind) {\n\t\tcase \"MakeMoveVec\":\n\t\t\tif (command.MakeMoveVec.type) getNamesFromTypeList([command.MakeMoveVec.type]).forEach((type) => {\n\t\t\t\ttypes.add(type);\n\t\t\t});\n\t\t\tbreak;\n\t\tcase \"MoveCall\":\n\t\t\tconst moveCall = command.MoveCall;\n\t\t\tconst pkg = moveCall.package.split(\"::\")[0];\n\t\t\tif (hasMvrName(pkg)) {\n\t\t\t\tif (!isValidNamedPackage(pkg)) throw new Error(`Invalid package name: ${pkg}`);\n\t\t\t\tpackages.add(pkg);\n\t\t\t}\n\t\t\tgetNamesFromTypeList(moveCall.typeArguments ?? []).forEach((type) => {\n\t\t\t\ttypes.add(type);\n\t\t\t});\n\t\t\tbreak;\n\t\tdefault: break;\n\t}\n\treturn {\n\t\tpackages: [...packages],\n\t\ttypes: [...types]\n\t};\n}\n/**\n* Replace all names & types in a transaction block\n* with their resolved names/types.\n*/\nfunction replaceNames(builder, resolved) {\n\tfor (const command of builder.commands) {\n\t\tif (command.MakeMoveVec?.type) {\n\t\t\tif (!hasMvrName(command.MakeMoveVec.type)) continue;\n\t\t\tif (!resolved.types[command.MakeMoveVec.type]) throw new Error(`No resolution found for type: ${command.MakeMoveVec.type}`);\n\t\t\tcommand.MakeMoveVec.type = resolved.types[command.MakeMoveVec.type].type;\n\t\t}\n\t\tconst tx = command.MoveCall;\n\t\tif (!tx) continue;\n\t\tconst nameParts = tx.package.split(\"::\");\n\t\tconst name = nameParts[0];\n\t\tif (hasMvrName(name) && !resolved.packages[name]) throw new Error(`No address found for package: ${name}`);\n\t\tif (hasMvrName(name)) {\n\t\t\tnameParts[0] = resolved.packages[name].package;\n\t\t\ttx.package = nameParts.join(\"::\");\n\t\t}\n\t\tconst types = tx.typeArguments;\n\t\tif (!types) continue;\n\t\tfor (let i = 0; i < types.length; i++) {\n\t\t\tif (!hasMvrName(types[i])) continue;\n\t\t\tif (!resolved.types[types[i]]) throw new Error(`No resolution found for type: ${types[i]}`);\n\t\t\ttypes[i] = resolved.types[types[i]].type;\n\t\t}\n\t\ttx.typeArguments = types;\n\t}\n}\n/**\n* Returns a list of unique types that include a name\n* from the given list. This list is retrieved from the Transaction Data.\n*/\nfunction getNamesFromTypeList(types) {\n\tconst names = /* @__PURE__ */ new Set();\n\tfor (const type of types) if (hasMvrName(type)) {\n\t\tif (!isValidNamedType(type)) throw new Error(`Invalid type with names: ${type}`);\n\t\tnames.add(type);\n\t}\n\treturn names;\n}\n\n//#endregion\nexport { MvrClient, findNamesInTransaction, hasMvrName, replaceNames };\n//# sourceMappingURL=mvr.mjs.map","import { SUI_ADDRESS_LENGTH, normalizeStructTag, parseStructTag } from \"../utils/sui-types.mjs\";\nimport { TypeTagSerializer } from \"../bcs/type-tag-serializer.mjs\";\nimport { bcs as suiBcs } from \"../bcs/index.mjs\";\nimport { BaseClient } from \"./client.mjs\";\nimport { deriveDynamicFieldID } from \"../utils/dynamic-fields.mjs\";\nimport { MvrClient } from \"./mvr.mjs\";\n\n//#region src/client/core.ts\nconst DEFAULT_MVR_URLS = {\n\tmainnet: \"https://mainnet.mvr.mystenlabs.com\",\n\ttestnet: \"https://testnet.mvr.mystenlabs.com\"\n};\nvar CoreClient = class extends BaseClient {\n\tconstructor(options) {\n\t\tsuper(options);\n\t\tthis.core = this;\n\t\tthis.mvr = new MvrClient({\n\t\t\tcache: this.cache.scope(\"core.mvr\"),\n\t\t\turl: options.mvr?.url ?? DEFAULT_MVR_URLS[this.network],\n\t\t\tpageSize: options.mvr?.pageSize,\n\t\t\toverrides: options.mvr?.overrides\n\t\t});\n\t}\n\tasync getObject(options) {\n\t\tconst { objectId } = options;\n\t\tconst { objects: [result] } = await this.getObjects({\n\t\t\tobjectIds: [objectId],\n\t\t\tsignal: options.signal,\n\t\t\tinclude: options.include\n\t\t});\n\t\tif (result instanceof Error) throw result;\n\t\treturn { object: result };\n\t}\n\tasync getDynamicField(options) {\n\t\tconst normalizedNameType = TypeTagSerializer.parseFromStr((await this.core.mvr.resolveType({ type: options.name.type })).type);\n\t\tconst fieldId = deriveDynamicFieldID(options.parentId, normalizedNameType, options.name.bcs);\n\t\tconst { objects: [fieldObject] } = await this.getObjects({\n\t\t\tobjectIds: [fieldId],\n\t\t\tsignal: options.signal,\n\t\t\tinclude: {\n\t\t\t\tpreviousTransaction: true,\n\t\t\t\tcontent: true\n\t\t\t}\n\t\t});\n\t\tif (fieldObject instanceof Error) throw fieldObject;\n\t\tconst fieldType = parseStructTag(fieldObject.type);\n\t\tconst content = await fieldObject.content;\n\t\tconst nameTypeParam = fieldType.typeParams[0];\n\t\tconst isDynamicObject = typeof nameTypeParam !== \"string\" && nameTypeParam.module === \"dynamic_object_field\" && nameTypeParam.name === \"Wrapper\";\n\t\tconst valueBcs = content.slice(SUI_ADDRESS_LENGTH + options.name.bcs.length);\n\t\tconst valueType = typeof fieldType.typeParams[1] === \"string\" ? fieldType.typeParams[1] : normalizeStructTag(fieldType.typeParams[1]);\n\t\treturn { dynamicField: {\n\t\t\t$kind: isDynamicObject ? \"DynamicObject\" : \"DynamicField\",\n\t\t\tfieldId: fieldObject.objectId,\n\t\t\tdigest: fieldObject.digest,\n\t\t\tversion: fieldObject.version,\n\t\t\ttype: fieldObject.type,\n\t\t\tpreviousTransaction: fieldObject.previousTransaction,\n\t\t\tname: {\n\t\t\t\ttype: typeof nameTypeParam === \"string\" ? nameTypeParam : normalizeStructTag(nameTypeParam),\n\t\t\t\tbcs: options.name.bcs\n\t\t\t},\n\t\t\tvalue: {\n\t\t\t\ttype: valueType,\n\t\t\t\tbcs: valueBcs\n\t\t\t},\n\t\t\tchildId: isDynamicObject ? suiBcs.Address.parse(valueBcs) : void 0\n\t\t} };\n\t}\n\tasync getDynamicObjectField(options) {\n\t\tconst wrappedType = `0x2::dynamic_object_field::Wrapper<${(await this.core.mvr.resolveType({ type: options.name.type })).type}>`;\n\t\tconst { dynamicField } = await this.getDynamicField({\n\t\t\tparentId: options.parentId,\n\t\t\tname: {\n\t\t\t\ttype: wrappedType,\n\t\t\t\tbcs: options.name.bcs\n\t\t\t},\n\t\t\tsignal: options.signal\n\t\t});\n\t\tconst { object } = await this.getObject({\n\t\t\tobjectId: dynamicField.childId,\n\t\t\tsignal: options.signal,\n\t\t\tinclude: options.include\n\t\t});\n\t\treturn { object };\n\t}\n\tasync waitForTransaction(options) {\n\t\tconst { signal, timeout = 60 * 1e3, pollSchedule, include } = options;\n\t\tconst digest = \"result\" in options && options.result ? (options.result.Transaction ?? options.result.FailedTransaction).digest : options.digest;\n\t\tconst abortSignal = signal ? AbortSignal.any([AbortSignal.timeout(timeout), signal]) : AbortSignal.timeout(timeout);\n\t\tconst abortPromise = new Promise((_, reject) => {\n\t\t\tabortSignal.addEventListener(\"abort\", () => reject(abortSignal.reason));\n\t\t});\n\t\tabortPromise.catch(() => {});\n\t\tconst schedule = pollSchedule ?? [\n\t\t\t0,\n\t\t\t300,\n\t\t\t600,\n\t\t\t1500,\n\t\t\t3500\n\t\t];\n\t\tconst t0 = Date.now();\n\t\tlet scheduleIndex = 0;\n\t\tconst lastInterval = schedule.length > 0 ? schedule[schedule.length - 1] - (schedule[schedule.length - 2] ?? 0) : 2e3;\n\t\twhile (true) {\n\t\t\tif (scheduleIndex < schedule.length) {\n\t\t\t\tconst remaining = t0 + schedule[scheduleIndex] - Date.now();\n\t\t\t\tscheduleIndex++;\n\t\t\t\tif (remaining > 0) await Promise.race([new Promise((resolve) => setTimeout(resolve, remaining)), abortPromise]);\n\t\t\t} else await Promise.race([new Promise((resolve) => setTimeout(resolve, lastInterval)), abortPromise]);\n\t\t\tabortSignal.throwIfAborted();\n\t\t\ttry {\n\t\t\t\treturn await this.getTransaction({\n\t\t\t\t\tdigest,\n\t\t\t\t\tinclude,\n\t\t\t\t\tsignal: abortSignal\n\t\t\t\t});\n\t\t\t} catch {}\n\t\t}\n\t}\n\tasync signAndExecuteTransaction({ transaction, signer, additionalSignatures = [], ...input }) {\n\t\tlet transactionBytes;\n\t\tif (transaction instanceof Uint8Array) transactionBytes = transaction;\n\t\telse {\n\t\t\ttransaction.setSenderIfNotSet(signer.toSuiAddress());\n\t\t\ttransactionBytes = await transaction.build({ client: this });\n\t\t}\n\t\tconst { signature } = await signer.signTransaction(transactionBytes);\n\t\treturn this.executeTransaction({\n\t\t\ttransaction: transactionBytes,\n\t\t\tsignatures: [signature, ...additionalSignatures],\n\t\t\t...input\n\t\t});\n\t}\n};\n\n//#endregion\nexport { CoreClient };\n//# sourceMappingURL=core.mjs.map","import { isValidSuiAddress, normalizeSuiAddress } from \"../../utils/sui-types.mjs\";\nimport { array, boolean, check, integer, lazy, literal, nullable, nullish, number, object, optional, pipe, record, string, transform, tuple, union, unknown } from \"valibot\";\n\n//#region src/transactions/data/internal.ts\nfunction safeEnum(options) {\n\treturn union(Object.keys(options).map((key) => withKind(key, object({ [key]: options[key] }))));\n}\nfunction withKind(key, schema) {\n\treturn pipe(object({\n\t\t...schema.entries,\n\t\t$kind: optional(literal(key))\n\t}), transform((value) => ({\n\t\t...value,\n\t\t$kind: key\n\t})));\n}\nconst SuiAddress = pipe(string(), transform((value) => normalizeSuiAddress(value)), check(isValidSuiAddress));\nconst ObjectID = SuiAddress;\nconst BCSBytes = string();\nconst JsonU64 = pipe(union([string(), pipe(number(), integer())]), check((val) => {\n\ttry {\n\t\tBigInt(val);\n\t\treturn BigInt(val) >= 0 && BigInt(val) <= 18446744073709551615n;\n\t} catch {\n\t\treturn false;\n\t}\n}, \"Invalid u64\"));\nconst U32 = pipe(number(), integer(), check((val) => val >= 0 && val < 2 ** 32, \"Invalid u32\"));\nconst ObjectRefSchema = object({\n\tobjectId: SuiAddress,\n\tversion: JsonU64,\n\tdigest: string()\n});\nconst ArgumentSchema = union([\n\twithKind(\"GasCoin\", object({ GasCoin: literal(true) })),\n\twithKind(\"Input\", object({\n\t\tInput: pipe(number(), integer()),\n\t\ttype: optional(union([\n\t\t\tliteral(\"pure\"),\n\t\t\tliteral(\"object\"),\n\t\t\tliteral(\"withdrawal\")\n\t\t]))\n\t})),\n\twithKind(\"Result\", object({ Result: pipe(number(), integer()) })),\n\twithKind(\"NestedResult\", object({ NestedResult: tuple([pipe(number(), integer()), pipe(number(), integer())]) }))\n]);\nconst GasDataSchema = object({\n\tbudget: nullable(JsonU64),\n\tprice: nullable(JsonU64),\n\towner: nullable(SuiAddress),\n\tpayment: nullable(array(ObjectRefSchema))\n});\nconst StructTagSchema = object({\n\taddress: string(),\n\tmodule: string(),\n\tname: string(),\n\ttypeParams: array(string())\n});\nconst OpenSignatureBodySchema = union([\n\tobject({ $kind: literal(\"address\") }),\n\tobject({ $kind: literal(\"bool\") }),\n\tobject({ $kind: literal(\"u8\") }),\n\tobject({ $kind: literal(\"u16\") }),\n\tobject({ $kind: literal(\"u32\") }),\n\tobject({ $kind: literal(\"u64\") }),\n\tobject({ $kind: literal(\"u128\") }),\n\tobject({ $kind: literal(\"u256\") }),\n\tobject({ $kind: literal(\"unknown\") }),\n\tobject({\n\t\t$kind: literal(\"vector\"),\n\t\tvector: lazy(() => OpenSignatureBodySchema)\n\t}),\n\tobject({\n\t\t$kind: literal(\"datatype\"),\n\t\tdatatype: object({\n\t\t\ttypeName: string(),\n\t\t\ttypeParameters: array(lazy(() => OpenSignatureBodySchema))\n\t\t})\n\t}),\n\tobject({\n\t\t$kind: literal(\"typeParameter\"),\n\t\tindex: pipe(number(), integer())\n\t})\n]);\nconst OpenSignatureSchema = object({\n\treference: nullable(union([\n\t\tliteral(\"mutable\"),\n\t\tliteral(\"immutable\"),\n\t\tliteral(\"unknown\")\n\t])),\n\tbody: OpenSignatureBodySchema\n});\nconst ProgrammableMoveCallSchema = object({\n\tpackage: ObjectID,\n\tmodule: string(),\n\tfunction: string(),\n\ttypeArguments: array(string()),\n\targuments: array(ArgumentSchema),\n\t_argumentTypes: optional(nullable(array(OpenSignatureSchema)))\n});\nconst $Intent = object({\n\tname: string(),\n\tinputs: record(string(), union([ArgumentSchema, array(ArgumentSchema)])),\n\tdata: record(string(), unknown())\n});\nconst CommandSchema = safeEnum({\n\tMoveCall: ProgrammableMoveCallSchema,\n\tTransferObjects: object({\n\t\tobjects: array(ArgumentSchema),\n\t\taddress: ArgumentSchema\n\t}),\n\tSplitCoins: object({\n\t\tcoin: ArgumentSchema,\n\t\tamounts: array(ArgumentSchema)\n\t}),\n\tMergeCoins: object({\n\t\tdestination: ArgumentSchema,\n\t\tsources: array(ArgumentSchema)\n\t}),\n\tPublish: object({\n\t\tmodules: array(BCSBytes),\n\t\tdependencies: array(ObjectID)\n\t}),\n\tMakeMoveVec: object({\n\t\ttype: nullable(string()),\n\t\telements: array(ArgumentSchema)\n\t}),\n\tUpgrade: object({\n\t\tmodules: array(BCSBytes),\n\t\tdependencies: array(ObjectID),\n\t\tpackage: ObjectID,\n\t\tticket: ArgumentSchema\n\t}),\n\t$Intent\n});\nconst ObjectArgSchema = safeEnum({\n\tImmOrOwnedObject: ObjectRefSchema,\n\tSharedObject: object({\n\t\tobjectId: ObjectID,\n\t\tinitialSharedVersion: JsonU64,\n\t\tmutable: boolean()\n\t}),\n\tReceiving: ObjectRefSchema\n});\nconst ReservationSchema = safeEnum({ MaxAmountU64: JsonU64 });\nconst WithdrawalTypeArgSchema = safeEnum({ Balance: string() });\nconst WithdrawFromSchema = safeEnum({\n\tSender: literal(true),\n\tSponsor: literal(true)\n});\nconst FundsWithdrawalArgSchema = object({\n\treservation: ReservationSchema,\n\ttypeArg: WithdrawalTypeArgSchema,\n\twithdrawFrom: WithdrawFromSchema\n});\nconst CallArgSchema = safeEnum({\n\tObject: ObjectArgSchema,\n\tPure: object({ bytes: BCSBytes }),\n\tUnresolvedPure: object({ value: unknown() }),\n\tUnresolvedObject: object({\n\t\tobjectId: ObjectID,\n\t\tversion: optional(nullable(JsonU64)),\n\t\tdigest: optional(nullable(string())),\n\t\tinitialSharedVersion: optional(nullable(JsonU64)),\n\t\tmutable: optional(nullable(boolean()))\n\t}),\n\tFundsWithdrawal: FundsWithdrawalArgSchema\n});\nconst NormalizedCallArg = safeEnum({\n\tObject: ObjectArgSchema,\n\tPure: object({ bytes: BCSBytes })\n});\nconst ValidDuringSchema = object({\n\tminEpoch: nullable(JsonU64),\n\tmaxEpoch: nullable(JsonU64),\n\tminTimestamp: nullable(JsonU64),\n\tmaxTimestamp: nullable(JsonU64),\n\tchain: string(),\n\tnonce: U32\n});\nconst TransactionExpiration = safeEnum({\n\tNone: literal(true),\n\tEpoch: JsonU64,\n\tValidDuring: ValidDuringSchema\n});\nconst TransactionDataSchema = object({\n\tversion: literal(2),\n\tsender: nullish(SuiAddress),\n\texpiration: nullish(TransactionExpiration),\n\tgasData: GasDataSchema,\n\tinputs: array(CallArgSchema),\n\tcommands: array(CommandSchema)\n});\n\n//#endregion\nexport { ArgumentSchema, BCSBytes, FundsWithdrawalArgSchema, JsonU64, NormalizedCallArg, ObjectID, ObjectRefSchema, SuiAddress, TransactionDataSchema, TransactionExpiration, ValidDuringSchema, safeEnum };\n//# sourceMappingURL=internal.mjs.map","import { TypeTagSerializer } from \"../../bcs/type-tag-serializer.mjs\";\nimport { JsonU64, ObjectID, TransactionDataSchema, safeEnum } from \"./internal.mjs\";\nimport { fromBase64, toBase64 } from \"@mysten/bcs\";\nimport { array, bigint, boolean, check, integer, is, lazy, literal, nullable, nullish, number, object, optional, parse, pipe, string, union, unknown } from \"valibot\";\n\n//#region src/transactions/data/v1.ts\nconst ObjectRef = object({\n\tdigest: string(),\n\tobjectId: string(),\n\tversion: union([\n\t\tpipe(number(), integer()),\n\t\tstring(),\n\t\tbigint()\n\t])\n});\nconst ObjectArg = safeEnum({\n\tImmOrOwned: ObjectRef,\n\tShared: object({\n\t\tobjectId: ObjectID,\n\t\tinitialSharedVersion: JsonU64,\n\t\tmutable: boolean()\n\t}),\n\tReceiving: ObjectRef\n});\nconst NormalizedCallArg = safeEnum({\n\tObject: ObjectArg,\n\tPure: array(pipe(number(), integer()))\n});\nconst TransactionInput = union([object({\n\tkind: literal(\"Input\"),\n\tindex: pipe(number(), integer()),\n\tvalue: unknown(),\n\ttype: optional(literal(\"object\"))\n}), object({\n\tkind: literal(\"Input\"),\n\tindex: pipe(number(), integer()),\n\tvalue: unknown(),\n\ttype: literal(\"pure\")\n})]);\nconst TransactionExpiration = union([object({ Epoch: pipe(number(), integer()) }), object({ None: nullable(literal(true)) })]);\nconst StringEncodedBigint = pipe(union([\n\tnumber(),\n\tstring(),\n\tbigint()\n]), check((val) => {\n\tif (![\n\t\t\"string\",\n\t\t\"number\",\n\t\t\"bigint\"\n\t].includes(typeof val)) return false;\n\ttry {\n\t\tBigInt(val);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}));\nconst TypeTag = union([\n\tobject({ bool: nullable(literal(true)) }),\n\tobject({ u8: nullable(literal(true)) }),\n\tobject({ u64: nullable(literal(true)) }),\n\tobject({ u128: nullable(literal(true)) }),\n\tobject({ address: nullable(literal(true)) }),\n\tobject({ signer: nullable(literal(true)) }),\n\tobject({ vector: lazy(() => TypeTag) }),\n\tobject({ struct: lazy(() => StructTag) }),\n\tobject({ u16: nullable(literal(true)) }),\n\tobject({ u32: nullable(literal(true)) }),\n\tobject({ u256: nullable(literal(true)) })\n]);\nconst StructTag = object({\n\taddress: string(),\n\tmodule: string(),\n\tname: string(),\n\ttypeParams: array(TypeTag)\n});\nconst GasConfig = object({\n\tbudget: optional(StringEncodedBigint),\n\tprice: optional(StringEncodedBigint),\n\tpayment: optional(array(ObjectRef)),\n\towner: optional(string())\n});\nconst TransactionArgumentTypes = [\n\tTransactionInput,\n\tobject({ kind: literal(\"GasCoin\") }),\n\tobject({\n\t\tkind: literal(\"Result\"),\n\t\tindex: pipe(number(), integer())\n\t}),\n\tobject({\n\t\tkind: literal(\"NestedResult\"),\n\t\tindex: pipe(number(), integer()),\n\t\tresultIndex: pipe(number(), integer())\n\t})\n];\nconst TransactionArgument = union([...TransactionArgumentTypes]);\nconst MoveCallTransaction = object({\n\tkind: literal(\"MoveCall\"),\n\ttarget: pipe(string(), check((target) => target.split(\"::\").length === 3)),\n\ttypeArguments: array(string()),\n\targuments: array(TransactionArgument)\n});\nconst TransferObjectsTransaction = object({\n\tkind: literal(\"TransferObjects\"),\n\tobjects: array(TransactionArgument),\n\taddress: TransactionArgument\n});\nconst SplitCoinsTransaction = object({\n\tkind: literal(\"SplitCoins\"),\n\tcoin: TransactionArgument,\n\tamounts: array(TransactionArgument)\n});\nconst MergeCoinsTransaction = object({\n\tkind: literal(\"MergeCoins\"),\n\tdestination: TransactionArgument,\n\tsources: array(TransactionArgument)\n});\nconst MakeMoveVecTransaction = object({\n\tkind: literal(\"MakeMoveVec\"),\n\ttype: union([object({ Some: TypeTag }), object({ None: nullable(literal(true)) })]),\n\tobjects: array(TransactionArgument)\n});\nconst TransactionType = union([...[\n\tMoveCallTransaction,\n\tTransferObjectsTransaction,\n\tSplitCoinsTransaction,\n\tMergeCoinsTransaction,\n\tobject({\n\t\tkind: literal(\"Publish\"),\n\t\tmodules: array(array(pipe(number(), integer()))),\n\t\tdependencies: array(string())\n\t}),\n\tobject({\n\t\tkind: literal(\"Upgrade\"),\n\t\tmodules: array(array(pipe(number(), integer()))),\n\t\tdependencies: array(string()),\n\t\tpackageId: string(),\n\t\tticket: TransactionArgument\n\t}),\n\tMakeMoveVecTransaction\n]]);\nconst SerializedTransactionDataV1 = object({\n\tversion: literal(1),\n\tsender: optional(string()),\n\texpiration: nullish(TransactionExpiration),\n\tgasConfig: GasConfig,\n\tinputs: array(TransactionInput),\n\ttransactions: array(TransactionType)\n});\nfunction serializeV1TransactionData(transactionData) {\n\tconst inputs = transactionData.inputs.map((input, index) => {\n\t\tif (input.Object) return {\n\t\t\tkind: \"Input\",\n\t\t\tindex,\n\t\t\tvalue: { Object: input.Object.ImmOrOwnedObject ? { ImmOrOwned: input.Object.ImmOrOwnedObject } : input.Object.Receiving ? { Receiving: {\n\t\t\t\tdigest: input.Object.Receiving.digest,\n\t\t\t\tversion: input.Object.Receiving.version,\n\t\t\t\tobjectId: input.Object.Receiving.objectId\n\t\t\t} } : { Shared: {\n\t\t\t\tmutable: input.Object.SharedObject.mutable,\n\t\t\t\tinitialSharedVersion: input.Object.SharedObject.initialSharedVersion,\n\t\t\t\tobjectId: input.Object.SharedObject.objectId\n\t\t\t} } },\n\t\t\ttype: \"object\"\n\t\t};\n\t\tif (input.Pure) return {\n\t\t\tkind: \"Input\",\n\t\t\tindex,\n\t\t\tvalue: { Pure: Array.from(fromBase64(input.Pure.bytes)) },\n\t\t\ttype: \"pure\"\n\t\t};\n\t\tif (input.UnresolvedPure) return {\n\t\t\tkind: \"Input\",\n\t\t\ttype: \"pure\",\n\t\t\tindex,\n\t\t\tvalue: input.UnresolvedPure.value\n\t\t};\n\t\tif (input.UnresolvedObject) return {\n\t\t\tkind: \"Input\",\n\t\t\ttype: \"object\",\n\t\t\tindex,\n\t\t\tvalue: input.UnresolvedObject.objectId\n\t\t};\n\t\tthrow new Error(\"Invalid input\");\n\t});\n\treturn {\n\t\tversion: 1,\n\t\tsender: transactionData.sender ?? void 0,\n\t\texpiration: transactionData.expiration?.$kind === \"Epoch\" ? { Epoch: Number(transactionData.expiration.Epoch) } : transactionData.expiration ? { None: true } : null,\n\t\tgasConfig: {\n\t\t\towner: transactionData.gasData.owner ?? void 0,\n\t\t\tbudget: transactionData.gasData.budget ?? void 0,\n\t\t\tprice: transactionData.gasData.price ?? void 0,\n\t\t\tpayment: transactionData.gasData.payment ?? void 0\n\t\t},\n\t\tinputs,\n\t\ttransactions: transactionData.commands.map((command) => {\n\t\t\tif (command.MakeMoveVec) return {\n\t\t\t\tkind: \"MakeMoveVec\",\n\t\t\t\ttype: command.MakeMoveVec.type === null ? { None: true } : { Some: TypeTagSerializer.parseFromStr(command.MakeMoveVec.type) },\n\t\t\t\tobjects: command.MakeMoveVec.elements.map((arg) => convertTransactionArgument(arg, inputs))\n\t\t\t};\n\t\t\tif (command.MergeCoins) return {\n\t\t\t\tkind: \"MergeCoins\",\n\t\t\t\tdestination: convertTransactionArgument(command.MergeCoins.destination, inputs),\n\t\t\t\tsources: command.MergeCoins.sources.map((arg) => convertTransactionArgument(arg, inputs))\n\t\t\t};\n\t\t\tif (command.MoveCall) return {\n\t\t\t\tkind: \"MoveCall\",\n\t\t\t\ttarget: `${command.MoveCall.package}::${command.MoveCall.module}::${command.MoveCall.function}`,\n\t\t\t\ttypeArguments: command.MoveCall.typeArguments,\n\t\t\t\targuments: command.MoveCall.arguments.map((arg) => convertTransactionArgument(arg, inputs))\n\t\t\t};\n\t\t\tif (command.Publish) return {\n\t\t\t\tkind: \"Publish\",\n\t\t\t\tmodules: command.Publish.modules.map((mod) => Array.from(fromBase64(mod))),\n\t\t\t\tdependencies: command.Publish.dependencies\n\t\t\t};\n\t\t\tif (command.SplitCoins) return {\n\t\t\t\tkind: \"SplitCoins\",\n\t\t\t\tcoin: convertTransactionArgument(command.SplitCoins.coin, inputs),\n\t\t\t\tamounts: command.SplitCoins.amounts.map((arg) => convertTransactionArgument(arg, inputs))\n\t\t\t};\n\t\t\tif (command.TransferObjects) return {\n\t\t\t\tkind: \"TransferObjects\",\n\t\t\t\tobjects: command.TransferObjects.objects.map((arg) => convertTransactionArgument(arg, inputs)),\n\t\t\t\taddress: convertTransactionArgument(command.TransferObjects.address, inputs)\n\t\t\t};\n\t\t\tif (command.Upgrade) return {\n\t\t\t\tkind: \"Upgrade\",\n\t\t\t\tmodules: command.Upgrade.modules.map((mod) => Array.from(fromBase64(mod))),\n\t\t\t\tdependencies: command.Upgrade.dependencies,\n\t\t\t\tpackageId: command.Upgrade.package,\n\t\t\t\tticket: convertTransactionArgument(command.Upgrade.ticket, inputs)\n\t\t\t};\n\t\t\tthrow new Error(`Unknown transaction ${Object.keys(command)}`);\n\t\t})\n\t};\n}\nfunction convertTransactionArgument(arg, inputs) {\n\tif (arg.$kind === \"GasCoin\") return { kind: \"GasCoin\" };\n\tif (arg.$kind === \"Result\") return {\n\t\tkind: \"Result\",\n\t\tindex: arg.Result\n\t};\n\tif (arg.$kind === \"NestedResult\") return {\n\t\tkind: \"NestedResult\",\n\t\tindex: arg.NestedResult[0],\n\t\tresultIndex: arg.NestedResult[1]\n\t};\n\tif (arg.$kind === \"Input\") return inputs[arg.Input];\n\tthrow new Error(`Invalid argument ${Object.keys(arg)}`);\n}\nfunction transactionDataFromV1(data) {\n\treturn parse(TransactionDataSchema, {\n\t\tversion: 2,\n\t\tsender: data.sender ?? null,\n\t\texpiration: data.expiration ? \"Epoch\" in data.expiration ? { Epoch: data.expiration.Epoch } : { None: true } : null,\n\t\tgasData: {\n\t\t\towner: data.gasConfig.owner ?? null,\n\t\t\tbudget: data.gasConfig.budget?.toString() ?? null,\n\t\t\tprice: data.gasConfig.price?.toString() ?? null,\n\t\t\tpayment: data.gasConfig.payment?.map((ref) => ({\n\t\t\t\tdigest: ref.digest,\n\t\t\t\tobjectId: ref.objectId,\n\t\t\t\tversion: ref.version.toString()\n\t\t\t})) ?? null\n\t\t},\n\t\tinputs: data.inputs.map((input) => {\n\t\t\tif (input.kind === \"Input\") {\n\t\t\t\tif (is(NormalizedCallArg, input.value)) {\n\t\t\t\t\tconst value = parse(NormalizedCallArg, input.value);\n\t\t\t\t\tif (value.Object) {\n\t\t\t\t\t\tif (value.Object.ImmOrOwned) return { Object: { ImmOrOwnedObject: {\n\t\t\t\t\t\t\tobjectId: value.Object.ImmOrOwned.objectId,\n\t\t\t\t\t\t\tversion: String(value.Object.ImmOrOwned.version),\n\t\t\t\t\t\t\tdigest: value.Object.ImmOrOwned.digest\n\t\t\t\t\t\t} } };\n\t\t\t\t\t\tif (value.Object.Shared) return { Object: { SharedObject: {\n\t\t\t\t\t\t\tmutable: value.Object.Shared.mutable ?? null,\n\t\t\t\t\t\t\tinitialSharedVersion: value.Object.Shared.initialSharedVersion,\n\t\t\t\t\t\t\tobjectId: value.Object.Shared.objectId\n\t\t\t\t\t\t} } };\n\t\t\t\t\t\tif (value.Object.Receiving) return { Object: { Receiving: {\n\t\t\t\t\t\t\tdigest: value.Object.Receiving.digest,\n\t\t\t\t\t\t\tversion: String(value.Object.Receiving.version),\n\t\t\t\t\t\t\tobjectId: value.Object.Receiving.objectId\n\t\t\t\t\t\t} } };\n\t\t\t\t\t\tthrow new Error(\"Invalid object input\");\n\t\t\t\t\t}\n\t\t\t\t\treturn { Pure: { bytes: toBase64(new Uint8Array(value.Pure)) } };\n\t\t\t\t}\n\t\t\t\tif (input.type === \"object\") return { UnresolvedObject: { objectId: input.value } };\n\t\t\t\treturn { UnresolvedPure: { value: input.value } };\n\t\t\t}\n\t\t\tthrow new Error(\"Invalid input\");\n\t\t}),\n\t\tcommands: data.transactions.map((transaction) => {\n\t\t\tswitch (transaction.kind) {\n\t\t\t\tcase \"MakeMoveVec\": return { MakeMoveVec: {\n\t\t\t\t\ttype: \"Some\" in transaction.type ? TypeTagSerializer.tagToString(transaction.type.Some) : null,\n\t\t\t\t\telements: transaction.objects.map((arg) => parseV1TransactionArgument(arg))\n\t\t\t\t} };\n\t\t\t\tcase \"MergeCoins\": return { MergeCoins: {\n\t\t\t\t\tdestination: parseV1TransactionArgument(transaction.destination),\n\t\t\t\t\tsources: transaction.sources.map((arg) => parseV1TransactionArgument(arg))\n\t\t\t\t} };\n\t\t\t\tcase \"MoveCall\": {\n\t\t\t\t\tconst [pkg, mod, fn] = transaction.target.split(\"::\");\n\t\t\t\t\treturn { MoveCall: {\n\t\t\t\t\t\tpackage: pkg,\n\t\t\t\t\t\tmodule: mod,\n\t\t\t\t\t\tfunction: fn,\n\t\t\t\t\t\ttypeArguments: transaction.typeArguments,\n\t\t\t\t\t\targuments: transaction.arguments.map((arg) => parseV1TransactionArgument(arg))\n\t\t\t\t\t} };\n\t\t\t\t}\n\t\t\t\tcase \"Publish\": return { Publish: {\n\t\t\t\t\tmodules: transaction.modules.map((mod) => toBase64(Uint8Array.from(mod))),\n\t\t\t\t\tdependencies: transaction.dependencies\n\t\t\t\t} };\n\t\t\t\tcase \"SplitCoins\": return { SplitCoins: {\n\t\t\t\t\tcoin: parseV1TransactionArgument(transaction.coin),\n\t\t\t\t\tamounts: transaction.amounts.map((arg) => parseV1TransactionArgument(arg))\n\t\t\t\t} };\n\t\t\t\tcase \"TransferObjects\": return { TransferObjects: {\n\t\t\t\t\tobjects: transaction.objects.map((arg) => parseV1TransactionArgument(arg)),\n\t\t\t\t\taddress: parseV1TransactionArgument(transaction.address)\n\t\t\t\t} };\n\t\t\t\tcase \"Upgrade\": return { Upgrade: {\n\t\t\t\t\tmodules: transaction.modules.map((mod) => toBase64(Uint8Array.from(mod))),\n\t\t\t\t\tdependencies: transaction.dependencies,\n\t\t\t\t\tpackage: transaction.packageId,\n\t\t\t\t\tticket: parseV1TransactionArgument(transaction.ticket)\n\t\t\t\t} };\n\t\t\t}\n\t\t\tthrow new Error(`Unknown transaction ${Object.keys(transaction)}`);\n\t\t})\n\t});\n}\nfunction parseV1TransactionArgument(arg) {\n\tswitch (arg.kind) {\n\t\tcase \"GasCoin\": return { GasCoin: true };\n\t\tcase \"Result\": return { Result: arg.index };\n\t\tcase \"NestedResult\": return { NestedResult: [arg.index, arg.resultIndex] };\n\t\tcase \"Input\": return { Input: arg.index };\n\t}\n}\n\n//#endregion\nexport { serializeV1TransactionData, transactionDataFromV1 };\n//# sourceMappingURL=v1.mjs.map","import { blake2b } from \"@noble/hashes/blake2.js\";\n\n//#region src/transactions/hash.ts\n/**\n* Generates a Blake2b hash of typed data as a base64 string.\n*\n* @param typeTag type tag (e.g. TransactionData, SenderSignedData)\n* @param data data to hash\n*/\nfunction hashTypedData(typeTag, data) {\n\tconst typeTagBytes = Array.from(`${typeTag}::`).map((e) => e.charCodeAt(0));\n\tconst dataWithTag = new Uint8Array(typeTagBytes.length + data.length);\n\tdataWithTag.set(typeTagBytes);\n\tdataWithTag.set(data, typeTagBytes.length);\n\treturn blake2b(dataWithTag, { dkLen: 32 });\n}\n\n//#endregion\nexport { hashTypedData };\n//# sourceMappingURL=hash.mjs.map","import { normalizeSuiAddress } from \"../utils/sui-types.mjs\";\nimport { ArgumentSchema } from \"./data/internal.mjs\";\nimport { is } from \"valibot\";\n\n//#region src/transactions/utils.ts\nfunction getIdFromCallArg(arg) {\n\tif (typeof arg === \"string\") return normalizeSuiAddress(arg);\n\tif (arg.Object) {\n\t\tif (arg.Object.ImmOrOwnedObject) return normalizeSuiAddress(arg.Object.ImmOrOwnedObject.objectId);\n\t\tif (arg.Object.Receiving) return normalizeSuiAddress(arg.Object.Receiving.objectId);\n\t\treturn normalizeSuiAddress(arg.Object.SharedObject.objectId);\n\t}\n\tif (arg.UnresolvedObject) return normalizeSuiAddress(arg.UnresolvedObject.objectId);\n}\nfunction isArgument(value) {\n\treturn is(ArgumentSchema, value);\n}\nfunction remapCommandArguments(command, inputMapping, commandMapping) {\n\tconst remapArg = (arg) => {\n\t\tswitch (arg.$kind) {\n\t\t\tcase \"Input\": {\n\t\t\t\tconst newInputIndex = inputMapping.get(arg.Input);\n\t\t\t\tif (newInputIndex === void 0) throw new Error(`Input ${arg.Input} not found in input mapping`);\n\t\t\t\treturn {\n\t\t\t\t\t...arg,\n\t\t\t\t\tInput: newInputIndex\n\t\t\t\t};\n\t\t\t}\n\t\t\tcase \"Result\": {\n\t\t\t\tconst newCommandIndex = commandMapping.get(arg.Result);\n\t\t\t\tif (newCommandIndex !== void 0) return {\n\t\t\t\t\t...arg,\n\t\t\t\t\tResult: newCommandIndex\n\t\t\t\t};\n\t\t\t\treturn arg;\n\t\t\t}\n\t\t\tcase \"NestedResult\": {\n\t\t\t\tconst newCommandIndex = commandMapping.get(arg.NestedResult[0]);\n\t\t\t\tif (newCommandIndex !== void 0) return {\n\t\t\t\t\t...arg,\n\t\t\t\t\tNestedResult: [newCommandIndex, arg.NestedResult[1]]\n\t\t\t\t};\n\t\t\t\treturn arg;\n\t\t\t}\n\t\t\tdefault: return arg;\n\t\t}\n\t};\n\tswitch (command.$kind) {\n\t\tcase \"MoveCall\":\n\t\t\tcommand.MoveCall.arguments = command.MoveCall.arguments.map(remapArg);\n\t\t\tbreak;\n\t\tcase \"TransferObjects\":\n\t\t\tcommand.TransferObjects.objects = command.TransferObjects.objects.map(remapArg);\n\t\t\tcommand.TransferObjects.address = remapArg(command.TransferObjects.address);\n\t\t\tbreak;\n\t\tcase \"SplitCoins\":\n\t\t\tcommand.SplitCoins.coin = remapArg(command.SplitCoins.coin);\n\t\t\tcommand.SplitCoins.amounts = command.SplitCoins.amounts.map(remapArg);\n\t\t\tbreak;\n\t\tcase \"MergeCoins\":\n\t\t\tcommand.MergeCoins.destination = remapArg(command.MergeCoins.destination);\n\t\t\tcommand.MergeCoins.sources = command.MergeCoins.sources.map(remapArg);\n\t\t\tbreak;\n\t\tcase \"MakeMoveVec\":\n\t\t\tcommand.MakeMoveVec.elements = command.MakeMoveVec.elements.map(remapArg);\n\t\t\tbreak;\n\t\tcase \"Upgrade\":\n\t\t\tcommand.Upgrade.ticket = remapArg(command.Upgrade.ticket);\n\t\t\tbreak;\n\t\tcase \"$Intent\": {\n\t\t\tconst inputs = command.$Intent.inputs;\n\t\t\tcommand.$Intent.inputs = {};\n\t\t\tfor (const [key, value] of Object.entries(inputs)) command.$Intent.inputs[key] = Array.isArray(value) ? value.map(remapArg) : remapArg(value);\n\t\t\tbreak;\n\t\t}\n\t\tcase \"Publish\": break;\n\t}\n}\n\n//#endregion\nexport { getIdFromCallArg, isArgument, remapCommandArguments };\n//# sourceMappingURL=utils.mjs.map","import { normalizeSuiAddress } from \"../utils/sui-types.mjs\";\nimport { bcs as suiBcs } from \"../bcs/index.mjs\";\nimport { ArgumentSchema, TransactionDataSchema } from \"./data/internal.mjs\";\nimport { transactionDataFromV1 } from \"./data/v1.mjs\";\nimport { hashTypedData } from \"./hash.mjs\";\nimport { getIdFromCallArg, remapCommandArguments } from \"./utils.mjs\";\nimport { toBase58 } from \"@mysten/bcs\";\nimport { parse } from \"valibot\";\n\n//#region src/transactions/TransactionData.ts\nfunction prepareSuiAddress(address) {\n\treturn normalizeSuiAddress(address).replace(\"0x\", \"\");\n}\nvar TransactionDataBuilder = class TransactionDataBuilder {\n\tstatic fromKindBytes(bytes) {\n\t\tconst programmableTx = suiBcs.TransactionKind.parse(bytes).ProgrammableTransaction;\n\t\tif (!programmableTx) throw new Error(\"Unable to deserialize from bytes.\");\n\t\treturn TransactionDataBuilder.restore({\n\t\t\tversion: 2,\n\t\t\tsender: null,\n\t\t\texpiration: null,\n\t\t\tgasData: {\n\t\t\t\tbudget: null,\n\t\t\t\towner: null,\n\t\t\t\tpayment: null,\n\t\t\t\tprice: null\n\t\t\t},\n\t\t\tinputs: programmableTx.inputs,\n\t\t\tcommands: programmableTx.commands\n\t\t});\n\t}\n\tstatic fromBytes(bytes) {\n\t\tconst data = suiBcs.TransactionData.parse(bytes)?.V1;\n\t\tconst programmableTx = data.kind.ProgrammableTransaction;\n\t\tif (!data || !programmableTx) throw new Error(\"Unable to deserialize from bytes.\");\n\t\treturn TransactionDataBuilder.restore({\n\t\t\tversion: 2,\n\t\t\tsender: data.sender,\n\t\t\texpiration: data.expiration,\n\t\t\tgasData: data.gasData,\n\t\t\tinputs: programmableTx.inputs,\n\t\t\tcommands: programmableTx.commands\n\t\t});\n\t}\n\tstatic restore(data) {\n\t\tif (data.version === 2) return new TransactionDataBuilder(parse(TransactionDataSchema, data));\n\t\telse return new TransactionDataBuilder(parse(TransactionDataSchema, transactionDataFromV1(data)));\n\t}\n\t/**\n\t* Generate transaction digest.\n\t*\n\t* @param bytes BCS serialized transaction data\n\t* @returns transaction digest.\n\t*/\n\tstatic getDigestFromBytes(bytes) {\n\t\treturn toBase58(hashTypedData(\"TransactionData\", bytes));\n\t}\n\tconstructor(clone) {\n\t\tthis.version = 2;\n\t\tthis.sender = clone?.sender ?? null;\n\t\tthis.expiration = clone?.expiration ?? null;\n\t\tthis.inputs = clone?.inputs ?? [];\n\t\tthis.commands = clone?.commands ?? [];\n\t\tthis.gasData = clone?.gasData ?? {\n\t\t\tbudget: null,\n\t\t\tprice: null,\n\t\t\towner: null,\n\t\t\tpayment: null\n\t\t};\n\t}\n\tbuild({ maxSizeBytes = Infinity, overrides, onlyTransactionKind } = {}) {\n\t\tconst inputs = this.inputs;\n\t\tconst commands = this.commands;\n\t\tconst kind = { ProgrammableTransaction: {\n\t\t\tinputs,\n\t\t\tcommands\n\t\t} };\n\t\tif (onlyTransactionKind) return suiBcs.TransactionKind.serialize(kind, { maxSize: maxSizeBytes }).toBytes();\n\t\tconst expiration = overrides?.expiration ?? this.expiration;\n\t\tconst sender = overrides?.sender ?? this.sender;\n\t\tconst gasData = {\n\t\t\t...this.gasData,\n\t\t\t...overrides?.gasData\n\t\t};\n\t\tif (!sender) throw new Error(\"Missing transaction sender\");\n\t\tif (!gasData.budget) throw new Error(\"Missing gas budget\");\n\t\tif (!gasData.payment) throw new Error(\"Missing gas payment\");\n\t\tif (!gasData.price) throw new Error(\"Missing gas price\");\n\t\tconst transactionData = {\n\t\t\tsender: prepareSuiAddress(sender),\n\t\t\texpiration: expiration ? expiration : { None: true },\n\t\t\tgasData: {\n\t\t\t\tpayment: gasData.payment,\n\t\t\t\towner: prepareSuiAddress(this.gasData.owner ?? sender),\n\t\t\t\tprice: BigInt(gasData.price),\n\t\t\t\tbudget: BigInt(gasData.budget)\n\t\t\t},\n\t\t\tkind: { ProgrammableTransaction: {\n\t\t\t\tinputs,\n\t\t\t\tcommands\n\t\t\t} }\n\t\t};\n\t\treturn suiBcs.TransactionData.serialize({ V1: transactionData }, { maxSize: maxSizeBytes }).toBytes();\n\t}\n\taddInput(type, arg) {\n\t\tconst index = this.inputs.length;\n\t\tthis.inputs.push(arg);\n\t\treturn {\n\t\t\tInput: index,\n\t\t\ttype,\n\t\t\t$kind: \"Input\"\n\t\t};\n\t}\n\tgetInputUses(index, fn) {\n\t\tthis.mapArguments((arg, command) => {\n\t\t\tif (arg.$kind === \"Input\" && arg.Input === index) fn(arg, command);\n\t\t\treturn arg;\n\t\t});\n\t}\n\tmapCommandArguments(index, fn) {\n\t\tconst command = this.commands[index];\n\t\tswitch (command.$kind) {\n\t\t\tcase \"MoveCall\":\n\t\t\t\tcommand.MoveCall.arguments = command.MoveCall.arguments.map((arg) => fn(arg, command, index));\n\t\t\t\tbreak;\n\t\t\tcase \"TransferObjects\":\n\t\t\t\tcommand.TransferObjects.objects = command.TransferObjects.objects.map((arg) => fn(arg, command, index));\n\t\t\t\tcommand.TransferObjects.address = fn(command.TransferObjects.address, command, index);\n\t\t\t\tbreak;\n\t\t\tcase \"SplitCoins\":\n\t\t\t\tcommand.SplitCoins.coin = fn(command.SplitCoins.coin, command, index);\n\t\t\t\tcommand.SplitCoins.amounts = command.SplitCoins.amounts.map((arg) => fn(arg, command, index));\n\t\t\t\tbreak;\n\t\t\tcase \"MergeCoins\":\n\t\t\t\tcommand.MergeCoins.destination = fn(command.MergeCoins.destination, command, index);\n\t\t\t\tcommand.MergeCoins.sources = command.MergeCoins.sources.map((arg) => fn(arg, command, index));\n\t\t\t\tbreak;\n\t\t\tcase \"MakeMoveVec\":\n\t\t\t\tcommand.MakeMoveVec.elements = command.MakeMoveVec.elements.map((arg) => fn(arg, command, index));\n\t\t\t\tbreak;\n\t\t\tcase \"Upgrade\":\n\t\t\t\tcommand.Upgrade.ticket = fn(command.Upgrade.ticket, command, index);\n\t\t\t\tbreak;\n\t\t\tcase \"$Intent\":\n\t\t\t\tconst inputs = command.$Intent.inputs;\n\t\t\t\tcommand.$Intent.inputs = {};\n\t\t\t\tfor (const [key, value] of Object.entries(inputs)) command.$Intent.inputs[key] = Array.isArray(value) ? value.map((arg) => fn(arg, command, index)) : fn(value, command, index);\n\t\t\t\tbreak;\n\t\t\tcase \"Publish\": break;\n\t\t\tdefault: throw new Error(`Unexpected transaction kind: ${command.$kind}`);\n\t\t}\n\t}\n\tmapArguments(fn) {\n\t\tfor (const commandIndex of this.commands.keys()) this.mapCommandArguments(commandIndex, fn);\n\t}\n\treplaceCommand(index, replacement, resultIndex = index) {\n\t\tif (!Array.isArray(replacement)) {\n\t\t\tthis.commands[index] = replacement;\n\t\t\treturn;\n\t\t}\n\t\tconst sizeDiff = replacement.length - 1;\n\t\tthis.commands.splice(index, 1, ...structuredClone(replacement));\n\t\tthis.mapArguments((arg, _command, commandIndex) => {\n\t\t\tif (commandIndex < index + replacement.length) return arg;\n\t\t\tif (typeof resultIndex !== \"number\") {\n\t\t\t\tif (arg.$kind === \"Result\" && arg.Result === index || arg.$kind === \"NestedResult\" && arg.NestedResult[0] === index) if (!(\"NestedResult\" in arg) || arg.NestedResult[1] === 0) return parse(ArgumentSchema, structuredClone(resultIndex));\n\t\t\t\telse throw new Error(`Cannot replace command ${index} with a specific result type: NestedResult[${index}, ${arg.NestedResult[1]}] references a nested element that cannot be mapped to the replacement result`);\n\t\t\t}\n\t\t\tswitch (arg.$kind) {\n\t\t\t\tcase \"Result\":\n\t\t\t\t\tif (arg.Result === index && typeof resultIndex === \"number\") arg.Result = resultIndex;\n\t\t\t\t\tif (arg.Result > index) arg.Result += sizeDiff;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"NestedResult\":\n\t\t\t\t\tif (arg.NestedResult[0] === index && typeof resultIndex === \"number\") return {\n\t\t\t\t\t\t$kind: \"NestedResult\",\n\t\t\t\t\t\tNestedResult: [resultIndex, arg.NestedResult[1]]\n\t\t\t\t\t};\n\t\t\t\t\tif (arg.NestedResult[0] > index) arg.NestedResult[0] += sizeDiff;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn arg;\n\t\t});\n\t}\n\treplaceCommandWithTransaction(index, otherTransaction, result) {\n\t\tif (result.$kind !== \"Result\" && result.$kind !== \"NestedResult\") throw new Error(\"Result must be of kind Result or NestedResult\");\n\t\tthis.insertTransaction(index, otherTransaction);\n\t\tthis.replaceCommand(index + otherTransaction.commands.length, [], \"Result\" in result ? { NestedResult: [result.Result + index, 0] } : { NestedResult: [result.NestedResult[0] + index, result.NestedResult[1]] });\n\t}\n\tinsertTransaction(atCommandIndex, otherTransaction) {\n\t\tconst inputMapping = /* @__PURE__ */ new Map();\n\t\tconst commandMapping = /* @__PURE__ */ new Map();\n\t\tfor (let i = 0; i < otherTransaction.inputs.length; i++) {\n\t\t\tconst otherInput = otherTransaction.inputs[i];\n\t\t\tconst id = getIdFromCallArg(otherInput);\n\t\t\tlet existingIndex = -1;\n\t\t\tif (id !== void 0) {\n\t\t\t\texistingIndex = this.inputs.findIndex((input) => getIdFromCallArg(input) === id);\n\t\t\t\tif (existingIndex !== -1 && this.inputs[existingIndex].Object?.SharedObject && otherInput.Object?.SharedObject) this.inputs[existingIndex].Object.SharedObject.mutable = this.inputs[existingIndex].Object.SharedObject.mutable || otherInput.Object.SharedObject.mutable;\n\t\t\t}\n\t\t\tif (existingIndex !== -1) inputMapping.set(i, existingIndex);\n\t\t\telse {\n\t\t\t\tconst newIndex = this.inputs.length;\n\t\t\t\tthis.inputs.push(otherInput);\n\t\t\t\tinputMapping.set(i, newIndex);\n\t\t\t}\n\t\t}\n\t\tfor (let i = 0; i < otherTransaction.commands.length; i++) commandMapping.set(i, atCommandIndex + i);\n\t\tconst remappedCommands = [];\n\t\tfor (let i = 0; i < otherTransaction.commands.length; i++) {\n\t\t\tconst command = structuredClone(otherTransaction.commands[i]);\n\t\t\tremapCommandArguments(command, inputMapping, commandMapping);\n\t\t\tremappedCommands.push(command);\n\t\t}\n\t\tthis.commands.splice(atCommandIndex, 0, ...remappedCommands);\n\t\tconst sizeDiff = remappedCommands.length;\n\t\tif (sizeDiff > 0) this.mapArguments((arg, _command, commandIndex) => {\n\t\t\tif (commandIndex >= atCommandIndex && commandIndex < atCommandIndex + remappedCommands.length) return arg;\n\t\t\tswitch (arg.$kind) {\n\t\t\t\tcase \"Result\":\n\t\t\t\t\tif (arg.Result >= atCommandIndex) arg.Result += sizeDiff;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"NestedResult\":\n\t\t\t\t\tif (arg.NestedResult[0] >= atCommandIndex) arg.NestedResult[0] += sizeDiff;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn arg;\n\t\t});\n\t}\n\tgetDigest() {\n\t\tconst bytes = this.build({ onlyTransactionKind: false });\n\t\treturn TransactionDataBuilder.getDigestFromBytes(bytes);\n\t}\n\tsnapshot() {\n\t\treturn parse(TransactionDataSchema, this);\n\t}\n\tshallowClone() {\n\t\treturn new TransactionDataBuilder({\n\t\t\tversion: this.version,\n\t\t\tsender: this.sender,\n\t\t\texpiration: this.expiration,\n\t\t\tgasData: { ...this.gasData },\n\t\t\tinputs: [...this.inputs],\n\t\t\tcommands: [...this.commands]\n\t\t});\n\t}\n\tapplyResolvedData(resolved) {\n\t\tif (!this.sender) this.sender = resolved.sender ?? null;\n\t\tif (!this.expiration) this.expiration = resolved.expiration ?? null;\n\t\tif (!this.gasData.budget) this.gasData.budget = resolved.gasData.budget;\n\t\tif (!this.gasData.owner) this.gasData.owner = resolved.gasData.owner ?? null;\n\t\tif (!this.gasData.payment) this.gasData.payment = resolved.gasData.payment;\n\t\tif (!this.gasData.price) this.gasData.price = resolved.gasData.price;\n\t\tfor (let i = 0; i < this.inputs.length; i++) {\n\t\t\tconst input = this.inputs[i];\n\t\t\tconst resolvedInput = resolved.inputs[i];\n\t\t\tswitch (input.$kind) {\n\t\t\t\tcase \"UnresolvedPure\":\n\t\t\t\t\tif (resolvedInput.$kind !== \"Pure\") throw new Error(`Expected input at index ${i} to resolve to a Pure argument, but got ${JSON.stringify(resolvedInput)}`);\n\t\t\t\t\tthis.inputs[i] = resolvedInput;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"UnresolvedObject\":\n\t\t\t\t\tif (resolvedInput.$kind !== \"Object\") throw new Error(`Expected input at index ${i} to resolve to an Object argument, but got ${JSON.stringify(resolvedInput)}`);\n\t\t\t\t\tif (resolvedInput.Object.$kind === \"ImmOrOwnedObject\" || resolvedInput.Object.$kind === \"Receiving\") {\n\t\t\t\t\t\tconst original = input.UnresolvedObject;\n\t\t\t\t\t\tconst resolved$1 = resolvedInput.Object.ImmOrOwnedObject ?? resolvedInput.Object.Receiving;\n\t\t\t\t\t\tif (normalizeSuiAddress(original.objectId) !== normalizeSuiAddress(resolved$1.objectId) || original.version != null && original.version !== resolved$1.version || original.digest != null && original.digest !== resolved$1.digest || original.mutable != null || original.initialSharedVersion != null) throw new Error(`Input at index ${i} did not match unresolved object. ${JSON.stringify(original)} is not compatible with ${JSON.stringify(resolved$1)}`);\n\t\t\t\t\t} else if (resolvedInput.Object.$kind === \"SharedObject\") {\n\t\t\t\t\t\tconst original = input.UnresolvedObject;\n\t\t\t\t\t\tconst resolved$1 = resolvedInput.Object.SharedObject;\n\t\t\t\t\t\tif (normalizeSuiAddress(original.objectId) !== normalizeSuiAddress(resolved$1.objectId) || original.initialSharedVersion != null && original.initialSharedVersion !== resolved$1.initialSharedVersion || original.mutable != null && original.mutable !== resolved$1.mutable || original.version != null || original.digest != null) throw new Error(`Input at index ${i} did not match unresolved object. ${JSON.stringify(original)} is not compatible with ${JSON.stringify(resolved$1)}`);\n\t\t\t\t\t} else throw new Error(`Input at index ${i} resolved to an unexpected Object kind: ${JSON.stringify(resolvedInput.Object)}`);\n\t\t\t\t\tthis.inputs[i] = resolvedInput;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n};\n\n//#endregion\nexport { TransactionDataBuilder };\n//# sourceMappingURL=TransactionData.mjs.map","import { ExecutionStatus } from \"../bcs/effects.mjs\";\nimport { bcs as suiBcs } from \"../bcs/index.mjs\";\nimport { TransactionDataBuilder } from \"../transactions/TransactionData.mjs\";\nimport { toBase64 } from \"@mysten/utils\";\n\n//#region src/client/utils.ts\nconst ordinalRules = new Intl.PluralRules(\"en-US\", { type: \"ordinal\" });\nconst ordinalSuffixes = new Map([\n\t[\"one\", \"st\"],\n\t[\"two\", \"nd\"],\n\t[\"few\", \"rd\"],\n\t[\"other\", \"th\"]\n]);\nfunction formatOrdinal(n) {\n\treturn `${n}${ordinalSuffixes.get(ordinalRules.select(n))}`;\n}\nfunction formatMoveAbortMessage(options) {\n\tconst { command, location, abortCode, cleverError } = options;\n\tconst parts = [];\n\tif (command != null) parts.push(`MoveAbort in ${formatOrdinal(command + 1)} command`);\n\telse parts.push(\"MoveAbort\");\n\tif (cleverError?.constantName) {\n\t\tconst errorStr = cleverError.value ? `'${cleverError.constantName}': ${cleverError.value}` : `'${cleverError.constantName}'`;\n\t\tparts.push(errorStr);\n\t} else parts.push(`abort code: ${abortCode}`);\n\tif (location?.package && location?.module) {\n\t\tconst locationStr = [`in '${[\n\t\t\tlocation.package.startsWith(\"0x\") ? location.package : `0x${location.package}`,\n\t\t\tlocation.module,\n\t\t\tlocation.functionName\n\t\t].filter(Boolean).join(\"::\")}'`];\n\t\tif (cleverError?.lineNumber != null) locationStr.push(`(line ${cleverError.lineNumber})`);\n\t\telse if (location.instruction != null) locationStr.push(`(instruction ${location.instruction})`);\n\t\tparts.push(locationStr.join(\" \"));\n\t}\n\treturn parts.join(\", \");\n}\nconst MinimalEffectsWithError = suiBcs.struct(\"MinimalEffectsWithError\", { status: ExecutionStatus });\nconst MinimalTransactionEffectsWithError = suiBcs.enum(\"MinimalTransactionEffectsWithError\", {\n\tV1: MinimalEffectsWithError,\n\tV2: MinimalEffectsWithError\n});\nconst MinimalExecutionStatusNoError = suiBcs.enum(\"MinimalExecutionStatusNoError\", {\n\tSuccess: null,\n\tFailed: null\n});\nconst MinimalEffectsNoError = suiBcs.struct(\"MinimalEffectsNoError\", { status: MinimalExecutionStatusNoError });\nconst MinimalTransactionEffectsNoError = suiBcs.enum(\"MinimalTransactionEffectsNoError\", {\n\tV1: MinimalEffectsNoError,\n\tV2: MinimalEffectsNoError\n});\nfunction formatErrorMessage($kind, data) {\n\tif (data !== null && data !== void 0 && typeof data !== \"boolean\") return `${$kind}(${JSON.stringify(data, (_key, value) => typeof value === \"bigint\" ? value.toString() : value)})`;\n\treturn $kind;\n}\nfunction parseBcsExecutionError(failure) {\n\tconst error = failure.error;\n\tconst command = failure.command != null ? Number(failure.command) : void 0;\n\tswitch (error.$kind) {\n\t\tcase \"MoveAbort\": {\n\t\t\tconst [location, abortCode] = error.MoveAbort;\n\t\t\tconst moveLocation = {\n\t\t\t\tpackage: location.module.address,\n\t\t\t\tmodule: location.module.name,\n\t\t\t\tfunction: location.function,\n\t\t\t\tfunctionName: location.functionName ?? void 0,\n\t\t\t\tinstruction: location.instruction\n\t\t\t};\n\t\t\treturn {\n\t\t\t\t$kind: \"MoveAbort\",\n\t\t\t\tmessage: formatMoveAbortMessage({\n\t\t\t\t\tcommand,\n\t\t\t\t\tlocation: moveLocation,\n\t\t\t\t\tabortCode: String(abortCode)\n\t\t\t\t}),\n\t\t\t\tcommand,\n\t\t\t\tMoveAbort: {\n\t\t\t\t\tabortCode: String(abortCode),\n\t\t\t\t\tlocation: moveLocation\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\tcase \"MoveObjectTooBig\": return {\n\t\t\t$kind: \"SizeError\",\n\t\t\tmessage: formatErrorMessage(\"MoveObjectTooBig\", error.MoveObjectTooBig),\n\t\t\tcommand,\n\t\t\tSizeError: {\n\t\t\t\tname: \"ObjectTooBig\",\n\t\t\t\tsize: Number(error.MoveObjectTooBig.objectSize),\n\t\t\t\tmaxSize: Number(error.MoveObjectTooBig.maxObjectSize)\n\t\t\t}\n\t\t};\n\t\tcase \"MovePackageTooBig\": return {\n\t\t\t$kind: \"SizeError\",\n\t\t\tmessage: formatErrorMessage(\"MovePackageTooBig\", error.MovePackageTooBig),\n\t\t\tcommand,\n\t\t\tSizeError: {\n\t\t\t\tname: \"PackageTooBig\",\n\t\t\t\tsize: Number(error.MovePackageTooBig.objectSize),\n\t\t\t\tmaxSize: Number(error.MovePackageTooBig.maxObjectSize)\n\t\t\t}\n\t\t};\n\t\tcase \"EffectsTooLarge\": return {\n\t\t\t$kind: \"SizeError\",\n\t\t\tmessage: formatErrorMessage(\"EffectsTooLarge\", error.EffectsTooLarge),\n\t\t\tcommand,\n\t\t\tSizeError: {\n\t\t\t\tname: \"EffectsTooLarge\",\n\t\t\t\tsize: Number(error.EffectsTooLarge.currentSize),\n\t\t\t\tmaxSize: Number(error.EffectsTooLarge.maxSize)\n\t\t\t}\n\t\t};\n\t\tcase \"WrittenObjectsTooLarge\": return {\n\t\t\t$kind: \"SizeError\",\n\t\t\tmessage: formatErrorMessage(\"WrittenObjectsTooLarge\", error.WrittenObjectsTooLarge),\n\t\t\tcommand,\n\t\t\tSizeError: {\n\t\t\t\tname: \"WrittenObjectsTooLarge\",\n\t\t\t\tsize: Number(error.WrittenObjectsTooLarge.currentSize),\n\t\t\t\tmaxSize: Number(error.WrittenObjectsTooLarge.maxSize)\n\t\t\t}\n\t\t};\n\t\tcase \"MoveVectorElemTooBig\": return {\n\t\t\t$kind: \"SizeError\",\n\t\t\tmessage: formatErrorMessage(\"MoveVectorElemTooBig\", error.MoveVectorElemTooBig),\n\t\t\tcommand,\n\t\t\tSizeError: {\n\t\t\t\tname: \"MoveVectorElemTooBig\",\n\t\t\t\tsize: Number(error.MoveVectorElemTooBig.valueSize),\n\t\t\t\tmaxSize: Number(error.MoveVectorElemTooBig.maxScaledSize)\n\t\t\t}\n\t\t};\n\t\tcase \"MoveRawValueTooBig\": return {\n\t\t\t$kind: \"SizeError\",\n\t\t\tmessage: formatErrorMessage(\"MoveRawValueTooBig\", error.MoveRawValueTooBig),\n\t\t\tcommand,\n\t\t\tSizeError: {\n\t\t\t\tname: \"MoveRawValueTooBig\",\n\t\t\t\tsize: Number(error.MoveRawValueTooBig.valueSize),\n\t\t\t\tmaxSize: Number(error.MoveRawValueTooBig.maxScaledSize)\n\t\t\t}\n\t\t};\n\t\tcase \"CommandArgumentError\": return {\n\t\t\t$kind: \"CommandArgumentError\",\n\t\t\tmessage: formatErrorMessage(\"CommandArgumentError\", error.CommandArgumentError),\n\t\t\tcommand,\n\t\t\tCommandArgumentError: {\n\t\t\t\targument: error.CommandArgumentError.argIdx,\n\t\t\t\tname: error.CommandArgumentError.kind.$kind\n\t\t\t}\n\t\t};\n\t\tcase \"TypeArgumentError\": return {\n\t\t\t$kind: \"TypeArgumentError\",\n\t\t\tmessage: formatErrorMessage(\"TypeArgumentError\", error.TypeArgumentError),\n\t\t\tcommand,\n\t\t\tTypeArgumentError: {\n\t\t\t\ttypeArgument: error.TypeArgumentError.argumentIdx,\n\t\t\t\tname: error.TypeArgumentError.kind.$kind\n\t\t\t}\n\t\t};\n\t\tcase \"PackageUpgradeError\": {\n\t\t\tconst upgradeError = error.PackageUpgradeError.upgradeError;\n\t\t\treturn {\n\t\t\t\t$kind: \"PackageUpgradeError\",\n\t\t\t\tmessage: formatErrorMessage(\"PackageUpgradeError\", error.PackageUpgradeError),\n\t\t\t\tcommand,\n\t\t\t\tPackageUpgradeError: {\n\t\t\t\t\tname: upgradeError.$kind,\n\t\t\t\t\tpackageId: upgradeError.$kind === \"UnableToFetchPackage\" ? upgradeError.UnableToFetchPackage.packageId : void 0,\n\t\t\t\t\tdigest: upgradeError.$kind === \"DigestDoesNotMatch\" ? toBase64(upgradeError.DigestDoesNotMatch.digest) : void 0\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\tcase \"ExecutionCancelledDueToSharedObjectCongestion\": return {\n\t\t\t$kind: \"CongestedObjects\",\n\t\t\tmessage: formatErrorMessage(\"ExecutionCancelledDueToSharedObjectCongestion\", error.ExecutionCancelledDueToSharedObjectCongestion),\n\t\t\tcommand,\n\t\t\tCongestedObjects: {\n\t\t\t\tname: \"ExecutionCanceledDueToConsensusObjectCongestion\",\n\t\t\t\tobjects: error.ExecutionCancelledDueToSharedObjectCongestion.congested_objects\n\t\t\t}\n\t\t};\n\t\tcase \"AddressDeniedForCoin\": return {\n\t\t\t$kind: \"CoinDenyListError\",\n\t\t\tmessage: formatErrorMessage(\"AddressDeniedForCoin\", error.AddressDeniedForCoin),\n\t\t\tcommand,\n\t\t\tCoinDenyListError: {\n\t\t\t\tname: \"AddressDeniedForCoin\",\n\t\t\t\taddress: error.AddressDeniedForCoin.address,\n\t\t\t\tcoinType: error.AddressDeniedForCoin.coinType\n\t\t\t}\n\t\t};\n\t\tcase \"CoinTypeGlobalPause\": return {\n\t\t\t$kind: \"CoinDenyListError\",\n\t\t\tmessage: formatErrorMessage(\"CoinTypeGlobalPause\", error.CoinTypeGlobalPause),\n\t\t\tcommand,\n\t\t\tCoinDenyListError: {\n\t\t\t\tname: \"CoinTypeGlobalPause\",\n\t\t\t\tcoinType: error.CoinTypeGlobalPause.coinType\n\t\t\t}\n\t\t};\n\t\tcase \"CircularObjectOwnership\": return {\n\t\t\t$kind: \"ObjectIdError\",\n\t\t\tmessage: formatErrorMessage(\"CircularObjectOwnership\", error.CircularObjectOwnership),\n\t\t\tcommand,\n\t\t\tObjectIdError: {\n\t\t\t\tname: \"CircularObjectOwnership\",\n\t\t\t\tobjectId: error.CircularObjectOwnership.object\n\t\t\t}\n\t\t};\n\t\tcase \"InvalidGasObject\": return {\n\t\t\t$kind: \"ObjectIdError\",\n\t\t\tmessage: \"InvalidGasObject\",\n\t\t\tcommand,\n\t\t\tObjectIdError: {\n\t\t\t\tname: \"InvalidGasObject\",\n\t\t\t\tobjectId: \"\"\n\t\t\t}\n\t\t};\n\t\tcase \"InputObjectDeleted\": return {\n\t\t\t$kind: \"ObjectIdError\",\n\t\t\tmessage: \"InputObjectDeleted\",\n\t\t\tcommand,\n\t\t\tObjectIdError: {\n\t\t\t\tname: \"InputObjectDeleted\",\n\t\t\t\tobjectId: \"\"\n\t\t\t}\n\t\t};\n\t\tcase \"InvalidTransferObject\": return {\n\t\t\t$kind: \"ObjectIdError\",\n\t\t\tmessage: \"InvalidTransferObject\",\n\t\t\tcommand,\n\t\t\tObjectIdError: {\n\t\t\t\tname: \"InvalidTransferObject\",\n\t\t\t\tobjectId: \"\"\n\t\t\t}\n\t\t};\n\t\tcase \"NonExclusiveWriteInputObjectModified\": return {\n\t\t\t$kind: \"Unknown\",\n\t\t\tmessage: formatErrorMessage(\"NonExclusiveWriteInputObjectModified\", error.NonExclusiveWriteInputObjectModified),\n\t\t\tcommand,\n\t\t\tUnknown: null\n\t\t};\n\t\tcase \"InsufficientGas\":\n\t\tcase \"InvariantViolation\":\n\t\tcase \"FeatureNotYetSupported\":\n\t\tcase \"InsufficientCoinBalance\":\n\t\tcase \"CoinBalanceOverflow\":\n\t\tcase \"PublishErrorNonZeroAddress\":\n\t\tcase \"SuiMoveVerificationError\":\n\t\tcase \"MovePrimitiveRuntimeError\":\n\t\tcase \"VMVerificationOrDeserializationError\":\n\t\tcase \"VMInvariantViolation\":\n\t\tcase \"FunctionNotFound\":\n\t\tcase \"ArityMismatch\":\n\t\tcase \"TypeArityMismatch\":\n\t\tcase \"NonEntryFunctionInvoked\":\n\t\tcase \"UnusedValueWithoutDrop\":\n\t\tcase \"InvalidPublicFunctionReturnType\":\n\t\tcase \"PublishUpgradeMissingDependency\":\n\t\tcase \"PublishUpgradeDependencyDowngrade\":\n\t\tcase \"CertificateDenied\":\n\t\tcase \"SuiMoveVerificationTimedout\":\n\t\tcase \"SharedObjectOperationNotAllowed\":\n\t\tcase \"ExecutionCancelledDueToRandomnessUnavailable\":\n\t\tcase \"InvalidLinkage\":\n\t\tcase \"InsufficientBalanceForWithdraw\": return {\n\t\t\t$kind: \"Unknown\",\n\t\t\tmessage: error.$kind,\n\t\t\tcommand,\n\t\t\tUnknown: null\n\t\t};\n\t\tdefault: return {\n\t\t\t$kind: \"Unknown\",\n\t\t\tmessage: \"Unknown error\",\n\t\t\tcommand,\n\t\t\tUnknown: null\n\t\t};\n\t}\n}\nfunction parseTransactionBcs(bytes, onlyTransactionKind = false) {\n\treturn (onlyTransactionKind ? TransactionDataBuilder.fromKindBytes(bytes) : TransactionDataBuilder.fromBytes(bytes)).snapshot();\n}\n/**\n* Extracts just the status from transaction effects BCS without fully parsing.\n* This is optimized for cases where we only need the status (success/failure)\n* without parsing the entire effects structure.\n*\n* Uses a minimal BCS struct that only parses fields up to and including status,\n* since BCS fields are read sequentially. First tries to parse with full error details,\n* then falls back to a version without error parsing if the error enum has unknown variants.\n*\n* For errors with data, serializes the error as JSON to preserve all information.\n*/\nfunction extractStatusFromEffectsBcs(effectsBytes) {\n\tlet parsed = null;\n\ttry {\n\t\tparsed = MinimalTransactionEffectsWithError.parse(effectsBytes);\n\t} catch {\n\t\tconst parsedNoError = MinimalTransactionEffectsNoError.parse(effectsBytes);\n\t\tif ((parsedNoError.V1 ?? parsedNoError.V2).status.$kind === \"Success\") return {\n\t\t\tsuccess: true,\n\t\t\terror: null\n\t\t};\n\t\treturn {\n\t\t\tsuccess: false,\n\t\t\terror: {\n\t\t\t\t$kind: \"Unknown\",\n\t\t\t\tmessage: \"ExecutionFailed\",\n\t\t\t\tUnknown: null\n\t\t\t}\n\t\t};\n\t}\n\tconst status = (parsed.V1 ?? parsed.V2).status;\n\tif (status.$kind === \"Success\") return {\n\t\tsuccess: true,\n\t\terror: null\n\t};\n\treturn {\n\t\tsuccess: false,\n\t\terror: parseBcsExecutionError(status.Failure)\n\t};\n}\nfunction parseTransactionEffectsBcs(effects) {\n\tconst parsed = suiBcs.TransactionEffects.parse(effects);\n\tswitch (parsed.$kind) {\n\t\tcase \"V1\": return parseTransactionEffectsV1({\n\t\t\tbytes: effects,\n\t\t\teffects: parsed.V1\n\t\t});\n\t\tcase \"V2\": return parseTransactionEffectsV2({\n\t\t\tbytes: effects,\n\t\t\teffects: parsed.V2\n\t\t});\n\t\tdefault: throw new Error(`Unknown transaction effects version: ${parsed.$kind}`);\n\t}\n}\nfunction parseTransactionEffectsV1(_) {\n\tthrow new Error(\"V1 effects are not supported yet\");\n}\nfunction parseTransactionEffectsV2({ bytes, effects }) {\n\tconst changedObjects = effects.changedObjects.map(([id, change]) => {\n\t\treturn {\n\t\t\tobjectId: id,\n\t\t\tinputState: change.inputState.$kind === \"Exist\" ? \"Exists\" : \"DoesNotExist\",\n\t\t\tinputVersion: change.inputState.Exist?.[0][0] ?? null,\n\t\t\tinputDigest: change.inputState.Exist?.[0][1] ?? null,\n\t\t\tinputOwner: change.inputState.Exist?.[1] ?? null,\n\t\t\toutputState: change.outputState.$kind === \"NotExist\" ? \"DoesNotExist\" : change.outputState.$kind,\n\t\t\toutputVersion: change.outputState.$kind === \"PackageWrite\" ? change.outputState.PackageWrite?.[0] : change.outputState.$kind === \"ObjectWrite\" ? effects.lamportVersion : null,\n\t\t\toutputDigest: change.outputState.$kind === \"PackageWrite\" ? change.outputState.PackageWrite?.[1] : change.outputState.$kind === \"ObjectWrite\" ? change.outputState.ObjectWrite?.[0] ?? null : null,\n\t\t\toutputOwner: change.outputState.$kind === \"ObjectWrite\" ? change.outputState.ObjectWrite[1] : null,\n\t\t\tidOperation: change.idOperation.$kind\n\t\t};\n\t});\n\treturn {\n\t\tbcs: bytes,\n\t\tversion: 2,\n\t\tstatus: effects.status.$kind === \"Success\" ? {\n\t\t\tsuccess: true,\n\t\t\terror: null\n\t\t} : {\n\t\t\tsuccess: false,\n\t\t\terror: parseBcsExecutionError(effects.status.Failure)\n\t\t},\n\t\tgasUsed: effects.gasUsed,\n\t\ttransactionDigest: effects.transactionDigest,\n\t\tgasObject: effects.gasObjectIndex === null ? null : changedObjects[effects.gasObjectIndex] ?? null,\n\t\teventsDigest: effects.eventsDigest,\n\t\tdependencies: effects.dependencies,\n\t\tlamportVersion: effects.lamportVersion,\n\t\tchangedObjects,\n\t\tunchangedConsensusObjects: effects.unchangedConsensusObjects.map(([objectId, object]) => {\n\t\t\treturn {\n\t\t\t\tkind: object.$kind,\n\t\t\t\tobjectId,\n\t\t\t\tversion: object.$kind === \"ReadOnlyRoot\" ? object.ReadOnlyRoot[0] : object[object.$kind],\n\t\t\t\tdigest: object.$kind === \"ReadOnlyRoot\" ? object.ReadOnlyRoot[1] : null\n\t\t\t};\n\t\t}),\n\t\tauxiliaryDataDigest: effects.auxDataDigest\n\t};\n}\n\n//#endregion\nexport { extractStatusFromEffectsBcs, formatMoveAbortMessage, parseTransactionBcs, parseTransactionEffectsBcs };\n//# sourceMappingURL=utils.mjs.map","//#region src/client/errors.ts\nvar SuiClientError = class extends Error {};\nvar SimulationError = class extends SuiClientError {\n\tconstructor(message, options) {\n\t\tsuper(message, { cause: options?.cause });\n\t\tthis.executionError = options?.executionError;\n\t}\n};\nvar ObjectError = class ObjectError extends SuiClientError {\n\tconstructor(code, message) {\n\t\tsuper(message);\n\t\tthis.code = code;\n\t}\n\tstatic fromResponse(response, objectId) {\n\t\tswitch (response.code) {\n\t\t\tcase \"notExists\": return new ObjectError(response.code, `Object ${response.object_id} does not exist`);\n\t\t\tcase \"dynamicFieldNotFound\": return new ObjectError(response.code, `Dynamic field not found for object ${response.parent_object_id}`);\n\t\t\tcase \"deleted\": return new ObjectError(response.code, `Object ${response.object_id} has been deleted`);\n\t\t\tcase \"displayError\": return new ObjectError(response.code, `Display error: ${response.error}`);\n\t\t\tcase \"unknown\":\n\t\t\tdefault: return new ObjectError(response.code, `Unknown error while loading object${objectId ? ` ${objectId}` : \"\"}`);\n\t\t}\n\t}\n};\n\n//#endregion\nexport { ObjectError, SimulationError };\n//# sourceMappingURL=errors.mjs.map","//#region src/utils/constants.ts\nconst SUI_DECIMALS = 9;\nconst MIST_PER_SUI = BigInt(1e9);\nconst MOVE_STDLIB_ADDRESS = \"0x0000000000000000000000000000000000000000000000000000000000000001\";\nconst SUI_FRAMEWORK_ADDRESS = \"0x0000000000000000000000000000000000000000000000000000000000000002\";\nconst SUI_SYSTEM_ADDRESS = \"0x0000000000000000000000000000000000000000000000000000000000000003\";\nconst SUI_CLOCK_OBJECT_ID = \"0x0000000000000000000000000000000000000000000000000000000000000006\";\nconst SUI_SYSTEM_MODULE_NAME = \"sui_system\";\nconst SUI_TYPE_ARG = `${SUI_FRAMEWORK_ADDRESS}::sui::SUI`;\nconst SUI_SYSTEM_STATE_OBJECT_ID = \"0x0000000000000000000000000000000000000000000000000000000000000005\";\nconst SUI_RANDOM_OBJECT_ID = \"0x0000000000000000000000000000000000000000000000000000000000000008\";\nconst SUI_COIN_REGISTRY_OBJECT_ID = \"0x000000000000000000000000000000000000000000000000000000000000000c\";\nconst SUI_DENY_LIST_OBJECT_ID = \"0x0000000000000000000000000000000000000000000000000000000000000403\";\n\n//#endregion\nexport { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_COIN_REGISTRY_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG };\n//# sourceMappingURL=constants.mjs.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isJsonObject = exports.typeofJsonValue = void 0;\n/**\n * Get the type of a JSON value.\n * Distinguishes between array, null and object.\n */\nfunction typeofJsonValue(value) {\n let t = typeof value;\n if (t == \"object\") {\n if (Array.isArray(value))\n return \"array\";\n if (value === null)\n return \"null\";\n }\n return t;\n}\nexports.typeofJsonValue = typeofJsonValue;\n/**\n * Is this a JSON object (instead of an array or null)?\n */\nfunction isJsonObject(value) {\n return value !== null && typeof value == \"object\" && !Array.isArray(value);\n}\nexports.isJsonObject = isJsonObject;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.base64encode = exports.base64decode = void 0;\n// lookup table from base64 character to byte\nlet encTable = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n// lookup table from base64 character *code* to byte because lookup by number is fast\nlet decTable = [];\nfor (let i = 0; i < encTable.length; i++)\n decTable[encTable[i].charCodeAt(0)] = i;\n// support base64url variants\ndecTable[\"-\".charCodeAt(0)] = encTable.indexOf(\"+\");\ndecTable[\"_\".charCodeAt(0)] = encTable.indexOf(\"/\");\n/**\n * Decodes a base64 string to a byte array.\n *\n * - ignores white-space, including line breaks and tabs\n * - allows inner padding (can decode concatenated base64 strings)\n * - does not require padding\n * - understands base64url encoding:\n * \"-\" instead of \"+\",\n * \"_\" instead of \"/\",\n * no padding\n */\nfunction base64decode(base64Str) {\n // estimate byte size, not accounting for inner padding and whitespace\n let es = base64Str.length * 3 / 4;\n // if (es % 3 !== 0)\n // throw new Error('invalid base64 string');\n if (base64Str[base64Str.length - 2] == '=')\n es -= 2;\n else if (base64Str[base64Str.length - 1] == '=')\n es -= 1;\n let bytes = new Uint8Array(es), bytePos = 0, // position in byte array\n groupPos = 0, // position in base64 group\n b, // current byte\n p = 0 // previous byte\n ;\n for (let i = 0; i < base64Str.length; i++) {\n b = decTable[base64Str.charCodeAt(i)];\n if (b === undefined) {\n // noinspection FallThroughInSwitchStatementJS\n switch (base64Str[i]) {\n case '=':\n groupPos = 0; // reset state when padding found\n case '\\n':\n case '\\r':\n case '\\t':\n case ' ':\n continue; // skip white-space, and padding\n default:\n throw Error(`invalid base64 string.`);\n }\n }\n switch (groupPos) {\n case 0:\n p = b;\n groupPos = 1;\n break;\n case 1:\n bytes[bytePos++] = p << 2 | (b & 48) >> 4;\n p = b;\n groupPos = 2;\n break;\n case 2:\n bytes[bytePos++] = (p & 15) << 4 | (b & 60) >> 2;\n p = b;\n groupPos = 3;\n break;\n case 3:\n bytes[bytePos++] = (p & 3) << 6 | b;\n groupPos = 0;\n break;\n }\n }\n if (groupPos == 1)\n throw Error(`invalid base64 string.`);\n return bytes.subarray(0, bytePos);\n}\nexports.base64decode = base64decode;\n/**\n * Encodes a byte array to a base64 string.\n * Adds padding at the end.\n * Does not insert newlines.\n */\nfunction base64encode(bytes) {\n let base64 = '', groupPos = 0, // position in base64 group\n b, // current byte\n p = 0; // carry over from previous byte\n for (let i = 0; i < bytes.length; i++) {\n b = bytes[i];\n switch (groupPos) {\n case 0:\n base64 += encTable[b >> 2];\n p = (b & 3) << 4;\n groupPos = 1;\n break;\n case 1:\n base64 += encTable[p | b >> 4];\n p = (b & 15) << 2;\n groupPos = 2;\n break;\n case 2:\n base64 += encTable[p | b >> 6];\n base64 += encTable[b & 63];\n groupPos = 0;\n break;\n }\n }\n // padding required?\n if (groupPos) {\n base64 += encTable[p];\n base64 += '=';\n if (groupPos == 1)\n base64 += '=';\n }\n return base64;\n}\nexports.base64encode = base64encode;\n","\"use strict\";\n// Copyright (c) 2016, Daniel Wirtz All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// * Neither the name of its author, nor the names of its contributors\n// may be used to endorse or promote products derived from this software\n// without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.utf8read = void 0;\nconst fromCharCodes = (chunk) => String.fromCharCode.apply(String, chunk);\n/**\n * @deprecated This function will no longer be exported with the next major\n * release, since protobuf-ts has switch to TextDecoder API. If you need this\n * function, please migrate to @protobufjs/utf8. For context, see\n * https://github.com/timostamm/protobuf-ts/issues/184\n *\n * Reads UTF8 bytes as a string.\n *\n * See [protobufjs / utf8](https://github.com/protobufjs/protobuf.js/blob/9893e35b854621cce64af4bf6be2cff4fb892796/lib/utf8/index.js#L40)\n *\n * Copyright (c) 2016, Daniel Wirtz\n */\nfunction utf8read(bytes) {\n if (bytes.length < 1)\n return \"\";\n let pos = 0, // position in bytes\n parts = [], chunk = [], i = 0, // char offset\n t; // temporary\n let len = bytes.length;\n while (pos < len) {\n t = bytes[pos++];\n if (t < 128)\n chunk[i++] = t;\n else if (t > 191 && t < 224)\n chunk[i++] = (t & 31) << 6 | bytes[pos++] & 63;\n else if (t > 239 && t < 365) {\n t = ((t & 7) << 18 | (bytes[pos++] & 63) << 12 | (bytes[pos++] & 63) << 6 | bytes[pos++] & 63) - 0x10000;\n chunk[i++] = 0xD800 + (t >> 10);\n chunk[i++] = 0xDC00 + (t & 1023);\n }\n else\n chunk[i++] = (t & 15) << 12 | (bytes[pos++] & 63) << 6 | bytes[pos++] & 63;\n if (i > 8191) {\n parts.push(fromCharCodes(chunk));\n i = 0;\n }\n }\n if (parts.length) {\n if (i)\n parts.push(fromCharCodes(chunk.slice(0, i)));\n return parts.join(\"\");\n }\n return fromCharCodes(chunk.slice(0, i));\n}\nexports.utf8read = utf8read;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WireType = exports.mergeBinaryOptions = exports.UnknownFieldHandler = void 0;\n/**\n * This handler implements the default behaviour for unknown fields.\n * When reading data, unknown fields are stored on the message, in a\n * symbol property.\n * When writing data, the symbol property is queried and unknown fields\n * are serialized into the output again.\n */\nvar UnknownFieldHandler;\n(function (UnknownFieldHandler) {\n /**\n * The symbol used to store unknown fields for a message.\n * The property must conform to `UnknownFieldContainer`.\n */\n UnknownFieldHandler.symbol = Symbol.for(\"protobuf-ts/unknown\");\n /**\n * Store an unknown field during binary read directly on the message.\n * This method is compatible with `BinaryReadOptions.readUnknownField`.\n */\n UnknownFieldHandler.onRead = (typeName, message, fieldNo, wireType, data) => {\n let container = is(message) ? message[UnknownFieldHandler.symbol] : message[UnknownFieldHandler.symbol] = [];\n container.push({ no: fieldNo, wireType, data });\n };\n /**\n * Write unknown fields stored for the message to the writer.\n * This method is compatible with `BinaryWriteOptions.writeUnknownFields`.\n */\n UnknownFieldHandler.onWrite = (typeName, message, writer) => {\n for (let { no, wireType, data } of UnknownFieldHandler.list(message))\n writer.tag(no, wireType).raw(data);\n };\n /**\n * List unknown fields stored for the message.\n * Note that there may be multiples fields with the same number.\n */\n UnknownFieldHandler.list = (message, fieldNo) => {\n if (is(message)) {\n let all = message[UnknownFieldHandler.symbol];\n return fieldNo ? all.filter(uf => uf.no == fieldNo) : all;\n }\n return [];\n };\n /**\n * Returns the last unknown field by field number.\n */\n UnknownFieldHandler.last = (message, fieldNo) => UnknownFieldHandler.list(message, fieldNo).slice(-1)[0];\n const is = (message) => message && Array.isArray(message[UnknownFieldHandler.symbol]);\n})(UnknownFieldHandler = exports.UnknownFieldHandler || (exports.UnknownFieldHandler = {}));\n/**\n * Merges binary write or read options. Later values override earlier values.\n */\nfunction mergeBinaryOptions(a, b) {\n return Object.assign(Object.assign({}, a), b);\n}\nexports.mergeBinaryOptions = mergeBinaryOptions;\n/**\n * Protobuf binary format wire types.\n *\n * A wire type provides just enough information to find the length of the\n * following value.\n *\n * See https://developers.google.com/protocol-buffers/docs/encoding#structure\n */\nvar WireType;\n(function (WireType) {\n /**\n * Used for int32, int64, uint32, uint64, sint32, sint64, bool, enum\n */\n WireType[WireType[\"Varint\"] = 0] = \"Varint\";\n /**\n * Used for fixed64, sfixed64, double.\n * Always 8 bytes with little-endian byte order.\n */\n WireType[WireType[\"Bit64\"] = 1] = \"Bit64\";\n /**\n * Used for string, bytes, embedded messages, packed repeated fields\n *\n * Only repeated numeric types (types which use the varint, 32-bit,\n * or 64-bit wire types) can be packed. In proto3, such fields are\n * packed by default.\n */\n WireType[WireType[\"LengthDelimited\"] = 2] = \"LengthDelimited\";\n /**\n * Used for groups\n * @deprecated\n */\n WireType[WireType[\"StartGroup\"] = 3] = \"StartGroup\";\n /**\n * Used for groups\n * @deprecated\n */\n WireType[WireType[\"EndGroup\"] = 4] = \"EndGroup\";\n /**\n * Used for fixed32, sfixed32, float.\n * Always 4 bytes with little-endian byte order.\n */\n WireType[WireType[\"Bit32\"] = 5] = \"Bit32\";\n})(WireType = exports.WireType || (exports.WireType = {}));\n","\"use strict\";\n// Copyright 2008 Google Inc. All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\n// Code generated by the Protocol Buffer compiler is owned by the owner\n// of the input file used when generating it. This code is not\n// standalone and requires a support library to be linked with it. This\n// support library is itself covered by the above license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.varint32read = exports.varint32write = exports.int64toString = exports.int64fromString = exports.varint64write = exports.varint64read = void 0;\n/**\n * Read a 64 bit varint as two JS numbers.\n *\n * Returns tuple:\n * [0]: low bits\n * [0]: high bits\n *\n * Copyright 2008 Google Inc. All rights reserved.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175\n */\nfunction varint64read() {\n let lowBits = 0;\n let highBits = 0;\n for (let shift = 0; shift < 28; shift += 7) {\n let b = this.buf[this.pos++];\n lowBits |= (b & 0x7F) << shift;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return [lowBits, highBits];\n }\n }\n let middleByte = this.buf[this.pos++];\n // last four bits of the first 32 bit number\n lowBits |= (middleByte & 0x0F) << 28;\n // 3 upper bits are part of the next 32 bit number\n highBits = (middleByte & 0x70) >> 4;\n if ((middleByte & 0x80) == 0) {\n this.assertBounds();\n return [lowBits, highBits];\n }\n for (let shift = 3; shift <= 31; shift += 7) {\n let b = this.buf[this.pos++];\n highBits |= (b & 0x7F) << shift;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return [lowBits, highBits];\n }\n }\n throw new Error('invalid varint');\n}\nexports.varint64read = varint64read;\n/**\n * Write a 64 bit varint, given as two JS numbers, to the given bytes array.\n *\n * Copyright 2008 Google Inc. All rights reserved.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344\n */\nfunction varint64write(lo, hi, bytes) {\n for (let i = 0; i < 28; i = i + 7) {\n const shift = lo >>> i;\n const hasNext = !((shift >>> 7) == 0 && hi == 0);\n const byte = (hasNext ? shift | 0x80 : shift) & 0xFF;\n bytes.push(byte);\n if (!hasNext) {\n return;\n }\n }\n const splitBits = ((lo >>> 28) & 0x0F) | ((hi & 0x07) << 4);\n const hasMoreBits = !((hi >> 3) == 0);\n bytes.push((hasMoreBits ? splitBits | 0x80 : splitBits) & 0xFF);\n if (!hasMoreBits) {\n return;\n }\n for (let i = 3; i < 31; i = i + 7) {\n const shift = hi >>> i;\n const hasNext = !((shift >>> 7) == 0);\n const byte = (hasNext ? shift | 0x80 : shift) & 0xFF;\n bytes.push(byte);\n if (!hasNext) {\n return;\n }\n }\n bytes.push((hi >>> 31) & 0x01);\n}\nexports.varint64write = varint64write;\n// constants for binary math\nconst TWO_PWR_32_DBL = (1 << 16) * (1 << 16);\n/**\n * Parse decimal string of 64 bit integer value as two JS numbers.\n *\n * Returns tuple:\n * [0]: minus sign?\n * [1]: low bits\n * [2]: high bits\n *\n * Copyright 2008 Google Inc.\n */\nfunction int64fromString(dec) {\n // Check for minus sign.\n let minus = dec[0] == '-';\n if (minus)\n dec = dec.slice(1);\n // Work 6 decimal digits at a time, acting like we're converting base 1e6\n // digits to binary. This is safe to do with floating point math because\n // Number.isSafeInteger(ALL_32_BITS * 1e6) == true.\n const base = 1e6;\n let lowBits = 0;\n let highBits = 0;\n function add1e6digit(begin, end) {\n // Note: Number('') is 0.\n const digit1e6 = Number(dec.slice(begin, end));\n highBits *= base;\n lowBits = lowBits * base + digit1e6;\n // Carry bits from lowBits to highBits\n if (lowBits >= TWO_PWR_32_DBL) {\n highBits = highBits + ((lowBits / TWO_PWR_32_DBL) | 0);\n lowBits = lowBits % TWO_PWR_32_DBL;\n }\n }\n add1e6digit(-24, -18);\n add1e6digit(-18, -12);\n add1e6digit(-12, -6);\n add1e6digit(-6);\n return [minus, lowBits, highBits];\n}\nexports.int64fromString = int64fromString;\n/**\n * Format 64 bit integer value (as two JS numbers) to decimal string.\n *\n * Copyright 2008 Google Inc.\n */\nfunction int64toString(bitsLow, bitsHigh) {\n // Skip the expensive conversion if the number is small enough to use the\n // built-in conversions.\n if ((bitsHigh >>> 0) <= 0x1FFFFF) {\n return '' + (TWO_PWR_32_DBL * bitsHigh + (bitsLow >>> 0));\n }\n // What this code is doing is essentially converting the input number from\n // base-2 to base-1e7, which allows us to represent the 64-bit range with\n // only 3 (very large) digits. Those digits are then trivial to convert to\n // a base-10 string.\n // The magic numbers used here are -\n // 2^24 = 16777216 = (1,6777216) in base-1e7.\n // 2^48 = 281474976710656 = (2,8147497,6710656) in base-1e7.\n // Split 32:32 representation into 16:24:24 representation so our\n // intermediate digits don't overflow.\n let low = bitsLow & 0xFFFFFF;\n let mid = (((bitsLow >>> 24) | (bitsHigh << 8)) >>> 0) & 0xFFFFFF;\n let high = (bitsHigh >> 16) & 0xFFFF;\n // Assemble our three base-1e7 digits, ignoring carries. The maximum\n // value in a digit at this step is representable as a 48-bit integer, which\n // can be stored in a 64-bit floating point number.\n let digitA = low + (mid * 6777216) + (high * 6710656);\n let digitB = mid + (high * 8147497);\n let digitC = (high * 2);\n // Apply carries from A to B and from B to C.\n let base = 10000000;\n if (digitA >= base) {\n digitB += Math.floor(digitA / base);\n digitA %= base;\n }\n if (digitB >= base) {\n digitC += Math.floor(digitB / base);\n digitB %= base;\n }\n // Convert base-1e7 digits to base-10, with optional leading zeroes.\n function decimalFrom1e7(digit1e7, needLeadingZeros) {\n let partial = digit1e7 ? String(digit1e7) : '';\n if (needLeadingZeros) {\n return '0000000'.slice(partial.length) + partial;\n }\n return partial;\n }\n return decimalFrom1e7(digitC, /*needLeadingZeros=*/ 0) +\n decimalFrom1e7(digitB, /*needLeadingZeros=*/ digitC) +\n // If the final 1e7 digit didn't need leading zeros, we would have\n // returned via the trivial code path at the top.\n decimalFrom1e7(digitA, /*needLeadingZeros=*/ 1);\n}\nexports.int64toString = int64toString;\n/**\n * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)`\n *\n * Copyright 2008 Google Inc. All rights reserved.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144\n */\nfunction varint32write(value, bytes) {\n if (value >= 0) {\n // write value as varint 32\n while (value > 0x7f) {\n bytes.push((value & 0x7f) | 0x80);\n value = value >>> 7;\n }\n bytes.push(value);\n }\n else {\n for (let i = 0; i < 9; i++) {\n bytes.push(value & 127 | 128);\n value = value >> 7;\n }\n bytes.push(1);\n }\n}\nexports.varint32write = varint32write;\n/**\n * Read an unsigned 32 bit varint.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220\n */\nfunction varint32read() {\n let b = this.buf[this.pos++];\n let result = b & 0x7F;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n b = this.buf[this.pos++];\n result |= (b & 0x7F) << 7;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n b = this.buf[this.pos++];\n result |= (b & 0x7F) << 14;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n b = this.buf[this.pos++];\n result |= (b & 0x7F) << 21;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n // Extract only last 4 bits\n b = this.buf[this.pos++];\n result |= (b & 0x0F) << 28;\n for (let readBytes = 5; ((b & 0x80) !== 0) && readBytes < 10; readBytes++)\n b = this.buf[this.pos++];\n if ((b & 0x80) != 0)\n throw new Error('invalid varint');\n this.assertBounds();\n // Result can have 32 bits, convert it to unsigned\n return result >>> 0;\n}\nexports.varint32read = varint32read;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PbLong = exports.PbULong = exports.detectBi = void 0;\nconst goog_varint_1 = require(\"./goog-varint\");\nlet BI;\nfunction detectBi() {\n const dv = new DataView(new ArrayBuffer(8));\n const ok = globalThis.BigInt !== undefined\n && typeof dv.getBigInt64 === \"function\"\n && typeof dv.getBigUint64 === \"function\"\n && typeof dv.setBigInt64 === \"function\"\n && typeof dv.setBigUint64 === \"function\";\n BI = ok ? {\n MIN: BigInt(\"-9223372036854775808\"),\n MAX: BigInt(\"9223372036854775807\"),\n UMIN: BigInt(\"0\"),\n UMAX: BigInt(\"18446744073709551615\"),\n C: BigInt,\n V: dv,\n } : undefined;\n}\nexports.detectBi = detectBi;\ndetectBi();\nfunction assertBi(bi) {\n if (!bi)\n throw new Error(\"BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support\");\n}\n// used to validate from(string) input (when bigint is unavailable)\nconst RE_DECIMAL_STR = /^-?[0-9]+$/;\n// constants for binary math\nconst TWO_PWR_32_DBL = 0x100000000;\nconst HALF_2_PWR_32 = 0x080000000;\n// base class for PbLong and PbULong provides shared code\nclass SharedPbLong {\n /**\n * Create a new instance with the given bits.\n */\n constructor(lo, hi) {\n this.lo = lo | 0;\n this.hi = hi | 0;\n }\n /**\n * Is this instance equal to 0?\n */\n isZero() {\n return this.lo == 0 && this.hi == 0;\n }\n /**\n * Convert to a native number.\n */\n toNumber() {\n let result = this.hi * TWO_PWR_32_DBL + (this.lo >>> 0);\n if (!Number.isSafeInteger(result))\n throw new Error(\"cannot convert to safe number\");\n return result;\n }\n}\n/**\n * 64-bit unsigned integer as two 32-bit values.\n * Converts between `string`, `number` and `bigint` representations.\n */\nclass PbULong extends SharedPbLong {\n /**\n * Create instance from a `string`, `number` or `bigint`.\n */\n static from(value) {\n if (BI)\n // noinspection FallThroughInSwitchStatementJS\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n if (value == \"\")\n throw new Error('string is no integer');\n value = BI.C(value);\n case \"number\":\n if (value === 0)\n return this.ZERO;\n value = BI.C(value);\n case \"bigint\":\n if (!value)\n return this.ZERO;\n if (value < BI.UMIN)\n throw new Error('signed value for ulong');\n if (value > BI.UMAX)\n throw new Error('ulong too large');\n BI.V.setBigUint64(0, value, true);\n return new PbULong(BI.V.getInt32(0, true), BI.V.getInt32(4, true));\n }\n else\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n value = value.trim();\n if (!RE_DECIMAL_STR.test(value))\n throw new Error('string is no integer');\n let [minus, lo, hi] = goog_varint_1.int64fromString(value);\n if (minus)\n throw new Error('signed value for ulong');\n return new PbULong(lo, hi);\n case \"number\":\n if (value == 0)\n return this.ZERO;\n if (!Number.isSafeInteger(value))\n throw new Error('number is no integer');\n if (value < 0)\n throw new Error('signed value for ulong');\n return new PbULong(value, value / TWO_PWR_32_DBL);\n }\n throw new Error('unknown value ' + typeof value);\n }\n /**\n * Convert to decimal string.\n */\n toString() {\n return BI ? this.toBigInt().toString() : goog_varint_1.int64toString(this.lo, this.hi);\n }\n /**\n * Convert to native bigint.\n */\n toBigInt() {\n assertBi(BI);\n BI.V.setInt32(0, this.lo, true);\n BI.V.setInt32(4, this.hi, true);\n return BI.V.getBigUint64(0, true);\n }\n}\nexports.PbULong = PbULong;\n/**\n * ulong 0 singleton.\n */\nPbULong.ZERO = new PbULong(0, 0);\n/**\n * 64-bit signed integer as two 32-bit values.\n * Converts between `string`, `number` and `bigint` representations.\n */\nclass PbLong extends SharedPbLong {\n /**\n * Create instance from a `string`, `number` or `bigint`.\n */\n static from(value) {\n if (BI)\n // noinspection FallThroughInSwitchStatementJS\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n if (value == \"\")\n throw new Error('string is no integer');\n value = BI.C(value);\n case \"number\":\n if (value === 0)\n return this.ZERO;\n value = BI.C(value);\n case \"bigint\":\n if (!value)\n return this.ZERO;\n if (value < BI.MIN)\n throw new Error('signed long too small');\n if (value > BI.MAX)\n throw new Error('signed long too large');\n BI.V.setBigInt64(0, value, true);\n return new PbLong(BI.V.getInt32(0, true), BI.V.getInt32(4, true));\n }\n else\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n value = value.trim();\n if (!RE_DECIMAL_STR.test(value))\n throw new Error('string is no integer');\n let [minus, lo, hi] = goog_varint_1.int64fromString(value);\n if (minus) {\n if (hi > HALF_2_PWR_32 || (hi == HALF_2_PWR_32 && lo != 0))\n throw new Error('signed long too small');\n }\n else if (hi >= HALF_2_PWR_32)\n throw new Error('signed long too large');\n let pbl = new PbLong(lo, hi);\n return minus ? pbl.negate() : pbl;\n case \"number\":\n if (value == 0)\n return this.ZERO;\n if (!Number.isSafeInteger(value))\n throw new Error('number is no integer');\n return value > 0\n ? new PbLong(value, value / TWO_PWR_32_DBL)\n : new PbLong(-value, -value / TWO_PWR_32_DBL).negate();\n }\n throw new Error('unknown value ' + typeof value);\n }\n /**\n * Do we have a minus sign?\n */\n isNegative() {\n return (this.hi & HALF_2_PWR_32) !== 0;\n }\n /**\n * Negate two's complement.\n * Invert all the bits and add one to the result.\n */\n negate() {\n let hi = ~this.hi, lo = this.lo;\n if (lo)\n lo = ~lo + 1;\n else\n hi += 1;\n return new PbLong(lo, hi);\n }\n /**\n * Convert to decimal string.\n */\n toString() {\n if (BI)\n return this.toBigInt().toString();\n if (this.isNegative()) {\n let n = this.negate();\n return '-' + goog_varint_1.int64toString(n.lo, n.hi);\n }\n return goog_varint_1.int64toString(this.lo, this.hi);\n }\n /**\n * Convert to native bigint.\n */\n toBigInt() {\n assertBi(BI);\n BI.V.setInt32(0, this.lo, true);\n BI.V.setInt32(4, this.hi, true);\n return BI.V.getBigInt64(0, true);\n }\n}\nexports.PbLong = PbLong;\n/**\n * long 0 singleton.\n */\nPbLong.ZERO = new PbLong(0, 0);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BinaryReader = exports.binaryReadOptions = void 0;\nconst binary_format_contract_1 = require(\"./binary-format-contract\");\nconst pb_long_1 = require(\"./pb-long\");\nconst goog_varint_1 = require(\"./goog-varint\");\nconst defaultsRead = {\n readUnknownField: true,\n readerFactory: bytes => new BinaryReader(bytes),\n};\n/**\n * Make options for reading binary data form partial options.\n */\nfunction binaryReadOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsRead), options) : defaultsRead;\n}\nexports.binaryReadOptions = binaryReadOptions;\nclass BinaryReader {\n constructor(buf, textDecoder) {\n this.varint64 = goog_varint_1.varint64read; // dirty cast for `this`\n /**\n * Read a `uint32` field, an unsigned 32 bit varint.\n */\n this.uint32 = goog_varint_1.varint32read; // dirty cast for `this` and access to protected `buf`\n this.buf = buf;\n this.len = buf.length;\n this.pos = 0;\n this.view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);\n this.textDecoder = textDecoder !== null && textDecoder !== void 0 ? textDecoder : new TextDecoder(\"utf-8\", {\n fatal: true,\n ignoreBOM: true,\n });\n }\n /**\n * Reads a tag - field number and wire type.\n */\n tag() {\n let tag = this.uint32(), fieldNo = tag >>> 3, wireType = tag & 7;\n if (fieldNo <= 0 || wireType < 0 || wireType > 5)\n throw new Error(\"illegal tag: field no \" + fieldNo + \" wire type \" + wireType);\n return [fieldNo, wireType];\n }\n /**\n * Skip one element on the wire and return the skipped data.\n * Supports WireType.StartGroup since v2.0.0-alpha.23.\n */\n skip(wireType) {\n let start = this.pos;\n // noinspection FallThroughInSwitchStatementJS\n switch (wireType) {\n case binary_format_contract_1.WireType.Varint:\n while (this.buf[this.pos++] & 0x80) {\n // ignore\n }\n break;\n case binary_format_contract_1.WireType.Bit64:\n this.pos += 4;\n case binary_format_contract_1.WireType.Bit32:\n this.pos += 4;\n break;\n case binary_format_contract_1.WireType.LengthDelimited:\n let len = this.uint32();\n this.pos += len;\n break;\n case binary_format_contract_1.WireType.StartGroup:\n // From descriptor.proto: Group type is deprecated, not supported in proto3.\n // But we must still be able to parse and treat as unknown.\n let t;\n while ((t = this.tag()[1]) !== binary_format_contract_1.WireType.EndGroup) {\n this.skip(t);\n }\n break;\n default:\n throw new Error(\"cant skip wire type \" + wireType);\n }\n this.assertBounds();\n return this.buf.subarray(start, this.pos);\n }\n /**\n * Throws error if position in byte array is out of range.\n */\n assertBounds() {\n if (this.pos > this.len)\n throw new RangeError(\"premature EOF\");\n }\n /**\n * Read a `int32` field, a signed 32 bit varint.\n */\n int32() {\n return this.uint32() | 0;\n }\n /**\n * Read a `sint32` field, a signed, zigzag-encoded 32-bit varint.\n */\n sint32() {\n let zze = this.uint32();\n // decode zigzag\n return (zze >>> 1) ^ -(zze & 1);\n }\n /**\n * Read a `int64` field, a signed 64-bit varint.\n */\n int64() {\n return new pb_long_1.PbLong(...this.varint64());\n }\n /**\n * Read a `uint64` field, an unsigned 64-bit varint.\n */\n uint64() {\n return new pb_long_1.PbULong(...this.varint64());\n }\n /**\n * Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint.\n */\n sint64() {\n let [lo, hi] = this.varint64();\n // decode zig zag\n let s = -(lo & 1);\n lo = ((lo >>> 1 | (hi & 1) << 31) ^ s);\n hi = (hi >>> 1 ^ s);\n return new pb_long_1.PbLong(lo, hi);\n }\n /**\n * Read a `bool` field, a variant.\n */\n bool() {\n let [lo, hi] = this.varint64();\n return lo !== 0 || hi !== 0;\n }\n /**\n * Read a `fixed32` field, an unsigned, fixed-length 32-bit integer.\n */\n fixed32() {\n return this.view.getUint32((this.pos += 4) - 4, true);\n }\n /**\n * Read a `sfixed32` field, a signed, fixed-length 32-bit integer.\n */\n sfixed32() {\n return this.view.getInt32((this.pos += 4) - 4, true);\n }\n /**\n * Read a `fixed64` field, an unsigned, fixed-length 64 bit integer.\n */\n fixed64() {\n return new pb_long_1.PbULong(this.sfixed32(), this.sfixed32());\n }\n /**\n * Read a `fixed64` field, a signed, fixed-length 64-bit integer.\n */\n sfixed64() {\n return new pb_long_1.PbLong(this.sfixed32(), this.sfixed32());\n }\n /**\n * Read a `float` field, 32-bit floating point number.\n */\n float() {\n return this.view.getFloat32((this.pos += 4) - 4, true);\n }\n /**\n * Read a `double` field, a 64-bit floating point number.\n */\n double() {\n return this.view.getFloat64((this.pos += 8) - 8, true);\n }\n /**\n * Read a `bytes` field, length-delimited arbitrary data.\n */\n bytes() {\n let len = this.uint32();\n let start = this.pos;\n this.pos += len;\n this.assertBounds();\n return this.buf.subarray(start, start + len);\n }\n /**\n * Read a `string` field, length-delimited data converted to UTF-8 text.\n */\n string() {\n return this.textDecoder.decode(this.bytes());\n }\n}\nexports.BinaryReader = BinaryReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertFloat32 = exports.assertUInt32 = exports.assertInt32 = exports.assertNever = exports.assert = void 0;\n/**\n * assert that condition is true or throw error (with message)\n */\nfunction assert(condition, msg) {\n if (!condition) {\n throw new Error(msg);\n }\n}\nexports.assert = assert;\n/**\n * assert that value cannot exist = type `never`. throw runtime error if it does.\n */\nfunction assertNever(value, msg) {\n throw new Error(msg !== null && msg !== void 0 ? msg : 'Unexpected object: ' + value);\n}\nexports.assertNever = assertNever;\nconst FLOAT32_MAX = 3.4028234663852886e+38, FLOAT32_MIN = -3.4028234663852886e+38, UINT32_MAX = 0xFFFFFFFF, INT32_MAX = 0X7FFFFFFF, INT32_MIN = -0X80000000;\nfunction assertInt32(arg) {\n if (typeof arg !== \"number\")\n throw new Error('invalid int 32: ' + typeof arg);\n if (!Number.isInteger(arg) || arg > INT32_MAX || arg < INT32_MIN)\n throw new Error('invalid int 32: ' + arg);\n}\nexports.assertInt32 = assertInt32;\nfunction assertUInt32(arg) {\n if (typeof arg !== \"number\")\n throw new Error('invalid uint 32: ' + typeof arg);\n if (!Number.isInteger(arg) || arg > UINT32_MAX || arg < 0)\n throw new Error('invalid uint 32: ' + arg);\n}\nexports.assertUInt32 = assertUInt32;\nfunction assertFloat32(arg) {\n if (typeof arg !== \"number\")\n throw new Error('invalid float 32: ' + typeof arg);\n if (!Number.isFinite(arg))\n return;\n if (arg > FLOAT32_MAX || arg < FLOAT32_MIN)\n throw new Error('invalid float 32: ' + arg);\n}\nexports.assertFloat32 = assertFloat32;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BinaryWriter = exports.binaryWriteOptions = void 0;\nconst pb_long_1 = require(\"./pb-long\");\nconst goog_varint_1 = require(\"./goog-varint\");\nconst assert_1 = require(\"./assert\");\nconst defaultsWrite = {\n writeUnknownFields: true,\n writerFactory: () => new BinaryWriter(),\n};\n/**\n * Make options for writing binary data form partial options.\n */\nfunction binaryWriteOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsWrite), options) : defaultsWrite;\n}\nexports.binaryWriteOptions = binaryWriteOptions;\nclass BinaryWriter {\n constructor(textEncoder) {\n /**\n * Previous fork states.\n */\n this.stack = [];\n this.textEncoder = textEncoder !== null && textEncoder !== void 0 ? textEncoder : new TextEncoder();\n this.chunks = [];\n this.buf = [];\n }\n /**\n * Return all bytes written and reset this writer.\n */\n finish() {\n this.chunks.push(new Uint8Array(this.buf)); // flush the buffer\n let len = 0;\n for (let i = 0; i < this.chunks.length; i++)\n len += this.chunks[i].length;\n let bytes = new Uint8Array(len);\n let offset = 0;\n for (let i = 0; i < this.chunks.length; i++) {\n bytes.set(this.chunks[i], offset);\n offset += this.chunks[i].length;\n }\n this.chunks = [];\n return bytes;\n }\n /**\n * Start a new fork for length-delimited data like a message\n * or a packed repeated field.\n *\n * Must be joined later with `join()`.\n */\n fork() {\n this.stack.push({ chunks: this.chunks, buf: this.buf });\n this.chunks = [];\n this.buf = [];\n return this;\n }\n /**\n * Join the last fork. Write its length and bytes, then\n * return to the previous state.\n */\n join() {\n // get chunk of fork\n let chunk = this.finish();\n // restore previous state\n let prev = this.stack.pop();\n if (!prev)\n throw new Error('invalid state, fork stack empty');\n this.chunks = prev.chunks;\n this.buf = prev.buf;\n // write length of chunk as varint\n this.uint32(chunk.byteLength);\n return this.raw(chunk);\n }\n /**\n * Writes a tag (field number and wire type).\n *\n * Equivalent to `uint32( (fieldNo << 3 | type) >>> 0 )`.\n *\n * Generated code should compute the tag ahead of time and call `uint32()`.\n */\n tag(fieldNo, type) {\n return this.uint32((fieldNo << 3 | type) >>> 0);\n }\n /**\n * Write a chunk of raw bytes.\n */\n raw(chunk) {\n if (this.buf.length) {\n this.chunks.push(new Uint8Array(this.buf));\n this.buf = [];\n }\n this.chunks.push(chunk);\n return this;\n }\n /**\n * Write a `uint32` value, an unsigned 32 bit varint.\n */\n uint32(value) {\n assert_1.assertUInt32(value);\n // write value as varint 32, inlined for speed\n while (value > 0x7f) {\n this.buf.push((value & 0x7f) | 0x80);\n value = value >>> 7;\n }\n this.buf.push(value);\n return this;\n }\n /**\n * Write a `int32` value, a signed 32 bit varint.\n */\n int32(value) {\n assert_1.assertInt32(value);\n goog_varint_1.varint32write(value, this.buf);\n return this;\n }\n /**\n * Write a `bool` value, a variant.\n */\n bool(value) {\n this.buf.push(value ? 1 : 0);\n return this;\n }\n /**\n * Write a `bytes` value, length-delimited arbitrary data.\n */\n bytes(value) {\n this.uint32(value.byteLength); // write length of chunk as varint\n return this.raw(value);\n }\n /**\n * Write a `string` value, length-delimited data converted to UTF-8 text.\n */\n string(value) {\n let chunk = this.textEncoder.encode(value);\n this.uint32(chunk.byteLength); // write length of chunk as varint\n return this.raw(chunk);\n }\n /**\n * Write a `float` value, 32-bit floating point number.\n */\n float(value) {\n assert_1.assertFloat32(value);\n let chunk = new Uint8Array(4);\n new DataView(chunk.buffer).setFloat32(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `double` value, a 64-bit floating point number.\n */\n double(value) {\n let chunk = new Uint8Array(8);\n new DataView(chunk.buffer).setFloat64(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `fixed32` value, an unsigned, fixed-length 32-bit integer.\n */\n fixed32(value) {\n assert_1.assertUInt32(value);\n let chunk = new Uint8Array(4);\n new DataView(chunk.buffer).setUint32(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `sfixed32` value, a signed, fixed-length 32-bit integer.\n */\n sfixed32(value) {\n assert_1.assertInt32(value);\n let chunk = new Uint8Array(4);\n new DataView(chunk.buffer).setInt32(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint.\n */\n sint32(value) {\n assert_1.assertInt32(value);\n // zigzag encode\n value = ((value << 1) ^ (value >> 31)) >>> 0;\n goog_varint_1.varint32write(value, this.buf);\n return this;\n }\n /**\n * Write a `fixed64` value, a signed, fixed-length 64-bit integer.\n */\n sfixed64(value) {\n let chunk = new Uint8Array(8);\n let view = new DataView(chunk.buffer);\n let long = pb_long_1.PbLong.from(value);\n view.setInt32(0, long.lo, true);\n view.setInt32(4, long.hi, true);\n return this.raw(chunk);\n }\n /**\n * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer.\n */\n fixed64(value) {\n let chunk = new Uint8Array(8);\n let view = new DataView(chunk.buffer);\n let long = pb_long_1.PbULong.from(value);\n view.setInt32(0, long.lo, true);\n view.setInt32(4, long.hi, true);\n return this.raw(chunk);\n }\n /**\n * Write a `int64` value, a signed 64-bit varint.\n */\n int64(value) {\n let long = pb_long_1.PbLong.from(value);\n goog_varint_1.varint64write(long.lo, long.hi, this.buf);\n return this;\n }\n /**\n * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.\n */\n sint64(value) {\n let long = pb_long_1.PbLong.from(value), \n // zigzag encode\n sign = long.hi >> 31, lo = (long.lo << 1) ^ sign, hi = ((long.hi << 1) | (long.lo >>> 31)) ^ sign;\n goog_varint_1.varint64write(lo, hi, this.buf);\n return this;\n }\n /**\n * Write a `uint64` value, an unsigned 64-bit varint.\n */\n uint64(value) {\n let long = pb_long_1.PbULong.from(value);\n goog_varint_1.varint64write(long.lo, long.hi, this.buf);\n return this;\n }\n}\nexports.BinaryWriter = BinaryWriter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mergeJsonOptions = exports.jsonWriteOptions = exports.jsonReadOptions = void 0;\nconst defaultsWrite = {\n emitDefaultValues: false,\n enumAsInteger: false,\n useProtoFieldName: false,\n prettySpaces: 0,\n}, defaultsRead = {\n ignoreUnknownFields: false,\n};\n/**\n * Make options for reading JSON data from partial options.\n */\nfunction jsonReadOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsRead), options) : defaultsRead;\n}\nexports.jsonReadOptions = jsonReadOptions;\n/**\n * Make options for writing JSON data from partial options.\n */\nfunction jsonWriteOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsWrite), options) : defaultsWrite;\n}\nexports.jsonWriteOptions = jsonWriteOptions;\n/**\n * Merges JSON write or read options. Later values override earlier values. Type registries are merged.\n */\nfunction mergeJsonOptions(a, b) {\n var _a, _b;\n let c = Object.assign(Object.assign({}, a), b);\n c.typeRegistry = [...((_a = a === null || a === void 0 ? void 0 : a.typeRegistry) !== null && _a !== void 0 ? _a : []), ...((_b = b === null || b === void 0 ? void 0 : b.typeRegistry) !== null && _b !== void 0 ? _b : [])];\n return c;\n}\nexports.mergeJsonOptions = mergeJsonOptions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MESSAGE_TYPE = void 0;\n/**\n * The symbol used as a key on message objects to store the message type.\n *\n * Note that this is an experimental feature - it is here to stay, but\n * implementation details may change without notice.\n */\nexports.MESSAGE_TYPE = Symbol.for(\"protobuf-ts/message-type\");\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lowerCamelCase = void 0;\n/**\n * Converts snake_case to lowerCamelCase.\n *\n * Should behave like protoc:\n * https://github.com/protocolbuffers/protobuf/blob/e8ae137c96444ea313485ed1118c5e43b2099cf1/src/google/protobuf/compiler/java/java_helpers.cc#L118\n */\nfunction lowerCamelCase(snakeCase) {\n let capNext = false;\n const sb = [];\n for (let i = 0; i < snakeCase.length; i++) {\n let next = snakeCase.charAt(i);\n if (next == '_') {\n capNext = true;\n }\n else if (/\\d/.test(next)) {\n sb.push(next);\n capNext = true;\n }\n else if (capNext) {\n sb.push(next.toUpperCase());\n capNext = false;\n }\n else if (i == 0) {\n sb.push(next.toLowerCase());\n }\n else {\n sb.push(next);\n }\n }\n return sb.join('');\n}\nexports.lowerCamelCase = lowerCamelCase;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readMessageOption = exports.readFieldOption = exports.readFieldOptions = exports.normalizeFieldInfo = exports.RepeatType = exports.LongType = exports.ScalarType = void 0;\nconst lower_camel_case_1 = require(\"./lower-camel-case\");\n/**\n * Scalar value types. This is a subset of field types declared by protobuf\n * enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE\n * are omitted, but the numerical values are identical.\n */\nvar ScalarType;\n(function (ScalarType) {\n // 0 is reserved for errors.\n // Order is weird for historical reasons.\n ScalarType[ScalarType[\"DOUBLE\"] = 1] = \"DOUBLE\";\n ScalarType[ScalarType[\"FLOAT\"] = 2] = \"FLOAT\";\n // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if\n // negative values are likely.\n ScalarType[ScalarType[\"INT64\"] = 3] = \"INT64\";\n ScalarType[ScalarType[\"UINT64\"] = 4] = \"UINT64\";\n // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if\n // negative values are likely.\n ScalarType[ScalarType[\"INT32\"] = 5] = \"INT32\";\n ScalarType[ScalarType[\"FIXED64\"] = 6] = \"FIXED64\";\n ScalarType[ScalarType[\"FIXED32\"] = 7] = \"FIXED32\";\n ScalarType[ScalarType[\"BOOL\"] = 8] = \"BOOL\";\n ScalarType[ScalarType[\"STRING\"] = 9] = \"STRING\";\n // Tag-delimited aggregate.\n // Group type is deprecated and not supported in proto3. However, Proto3\n // implementations should still be able to parse the group wire format and\n // treat group fields as unknown fields.\n // TYPE_GROUP = 10,\n // TYPE_MESSAGE = 11, // Length-delimited aggregate.\n // New in version 2.\n ScalarType[ScalarType[\"BYTES\"] = 12] = \"BYTES\";\n ScalarType[ScalarType[\"UINT32\"] = 13] = \"UINT32\";\n // TYPE_ENUM = 14,\n ScalarType[ScalarType[\"SFIXED32\"] = 15] = \"SFIXED32\";\n ScalarType[ScalarType[\"SFIXED64\"] = 16] = \"SFIXED64\";\n ScalarType[ScalarType[\"SINT32\"] = 17] = \"SINT32\";\n ScalarType[ScalarType[\"SINT64\"] = 18] = \"SINT64\";\n})(ScalarType = exports.ScalarType || (exports.ScalarType = {}));\n/**\n * JavaScript representation of 64 bit integral types. Equivalent to the\n * field option \"jstype\".\n *\n * By default, protobuf-ts represents 64 bit types as `bigint`.\n *\n * You can change the default behaviour by enabling the plugin parameter\n * `long_type_string`, which will represent 64 bit types as `string`.\n *\n * Alternatively, you can change the behaviour for individual fields\n * with the field option \"jstype\":\n *\n * ```protobuf\n * uint64 my_field = 1 [jstype = JS_STRING];\n * uint64 other_field = 2 [jstype = JS_NUMBER];\n * ```\n */\nvar LongType;\n(function (LongType) {\n /**\n * Use JavaScript `bigint`.\n *\n * Field option `[jstype = JS_NORMAL]`.\n */\n LongType[LongType[\"BIGINT\"] = 0] = \"BIGINT\";\n /**\n * Use JavaScript `string`.\n *\n * Field option `[jstype = JS_STRING]`.\n */\n LongType[LongType[\"STRING\"] = 1] = \"STRING\";\n /**\n * Use JavaScript `number`.\n *\n * Large values will loose precision.\n *\n * Field option `[jstype = JS_NUMBER]`.\n */\n LongType[LongType[\"NUMBER\"] = 2] = \"NUMBER\";\n})(LongType = exports.LongType || (exports.LongType = {}));\n/**\n * Protobuf 2.1.0 introduced packed repeated fields.\n * Setting the field option `[packed = true]` enables packing.\n *\n * In proto3, all repeated fields are packed by default.\n * Setting the field option `[packed = false]` disables packing.\n *\n * Packed repeated fields are encoded with a single tag,\n * then a length-delimiter, then the element values.\n *\n * Unpacked repeated fields are encoded with a tag and\n * value for each element.\n *\n * `bytes` and `string` cannot be packed.\n */\nvar RepeatType;\n(function (RepeatType) {\n /**\n * The field is not repeated.\n */\n RepeatType[RepeatType[\"NO\"] = 0] = \"NO\";\n /**\n * The field is repeated and should be packed.\n * Invalid for `bytes` and `string`, they cannot be packed.\n */\n RepeatType[RepeatType[\"PACKED\"] = 1] = \"PACKED\";\n /**\n * The field is repeated but should not be packed.\n * The only valid repeat type for repeated `bytes` and `string`.\n */\n RepeatType[RepeatType[\"UNPACKED\"] = 2] = \"UNPACKED\";\n})(RepeatType = exports.RepeatType || (exports.RepeatType = {}));\n/**\n * Turns PartialFieldInfo into FieldInfo.\n */\nfunction normalizeFieldInfo(field) {\n var _a, _b, _c, _d;\n field.localName = (_a = field.localName) !== null && _a !== void 0 ? _a : lower_camel_case_1.lowerCamelCase(field.name);\n field.jsonName = (_b = field.jsonName) !== null && _b !== void 0 ? _b : lower_camel_case_1.lowerCamelCase(field.name);\n field.repeat = (_c = field.repeat) !== null && _c !== void 0 ? _c : RepeatType.NO;\n field.opt = (_d = field.opt) !== null && _d !== void 0 ? _d : (field.repeat ? false : field.oneof ? false : field.kind == \"message\");\n return field;\n}\nexports.normalizeFieldInfo = normalizeFieldInfo;\n/**\n * Read custom field options from a generated message type.\n *\n * @deprecated use readFieldOption()\n */\nfunction readFieldOptions(messageType, fieldName, extensionName, extensionType) {\n var _a;\n const options = (_a = messageType.fields.find((m, i) => m.localName == fieldName || i == fieldName)) === null || _a === void 0 ? void 0 : _a.options;\n return options && options[extensionName] ? extensionType.fromJson(options[extensionName]) : undefined;\n}\nexports.readFieldOptions = readFieldOptions;\nfunction readFieldOption(messageType, fieldName, extensionName, extensionType) {\n var _a;\n const options = (_a = messageType.fields.find((m, i) => m.localName == fieldName || i == fieldName)) === null || _a === void 0 ? void 0 : _a.options;\n if (!options) {\n return undefined;\n }\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readFieldOption = readFieldOption;\nfunction readMessageOption(messageType, extensionName, extensionType) {\n const options = messageType.options;\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readMessageOption = readMessageOption;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getSelectedOneofValue = exports.clearOneofValue = exports.setUnknownOneofValue = exports.setOneofValue = exports.getOneofValue = exports.isOneofGroup = void 0;\n/**\n * Is the given value a valid oneof group?\n *\n * We represent protobuf `oneof` as algebraic data types (ADT) in generated\n * code. But when working with messages of unknown type, the ADT does not\n * help us.\n *\n * This type guard checks if the given object adheres to the ADT rules, which\n * are as follows:\n *\n * 1) Must be an object.\n *\n * 2) Must have a \"oneofKind\" discriminator property.\n *\n * 3) If \"oneofKind\" is `undefined`, no member field is selected. The object\n * must not have any other properties.\n *\n * 4) If \"oneofKind\" is a `string`, the member field with this name is\n * selected.\n *\n * 5) If a member field is selected, the object must have a second property\n * with this name. The property must not be `undefined`.\n *\n * 6) No extra properties are allowed. The object has either one property\n * (no selection) or two properties (selection).\n *\n */\nfunction isOneofGroup(any) {\n if (typeof any != 'object' || any === null || !any.hasOwnProperty('oneofKind')) {\n return false;\n }\n switch (typeof any.oneofKind) {\n case \"string\":\n if (any[any.oneofKind] === undefined)\n return false;\n return Object.keys(any).length == 2;\n case \"undefined\":\n return Object.keys(any).length == 1;\n default:\n return false;\n }\n}\nexports.isOneofGroup = isOneofGroup;\n/**\n * Returns the value of the given field in a oneof group.\n */\nfunction getOneofValue(oneof, kind) {\n return oneof[kind];\n}\nexports.getOneofValue = getOneofValue;\nfunction setOneofValue(oneof, kind, value) {\n if (oneof.oneofKind !== undefined) {\n delete oneof[oneof.oneofKind];\n }\n oneof.oneofKind = kind;\n if (value !== undefined) {\n oneof[kind] = value;\n }\n}\nexports.setOneofValue = setOneofValue;\nfunction setUnknownOneofValue(oneof, kind, value) {\n if (oneof.oneofKind !== undefined) {\n delete oneof[oneof.oneofKind];\n }\n oneof.oneofKind = kind;\n if (value !== undefined && kind !== undefined) {\n oneof[kind] = value;\n }\n}\nexports.setUnknownOneofValue = setUnknownOneofValue;\n/**\n * Removes the selected field in a oneof group.\n *\n * Note that the recommended way to modify a oneof group is to set\n * a new object:\n *\n * ```ts\n * message.result = { oneofKind: undefined };\n * ```\n */\nfunction clearOneofValue(oneof) {\n if (oneof.oneofKind !== undefined) {\n delete oneof[oneof.oneofKind];\n }\n oneof.oneofKind = undefined;\n}\nexports.clearOneofValue = clearOneofValue;\n/**\n * Returns the selected value of the given oneof group.\n *\n * Not that the recommended way to access a oneof group is to check\n * the \"oneofKind\" property and let TypeScript narrow down the union\n * type for you:\n *\n * ```ts\n * if (message.result.oneofKind === \"error\") {\n * message.result.error; // string\n * }\n * ```\n *\n * In the rare case you just need the value, and do not care about\n * which protobuf field is selected, you can use this function\n * for convenience.\n */\nfunction getSelectedOneofValue(oneof) {\n if (oneof.oneofKind === undefined) {\n return undefined;\n }\n return oneof[oneof.oneofKind];\n}\nexports.getSelectedOneofValue = getSelectedOneofValue;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionTypeCheck = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\nconst oneof_1 = require(\"./oneof\");\n// noinspection JSMethodCanBeStatic\nclass ReflectionTypeCheck {\n constructor(info) {\n var _a;\n this.fields = (_a = info.fields) !== null && _a !== void 0 ? _a : [];\n }\n prepare() {\n if (this.data)\n return;\n const req = [], known = [], oneofs = [];\n for (let field of this.fields) {\n if (field.oneof) {\n if (!oneofs.includes(field.oneof)) {\n oneofs.push(field.oneof);\n req.push(field.oneof);\n known.push(field.oneof);\n }\n }\n else {\n known.push(field.localName);\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n if (!field.opt || field.repeat)\n req.push(field.localName);\n break;\n case \"message\":\n if (field.repeat)\n req.push(field.localName);\n break;\n case \"map\":\n req.push(field.localName);\n break;\n }\n }\n }\n this.data = { req, known, oneofs: Object.values(oneofs) };\n }\n /**\n * Is the argument a valid message as specified by the\n * reflection information?\n *\n * Checks all field types recursively. The `depth`\n * specifies how deep into the structure the check will be.\n *\n * With a depth of 0, only the presence of fields\n * is checked.\n *\n * With a depth of 1 or more, the field types are checked.\n *\n * With a depth of 2 or more, the members of map, repeated\n * and message fields are checked.\n *\n * Message fields will be checked recursively with depth - 1.\n *\n * The number of map entries / repeated values being checked\n * is < depth.\n */\n is(message, depth, allowExcessProperties = false) {\n if (depth < 0)\n return true;\n if (message === null || message === undefined || typeof message != 'object')\n return false;\n this.prepare();\n let keys = Object.keys(message), data = this.data;\n // if a required field is missing in arg, this cannot be a T\n if (keys.length < data.req.length || data.req.some(n => !keys.includes(n)))\n return false;\n if (!allowExcessProperties) {\n // if the arg contains a key we dont know, this is not a literal T\n if (keys.some(k => !data.known.includes(k)))\n return false;\n }\n // \"With a depth of 0, only the presence and absence of fields is checked.\"\n // \"With a depth of 1 or more, the field types are checked.\"\n if (depth < 1) {\n return true;\n }\n // check oneof group\n for (const name of data.oneofs) {\n const group = message[name];\n if (!oneof_1.isOneofGroup(group))\n return false;\n if (group.oneofKind === undefined)\n continue;\n const field = this.fields.find(f => f.localName === group.oneofKind);\n if (!field)\n return false; // we found no field, but have a kind, something is wrong\n if (!this.field(group[group.oneofKind], field, allowExcessProperties, depth))\n return false;\n }\n // check types\n for (const field of this.fields) {\n if (field.oneof !== undefined)\n continue;\n if (!this.field(message[field.localName], field, allowExcessProperties, depth))\n return false;\n }\n return true;\n }\n field(arg, field, allowExcessProperties, depth) {\n let repeated = field.repeat;\n switch (field.kind) {\n case \"scalar\":\n if (arg === undefined)\n return field.opt;\n if (repeated)\n return this.scalars(arg, field.T, depth, field.L);\n return this.scalar(arg, field.T, field.L);\n case \"enum\":\n if (arg === undefined)\n return field.opt;\n if (repeated)\n return this.scalars(arg, reflection_info_1.ScalarType.INT32, depth);\n return this.scalar(arg, reflection_info_1.ScalarType.INT32);\n case \"message\":\n if (arg === undefined)\n return true;\n if (repeated)\n return this.messages(arg, field.T(), allowExcessProperties, depth);\n return this.message(arg, field.T(), allowExcessProperties, depth);\n case \"map\":\n if (typeof arg != 'object' || arg === null)\n return false;\n if (depth < 2)\n return true;\n if (!this.mapKeys(arg, field.K, depth))\n return false;\n switch (field.V.kind) {\n case \"scalar\":\n return this.scalars(Object.values(arg), field.V.T, depth, field.V.L);\n case \"enum\":\n return this.scalars(Object.values(arg), reflection_info_1.ScalarType.INT32, depth);\n case \"message\":\n return this.messages(Object.values(arg), field.V.T(), allowExcessProperties, depth);\n }\n break;\n }\n return true;\n }\n message(arg, type, allowExcessProperties, depth) {\n if (allowExcessProperties) {\n return type.isAssignable(arg, depth);\n }\n return type.is(arg, depth);\n }\n messages(arg, type, allowExcessProperties, depth) {\n if (!Array.isArray(arg))\n return false;\n if (depth < 2)\n return true;\n if (allowExcessProperties) {\n for (let i = 0; i < arg.length && i < depth; i++)\n if (!type.isAssignable(arg[i], depth - 1))\n return false;\n }\n else {\n for (let i = 0; i < arg.length && i < depth; i++)\n if (!type.is(arg[i], depth - 1))\n return false;\n }\n return true;\n }\n scalar(arg, type, longType) {\n let argType = typeof arg;\n switch (type) {\n case reflection_info_1.ScalarType.UINT64:\n case reflection_info_1.ScalarType.FIXED64:\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n switch (longType) {\n case reflection_info_1.LongType.BIGINT:\n return argType == \"bigint\";\n case reflection_info_1.LongType.NUMBER:\n return argType == \"number\" && !isNaN(arg);\n default:\n return argType == \"string\";\n }\n case reflection_info_1.ScalarType.BOOL:\n return argType == 'boolean';\n case reflection_info_1.ScalarType.STRING:\n return argType == 'string';\n case reflection_info_1.ScalarType.BYTES:\n return arg instanceof Uint8Array;\n case reflection_info_1.ScalarType.DOUBLE:\n case reflection_info_1.ScalarType.FLOAT:\n return argType == 'number' && !isNaN(arg);\n default:\n // case ScalarType.UINT32:\n // case ScalarType.FIXED32:\n // case ScalarType.INT32:\n // case ScalarType.SINT32:\n // case ScalarType.SFIXED32:\n return argType == 'number' && Number.isInteger(arg);\n }\n }\n scalars(arg, type, depth, longType) {\n if (!Array.isArray(arg))\n return false;\n if (depth < 2)\n return true;\n if (Array.isArray(arg))\n for (let i = 0; i < arg.length && i < depth; i++)\n if (!this.scalar(arg[i], type, longType))\n return false;\n return true;\n }\n mapKeys(map, type, depth) {\n let keys = Object.keys(map);\n switch (type) {\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n case reflection_info_1.ScalarType.UINT32:\n return this.scalars(keys.slice(0, depth).map(k => parseInt(k)), type, depth);\n case reflection_info_1.ScalarType.BOOL:\n return this.scalars(keys.slice(0, depth).map(k => k == 'true' ? true : k == 'false' ? false : k), type, depth);\n default:\n return this.scalars(keys, type, depth, reflection_info_1.LongType.STRING);\n }\n }\n}\nexports.ReflectionTypeCheck = ReflectionTypeCheck;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionLongConvert = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\n/**\n * Utility method to convert a PbLong or PbUlong to a JavaScript\n * representation during runtime.\n *\n * Works with generated field information, `undefined` is equivalent\n * to `STRING`.\n */\nfunction reflectionLongConvert(long, type) {\n switch (type) {\n case reflection_info_1.LongType.BIGINT:\n return long.toBigInt();\n case reflection_info_1.LongType.NUMBER:\n return long.toNumber();\n default:\n // case undefined:\n // case LongType.STRING:\n return long.toString();\n }\n}\nexports.reflectionLongConvert = reflectionLongConvert;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionJsonReader = void 0;\nconst json_typings_1 = require(\"./json-typings\");\nconst base64_1 = require(\"./base64\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst pb_long_1 = require(\"./pb-long\");\nconst assert_1 = require(\"./assert\");\nconst reflection_long_convert_1 = require(\"./reflection-long-convert\");\n/**\n * Reads proto3 messages in canonical JSON format using reflection information.\n *\n * https://developers.google.com/protocol-buffers/docs/proto3#json\n */\nclass ReflectionJsonReader {\n constructor(info) {\n this.info = info;\n }\n prepare() {\n var _a;\n if (this.fMap === undefined) {\n this.fMap = {};\n const fieldsInput = (_a = this.info.fields) !== null && _a !== void 0 ? _a : [];\n for (const field of fieldsInput) {\n this.fMap[field.name] = field;\n this.fMap[field.jsonName] = field;\n this.fMap[field.localName] = field;\n }\n }\n }\n // Cannot parse JSON <type of jsonValue> for <type name>#<fieldName>.\n assert(condition, fieldName, jsonValue) {\n if (!condition) {\n let what = json_typings_1.typeofJsonValue(jsonValue);\n if (what == \"number\" || what == \"boolean\")\n what = jsonValue.toString();\n throw new Error(`Cannot parse JSON ${what} for ${this.info.typeName}#${fieldName}`);\n }\n }\n /**\n * Reads a message from canonical JSON format into the target message.\n *\n * Repeated fields are appended. Map entries are added, overwriting\n * existing keys.\n *\n * If a message field is already present, it will be merged with the\n * new data.\n */\n read(input, message, options) {\n this.prepare();\n const oneofsHandled = [];\n for (const [jsonKey, jsonValue] of Object.entries(input)) {\n const field = this.fMap[jsonKey];\n if (!field) {\n if (!options.ignoreUnknownFields)\n throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${jsonKey}`);\n continue;\n }\n const localName = field.localName;\n // handle oneof ADT\n let target; // this will be the target for the field value, whether it is member of a oneof or not\n if (field.oneof) {\n if (jsonValue === null && (field.kind !== 'enum' || field.T()[0] !== 'google.protobuf.NullValue')) {\n continue;\n }\n // since json objects are unordered by specification, it is not possible to take the last of multiple oneofs\n if (oneofsHandled.includes(field.oneof))\n throw new Error(`Multiple members of the oneof group \"${field.oneof}\" of ${this.info.typeName} are present in JSON.`);\n oneofsHandled.push(field.oneof);\n target = message[field.oneof] = {\n oneofKind: localName\n };\n }\n else {\n target = message;\n }\n // we have handled oneof above. we just have read the value into `target`.\n if (field.kind == 'map') {\n if (jsonValue === null) {\n continue;\n }\n // check input\n this.assert(json_typings_1.isJsonObject(jsonValue), field.name, jsonValue);\n // our target to put map entries into\n const fieldObj = target[localName];\n // read entries\n for (const [jsonObjKey, jsonObjValue] of Object.entries(jsonValue)) {\n this.assert(jsonObjValue !== null, field.name + \" map value\", null);\n // read value\n let val;\n switch (field.V.kind) {\n case \"message\":\n val = field.V.T().internalJsonRead(jsonObjValue, options);\n break;\n case \"enum\":\n val = this.enum(field.V.T(), jsonObjValue, field.name, options.ignoreUnknownFields);\n if (val === false)\n continue;\n break;\n case \"scalar\":\n val = this.scalar(jsonObjValue, field.V.T, field.V.L, field.name);\n break;\n }\n this.assert(val !== undefined, field.name + \" map value\", jsonObjValue);\n // read key\n let key = jsonObjKey;\n if (field.K == reflection_info_1.ScalarType.BOOL)\n key = key == \"true\" ? true : key == \"false\" ? false : key;\n key = this.scalar(key, field.K, reflection_info_1.LongType.STRING, field.name).toString();\n fieldObj[key] = val;\n }\n }\n else if (field.repeat) {\n if (jsonValue === null)\n continue;\n // check input\n this.assert(Array.isArray(jsonValue), field.name, jsonValue);\n // our target to put array entries into\n const fieldArr = target[localName];\n // read array entries\n for (const jsonItem of jsonValue) {\n this.assert(jsonItem !== null, field.name, null);\n let val;\n switch (field.kind) {\n case \"message\":\n val = field.T().internalJsonRead(jsonItem, options);\n break;\n case \"enum\":\n val = this.enum(field.T(), jsonItem, field.name, options.ignoreUnknownFields);\n if (val === false)\n continue;\n break;\n case \"scalar\":\n val = this.scalar(jsonItem, field.T, field.L, field.name);\n break;\n }\n this.assert(val !== undefined, field.name, jsonValue);\n fieldArr.push(val);\n }\n }\n else {\n switch (field.kind) {\n case \"message\":\n if (jsonValue === null && field.T().typeName != 'google.protobuf.Value') {\n this.assert(field.oneof === undefined, field.name + \" (oneof member)\", null);\n continue;\n }\n target[localName] = field.T().internalJsonRead(jsonValue, options, target[localName]);\n break;\n case \"enum\":\n if (jsonValue === null)\n continue;\n let val = this.enum(field.T(), jsonValue, field.name, options.ignoreUnknownFields);\n if (val === false)\n continue;\n target[localName] = val;\n break;\n case \"scalar\":\n if (jsonValue === null)\n continue;\n target[localName] = this.scalar(jsonValue, field.T, field.L, field.name);\n break;\n }\n }\n }\n }\n /**\n * Returns `false` for unrecognized string representations.\n *\n * google.protobuf.NullValue accepts only JSON `null` (or the old `\"NULL_VALUE\"`).\n */\n enum(type, json, fieldName, ignoreUnknownFields) {\n if (type[0] == 'google.protobuf.NullValue')\n assert_1.assert(json === null || json === \"NULL_VALUE\", `Unable to parse field ${this.info.typeName}#${fieldName}, enum ${type[0]} only accepts null.`);\n if (json === null)\n // we require 0 to be default value for all enums\n return 0;\n switch (typeof json) {\n case \"number\":\n assert_1.assert(Number.isInteger(json), `Unable to parse field ${this.info.typeName}#${fieldName}, enum can only be integral number, got ${json}.`);\n return json;\n case \"string\":\n let localEnumName = json;\n if (type[2] && json.substring(0, type[2].length) === type[2])\n // lookup without the shared prefix\n localEnumName = json.substring(type[2].length);\n let enumNumber = type[1][localEnumName];\n if (typeof enumNumber === 'undefined' && ignoreUnknownFields) {\n return false;\n }\n assert_1.assert(typeof enumNumber == \"number\", `Unable to parse field ${this.info.typeName}#${fieldName}, enum ${type[0]} has no value for \"${json}\".`);\n return enumNumber;\n }\n assert_1.assert(false, `Unable to parse field ${this.info.typeName}#${fieldName}, cannot parse enum value from ${typeof json}\".`);\n }\n scalar(json, type, longType, fieldName) {\n let e;\n try {\n switch (type) {\n // float, double: JSON value will be a number or one of the special string values \"NaN\", \"Infinity\", and \"-Infinity\".\n // Either numbers or strings are accepted. Exponent notation is also accepted.\n case reflection_info_1.ScalarType.DOUBLE:\n case reflection_info_1.ScalarType.FLOAT:\n if (json === null)\n return .0;\n if (json === \"NaN\")\n return Number.NaN;\n if (json === \"Infinity\")\n return Number.POSITIVE_INFINITY;\n if (json === \"-Infinity\")\n return Number.NEGATIVE_INFINITY;\n if (json === \"\") {\n e = \"empty string\";\n break;\n }\n if (typeof json == \"string\" && json.trim().length !== json.length) {\n e = \"extra whitespace\";\n break;\n }\n if (typeof json != \"string\" && typeof json != \"number\") {\n break;\n }\n let float = Number(json);\n if (Number.isNaN(float)) {\n e = \"not a number\";\n break;\n }\n if (!Number.isFinite(float)) {\n // infinity and -infinity are handled by string representation above, so this is an error\n e = \"too large or small\";\n break;\n }\n if (type == reflection_info_1.ScalarType.FLOAT)\n assert_1.assertFloat32(float);\n return float;\n // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n case reflection_info_1.ScalarType.UINT32:\n if (json === null)\n return 0;\n let int32;\n if (typeof json == \"number\")\n int32 = json;\n else if (json === \"\")\n e = \"empty string\";\n else if (typeof json == \"string\") {\n if (json.trim().length !== json.length)\n e = \"extra whitespace\";\n else\n int32 = Number(json);\n }\n if (int32 === undefined)\n break;\n if (type == reflection_info_1.ScalarType.UINT32)\n assert_1.assertUInt32(int32);\n else\n assert_1.assertInt32(int32);\n return int32;\n // int64, fixed64, uint64: JSON value will be a decimal string. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n if (json === null)\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbLong.ZERO, longType);\n if (typeof json != \"number\" && typeof json != \"string\")\n break;\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbLong.from(json), longType);\n case reflection_info_1.ScalarType.FIXED64:\n case reflection_info_1.ScalarType.UINT64:\n if (json === null)\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbULong.ZERO, longType);\n if (typeof json != \"number\" && typeof json != \"string\")\n break;\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbULong.from(json), longType);\n // bool:\n case reflection_info_1.ScalarType.BOOL:\n if (json === null)\n return false;\n if (typeof json !== \"boolean\")\n break;\n return json;\n // string:\n case reflection_info_1.ScalarType.STRING:\n if (json === null)\n return \"\";\n if (typeof json !== \"string\") {\n e = \"extra whitespace\";\n break;\n }\n try {\n encodeURIComponent(json);\n }\n catch (e) {\n e = \"invalid UTF8\";\n break;\n }\n return json;\n // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.\n // Either standard or URL-safe base64 encoding with/without paddings are accepted.\n case reflection_info_1.ScalarType.BYTES:\n if (json === null || json === \"\")\n return new Uint8Array(0);\n if (typeof json !== 'string')\n break;\n return base64_1.base64decode(json);\n }\n }\n catch (error) {\n e = error.message;\n }\n this.assert(false, fieldName + (e ? \" - \" + e : \"\"), json);\n }\n}\nexports.ReflectionJsonReader = ReflectionJsonReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionJsonWriter = void 0;\nconst base64_1 = require(\"./base64\");\nconst pb_long_1 = require(\"./pb-long\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst assert_1 = require(\"./assert\");\n/**\n * Writes proto3 messages in canonical JSON format using reflection\n * information.\n *\n * https://developers.google.com/protocol-buffers/docs/proto3#json\n */\nclass ReflectionJsonWriter {\n constructor(info) {\n var _a;\n this.fields = (_a = info.fields) !== null && _a !== void 0 ? _a : [];\n }\n /**\n * Converts the message to a JSON object, based on the field descriptors.\n */\n write(message, options) {\n const json = {}, source = message;\n for (const field of this.fields) {\n // field is not part of a oneof, simply write as is\n if (!field.oneof) {\n let jsonValue = this.field(field, source[field.localName], options);\n if (jsonValue !== undefined)\n json[options.useProtoFieldName ? field.name : field.jsonName] = jsonValue;\n continue;\n }\n // field is part of a oneof\n const group = source[field.oneof];\n if (group.oneofKind !== field.localName)\n continue; // not selected, skip\n const opt = field.kind == 'scalar' || field.kind == 'enum'\n ? Object.assign(Object.assign({}, options), { emitDefaultValues: true }) : options;\n let jsonValue = this.field(field, group[field.localName], opt);\n assert_1.assert(jsonValue !== undefined);\n json[options.useProtoFieldName ? field.name : field.jsonName] = jsonValue;\n }\n return json;\n }\n field(field, value, options) {\n let jsonValue = undefined;\n if (field.kind == 'map') {\n assert_1.assert(typeof value == \"object\" && value !== null);\n const jsonObj = {};\n switch (field.V.kind) {\n case \"scalar\":\n for (const [entryKey, entryValue] of Object.entries(value)) {\n const val = this.scalar(field.V.T, entryValue, field.name, false, true);\n assert_1.assert(val !== undefined);\n jsonObj[entryKey.toString()] = val; // JSON standard allows only (double quoted) string as property key\n }\n break;\n case \"message\":\n const messageType = field.V.T();\n for (const [entryKey, entryValue] of Object.entries(value)) {\n const val = this.message(messageType, entryValue, field.name, options);\n assert_1.assert(val !== undefined);\n jsonObj[entryKey.toString()] = val; // JSON standard allows only (double quoted) string as property key\n }\n break;\n case \"enum\":\n const enumInfo = field.V.T();\n for (const [entryKey, entryValue] of Object.entries(value)) {\n assert_1.assert(entryValue === undefined || typeof entryValue == 'number');\n const val = this.enum(enumInfo, entryValue, field.name, false, true, options.enumAsInteger);\n assert_1.assert(val !== undefined);\n jsonObj[entryKey.toString()] = val; // JSON standard allows only (double quoted) string as property key\n }\n break;\n }\n if (options.emitDefaultValues || Object.keys(jsonObj).length > 0)\n jsonValue = jsonObj;\n }\n else if (field.repeat) {\n assert_1.assert(Array.isArray(value));\n const jsonArr = [];\n switch (field.kind) {\n case \"scalar\":\n for (let i = 0; i < value.length; i++) {\n const val = this.scalar(field.T, value[i], field.name, field.opt, true);\n assert_1.assert(val !== undefined);\n jsonArr.push(val);\n }\n break;\n case \"enum\":\n const enumInfo = field.T();\n for (let i = 0; i < value.length; i++) {\n assert_1.assert(value[i] === undefined || typeof value[i] == 'number');\n const val = this.enum(enumInfo, value[i], field.name, field.opt, true, options.enumAsInteger);\n assert_1.assert(val !== undefined);\n jsonArr.push(val);\n }\n break;\n case \"message\":\n const messageType = field.T();\n for (let i = 0; i < value.length; i++) {\n const val = this.message(messageType, value[i], field.name, options);\n assert_1.assert(val !== undefined);\n jsonArr.push(val);\n }\n break;\n }\n // add converted array to json output\n if (options.emitDefaultValues || jsonArr.length > 0 || options.emitDefaultValues)\n jsonValue = jsonArr;\n }\n else {\n switch (field.kind) {\n case \"scalar\":\n jsonValue = this.scalar(field.T, value, field.name, field.opt, options.emitDefaultValues);\n break;\n case \"enum\":\n jsonValue = this.enum(field.T(), value, field.name, field.opt, options.emitDefaultValues, options.enumAsInteger);\n break;\n case \"message\":\n jsonValue = this.message(field.T(), value, field.name, options);\n break;\n }\n }\n return jsonValue;\n }\n /**\n * Returns `null` as the default for google.protobuf.NullValue.\n */\n enum(type, value, fieldName, optional, emitDefaultValues, enumAsInteger) {\n if (type[0] == 'google.protobuf.NullValue')\n return !emitDefaultValues && !optional ? undefined : null;\n if (value === undefined) {\n assert_1.assert(optional);\n return undefined;\n }\n if (value === 0 && !emitDefaultValues && !optional)\n // we require 0 to be default value for all enums\n return undefined;\n assert_1.assert(typeof value == 'number');\n assert_1.assert(Number.isInteger(value));\n if (enumAsInteger || !type[1].hasOwnProperty(value))\n // if we don't now the enum value, just return the number\n return value;\n if (type[2])\n // restore the dropped prefix\n return type[2] + type[1][value];\n return type[1][value];\n }\n message(type, value, fieldName, options) {\n if (value === undefined)\n return options.emitDefaultValues ? null : undefined;\n return type.internalJsonWrite(value, options);\n }\n scalar(type, value, fieldName, optional, emitDefaultValues) {\n if (value === undefined) {\n assert_1.assert(optional);\n return undefined;\n }\n const ed = emitDefaultValues || optional;\n // noinspection FallThroughInSwitchStatementJS\n switch (type) {\n // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n if (value === 0)\n return ed ? 0 : undefined;\n assert_1.assertInt32(value);\n return value;\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.UINT32:\n if (value === 0)\n return ed ? 0 : undefined;\n assert_1.assertUInt32(value);\n return value;\n // float, double: JSON value will be a number or one of the special string values \"NaN\", \"Infinity\", and \"-Infinity\".\n // Either numbers or strings are accepted. Exponent notation is also accepted.\n case reflection_info_1.ScalarType.FLOAT:\n assert_1.assertFloat32(value);\n case reflection_info_1.ScalarType.DOUBLE:\n if (value === 0)\n return ed ? 0 : undefined;\n assert_1.assert(typeof value == 'number');\n if (Number.isNaN(value))\n return 'NaN';\n if (value === Number.POSITIVE_INFINITY)\n return 'Infinity';\n if (value === Number.NEGATIVE_INFINITY)\n return '-Infinity';\n return value;\n // string:\n case reflection_info_1.ScalarType.STRING:\n if (value === \"\")\n return ed ? '' : undefined;\n assert_1.assert(typeof value == 'string');\n return value;\n // bool:\n case reflection_info_1.ScalarType.BOOL:\n if (value === false)\n return ed ? false : undefined;\n assert_1.assert(typeof value == 'boolean');\n return value;\n // JSON value will be a decimal string. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.UINT64:\n case reflection_info_1.ScalarType.FIXED64:\n assert_1.assert(typeof value == 'number' || typeof value == 'string' || typeof value == 'bigint');\n let ulong = pb_long_1.PbULong.from(value);\n if (ulong.isZero() && !ed)\n return undefined;\n return ulong.toString();\n // JSON value will be a decimal string. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n assert_1.assert(typeof value == 'number' || typeof value == 'string' || typeof value == 'bigint');\n let long = pb_long_1.PbLong.from(value);\n if (long.isZero() && !ed)\n return undefined;\n return long.toString();\n // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.\n // Either standard or URL-safe base64 encoding with/without paddings are accepted.\n case reflection_info_1.ScalarType.BYTES:\n assert_1.assert(value instanceof Uint8Array);\n if (!value.byteLength)\n return ed ? \"\" : undefined;\n return base64_1.base64encode(value);\n }\n }\n}\nexports.ReflectionJsonWriter = ReflectionJsonWriter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionScalarDefault = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\nconst reflection_long_convert_1 = require(\"./reflection-long-convert\");\nconst pb_long_1 = require(\"./pb-long\");\n/**\n * Creates the default value for a scalar type.\n */\nfunction reflectionScalarDefault(type, longType = reflection_info_1.LongType.STRING) {\n switch (type) {\n case reflection_info_1.ScalarType.BOOL:\n return false;\n case reflection_info_1.ScalarType.UINT64:\n case reflection_info_1.ScalarType.FIXED64:\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbULong.ZERO, longType);\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbLong.ZERO, longType);\n case reflection_info_1.ScalarType.DOUBLE:\n case reflection_info_1.ScalarType.FLOAT:\n return 0.0;\n case reflection_info_1.ScalarType.BYTES:\n return new Uint8Array(0);\n case reflection_info_1.ScalarType.STRING:\n return \"\";\n default:\n // case ScalarType.INT32:\n // case ScalarType.UINT32:\n // case ScalarType.SINT32:\n // case ScalarType.FIXED32:\n // case ScalarType.SFIXED32:\n return 0;\n }\n}\nexports.reflectionScalarDefault = reflectionScalarDefault;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionBinaryReader = void 0;\nconst binary_format_contract_1 = require(\"./binary-format-contract\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst reflection_long_convert_1 = require(\"./reflection-long-convert\");\nconst reflection_scalar_default_1 = require(\"./reflection-scalar-default\");\n/**\n * Reads proto3 messages in binary format using reflection information.\n *\n * https://developers.google.com/protocol-buffers/docs/encoding\n */\nclass ReflectionBinaryReader {\n constructor(info) {\n this.info = info;\n }\n prepare() {\n var _a;\n if (!this.fieldNoToField) {\n const fieldsInput = (_a = this.info.fields) !== null && _a !== void 0 ? _a : [];\n this.fieldNoToField = new Map(fieldsInput.map(field => [field.no, field]));\n }\n }\n /**\n * Reads a message from binary format into the target message.\n *\n * Repeated fields are appended. Map entries are added, overwriting\n * existing keys.\n *\n * If a message field is already present, it will be merged with the\n * new data.\n */\n read(reader, message, options, length) {\n this.prepare();\n const end = length === undefined ? reader.len : reader.pos + length;\n while (reader.pos < end) {\n // read the tag and find the field\n const [fieldNo, wireType] = reader.tag(), field = this.fieldNoToField.get(fieldNo);\n if (!field) {\n let u = options.readUnknownField;\n if (u == \"throw\")\n throw new Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.info.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? binary_format_contract_1.UnknownFieldHandler.onRead : u)(this.info.typeName, message, fieldNo, wireType, d);\n continue;\n }\n // target object for the field we are reading\n let target = message, repeated = field.repeat, localName = field.localName;\n // if field is member of oneof ADT, use ADT as target\n if (field.oneof) {\n target = target[field.oneof];\n // if other oneof member selected, set new ADT\n if (target.oneofKind !== localName)\n target = message[field.oneof] = {\n oneofKind: localName\n };\n }\n // we have handled oneof above, we just have read the value into `target[localName]`\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n let T = field.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.T;\n let L = field.kind == \"scalar\" ? field.L : undefined;\n if (repeated) {\n let arr = target[localName]; // safe to assume presence of array, oneof cannot contain repeated values\n if (wireType == binary_format_contract_1.WireType.LengthDelimited && T != reflection_info_1.ScalarType.STRING && T != reflection_info_1.ScalarType.BYTES) {\n let e = reader.uint32() + reader.pos;\n while (reader.pos < e)\n arr.push(this.scalar(reader, T, L));\n }\n else\n arr.push(this.scalar(reader, T, L));\n }\n else\n target[localName] = this.scalar(reader, T, L);\n break;\n case \"message\":\n if (repeated) {\n let arr = target[localName]; // safe to assume presence of array, oneof cannot contain repeated values\n let msg = field.T().internalBinaryRead(reader, reader.uint32(), options);\n arr.push(msg);\n }\n else\n target[localName] = field.T().internalBinaryRead(reader, reader.uint32(), options, target[localName]);\n break;\n case \"map\":\n let [mapKey, mapVal] = this.mapEntry(field, reader, options);\n // safe to assume presence of map object, oneof cannot contain repeated values\n target[localName][mapKey] = mapVal;\n break;\n }\n }\n }\n /**\n * Read a map field, expecting key field = 1, value field = 2\n */\n mapEntry(field, reader, options) {\n let length = reader.uint32();\n let end = reader.pos + length;\n let key = undefined; // javascript only allows number or string for object properties\n let val = undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n if (field.K == reflection_info_1.ScalarType.BOOL)\n key = reader.bool().toString();\n else\n // long types are read as string, number types are okay as number\n key = this.scalar(reader, field.K, reflection_info_1.LongType.STRING);\n break;\n case 2:\n switch (field.V.kind) {\n case \"scalar\":\n val = this.scalar(reader, field.V.T, field.V.L);\n break;\n case \"enum\":\n val = reader.int32();\n break;\n case \"message\":\n val = field.V.T().internalBinaryRead(reader, reader.uint32(), options);\n break;\n }\n break;\n default:\n throw new Error(`Unknown field ${fieldNo} (wire type ${wireType}) in map entry for ${this.info.typeName}#${field.name}`);\n }\n }\n if (key === undefined) {\n let keyRaw = reflection_scalar_default_1.reflectionScalarDefault(field.K);\n key = field.K == reflection_info_1.ScalarType.BOOL ? keyRaw.toString() : keyRaw;\n }\n if (val === undefined)\n switch (field.V.kind) {\n case \"scalar\":\n val = reflection_scalar_default_1.reflectionScalarDefault(field.V.T, field.V.L);\n break;\n case \"enum\":\n val = 0;\n break;\n case \"message\":\n val = field.V.T().create();\n break;\n }\n return [key, val];\n }\n scalar(reader, type, longType) {\n switch (type) {\n case reflection_info_1.ScalarType.INT32:\n return reader.int32();\n case reflection_info_1.ScalarType.STRING:\n return reader.string();\n case reflection_info_1.ScalarType.BOOL:\n return reader.bool();\n case reflection_info_1.ScalarType.DOUBLE:\n return reader.double();\n case reflection_info_1.ScalarType.FLOAT:\n return reader.float();\n case reflection_info_1.ScalarType.INT64:\n return reflection_long_convert_1.reflectionLongConvert(reader.int64(), longType);\n case reflection_info_1.ScalarType.UINT64:\n return reflection_long_convert_1.reflectionLongConvert(reader.uint64(), longType);\n case reflection_info_1.ScalarType.FIXED64:\n return reflection_long_convert_1.reflectionLongConvert(reader.fixed64(), longType);\n case reflection_info_1.ScalarType.FIXED32:\n return reader.fixed32();\n case reflection_info_1.ScalarType.BYTES:\n return reader.bytes();\n case reflection_info_1.ScalarType.UINT32:\n return reader.uint32();\n case reflection_info_1.ScalarType.SFIXED32:\n return reader.sfixed32();\n case reflection_info_1.ScalarType.SFIXED64:\n return reflection_long_convert_1.reflectionLongConvert(reader.sfixed64(), longType);\n case reflection_info_1.ScalarType.SINT32:\n return reader.sint32();\n case reflection_info_1.ScalarType.SINT64:\n return reflection_long_convert_1.reflectionLongConvert(reader.sint64(), longType);\n }\n }\n}\nexports.ReflectionBinaryReader = ReflectionBinaryReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionBinaryWriter = void 0;\nconst binary_format_contract_1 = require(\"./binary-format-contract\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst assert_1 = require(\"./assert\");\nconst pb_long_1 = require(\"./pb-long\");\n/**\n * Writes proto3 messages in binary format using reflection information.\n *\n * https://developers.google.com/protocol-buffers/docs/encoding\n */\nclass ReflectionBinaryWriter {\n constructor(info) {\n this.info = info;\n }\n prepare() {\n if (!this.fields) {\n const fieldsInput = this.info.fields ? this.info.fields.concat() : [];\n this.fields = fieldsInput.sort((a, b) => a.no - b.no);\n }\n }\n /**\n * Writes the message to binary format.\n */\n write(message, writer, options) {\n this.prepare();\n for (const field of this.fields) {\n let value, // this will be our field value, whether it is member of a oneof or not\n emitDefault, // whether we emit the default value (only true for oneof members)\n repeated = field.repeat, localName = field.localName;\n // handle oneof ADT\n if (field.oneof) {\n const group = message[field.oneof];\n if (group.oneofKind !== localName)\n continue; // if field is not selected, skip\n value = group[localName];\n emitDefault = true;\n }\n else {\n value = message[localName];\n emitDefault = false;\n }\n // we have handled oneof above. we just have to honor `emitDefault`.\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n let T = field.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.T;\n if (repeated) {\n assert_1.assert(Array.isArray(value));\n if (repeated == reflection_info_1.RepeatType.PACKED)\n this.packed(writer, T, field.no, value);\n else\n for (const item of value)\n this.scalar(writer, T, field.no, item, true);\n }\n else if (value === undefined)\n assert_1.assert(field.opt);\n else\n this.scalar(writer, T, field.no, value, emitDefault || field.opt);\n break;\n case \"message\":\n if (repeated) {\n assert_1.assert(Array.isArray(value));\n for (const item of value)\n this.message(writer, options, field.T(), field.no, item);\n }\n else {\n this.message(writer, options, field.T(), field.no, value);\n }\n break;\n case \"map\":\n assert_1.assert(typeof value == 'object' && value !== null);\n for (const [key, val] of Object.entries(value))\n this.mapEntry(writer, options, field, key, val);\n break;\n }\n }\n let u = options.writeUnknownFields;\n if (u !== false)\n (u === true ? binary_format_contract_1.UnknownFieldHandler.onWrite : u)(this.info.typeName, message, writer);\n }\n mapEntry(writer, options, field, key, value) {\n writer.tag(field.no, binary_format_contract_1.WireType.LengthDelimited);\n writer.fork();\n // javascript only allows number or string for object properties\n // we convert from our representation to the protobuf type\n let keyValue = key;\n switch (field.K) {\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.UINT32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n keyValue = Number.parseInt(key);\n break;\n case reflection_info_1.ScalarType.BOOL:\n assert_1.assert(key == 'true' || key == 'false');\n keyValue = key == 'true';\n break;\n }\n // write key, expecting key field number = 1\n this.scalar(writer, field.K, 1, keyValue, true);\n // write value, expecting value field number = 2\n switch (field.V.kind) {\n case 'scalar':\n this.scalar(writer, field.V.T, 2, value, true);\n break;\n case 'enum':\n this.scalar(writer, reflection_info_1.ScalarType.INT32, 2, value, true);\n break;\n case 'message':\n this.message(writer, options, field.V.T(), 2, value);\n break;\n }\n writer.join();\n }\n message(writer, options, handler, fieldNo, value) {\n if (value === undefined)\n return;\n handler.internalBinaryWrite(value, writer.tag(fieldNo, binary_format_contract_1.WireType.LengthDelimited).fork(), options);\n writer.join();\n }\n /**\n * Write a single scalar value.\n */\n scalar(writer, type, fieldNo, value, emitDefault) {\n let [wireType, method, isDefault] = this.scalarInfo(type, value);\n if (!isDefault || emitDefault) {\n writer.tag(fieldNo, wireType);\n writer[method](value);\n }\n }\n /**\n * Write an array of scalar values in packed format.\n */\n packed(writer, type, fieldNo, value) {\n if (!value.length)\n return;\n assert_1.assert(type !== reflection_info_1.ScalarType.BYTES && type !== reflection_info_1.ScalarType.STRING);\n // write tag\n writer.tag(fieldNo, binary_format_contract_1.WireType.LengthDelimited);\n // begin length-delimited\n writer.fork();\n // write values without tags\n let [, method,] = this.scalarInfo(type);\n for (let i = 0; i < value.length; i++)\n writer[method](value[i]);\n // end length delimited\n writer.join();\n }\n /**\n * Get information for writing a scalar value.\n *\n * Returns tuple:\n * [0]: appropriate WireType\n * [1]: name of the appropriate method of IBinaryWriter\n * [2]: whether the given value is a default value\n *\n * If argument `value` is omitted, [2] is always false.\n */\n scalarInfo(type, value) {\n let t = binary_format_contract_1.WireType.Varint;\n let m;\n let i = value === undefined;\n let d = value === 0;\n switch (type) {\n case reflection_info_1.ScalarType.INT32:\n m = \"int32\";\n break;\n case reflection_info_1.ScalarType.STRING:\n d = i || !value.length;\n t = binary_format_contract_1.WireType.LengthDelimited;\n m = \"string\";\n break;\n case reflection_info_1.ScalarType.BOOL:\n d = value === false;\n m = \"bool\";\n break;\n case reflection_info_1.ScalarType.UINT32:\n m = \"uint32\";\n break;\n case reflection_info_1.ScalarType.DOUBLE:\n t = binary_format_contract_1.WireType.Bit64;\n m = \"double\";\n break;\n case reflection_info_1.ScalarType.FLOAT:\n t = binary_format_contract_1.WireType.Bit32;\n m = \"float\";\n break;\n case reflection_info_1.ScalarType.INT64:\n d = i || pb_long_1.PbLong.from(value).isZero();\n m = \"int64\";\n break;\n case reflection_info_1.ScalarType.UINT64:\n d = i || pb_long_1.PbULong.from(value).isZero();\n m = \"uint64\";\n break;\n case reflection_info_1.ScalarType.FIXED64:\n d = i || pb_long_1.PbULong.from(value).isZero();\n t = binary_format_contract_1.WireType.Bit64;\n m = \"fixed64\";\n break;\n case reflection_info_1.ScalarType.BYTES:\n d = i || !value.byteLength;\n t = binary_format_contract_1.WireType.LengthDelimited;\n m = \"bytes\";\n break;\n case reflection_info_1.ScalarType.FIXED32:\n t = binary_format_contract_1.WireType.Bit32;\n m = \"fixed32\";\n break;\n case reflection_info_1.ScalarType.SFIXED32:\n t = binary_format_contract_1.WireType.Bit32;\n m = \"sfixed32\";\n break;\n case reflection_info_1.ScalarType.SFIXED64:\n d = i || pb_long_1.PbLong.from(value).isZero();\n t = binary_format_contract_1.WireType.Bit64;\n m = \"sfixed64\";\n break;\n case reflection_info_1.ScalarType.SINT32:\n m = \"sint32\";\n break;\n case reflection_info_1.ScalarType.SINT64:\n d = i || pb_long_1.PbLong.from(value).isZero();\n m = \"sint64\";\n break;\n }\n return [t, m, i || d];\n }\n}\nexports.ReflectionBinaryWriter = ReflectionBinaryWriter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionCreate = void 0;\nconst reflection_scalar_default_1 = require(\"./reflection-scalar-default\");\nconst message_type_contract_1 = require(\"./message-type-contract\");\n/**\n * Creates an instance of the generic message, using the field\n * information.\n */\nfunction reflectionCreate(type) {\n /**\n * This ternary can be removed in the next major version.\n * The `Object.create()` code path utilizes a new `messagePrototype`\n * property on the `IMessageType` which has this same `MESSAGE_TYPE`\n * non-enumerable property on it. Doing it this way means that we only\n * pay the cost of `Object.defineProperty()` once per `IMessageType`\n * class of once per \"instance\". The falsy code path is only provided\n * for backwards compatibility in cases where the runtime library is\n * updated without also updating the generated code.\n */\n const msg = type.messagePrototype\n ? Object.create(type.messagePrototype)\n : Object.defineProperty({}, message_type_contract_1.MESSAGE_TYPE, { value: type });\n for (let field of type.fields) {\n let name = field.localName;\n if (field.opt)\n continue;\n if (field.oneof)\n msg[field.oneof] = { oneofKind: undefined };\n else if (field.repeat)\n msg[name] = [];\n else\n switch (field.kind) {\n case \"scalar\":\n msg[name] = reflection_scalar_default_1.reflectionScalarDefault(field.T, field.L);\n break;\n case \"enum\":\n // we require 0 to be default value for all enums\n msg[name] = 0;\n break;\n case \"map\":\n msg[name] = {};\n break;\n }\n }\n return msg;\n}\nexports.reflectionCreate = reflectionCreate;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionMergePartial = void 0;\n/**\n * Copy partial data into the target message.\n *\n * If a singular scalar or enum field is present in the source, it\n * replaces the field in the target.\n *\n * If a singular message field is present in the source, it is merged\n * with the target field by calling mergePartial() of the responsible\n * message type.\n *\n * If a repeated field is present in the source, its values replace\n * all values in the target array, removing extraneous values.\n * Repeated message fields are copied, not merged.\n *\n * If a map field is present in the source, entries are added to the\n * target map, replacing entries with the same key. Entries that only\n * exist in the target remain. Entries with message values are copied,\n * not merged.\n *\n * Note that this function differs from protobuf merge semantics,\n * which appends repeated fields.\n */\nfunction reflectionMergePartial(info, target, source) {\n let fieldValue, // the field value we are working with\n input = source, output; // where we want our field value to go\n for (let field of info.fields) {\n let name = field.localName;\n if (field.oneof) {\n const group = input[field.oneof]; // this is the oneof`s group in the source\n if ((group === null || group === void 0 ? void 0 : group.oneofKind) == undefined) { // the user is free to omit\n continue; // we skip this field, and all other members too\n }\n fieldValue = group[name]; // our value comes from the the oneof group of the source\n output = target[field.oneof]; // and our output is the oneof group of the target\n output.oneofKind = group.oneofKind; // always update discriminator\n if (fieldValue == undefined) {\n delete output[name]; // remove any existing value\n continue; // skip further work on field\n }\n }\n else {\n fieldValue = input[name]; // we are using the source directly\n output = target; // we want our field value to go directly into the target\n if (fieldValue == undefined) {\n continue; // skip further work on field, existing value is used as is\n }\n }\n if (field.repeat)\n output[name].length = fieldValue.length; // resize target array to match source array\n // now we just work with `fieldValue` and `output` to merge the value\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n if (field.repeat)\n for (let i = 0; i < fieldValue.length; i++)\n output[name][i] = fieldValue[i]; // not a reference type\n else\n output[name] = fieldValue; // not a reference type\n break;\n case \"message\":\n let T = field.T();\n if (field.repeat)\n for (let i = 0; i < fieldValue.length; i++)\n output[name][i] = T.create(fieldValue[i]);\n else if (output[name] === undefined)\n output[name] = T.create(fieldValue); // nothing to merge with\n else\n T.mergePartial(output[name], fieldValue);\n break;\n case \"map\":\n // Map and repeated fields are simply overwritten, not appended or merged\n switch (field.V.kind) {\n case \"scalar\":\n case \"enum\":\n Object.assign(output[name], fieldValue); // elements are not reference types\n break;\n case \"message\":\n let T = field.V.T();\n for (let k of Object.keys(fieldValue))\n output[name][k] = T.create(fieldValue[k]);\n break;\n }\n break;\n }\n }\n}\nexports.reflectionMergePartial = reflectionMergePartial;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionEquals = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\n/**\n * Determines whether two message of the same type have the same field values.\n * Checks for deep equality, traversing repeated fields, oneof groups, maps\n * and messages recursively.\n * Will also return true if both messages are `undefined`.\n */\nfunction reflectionEquals(info, a, b) {\n if (a === b)\n return true;\n if (!a || !b)\n return false;\n for (let field of info.fields) {\n let localName = field.localName;\n let val_a = field.oneof ? a[field.oneof][localName] : a[localName];\n let val_b = field.oneof ? b[field.oneof][localName] : b[localName];\n switch (field.kind) {\n case \"enum\":\n case \"scalar\":\n let t = field.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.T;\n if (!(field.repeat\n ? repeatedPrimitiveEq(t, val_a, val_b)\n : primitiveEq(t, val_a, val_b)))\n return false;\n break;\n case \"map\":\n if (!(field.V.kind == \"message\"\n ? repeatedMsgEq(field.V.T(), objectValues(val_a), objectValues(val_b))\n : repeatedPrimitiveEq(field.V.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.V.T, objectValues(val_a), objectValues(val_b))))\n return false;\n break;\n case \"message\":\n let T = field.T();\n if (!(field.repeat\n ? repeatedMsgEq(T, val_a, val_b)\n : T.equals(val_a, val_b)))\n return false;\n break;\n }\n }\n return true;\n}\nexports.reflectionEquals = reflectionEquals;\nconst objectValues = Object.values;\nfunction primitiveEq(type, a, b) {\n if (a === b)\n return true;\n if (type !== reflection_info_1.ScalarType.BYTES)\n return false;\n let ba = a;\n let bb = b;\n if (ba.length !== bb.length)\n return false;\n for (let i = 0; i < ba.length; i++)\n if (ba[i] != bb[i])\n return false;\n return true;\n}\nfunction repeatedPrimitiveEq(type, a, b) {\n if (a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; i++)\n if (!primitiveEq(type, a[i], b[i]))\n return false;\n return true;\n}\nfunction repeatedMsgEq(type, a, b) {\n if (a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; i++)\n if (!type.equals(a[i], b[i]))\n return false;\n return true;\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MessageType = void 0;\nconst message_type_contract_1 = require(\"./message-type-contract\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst reflection_type_check_1 = require(\"./reflection-type-check\");\nconst reflection_json_reader_1 = require(\"./reflection-json-reader\");\nconst reflection_json_writer_1 = require(\"./reflection-json-writer\");\nconst reflection_binary_reader_1 = require(\"./reflection-binary-reader\");\nconst reflection_binary_writer_1 = require(\"./reflection-binary-writer\");\nconst reflection_create_1 = require(\"./reflection-create\");\nconst reflection_merge_partial_1 = require(\"./reflection-merge-partial\");\nconst json_typings_1 = require(\"./json-typings\");\nconst json_format_contract_1 = require(\"./json-format-contract\");\nconst reflection_equals_1 = require(\"./reflection-equals\");\nconst binary_writer_1 = require(\"./binary-writer\");\nconst binary_reader_1 = require(\"./binary-reader\");\nconst baseDescriptors = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));\nconst messageTypeDescriptor = baseDescriptors[message_type_contract_1.MESSAGE_TYPE] = {};\n/**\n * This standard message type provides reflection-based\n * operations to work with a message.\n */\nclass MessageType {\n constructor(name, fields, options) {\n this.defaultCheckDepth = 16;\n this.typeName = name;\n this.fields = fields.map(reflection_info_1.normalizeFieldInfo);\n this.options = options !== null && options !== void 0 ? options : {};\n messageTypeDescriptor.value = this;\n this.messagePrototype = Object.create(null, baseDescriptors);\n this.refTypeCheck = new reflection_type_check_1.ReflectionTypeCheck(this);\n this.refJsonReader = new reflection_json_reader_1.ReflectionJsonReader(this);\n this.refJsonWriter = new reflection_json_writer_1.ReflectionJsonWriter(this);\n this.refBinReader = new reflection_binary_reader_1.ReflectionBinaryReader(this);\n this.refBinWriter = new reflection_binary_writer_1.ReflectionBinaryWriter(this);\n }\n create(value) {\n let message = reflection_create_1.reflectionCreate(this);\n if (value !== undefined) {\n reflection_merge_partial_1.reflectionMergePartial(this, message, value);\n }\n return message;\n }\n /**\n * Clone the message.\n *\n * Unknown fields are discarded.\n */\n clone(message) {\n let copy = this.create();\n reflection_merge_partial_1.reflectionMergePartial(this, copy, message);\n return copy;\n }\n /**\n * Determines whether two message of the same type have the same field values.\n * Checks for deep equality, traversing repeated fields, oneof groups, maps\n * and messages recursively.\n * Will also return true if both messages are `undefined`.\n */\n equals(a, b) {\n return reflection_equals_1.reflectionEquals(this, a, b);\n }\n /**\n * Is the given value assignable to our message type\n * and contains no [excess properties](https://www.typescriptlang.org/docs/handbook/interfaces.html#excess-property-checks)?\n */\n is(arg, depth = this.defaultCheckDepth) {\n return this.refTypeCheck.is(arg, depth, false);\n }\n /**\n * Is the given value assignable to our message type,\n * regardless of [excess properties](https://www.typescriptlang.org/docs/handbook/interfaces.html#excess-property-checks)?\n */\n isAssignable(arg, depth = this.defaultCheckDepth) {\n return this.refTypeCheck.is(arg, depth, true);\n }\n /**\n * Copy partial data into the target message.\n */\n mergePartial(target, source) {\n reflection_merge_partial_1.reflectionMergePartial(this, target, source);\n }\n /**\n * Create a new message from binary format.\n */\n fromBinary(data, options) {\n let opt = binary_reader_1.binaryReadOptions(options);\n return this.internalBinaryRead(opt.readerFactory(data), data.byteLength, opt);\n }\n /**\n * Read a new message from a JSON value.\n */\n fromJson(json, options) {\n return this.internalJsonRead(json, json_format_contract_1.jsonReadOptions(options));\n }\n /**\n * Read a new message from a JSON string.\n * This is equivalent to `T.fromJson(JSON.parse(json))`.\n */\n fromJsonString(json, options) {\n let value = JSON.parse(json);\n return this.fromJson(value, options);\n }\n /**\n * Write the message to canonical JSON value.\n */\n toJson(message, options) {\n return this.internalJsonWrite(message, json_format_contract_1.jsonWriteOptions(options));\n }\n /**\n * Convert the message to canonical JSON string.\n * This is equivalent to `JSON.stringify(T.toJson(t))`\n */\n toJsonString(message, options) {\n var _a;\n let value = this.toJson(message, options);\n return JSON.stringify(value, null, (_a = options === null || options === void 0 ? void 0 : options.prettySpaces) !== null && _a !== void 0 ? _a : 0);\n }\n /**\n * Write the message to binary format.\n */\n toBinary(message, options) {\n let opt = binary_writer_1.binaryWriteOptions(options);\n return this.internalBinaryWrite(message, opt.writerFactory(), opt).finish();\n }\n /**\n * This is an internal method. If you just want to read a message from\n * JSON, use `fromJson()` or `fromJsonString()`.\n *\n * Reads JSON value and merges the fields into the target\n * according to protobuf rules. If the target is omitted,\n * a new instance is created first.\n */\n internalJsonRead(json, options, target) {\n if (json !== null && typeof json == \"object\" && !Array.isArray(json)) {\n let message = target !== null && target !== void 0 ? target : this.create();\n this.refJsonReader.read(json, message, options);\n return message;\n }\n throw new Error(`Unable to parse message ${this.typeName} from JSON ${json_typings_1.typeofJsonValue(json)}.`);\n }\n /**\n * This is an internal method. If you just want to write a message\n * to JSON, use `toJson()` or `toJsonString().\n *\n * Writes JSON value and returns it.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.write(message, options);\n }\n /**\n * This is an internal method. If you just want to write a message\n * in binary format, use `toBinary()`.\n *\n * Serializes the message in binary format and appends it to the given\n * writer. Returns passed writer.\n */\n internalBinaryWrite(message, writer, options) {\n this.refBinWriter.write(message, writer, options);\n return writer;\n }\n /**\n * This is an internal method. If you just want to read a message from\n * binary data, use `fromBinary()`.\n *\n * Reads data from binary format and merges the fields into\n * the target according to protobuf rules. If the target is\n * omitted, a new instance is created first.\n */\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create();\n this.refBinReader.read(reader, message, options, length);\n return message;\n }\n}\nexports.MessageType = MessageType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.containsMessageType = void 0;\nconst message_type_contract_1 = require(\"./message-type-contract\");\n/**\n * Check if the provided object is a proto message.\n *\n * Note that this is an experimental feature - it is here to stay, but\n * implementation details may change without notice.\n */\nfunction containsMessageType(msg) {\n return msg[message_type_contract_1.MESSAGE_TYPE] != null;\n}\nexports.containsMessageType = containsMessageType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.listEnumNumbers = exports.listEnumNames = exports.listEnumValues = exports.isEnumObject = void 0;\n/**\n * Is this a lookup object generated by Typescript, for a Typescript enum\n * generated by protobuf-ts?\n *\n * - No `const enum` (enum must not be inlined, we need reverse mapping).\n * - No string enum (we need int32 for protobuf).\n * - Must have a value for 0 (otherwise, we would need to support custom default values).\n */\nfunction isEnumObject(arg) {\n if (typeof arg != 'object' || arg === null) {\n return false;\n }\n if (!arg.hasOwnProperty(0)) {\n return false;\n }\n for (let k of Object.keys(arg)) {\n let num = parseInt(k);\n if (!Number.isNaN(num)) {\n // is there a name for the number?\n let nam = arg[num];\n if (nam === undefined)\n return false;\n // does the name resolve back to the number?\n if (arg[nam] !== num)\n return false;\n }\n else {\n // is there a number for the name?\n let num = arg[k];\n if (num === undefined)\n return false;\n // is it a string enum?\n if (typeof num !== 'number')\n return false;\n // do we know the number?\n if (arg[num] === undefined)\n return false;\n }\n }\n return true;\n}\nexports.isEnumObject = isEnumObject;\n/**\n * Lists all values of a Typescript enum, as an array of objects with a \"name\"\n * property and a \"number\" property.\n *\n * Note that it is possible that a number appears more than once, because it is\n * possible to have aliases in an enum.\n *\n * Throws if the enum does not adhere to the rules of enums generated by\n * protobuf-ts. See `isEnumObject()`.\n */\nfunction listEnumValues(enumObject) {\n if (!isEnumObject(enumObject))\n throw new Error(\"not a typescript enum object\");\n let values = [];\n for (let [name, number] of Object.entries(enumObject))\n if (typeof number == \"number\")\n values.push({ name, number });\n return values;\n}\nexports.listEnumValues = listEnumValues;\n/**\n * Lists the names of a Typescript enum.\n *\n * Throws if the enum does not adhere to the rules of enums generated by\n * protobuf-ts. See `isEnumObject()`.\n */\nfunction listEnumNames(enumObject) {\n return listEnumValues(enumObject).map(val => val.name);\n}\nexports.listEnumNames = listEnumNames;\n/**\n * Lists the numbers of a Typescript enum.\n *\n * Throws if the enum does not adhere to the rules of enums generated by\n * protobuf-ts. See `isEnumObject()`.\n */\nfunction listEnumNumbers(enumObject) {\n return listEnumValues(enumObject)\n .map(val => val.number)\n .filter((num, index, arr) => arr.indexOf(num) == index);\n}\nexports.listEnumNumbers = listEnumNumbers;\n","\"use strict\";\n// Public API of the protobuf-ts runtime.\n// Note: we do not use `export * from ...` to help tree shakers,\n// webpack verbose output hints that this should be useful\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Convenience JSON typings and corresponding type guards\nvar json_typings_1 = require(\"./json-typings\");\nObject.defineProperty(exports, \"typeofJsonValue\", { enumerable: true, get: function () { return json_typings_1.typeofJsonValue; } });\nObject.defineProperty(exports, \"isJsonObject\", { enumerable: true, get: function () { return json_typings_1.isJsonObject; } });\n// Base 64 encoding\nvar base64_1 = require(\"./base64\");\nObject.defineProperty(exports, \"base64decode\", { enumerable: true, get: function () { return base64_1.base64decode; } });\nObject.defineProperty(exports, \"base64encode\", { enumerable: true, get: function () { return base64_1.base64encode; } });\n// UTF8 encoding\nvar protobufjs_utf8_1 = require(\"./protobufjs-utf8\");\nObject.defineProperty(exports, \"utf8read\", { enumerable: true, get: function () { return protobufjs_utf8_1.utf8read; } });\n// Binary format contracts, options for reading and writing, for example\nvar binary_format_contract_1 = require(\"./binary-format-contract\");\nObject.defineProperty(exports, \"WireType\", { enumerable: true, get: function () { return binary_format_contract_1.WireType; } });\nObject.defineProperty(exports, \"mergeBinaryOptions\", { enumerable: true, get: function () { return binary_format_contract_1.mergeBinaryOptions; } });\nObject.defineProperty(exports, \"UnknownFieldHandler\", { enumerable: true, get: function () { return binary_format_contract_1.UnknownFieldHandler; } });\n// Standard IBinaryReader implementation\nvar binary_reader_1 = require(\"./binary-reader\");\nObject.defineProperty(exports, \"BinaryReader\", { enumerable: true, get: function () { return binary_reader_1.BinaryReader; } });\nObject.defineProperty(exports, \"binaryReadOptions\", { enumerable: true, get: function () { return binary_reader_1.binaryReadOptions; } });\n// Standard IBinaryWriter implementation\nvar binary_writer_1 = require(\"./binary-writer\");\nObject.defineProperty(exports, \"BinaryWriter\", { enumerable: true, get: function () { return binary_writer_1.BinaryWriter; } });\nObject.defineProperty(exports, \"binaryWriteOptions\", { enumerable: true, get: function () { return binary_writer_1.binaryWriteOptions; } });\n// Int64 and UInt64 implementations required for the binary format\nvar pb_long_1 = require(\"./pb-long\");\nObject.defineProperty(exports, \"PbLong\", { enumerable: true, get: function () { return pb_long_1.PbLong; } });\nObject.defineProperty(exports, \"PbULong\", { enumerable: true, get: function () { return pb_long_1.PbULong; } });\n// JSON format contracts, options for reading and writing, for example\nvar json_format_contract_1 = require(\"./json-format-contract\");\nObject.defineProperty(exports, \"jsonReadOptions\", { enumerable: true, get: function () { return json_format_contract_1.jsonReadOptions; } });\nObject.defineProperty(exports, \"jsonWriteOptions\", { enumerable: true, get: function () { return json_format_contract_1.jsonWriteOptions; } });\nObject.defineProperty(exports, \"mergeJsonOptions\", { enumerable: true, get: function () { return json_format_contract_1.mergeJsonOptions; } });\n// Message type contract\nvar message_type_contract_1 = require(\"./message-type-contract\");\nObject.defineProperty(exports, \"MESSAGE_TYPE\", { enumerable: true, get: function () { return message_type_contract_1.MESSAGE_TYPE; } });\n// Message type implementation via reflection\nvar message_type_1 = require(\"./message-type\");\nObject.defineProperty(exports, \"MessageType\", { enumerable: true, get: function () { return message_type_1.MessageType; } });\n// Reflection info, generated by the plugin, exposed to the user, used by reflection ops\nvar reflection_info_1 = require(\"./reflection-info\");\nObject.defineProperty(exports, \"ScalarType\", { enumerable: true, get: function () { return reflection_info_1.ScalarType; } });\nObject.defineProperty(exports, \"LongType\", { enumerable: true, get: function () { return reflection_info_1.LongType; } });\nObject.defineProperty(exports, \"RepeatType\", { enumerable: true, get: function () { return reflection_info_1.RepeatType; } });\nObject.defineProperty(exports, \"normalizeFieldInfo\", { enumerable: true, get: function () { return reflection_info_1.normalizeFieldInfo; } });\nObject.defineProperty(exports, \"readFieldOptions\", { enumerable: true, get: function () { return reflection_info_1.readFieldOptions; } });\nObject.defineProperty(exports, \"readFieldOption\", { enumerable: true, get: function () { return reflection_info_1.readFieldOption; } });\nObject.defineProperty(exports, \"readMessageOption\", { enumerable: true, get: function () { return reflection_info_1.readMessageOption; } });\n// Message operations via reflection\nvar reflection_type_check_1 = require(\"./reflection-type-check\");\nObject.defineProperty(exports, \"ReflectionTypeCheck\", { enumerable: true, get: function () { return reflection_type_check_1.ReflectionTypeCheck; } });\nvar reflection_create_1 = require(\"./reflection-create\");\nObject.defineProperty(exports, \"reflectionCreate\", { enumerable: true, get: function () { return reflection_create_1.reflectionCreate; } });\nvar reflection_scalar_default_1 = require(\"./reflection-scalar-default\");\nObject.defineProperty(exports, \"reflectionScalarDefault\", { enumerable: true, get: function () { return reflection_scalar_default_1.reflectionScalarDefault; } });\nvar reflection_merge_partial_1 = require(\"./reflection-merge-partial\");\nObject.defineProperty(exports, \"reflectionMergePartial\", { enumerable: true, get: function () { return reflection_merge_partial_1.reflectionMergePartial; } });\nvar reflection_equals_1 = require(\"./reflection-equals\");\nObject.defineProperty(exports, \"reflectionEquals\", { enumerable: true, get: function () { return reflection_equals_1.reflectionEquals; } });\nvar reflection_binary_reader_1 = require(\"./reflection-binary-reader\");\nObject.defineProperty(exports, \"ReflectionBinaryReader\", { enumerable: true, get: function () { return reflection_binary_reader_1.ReflectionBinaryReader; } });\nvar reflection_binary_writer_1 = require(\"./reflection-binary-writer\");\nObject.defineProperty(exports, \"ReflectionBinaryWriter\", { enumerable: true, get: function () { return reflection_binary_writer_1.ReflectionBinaryWriter; } });\nvar reflection_json_reader_1 = require(\"./reflection-json-reader\");\nObject.defineProperty(exports, \"ReflectionJsonReader\", { enumerable: true, get: function () { return reflection_json_reader_1.ReflectionJsonReader; } });\nvar reflection_json_writer_1 = require(\"./reflection-json-writer\");\nObject.defineProperty(exports, \"ReflectionJsonWriter\", { enumerable: true, get: function () { return reflection_json_writer_1.ReflectionJsonWriter; } });\nvar reflection_contains_message_type_1 = require(\"./reflection-contains-message-type\");\nObject.defineProperty(exports, \"containsMessageType\", { enumerable: true, get: function () { return reflection_contains_message_type_1.containsMessageType; } });\n// Oneof helpers\nvar oneof_1 = require(\"./oneof\");\nObject.defineProperty(exports, \"isOneofGroup\", { enumerable: true, get: function () { return oneof_1.isOneofGroup; } });\nObject.defineProperty(exports, \"setOneofValue\", { enumerable: true, get: function () { return oneof_1.setOneofValue; } });\nObject.defineProperty(exports, \"getOneofValue\", { enumerable: true, get: function () { return oneof_1.getOneofValue; } });\nObject.defineProperty(exports, \"clearOneofValue\", { enumerable: true, get: function () { return oneof_1.clearOneofValue; } });\nObject.defineProperty(exports, \"getSelectedOneofValue\", { enumerable: true, get: function () { return oneof_1.getSelectedOneofValue; } });\n// Enum object type guard and reflection util, may be interesting to the user.\nvar enum_object_1 = require(\"./enum-object\");\nObject.defineProperty(exports, \"listEnumValues\", { enumerable: true, get: function () { return enum_object_1.listEnumValues; } });\nObject.defineProperty(exports, \"listEnumNames\", { enumerable: true, get: function () { return enum_object_1.listEnumNames; } });\nObject.defineProperty(exports, \"listEnumNumbers\", { enumerable: true, get: function () { return enum_object_1.listEnumNumbers; } });\nObject.defineProperty(exports, \"isEnumObject\", { enumerable: true, get: function () { return enum_object_1.isEnumObject; } });\n// lowerCamelCase() is exported for plugin, rpc-runtime and other rpc packages\nvar lower_camel_case_1 = require(\"./lower-camel-case\");\nObject.defineProperty(exports, \"lowerCamelCase\", { enumerable: true, get: function () { return lower_camel_case_1.lowerCamelCase; } });\n// assertion functions are exported for plugin, may also be useful to user\nvar assert_1 = require(\"./assert\");\nObject.defineProperty(exports, \"assert\", { enumerable: true, get: function () { return assert_1.assert; } });\nObject.defineProperty(exports, \"assertNever\", { enumerable: true, get: function () { return assert_1.assertNever; } });\nObject.defineProperty(exports, \"assertInt32\", { enumerable: true, get: function () { return assert_1.assertInt32; } });\nObject.defineProperty(exports, \"assertUInt32\", { enumerable: true, get: function () { return assert_1.assertUInt32; } });\nObject.defineProperty(exports, \"assertFloat32\", { enumerable: true, get: function () { return assert_1.assertFloat32; } });\n","import { MessageType, isJsonObject, typeofJsonValue } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/google/protobuf/struct.ts\n/**\n* `NullValue` is a singleton enumeration to represent the null value for the\n* `Value` type union.\n*\n* The JSON representation for `NullValue` is JSON `null`.\n*\n* @generated from protobuf enum google.protobuf.NullValue\n*/\nlet NullValue = /* @__PURE__ */ function(NullValue$1) {\n\t/**\n\t* Null value.\n\t*\n\t* @generated from protobuf enum value: NULL_VALUE = 0;\n\t*/\n\tNullValue$1[NullValue$1[\"NULL_VALUE\"] = 0] = \"NULL_VALUE\";\n\treturn NullValue$1;\n}({});\nvar Struct$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.protobuf.Struct\", [{\n\t\t\tno: 1,\n\t\t\tname: \"fields\",\n\t\t\tkind: \"map\",\n\t\t\tK: 9,\n\t\t\tV: {\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Value\n\t\t\t}\n\t\t}]);\n\t}\n\t/**\n\t* Encode `Struct` to JSON object.\n\t*/\n\tinternalJsonWrite(message, options) {\n\t\tlet json = {};\n\t\tfor (let [k, v] of Object.entries(message.fields)) json[k] = Value.toJson(v);\n\t\treturn json;\n\t}\n\t/**\n\t* Decode `Struct` from JSON object.\n\t*/\n\tinternalJsonRead(json, options, target) {\n\t\tif (!isJsonObject(json)) throw new globalThis.Error(\"Unable to parse message \" + this.typeName + \" from JSON \" + typeofJsonValue(json) + \".\");\n\t\tif (!target) target = this.create();\n\t\tfor (let [k, v] of globalThis.Object.entries(json)) target.fields[k] = Value.fromJson(v);\n\t\treturn target;\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.protobuf.Struct\n*/\nconst Struct = new Struct$Type();\nvar Value$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.protobuf.Value\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"null_value\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\toneof: \"kind\",\n\t\t\t\tT: () => [\"google.protobuf.NullValue\", NullValue]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"number_value\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"kind\",\n\t\t\t\tT: 1\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"string_value\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"kind\",\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"bool_value\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"kind\",\n\t\t\t\tT: 8\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"struct_value\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"kind\",\n\t\t\t\tT: () => Struct\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"list_value\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"kind\",\n\t\t\t\tT: () => ListValue\n\t\t\t}\n\t\t]);\n\t}\n\t/**\n\t* Encode `Value` to JSON value.\n\t*/\n\tinternalJsonWrite(message, options) {\n\t\tif (message.kind.oneofKind === void 0) throw new globalThis.Error();\n\t\tswitch (message.kind.oneofKind) {\n\t\t\tcase void 0: throw new globalThis.Error();\n\t\t\tcase \"boolValue\": return message.kind.boolValue;\n\t\t\tcase \"nullValue\": return null;\n\t\t\tcase \"numberValue\":\n\t\t\t\tlet numberValue = message.kind.numberValue;\n\t\t\t\tif (typeof numberValue == \"number\" && !Number.isFinite(numberValue)) throw new globalThis.Error();\n\t\t\t\treturn numberValue;\n\t\t\tcase \"stringValue\": return message.kind.stringValue;\n\t\t\tcase \"listValue\":\n\t\t\t\tlet listValueField = this.fields.find((f) => f.no === 6);\n\t\t\t\tif (listValueField?.kind !== \"message\") throw new globalThis.Error();\n\t\t\t\treturn listValueField.T().toJson(message.kind.listValue);\n\t\t\tcase \"structValue\":\n\t\t\t\tlet structValueField = this.fields.find((f) => f.no === 5);\n\t\t\t\tif (structValueField?.kind !== \"message\") throw new globalThis.Error();\n\t\t\t\treturn structValueField.T().toJson(message.kind.structValue);\n\t\t}\n\t}\n\t/**\n\t* Decode `Value` from JSON value.\n\t*/\n\tinternalJsonRead(json, options, target) {\n\t\tif (!target) target = this.create();\n\t\tswitch (typeof json) {\n\t\t\tcase \"number\":\n\t\t\t\ttarget.kind = {\n\t\t\t\t\toneofKind: \"numberValue\",\n\t\t\t\t\tnumberValue: json\n\t\t\t\t};\n\t\t\t\tbreak;\n\t\t\tcase \"string\":\n\t\t\t\ttarget.kind = {\n\t\t\t\t\toneofKind: \"stringValue\",\n\t\t\t\t\tstringValue: json\n\t\t\t\t};\n\t\t\t\tbreak;\n\t\t\tcase \"boolean\":\n\t\t\t\ttarget.kind = {\n\t\t\t\t\toneofKind: \"boolValue\",\n\t\t\t\t\tboolValue: json\n\t\t\t\t};\n\t\t\t\tbreak;\n\t\t\tcase \"object\":\n\t\t\t\tif (json === null) target.kind = {\n\t\t\t\t\toneofKind: \"nullValue\",\n\t\t\t\t\tnullValue: NullValue.NULL_VALUE\n\t\t\t\t};\n\t\t\t\telse if (globalThis.Array.isArray(json)) target.kind = {\n\t\t\t\t\toneofKind: \"listValue\",\n\t\t\t\t\tlistValue: ListValue.fromJson(json)\n\t\t\t\t};\n\t\t\t\telse target.kind = {\n\t\t\t\t\toneofKind: \"structValue\",\n\t\t\t\t\tstructValue: Struct.fromJson(json)\n\t\t\t\t};\n\t\t\t\tbreak;\n\t\t\tdefault: throw new globalThis.Error(\"Unable to parse \" + this.typeName + \" from JSON \" + typeofJsonValue(json));\n\t\t}\n\t\treturn target;\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.protobuf.Value\n*/\nconst Value = new Value$Type();\nvar ListValue$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.protobuf.ListValue\", [{\n\t\t\tno: 1,\n\t\t\tname: \"values\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Value\n\t\t}]);\n\t}\n\t/**\n\t* Encode `ListValue` to JSON array.\n\t*/\n\tinternalJsonWrite(message, options) {\n\t\treturn message.values.map((v) => Value.toJson(v));\n\t}\n\t/**\n\t* Decode `ListValue` from JSON array.\n\t*/\n\tinternalJsonRead(json, options, target) {\n\t\tif (!globalThis.Array.isArray(json)) throw new globalThis.Error(\"Unable to parse \" + this.typeName + \" from JSON \" + typeofJsonValue(json));\n\t\tif (!target) target = this.create();\n\t\tlet values = json.map((v) => Value.fromJson(v));\n\t\ttarget.values.push(...values);\n\t\treturn target;\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.protobuf.ListValue\n*/\nconst ListValue = new ListValue$Type();\n\n//#endregion\nexport { Value };\n//# sourceMappingURL=struct.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/move_package.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.DatatypeDescriptor.DatatypeKind\n*/\nlet DatatypeDescriptor_DatatypeKind = /* @__PURE__ */ function(DatatypeDescriptor_DatatypeKind$1) {\n\t/**\n\t* @generated from protobuf enum value: DATATYPE_KIND_UNKNOWN = 0;\n\t*/\n\tDatatypeDescriptor_DatatypeKind$1[DatatypeDescriptor_DatatypeKind$1[\"DATATYPE_KIND_UNKNOWN\"] = 0] = \"DATATYPE_KIND_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: STRUCT = 1;\n\t*/\n\tDatatypeDescriptor_DatatypeKind$1[DatatypeDescriptor_DatatypeKind$1[\"STRUCT\"] = 1] = \"STRUCT\";\n\t/**\n\t* @generated from protobuf enum value: ENUM = 2;\n\t*/\n\tDatatypeDescriptor_DatatypeKind$1[DatatypeDescriptor_DatatypeKind$1[\"ENUM\"] = 2] = \"ENUM\";\n\treturn DatatypeDescriptor_DatatypeKind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.OpenSignatureBody.Type\n*/\nlet OpenSignatureBody_Type = /* @__PURE__ */ function(OpenSignatureBody_Type$1) {\n\t/**\n\t* @generated from protobuf enum value: TYPE_UNKNOWN = 0;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"TYPE_UNKNOWN\"] = 0] = \"TYPE_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: ADDRESS = 1;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"ADDRESS\"] = 1] = \"ADDRESS\";\n\t/**\n\t* @generated from protobuf enum value: BOOL = 2;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"BOOL\"] = 2] = \"BOOL\";\n\t/**\n\t* @generated from protobuf enum value: U8 = 3;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"U8\"] = 3] = \"U8\";\n\t/**\n\t* @generated from protobuf enum value: U16 = 4;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"U16\"] = 4] = \"U16\";\n\t/**\n\t* @generated from protobuf enum value: U32 = 5;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"U32\"] = 5] = \"U32\";\n\t/**\n\t* @generated from protobuf enum value: U64 = 6;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"U64\"] = 6] = \"U64\";\n\t/**\n\t* @generated from protobuf enum value: U128 = 7;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"U128\"] = 7] = \"U128\";\n\t/**\n\t* @generated from protobuf enum value: U256 = 8;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"U256\"] = 8] = \"U256\";\n\t/**\n\t* @generated from protobuf enum value: VECTOR = 9;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"VECTOR\"] = 9] = \"VECTOR\";\n\t/**\n\t* @generated from protobuf enum value: DATATYPE = 10;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"DATATYPE\"] = 10] = \"DATATYPE\";\n\t/**\n\t* @generated from protobuf enum value: TYPE_PARAMETER = 11;\n\t*/\n\tOpenSignatureBody_Type$1[OpenSignatureBody_Type$1[\"TYPE_PARAMETER\"] = 11] = \"TYPE_PARAMETER\";\n\treturn OpenSignatureBody_Type$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.FunctionDescriptor.Visibility\n*/\nlet FunctionDescriptor_Visibility = /* @__PURE__ */ function(FunctionDescriptor_Visibility$1) {\n\t/**\n\t* @generated from protobuf enum value: VISIBILITY_UNKNOWN = 0;\n\t*/\n\tFunctionDescriptor_Visibility$1[FunctionDescriptor_Visibility$1[\"VISIBILITY_UNKNOWN\"] = 0] = \"VISIBILITY_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: PRIVATE = 1;\n\t*/\n\tFunctionDescriptor_Visibility$1[FunctionDescriptor_Visibility$1[\"PRIVATE\"] = 1] = \"PRIVATE\";\n\t/**\n\t* @generated from protobuf enum value: PUBLIC = 2;\n\t*/\n\tFunctionDescriptor_Visibility$1[FunctionDescriptor_Visibility$1[\"PUBLIC\"] = 2] = \"PUBLIC\";\n\t/**\n\t* @generated from protobuf enum value: FRIEND = 3;\n\t*/\n\tFunctionDescriptor_Visibility$1[FunctionDescriptor_Visibility$1[\"FRIEND\"] = 3] = \"FRIEND\";\n\treturn FunctionDescriptor_Visibility$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.OpenSignature.Reference\n*/\nlet OpenSignature_Reference = /* @__PURE__ */ function(OpenSignature_Reference$1) {\n\t/**\n\t* @generated from protobuf enum value: REFERENCE_UNKNOWN = 0;\n\t*/\n\tOpenSignature_Reference$1[OpenSignature_Reference$1[\"REFERENCE_UNKNOWN\"] = 0] = \"REFERENCE_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: IMMUTABLE = 1;\n\t*/\n\tOpenSignature_Reference$1[OpenSignature_Reference$1[\"IMMUTABLE\"] = 1] = \"IMMUTABLE\";\n\t/**\n\t* @generated from protobuf enum value: MUTABLE = 2;\n\t*/\n\tOpenSignature_Reference$1[OpenSignature_Reference$1[\"MUTABLE\"] = 2] = \"MUTABLE\";\n\treturn OpenSignature_Reference$1;\n}({});\n/**\n* An `Ability` classifies what operations are permitted for a given type\n*\n* @generated from protobuf enum sui.rpc.v2.Ability\n*/\nlet Ability = /* @__PURE__ */ function(Ability$1) {\n\t/**\n\t* @generated from protobuf enum value: ABILITY_UNKNOWN = 0;\n\t*/\n\tAbility$1[Ability$1[\"ABILITY_UNKNOWN\"] = 0] = \"ABILITY_UNKNOWN\";\n\t/**\n\t* Allows values of types with this ability to be copied\n\t*\n\t* @generated from protobuf enum value: COPY = 1;\n\t*/\n\tAbility$1[Ability$1[\"COPY\"] = 1] = \"COPY\";\n\t/**\n\t* Allows values of types with this ability to be dropped.\n\t*\n\t* @generated from protobuf enum value: DROP = 2;\n\t*/\n\tAbility$1[Ability$1[\"DROP\"] = 2] = \"DROP\";\n\t/**\n\t* Allows values of types with this ability to exist inside a struct in global storage\n\t*\n\t* @generated from protobuf enum value: STORE = 3;\n\t*/\n\tAbility$1[Ability$1[\"STORE\"] = 3] = \"STORE\";\n\t/**\n\t* Allows the type to serve as a key for global storage operations\n\t*\n\t* @generated from protobuf enum value: KEY = 4;\n\t*/\n\tAbility$1[Ability$1[\"KEY\"] = 4] = \"KEY\";\n\treturn Ability$1;\n}({});\nvar Package$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Package\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"storage_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"original_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"modules\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => Module\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"type_origins\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => TypeOrigin\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"linkage\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => Linkage\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Package\n*/\nconst Package = new Package$Type();\nvar Module$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Module\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"contents\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"datatypes\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => DatatypeDescriptor\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"functions\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => FunctionDescriptor\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Module\n*/\nconst Module = new Module$Type();\nvar DatatypeDescriptor$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.DatatypeDescriptor\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"type_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"defining_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"module\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"abilities\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\trepeat: 1,\n\t\t\t\tT: () => [\"sui.rpc.v2.Ability\", Ability]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"type_parameters\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => TypeParameter\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.DatatypeDescriptor.DatatypeKind\", DatatypeDescriptor_DatatypeKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => FieldDescriptor\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"variants\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => VariantDescriptor\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.DatatypeDescriptor\n*/\nconst DatatypeDescriptor = new DatatypeDescriptor$Type();\nvar TypeParameter$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TypeParameter\", [{\n\t\t\tno: 1,\n\t\t\tname: \"constraints\",\n\t\t\tkind: \"enum\",\n\t\t\trepeat: 1,\n\t\t\tT: () => [\"sui.rpc.v2.Ability\", Ability]\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"is_phantom\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 8\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TypeParameter\n*/\nconst TypeParameter = new TypeParameter$Type();\nvar FieldDescriptor$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.FieldDescriptor\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"position\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"type\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => OpenSignatureBody\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.FieldDescriptor\n*/\nconst FieldDescriptor = new FieldDescriptor$Type();\nvar VariantDescriptor$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.VariantDescriptor\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"position\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => FieldDescriptor\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.VariantDescriptor\n*/\nconst VariantDescriptor = new VariantDescriptor$Type();\nvar OpenSignatureBody$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.OpenSignatureBody\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"type\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.OpenSignatureBody.Type\", OpenSignatureBody_Type]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"type_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"type_parameter_instantiation\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => OpenSignatureBody\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"type_parameter\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.OpenSignatureBody\n*/\nconst OpenSignatureBody = new OpenSignatureBody$Type();\nvar FunctionDescriptor$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.FunctionDescriptor\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"visibility\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.FunctionDescriptor.Visibility\", FunctionDescriptor_Visibility]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"is_entry\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 8\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"type_parameters\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => TypeParameter\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"parameters\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => OpenSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"returns\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => OpenSignature\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.FunctionDescriptor\n*/\nconst FunctionDescriptor = new FunctionDescriptor$Type();\nvar OpenSignature$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.OpenSignature\", [{\n\t\t\tno: 1,\n\t\t\tname: \"reference\",\n\t\t\tkind: \"enum\",\n\t\t\topt: true,\n\t\t\tT: () => [\"sui.rpc.v2.OpenSignature.Reference\", OpenSignature_Reference]\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"body\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => OpenSignatureBody\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.OpenSignature\n*/\nconst OpenSignature = new OpenSignature$Type();\nvar TypeOrigin$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TypeOrigin\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"module_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"datatype_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"package_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TypeOrigin\n*/\nconst TypeOrigin = new TypeOrigin$Type();\nvar Linkage$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Linkage\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"original_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"upgraded_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"upgraded_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Linkage\n*/\nconst Linkage = new Linkage$Type();\n\n//#endregion\nexport { Ability, DatatypeDescriptor, DatatypeDescriptor_DatatypeKind, FieldDescriptor, FunctionDescriptor, FunctionDescriptor_Visibility, Linkage, Module, OpenSignature, OpenSignatureBody, OpenSignatureBody_Type, OpenSignature_Reference, Package, TypeOrigin, TypeParameter, VariantDescriptor };\n//# sourceMappingURL=move_package.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/owner.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.Owner.OwnerKind\n*/\nlet Owner_OwnerKind = /* @__PURE__ */ function(Owner_OwnerKind$1) {\n\t/**\n\t* @generated from protobuf enum value: OWNER_KIND_UNKNOWN = 0;\n\t*/\n\tOwner_OwnerKind$1[Owner_OwnerKind$1[\"OWNER_KIND_UNKNOWN\"] = 0] = \"OWNER_KIND_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: ADDRESS = 1;\n\t*/\n\tOwner_OwnerKind$1[Owner_OwnerKind$1[\"ADDRESS\"] = 1] = \"ADDRESS\";\n\t/**\n\t* @generated from protobuf enum value: OBJECT = 2;\n\t*/\n\tOwner_OwnerKind$1[Owner_OwnerKind$1[\"OBJECT\"] = 2] = \"OBJECT\";\n\t/**\n\t* @generated from protobuf enum value: SHARED = 3;\n\t*/\n\tOwner_OwnerKind$1[Owner_OwnerKind$1[\"SHARED\"] = 3] = \"SHARED\";\n\t/**\n\t* @generated from protobuf enum value: IMMUTABLE = 4;\n\t*/\n\tOwner_OwnerKind$1[Owner_OwnerKind$1[\"IMMUTABLE\"] = 4] = \"IMMUTABLE\";\n\t/**\n\t* @generated from protobuf enum value: CONSENSUS_ADDRESS = 5;\n\t*/\n\tOwner_OwnerKind$1[Owner_OwnerKind$1[\"CONSENSUS_ADDRESS\"] = 5] = \"CONSENSUS_ADDRESS\";\n\treturn Owner_OwnerKind$1;\n}({});\nvar Owner$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Owner\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.Owner.OwnerKind\", Owner_OwnerKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Owner\n*/\nconst Owner = new Owner$Type();\n\n//#endregion\nexport { Owner, Owner_OwnerKind };\n//# sourceMappingURL=owner.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/argument.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.Argument.ArgumentKind\n*/\nlet Argument_ArgumentKind = /* @__PURE__ */ function(Argument_ArgumentKind$1) {\n\t/**\n\t* @generated from protobuf enum value: ARGUMENT_KIND_UNKNOWN = 0;\n\t*/\n\tArgument_ArgumentKind$1[Argument_ArgumentKind$1[\"ARGUMENT_KIND_UNKNOWN\"] = 0] = \"ARGUMENT_KIND_UNKNOWN\";\n\t/**\n\t* The gas coin.\n\t*\n\t* @generated from protobuf enum value: GAS = 1;\n\t*/\n\tArgument_ArgumentKind$1[Argument_ArgumentKind$1[\"GAS\"] = 1] = \"GAS\";\n\t/**\n\t* One of the input objects or primitive values (from\n\t* `ProgrammableTransaction` inputs).\n\t*\n\t* @generated from protobuf enum value: INPUT = 2;\n\t*/\n\tArgument_ArgumentKind$1[Argument_ArgumentKind$1[\"INPUT\"] = 2] = \"INPUT\";\n\t/**\n\t* The result of another command (from `ProgrammableTransaction` commands).\n\t*\n\t* @generated from protobuf enum value: RESULT = 3;\n\t*/\n\tArgument_ArgumentKind$1[Argument_ArgumentKind$1[\"RESULT\"] = 3] = \"RESULT\";\n\treturn Argument_ArgumentKind$1;\n}({});\nvar Argument$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Argument\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.Argument.ArgumentKind\", Argument_ArgumentKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"input\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"result\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"subresult\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Argument\n*/\nconst Argument = new Argument$Type();\n\n//#endregion\nexport { Argument, Argument_ArgumentKind };\n//# sourceMappingURL=argument.mjs.map","import { Value } from \"../../../google/protobuf/struct.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/input.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.Input.InputKind\n*/\nlet Input_InputKind = /* @__PURE__ */ function(Input_InputKind$1) {\n\t/**\n\t* @generated from protobuf enum value: INPUT_KIND_UNKNOWN = 0;\n\t*/\n\tInput_InputKind$1[Input_InputKind$1[\"INPUT_KIND_UNKNOWN\"] = 0] = \"INPUT_KIND_UNKNOWN\";\n\t/**\n\t* A move value serialized as BCS.\n\t*\n\t* @generated from protobuf enum value: PURE = 1;\n\t*/\n\tInput_InputKind$1[Input_InputKind$1[\"PURE\"] = 1] = \"PURE\";\n\t/**\n\t* A Move object that is either immutable or address owned.\n\t*\n\t* @generated from protobuf enum value: IMMUTABLE_OR_OWNED = 2;\n\t*/\n\tInput_InputKind$1[Input_InputKind$1[\"IMMUTABLE_OR_OWNED\"] = 2] = \"IMMUTABLE_OR_OWNED\";\n\t/**\n\t* A Move object whose owner is \"Shared\".\n\t*\n\t* @generated from protobuf enum value: SHARED = 3;\n\t*/\n\tInput_InputKind$1[Input_InputKind$1[\"SHARED\"] = 3] = \"SHARED\";\n\t/**\n\t* A Move object that is attempted to be received in this transaction.\n\t*\n\t* @generated from protobuf enum value: RECEIVING = 4;\n\t*/\n\tInput_InputKind$1[Input_InputKind$1[\"RECEIVING\"] = 4] = \"RECEIVING\";\n\t/**\n\t* Reservation to withdraw balance from a funds accumulator\n\t*\n\t* @generated from protobuf enum value: FUNDS_WITHDRAWAL = 5;\n\t*/\n\tInput_InputKind$1[Input_InputKind$1[\"FUNDS_WITHDRAWAL\"] = 5] = \"FUNDS_WITHDRAWAL\";\n\treturn Input_InputKind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.Input.Mutability\n*/\nlet Input_Mutability = /* @__PURE__ */ function(Input_Mutability$1) {\n\t/**\n\t* @generated from protobuf enum value: MUTABILITY_UNKNOWN = 0;\n\t*/\n\tInput_Mutability$1[Input_Mutability$1[\"MUTABILITY_UNKNOWN\"] = 0] = \"MUTABILITY_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: IMMUTABLE = 1;\n\t*/\n\tInput_Mutability$1[Input_Mutability$1[\"IMMUTABLE\"] = 1] = \"IMMUTABLE\";\n\t/**\n\t* @generated from protobuf enum value: MUTABLE = 2;\n\t*/\n\tInput_Mutability$1[Input_Mutability$1[\"MUTABLE\"] = 2] = \"MUTABLE\";\n\t/**\n\t* Non-exclusive write is used to allow multiple transactions to\n\t* simultaneously add disjoint dynamic fields to an object.\n\t* (Currently only used by settlement transactions).\n\t*\n\t* @generated from protobuf enum value: NON_EXCLUSIVE_WRITE = 3;\n\t*/\n\tInput_Mutability$1[Input_Mutability$1[\"NON_EXCLUSIVE_WRITE\"] = 3] = \"NON_EXCLUSIVE_WRITE\";\n\treturn Input_Mutability$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.FundsWithdrawal.Source\n*/\nlet FundsWithdrawal_Source = /* @__PURE__ */ function(FundsWithdrawal_Source$1) {\n\t/**\n\t* @generated from protobuf enum value: SOURCE_UNKNOWN = 0;\n\t*/\n\tFundsWithdrawal_Source$1[FundsWithdrawal_Source$1[\"SOURCE_UNKNOWN\"] = 0] = \"SOURCE_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: SENDER = 1;\n\t*/\n\tFundsWithdrawal_Source$1[FundsWithdrawal_Source$1[\"SENDER\"] = 1] = \"SENDER\";\n\t/**\n\t* @generated from protobuf enum value: SPONSOR = 2;\n\t*/\n\tFundsWithdrawal_Source$1[FundsWithdrawal_Source$1[\"SPONSOR\"] = 2] = \"SPONSOR\";\n\treturn FundsWithdrawal_Source$1;\n}({});\nvar Input$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Input\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.Input.InputKind\", Input_InputKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"pure\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"mutable\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 8\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"mutability\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.Input.Mutability\", Input_Mutability]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"funds_withdrawal\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => FundsWithdrawal\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 1e3,\n\t\t\t\tname: \"literal\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Value\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Input\n*/\nconst Input = new Input$Type();\nvar FundsWithdrawal$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.FundsWithdrawal\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"amount\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"coin_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"source\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.FundsWithdrawal.Source\", FundsWithdrawal_Source]\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.FundsWithdrawal\n*/\nconst FundsWithdrawal = new FundsWithdrawal$Type();\n\n//#endregion\nexport { FundsWithdrawal, FundsWithdrawal_Source, Input, Input_InputKind, Input_Mutability };\n//# sourceMappingURL=input.mjs.map","import { MessageType, PbLong, typeofJsonValue } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/google/protobuf/duration.ts\nvar Duration$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.protobuf.Duration\", [{\n\t\t\tno: 1,\n\t\t\tname: \"seconds\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 3,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"nanos\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 5\n\t\t}]);\n\t}\n\t/**\n\t* Encode `Duration` to JSON string like \"3.000001s\".\n\t*/\n\tinternalJsonWrite(message, options) {\n\t\tlet s = PbLong.from(message.seconds).toNumber();\n\t\tif (s > 315576e6 || s < -315576e6) throw new Error(\"Duration value out of range.\");\n\t\tlet text = message.seconds.toString();\n\t\tif (s === 0 && message.nanos < 0) text = \"-\" + text;\n\t\tif (message.nanos !== 0) {\n\t\t\tlet nanosStr = Math.abs(message.nanos).toString();\n\t\t\tnanosStr = \"0\".repeat(9 - nanosStr.length) + nanosStr;\n\t\t\tif (nanosStr.substring(3) === \"000000\") nanosStr = nanosStr.substring(0, 3);\n\t\t\telse if (nanosStr.substring(6) === \"000\") nanosStr = nanosStr.substring(0, 6);\n\t\t\ttext += \".\" + nanosStr;\n\t\t}\n\t\treturn text + \"s\";\n\t}\n\t/**\n\t* Decode `Duration` from JSON string like \"3.000001s\"\n\t*/\n\tinternalJsonRead(json, options, target) {\n\t\tif (typeof json !== \"string\") throw new Error(\"Unable to parse Duration from JSON \" + typeofJsonValue(json) + \". Expected string.\");\n\t\tlet match = json.match(/^(-?)([0-9]+)(?:\\.([0-9]+))?s/);\n\t\tif (match === null) throw new Error(\"Unable to parse Duration from JSON string. Invalid format.\");\n\t\tif (!target) target = this.create();\n\t\tlet [, sign, secs, nanos] = match;\n\t\tlet longSeconds = PbLong.from(sign + secs);\n\t\tif (longSeconds.toNumber() > 315576e6 || longSeconds.toNumber() < -315576e6) throw new Error(\"Unable to parse Duration from JSON string. Value out of range.\");\n\t\ttarget.seconds = longSeconds.toBigInt();\n\t\tif (typeof nanos == \"string\") {\n\t\t\tlet nanosStr = sign + nanos + \"0\".repeat(9 - nanos.length);\n\t\t\ttarget.nanos = parseInt(nanosStr);\n\t\t}\n\t\treturn target;\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.protobuf.Duration\n*/\nconst Duration = new Duration$Type();\n\n//#endregion\nexport { Duration };\n//# sourceMappingURL=duration.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/jwk.ts\nvar JwkId$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.JwkId\", [{\n\t\t\tno: 1,\n\t\t\tname: \"iss\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"kid\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.JwkId\n*/\nconst JwkId = new JwkId$Type();\nvar Jwk$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Jwk\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kty\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"e\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"n\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"alg\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Jwk\n*/\nconst Jwk = new Jwk$Type();\n\n//#endregion\nexport { Jwk, JwkId };\n//# sourceMappingURL=jwk.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/bcs.ts\nvar Bcs$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Bcs\", [{\n\t\t\tno: 1,\n\t\t\tname: \"name\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"value\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 12\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Bcs\n*/\nconst Bcs = new Bcs$Type();\n\n//#endregion\nexport { Bcs };\n//# sourceMappingURL=bcs.mjs.map","import { Value } from \"../../../google/protobuf/struct.mjs\";\nimport { Package } from \"./move_package.mjs\";\nimport { Owner } from \"./owner.mjs\";\nimport { Bcs } from \"./bcs.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/object.ts\nvar Object$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Object\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"bcs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"owner\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Owner\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"object_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"has_public_transfer\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 8\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"contents\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"package\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Package\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"previous_transaction\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: \"storage_rebate\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 100,\n\t\t\t\tname: \"json\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Value\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 101,\n\t\t\t\tname: \"balance\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 102,\n\t\t\t\tname: \"display\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Display\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Object\n*/\nconst Object$1 = new Object$Type();\nvar ObjectSet$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ObjectSet\", [{\n\t\t\tno: 1,\n\t\t\tname: \"objects\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Object$1\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ObjectSet\n*/\nconst ObjectSet = new ObjectSet$Type();\nvar Display$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Display\", [{\n\t\t\tno: 1,\n\t\t\tname: \"output\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Value\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"errors\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Value\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Display\n*/\nconst Display = new Display$Type();\n\n//#endregion\nexport { Display, Object$1 as Object, ObjectSet };\n//# sourceMappingURL=object.mjs.map","import { MessageType, PbLong, typeofJsonValue } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/google/protobuf/timestamp.ts\nvar Timestamp$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.protobuf.Timestamp\", [{\n\t\t\tno: 1,\n\t\t\tname: \"seconds\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 3,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"nanos\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 5\n\t\t}]);\n\t}\n\t/**\n\t* Creates a new `Timestamp` for the current time.\n\t*/\n\tnow() {\n\t\tconst msg = this.create();\n\t\tconst ms = Date.now();\n\t\tmsg.seconds = PbLong.from(Math.floor(ms / 1e3)).toBigInt();\n\t\tmsg.nanos = ms % 1e3 * 1e6;\n\t\treturn msg;\n\t}\n\t/**\n\t* Converts a `Timestamp` to a JavaScript Date.\n\t*/\n\ttoDate(message) {\n\t\treturn new Date(PbLong.from(message.seconds).toNumber() * 1e3 + Math.ceil(message.nanos / 1e6));\n\t}\n\t/**\n\t* Converts a JavaScript Date to a `Timestamp`.\n\t*/\n\tfromDate(date) {\n\t\tconst msg = this.create();\n\t\tconst ms = date.getTime();\n\t\tmsg.seconds = PbLong.from(Math.floor(ms / 1e3)).toBigInt();\n\t\tmsg.nanos = (ms % 1e3 + (ms < 0 && ms % 1e3 !== 0 ? 1e3 : 0)) * 1e6;\n\t\treturn msg;\n\t}\n\t/**\n\t* In JSON format, the `Timestamp` type is encoded as a string\n\t* in the RFC 3339 format.\n\t*/\n\tinternalJsonWrite(message, options) {\n\t\tlet ms = PbLong.from(message.seconds).toNumber() * 1e3;\n\t\tif (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\")) throw new Error(\"Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n\t\tif (message.nanos < 0) throw new Error(\"Unable to encode invalid Timestamp to JSON. Nanos must not be negative.\");\n\t\tlet z = \"Z\";\n\t\tif (message.nanos > 0) {\n\t\t\tlet nanosStr = (message.nanos + 1e9).toString().substring(1);\n\t\t\tif (nanosStr.substring(3) === \"000000\") z = \".\" + nanosStr.substring(0, 3) + \"Z\";\n\t\t\telse if (nanosStr.substring(6) === \"000\") z = \".\" + nanosStr.substring(0, 6) + \"Z\";\n\t\t\telse z = \".\" + nanosStr + \"Z\";\n\t\t}\n\t\treturn new Date(ms).toISOString().replace(\".000Z\", z);\n\t}\n\t/**\n\t* In JSON format, the `Timestamp` type is encoded as a string\n\t* in the RFC 3339 format.\n\t*/\n\tinternalJsonRead(json, options, target) {\n\t\tif (typeof json !== \"string\") throw new Error(\"Unable to parse Timestamp from JSON \" + typeofJsonValue(json) + \".\");\n\t\tlet matches = json.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);\n\t\tif (!matches) throw new Error(\"Unable to parse Timestamp from JSON. Invalid format.\");\n\t\tlet ms = Date.parse(matches[1] + \"-\" + matches[2] + \"-\" + matches[3] + \"T\" + matches[4] + \":\" + matches[5] + \":\" + matches[6] + (matches[8] ? matches[8] : \"Z\"));\n\t\tif (Number.isNaN(ms)) throw new Error(\"Unable to parse Timestamp from JSON. Invalid value.\");\n\t\tif (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\")) throw new globalThis.Error(\"Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n\t\tif (!target) target = this.create();\n\t\ttarget.seconds = PbLong.from(ms / 1e3).toBigInt();\n\t\ttarget.nanos = 0;\n\t\tif (matches[7]) target.nanos = parseInt(\"1\" + matches[7] + \"0\".repeat(9 - matches[7].length)) - 1e9;\n\t\treturn target;\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.protobuf.Timestamp\n*/\nconst Timestamp = new Timestamp$Type();\n\n//#endregion\nexport { Timestamp };\n//# sourceMappingURL=timestamp.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/object_reference.ts\nvar ObjectReference$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ObjectReference\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ObjectReference\n*/\nconst ObjectReference = new ObjectReference$Type();\n\n//#endregion\nexport { ObjectReference };\n//# sourceMappingURL=object_reference.mjs.map","import { Duration } from \"../../../google/protobuf/duration.mjs\";\nimport { Jwk, JwkId } from \"./jwk.mjs\";\nimport { Bcs } from \"./bcs.mjs\";\nimport { Object as Object$1 } from \"./object.mjs\";\nimport { Argument } from \"./argument.mjs\";\nimport { Input } from \"./input.mjs\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.mjs\";\nimport { ObjectReference } from \"./object_reference.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/transaction.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.TransactionExpiration.TransactionExpirationKind\n*/\nlet TransactionExpiration_TransactionExpirationKind = /* @__PURE__ */ function(TransactionExpiration_TransactionExpirationKind$1) {\n\t/**\n\t* @generated from protobuf enum value: TRANSACTION_EXPIRATION_KIND_UNKNOWN = 0;\n\t*/\n\tTransactionExpiration_TransactionExpirationKind$1[TransactionExpiration_TransactionExpirationKind$1[\"TRANSACTION_EXPIRATION_KIND_UNKNOWN\"] = 0] = \"TRANSACTION_EXPIRATION_KIND_UNKNOWN\";\n\t/**\n\t* The transaction has no expiration.\n\t*\n\t* @generated from protobuf enum value: NONE = 1;\n\t*/\n\tTransactionExpiration_TransactionExpirationKind$1[TransactionExpiration_TransactionExpirationKind$1[\"NONE\"] = 1] = \"NONE\";\n\t/**\n\t* Validators won't sign and execute transaction unless the expiration epoch\n\t* is greater than or equal to the current epoch.\n\t*\n\t* @generated from protobuf enum value: EPOCH = 2;\n\t*/\n\tTransactionExpiration_TransactionExpirationKind$1[TransactionExpiration_TransactionExpirationKind$1[\"EPOCH\"] = 2] = \"EPOCH\";\n\t/**\n\t* This variant enables gas payments from address balances.\n\t*\n\t* When transactions use address balances for gas payment instead of explicit gas coins,\n\t* we lose the natural transaction uniqueness and replay prevention that comes from\n\t* mutation of gas coin objects.\n\t*\n\t* By bounding expiration and providing a nonce, validators must only retain\n\t* executed digests for the maximum possible expiry range to differentiate\n\t* retries from unique transactions with otherwise identical inputs.\n\t*\n\t* @generated from protobuf enum value: VALID_DURING = 3;\n\t*/\n\tTransactionExpiration_TransactionExpirationKind$1[TransactionExpiration_TransactionExpirationKind$1[\"VALID_DURING\"] = 3] = \"VALID_DURING\";\n\treturn TransactionExpiration_TransactionExpirationKind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.TransactionKind.Kind\n*/\nlet TransactionKind_Kind = /* @__PURE__ */ function(TransactionKind_Kind$1) {\n\t/**\n\t* @generated from protobuf enum value: KIND_UNKNOWN = 0;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"KIND_UNKNOWN\"] = 0] = \"KIND_UNKNOWN\";\n\t/**\n\t* A user transaction comprised of a list of native commands and Move calls.\n\t*\n\t* @generated from protobuf enum value: PROGRAMMABLE_TRANSACTION = 1;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"PROGRAMMABLE_TRANSACTION\"] = 1] = \"PROGRAMMABLE_TRANSACTION\";\n\t/**\n\t* System transaction used to end an epoch.\n\t*\n\t* The `ChangeEpoch` variant is now deprecated (but the `ChangeEpoch` struct is still used by\n\t* `EndOfEpochTransaction`).\n\t*\n\t* @generated from protobuf enum value: CHANGE_EPOCH = 2;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"CHANGE_EPOCH\"] = 2] = \"CHANGE_EPOCH\";\n\t/**\n\t* Transaction used to initialize the chain state.\n\t*\n\t* Only valid if in the genesis checkpoint (0) and if this is the very first transaction ever\n\t* executed on the chain.\n\t*\n\t* @generated from protobuf enum value: GENESIS = 3;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"GENESIS\"] = 3] = \"GENESIS\";\n\t/**\n\t* V1 consensus commit update.\n\t*\n\t* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V1 = 4;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"CONSENSUS_COMMIT_PROLOGUE_V1\"] = 4] = \"CONSENSUS_COMMIT_PROLOGUE_V1\";\n\t/**\n\t* Update set of valid JWKs used for zklogin.\n\t*\n\t* @generated from protobuf enum value: AUTHENTICATOR_STATE_UPDATE = 5;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"AUTHENTICATOR_STATE_UPDATE\"] = 5] = \"AUTHENTICATOR_STATE_UPDATE\";\n\t/**\n\t* Set of operations to run at the end of the epoch to close out the current epoch and start\n\t* the next one.\n\t*\n\t* @generated from protobuf enum value: END_OF_EPOCH = 6;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"END_OF_EPOCH\"] = 6] = \"END_OF_EPOCH\";\n\t/**\n\t* Randomness update.\n\t*\n\t* @generated from protobuf enum value: RANDOMNESS_STATE_UPDATE = 7;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"RANDOMNESS_STATE_UPDATE\"] = 7] = \"RANDOMNESS_STATE_UPDATE\";\n\t/**\n\t* V2 consensus commit update.\n\t*\n\t* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V2 = 8;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"CONSENSUS_COMMIT_PROLOGUE_V2\"] = 8] = \"CONSENSUS_COMMIT_PROLOGUE_V2\";\n\t/**\n\t* V3 consensus commit update.\n\t*\n\t* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V3 = 9;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"CONSENSUS_COMMIT_PROLOGUE_V3\"] = 9] = \"CONSENSUS_COMMIT_PROLOGUE_V3\";\n\t/**\n\t* V4 consensus commit update.\n\t*\n\t* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V4 = 10;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"CONSENSUS_COMMIT_PROLOGUE_V4\"] = 10] = \"CONSENSUS_COMMIT_PROLOGUE_V4\";\n\t/**\n\t* A system transaction comprised of a list of native commands and Move calls.\n\t*\n\t* @generated from protobuf enum value: PROGRAMMABLE_SYSTEM_TRANSACTION = 11;\n\t*/\n\tTransactionKind_Kind$1[TransactionKind_Kind$1[\"PROGRAMMABLE_SYSTEM_TRANSACTION\"] = 11] = \"PROGRAMMABLE_SYSTEM_TRANSACTION\";\n\treturn TransactionKind_Kind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.EndOfEpochTransactionKind.Kind\n*/\nlet EndOfEpochTransactionKind_Kind = /* @__PURE__ */ function(EndOfEpochTransactionKind_Kind$1) {\n\t/**\n\t* @generated from protobuf enum value: KIND_UNKNOWN = 0;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"KIND_UNKNOWN\"] = 0] = \"KIND_UNKNOWN\";\n\t/**\n\t* End the epoch and start the next one.\n\t*\n\t* @generated from protobuf enum value: CHANGE_EPOCH = 1;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"CHANGE_EPOCH\"] = 1] = \"CHANGE_EPOCH\";\n\t/**\n\t* Create and initialize the authenticator object used for zklogin.\n\t*\n\t* @generated from protobuf enum value: AUTHENTICATOR_STATE_CREATE = 2;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"AUTHENTICATOR_STATE_CREATE\"] = 2] = \"AUTHENTICATOR_STATE_CREATE\";\n\t/**\n\t* Expire JWKs used for zklogin.\n\t*\n\t* @generated from protobuf enum value: AUTHENTICATOR_STATE_EXPIRE = 3;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"AUTHENTICATOR_STATE_EXPIRE\"] = 3] = \"AUTHENTICATOR_STATE_EXPIRE\";\n\t/**\n\t* Create and initialize the randomness object.\n\t*\n\t* @generated from protobuf enum value: RANDOMNESS_STATE_CREATE = 4;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"RANDOMNESS_STATE_CREATE\"] = 4] = \"RANDOMNESS_STATE_CREATE\";\n\t/**\n\t* Create and initialize the deny list object.\n\t*\n\t* @generated from protobuf enum value: DENY_LIST_STATE_CREATE = 5;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"DENY_LIST_STATE_CREATE\"] = 5] = \"DENY_LIST_STATE_CREATE\";\n\t/**\n\t* Create and initialize the bridge object.\n\t*\n\t* @generated from protobuf enum value: BRIDGE_STATE_CREATE = 6;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"BRIDGE_STATE_CREATE\"] = 6] = \"BRIDGE_STATE_CREATE\";\n\t/**\n\t* Initialize the bridge committee.\n\t*\n\t* @generated from protobuf enum value: BRIDGE_COMMITTEE_INIT = 7;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"BRIDGE_COMMITTEE_INIT\"] = 7] = \"BRIDGE_COMMITTEE_INIT\";\n\t/**\n\t* Execution time observations from the committee to preserve cross epoch\n\t*\n\t* @generated from protobuf enum value: STORE_EXECUTION_TIME_OBSERVATIONS = 8;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"STORE_EXECUTION_TIME_OBSERVATIONS\"] = 8] = \"STORE_EXECUTION_TIME_OBSERVATIONS\";\n\t/**\n\t* Create the accumulator root object.\n\t*\n\t* @generated from protobuf enum value: ACCUMULATOR_ROOT_CREATE = 9;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"ACCUMULATOR_ROOT_CREATE\"] = 9] = \"ACCUMULATOR_ROOT_CREATE\";\n\t/**\n\t* Create and initialize the Coin Registry object.\n\t*\n\t* @generated from protobuf enum value: COIN_REGISTRY_CREATE = 10;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"COIN_REGISTRY_CREATE\"] = 10] = \"COIN_REGISTRY_CREATE\";\n\t/**\n\t* Create and initialize the Display Registry object.\n\t*\n\t* @generated from protobuf enum value: DISPLAY_REGISTRY_CREATE = 11;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"DISPLAY_REGISTRY_CREATE\"] = 11] = \"DISPLAY_REGISTRY_CREATE\";\n\t/**\n\t* Create and initialize the Address Alias State object.\n\t*\n\t* @generated from protobuf enum value: ADDRESS_ALIAS_STATE_CREATE = 12;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"ADDRESS_ALIAS_STATE_CREATE\"] = 12] = \"ADDRESS_ALIAS_STATE_CREATE\";\n\t/**\n\t* Write the end-of-epoch-computed storage cost for accumulator objects.\n\t*\n\t* @generated from protobuf enum value: WRITE_ACCUMULATOR_STORAGE_COST = 13;\n\t*/\n\tEndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1[\"WRITE_ACCUMULATOR_STORAGE_COST\"] = 13] = \"WRITE_ACCUMULATOR_STORAGE_COST\";\n\treturn EndOfEpochTransactionKind_Kind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.ExecutionTimeObservation.ExecutionTimeObservationKind\n*/\nlet ExecutionTimeObservation_ExecutionTimeObservationKind = /* @__PURE__ */ function(ExecutionTimeObservation_ExecutionTimeObservationKind$1) {\n\t/**\n\t* @generated from protobuf enum value: EXECUTION_TIME_OBSERVATION_KIND_UNKNOWN = 0;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"EXECUTION_TIME_OBSERVATION_KIND_UNKNOWN\"] = 0] = \"EXECUTION_TIME_OBSERVATION_KIND_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: MOVE_ENTRY_POINT = 1;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"MOVE_ENTRY_POINT\"] = 1] = \"MOVE_ENTRY_POINT\";\n\t/**\n\t* @generated from protobuf enum value: TRANSFER_OBJECTS = 2;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"TRANSFER_OBJECTS\"] = 2] = \"TRANSFER_OBJECTS\";\n\t/**\n\t* @generated from protobuf enum value: SPLIT_COINS = 3;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"SPLIT_COINS\"] = 3] = \"SPLIT_COINS\";\n\t/**\n\t* @generated from protobuf enum value: MERGE_COINS = 4;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"MERGE_COINS\"] = 4] = \"MERGE_COINS\";\n\t/**\n\t* @generated from protobuf enum value: PUBLISH = 5;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"PUBLISH\"] = 5] = \"PUBLISH\";\n\t/**\n\t* @generated from protobuf enum value: MAKE_MOVE_VECTOR = 6;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"MAKE_MOVE_VECTOR\"] = 6] = \"MAKE_MOVE_VECTOR\";\n\t/**\n\t* @generated from protobuf enum value: UPGRADE = 7;\n\t*/\n\tExecutionTimeObservation_ExecutionTimeObservationKind$1[ExecutionTimeObservation_ExecutionTimeObservationKind$1[\"UPGRADE\"] = 7] = \"UPGRADE\";\n\treturn ExecutionTimeObservation_ExecutionTimeObservationKind$1;\n}({});\nvar Transaction$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Transaction\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"bcs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 5\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => TransactionKind\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"sender\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"gas_payment\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => GasPayment\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"expiration\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => TransactionExpiration\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Transaction\n*/\nconst Transaction = new Transaction$Type();\nvar GasPayment$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GasPayment\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ObjectReference\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"owner\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"price\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"budget\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GasPayment\n*/\nconst GasPayment = new GasPayment$Type();\nvar TransactionExpiration$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TransactionExpiration\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.TransactionExpiration.TransactionExpirationKind\", TransactionExpiration_TransactionExpirationKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"min_epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"min_timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"max_timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"chain\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"nonce\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TransactionExpiration\n*/\nconst TransactionExpiration = new TransactionExpiration$Type();\nvar TransactionKind$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TransactionKind\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.TransactionKind.Kind\", TransactionKind_Kind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"programmable_transaction\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => ProgrammableTransaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"change_epoch\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => ChangeEpoch\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"genesis\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => GenesisTransaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"consensus_commit_prologue\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => ConsensusCommitPrologue\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"authenticator_state_update\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => AuthenticatorStateUpdate\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"end_of_epoch\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => EndOfEpochTransaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"randomness_state_update\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => RandomnessStateUpdate\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TransactionKind\n*/\nconst TransactionKind = new TransactionKind$Type();\nvar ProgrammableTransaction$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ProgrammableTransaction\", [{\n\t\t\tno: 1,\n\t\t\tname: \"inputs\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Input\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"commands\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Command\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ProgrammableTransaction\n*/\nconst ProgrammableTransaction = new ProgrammableTransaction$Type();\nvar Command$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Command\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"move_call\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"command\",\n\t\t\t\tT: () => MoveCall\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"transfer_objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"command\",\n\t\t\t\tT: () => TransferObjects\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"split_coins\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"command\",\n\t\t\t\tT: () => SplitCoins\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"merge_coins\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"command\",\n\t\t\t\tT: () => MergeCoins\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"publish\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"command\",\n\t\t\t\tT: () => Publish\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"make_move_vector\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"command\",\n\t\t\t\tT: () => MakeMoveVector\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"upgrade\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"command\",\n\t\t\t\tT: () => Upgrade\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Command\n*/\nconst Command = new Command$Type();\nvar MoveCall$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MoveCall\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"package\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"module\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"function\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"type_arguments\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"arguments\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => Argument\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MoveCall\n*/\nconst MoveCall = new MoveCall$Type();\nvar TransferObjects$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TransferObjects\", [{\n\t\t\tno: 1,\n\t\t\tname: \"objects\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Argument\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"address\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Argument\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TransferObjects\n*/\nconst TransferObjects = new TransferObjects$Type();\nvar SplitCoins$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SplitCoins\", [{\n\t\t\tno: 1,\n\t\t\tname: \"coin\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Argument\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"amounts\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Argument\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SplitCoins\n*/\nconst SplitCoins = new SplitCoins$Type();\nvar MergeCoins$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MergeCoins\", [{\n\t\t\tno: 1,\n\t\t\tname: \"coin\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Argument\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"coins_to_merge\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Argument\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MergeCoins\n*/\nconst MergeCoins = new MergeCoins$Type();\nvar Publish$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Publish\", [{\n\t\t\tno: 1,\n\t\t\tname: \"modules\",\n\t\t\tkind: \"scalar\",\n\t\t\trepeat: 2,\n\t\t\tT: 12\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"dependencies\",\n\t\t\tkind: \"scalar\",\n\t\t\trepeat: 2,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Publish\n*/\nconst Publish = new Publish$Type();\nvar MakeMoveVector$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MakeMoveVector\", [{\n\t\t\tno: 1,\n\t\t\tname: \"element_type\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"elements\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Argument\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MakeMoveVector\n*/\nconst MakeMoveVector = new MakeMoveVector$Type();\nvar Upgrade$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Upgrade\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"modules\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"dependencies\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"package\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"ticket\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Argument\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Upgrade\n*/\nconst Upgrade = new Upgrade$Type();\nvar RandomnessStateUpdate$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.RandomnessStateUpdate\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"randomness_round\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"random_bytes\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"randomness_object_initial_shared_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.RandomnessStateUpdate\n*/\nconst RandomnessStateUpdate = new RandomnessStateUpdate$Type();\nvar ChangeEpoch$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ChangeEpoch\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"protocol_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"storage_charge\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"computation_charge\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"storage_rebate\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"non_refundable_storage_fee\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"epoch_start_timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"system_packages\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => SystemPackage\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ChangeEpoch\n*/\nconst ChangeEpoch = new ChangeEpoch$Type();\nvar SystemPackage$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SystemPackage\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"modules\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"dependencies\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SystemPackage\n*/\nconst SystemPackage = new SystemPackage$Type();\nvar GenesisTransaction$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GenesisTransaction\", [{\n\t\t\tno: 1,\n\t\t\tname: \"objects\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Object$1\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GenesisTransaction\n*/\nconst GenesisTransaction = new GenesisTransaction$Type();\nvar ConsensusCommitPrologue$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ConsensusCommitPrologue\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"round\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"commit_timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"consensus_commit_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"sub_dag_index\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"consensus_determined_version_assignments\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ConsensusDeterminedVersionAssignments\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"additional_state_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ConsensusCommitPrologue\n*/\nconst ConsensusCommitPrologue = new ConsensusCommitPrologue$Type();\nvar VersionAssignment$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.VersionAssignment\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"start_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.VersionAssignment\n*/\nconst VersionAssignment = new VersionAssignment$Type();\nvar CanceledTransaction$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CanceledTransaction\", [{\n\t\t\tno: 1,\n\t\t\tname: \"digest\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"version_assignments\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => VersionAssignment\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CanceledTransaction\n*/\nconst CanceledTransaction = new CanceledTransaction$Type();\nvar ConsensusDeterminedVersionAssignments$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ConsensusDeterminedVersionAssignments\", [{\n\t\t\tno: 1,\n\t\t\tname: \"version\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 5\n\t\t}, {\n\t\t\tno: 3,\n\t\t\tname: \"canceled_transactions\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => CanceledTransaction\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ConsensusDeterminedVersionAssignments\n*/\nconst ConsensusDeterminedVersionAssignments = new ConsensusDeterminedVersionAssignments$Type();\nvar AuthenticatorStateUpdate$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.AuthenticatorStateUpdate\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"round\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"new_active_jwks\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ActiveJwk\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"authenticator_object_initial_shared_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.AuthenticatorStateUpdate\n*/\nconst AuthenticatorStateUpdate = new AuthenticatorStateUpdate$Type();\nvar ActiveJwk$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ActiveJwk\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"id\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => JwkId\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"jwk\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Jwk\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ActiveJwk\n*/\nconst ActiveJwk = new ActiveJwk$Type();\nvar EndOfEpochTransaction$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.EndOfEpochTransaction\", [{\n\t\t\tno: 1,\n\t\t\tname: \"transactions\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => EndOfEpochTransactionKind\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochTransaction\n*/\nconst EndOfEpochTransaction = new EndOfEpochTransaction$Type();\nvar EndOfEpochTransactionKind$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.EndOfEpochTransactionKind\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.EndOfEpochTransactionKind.Kind\", EndOfEpochTransactionKind_Kind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"change_epoch\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => ChangeEpoch\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"authenticator_state_expire\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => AuthenticatorStateExpire\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"execution_time_observations\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: () => ExecutionTimeObservations\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"bridge_chain_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"bridge_object_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"storage_cost\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"data\",\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochTransactionKind\n*/\nconst EndOfEpochTransactionKind = new EndOfEpochTransactionKind$Type();\nvar AuthenticatorStateExpire$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.AuthenticatorStateExpire\", [{\n\t\t\tno: 1,\n\t\t\tname: \"min_epoch\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"authenticator_object_initial_shared_version\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.AuthenticatorStateExpire\n*/\nconst AuthenticatorStateExpire = new AuthenticatorStateExpire$Type();\nvar ExecutionTimeObservations$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ExecutionTimeObservations\", [{\n\t\t\tno: 1,\n\t\t\tname: \"version\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 5\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"observations\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => ExecutionTimeObservation\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ExecutionTimeObservations\n*/\nconst ExecutionTimeObservations = new ExecutionTimeObservations$Type();\nvar ExecutionTimeObservation$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ExecutionTimeObservation\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.ExecutionTimeObservation.ExecutionTimeObservationKind\", ExecutionTimeObservation_ExecutionTimeObservationKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"move_entry_point\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveCall\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"validator_observations\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ValidatorExecutionTimeObservation\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ExecutionTimeObservation\n*/\nconst ExecutionTimeObservation = new ExecutionTimeObservation$Type();\nvar ValidatorExecutionTimeObservation$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ValidatorExecutionTimeObservation\", [{\n\t\t\tno: 1,\n\t\t\tname: \"validator\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 12\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"duration\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Duration\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ValidatorExecutionTimeObservation\n*/\nconst ValidatorExecutionTimeObservation = new ValidatorExecutionTimeObservation$Type();\n\n//#endregion\nexport { ActiveJwk, AuthenticatorStateExpire, AuthenticatorStateUpdate, CanceledTransaction, ChangeEpoch, Command, ConsensusCommitPrologue, ConsensusDeterminedVersionAssignments, EndOfEpochTransaction, EndOfEpochTransactionKind, EndOfEpochTransactionKind_Kind, ExecutionTimeObservation, ExecutionTimeObservation_ExecutionTimeObservationKind, ExecutionTimeObservations, GasPayment, GenesisTransaction, MakeMoveVector, MergeCoins, MoveCall, ProgrammableTransaction, Publish, RandomnessStateUpdate, SplitCoins, SystemPackage, Transaction, TransactionExpiration, TransactionExpiration_TransactionExpirationKind, TransactionKind, TransactionKind_Kind, TransferObjects, Upgrade, ValidatorExecutionTimeObservation, VersionAssignment };\n//# sourceMappingURL=transaction.mjs.map","import { Argument_ArgumentKind } from \"../grpc/proto/sui/rpc/v2/argument.mjs\";\nimport { FundsWithdrawal_Source, Input_InputKind } from \"../grpc/proto/sui/rpc/v2/input.mjs\";\nimport { Transaction, TransactionExpiration_TransactionExpirationKind } from \"../grpc/proto/sui/rpc/v2/transaction.mjs\";\nimport { fromBase64, toBase64 } from \"@mysten/bcs\";\n\n//#region src/client/transaction-resolver.ts\n/**\n* Converts CallArg (TypeScript internal format) to gRPC Input format\n*/\nfunction callArgToGrpcInput(arg) {\n\tswitch (arg.$kind) {\n\t\tcase \"Pure\": return {\n\t\t\tkind: Input_InputKind.PURE,\n\t\t\tpure: fromBase64(arg.Pure.bytes)\n\t\t};\n\t\tcase \"Object\":\n\t\t\tif (arg.Object.$kind === \"ImmOrOwnedObject\") return {\n\t\t\t\tkind: Input_InputKind.IMMUTABLE_OR_OWNED,\n\t\t\t\tobjectId: arg.Object.ImmOrOwnedObject.objectId,\n\t\t\t\tversion: BigInt(arg.Object.ImmOrOwnedObject.version),\n\t\t\t\tdigest: arg.Object.ImmOrOwnedObject.digest\n\t\t\t};\n\t\t\telse if (arg.Object.$kind === \"SharedObject\") return {\n\t\t\t\tkind: Input_InputKind.SHARED,\n\t\t\t\tobjectId: arg.Object.SharedObject.objectId,\n\t\t\t\tversion: BigInt(arg.Object.SharedObject.initialSharedVersion),\n\t\t\t\tmutable: arg.Object.SharedObject.mutable\n\t\t\t};\n\t\t\telse if (arg.Object.$kind === \"Receiving\") return {\n\t\t\t\tkind: Input_InputKind.RECEIVING,\n\t\t\t\tobjectId: arg.Object.Receiving.objectId,\n\t\t\t\tversion: BigInt(arg.Object.Receiving.version),\n\t\t\t\tdigest: arg.Object.Receiving.digest\n\t\t\t};\n\t\t\tthrow new Error(`Unknown Object kind: ${JSON.stringify(arg.Object)}`);\n\t\tcase \"UnresolvedObject\":\n\t\t\tconst unresolved = arg.UnresolvedObject;\n\t\t\treturn {\n\t\t\t\tobjectId: unresolved.objectId,\n\t\t\t\tversion: unresolved.version ? BigInt(unresolved.version) : unresolved.initialSharedVersion ? BigInt(unresolved.initialSharedVersion) : void 0,\n\t\t\t\tdigest: unresolved.digest ?? void 0,\n\t\t\t\tmutable: unresolved.mutable ?? void 0\n\t\t\t};\n\t\tcase \"UnresolvedPure\": throw new Error(\"UnresolvedPure arguments must be resolved before converting to gRPC format\");\n\t\tcase \"FundsWithdrawal\": {\n\t\t\tconst withdrawal = arg.FundsWithdrawal;\n\t\t\treturn {\n\t\t\t\tkind: Input_InputKind.FUNDS_WITHDRAWAL,\n\t\t\t\tfundsWithdrawal: {\n\t\t\t\t\tamount: withdrawal.reservation.$kind === \"MaxAmountU64\" ? BigInt(withdrawal.reservation.MaxAmountU64) : void 0,\n\t\t\t\t\tcoinType: withdrawal.typeArg.$kind === \"Balance\" ? withdrawal.typeArg.Balance : void 0,\n\t\t\t\t\tsource: withdrawal.withdrawFrom.$kind === \"Sponsor\" ? FundsWithdrawal_Source.SPONSOR : FundsWithdrawal_Source.SENDER\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\tdefault: throw new Error(`Unknown CallArg kind: ${JSON.stringify(arg)}`);\n\t}\n}\n/**\n* Converts a TypeScript Argument to gRPC Argument\n*/\nfunction tsArgumentToGrpcArgument(arg) {\n\tif (\"GasCoin\" in arg) return { kind: Argument_ArgumentKind.GAS };\n\telse if (\"Input\" in arg) return {\n\t\tkind: Argument_ArgumentKind.INPUT,\n\t\tinput: arg.Input\n\t};\n\telse if (\"Result\" in arg) return {\n\t\tkind: Argument_ArgumentKind.RESULT,\n\t\tresult: arg.Result\n\t};\n\telse if (\"NestedResult\" in arg) return {\n\t\tkind: Argument_ArgumentKind.RESULT,\n\t\tresult: arg.NestedResult[0],\n\t\tsubresult: arg.NestedResult[1]\n\t};\n\tthrow new Error(`Unknown Argument: ${JSON.stringify(arg)}`);\n}\n/**\n* Converts TypeScript Command to gRPC Command\n*/\nfunction tsCommandToGrpcCommand(cmd) {\n\tswitch (cmd.$kind) {\n\t\tcase \"MoveCall\": return { command: {\n\t\t\toneofKind: \"moveCall\",\n\t\t\tmoveCall: {\n\t\t\t\tpackage: cmd.MoveCall.package,\n\t\t\t\tmodule: cmd.MoveCall.module,\n\t\t\t\tfunction: cmd.MoveCall.function,\n\t\t\t\ttypeArguments: cmd.MoveCall.typeArguments,\n\t\t\t\targuments: cmd.MoveCall.arguments.map(tsArgumentToGrpcArgument)\n\t\t\t}\n\t\t} };\n\t\tcase \"TransferObjects\": return { command: {\n\t\t\toneofKind: \"transferObjects\",\n\t\t\ttransferObjects: {\n\t\t\t\tobjects: cmd.TransferObjects.objects.map(tsArgumentToGrpcArgument),\n\t\t\t\taddress: tsArgumentToGrpcArgument(cmd.TransferObjects.address)\n\t\t\t}\n\t\t} };\n\t\tcase \"SplitCoins\": return { command: {\n\t\t\toneofKind: \"splitCoins\",\n\t\t\tsplitCoins: {\n\t\t\t\tcoin: tsArgumentToGrpcArgument(cmd.SplitCoins.coin),\n\t\t\t\tamounts: cmd.SplitCoins.amounts.map(tsArgumentToGrpcArgument)\n\t\t\t}\n\t\t} };\n\t\tcase \"MergeCoins\": return { command: {\n\t\t\toneofKind: \"mergeCoins\",\n\t\t\tmergeCoins: {\n\t\t\t\tcoin: tsArgumentToGrpcArgument(cmd.MergeCoins.destination),\n\t\t\t\tcoinsToMerge: cmd.MergeCoins.sources.map(tsArgumentToGrpcArgument)\n\t\t\t}\n\t\t} };\n\t\tcase \"Publish\": return { command: {\n\t\t\toneofKind: \"publish\",\n\t\t\tpublish: {\n\t\t\t\tmodules: cmd.Publish.modules.map((m) => fromBase64(m)),\n\t\t\t\tdependencies: cmd.Publish.dependencies\n\t\t\t}\n\t\t} };\n\t\tcase \"MakeMoveVec\": return { command: {\n\t\t\toneofKind: \"makeMoveVector\",\n\t\t\tmakeMoveVector: {\n\t\t\t\telementType: cmd.MakeMoveVec.type ?? void 0,\n\t\t\t\telements: cmd.MakeMoveVec.elements.map(tsArgumentToGrpcArgument)\n\t\t\t}\n\t\t} };\n\t\tcase \"Upgrade\": return { command: {\n\t\t\toneofKind: \"upgrade\",\n\t\t\tupgrade: {\n\t\t\t\tmodules: cmd.Upgrade.modules.map((m) => fromBase64(m)),\n\t\t\t\tdependencies: cmd.Upgrade.dependencies,\n\t\t\t\tpackage: cmd.Upgrade.package,\n\t\t\t\tticket: tsArgumentToGrpcArgument(cmd.Upgrade.ticket)\n\t\t\t}\n\t\t} };\n\t\tdefault: throw new Error(`Unknown Command kind: ${JSON.stringify(cmd)}`);\n\t}\n}\nfunction transactionDataToGrpcTransaction(data) {\n\tconst transaction = {\n\t\tversion: 1,\n\t\tkind: { data: {\n\t\t\toneofKind: \"programmableTransaction\",\n\t\t\tprogrammableTransaction: {\n\t\t\t\tinputs: data.inputs.map(callArgToGrpcInput),\n\t\t\t\tcommands: data.commands.map(tsCommandToGrpcCommand)\n\t\t\t}\n\t\t} }\n\t};\n\tif (data.sender) transaction.sender = data.sender;\n\tconst gasOwner = data.gasData.owner ?? data.sender;\n\ttransaction.gasPayment = {\n\t\tobjects: data.gasData.payment ? data.gasData.payment.map((ref) => ({\n\t\t\tobjectId: ref.objectId,\n\t\t\tversion: BigInt(ref.version),\n\t\t\tdigest: ref.digest\n\t\t})) : [],\n\t\tprice: data.gasData.price ? BigInt(data.gasData.price) : void 0,\n\t\tbudget: data.gasData.budget ? BigInt(data.gasData.budget) : void 0\n\t};\n\tif (gasOwner) transaction.gasPayment.owner = gasOwner;\n\tif (data.expiration) {\n\t\tif (\"None\" in data.expiration) transaction.expiration = { kind: TransactionExpiration_TransactionExpirationKind.NONE };\n\t\telse if (data.expiration.$kind === \"Epoch\") transaction.expiration = {\n\t\t\tkind: TransactionExpiration_TransactionExpirationKind.EPOCH,\n\t\t\tepoch: BigInt(data.expiration.Epoch)\n\t\t};\n\t\telse if (data.expiration.$kind === \"ValidDuring\") {\n\t\t\tconst validDuring = data.expiration.ValidDuring;\n\t\t\ttransaction.expiration = {\n\t\t\t\tkind: TransactionExpiration_TransactionExpirationKind.VALID_DURING,\n\t\t\t\tminEpoch: validDuring.minEpoch != null ? BigInt(validDuring.minEpoch) : void 0,\n\t\t\t\tepoch: validDuring.maxEpoch != null ? BigInt(validDuring.maxEpoch) : void 0,\n\t\t\t\tchain: validDuring.chain,\n\t\t\t\tnonce: validDuring.nonce\n\t\t\t};\n\t\t}\n\t}\n\treturn transaction;\n}\nfunction applyGrpcResolvedTransaction(transactionData, resolvedTransaction, options) {\n\tconst resolved = grpcTransactionToTransactionData(resolvedTransaction);\n\tif (options?.onlyTransactionKind) transactionData.applyResolvedData({\n\t\t...resolved,\n\t\tgasData: {\n\t\t\tbudget: null,\n\t\t\towner: null,\n\t\t\tpayment: null,\n\t\t\tprice: null\n\t\t},\n\t\texpiration: null\n\t});\n\telse transactionData.applyResolvedData(resolved);\n}\nfunction transactionToGrpcTransaction(transaction) {\n\tconst snapshot = transaction.getData();\n\tif (!snapshot.sender) snapshot.sender = \"0x0000000000000000000000000000000000000000000000000000000000000000\";\n\treturn transactionDataToGrpcTransaction(snapshot);\n}\nfunction transactionToGrpcJson(transaction) {\n\tconst grpcTransaction = transactionToGrpcTransaction(transaction);\n\treturn Transaction.toJson(grpcTransaction);\n}\nfunction grpcInputToCallArg(input) {\n\tswitch (input.kind) {\n\t\tcase Input_InputKind.PURE: return {\n\t\t\t$kind: \"Pure\",\n\t\t\tPure: { bytes: toBase64(input.pure) }\n\t\t};\n\t\tcase Input_InputKind.IMMUTABLE_OR_OWNED: return {\n\t\t\t$kind: \"Object\",\n\t\t\tObject: {\n\t\t\t\t$kind: \"ImmOrOwnedObject\",\n\t\t\t\tImmOrOwnedObject: {\n\t\t\t\t\tobjectId: input.objectId,\n\t\t\t\t\tversion: input.version.toString(),\n\t\t\t\t\tdigest: input.digest\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcase Input_InputKind.SHARED: return {\n\t\t\t$kind: \"Object\",\n\t\t\tObject: {\n\t\t\t\t$kind: \"SharedObject\",\n\t\t\t\tSharedObject: {\n\t\t\t\t\tobjectId: input.objectId,\n\t\t\t\t\tinitialSharedVersion: input.version.toString(),\n\t\t\t\t\tmutable: input.mutable ?? false\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcase Input_InputKind.RECEIVING: return {\n\t\t\t$kind: \"Object\",\n\t\t\tObject: {\n\t\t\t\t$kind: \"Receiving\",\n\t\t\t\tReceiving: {\n\t\t\t\t\tobjectId: input.objectId,\n\t\t\t\t\tversion: input.version.toString(),\n\t\t\t\t\tdigest: input.digest\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcase Input_InputKind.FUNDS_WITHDRAWAL: return {\n\t\t\t$kind: \"FundsWithdrawal\",\n\t\t\tFundsWithdrawal: {\n\t\t\t\treservation: {\n\t\t\t\t\t$kind: \"MaxAmountU64\",\n\t\t\t\t\tMaxAmountU64: input.fundsWithdrawal?.amount?.toString() ?? \"0\"\n\t\t\t\t},\n\t\t\t\ttypeArg: {\n\t\t\t\t\t$kind: \"Balance\",\n\t\t\t\t\tBalance: input.fundsWithdrawal?.coinType ?? \"0x2::sui::SUI\"\n\t\t\t\t},\n\t\t\t\twithdrawFrom: input.fundsWithdrawal?.source === FundsWithdrawal_Source.SPONSOR ? {\n\t\t\t\t\t$kind: \"Sponsor\",\n\t\t\t\t\tSponsor: true\n\t\t\t\t} : {\n\t\t\t\t\t$kind: \"Sender\",\n\t\t\t\t\tSender: true\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tdefault: throw new Error(`Unknown Input kind: ${JSON.stringify(input)}`);\n\t}\n}\nfunction grpcArgumentToTsArgument(arg) {\n\tswitch (arg.kind) {\n\t\tcase Argument_ArgumentKind.GAS: return {\n\t\t\t$kind: \"GasCoin\",\n\t\t\tGasCoin: true\n\t\t};\n\t\tcase Argument_ArgumentKind.INPUT: return {\n\t\t\t$kind: \"Input\",\n\t\t\tInput: arg.input\n\t\t};\n\t\tcase Argument_ArgumentKind.RESULT:\n\t\t\tif (arg.subresult != null) return {\n\t\t\t\t$kind: \"NestedResult\",\n\t\t\t\tNestedResult: [arg.result, arg.subresult]\n\t\t\t};\n\t\t\treturn {\n\t\t\t\t$kind: \"Result\",\n\t\t\t\tResult: arg.result\n\t\t\t};\n\t\tdefault: throw new Error(`Unknown Argument kind: ${JSON.stringify(arg)}`);\n\t}\n}\nfunction grpcCommandToTsCommand(cmd) {\n\tconst command = cmd.command;\n\tif (!command) throw new Error(\"Command is missing\");\n\tswitch (command.oneofKind) {\n\t\tcase \"moveCall\": return {\n\t\t\t$kind: \"MoveCall\",\n\t\t\tMoveCall: {\n\t\t\t\tpackage: command.moveCall.package,\n\t\t\t\tmodule: command.moveCall.module,\n\t\t\t\tfunction: command.moveCall.function,\n\t\t\t\ttypeArguments: command.moveCall.typeArguments ?? [],\n\t\t\t\targuments: command.moveCall.arguments.map(grpcArgumentToTsArgument)\n\t\t\t}\n\t\t};\n\t\tcase \"transferObjects\": return {\n\t\t\t$kind: \"TransferObjects\",\n\t\t\tTransferObjects: {\n\t\t\t\tobjects: command.transferObjects.objects.map(grpcArgumentToTsArgument),\n\t\t\t\taddress: grpcArgumentToTsArgument(command.transferObjects.address)\n\t\t\t}\n\t\t};\n\t\tcase \"splitCoins\": return {\n\t\t\t$kind: \"SplitCoins\",\n\t\t\tSplitCoins: {\n\t\t\t\tcoin: grpcArgumentToTsArgument(command.splitCoins.coin),\n\t\t\t\tamounts: command.splitCoins.amounts.map(grpcArgumentToTsArgument)\n\t\t\t}\n\t\t};\n\t\tcase \"mergeCoins\": return {\n\t\t\t$kind: \"MergeCoins\",\n\t\t\tMergeCoins: {\n\t\t\t\tdestination: grpcArgumentToTsArgument(command.mergeCoins.coin),\n\t\t\t\tsources: command.mergeCoins.coinsToMerge.map(grpcArgumentToTsArgument)\n\t\t\t}\n\t\t};\n\t\tcase \"publish\": return {\n\t\t\t$kind: \"Publish\",\n\t\t\tPublish: {\n\t\t\t\tmodules: command.publish.modules.map((m) => toBase64(m)),\n\t\t\t\tdependencies: command.publish.dependencies ?? []\n\t\t\t}\n\t\t};\n\t\tcase \"makeMoveVector\": return {\n\t\t\t$kind: \"MakeMoveVec\",\n\t\t\tMakeMoveVec: {\n\t\t\t\ttype: command.makeMoveVector.elementType ?? null,\n\t\t\t\telements: command.makeMoveVector.elements.map(grpcArgumentToTsArgument)\n\t\t\t}\n\t\t};\n\t\tcase \"upgrade\": return {\n\t\t\t$kind: \"Upgrade\",\n\t\t\tUpgrade: {\n\t\t\t\tmodules: command.upgrade.modules.map((m) => toBase64(m)),\n\t\t\t\tdependencies: command.upgrade.dependencies ?? [],\n\t\t\t\tpackage: command.upgrade.package,\n\t\t\t\tticket: grpcArgumentToTsArgument(command.upgrade.ticket)\n\t\t\t}\n\t\t};\n\t\tdefault: throw new Error(`Unknown Command kind: ${JSON.stringify(command)}`);\n\t}\n}\nfunction grpcTransactionToTransactionData(grpcTx) {\n\tconst programmableTx = grpcTx.kind?.data;\n\tif (programmableTx?.oneofKind !== \"programmableTransaction\") throw new Error(\"Only programmable transactions are supported\");\n\tconst inputs = programmableTx.programmableTransaction.inputs.map(grpcInputToCallArg);\n\tconst commands = programmableTx.programmableTransaction.commands.map(grpcCommandToTsCommand);\n\tlet expiration = null;\n\tif (grpcTx.expiration) switch (grpcTx.expiration.kind) {\n\t\tcase TransactionExpiration_TransactionExpirationKind.NONE:\n\t\t\texpiration = {\n\t\t\t\t$kind: \"None\",\n\t\t\t\tNone: true\n\t\t\t};\n\t\t\tbreak;\n\t\tcase TransactionExpiration_TransactionExpirationKind.EPOCH:\n\t\t\texpiration = {\n\t\t\t\t$kind: \"Epoch\",\n\t\t\t\tEpoch: grpcTx.expiration.epoch.toString()\n\t\t\t};\n\t\t\tbreak;\n\t\tcase TransactionExpiration_TransactionExpirationKind.VALID_DURING:\n\t\t\texpiration = {\n\t\t\t\t$kind: \"ValidDuring\",\n\t\t\t\tValidDuring: {\n\t\t\t\t\tminEpoch: grpcTx.expiration.minEpoch?.toString() ?? null,\n\t\t\t\t\tmaxEpoch: grpcTx.expiration.epoch?.toString() ?? null,\n\t\t\t\t\tminTimestamp: null,\n\t\t\t\t\tmaxTimestamp: null,\n\t\t\t\t\tchain: grpcTx.expiration.chain ?? \"\",\n\t\t\t\t\tnonce: grpcTx.expiration.nonce ?? 0\n\t\t\t\t}\n\t\t\t};\n\t\t\tbreak;\n\t}\n\treturn {\n\t\tversion: 2,\n\t\tsender: grpcTx.sender ?? null,\n\t\texpiration,\n\t\tgasData: {\n\t\t\tbudget: grpcTx.gasPayment?.budget?.toString() ?? null,\n\t\t\towner: grpcTx.gasPayment?.owner ?? null,\n\t\t\tpayment: grpcTx.gasPayment?.objects?.map((obj) => ({\n\t\t\t\tobjectId: obj.objectId,\n\t\t\t\tversion: obj.version.toString(),\n\t\t\t\tdigest: obj.digest\n\t\t\t})) ?? null,\n\t\t\tprice: grpcTx.gasPayment?.price?.toString() ?? null\n\t\t},\n\t\tinputs,\n\t\tcommands\n\t};\n}\n\n//#endregion\nexport { applyGrpcResolvedTransaction, grpcTransactionToTransactionData, transactionDataToGrpcTransaction, transactionToGrpcJson, transactionToGrpcTransaction };\n//# sourceMappingURL=transaction-resolver.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/execution_status.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.ExecutionError.ExecutionErrorKind\n*/\nlet ExecutionError_ExecutionErrorKind = /* @__PURE__ */ function(ExecutionError_ExecutionErrorKind$1) {\n\t/**\n\t* @generated from protobuf enum value: EXECUTION_ERROR_KIND_UNKNOWN = 0;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"EXECUTION_ERROR_KIND_UNKNOWN\"] = 0] = \"EXECUTION_ERROR_KIND_UNKNOWN\";\n\t/**\n\t* Insufficient gas.\n\t*\n\t* @generated from protobuf enum value: INSUFFICIENT_GAS = 1;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INSUFFICIENT_GAS\"] = 1] = \"INSUFFICIENT_GAS\";\n\t/**\n\t* Invalid `Gas` object.\n\t*\n\t* @generated from protobuf enum value: INVALID_GAS_OBJECT = 2;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INVALID_GAS_OBJECT\"] = 2] = \"INVALID_GAS_OBJECT\";\n\t/**\n\t* Invariant violation.\n\t*\n\t* @generated from protobuf enum value: INVARIANT_VIOLATION = 3;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INVARIANT_VIOLATION\"] = 3] = \"INVARIANT_VIOLATION\";\n\t/**\n\t* Attempted to use feature that is not supported yet.\n\t*\n\t* @generated from protobuf enum value: FEATURE_NOT_YET_SUPPORTED = 4;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"FEATURE_NOT_YET_SUPPORTED\"] = 4] = \"FEATURE_NOT_YET_SUPPORTED\";\n\t/**\n\t* Move object is larger than the maximum allowed size.\n\t*\n\t* @generated from protobuf enum value: OBJECT_TOO_BIG = 5;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"OBJECT_TOO_BIG\"] = 5] = \"OBJECT_TOO_BIG\";\n\t/**\n\t* Package is larger than the maximum allowed size.\n\t*\n\t* @generated from protobuf enum value: PACKAGE_TOO_BIG = 6;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"PACKAGE_TOO_BIG\"] = 6] = \"PACKAGE_TOO_BIG\";\n\t/**\n\t* Circular object ownership.\n\t*\n\t* @generated from protobuf enum value: CIRCULAR_OBJECT_OWNERSHIP = 7;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"CIRCULAR_OBJECT_OWNERSHIP\"] = 7] = \"CIRCULAR_OBJECT_OWNERSHIP\";\n\t/**\n\t* Insufficient coin balance for requested operation.\n\t*\n\t* @generated from protobuf enum value: INSUFFICIENT_COIN_BALANCE = 8;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INSUFFICIENT_COIN_BALANCE\"] = 8] = \"INSUFFICIENT_COIN_BALANCE\";\n\t/**\n\t* Coin balance overflowed an u64.\n\t*\n\t* @generated from protobuf enum value: COIN_BALANCE_OVERFLOW = 9;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"COIN_BALANCE_OVERFLOW\"] = 9] = \"COIN_BALANCE_OVERFLOW\";\n\t/**\n\t* Publish error, non-zero address.\n\t* The modules in the package must have their self-addresses set to zero.\n\t*\n\t* @generated from protobuf enum value: PUBLISH_ERROR_NON_ZERO_ADDRESS = 10;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"PUBLISH_ERROR_NON_ZERO_ADDRESS\"] = 10] = \"PUBLISH_ERROR_NON_ZERO_ADDRESS\";\n\t/**\n\t* Sui Move bytecode verification error.\n\t*\n\t* @generated from protobuf enum value: SUI_MOVE_VERIFICATION_ERROR = 11;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"SUI_MOVE_VERIFICATION_ERROR\"] = 11] = \"SUI_MOVE_VERIFICATION_ERROR\";\n\t/**\n\t* Error from a non-abort instruction.\n\t* Possible causes:\n\t* Arithmetic error, stack overflow, max value depth, or similar.\n\t*\n\t* @generated from protobuf enum value: MOVE_PRIMITIVE_RUNTIME_ERROR = 12;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"MOVE_PRIMITIVE_RUNTIME_ERROR\"] = 12] = \"MOVE_PRIMITIVE_RUNTIME_ERROR\";\n\t/**\n\t* Move runtime abort.\n\t*\n\t* @generated from protobuf enum value: MOVE_ABORT = 13;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"MOVE_ABORT\"] = 13] = \"MOVE_ABORT\";\n\t/**\n\t* Bytecode verification error.\n\t*\n\t* @generated from protobuf enum value: VM_VERIFICATION_OR_DESERIALIZATION_ERROR = 14;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"VM_VERIFICATION_OR_DESERIALIZATION_ERROR\"] = 14] = \"VM_VERIFICATION_OR_DESERIALIZATION_ERROR\";\n\t/**\n\t* MoveVm invariant violation.\n\t*\n\t* @generated from protobuf enum value: VM_INVARIANT_VIOLATION = 15;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"VM_INVARIANT_VIOLATION\"] = 15] = \"VM_INVARIANT_VIOLATION\";\n\t/**\n\t* Function not found.\n\t*\n\t* @generated from protobuf enum value: FUNCTION_NOT_FOUND = 16;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"FUNCTION_NOT_FOUND\"] = 16] = \"FUNCTION_NOT_FOUND\";\n\t/**\n\t* Parity mismatch for Move function.\n\t* The number of arguments does not match the number of parameters.\n\t*\n\t* @generated from protobuf enum value: ARITY_MISMATCH = 17;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"ARITY_MISMATCH\"] = 17] = \"ARITY_MISMATCH\";\n\t/**\n\t* Type parity mismatch for Move function.\n\t* Mismatch between the number of actual versus expected type arguments.\n\t*\n\t* @generated from protobuf enum value: TYPE_ARITY_MISMATCH = 18;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"TYPE_ARITY_MISMATCH\"] = 18] = \"TYPE_ARITY_MISMATCH\";\n\t/**\n\t* Non-entry function invoked. Move Call must start with an entry function.\n\t*\n\t* @generated from protobuf enum value: NON_ENTRY_FUNCTION_INVOKED = 19;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"NON_ENTRY_FUNCTION_INVOKED\"] = 19] = \"NON_ENTRY_FUNCTION_INVOKED\";\n\t/**\n\t* Invalid command argument.\n\t*\n\t* @generated from protobuf enum value: COMMAND_ARGUMENT_ERROR = 20;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"COMMAND_ARGUMENT_ERROR\"] = 20] = \"COMMAND_ARGUMENT_ERROR\";\n\t/**\n\t* Type argument error.\n\t*\n\t* @generated from protobuf enum value: TYPE_ARGUMENT_ERROR = 21;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"TYPE_ARGUMENT_ERROR\"] = 21] = \"TYPE_ARGUMENT_ERROR\";\n\t/**\n\t* Unused result without the drop ability.\n\t*\n\t* @generated from protobuf enum value: UNUSED_VALUE_WITHOUT_DROP = 22;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"UNUSED_VALUE_WITHOUT_DROP\"] = 22] = \"UNUSED_VALUE_WITHOUT_DROP\";\n\t/**\n\t* Invalid public Move function signature.\n\t* Unsupported return type for return value.\n\t*\n\t* @generated from protobuf enum value: INVALID_PUBLIC_FUNCTION_RETURN_TYPE = 23;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INVALID_PUBLIC_FUNCTION_RETURN_TYPE\"] = 23] = \"INVALID_PUBLIC_FUNCTION_RETURN_TYPE\";\n\t/**\n\t* Invalid transfer object, object does not have public transfer.\n\t*\n\t* @generated from protobuf enum value: INVALID_TRANSFER_OBJECT = 24;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INVALID_TRANSFER_OBJECT\"] = 24] = \"INVALID_TRANSFER_OBJECT\";\n\t/**\n\t* Effects from the transaction are too large.\n\t*\n\t* @generated from protobuf enum value: EFFECTS_TOO_LARGE = 25;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"EFFECTS_TOO_LARGE\"] = 25] = \"EFFECTS_TOO_LARGE\";\n\t/**\n\t* Publish or Upgrade is missing dependency.\n\t*\n\t* @generated from protobuf enum value: PUBLISH_UPGRADE_MISSING_DEPENDENCY = 26;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"PUBLISH_UPGRADE_MISSING_DEPENDENCY\"] = 26] = \"PUBLISH_UPGRADE_MISSING_DEPENDENCY\";\n\t/**\n\t* Publish or upgrade dependency downgrade.\n\t*\n\t* Indirect (transitive) dependency of published or upgraded package has been assigned an\n\t* on-chain version that is less than the version required by one of the package's\n\t* transitive dependencies.\n\t*\n\t* @generated from protobuf enum value: PUBLISH_UPGRADE_DEPENDENCY_DOWNGRADE = 27;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"PUBLISH_UPGRADE_DEPENDENCY_DOWNGRADE\"] = 27] = \"PUBLISH_UPGRADE_DEPENDENCY_DOWNGRADE\";\n\t/**\n\t* Invalid package upgrade.\n\t*\n\t* @generated from protobuf enum value: PACKAGE_UPGRADE_ERROR = 28;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"PACKAGE_UPGRADE_ERROR\"] = 28] = \"PACKAGE_UPGRADE_ERROR\";\n\t/**\n\t* Indicates the transaction tried to write objects too large to storage.\n\t*\n\t* @generated from protobuf enum value: WRITTEN_OBJECTS_TOO_LARGE = 29;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"WRITTEN_OBJECTS_TOO_LARGE\"] = 29] = \"WRITTEN_OBJECTS_TOO_LARGE\";\n\t/**\n\t* Certificate is on the deny list.\n\t*\n\t* @generated from protobuf enum value: CERTIFICATE_DENIED = 30;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"CERTIFICATE_DENIED\"] = 30] = \"CERTIFICATE_DENIED\";\n\t/**\n\t* Sui Move bytecode verification timed out.\n\t*\n\t* @generated from protobuf enum value: SUI_MOVE_VERIFICATION_TIMEDOUT = 31;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"SUI_MOVE_VERIFICATION_TIMEDOUT\"] = 31] = \"SUI_MOVE_VERIFICATION_TIMEDOUT\";\n\t/**\n\t* The requested consensus object operation is not allowed.\n\t*\n\t* @generated from protobuf enum value: CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED = 32;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED\"] = 32] = \"CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED\";\n\t/**\n\t* Requested consensus object has been deleted.\n\t*\n\t* @generated from protobuf enum value: INPUT_OBJECT_DELETED = 33;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INPUT_OBJECT_DELETED\"] = 33] = \"INPUT_OBJECT_DELETED\";\n\t/**\n\t* Certificate is canceled due to congestion on consensus objects.\n\t*\n\t* @generated from protobuf enum value: EXECUTION_CANCELED_DUE_TO_CONSENSUS_OBJECT_CONGESTION = 34;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"EXECUTION_CANCELED_DUE_TO_CONSENSUS_OBJECT_CONGESTION\"] = 34] = \"EXECUTION_CANCELED_DUE_TO_CONSENSUS_OBJECT_CONGESTION\";\n\t/**\n\t* Address is denied for this coin type.\n\t*\n\t* @generated from protobuf enum value: ADDRESS_DENIED_FOR_COIN = 35;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"ADDRESS_DENIED_FOR_COIN\"] = 35] = \"ADDRESS_DENIED_FOR_COIN\";\n\t/**\n\t* Coin type is globally paused for use.\n\t*\n\t* @generated from protobuf enum value: COIN_TYPE_GLOBAL_PAUSE = 36;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"COIN_TYPE_GLOBAL_PAUSE\"] = 36] = \"COIN_TYPE_GLOBAL_PAUSE\";\n\t/**\n\t* Certificate is canceled because randomness could not be generated this epoch.\n\t*\n\t* @generated from protobuf enum value: EXECUTION_CANCELED_DUE_TO_RANDOMNESS_UNAVAILABLE = 37;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"EXECUTION_CANCELED_DUE_TO_RANDOMNESS_UNAVAILABLE\"] = 37] = \"EXECUTION_CANCELED_DUE_TO_RANDOMNESS_UNAVAILABLE\";\n\t/**\n\t* Move vector element (passed to MakeMoveVec) with size {value_size} is larger \\\n\t* than the maximum size {max_scaled_size}. Note that this maximum is scaled based on the \\\n\t* type of the vector element.\n\t*\n\t* @generated from protobuf enum value: MOVE_VECTOR_ELEM_TOO_BIG = 38;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"MOVE_VECTOR_ELEM_TOO_BIG\"] = 38] = \"MOVE_VECTOR_ELEM_TOO_BIG\";\n\t/**\n\t* Move value (possibly an upgrade ticket or a dev-inspect value) with size {value_size} \\\n\t* is larger than the maximum size {max_scaled_size}. Note that this maximum is scaled based \\\n\t* on the type of the value.\n\t*\n\t* @generated from protobuf enum value: MOVE_RAW_VALUE_TOO_BIG = 39;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"MOVE_RAW_VALUE_TOO_BIG\"] = 39] = \"MOVE_RAW_VALUE_TOO_BIG\";\n\t/**\n\t* A valid linkage was unable to be determined for the transaction or one of its commands.\n\t*\n\t* @generated from protobuf enum value: INVALID_LINKAGE = 40;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INVALID_LINKAGE\"] = 40] = \"INVALID_LINKAGE\";\n\t/**\n\t* Insufficient funds for transaction withdrawal\n\t*\n\t* @generated from protobuf enum value: INSUFFICIENT_FUNDS_FOR_WITHDRAW = 41;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"INSUFFICIENT_FUNDS_FOR_WITHDRAW\"] = 41] = \"INSUFFICIENT_FUNDS_FOR_WITHDRAW\";\n\t/**\n\t* An input object with non-exclusive write mutability was modified\n\t*\n\t* @generated from protobuf enum value: NON_EXCLUSIVE_WRITE_INPUT_OBJECT_MODIFIED = 42;\n\t*/\n\tExecutionError_ExecutionErrorKind$1[ExecutionError_ExecutionErrorKind$1[\"NON_EXCLUSIVE_WRITE_INPUT_OBJECT_MODIFIED\"] = 42] = \"NON_EXCLUSIVE_WRITE_INPUT_OBJECT_MODIFIED\";\n\treturn ExecutionError_ExecutionErrorKind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.CommandArgumentError.CommandArgumentErrorKind\n*/\nlet CommandArgumentError_CommandArgumentErrorKind = /* @__PURE__ */ function(CommandArgumentError_CommandArgumentErrorKind$1) {\n\t/**\n\t* @generated from protobuf enum value: COMMAND_ARGUMENT_ERROR_KIND_UNKNOWN = 0;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"COMMAND_ARGUMENT_ERROR_KIND_UNKNOWN\"] = 0] = \"COMMAND_ARGUMENT_ERROR_KIND_UNKNOWN\";\n\t/**\n\t* The type of the value does not match the expected type.\n\t*\n\t* @generated from protobuf enum value: TYPE_MISMATCH = 1;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"TYPE_MISMATCH\"] = 1] = \"TYPE_MISMATCH\";\n\t/**\n\t* The argument cannot be deserialized into a value of the specified type.\n\t*\n\t* @generated from protobuf enum value: INVALID_BCS_BYTES = 2;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_BCS_BYTES\"] = 2] = \"INVALID_BCS_BYTES\";\n\t/**\n\t* The argument cannot be instantiated from raw bytes.\n\t*\n\t* @generated from protobuf enum value: INVALID_USAGE_OF_PURE_ARGUMENT = 3;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_USAGE_OF_PURE_ARGUMENT\"] = 3] = \"INVALID_USAGE_OF_PURE_ARGUMENT\";\n\t/**\n\t* Invalid argument to private entry function.\n\t* Private entry functions cannot take arguments from other Move functions.\n\t*\n\t* @generated from protobuf enum value: INVALID_ARGUMENT_TO_PRIVATE_ENTRY_FUNCTION = 4;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_ARGUMENT_TO_PRIVATE_ENTRY_FUNCTION\"] = 4] = \"INVALID_ARGUMENT_TO_PRIVATE_ENTRY_FUNCTION\";\n\t/**\n\t* Out of bounds access to input or results.\n\t*\n\t* `index` field will be set indicating the invalid index value.\n\t*\n\t* @generated from protobuf enum value: INDEX_OUT_OF_BOUNDS = 5;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INDEX_OUT_OF_BOUNDS\"] = 5] = \"INDEX_OUT_OF_BOUNDS\";\n\t/**\n\t* Out of bounds access to subresult.\n\t*\n\t* `index` and `subresult` fields will be set indicating the invalid index value.\n\t*\n\t* @generated from protobuf enum value: SECONDARY_INDEX_OUT_OF_BOUNDS = 6;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"SECONDARY_INDEX_OUT_OF_BOUNDS\"] = 6] = \"SECONDARY_INDEX_OUT_OF_BOUNDS\";\n\t/**\n\t* Invalid usage of result.\n\t* Expected a single result but found either no return value or multiple.\n\t* `index` field will be set indicating the invalid index value.\n\t*\n\t* @generated from protobuf enum value: INVALID_RESULT_ARITY = 7;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_RESULT_ARITY\"] = 7] = \"INVALID_RESULT_ARITY\";\n\t/**\n\t* Invalid usage of gas coin.\n\t* The gas coin can only be used by-value with a `TransferObject` command.\n\t*\n\t* @generated from protobuf enum value: INVALID_GAS_COIN_USAGE = 8;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_GAS_COIN_USAGE\"] = 8] = \"INVALID_GAS_COIN_USAGE\";\n\t/**\n\t* Invalid usage of Move value.\n\t* - Mutably borrowed values require unique usage.\n\t* - Immutably borrowed values cannot be taken or borrowed mutably.\n\t* - Taken values cannot be used again.\n\t*\n\t* @generated from protobuf enum value: INVALID_VALUE_USAGE = 9;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_VALUE_USAGE\"] = 9] = \"INVALID_VALUE_USAGE\";\n\t/**\n\t* Immutable objects cannot be passed by-value.\n\t*\n\t* @generated from protobuf enum value: INVALID_OBJECT_BY_VALUE = 10;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_OBJECT_BY_VALUE\"] = 10] = \"INVALID_OBJECT_BY_VALUE\";\n\t/**\n\t* Immutable objects cannot be passed by mutable reference, `&mut`.\n\t*\n\t* @generated from protobuf enum value: INVALID_OBJECT_BY_MUT_REF = 11;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_OBJECT_BY_MUT_REF\"] = 11] = \"INVALID_OBJECT_BY_MUT_REF\";\n\t/**\n\t* Consensus object operations such as wrapping, freezing, or converting to owned are not\n\t* allowed.\n\t*\n\t* @generated from protobuf enum value: CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED = 12;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED\"] = 12] = \"CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED\";\n\t/**\n\t* Invalid argument arity. Expected a single argument but found a result that expanded to\n\t* multiple arguments.\n\t*\n\t* @generated from protobuf enum value: INVALID_ARGUMENT_ARITY = 13;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_ARGUMENT_ARITY\"] = 13] = \"INVALID_ARGUMENT_ARITY\";\n\t/**\n\t* Object passed to TransferObject does not have public transfer, i.e. the `store` ability\n\t*\n\t* @generated from protobuf enum value: INVALID_TRANSFER_OBJECT = 14;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_TRANSFER_OBJECT\"] = 14] = \"INVALID_TRANSFER_OBJECT\";\n\t/**\n\t* First argument to MakeMoveVec is not an object. If no type is specified for MakeMoveVec,\n\t* all arguments must be the same object type.\n\t*\n\t* @generated from protobuf enum value: INVALID_MAKE_MOVE_VEC_NON_OBJECT_ARGUMENT = 15;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_MAKE_MOVE_VEC_NON_OBJECT_ARGUMENT\"] = 15] = \"INVALID_MAKE_MOVE_VEC_NON_OBJECT_ARGUMENT\";\n\t/**\n\t* Specified argument location does not have a value and cannot be used\n\t*\n\t* @generated from protobuf enum value: ARGUMENT_WITHOUT_VALUE = 16;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"ARGUMENT_WITHOUT_VALUE\"] = 16] = \"ARGUMENT_WITHOUT_VALUE\";\n\t/**\n\t* Cannot move a borrowed value. The value's type does resulted in this argument usage being\n\t* inferred as a move. This is likely due to the type not having the `copy` ability; although\n\t* in rare cases, it could also be this is the last usage of a value without the `drop`\n\t* ability.\n\t*\n\t* @generated from protobuf enum value: CANNOT_MOVE_BORROWED_VALUE = 17;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"CANNOT_MOVE_BORROWED_VALUE\"] = 17] = \"CANNOT_MOVE_BORROWED_VALUE\";\n\t/**\n\t* Cannot write to an argument location that is still borrowed, and where that borrow is an\n\t* extension of that reference. This is likely due to this argument being used in a Move call\n\t* that returns a reference, and that reference is used in a later command.\n\t*\n\t* @generated from protobuf enum value: CANNOT_WRITE_TO_EXTENDED_REFERENCE = 18;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"CANNOT_WRITE_TO_EXTENDED_REFERENCE\"] = 18] = \"CANNOT_WRITE_TO_EXTENDED_REFERENCE\";\n\t/**\n\t* The argument specified cannot be used as a reference argument in the Move call. Either the\n\t* argument is a mutable reference and it conflicts with another argument to the call, or the\n\t* argument is mutable and another reference extends it and will be used in a later command.\n\t*\n\t* @generated from protobuf enum value: INVALID_REFERENCE_ARGUMENT = 19;\n\t*/\n\tCommandArgumentError_CommandArgumentErrorKind$1[CommandArgumentError_CommandArgumentErrorKind$1[\"INVALID_REFERENCE_ARGUMENT\"] = 19] = \"INVALID_REFERENCE_ARGUMENT\";\n\treturn CommandArgumentError_CommandArgumentErrorKind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.PackageUpgradeError.PackageUpgradeErrorKind\n*/\nlet PackageUpgradeError_PackageUpgradeErrorKind = /* @__PURE__ */ function(PackageUpgradeError_PackageUpgradeErrorKind$1) {\n\t/**\n\t* @generated from protobuf enum value: PACKAGE_UPGRADE_ERROR_KIND_UNKNOWN = 0;\n\t*/\n\tPackageUpgradeError_PackageUpgradeErrorKind$1[PackageUpgradeError_PackageUpgradeErrorKind$1[\"PACKAGE_UPGRADE_ERROR_KIND_UNKNOWN\"] = 0] = \"PACKAGE_UPGRADE_ERROR_KIND_UNKNOWN\";\n\t/**\n\t* Unable to fetch package.\n\t*\n\t* @generated from protobuf enum value: UNABLE_TO_FETCH_PACKAGE = 1;\n\t*/\n\tPackageUpgradeError_PackageUpgradeErrorKind$1[PackageUpgradeError_PackageUpgradeErrorKind$1[\"UNABLE_TO_FETCH_PACKAGE\"] = 1] = \"UNABLE_TO_FETCH_PACKAGE\";\n\t/**\n\t* Object is not a package.\n\t*\n\t* @generated from protobuf enum value: NOT_A_PACKAGE = 2;\n\t*/\n\tPackageUpgradeError_PackageUpgradeErrorKind$1[PackageUpgradeError_PackageUpgradeErrorKind$1[\"NOT_A_PACKAGE\"] = 2] = \"NOT_A_PACKAGE\";\n\t/**\n\t* Package upgrade is incompatible with previous version.\n\t*\n\t* @generated from protobuf enum value: INCOMPATIBLE_UPGRADE = 3;\n\t*/\n\tPackageUpgradeError_PackageUpgradeErrorKind$1[PackageUpgradeError_PackageUpgradeErrorKind$1[\"INCOMPATIBLE_UPGRADE\"] = 3] = \"INCOMPATIBLE_UPGRADE\";\n\t/**\n\t* Digest in upgrade ticket and computed digest differ.\n\t*\n\t* @generated from protobuf enum value: DIGEST_DOES_NOT_MATCH = 4;\n\t*/\n\tPackageUpgradeError_PackageUpgradeErrorKind$1[PackageUpgradeError_PackageUpgradeErrorKind$1[\"DIGEST_DOES_NOT_MATCH\"] = 4] = \"DIGEST_DOES_NOT_MATCH\";\n\t/**\n\t* Upgrade policy is not valid.\n\t*\n\t* @generated from protobuf enum value: UNKNOWN_UPGRADE_POLICY = 5;\n\t*/\n\tPackageUpgradeError_PackageUpgradeErrorKind$1[PackageUpgradeError_PackageUpgradeErrorKind$1[\"UNKNOWN_UPGRADE_POLICY\"] = 5] = \"UNKNOWN_UPGRADE_POLICY\";\n\t/**\n\t* Package ID does not match `PackageId` in upgrade ticket.\n\t*\n\t* @generated from protobuf enum value: PACKAGE_ID_DOES_NOT_MATCH = 6;\n\t*/\n\tPackageUpgradeError_PackageUpgradeErrorKind$1[PackageUpgradeError_PackageUpgradeErrorKind$1[\"PACKAGE_ID_DOES_NOT_MATCH\"] = 6] = \"PACKAGE_ID_DOES_NOT_MATCH\";\n\treturn PackageUpgradeError_PackageUpgradeErrorKind$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.TypeArgumentError.TypeArgumentErrorKind\n*/\nlet TypeArgumentError_TypeArgumentErrorKind = /* @__PURE__ */ function(TypeArgumentError_TypeArgumentErrorKind$1) {\n\t/**\n\t* @generated from protobuf enum value: TYPE_ARGUMENT_ERROR_KIND_UNKNOWN = 0;\n\t*/\n\tTypeArgumentError_TypeArgumentErrorKind$1[TypeArgumentError_TypeArgumentErrorKind$1[\"TYPE_ARGUMENT_ERROR_KIND_UNKNOWN\"] = 0] = \"TYPE_ARGUMENT_ERROR_KIND_UNKNOWN\";\n\t/**\n\t* A type was not found in the module specified.\n\t*\n\t* @generated from protobuf enum value: TYPE_NOT_FOUND = 1;\n\t*/\n\tTypeArgumentError_TypeArgumentErrorKind$1[TypeArgumentError_TypeArgumentErrorKind$1[\"TYPE_NOT_FOUND\"] = 1] = \"TYPE_NOT_FOUND\";\n\t/**\n\t* A type provided did not match the specified constraint.\n\t*\n\t* @generated from protobuf enum value: CONSTRAINT_NOT_SATISFIED = 2;\n\t*/\n\tTypeArgumentError_TypeArgumentErrorKind$1[TypeArgumentError_TypeArgumentErrorKind$1[\"CONSTRAINT_NOT_SATISFIED\"] = 2] = \"CONSTRAINT_NOT_SATISFIED\";\n\treturn TypeArgumentError_TypeArgumentErrorKind$1;\n}({});\nvar ExecutionStatus$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ExecutionStatus\", [{\n\t\t\tno: 1,\n\t\t\tname: \"success\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 8\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"error\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => ExecutionError\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ExecutionStatus\n*/\nconst ExecutionStatus = new ExecutionStatus$Type();\nvar ExecutionError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ExecutionError\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"description\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"command\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.ExecutionError.ExecutionErrorKind\", ExecutionError_ExecutionErrorKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"abort\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => MoveAbort\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"size_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => SizeError\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"command_argument_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => CommandArgumentError\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"type_argument_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => TypeArgumentError\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"package_upgrade_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => PackageUpgradeError\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"index_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => IndexError\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: \"coin_deny_list_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => CoinDenyListError\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: \"congested_objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"errorDetails\",\n\t\t\t\tT: () => CongestedObjects\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ExecutionError\n*/\nconst ExecutionError = new ExecutionError$Type();\nvar MoveAbort$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MoveAbort\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"abort_code\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"location\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveLocation\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"clever_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CleverError\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MoveAbort\n*/\nconst MoveAbort = new MoveAbort$Type();\nvar MoveLocation$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MoveLocation\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"package\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"module\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"function\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"instruction\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"function_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MoveLocation\n*/\nconst MoveLocation = new MoveLocation$Type();\nvar CleverError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CleverError\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"error_code\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"line_number\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"constant_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"constant_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"rendered\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"value\",\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"raw\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"value\",\n\t\t\t\tT: 12\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CleverError\n*/\nconst CleverError = new CleverError$Type();\nvar SizeError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SizeError\", [{\n\t\t\tno: 1,\n\t\t\tname: \"size\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"max_size\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SizeError\n*/\nconst SizeError = new SizeError$Type();\nvar IndexError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.IndexError\", [{\n\t\t\tno: 1,\n\t\t\tname: \"index\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 13\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"subresult\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 13\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.IndexError\n*/\nconst IndexError = new IndexError$Type();\nvar CoinDenyListError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CoinDenyListError\", [{\n\t\t\tno: 1,\n\t\t\tname: \"address\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"coin_type\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CoinDenyListError\n*/\nconst CoinDenyListError = new CoinDenyListError$Type();\nvar CongestedObjects$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CongestedObjects\", [{\n\t\t\tno: 1,\n\t\t\tname: \"objects\",\n\t\t\tkind: \"scalar\",\n\t\t\trepeat: 2,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CongestedObjects\n*/\nconst CongestedObjects = new CongestedObjects$Type();\nvar CommandArgumentError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CommandArgumentError\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"argument\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.CommandArgumentError.CommandArgumentErrorKind\", CommandArgumentError_CommandArgumentErrorKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"index_error\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => IndexError\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CommandArgumentError\n*/\nconst CommandArgumentError = new CommandArgumentError$Type();\nvar PackageUpgradeError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.PackageUpgradeError\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.PackageUpgradeError.PackageUpgradeErrorKind\", PackageUpgradeError_PackageUpgradeErrorKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"package_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"policy\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"ticket_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.PackageUpgradeError\n*/\nconst PackageUpgradeError = new PackageUpgradeError$Type();\nvar TypeArgumentError$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TypeArgumentError\", [{\n\t\t\tno: 1,\n\t\t\tname: \"type_argument\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 13\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"kind\",\n\t\t\tkind: \"enum\",\n\t\t\topt: true,\n\t\t\tT: () => [\"sui.rpc.v2.TypeArgumentError.TypeArgumentErrorKind\", TypeArgumentError_TypeArgumentErrorKind]\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TypeArgumentError\n*/\nconst TypeArgumentError = new TypeArgumentError$Type();\n\n//#endregion\nexport { CleverError, CoinDenyListError, CommandArgumentError, CommandArgumentError_CommandArgumentErrorKind, CongestedObjects, ExecutionError, ExecutionError_ExecutionErrorKind, ExecutionStatus, IndexError, MoveAbort, MoveLocation, PackageUpgradeError, PackageUpgradeError_PackageUpgradeErrorKind, SizeError, TypeArgumentError, TypeArgumentError_TypeArgumentErrorKind };\n//# sourceMappingURL=execution_status.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts\nvar GasCostSummary$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GasCostSummary\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"computation_cost\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"storage_cost\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"storage_rebate\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"non_refundable_storage_fee\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GasCostSummary\n*/\nconst GasCostSummary = new GasCostSummary$Type();\n\n//#endregion\nexport { GasCostSummary };\n//# sourceMappingURL=gas_cost_summary.mjs.map","import { Owner } from \"./owner.mjs\";\nimport { Bcs } from \"./bcs.mjs\";\nimport { ObjectReference } from \"./object_reference.mjs\";\nimport { GasCostSummary } from \"./gas_cost_summary.mjs\";\nimport { ExecutionStatus } from \"./execution_status.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/effects.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.ChangedObject.InputObjectState\n*/\nlet ChangedObject_InputObjectState = /* @__PURE__ */ function(ChangedObject_InputObjectState$1) {\n\t/**\n\t* @generated from protobuf enum value: INPUT_OBJECT_STATE_UNKNOWN = 0;\n\t*/\n\tChangedObject_InputObjectState$1[ChangedObject_InputObjectState$1[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: INPUT_OBJECT_STATE_DOES_NOT_EXIST = 1;\n\t*/\n\tChangedObject_InputObjectState$1[ChangedObject_InputObjectState$1[\"DOES_NOT_EXIST\"] = 1] = \"DOES_NOT_EXIST\";\n\t/**\n\t* @generated from protobuf enum value: INPUT_OBJECT_STATE_EXISTS = 2;\n\t*/\n\tChangedObject_InputObjectState$1[ChangedObject_InputObjectState$1[\"EXISTS\"] = 2] = \"EXISTS\";\n\treturn ChangedObject_InputObjectState$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.ChangedObject.OutputObjectState\n*/\nlet ChangedObject_OutputObjectState = /* @__PURE__ */ function(ChangedObject_OutputObjectState$1) {\n\t/**\n\t* @generated from protobuf enum value: OUTPUT_OBJECT_STATE_UNKNOWN = 0;\n\t*/\n\tChangedObject_OutputObjectState$1[ChangedObject_OutputObjectState$1[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: OUTPUT_OBJECT_STATE_DOES_NOT_EXIST = 1;\n\t*/\n\tChangedObject_OutputObjectState$1[ChangedObject_OutputObjectState$1[\"DOES_NOT_EXIST\"] = 1] = \"DOES_NOT_EXIST\";\n\t/**\n\t* @generated from protobuf enum value: OUTPUT_OBJECT_STATE_OBJECT_WRITE = 2;\n\t*/\n\tChangedObject_OutputObjectState$1[ChangedObject_OutputObjectState$1[\"OBJECT_WRITE\"] = 2] = \"OBJECT_WRITE\";\n\t/**\n\t* @generated from protobuf enum value: OUTPUT_OBJECT_STATE_PACKAGE_WRITE = 3;\n\t*/\n\tChangedObject_OutputObjectState$1[ChangedObject_OutputObjectState$1[\"PACKAGE_WRITE\"] = 3] = \"PACKAGE_WRITE\";\n\t/**\n\t* @generated from protobuf enum value: OUTPUT_OBJECT_STATE_ACCUMULATOR_WRITE = 4;\n\t*/\n\tChangedObject_OutputObjectState$1[ChangedObject_OutputObjectState$1[\"ACCUMULATOR_WRITE\"] = 4] = \"ACCUMULATOR_WRITE\";\n\treturn ChangedObject_OutputObjectState$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.ChangedObject.IdOperation\n*/\nlet ChangedObject_IdOperation = /* @__PURE__ */ function(ChangedObject_IdOperation$1) {\n\t/**\n\t* @generated from protobuf enum value: ID_OPERATION_UNKNOWN = 0;\n\t*/\n\tChangedObject_IdOperation$1[ChangedObject_IdOperation$1[\"ID_OPERATION_UNKNOWN\"] = 0] = \"ID_OPERATION_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: NONE = 1;\n\t*/\n\tChangedObject_IdOperation$1[ChangedObject_IdOperation$1[\"NONE\"] = 1] = \"NONE\";\n\t/**\n\t* @generated from protobuf enum value: CREATED = 2;\n\t*/\n\tChangedObject_IdOperation$1[ChangedObject_IdOperation$1[\"CREATED\"] = 2] = \"CREATED\";\n\t/**\n\t* @generated from protobuf enum value: DELETED = 3;\n\t*/\n\tChangedObject_IdOperation$1[ChangedObject_IdOperation$1[\"DELETED\"] = 3] = \"DELETED\";\n\treturn ChangedObject_IdOperation$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.AccumulatorWrite.AccumulatorOperation\n*/\nlet AccumulatorWrite_AccumulatorOperation = /* @__PURE__ */ function(AccumulatorWrite_AccumulatorOperation$1) {\n\t/**\n\t* @generated from protobuf enum value: ACCUMULATOR_OPERATION_UNKNOWN = 0;\n\t*/\n\tAccumulatorWrite_AccumulatorOperation$1[AccumulatorWrite_AccumulatorOperation$1[\"ACCUMULATOR_OPERATION_UNKNOWN\"] = 0] = \"ACCUMULATOR_OPERATION_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: MERGE = 1;\n\t*/\n\tAccumulatorWrite_AccumulatorOperation$1[AccumulatorWrite_AccumulatorOperation$1[\"MERGE\"] = 1] = \"MERGE\";\n\t/**\n\t* @generated from protobuf enum value: SPLIT = 2;\n\t*/\n\tAccumulatorWrite_AccumulatorOperation$1[AccumulatorWrite_AccumulatorOperation$1[\"SPLIT\"] = 2] = \"SPLIT\";\n\treturn AccumulatorWrite_AccumulatorOperation$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.AccumulatorWrite.AccumulatorValue\n*/\nlet AccumulatorWrite_AccumulatorValue = /* @__PURE__ */ function(AccumulatorWrite_AccumulatorValue$1) {\n\t/**\n\t* @generated from protobuf enum value: ACCUMULATOR_VALUE_UNKNOWN = 0;\n\t*/\n\tAccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1[\"ACCUMULATOR_VALUE_UNKNOWN\"] = 0] = \"ACCUMULATOR_VALUE_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: INTEGER = 1;\n\t*/\n\tAccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1[\"INTEGER\"] = 1] = \"INTEGER\";\n\t/**\n\t* @generated from protobuf enum value: INTEGER_TUPLE = 2;\n\t*/\n\tAccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1[\"INTEGER_TUPLE\"] = 2] = \"INTEGER_TUPLE\";\n\t/**\n\t* @generated from protobuf enum value: EVENT_DIGEST = 3;\n\t*/\n\tAccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1[\"EVENT_DIGEST\"] = 3] = \"EVENT_DIGEST\";\n\treturn AccumulatorWrite_AccumulatorValue$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind\n*/\nlet UnchangedConsensusObject_UnchangedConsensusObjectKind = /* @__PURE__ */ function(UnchangedConsensusObject_UnchangedConsensusObjectKind$1) {\n\t/**\n\t* @generated from protobuf enum value: UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN = 0;\n\t*/\n\tUnchangedConsensusObject_UnchangedConsensusObjectKind$1[UnchangedConsensusObject_UnchangedConsensusObjectKind$1[\"UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN\"] = 0] = \"UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN\";\n\t/**\n\t* Read-only consensus object from the input.\n\t*\n\t* @generated from protobuf enum value: READ_ONLY_ROOT = 1;\n\t*/\n\tUnchangedConsensusObject_UnchangedConsensusObjectKind$1[UnchangedConsensusObject_UnchangedConsensusObjectKind$1[\"READ_ONLY_ROOT\"] = 1] = \"READ_ONLY_ROOT\";\n\t/**\n\t* Objects with ended consensus streams that appear mutably/owned in the input.\n\t*\n\t* @generated from protobuf enum value: MUTATE_CONSENSUS_STREAM_ENDED = 2;\n\t*/\n\tUnchangedConsensusObject_UnchangedConsensusObjectKind$1[UnchangedConsensusObject_UnchangedConsensusObjectKind$1[\"MUTATE_CONSENSUS_STREAM_ENDED\"] = 2] = \"MUTATE_CONSENSUS_STREAM_ENDED\";\n\t/**\n\t* Objects with ended consensus streams objects that appear as read-only in the input.\n\t*\n\t* @generated from protobuf enum value: READ_CONSENSUS_STREAM_ENDED = 3;\n\t*/\n\tUnchangedConsensusObject_UnchangedConsensusObjectKind$1[UnchangedConsensusObject_UnchangedConsensusObjectKind$1[\"READ_CONSENSUS_STREAM_ENDED\"] = 3] = \"READ_CONSENSUS_STREAM_ENDED\";\n\t/**\n\t* Consensus objects that were congested and resulted in this transaction being\n\t* canceled.\n\t*\n\t* @generated from protobuf enum value: CANCELED = 4;\n\t*/\n\tUnchangedConsensusObject_UnchangedConsensusObjectKind$1[UnchangedConsensusObject_UnchangedConsensusObjectKind$1[\"CANCELED\"] = 4] = \"CANCELED\";\n\t/**\n\t* Read of a per-epoch config object that should remain the same during an\n\t* epoch. This optionally will indicate the sequence number of the config\n\t* object at the start of the epoch.\n\t*\n\t* @generated from protobuf enum value: PER_EPOCH_CONFIG = 5;\n\t*/\n\tUnchangedConsensusObject_UnchangedConsensusObjectKind$1[UnchangedConsensusObject_UnchangedConsensusObjectKind$1[\"PER_EPOCH_CONFIG\"] = 5] = \"PER_EPOCH_CONFIG\";\n\treturn UnchangedConsensusObject_UnchangedConsensusObjectKind$1;\n}({});\nvar TransactionEffects$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TransactionEffects\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"bcs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 5\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"status\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ExecutionStatus\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"gas_used\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => GasCostSummary\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"transaction_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"gas_object\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ChangedObject\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"events_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"dependencies\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: \"lamport_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: \"changed_objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ChangedObject\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 13,\n\t\t\t\tname: \"unchanged_consensus_objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => UnchangedConsensusObject\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: \"auxiliary_data_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 15,\n\t\t\t\tname: \"unchanged_loaded_runtime_objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ObjectReference\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TransactionEffects\n*/\nconst TransactionEffects = new TransactionEffects$Type();\nvar ChangedObject$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ChangedObject\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"input_state\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t\"sui.rpc.v2.ChangedObject.InputObjectState\",\n\t\t\t\t\tChangedObject_InputObjectState,\n\t\t\t\t\t\"INPUT_OBJECT_STATE_\"\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"input_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"input_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"input_owner\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Owner\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"output_state\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t\"sui.rpc.v2.ChangedObject.OutputObjectState\",\n\t\t\t\t\tChangedObject_OutputObjectState,\n\t\t\t\t\t\"OUTPUT_OBJECT_STATE_\"\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"output_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"output_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"output_owner\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Owner\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: \"accumulator_write\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => AccumulatorWrite\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"id_operation\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.ChangedObject.IdOperation\", ChangedObject_IdOperation]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: \"object_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ChangedObject\n*/\nconst ChangedObject = new ChangedObject$Type();\nvar EventDigestEntry$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.EventDigestEntry\", [{\n\t\t\tno: 1,\n\t\t\tname: \"event_index\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"digest\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.EventDigestEntry\n*/\nconst EventDigestEntry = new EventDigestEntry$Type();\nvar AccumulatorWrite$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.AccumulatorWrite\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"accumulator_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"operation\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.AccumulatorWrite.AccumulatorOperation\", AccumulatorWrite_AccumulatorOperation]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"value_kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.AccumulatorWrite.AccumulatorValue\", AccumulatorWrite_AccumulatorValue]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"integer_value\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"integer_tuple\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 1,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"event_digest_value\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => EventDigestEntry\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.AccumulatorWrite\n*/\nconst AccumulatorWrite = new AccumulatorWrite$Type();\nvar UnchangedConsensusObject$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.UnchangedConsensusObject\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind\", UnchangedConsensusObject_UnchangedConsensusObjectKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"object_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.UnchangedConsensusObject\n*/\nconst UnchangedConsensusObject = new UnchangedConsensusObject$Type();\n\n//#endregion\nexport { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, AccumulatorWrite_AccumulatorValue, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, EventDigestEntry, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind };\n//# sourceMappingURL=effects.mjs.map","//#region src/grpc/proto/sui/rpc/v2/signature_scheme.ts\n/**\n* Flag use to disambiguate the signature schemes supported by Sui.\n*\n* Note: the enum values defined by this proto message exactly match their\n* expected BCS serialized values when serialized as a u8. See\n* [enum.SignatureScheme](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/enum.SignatureScheme.html)\n* for more information about signature schemes.\n*\n* @generated from protobuf enum sui.rpc.v2.SignatureScheme\n*/\nlet SignatureScheme = /* @__PURE__ */ function(SignatureScheme$1) {\n\t/**\n\t* @generated from protobuf enum value: ED25519 = 0;\n\t*/\n\tSignatureScheme$1[SignatureScheme$1[\"ED25519\"] = 0] = \"ED25519\";\n\t/**\n\t* @generated from protobuf enum value: SECP256K1 = 1;\n\t*/\n\tSignatureScheme$1[SignatureScheme$1[\"SECP256K1\"] = 1] = \"SECP256K1\";\n\t/**\n\t* @generated from protobuf enum value: SECP256R1 = 2;\n\t*/\n\tSignatureScheme$1[SignatureScheme$1[\"SECP256R1\"] = 2] = \"SECP256R1\";\n\t/**\n\t* @generated from protobuf enum value: MULTISIG = 3;\n\t*/\n\tSignatureScheme$1[SignatureScheme$1[\"MULTISIG\"] = 3] = \"MULTISIG\";\n\t/**\n\t* @generated from protobuf enum value: BLS12381 = 4;\n\t*/\n\tSignatureScheme$1[SignatureScheme$1[\"BLS12381\"] = 4] = \"BLS12381\";\n\t/**\n\t* @generated from protobuf enum value: ZKLOGIN = 5;\n\t*/\n\tSignatureScheme$1[SignatureScheme$1[\"ZKLOGIN\"] = 5] = \"ZKLOGIN\";\n\t/**\n\t* @generated from protobuf enum value: PASSKEY = 6;\n\t*/\n\tSignatureScheme$1[SignatureScheme$1[\"PASSKEY\"] = 6] = \"PASSKEY\";\n\treturn SignatureScheme$1;\n}({});\n\n//#endregion\nexport { SignatureScheme };\n//# sourceMappingURL=signature_scheme.mjs.map","import { JwkId } from \"./jwk.mjs\";\nimport { Bcs } from \"./bcs.mjs\";\nimport { SignatureScheme } from \"./signature_scheme.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/signature.ts\nvar UserSignature$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.UserSignature\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"bcs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"scheme\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"simple\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"signature\",\n\t\t\t\tT: () => SimpleSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"multisig\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"signature\",\n\t\t\t\tT: () => MultisigAggregatedSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"zklogin\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"signature\",\n\t\t\t\tT: () => ZkLoginAuthenticator\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"passkey\",\n\t\t\t\tkind: \"message\",\n\t\t\t\toneof: \"signature\",\n\t\t\t\tT: () => PasskeyAuthenticator\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.UserSignature\n*/\nconst UserSignature = new UserSignature$Type();\nvar SimpleSignature$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SimpleSignature\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"scheme\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"signature\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SimpleSignature\n*/\nconst SimpleSignature = new SimpleSignature$Type();\nvar ZkLoginPublicIdentifier$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ZkLoginPublicIdentifier\", [{\n\t\t\tno: 1,\n\t\t\tname: \"iss\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"address_seed\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ZkLoginPublicIdentifier\n*/\nconst ZkLoginPublicIdentifier = new ZkLoginPublicIdentifier$Type();\nvar MultisigMemberPublicKey$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MultisigMemberPublicKey\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"scheme\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"zklogin\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ZkLoginPublicIdentifier\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MultisigMemberPublicKey\n*/\nconst MultisigMemberPublicKey = new MultisigMemberPublicKey$Type();\nvar MultisigMember$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MultisigMember\", [{\n\t\t\tno: 1,\n\t\t\tname: \"public_key\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => MultisigMemberPublicKey\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"weight\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 13\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MultisigMember\n*/\nconst MultisigMember = new MultisigMember$Type();\nvar MultisigCommittee$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MultisigCommittee\", [{\n\t\t\tno: 1,\n\t\t\tname: \"members\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => MultisigMember\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"threshold\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 13\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MultisigCommittee\n*/\nconst MultisigCommittee = new MultisigCommittee$Type();\nvar MultisigAggregatedSignature$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MultisigAggregatedSignature\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"signatures\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => MultisigMemberSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"bitmap\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"legacy_bitmap\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"committee\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MultisigCommittee\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MultisigAggregatedSignature\n*/\nconst MultisigAggregatedSignature = new MultisigAggregatedSignature$Type();\nvar MultisigMemberSignature$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MultisigMemberSignature\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"scheme\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"signature\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"zklogin\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ZkLoginAuthenticator\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"passkey\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => PasskeyAuthenticator\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MultisigMemberSignature\n*/\nconst MultisigMemberSignature = new MultisigMemberSignature$Type();\nvar ZkLoginAuthenticator$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ZkLoginAuthenticator\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"inputs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ZkLoginInputs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"max_epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"signature\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => SimpleSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"public_identifier\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ZkLoginPublicIdentifier\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"jwk_id\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => JwkId\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ZkLoginAuthenticator\n*/\nconst ZkLoginAuthenticator = new ZkLoginAuthenticator$Type();\nvar ZkLoginInputs$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ZkLoginInputs\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"proof_points\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ZkLoginProof\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"iss_base64_details\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ZkLoginClaim\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"header_base64\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"address_seed\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ZkLoginInputs\n*/\nconst ZkLoginInputs = new ZkLoginInputs$Type();\nvar ZkLoginProof$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ZkLoginProof\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"a\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CircomG1\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"b\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CircomG2\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"c\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CircomG1\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ZkLoginProof\n*/\nconst ZkLoginProof = new ZkLoginProof$Type();\nvar ZkLoginClaim$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ZkLoginClaim\", [{\n\t\t\tno: 1,\n\t\t\tname: \"value\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"index_mod_4\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 13\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ZkLoginClaim\n*/\nconst ZkLoginClaim = new ZkLoginClaim$Type();\nvar CircomG1$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CircomG1\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"e0\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"e1\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"e2\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CircomG1\n*/\nconst CircomG1 = new CircomG1$Type();\nvar CircomG2$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CircomG2\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"e00\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"e01\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"e10\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"e11\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"e20\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"e21\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CircomG2\n*/\nconst CircomG2 = new CircomG2$Type();\nvar PasskeyAuthenticator$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.PasskeyAuthenticator\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"authenticator_data\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"client_data_json\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"signature\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => SimpleSignature\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.PasskeyAuthenticator\n*/\nconst PasskeyAuthenticator = new PasskeyAuthenticator$Type();\nvar ValidatorCommittee$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ValidatorCommittee\", [{\n\t\t\tno: 1,\n\t\t\tname: \"epoch\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"members\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => ValidatorCommitteeMember\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ValidatorCommittee\n*/\nconst ValidatorCommittee = new ValidatorCommittee$Type();\nvar ValidatorCommitteeMember$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ValidatorCommitteeMember\", [{\n\t\t\tno: 1,\n\t\t\tname: \"public_key\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 12\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"weight\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ValidatorCommitteeMember\n*/\nconst ValidatorCommitteeMember = new ValidatorCommitteeMember$Type();\nvar ValidatorAggregatedSignature$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ValidatorAggregatedSignature\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"signature\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"bitmap\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ValidatorAggregatedSignature\n*/\nconst ValidatorAggregatedSignature = new ValidatorAggregatedSignature$Type();\n\n//#endregion\nexport { CircomG1, CircomG2, MultisigAggregatedSignature, MultisigCommittee, MultisigMember, MultisigMemberPublicKey, MultisigMemberSignature, PasskeyAuthenticator, SimpleSignature, UserSignature, ValidatorAggregatedSignature, ValidatorCommittee, ValidatorCommitteeMember, ZkLoginAuthenticator, ZkLoginClaim, ZkLoginInputs, ZkLoginProof, ZkLoginPublicIdentifier };\n//# sourceMappingURL=signature.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/balance_change.ts\nvar BalanceChange$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.BalanceChange\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"coin_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"amount\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.BalanceChange\n*/\nconst BalanceChange = new BalanceChange$Type();\n\n//#endregion\nexport { BalanceChange };\n//# sourceMappingURL=balance_change.mjs.map","import { Value } from \"../../../google/protobuf/struct.mjs\";\nimport { Bcs } from \"./bcs.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/event.ts\nvar TransactionEvents$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.TransactionEvents\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"bcs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"events\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => Event\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.TransactionEvents\n*/\nconst TransactionEvents = new TransactionEvents$Type();\nvar Event$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Event\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"package_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"module\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"sender\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"event_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"contents\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"json\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Value\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Event\n*/\nconst Event = new Event$Type();\n\n//#endregion\nexport { Event, TransactionEvents };\n//# sourceMappingURL=event.mjs.map","import { ObjectSet } from \"./object.mjs\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.mjs\";\nimport { Transaction } from \"./transaction.mjs\";\nimport { BalanceChange } from \"./balance_change.mjs\";\nimport { TransactionEffects } from \"./effects.mjs\";\nimport { TransactionEvents } from \"./event.mjs\";\nimport { UserSignature } from \"./signature.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/executed_transaction.ts\nvar ExecutedTransaction$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ExecutedTransaction\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"transaction\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Transaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"signatures\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => UserSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"effects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => TransactionEffects\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"events\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => TransactionEvents\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"checkpoint\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"balance_changes\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => BalanceChange\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ObjectSet\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ExecutedTransaction\n*/\nconst ExecutedTransaction = new ExecutedTransaction$Type();\n\n//#endregion\nexport { ExecutedTransaction };\n//# sourceMappingURL=executed_transaction.mjs.map","import { MessageType, lowerCamelCase, typeofJsonValue } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/google/protobuf/field_mask.ts\nvar FieldMask$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.protobuf.FieldMask\", [{\n\t\t\tno: 1,\n\t\t\tname: \"paths\",\n\t\t\tkind: \"scalar\",\n\t\t\trepeat: 2,\n\t\t\tT: 9\n\t\t}]);\n\t}\n\t/**\n\t* Encode `FieldMask` to JSON object.\n\t*/\n\tinternalJsonWrite(message, options) {\n\t\tconst invalidFieldMaskJsonRegex = /[A-Z]|(_([.0-9_]|$))/g;\n\t\treturn message.paths.map((p) => {\n\t\t\tif (invalidFieldMaskJsonRegex.test(p)) throw new Error(\"Unable to encode FieldMask to JSON. lowerCamelCase of path name \\\"\" + p + \"\\\" is irreversible.\");\n\t\t\treturn lowerCamelCase(p);\n\t\t}).join(\",\");\n\t}\n\t/**\n\t* Decode `FieldMask` from JSON object.\n\t*/\n\tinternalJsonRead(json, options, target) {\n\t\tif (typeof json !== \"string\") throw new Error(\"Unable to parse FieldMask from JSON \" + typeofJsonValue(json) + \". Expected string.\");\n\t\tif (!target) target = this.create();\n\t\tif (json === \"\") return target;\n\t\tlet camelToSnake = (str) => {\n\t\t\tif (str.includes(\"_\")) throw new Error(\"Unable to parse FieldMask from JSON. Path names must be lowerCamelCase.\");\n\t\t\treturn str.replace(/[A-Z]/g, (letter) => \"_\" + letter.toLowerCase());\n\t\t};\n\t\ttarget.paths = json.split(\",\").map(camelToSnake);\n\t\treturn target;\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.protobuf.FieldMask\n*/\nconst FieldMask = new FieldMask$Type();\n\n//#endregion\nexport { FieldMask };\n//# sourceMappingURL=field_mask.mjs.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readServiceOption = exports.readMethodOption = exports.readMethodOptions = exports.normalizeMethodInfo = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * Turns PartialMethodInfo into MethodInfo.\n */\nfunction normalizeMethodInfo(method, service) {\n var _a, _b, _c;\n let m = method;\n m.service = service;\n m.localName = (_a = m.localName) !== null && _a !== void 0 ? _a : runtime_1.lowerCamelCase(m.name);\n // noinspection PointlessBooleanExpressionJS\n m.serverStreaming = !!m.serverStreaming;\n // noinspection PointlessBooleanExpressionJS\n m.clientStreaming = !!m.clientStreaming;\n m.options = (_b = m.options) !== null && _b !== void 0 ? _b : {};\n m.idempotency = (_c = m.idempotency) !== null && _c !== void 0 ? _c : undefined;\n return m;\n}\nexports.normalizeMethodInfo = normalizeMethodInfo;\n/**\n * Read custom method options from a generated service client.\n *\n * @deprecated use readMethodOption()\n */\nfunction readMethodOptions(service, methodName, extensionName, extensionType) {\n var _a;\n const options = (_a = service.methods.find((m, i) => m.localName === methodName || i === methodName)) === null || _a === void 0 ? void 0 : _a.options;\n return options && options[extensionName] ? extensionType.fromJson(options[extensionName]) : undefined;\n}\nexports.readMethodOptions = readMethodOptions;\nfunction readMethodOption(service, methodName, extensionName, extensionType) {\n var _a;\n const options = (_a = service.methods.find((m, i) => m.localName === methodName || i === methodName)) === null || _a === void 0 ? void 0 : _a.options;\n if (!options) {\n return undefined;\n }\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readMethodOption = readMethodOption;\nfunction readServiceOption(service, extensionName, extensionType) {\n const options = service.options;\n if (!options) {\n return undefined;\n }\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readServiceOption = readServiceOption;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceType = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\nclass ServiceType {\n constructor(typeName, methods, options) {\n this.typeName = typeName;\n this.methods = methods.map(i => reflection_info_1.normalizeMethodInfo(i, this));\n this.options = options !== null && options !== void 0 ? options : {};\n }\n}\nexports.ServiceType = ServiceType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RpcError = void 0;\n/**\n * An error that occurred while calling a RPC method.\n */\nclass RpcError extends Error {\n constructor(message, code = 'UNKNOWN', meta) {\n super(message);\n this.name = 'RpcError';\n // see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-2.html#example\n Object.setPrototypeOf(this, new.target.prototype);\n this.code = code;\n this.meta = meta !== null && meta !== void 0 ? meta : {};\n }\n toString() {\n const l = [this.name + ': ' + this.message];\n if (this.code) {\n l.push('');\n l.push('Code: ' + this.code);\n }\n if (this.serviceName && this.methodName) {\n l.push('Method: ' + this.serviceName + '/' + this.methodName);\n }\n let m = Object.entries(this.meta);\n if (m.length) {\n l.push('');\n l.push('Meta:');\n for (let [k, v] of m) {\n l.push(` ${k}: ${v}`);\n }\n }\n return l.join('\\n');\n }\n}\nexports.RpcError = RpcError;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mergeRpcOptions = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * Merges custom RPC options with defaults. Returns a new instance and keeps\n * the \"defaults\" and the \"options\" unmodified.\n *\n * Merges `RpcMetadata` \"meta\", overwriting values from \"defaults\" with\n * values from \"options\". Does not append values to existing entries.\n *\n * Merges \"jsonOptions\", including \"jsonOptions.typeRegistry\", by creating\n * a new array that contains types from \"options.jsonOptions.typeRegistry\"\n * first, then types from \"defaults.jsonOptions.typeRegistry\".\n *\n * Merges \"binaryOptions\".\n *\n * Merges \"interceptors\" by creating a new array that contains interceptors\n * from \"defaults\" first, then interceptors from \"options\".\n *\n * Works with objects that extend `RpcOptions`, but only if the added\n * properties are of type Date, primitive like string, boolean, or Array\n * of primitives. If you have other property types, you have to merge them\n * yourself.\n */\nfunction mergeRpcOptions(defaults, options) {\n if (!options)\n return defaults;\n let o = {};\n copy(defaults, o);\n copy(options, o);\n for (let key of Object.keys(options)) {\n let val = options[key];\n switch (key) {\n case \"jsonOptions\":\n o.jsonOptions = runtime_1.mergeJsonOptions(defaults.jsonOptions, o.jsonOptions);\n break;\n case \"binaryOptions\":\n o.binaryOptions = runtime_1.mergeBinaryOptions(defaults.binaryOptions, o.binaryOptions);\n break;\n case \"meta\":\n o.meta = {};\n copy(defaults.meta, o.meta);\n copy(options.meta, o.meta);\n break;\n case \"interceptors\":\n o.interceptors = defaults.interceptors ? defaults.interceptors.concat(val) : val.concat();\n break;\n }\n }\n return o;\n}\nexports.mergeRpcOptions = mergeRpcOptions;\nfunction copy(a, into) {\n if (!a)\n return;\n let c = into;\n for (let [k, v] of Object.entries(a)) {\n if (v instanceof Date)\n c[k] = new Date(v.getTime());\n else if (Array.isArray(v))\n c[k] = v.concat();\n else\n c[k] = v;\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Deferred = exports.DeferredState = void 0;\nvar DeferredState;\n(function (DeferredState) {\n DeferredState[DeferredState[\"PENDING\"] = 0] = \"PENDING\";\n DeferredState[DeferredState[\"REJECTED\"] = 1] = \"REJECTED\";\n DeferredState[DeferredState[\"RESOLVED\"] = 2] = \"RESOLVED\";\n})(DeferredState = exports.DeferredState || (exports.DeferredState = {}));\n/**\n * A deferred promise. This is a \"controller\" for a promise, which lets you\n * pass a promise around and reject or resolve it from the outside.\n *\n * Warning: This class is to be used with care. Using it can make code very\n * difficult to read. It is intended for use in library code that exposes\n * promises, not for regular business logic.\n */\nclass Deferred {\n /**\n * @param preventUnhandledRejectionWarning - prevents the warning\n * \"Unhandled Promise rejection\" by adding a noop rejection handler.\n * Working with calls returned from the runtime-rpc package in an\n * async function usually means awaiting one call property after\n * the other. This means that the \"status\" is not being awaited when\n * an earlier await for the \"headers\" is rejected. This causes the\n * \"unhandled promise reject\" warning. A more correct behaviour for\n * calls might be to become aware whether at least one of the\n * promises is handled and swallow the rejection warning for the\n * others.\n */\n constructor(preventUnhandledRejectionWarning = true) {\n this._state = DeferredState.PENDING;\n this._promise = new Promise((resolve, reject) => {\n this._resolve = resolve;\n this._reject = reject;\n });\n if (preventUnhandledRejectionWarning) {\n this._promise.catch(_ => { });\n }\n }\n /**\n * Get the current state of the promise.\n */\n get state() {\n return this._state;\n }\n /**\n * Get the deferred promise.\n */\n get promise() {\n return this._promise;\n }\n /**\n * Resolve the promise. Throws if the promise is already resolved or rejected.\n */\n resolve(value) {\n if (this.state !== DeferredState.PENDING)\n throw new Error(`cannot resolve ${DeferredState[this.state].toLowerCase()}`);\n this._resolve(value);\n this._state = DeferredState.RESOLVED;\n }\n /**\n * Reject the promise. Throws if the promise is already resolved or rejected.\n */\n reject(reason) {\n if (this.state !== DeferredState.PENDING)\n throw new Error(`cannot reject ${DeferredState[this.state].toLowerCase()}`);\n this._reject(reason);\n this._state = DeferredState.REJECTED;\n }\n /**\n * Resolve the promise. Ignore if not pending.\n */\n resolvePending(val) {\n if (this._state === DeferredState.PENDING)\n this.resolve(val);\n }\n /**\n * Reject the promise. Ignore if not pending.\n */\n rejectPending(reason) {\n if (this._state === DeferredState.PENDING)\n this.reject(reason);\n }\n}\nexports.Deferred = Deferred;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RpcOutputStreamController = void 0;\nconst deferred_1 = require(\"./deferred\");\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * A `RpcOutputStream` that you control.\n */\nclass RpcOutputStreamController {\n constructor() {\n this._lis = {\n nxt: [],\n msg: [],\n err: [],\n cmp: [],\n };\n this._closed = false;\n // --- RpcOutputStream async iterator API\n // iterator state.\n // is undefined when no iterator has been acquired yet.\n this._itState = { q: [] };\n }\n // --- RpcOutputStream callback API\n onNext(callback) {\n return this.addLis(callback, this._lis.nxt);\n }\n onMessage(callback) {\n return this.addLis(callback, this._lis.msg);\n }\n onError(callback) {\n return this.addLis(callback, this._lis.err);\n }\n onComplete(callback) {\n return this.addLis(callback, this._lis.cmp);\n }\n addLis(callback, list) {\n list.push(callback);\n return () => {\n let i = list.indexOf(callback);\n if (i >= 0)\n list.splice(i, 1);\n };\n }\n // remove all listeners\n clearLis() {\n for (let l of Object.values(this._lis))\n l.splice(0, l.length);\n }\n // --- Controller API\n /**\n * Is this stream already closed by a completion or error?\n */\n get closed() {\n return this._closed !== false;\n }\n /**\n * Emit message, close with error, or close successfully, but only one\n * at a time.\n * Can be used to wrap a stream by using the other stream's `onNext`.\n */\n notifyNext(message, error, complete) {\n runtime_1.assert((message ? 1 : 0) + (error ? 1 : 0) + (complete ? 1 : 0) <= 1, 'only one emission at a time');\n if (message)\n this.notifyMessage(message);\n if (error)\n this.notifyError(error);\n if (complete)\n this.notifyComplete();\n }\n /**\n * Emits a new message. Throws if stream is closed.\n *\n * Triggers onNext and onMessage callbacks.\n */\n notifyMessage(message) {\n runtime_1.assert(!this.closed, 'stream is closed');\n this.pushIt({ value: message, done: false });\n this._lis.msg.forEach(l => l(message));\n this._lis.nxt.forEach(l => l(message, undefined, false));\n }\n /**\n * Closes the stream with an error. Throws if stream is closed.\n *\n * Triggers onNext and onError callbacks.\n */\n notifyError(error) {\n runtime_1.assert(!this.closed, 'stream is closed');\n this._closed = error;\n this.pushIt(error);\n this._lis.err.forEach(l => l(error));\n this._lis.nxt.forEach(l => l(undefined, error, false));\n this.clearLis();\n }\n /**\n * Closes the stream successfully. Throws if stream is closed.\n *\n * Triggers onNext and onComplete callbacks.\n */\n notifyComplete() {\n runtime_1.assert(!this.closed, 'stream is closed');\n this._closed = true;\n this.pushIt({ value: null, done: true });\n this._lis.cmp.forEach(l => l());\n this._lis.nxt.forEach(l => l(undefined, undefined, true));\n this.clearLis();\n }\n /**\n * Creates an async iterator (that can be used with `for await {...}`)\n * to consume the stream.\n *\n * Some things to note:\n * - If an error occurs, the `for await` will throw it.\n * - If an error occurred before the `for await` was started, `for await`\n * will re-throw it.\n * - If the stream is already complete, the `for await` will be empty.\n * - If your `for await` consumes slower than the stream produces,\n * for example because you are relaying messages in a slow operation,\n * messages are queued.\n */\n [Symbol.asyncIterator]() {\n // if we are closed, we are definitely not receiving any more messages.\n // but we can't let the iterator get stuck. we want to either:\n // a) finish the new iterator immediately, because we are completed\n // b) reject the new iterator, because we errored\n if (this._closed === true)\n this.pushIt({ value: null, done: true });\n else if (this._closed !== false)\n this.pushIt(this._closed);\n // the async iterator\n return {\n next: () => {\n let state = this._itState;\n runtime_1.assert(state, \"bad state\"); // if we don't have a state here, code is broken\n // there should be no pending result.\n // did the consumer call next() before we resolved our previous result promise?\n runtime_1.assert(!state.p, \"iterator contract broken\");\n // did we produce faster than the iterator consumed?\n // return the oldest result from the queue.\n let first = state.q.shift();\n if (first)\n return (\"value\" in first) ? Promise.resolve(first) : Promise.reject(first);\n // we have no result ATM, but we promise one.\n // as soon as we have a result, we must resolve promise.\n state.p = new deferred_1.Deferred();\n return state.p.promise;\n },\n };\n }\n // \"push\" a new iterator result.\n // this either resolves a pending promise, or enqueues the result.\n pushIt(result) {\n let state = this._itState;\n // is the consumer waiting for us?\n if (state.p) {\n // yes, consumer is waiting for this promise.\n const p = state.p;\n runtime_1.assert(p.state == deferred_1.DeferredState.PENDING, \"iterator contract broken\");\n // resolve the promise\n (\"value\" in result) ? p.resolve(result) : p.reject(result);\n // must cleanup, otherwise iterator.next() would pick it up again.\n delete state.p;\n }\n else {\n // we are producing faster than the iterator consumes.\n // push result onto queue.\n state.q.push(result);\n }\n }\n}\nexports.RpcOutputStreamController = RpcOutputStreamController;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnaryCall = void 0;\n/**\n * A unary RPC call. Unary means there is exactly one input message and\n * exactly one output message unless an error occurred.\n */\nclass UnaryCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.request = request;\n this.headers = headers;\n this.response = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * If you are only interested in the final outcome of this call,\n * you can await it to receive a `FinishedUnaryCall`.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, response, status, trailers] = yield Promise.all([this.headers, this.response, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n request: this.request,\n headers,\n response,\n status,\n trailers\n };\n });\n }\n}\nexports.UnaryCall = UnaryCall;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServerStreamingCall = void 0;\n/**\n * A server streaming RPC call. The client provides exactly one input message\n * but the server may respond with 0, 1, or more messages.\n */\nclass ServerStreamingCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.request = request;\n this.headers = headers;\n this.responses = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * Instead of awaiting the response status and trailers, you can\n * just as well await this call itself to receive the server outcome.\n * You should first setup some listeners to the `request` to\n * see the actual messages the server replied with.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, status, trailers] = yield Promise.all([this.headers, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n request: this.request,\n headers,\n status,\n trailers,\n };\n });\n }\n}\nexports.ServerStreamingCall = ServerStreamingCall;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ClientStreamingCall = void 0;\n/**\n * A client streaming RPC call. This means that the clients sends 0, 1, or\n * more messages to the server, and the server replies with exactly one\n * message.\n */\nclass ClientStreamingCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.requests = request;\n this.headers = headers;\n this.response = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * Instead of awaiting the response status and trailers, you can\n * just as well await this call itself to receive the server outcome.\n * Note that it may still be valid to send more request messages.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, response, status, trailers] = yield Promise.all([this.headers, this.response, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n headers,\n response,\n status,\n trailers\n };\n });\n }\n}\nexports.ClientStreamingCall = ClientStreamingCall;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DuplexStreamingCall = void 0;\n/**\n * A duplex streaming RPC call. This means that the clients sends an\n * arbitrary amount of messages to the server, while at the same time,\n * the server sends an arbitrary amount of messages to the client.\n */\nclass DuplexStreamingCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.requests = request;\n this.headers = headers;\n this.responses = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * Instead of awaiting the response status and trailers, you can\n * just as well await this call itself to receive the server outcome.\n * Note that it may still be valid to send more request messages.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, status, trailers] = yield Promise.all([this.headers, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n headers,\n status,\n trailers,\n };\n });\n }\n}\nexports.DuplexStreamingCall = DuplexStreamingCall;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TestTransport = void 0;\nconst rpc_error_1 = require(\"./rpc-error\");\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst rpc_output_stream_1 = require(\"./rpc-output-stream\");\nconst rpc_options_1 = require(\"./rpc-options\");\nconst unary_call_1 = require(\"./unary-call\");\nconst server_streaming_call_1 = require(\"./server-streaming-call\");\nconst client_streaming_call_1 = require(\"./client-streaming-call\");\nconst duplex_streaming_call_1 = require(\"./duplex-streaming-call\");\n/**\n * Transport for testing.\n */\nclass TestTransport {\n /**\n * Initialize with mock data. Omitted fields have default value.\n */\n constructor(data) {\n /**\n * Suppress warning / error about uncaught rejections of\n * \"status\" and \"trailers\".\n */\n this.suppressUncaughtRejections = true;\n this.headerDelay = 10;\n this.responseDelay = 50;\n this.betweenResponseDelay = 10;\n this.afterResponseDelay = 10;\n this.data = data !== null && data !== void 0 ? data : {};\n }\n /**\n * Sent message(s) during the last operation.\n */\n get sentMessages() {\n if (this.lastInput instanceof TestInputStream) {\n return this.lastInput.sent;\n }\n else if (typeof this.lastInput == \"object\") {\n return [this.lastInput.single];\n }\n return [];\n }\n /**\n * Sending message(s) completed?\n */\n get sendComplete() {\n if (this.lastInput instanceof TestInputStream) {\n return this.lastInput.completed;\n }\n else if (typeof this.lastInput == \"object\") {\n return true;\n }\n return false;\n }\n // Creates a promise for response headers from the mock data.\n promiseHeaders() {\n var _a;\n const headers = (_a = this.data.headers) !== null && _a !== void 0 ? _a : TestTransport.defaultHeaders;\n return headers instanceof rpc_error_1.RpcError\n ? Promise.reject(headers)\n : Promise.resolve(headers);\n }\n // Creates a promise for a single, valid, message from the mock data.\n promiseSingleResponse(method) {\n if (this.data.response instanceof rpc_error_1.RpcError) {\n return Promise.reject(this.data.response);\n }\n let r;\n if (Array.isArray(this.data.response)) {\n runtime_1.assert(this.data.response.length > 0);\n r = this.data.response[0];\n }\n else if (this.data.response !== undefined) {\n r = this.data.response;\n }\n else {\n r = method.O.create();\n }\n runtime_1.assert(method.O.is(r));\n return Promise.resolve(r);\n }\n /**\n * Pushes response messages from the mock data to the output stream.\n * If an error response, status or trailers are mocked, the stream is\n * closed with the respective error.\n * Otherwise, stream is completed successfully.\n *\n * The returned promise resolves when the stream is closed. It should\n * not reject. If it does, code is broken.\n */\n streamResponses(method, stream, abort) {\n return __awaiter(this, void 0, void 0, function* () {\n // normalize \"data.response\" into an array of valid output messages\n const messages = [];\n if (this.data.response === undefined) {\n messages.push(method.O.create());\n }\n else if (Array.isArray(this.data.response)) {\n for (let msg of this.data.response) {\n runtime_1.assert(method.O.is(msg));\n messages.push(msg);\n }\n }\n else if (!(this.data.response instanceof rpc_error_1.RpcError)) {\n runtime_1.assert(method.O.is(this.data.response));\n messages.push(this.data.response);\n }\n // start the stream with an initial delay.\n // if the request is cancelled, notify() error and exit.\n try {\n yield delay(this.responseDelay, abort)(undefined);\n }\n catch (error) {\n stream.notifyError(error);\n return;\n }\n // if error response was mocked, notify() error (stream is now closed with error) and exit.\n if (this.data.response instanceof rpc_error_1.RpcError) {\n stream.notifyError(this.data.response);\n return;\n }\n // regular response messages were mocked. notify() them.\n for (let msg of messages) {\n stream.notifyMessage(msg);\n // add a short delay between responses\n // if the request is cancelled, notify() error and exit.\n try {\n yield delay(this.betweenResponseDelay, abort)(undefined);\n }\n catch (error) {\n stream.notifyError(error);\n return;\n }\n }\n // error status was mocked, notify() error (stream is now closed with error) and exit.\n if (this.data.status instanceof rpc_error_1.RpcError) {\n stream.notifyError(this.data.status);\n return;\n }\n // error trailers were mocked, notify() error (stream is now closed with error) and exit.\n if (this.data.trailers instanceof rpc_error_1.RpcError) {\n stream.notifyError(this.data.trailers);\n return;\n }\n // stream completed successfully\n stream.notifyComplete();\n });\n }\n // Creates a promise for response status from the mock data.\n promiseStatus() {\n var _a;\n const status = (_a = this.data.status) !== null && _a !== void 0 ? _a : TestTransport.defaultStatus;\n return status instanceof rpc_error_1.RpcError\n ? Promise.reject(status)\n : Promise.resolve(status);\n }\n // Creates a promise for response trailers from the mock data.\n promiseTrailers() {\n var _a;\n const trailers = (_a = this.data.trailers) !== null && _a !== void 0 ? _a : TestTransport.defaultTrailers;\n return trailers instanceof rpc_error_1.RpcError\n ? Promise.reject(trailers)\n : Promise.resolve(trailers);\n }\n maybeSuppressUncaught(...promise) {\n if (this.suppressUncaughtRejections) {\n for (let p of promise) {\n p.catch(() => {\n });\n }\n }\n }\n mergeOptions(options) {\n return rpc_options_1.mergeRpcOptions({}, options);\n }\n unary(method, input, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), responsePromise = headersPromise\n .catch(_ => {\n })\n .then(delay(this.responseDelay, options.abort))\n .then(_ => this.promiseSingleResponse(method)), statusPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseStatus()), trailersPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = { single: input };\n return new unary_call_1.UnaryCall(method, requestHeaders, input, headersPromise, responsePromise, statusPromise, trailersPromise);\n }\n serverStreaming(method, input, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), outputStream = new rpc_output_stream_1.RpcOutputStreamController(), responseStreamClosedPromise = headersPromise\n .then(delay(this.responseDelay, options.abort))\n .catch(() => {\n })\n .then(() => this.streamResponses(method, outputStream, options.abort))\n .then(delay(this.afterResponseDelay, options.abort)), statusPromise = responseStreamClosedPromise\n .then(() => this.promiseStatus()), trailersPromise = responseStreamClosedPromise\n .then(() => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = { single: input };\n return new server_streaming_call_1.ServerStreamingCall(method, requestHeaders, input, headersPromise, outputStream, statusPromise, trailersPromise);\n }\n clientStreaming(method, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), responsePromise = headersPromise\n .catch(_ => {\n })\n .then(delay(this.responseDelay, options.abort))\n .then(_ => this.promiseSingleResponse(method)), statusPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseStatus()), trailersPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = new TestInputStream(this.data, options.abort);\n return new client_streaming_call_1.ClientStreamingCall(method, requestHeaders, this.lastInput, headersPromise, responsePromise, statusPromise, trailersPromise);\n }\n duplex(method, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), outputStream = new rpc_output_stream_1.RpcOutputStreamController(), responseStreamClosedPromise = headersPromise\n .then(delay(this.responseDelay, options.abort))\n .catch(() => {\n })\n .then(() => this.streamResponses(method, outputStream, options.abort))\n .then(delay(this.afterResponseDelay, options.abort)), statusPromise = responseStreamClosedPromise\n .then(() => this.promiseStatus()), trailersPromise = responseStreamClosedPromise\n .then(() => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = new TestInputStream(this.data, options.abort);\n return new duplex_streaming_call_1.DuplexStreamingCall(method, requestHeaders, this.lastInput, headersPromise, outputStream, statusPromise, trailersPromise);\n }\n}\nexports.TestTransport = TestTransport;\nTestTransport.defaultHeaders = {\n responseHeader: \"test\"\n};\nTestTransport.defaultStatus = {\n code: \"OK\", detail: \"all good\"\n};\nTestTransport.defaultTrailers = {\n responseTrailer: \"test\"\n};\nfunction delay(ms, abort) {\n return (v) => new Promise((resolve, reject) => {\n if (abort === null || abort === void 0 ? void 0 : abort.aborted) {\n reject(new rpc_error_1.RpcError(\"user cancel\", \"CANCELLED\"));\n }\n else {\n const id = setTimeout(() => resolve(v), ms);\n if (abort) {\n abort.addEventListener(\"abort\", ev => {\n clearTimeout(id);\n reject(new rpc_error_1.RpcError(\"user cancel\", \"CANCELLED\"));\n });\n }\n }\n });\n}\nclass TestInputStream {\n constructor(data, abort) {\n this._completed = false;\n this._sent = [];\n this.data = data;\n this.abort = abort;\n }\n get sent() {\n return this._sent;\n }\n get completed() {\n return this._completed;\n }\n send(message) {\n if (this.data.inputMessage instanceof rpc_error_1.RpcError) {\n return Promise.reject(this.data.inputMessage);\n }\n const delayMs = this.data.inputMessage === undefined\n ? 10\n : this.data.inputMessage;\n return Promise.resolve(undefined)\n .then(() => {\n this._sent.push(message);\n })\n .then(delay(delayMs, this.abort));\n }\n complete() {\n if (this.data.inputComplete instanceof rpc_error_1.RpcError) {\n return Promise.reject(this.data.inputComplete);\n }\n const delayMs = this.data.inputComplete === undefined\n ? 10\n : this.data.inputComplete;\n return Promise.resolve(undefined)\n .then(() => {\n this._completed = true;\n })\n .then(delay(delayMs, this.abort));\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.stackDuplexStreamingInterceptors = exports.stackClientStreamingInterceptors = exports.stackServerStreamingInterceptors = exports.stackUnaryInterceptors = exports.stackIntercept = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * Creates a \"stack\" of of all interceptors specified in the given `RpcOptions`.\n * Used by generated client implementations.\n * @internal\n */\nfunction stackIntercept(kind, transport, method, options, input) {\n var _a, _b, _c, _d;\n if (kind == \"unary\") {\n let tail = (mtd, inp, opt) => transport.unary(mtd, inp, opt);\n for (const curr of ((_a = options.interceptors) !== null && _a !== void 0 ? _a : []).filter(i => i.interceptUnary).reverse()) {\n const next = tail;\n tail = (mtd, inp, opt) => curr.interceptUnary(next, mtd, inp, opt);\n }\n return tail(method, input, options);\n }\n if (kind == \"serverStreaming\") {\n let tail = (mtd, inp, opt) => transport.serverStreaming(mtd, inp, opt);\n for (const curr of ((_b = options.interceptors) !== null && _b !== void 0 ? _b : []).filter(i => i.interceptServerStreaming).reverse()) {\n const next = tail;\n tail = (mtd, inp, opt) => curr.interceptServerStreaming(next, mtd, inp, opt);\n }\n return tail(method, input, options);\n }\n if (kind == \"clientStreaming\") {\n let tail = (mtd, opt) => transport.clientStreaming(mtd, opt);\n for (const curr of ((_c = options.interceptors) !== null && _c !== void 0 ? _c : []).filter(i => i.interceptClientStreaming).reverse()) {\n const next = tail;\n tail = (mtd, opt) => curr.interceptClientStreaming(next, mtd, opt);\n }\n return tail(method, options);\n }\n if (kind == \"duplex\") {\n let tail = (mtd, opt) => transport.duplex(mtd, opt);\n for (const curr of ((_d = options.interceptors) !== null && _d !== void 0 ? _d : []).filter(i => i.interceptDuplex).reverse()) {\n const next = tail;\n tail = (mtd, opt) => curr.interceptDuplex(next, mtd, opt);\n }\n return tail(method, options);\n }\n runtime_1.assertNever(kind);\n}\nexports.stackIntercept = stackIntercept;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackUnaryInterceptors(transport, method, input, options) {\n return stackIntercept(\"unary\", transport, method, options, input);\n}\nexports.stackUnaryInterceptors = stackUnaryInterceptors;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackServerStreamingInterceptors(transport, method, input, options) {\n return stackIntercept(\"serverStreaming\", transport, method, options, input);\n}\nexports.stackServerStreamingInterceptors = stackServerStreamingInterceptors;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackClientStreamingInterceptors(transport, method, options) {\n return stackIntercept(\"clientStreaming\", transport, method, options);\n}\nexports.stackClientStreamingInterceptors = stackClientStreamingInterceptors;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackDuplexStreamingInterceptors(transport, method, options) {\n return stackIntercept(\"duplex\", transport, method, options);\n}\nexports.stackDuplexStreamingInterceptors = stackDuplexStreamingInterceptors;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServerCallContextController = void 0;\nclass ServerCallContextController {\n constructor(method, headers, deadline, sendResponseHeadersFn, defaultStatus = { code: 'OK', detail: '' }) {\n this._cancelled = false;\n this._listeners = [];\n this.method = method;\n this.headers = headers;\n this.deadline = deadline;\n this.trailers = {};\n this._sendRH = sendResponseHeadersFn;\n this.status = defaultStatus;\n }\n /**\n * Set the call cancelled.\n *\n * Invokes all callbacks registered with onCancel() and\n * sets `cancelled = true`.\n */\n notifyCancelled() {\n if (!this._cancelled) {\n this._cancelled = true;\n for (let l of this._listeners) {\n l();\n }\n }\n }\n /**\n * Send response headers.\n */\n sendResponseHeaders(data) {\n this._sendRH(data);\n }\n /**\n * Is the call cancelled?\n *\n * When the client closes the connection before the server\n * is done, the call is cancelled.\n *\n * If you want to cancel a request on the server, throw a\n * RpcError with the CANCELLED status code.\n */\n get cancelled() {\n return this._cancelled;\n }\n /**\n * Add a callback for cancellation.\n */\n onCancel(callback) {\n const l = this._listeners;\n l.push(callback);\n return () => {\n let i = l.indexOf(callback);\n if (i >= 0)\n l.splice(i, 1);\n };\n }\n}\nexports.ServerCallContextController = ServerCallContextController;\n","\"use strict\";\n// Public API of the rpc runtime.\n// Note: we do not use `export * from ...` to help tree shakers,\n// webpack verbose output hints that this should be useful\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar service_type_1 = require(\"./service-type\");\nObject.defineProperty(exports, \"ServiceType\", { enumerable: true, get: function () { return service_type_1.ServiceType; } });\nvar reflection_info_1 = require(\"./reflection-info\");\nObject.defineProperty(exports, \"readMethodOptions\", { enumerable: true, get: function () { return reflection_info_1.readMethodOptions; } });\nObject.defineProperty(exports, \"readMethodOption\", { enumerable: true, get: function () { return reflection_info_1.readMethodOption; } });\nObject.defineProperty(exports, \"readServiceOption\", { enumerable: true, get: function () { return reflection_info_1.readServiceOption; } });\nvar rpc_error_1 = require(\"./rpc-error\");\nObject.defineProperty(exports, \"RpcError\", { enumerable: true, get: function () { return rpc_error_1.RpcError; } });\nvar rpc_options_1 = require(\"./rpc-options\");\nObject.defineProperty(exports, \"mergeRpcOptions\", { enumerable: true, get: function () { return rpc_options_1.mergeRpcOptions; } });\nvar rpc_output_stream_1 = require(\"./rpc-output-stream\");\nObject.defineProperty(exports, \"RpcOutputStreamController\", { enumerable: true, get: function () { return rpc_output_stream_1.RpcOutputStreamController; } });\nvar test_transport_1 = require(\"./test-transport\");\nObject.defineProperty(exports, \"TestTransport\", { enumerable: true, get: function () { return test_transport_1.TestTransport; } });\nvar deferred_1 = require(\"./deferred\");\nObject.defineProperty(exports, \"Deferred\", { enumerable: true, get: function () { return deferred_1.Deferred; } });\nObject.defineProperty(exports, \"DeferredState\", { enumerable: true, get: function () { return deferred_1.DeferredState; } });\nvar duplex_streaming_call_1 = require(\"./duplex-streaming-call\");\nObject.defineProperty(exports, \"DuplexStreamingCall\", { enumerable: true, get: function () { return duplex_streaming_call_1.DuplexStreamingCall; } });\nvar client_streaming_call_1 = require(\"./client-streaming-call\");\nObject.defineProperty(exports, \"ClientStreamingCall\", { enumerable: true, get: function () { return client_streaming_call_1.ClientStreamingCall; } });\nvar server_streaming_call_1 = require(\"./server-streaming-call\");\nObject.defineProperty(exports, \"ServerStreamingCall\", { enumerable: true, get: function () { return server_streaming_call_1.ServerStreamingCall; } });\nvar unary_call_1 = require(\"./unary-call\");\nObject.defineProperty(exports, \"UnaryCall\", { enumerable: true, get: function () { return unary_call_1.UnaryCall; } });\nvar rpc_interceptor_1 = require(\"./rpc-interceptor\");\nObject.defineProperty(exports, \"stackIntercept\", { enumerable: true, get: function () { return rpc_interceptor_1.stackIntercept; } });\nObject.defineProperty(exports, \"stackDuplexStreamingInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackDuplexStreamingInterceptors; } });\nObject.defineProperty(exports, \"stackClientStreamingInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackClientStreamingInterceptors; } });\nObject.defineProperty(exports, \"stackServerStreamingInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackServerStreamingInterceptors; } });\nObject.defineProperty(exports, \"stackUnaryInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackUnaryInterceptors; } });\nvar server_call_context_1 = require(\"./server-call-context\");\nObject.defineProperty(exports, \"ServerCallContextController\", { enumerable: true, get: function () { return server_call_context_1.ServerCallContextController; } });\n","import { Value } from \"../../../google/protobuf/struct.mjs\";\nimport { Bcs } from \"./bcs.mjs\";\nimport { Argument } from \"./argument.mjs\";\nimport { Transaction } from \"./transaction.mjs\";\nimport { UserSignature } from \"./signature.mjs\";\nimport { ExecutedTransaction } from \"./executed_transaction.mjs\";\nimport { FieldMask } from \"../../../google/protobuf/field_mask.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts\n/**\n* buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX\n*\n* @generated from protobuf enum sui.rpc.v2.SimulateTransactionRequest.TransactionChecks\n*/\nlet SimulateTransactionRequest_TransactionChecks = /* @__PURE__ */ function(SimulateTransactionRequest_TransactionChecks$1) {\n\t/**\n\t* @generated from protobuf enum value: ENABLED = 0;\n\t*/\n\tSimulateTransactionRequest_TransactionChecks$1[SimulateTransactionRequest_TransactionChecks$1[\"ENABLED\"] = 0] = \"ENABLED\";\n\t/**\n\t* @generated from protobuf enum value: DISABLED = 1;\n\t*/\n\tSimulateTransactionRequest_TransactionChecks$1[SimulateTransactionRequest_TransactionChecks$1[\"DISABLED\"] = 1] = \"DISABLED\";\n\treturn SimulateTransactionRequest_TransactionChecks$1;\n}({});\nvar ExecuteTransactionRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ExecuteTransactionRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"transaction\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Transaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"signatures\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => UserSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"read_mask\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => FieldMask\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ExecuteTransactionRequest\n*/\nconst ExecuteTransactionRequest = new ExecuteTransactionRequest$Type();\nvar ExecuteTransactionResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ExecuteTransactionResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"transaction\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => ExecutedTransaction\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ExecuteTransactionResponse\n*/\nconst ExecuteTransactionResponse = new ExecuteTransactionResponse$Type();\nvar SimulateTransactionRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SimulateTransactionRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"transaction\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Transaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"read_mask\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => FieldMask\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"checks\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.SimulateTransactionRequest.TransactionChecks\", SimulateTransactionRequest_TransactionChecks]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"do_gas_selection\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 8\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SimulateTransactionRequest\n*/\nconst SimulateTransactionRequest = new SimulateTransactionRequest$Type();\nvar SimulateTransactionResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SimulateTransactionResponse\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"transaction\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ExecutedTransaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"command_outputs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => CommandResult\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"suggested_gas_price\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SimulateTransactionResponse\n*/\nconst SimulateTransactionResponse = new SimulateTransactionResponse$Type();\nvar CommandResult$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CommandResult\", [{\n\t\t\tno: 1,\n\t\t\tname: \"return_values\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => CommandOutput\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"mutated_by_ref\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => CommandOutput\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CommandResult\n*/\nconst CommandResult = new CommandResult$Type();\nvar CommandOutput$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CommandOutput\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"argument\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Argument\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"value\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"json\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Value\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CommandOutput\n*/\nconst CommandOutput = new CommandOutput$Type();\n/**\n* @generated ServiceType for protobuf service sui.rpc.v2.TransactionExecutionService\n*/\nconst TransactionExecutionService = new ServiceType(\"sui.rpc.v2.TransactionExecutionService\", [{\n\tname: \"ExecuteTransaction\",\n\toptions: {},\n\tI: ExecuteTransactionRequest,\n\tO: ExecuteTransactionResponse\n}, {\n\tname: \"SimulateTransaction\",\n\toptions: {},\n\tI: SimulateTransactionRequest,\n\tO: SimulateTransactionResponse\n}]);\n\n//#endregion\nexport { CommandOutput, CommandResult, ExecuteTransactionRequest, ExecuteTransactionResponse, SimulateTransactionRequest, SimulateTransactionRequest_TransactionChecks, SimulateTransactionResponse, TransactionExecutionService };\n//# sourceMappingURL=transaction_execution_service.mjs.map","import { normalizeStructTag, normalizeSuiAddress } from \"../utils/sui-types.mjs\";\nimport { bcs as suiBcs } from \"../bcs/index.mjs\";\nimport { CoreClient } from \"../client/core.mjs\";\nimport { formatMoveAbortMessage } from \"../client/utils.mjs\";\nimport { SimulationError } from \"../client/errors.mjs\";\nimport { SUI_TYPE_ARG } from \"../utils/constants.mjs\";\nimport { Value } from \"./proto/google/protobuf/struct.mjs\";\nimport { Ability, FunctionDescriptor_Visibility, OpenSignatureBody_Type, OpenSignature_Reference } from \"./proto/sui/rpc/v2/move_package.mjs\";\nimport { Owner_OwnerKind } from \"./proto/sui/rpc/v2/owner.mjs\";\nimport { applyGrpcResolvedTransaction, grpcTransactionToTransactionData, transactionDataToGrpcTransaction, transactionToGrpcTransaction } from \"../client/transaction-resolver.mjs\";\nimport { CommandArgumentError_CommandArgumentErrorKind } from \"./proto/sui/rpc/v2/execution_status.mjs\";\nimport { ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, UnchangedConsensusObject_UnchangedConsensusObjectKind } from \"./proto/sui/rpc/v2/effects.mjs\";\nimport { SimulateTransactionRequest_TransactionChecks } from \"./proto/sui/rpc/v2/transaction_execution_service.mjs\";\nimport { chunk, fromBase64, toBase64 } from \"@mysten/utils\";\n\n//#region src/grpc/core.ts\nvar GrpcCoreClient = class extends CoreClient {\n\t#client;\n\tconstructor({ client, ...options }) {\n\t\tsuper(options);\n\t\tthis.#client = client;\n\t}\n\tasync getObjects(options) {\n\t\tconst batches = chunk(options.objectIds, 50);\n\t\tconst results = [];\n\t\tconst paths = [\n\t\t\t\"owner\",\n\t\t\t\"object_type\",\n\t\t\t\"digest\",\n\t\t\t\"version\",\n\t\t\t\"object_id\"\n\t\t];\n\t\tif (options.include?.content) paths.push(\"contents\");\n\t\tif (options.include?.previousTransaction) paths.push(\"previous_transaction\");\n\t\tif (options.include?.objectBcs) paths.push(\"bcs\");\n\t\tif (options.include?.json) paths.push(\"json\");\n\t\tif (options.include?.display) paths.push(\"display\");\n\t\tfor (const batch of batches) {\n\t\t\tconst response = await this.#client.ledgerService.batchGetObjects({\n\t\t\t\trequests: batch.map((id) => ({ objectId: id })),\n\t\t\t\treadMask: { paths }\n\t\t\t});\n\t\t\tresults.push(...response.response.objects.map((object) => {\n\t\t\t\tif (object.result.oneofKind === \"error\") return new Error(object.result.error.message);\n\t\t\t\tif (object.result.oneofKind !== \"object\") return /* @__PURE__ */ new Error(\"Unexpected result type\");\n\t\t\t\tconst bcsContent = object.result.object.contents?.value ?? void 0;\n\t\t\t\tconst objectBcs = object.result.object.bcs?.value ?? void 0;\n\t\t\t\tconst objectType = object.result.object.objectType;\n\t\t\t\tconst type = objectType && objectType.includes(\"::\") ? normalizeStructTag(objectType) : objectType ?? \"\";\n\t\t\t\tconst jsonContent = options.include?.json ? object.result.object.json ? Value.toJson(object.result.object.json) : null : void 0;\n\t\t\t\tconst displayData = mapDisplayProto(options.include?.display, object.result.object.display);\n\t\t\t\treturn {\n\t\t\t\t\tobjectId: object.result.object.objectId,\n\t\t\t\t\tversion: object.result.object.version?.toString(),\n\t\t\t\t\tdigest: object.result.object.digest,\n\t\t\t\t\tcontent: bcsContent,\n\t\t\t\t\towner: mapOwner(object.result.object.owner),\n\t\t\t\t\ttype,\n\t\t\t\t\tpreviousTransaction: object.result.object.previousTransaction ?? void 0,\n\t\t\t\t\tobjectBcs,\n\t\t\t\t\tjson: jsonContent,\n\t\t\t\t\tdisplay: displayData\n\t\t\t\t};\n\t\t\t}));\n\t\t}\n\t\treturn { objects: results };\n\t}\n\tasync listOwnedObjects(options) {\n\t\tconst paths = [\n\t\t\t\"owner\",\n\t\t\t\"object_type\",\n\t\t\t\"digest\",\n\t\t\t\"version\",\n\t\t\t\"object_id\"\n\t\t];\n\t\tif (options.include?.content) paths.push(\"contents\");\n\t\tif (options.include?.previousTransaction) paths.push(\"previous_transaction\");\n\t\tif (options.include?.objectBcs) paths.push(\"bcs\");\n\t\tif (options.include?.json) paths.push(\"json\");\n\t\tif (options.include?.display) paths.push(\"display\");\n\t\tconst response = await this.#client.stateService.listOwnedObjects({\n\t\t\towner: options.owner,\n\t\t\tobjectType: options.type ? (await this.mvr.resolveType({ type: options.type })).type : void 0,\n\t\t\tpageToken: options.cursor ? fromBase64(options.cursor) : void 0,\n\t\t\tpageSize: options.limit,\n\t\t\treadMask: { paths }\n\t\t});\n\t\treturn {\n\t\t\tobjects: response.response.objects.map((object) => ({\n\t\t\t\tobjectId: object.objectId,\n\t\t\t\tversion: object.version?.toString(),\n\t\t\t\tdigest: object.digest,\n\t\t\t\tcontent: object.contents?.value,\n\t\t\t\towner: mapOwner(object.owner),\n\t\t\t\ttype: object.objectType,\n\t\t\t\tpreviousTransaction: object.previousTransaction ?? void 0,\n\t\t\t\tobjectBcs: object.bcs?.value,\n\t\t\t\tjson: options.include?.json ? object.json ? Value.toJson(object.json) : null : void 0,\n\t\t\t\tdisplay: mapDisplayProto(options.include?.display, object.display)\n\t\t\t})),\n\t\t\tcursor: response.response.nextPageToken ? toBase64(response.response.nextPageToken) : null,\n\t\t\thasNextPage: response.response.nextPageToken !== void 0\n\t\t};\n\t}\n\tasync listCoins(options) {\n\t\tconst paths = [\n\t\t\t\"owner\",\n\t\t\t\"object_type\",\n\t\t\t\"digest\",\n\t\t\t\"version\",\n\t\t\t\"object_id\",\n\t\t\t\"balance\"\n\t\t];\n\t\tconst coinType = options.coinType ?? SUI_TYPE_ARG;\n\t\tconst response = await this.#client.stateService.listOwnedObjects({\n\t\t\towner: options.owner,\n\t\t\tobjectType: `0x2::coin::Coin<${(await this.mvr.resolveType({ type: coinType })).type}>`,\n\t\t\tpageToken: options.cursor ? fromBase64(options.cursor) : void 0,\n\t\t\treadMask: { paths }\n\t\t});\n\t\treturn {\n\t\t\tobjects: response.response.objects.map((object) => ({\n\t\t\t\tobjectId: object.objectId,\n\t\t\t\tversion: object.version?.toString(),\n\t\t\t\tdigest: object.digest,\n\t\t\t\towner: mapOwner(object.owner),\n\t\t\t\ttype: object.objectType,\n\t\t\t\tbalance: object.balance?.toString()\n\t\t\t})),\n\t\t\tcursor: response.response.nextPageToken ? toBase64(response.response.nextPageToken) : null,\n\t\t\thasNextPage: response.response.nextPageToken !== void 0\n\t\t};\n\t}\n\tasync getBalance(options) {\n\t\tconst coinType = options.coinType ?? SUI_TYPE_ARG;\n\t\tconst result = await this.#client.stateService.getBalance({\n\t\t\towner: options.owner,\n\t\t\tcoinType: (await this.mvr.resolveType({ type: coinType })).type\n\t\t});\n\t\treturn { balance: {\n\t\t\tbalance: result.response.balance?.balance?.toString() ?? \"0\",\n\t\t\tcoinType: result.response.balance?.coinType ?? coinType,\n\t\t\tcoinBalance: result.response.balance?.coinBalance?.toString() ?? \"0\",\n\t\t\taddressBalance: result.response.balance?.addressBalance?.toString() ?? \"0\"\n\t\t} };\n\t}\n\tasync getCoinMetadata(options) {\n\t\tconst coinType = (await this.mvr.resolveType({ type: options.coinType })).type;\n\t\tlet response;\n\t\ttry {\n\t\t\t({response} = await this.#client.stateService.getCoinInfo({ coinType }));\n\t\t} catch {\n\t\t\treturn { coinMetadata: null };\n\t\t}\n\t\tif (!response.metadata) return { coinMetadata: null };\n\t\treturn { coinMetadata: {\n\t\t\tid: response.metadata.id ?? null,\n\t\t\tdecimals: response.metadata.decimals ?? 0,\n\t\t\tname: response.metadata.name ?? \"\",\n\t\t\tsymbol: response.metadata.symbol ?? \"\",\n\t\t\tdescription: response.metadata.description ?? \"\",\n\t\t\ticonUrl: response.metadata.iconUrl ?? null\n\t\t} };\n\t}\n\tasync listBalances(options) {\n\t\tconst result = await this.#client.stateService.listBalances({\n\t\t\towner: options.owner,\n\t\t\tpageToken: options.cursor ? fromBase64(options.cursor) : void 0,\n\t\t\tpageSize: options.limit\n\t\t});\n\t\treturn {\n\t\t\thasNextPage: !!result.response.nextPageToken,\n\t\t\tcursor: result.response.nextPageToken ? toBase64(result.response.nextPageToken) : null,\n\t\t\tbalances: result.response.balances.map((balance) => ({\n\t\t\t\tbalance: balance.balance?.toString() ?? \"0\",\n\t\t\t\tcoinType: balance.coinType,\n\t\t\t\tcoinBalance: balance.coinBalance?.toString() ?? \"0\",\n\t\t\t\taddressBalance: balance.addressBalance?.toString() ?? \"0\"\n\t\t\t}))\n\t\t};\n\t}\n\tasync getTransaction(options) {\n\t\tconst paths = [\n\t\t\t\"digest\",\n\t\t\t\"transaction.digest\",\n\t\t\t\"signatures\",\n\t\t\t\"effects.status\"\n\t\t];\n\t\tif (options.include?.transaction) paths.push(\"transaction.sender\", \"transaction.gas_payment\", \"transaction.expiration\", \"transaction.kind\");\n\t\tif (options.include?.bcs) paths.push(\"transaction.bcs\");\n\t\tif (options.include?.balanceChanges) paths.push(\"balance_changes\");\n\t\tif (options.include?.effects) paths.push(\"effects\");\n\t\tif (options.include?.events) paths.push(\"events\");\n\t\tif (options.include?.objectTypes) {\n\t\t\tpaths.push(\"effects.changed_objects.object_type\");\n\t\t\tpaths.push(\"effects.changed_objects.object_id\");\n\t\t}\n\t\tconst { response } = await this.#client.ledgerService.getTransaction({\n\t\t\tdigest: options.digest,\n\t\t\treadMask: { paths }\n\t\t});\n\t\tif (!response.transaction) throw new Error(`Transaction ${options.digest} not found`);\n\t\treturn parseTransaction(response.transaction, options.include);\n\t}\n\tasync executeTransaction(options) {\n\t\tconst paths = [\n\t\t\t\"digest\",\n\t\t\t\"transaction.digest\",\n\t\t\t\"signatures\",\n\t\t\t\"effects.status\"\n\t\t];\n\t\tif (options.include?.transaction) paths.push(\"transaction.sender\", \"transaction.gas_payment\", \"transaction.expiration\", \"transaction.kind\");\n\t\tif (options.include?.bcs) paths.push(\"transaction.bcs\");\n\t\tif (options.include?.balanceChanges) paths.push(\"balance_changes\");\n\t\tif (options.include?.effects) paths.push(\"effects\");\n\t\tif (options.include?.events) paths.push(\"events\");\n\t\tif (options.include?.objectTypes) {\n\t\t\tpaths.push(\"effects.changed_objects.object_type\");\n\t\t\tpaths.push(\"effects.changed_objects.object_id\");\n\t\t}\n\t\tconst { response } = await this.#client.transactionExecutionService.executeTransaction({\n\t\t\ttransaction: { bcs: { value: options.transaction } },\n\t\t\tsignatures: options.signatures.map((signature) => ({\n\t\t\t\tbcs: { value: fromBase64(signature) },\n\t\t\t\tsignature: { oneofKind: void 0 }\n\t\t\t})),\n\t\t\treadMask: { paths }\n\t\t});\n\t\treturn parseTransaction(response.transaction, options.include);\n\t}\n\tasync simulateTransaction(options) {\n\t\tconst paths = [\n\t\t\t\"transaction.digest\",\n\t\t\t\"transaction.transaction.digest\",\n\t\t\t\"transaction.signatures\",\n\t\t\t\"transaction.effects.status\"\n\t\t];\n\t\tif (options.include?.transaction) paths.push(\"transaction.transaction.sender\", \"transaction.transaction.gas_payment\", \"transaction.transaction.expiration\", \"transaction.transaction.kind\");\n\t\tif (options.include?.bcs) paths.push(\"transaction.transaction.bcs\");\n\t\tif (options.include?.balanceChanges) paths.push(\"transaction.balance_changes\");\n\t\tif (options.include?.effects) paths.push(\"transaction.effects\");\n\t\tif (options.include?.events) paths.push(\"transaction.events\");\n\t\tif (options.include?.objectTypes) {\n\t\t\tpaths.push(\"transaction.effects.changed_objects.object_type\");\n\t\t\tpaths.push(\"transaction.effects.changed_objects.object_id\");\n\t\t}\n\t\tif (options.include?.commandResults) paths.push(\"command_outputs\");\n\t\tif (!(options.transaction instanceof Uint8Array)) await options.transaction.prepareForSerialization({ client: this });\n\t\tconst { response } = await this.#client.transactionExecutionService.simulateTransaction({\n\t\t\ttransaction: options.transaction instanceof Uint8Array ? { bcs: { value: options.transaction } } : transactionToGrpcTransaction(options.transaction),\n\t\t\treadMask: { paths },\n\t\t\tdoGasSelection: false,\n\t\t\tchecks: options.checksEnabled === false ? SimulateTransactionRequest_TransactionChecks.DISABLED : SimulateTransactionRequest_TransactionChecks.ENABLED\n\t\t});\n\t\tconst transactionResult = parseTransaction(response.transaction, options.include);\n\t\tconst commandResults = options.include?.commandResults && response.commandOutputs ? response.commandOutputs.map((output) => ({\n\t\t\treturnValues: (output.returnValues ?? []).map((rv) => ({ bcs: rv.value?.value ?? null })),\n\t\t\tmutatedReferences: (output.mutatedByRef ?? []).map((mr) => ({ bcs: mr.value?.value ?? null }))\n\t\t})) : void 0;\n\t\tif (transactionResult.$kind === \"Transaction\") return {\n\t\t\t$kind: \"Transaction\",\n\t\t\tTransaction: transactionResult.Transaction,\n\t\t\tcommandResults\n\t\t};\n\t\telse return {\n\t\t\t$kind: \"FailedTransaction\",\n\t\t\tFailedTransaction: transactionResult.FailedTransaction,\n\t\t\tcommandResults\n\t\t};\n\t}\n\tasync getReferenceGasPrice() {\n\t\treturn { referenceGasPrice: (await this.#client.ledgerService.getEpoch({ readMask: { paths: [\"reference_gas_price\"] } })).response.epoch?.referenceGasPrice?.toString() ?? \"\" };\n\t}\n\tasync getProtocolConfig() {\n\t\tconst protocolConfig = (await this.#client.ledgerService.getEpoch({ readMask: { paths: [\"protocol_config\"] } })).response.epoch?.protocolConfig;\n\t\tif (!protocolConfig) throw new Error(\"Protocol config not found in response\");\n\t\tconst featureFlags = { ...protocolConfig.featureFlags };\n\t\tconst attributes = {};\n\t\tif (protocolConfig.attributes) for (const [key, value] of Object.entries(protocolConfig.attributes)) attributes[key] = value ?? null;\n\t\treturn { protocolConfig: {\n\t\t\tprotocolVersion: protocolConfig.protocolVersion?.toString() ?? null,\n\t\t\tfeatureFlags,\n\t\t\tattributes\n\t\t} };\n\t}\n\tasync getCurrentSystemState() {\n\t\tconst epoch = (await this.#client.ledgerService.getEpoch({ readMask: { paths: [\n\t\t\t\"system_state.version\",\n\t\t\t\"system_state.epoch\",\n\t\t\t\"system_state.protocol_version\",\n\t\t\t\"system_state.reference_gas_price\",\n\t\t\t\"system_state.epoch_start_timestamp_ms\",\n\t\t\t\"system_state.safe_mode\",\n\t\t\t\"system_state.safe_mode_storage_rewards\",\n\t\t\t\"system_state.safe_mode_computation_rewards\",\n\t\t\t\"system_state.safe_mode_storage_rebates\",\n\t\t\t\"system_state.safe_mode_non_refundable_storage_fee\",\n\t\t\t\"system_state.parameters\",\n\t\t\t\"system_state.storage_fund\",\n\t\t\t\"system_state.stake_subsidy\"\n\t\t] } })).response.epoch;\n\t\tconst systemState = epoch?.systemState;\n\t\tif (!systemState) throw new Error(\"System state not found in response\");\n\t\tconst startMs = epoch?.start?.seconds ? Number(epoch.start.seconds) * 1e3 + Math.floor((epoch.start.nanos || 0) / 1e6) : systemState.epochStartTimestampMs ? Number(systemState.epochStartTimestampMs) : null;\n\t\treturn { systemState: {\n\t\t\tsystemStateVersion: systemState.version?.toString() ?? null,\n\t\t\tepoch: systemState.epoch?.toString() ?? null,\n\t\t\tprotocolVersion: systemState.protocolVersion?.toString() ?? null,\n\t\t\treferenceGasPrice: systemState.referenceGasPrice?.toString() ?? null,\n\t\t\tepochStartTimestampMs: startMs.toString(),\n\t\t\tsafeMode: systemState.safeMode ?? false,\n\t\t\tsafeModeStorageRewards: systemState.safeModeStorageRewards?.toString() ?? null,\n\t\t\tsafeModeComputationRewards: systemState.safeModeComputationRewards?.toString() ?? null,\n\t\t\tsafeModeStorageRebates: systemState.safeModeStorageRebates?.toString() ?? null,\n\t\t\tsafeModeNonRefundableStorageFee: systemState.safeModeNonRefundableStorageFee?.toString() ?? null,\n\t\t\tparameters: {\n\t\t\t\tepochDurationMs: systemState.parameters?.epochDurationMs?.toString() ?? null,\n\t\t\t\tstakeSubsidyStartEpoch: systemState.parameters?.stakeSubsidyStartEpoch?.toString() ?? null,\n\t\t\t\tmaxValidatorCount: systemState.parameters?.maxValidatorCount?.toString() ?? null,\n\t\t\t\tminValidatorJoiningStake: systemState.parameters?.minValidatorJoiningStake?.toString() ?? null,\n\t\t\t\tvalidatorLowStakeThreshold: systemState.parameters?.validatorLowStakeThreshold?.toString() ?? null,\n\t\t\t\tvalidatorLowStakeGracePeriod: systemState.parameters?.validatorLowStakeGracePeriod?.toString() ?? null\n\t\t\t},\n\t\t\tstorageFund: {\n\t\t\t\ttotalObjectStorageRebates: systemState.storageFund?.totalObjectStorageRebates?.toString() ?? null,\n\t\t\t\tnonRefundableBalance: systemState.storageFund?.nonRefundableBalance?.toString() ?? null\n\t\t\t},\n\t\t\tstakeSubsidy: {\n\t\t\t\tbalance: systemState.stakeSubsidy?.balance?.toString() ?? null,\n\t\t\t\tdistributionCounter: systemState.stakeSubsidy?.distributionCounter?.toString() ?? null,\n\t\t\t\tcurrentDistributionAmount: systemState.stakeSubsidy?.currentDistributionAmount?.toString() ?? null,\n\t\t\t\tstakeSubsidyPeriodLength: systemState.stakeSubsidy?.stakeSubsidyPeriodLength?.toString() ?? null,\n\t\t\t\tstakeSubsidyDecreaseRate: systemState.stakeSubsidy?.stakeSubsidyDecreaseRate ?? null\n\t\t\t}\n\t\t} };\n\t}\n\tasync listDynamicFields(options) {\n\t\treturn this.#client.listDynamicFields(options);\n\t}\n\tasync verifyZkLoginSignature(options) {\n\t\tconst messageBytes = fromBase64(options.bytes);\n\t\tconst messageValue = options.intentScope === \"PersonalMessage\" ? suiBcs.byteVector().serialize(messageBytes).toBytes() : messageBytes;\n\t\tconst { response } = await this.#client.signatureVerificationService.verifySignature({\n\t\t\tmessage: {\n\t\t\t\tname: options.intentScope,\n\t\t\t\tvalue: messageValue\n\t\t\t},\n\t\t\tsignature: {\n\t\t\t\tbcs: { value: fromBase64(options.signature) },\n\t\t\t\tsignature: { oneofKind: void 0 }\n\t\t\t},\n\t\t\taddress: options.address,\n\t\t\tjwks: []\n\t\t});\n\t\treturn {\n\t\t\tsuccess: response.isValid ?? false,\n\t\t\terrors: response.reason ? [response.reason] : []\n\t\t};\n\t}\n\tasync defaultNameServiceName(options) {\n\t\treturn { data: { name: (await this.#client.nameService.reverseLookupName({ address: options.address })).response.record?.name ?? null } };\n\t}\n\tasync getMoveFunction(options) {\n\t\tconst resolvedPackageId = (await this.mvr.resolvePackage({ package: options.packageId })).package;\n\t\tconst { response } = await this.#client.movePackageService.getFunction({\n\t\t\tpackageId: resolvedPackageId,\n\t\t\tmoduleName: options.moduleName,\n\t\t\tname: options.name\n\t\t});\n\t\tlet visibility = \"unknown\";\n\t\tswitch (response.function?.visibility) {\n\t\t\tcase FunctionDescriptor_Visibility.PUBLIC:\n\t\t\t\tvisibility = \"public\";\n\t\t\t\tbreak;\n\t\t\tcase FunctionDescriptor_Visibility.PRIVATE:\n\t\t\t\tvisibility = \"private\";\n\t\t\t\tbreak;\n\t\t\tcase FunctionDescriptor_Visibility.FRIEND:\n\t\t\t\tvisibility = \"friend\";\n\t\t\t\tbreak;\n\t\t}\n\t\treturn { function: {\n\t\t\tpackageId: normalizeSuiAddress(resolvedPackageId),\n\t\t\tmoduleName: options.moduleName,\n\t\t\tname: response.function?.name,\n\t\t\tvisibility,\n\t\t\tisEntry: response.function?.isEntry ?? false,\n\t\t\ttypeParameters: response.function?.typeParameters?.map(({ constraints }) => ({\n\t\t\t\tisPhantom: false,\n\t\t\t\tconstraints: constraints.map((constraint) => {\n\t\t\t\t\tswitch (constraint) {\n\t\t\t\t\t\tcase Ability.COPY: return \"copy\";\n\t\t\t\t\t\tcase Ability.DROP: return \"drop\";\n\t\t\t\t\t\tcase Ability.STORE: return \"store\";\n\t\t\t\t\t\tcase Ability.KEY: return \"key\";\n\t\t\t\t\t\tdefault: return \"unknown\";\n\t\t\t\t\t}\n\t\t\t\t}) ?? []\n\t\t\t})) ?? [],\n\t\t\tparameters: response.function?.parameters?.map((param) => parseNormalizedSuiMoveType(param)) ?? [],\n\t\t\treturns: response.function?.returns?.map((ret) => parseNormalizedSuiMoveType(ret)) ?? []\n\t\t} };\n\t}\n\tasync getChainIdentifier(_options) {\n\t\treturn this.cache.read([\"chainIdentifier\"], async () => {\n\t\t\tconst { response } = await this.#client.ledgerService.getServiceInfo({});\n\t\t\tif (!response.chainId) throw new Error(\"Chain identifier not found in service info\");\n\t\t\treturn { chainIdentifier: response.chainId };\n\t\t});\n\t}\n\tresolveTransactionPlugin() {\n\t\tconst client = this.#client;\n\t\treturn async function resolveTransactionData(transactionData, options, next) {\n\t\t\tconst snapshot = transactionData.snapshot();\n\t\t\tif (!snapshot.sender) snapshot.sender = \"0x0000000000000000000000000000000000000000000000000000000000000000\";\n\t\t\tconst grpcTransaction = transactionDataToGrpcTransaction(snapshot);\n\t\t\tlet response;\n\t\t\ttry {\n\t\t\t\tresponse = (await client.transactionExecutionService.simulateTransaction({\n\t\t\t\t\ttransaction: grpcTransaction,\n\t\t\t\t\tdoGasSelection: !options.onlyTransactionKind && (snapshot.gasData.budget == null || snapshot.gasData.payment == null),\n\t\t\t\t\treadMask: { paths: [\n\t\t\t\t\t\t\"transaction.transaction.sender\",\n\t\t\t\t\t\t\"transaction.transaction.gas_payment\",\n\t\t\t\t\t\t\"transaction.transaction.expiration\",\n\t\t\t\t\t\t\"transaction.transaction.kind\",\n\t\t\t\t\t\t\"transaction.effects.status\"\n\t\t\t\t\t] }\n\t\t\t\t})).response;\n\t\t\t} catch (error) {\n\t\t\t\tif (error instanceof Error && error.message) throw new SimulationError(decodeURIComponent(error.message), { cause: error });\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t\tif (!options.onlyTransactionKind && response.transaction?.effects?.status && !response.transaction.effects.status.success) {\n\t\t\t\tconst executionError = response.transaction.effects.status.error ? parseGrpcExecutionError(response.transaction.effects.status.error) : void 0;\n\t\t\t\tthrow new SimulationError(`Transaction resolution failed: ${executionError?.message ?? \"Transaction failed\"}`, { executionError });\n\t\t\t}\n\t\t\tif (!response.transaction?.transaction) throw new Error(\"simulateTransaction did not return resolved transaction data\");\n\t\t\tapplyGrpcResolvedTransaction(transactionData, response.transaction.transaction, options);\n\t\t\treturn await next();\n\t\t};\n\t}\n};\nfunction mapDisplayProto(include, display) {\n\tif (!include) return void 0;\n\tif (display === void 0) return null;\n\treturn {\n\t\toutput: display.output !== void 0 ? Value.toJson(display.output) : null,\n\t\terrors: display.errors !== void 0 ? Value.toJson(display.errors) : null\n\t};\n}\nfunction mapOwner(owner) {\n\tif (!owner) return null;\n\tif (owner.kind === Owner_OwnerKind.IMMUTABLE) return {\n\t\t$kind: \"Immutable\",\n\t\tImmutable: true\n\t};\n\tif (owner.kind === Owner_OwnerKind.ADDRESS) return {\n\t\tAddressOwner: owner.address,\n\t\t$kind: \"AddressOwner\"\n\t};\n\tif (owner.kind === Owner_OwnerKind.OBJECT) return {\n\t\t$kind: \"ObjectOwner\",\n\t\tObjectOwner: owner.address\n\t};\n\tif (owner.kind === Owner_OwnerKind.SHARED) return {\n\t\t$kind: \"Shared\",\n\t\tShared: { initialSharedVersion: owner.version?.toString() }\n\t};\n\tif (owner.kind === Owner_OwnerKind.CONSENSUS_ADDRESS) return {\n\t\t$kind: \"ConsensusAddressOwner\",\n\t\tConsensusAddressOwner: {\n\t\t\tstartVersion: owner.version?.toString(),\n\t\t\towner: owner.address\n\t\t}\n\t};\n\tthrow new Error(`Unknown owner kind ${JSON.stringify(owner, (_k, v) => typeof v === \"bigint\" ? v.toString() : v)}`);\n}\nfunction parseGrpcExecutionError(error) {\n\tconst message = error.description ?? \"Unknown error\";\n\tconst command = error.command != null ? Number(error.command) : void 0;\n\tconst details = error.errorDetails;\n\tswitch (details?.oneofKind) {\n\t\tcase \"abort\": {\n\t\t\tconst abort = details.abort;\n\t\t\tconst cleverError = abort.cleverError;\n\t\t\treturn {\n\t\t\t\t$kind: \"MoveAbort\",\n\t\t\t\tmessage: formatMoveAbortMessage({\n\t\t\t\t\tcommand,\n\t\t\t\t\tlocation: abort.location,\n\t\t\t\t\tabortCode: String(abort.abortCode ?? 0n),\n\t\t\t\t\tcleverError: cleverError ? {\n\t\t\t\t\t\tlineNumber: cleverError.lineNumber != null ? Number(cleverError.lineNumber) : void 0,\n\t\t\t\t\t\tconstantName: cleverError.constantName,\n\t\t\t\t\t\tvalue: cleverError.value?.oneofKind === \"rendered\" ? cleverError.value.rendered : void 0\n\t\t\t\t\t} : void 0\n\t\t\t\t}),\n\t\t\t\tcommand,\n\t\t\t\tMoveAbort: parseMoveAbort(abort)\n\t\t\t};\n\t\t}\n\t\tcase \"sizeError\": return {\n\t\t\t$kind: \"SizeError\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tSizeError: {\n\t\t\t\tname: mapErrorName(error.kind),\n\t\t\t\tsize: Number(details.sizeError.size ?? 0n),\n\t\t\t\tmaxSize: Number(details.sizeError.maxSize ?? 0n)\n\t\t\t}\n\t\t};\n\t\tcase \"commandArgumentError\": return {\n\t\t\t$kind: \"CommandArgumentError\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tCommandArgumentError: {\n\t\t\t\targument: details.commandArgumentError.argument ?? 0,\n\t\t\t\tname: mapErrorName(details.commandArgumentError.kind)\n\t\t\t}\n\t\t};\n\t\tcase \"typeArgumentError\": return {\n\t\t\t$kind: \"TypeArgumentError\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tTypeArgumentError: {\n\t\t\t\ttypeArgument: details.typeArgumentError.typeArgument ?? 0,\n\t\t\t\tname: mapErrorName(details.typeArgumentError.kind)\n\t\t\t}\n\t\t};\n\t\tcase \"packageUpgradeError\": return {\n\t\t\t$kind: \"PackageUpgradeError\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tPackageUpgradeError: {\n\t\t\t\tname: mapErrorName(details.packageUpgradeError.kind),\n\t\t\t\tpackageId: details.packageUpgradeError.packageId,\n\t\t\t\tdigest: details.packageUpgradeError.digest\n\t\t\t}\n\t\t};\n\t\tcase \"indexError\": return {\n\t\t\t$kind: \"IndexError\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tIndexError: {\n\t\t\t\tindex: details.indexError.index,\n\t\t\t\tsubresult: details.indexError.subresult\n\t\t\t}\n\t\t};\n\t\tcase \"coinDenyListError\": return {\n\t\t\t$kind: \"CoinDenyListError\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tCoinDenyListError: {\n\t\t\t\tname: mapErrorName(error.kind),\n\t\t\t\tcoinType: details.coinDenyListError.coinType,\n\t\t\t\taddress: details.coinDenyListError.address\n\t\t\t}\n\t\t};\n\t\tcase \"congestedObjects\": return {\n\t\t\t$kind: \"CongestedObjects\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tCongestedObjects: {\n\t\t\t\tname: mapErrorName(error.kind),\n\t\t\t\tobjects: details.congestedObjects.objects\n\t\t\t}\n\t\t};\n\t\tcase \"objectId\": return {\n\t\t\t$kind: \"ObjectIdError\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tObjectIdError: {\n\t\t\t\tname: mapErrorName(error.kind),\n\t\t\t\tobjectId: details.objectId\n\t\t\t}\n\t\t};\n\t\tdefault: return {\n\t\t\t$kind: \"Unknown\",\n\t\t\tmessage,\n\t\t\tcommand,\n\t\t\tUnknown: null\n\t\t};\n\t}\n}\nfunction parseMoveAbort(abort) {\n\treturn {\n\t\tabortCode: String(abort.abortCode ?? 0n),\n\t\tlocation: { ...abort.location },\n\t\tcleverError: abort.cleverError ? {\n\t\t\terrorCode: abort.cleverError.errorCode != null ? Number(abort.cleverError.errorCode) : void 0,\n\t\t\tlineNumber: abort.cleverError.lineNumber != null ? Number(abort.cleverError.lineNumber) : void 0,\n\t\t\tconstantName: abort.cleverError.constantName,\n\t\t\tconstantType: abort.cleverError.constantType,\n\t\t\tvalue: abort.cleverError.value?.oneofKind === \"rendered\" ? abort.cleverError.value.rendered : abort.cleverError.value?.oneofKind === \"raw\" ? toBase64(abort.cleverError.value.raw) : void 0\n\t\t} : void 0\n\t};\n}\nfunction mapErrorName(kind) {\n\tif (kind == null) return \"Unknown\";\n\tconst name = CommandArgumentError_CommandArgumentErrorKind[kind];\n\tif (!name || name.endsWith(\"_UNKNOWN\")) return \"Unknown\";\n\treturn name.split(\"_\").map((word) => word.charAt(0) + word.slice(1).toLowerCase()).join(\"\");\n}\nfunction mapIdOperation(operation) {\n\tif (operation == null) return null;\n\tswitch (operation) {\n\t\tcase ChangedObject_IdOperation.CREATED: return \"Created\";\n\t\tcase ChangedObject_IdOperation.DELETED: return \"Deleted\";\n\t\tcase ChangedObject_IdOperation.NONE:\n\t\tcase ChangedObject_IdOperation.ID_OPERATION_UNKNOWN: return \"None\";\n\t\tdefault: return \"Unknown\";\n\t}\n}\nfunction mapInputObjectState(state) {\n\tif (state == null) return null;\n\tswitch (state) {\n\t\tcase ChangedObject_InputObjectState.EXISTS: return \"Exists\";\n\t\tcase ChangedObject_InputObjectState.DOES_NOT_EXIST: return \"DoesNotExist\";\n\t\tcase ChangedObject_InputObjectState.UNKNOWN: return \"Unknown\";\n\t\tdefault: return \"Unknown\";\n\t}\n}\nfunction mapOutputObjectState(state) {\n\tif (state == null) return null;\n\tswitch (state) {\n\t\tcase ChangedObject_OutputObjectState.OBJECT_WRITE: return \"ObjectWrite\";\n\t\tcase ChangedObject_OutputObjectState.PACKAGE_WRITE: return \"PackageWrite\";\n\t\tcase ChangedObject_OutputObjectState.DOES_NOT_EXIST: return \"DoesNotExist\";\n\t\tcase ChangedObject_OutputObjectState.ACCUMULATOR_WRITE: return \"AccumulatorWriteV1\";\n\t\tcase ChangedObject_OutputObjectState.UNKNOWN: return \"Unknown\";\n\t\tdefault: return \"Unknown\";\n\t}\n}\nfunction mapUnchangedConsensusObjectKind(kind) {\n\tif (kind == null) return null;\n\tswitch (kind) {\n\t\tcase UnchangedConsensusObject_UnchangedConsensusObjectKind.UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN: return \"Unknown\";\n\t\tcase UnchangedConsensusObject_UnchangedConsensusObjectKind.READ_ONLY_ROOT: return \"ReadOnlyRoot\";\n\t\tcase UnchangedConsensusObject_UnchangedConsensusObjectKind.MUTATE_CONSENSUS_STREAM_ENDED: return \"MutateConsensusStreamEnded\";\n\t\tcase UnchangedConsensusObject_UnchangedConsensusObjectKind.READ_CONSENSUS_STREAM_ENDED: return \"ReadConsensusStreamEnded\";\n\t\tcase UnchangedConsensusObject_UnchangedConsensusObjectKind.CANCELED: return \"Cancelled\";\n\t\tcase UnchangedConsensusObject_UnchangedConsensusObjectKind.PER_EPOCH_CONFIG: return \"PerEpochConfig\";\n\t\tdefault: return \"Unknown\";\n\t}\n}\nfunction parseTransactionEffects({ effects }) {\n\tif (!effects) return null;\n\tconst changedObjects = effects.changedObjects.map((change) => {\n\t\treturn {\n\t\t\tobjectId: change.objectId,\n\t\t\tinputState: mapInputObjectState(change.inputState),\n\t\t\tinputVersion: change.inputVersion?.toString() ?? null,\n\t\t\tinputDigest: change.inputDigest ?? null,\n\t\t\tinputOwner: mapOwner(change.inputOwner),\n\t\t\toutputState: mapOutputObjectState(change.outputState),\n\t\t\toutputVersion: change.outputVersion?.toString() ?? null,\n\t\t\toutputDigest: change.outputDigest ?? null,\n\t\t\toutputOwner: mapOwner(change.outputOwner),\n\t\t\tidOperation: mapIdOperation(change.idOperation)\n\t\t};\n\t});\n\treturn {\n\t\tbcs: effects.bcs?.value,\n\t\tversion: 2,\n\t\tstatus: effects.status?.success ? {\n\t\t\tsuccess: true,\n\t\t\terror: null\n\t\t} : {\n\t\t\tsuccess: false,\n\t\t\terror: parseGrpcExecutionError(effects.status.error)\n\t\t},\n\t\tgasUsed: {\n\t\t\tcomputationCost: effects.gasUsed?.computationCost?.toString(),\n\t\t\tstorageCost: effects.gasUsed?.storageCost?.toString(),\n\t\t\tstorageRebate: effects.gasUsed?.storageRebate?.toString(),\n\t\t\tnonRefundableStorageFee: effects.gasUsed?.nonRefundableStorageFee?.toString()\n\t\t},\n\t\ttransactionDigest: effects.transactionDigest,\n\t\tgasObject: {\n\t\t\tobjectId: effects.gasObject?.objectId,\n\t\t\tinputState: mapInputObjectState(effects.gasObject?.inputState),\n\t\t\tinputVersion: effects.gasObject?.inputVersion?.toString() ?? null,\n\t\t\tinputDigest: effects.gasObject?.inputDigest ?? null,\n\t\t\tinputOwner: mapOwner(effects.gasObject?.inputOwner),\n\t\t\toutputState: mapOutputObjectState(effects.gasObject?.outputState),\n\t\t\toutputVersion: effects.gasObject?.outputVersion?.toString() ?? null,\n\t\t\toutputDigest: effects.gasObject?.outputDigest ?? null,\n\t\t\toutputOwner: mapOwner(effects.gasObject?.outputOwner),\n\t\t\tidOperation: mapIdOperation(effects.gasObject?.idOperation)\n\t\t},\n\t\teventsDigest: effects.eventsDigest ?? null,\n\t\tdependencies: effects.dependencies,\n\t\tlamportVersion: effects.lamportVersion?.toString() ?? null,\n\t\tchangedObjects,\n\t\tunchangedConsensusObjects: effects.unchangedConsensusObjects.map((object) => {\n\t\t\treturn {\n\t\t\t\tkind: mapUnchangedConsensusObjectKind(object.kind),\n\t\t\t\tobjectId: object.objectId,\n\t\t\t\tversion: object.version?.toString() ?? null,\n\t\t\t\tdigest: object.digest ?? null\n\t\t\t};\n\t\t}),\n\t\tauxiliaryDataDigest: effects.auxiliaryDataDigest ?? null\n\t};\n}\nfunction parseTransaction(transaction, include) {\n\tconst objectTypes = {};\n\tif (include?.objectTypes) transaction.effects?.changedObjects?.forEach((change) => {\n\t\tif (change.objectId && change.objectType) objectTypes[change.objectId] = change.objectType;\n\t});\n\tlet transactionData;\n\tif (include?.transaction) {\n\t\tconst tx = transaction.transaction;\n\t\tif (!tx) throw new Error(\"Transaction data is required but missing from gRPC response\");\n\t\tconst resolved = grpcTransactionToTransactionData(tx);\n\t\ttransactionData = {\n\t\t\tgasData: resolved.gasData,\n\t\t\tsender: resolved.sender,\n\t\t\texpiration: resolved.expiration,\n\t\t\tcommands: resolved.commands,\n\t\t\tinputs: resolved.inputs,\n\t\t\tversion: resolved.version\n\t\t};\n\t}\n\tconst bcsBytes = include?.bcs ? transaction.transaction?.bcs?.value : void 0;\n\tconst effects = include?.effects ? parseTransactionEffects({ effects: transaction.effects }) : void 0;\n\tconst status = transaction.effects?.status?.success ? {\n\t\tsuccess: true,\n\t\terror: null\n\t} : {\n\t\tsuccess: false,\n\t\terror: transaction.effects?.status?.error ? parseGrpcExecutionError(transaction.effects.status.error) : {\n\t\t\t$kind: \"Unknown\",\n\t\t\tmessage: \"Transaction failed\",\n\t\t\tUnknown: null\n\t\t}\n\t};\n\tconst result = {\n\t\tdigest: transaction.digest,\n\t\tepoch: transaction.effects?.epoch?.toString() ?? null,\n\t\tstatus,\n\t\teffects,\n\t\tobjectTypes: include?.objectTypes ? objectTypes : void 0,\n\t\ttransaction: transactionData,\n\t\tbcs: bcsBytes,\n\t\tsignatures: transaction.signatures?.map((sig) => toBase64(sig.bcs?.value)) ?? [],\n\t\tbalanceChanges: include?.balanceChanges ? transaction.balanceChanges?.map((change) => ({\n\t\t\tcoinType: change.coinType,\n\t\t\taddress: change.address,\n\t\t\tamount: change.amount\n\t\t})) ?? [] : void 0,\n\t\tevents: include?.events ? transaction.events?.events.map((event) => ({\n\t\t\tpackageId: normalizeSuiAddress(event.packageId),\n\t\t\tmodule: event.module,\n\t\t\tsender: normalizeSuiAddress(event.sender),\n\t\t\teventType: event.eventType,\n\t\t\tbcs: event.contents?.value ?? new Uint8Array(),\n\t\t\tjson: event.json ? Value.toJson(event.json) : null\n\t\t})) ?? [] : void 0\n\t};\n\treturn status.success ? {\n\t\t$kind: \"Transaction\",\n\t\tTransaction: result\n\t} : {\n\t\t$kind: \"FailedTransaction\",\n\t\tFailedTransaction: result\n\t};\n}\nfunction parseNormalizedSuiMoveType(type) {\n\tlet reference = null;\n\tif (type.reference === OpenSignature_Reference.IMMUTABLE) reference = \"immutable\";\n\telse if (type.reference === OpenSignature_Reference.MUTABLE) reference = \"mutable\";\n\treturn {\n\t\treference,\n\t\tbody: parseNormalizedSuiMoveTypeBody(type.body)\n\t};\n}\nfunction parseNormalizedSuiMoveTypeBody(type) {\n\tswitch (type.type) {\n\t\tcase OpenSignatureBody_Type.TYPE_UNKNOWN: return { $kind: \"unknown\" };\n\t\tcase OpenSignatureBody_Type.ADDRESS: return { $kind: \"address\" };\n\t\tcase OpenSignatureBody_Type.BOOL: return { $kind: \"bool\" };\n\t\tcase OpenSignatureBody_Type.U8: return { $kind: \"u8\" };\n\t\tcase OpenSignatureBody_Type.U16: return { $kind: \"u16\" };\n\t\tcase OpenSignatureBody_Type.U32: return { $kind: \"u32\" };\n\t\tcase OpenSignatureBody_Type.U64: return { $kind: \"u64\" };\n\t\tcase OpenSignatureBody_Type.U128: return { $kind: \"u128\" };\n\t\tcase OpenSignatureBody_Type.U256: return { $kind: \"u256\" };\n\t\tcase OpenSignatureBody_Type.VECTOR: return {\n\t\t\t$kind: \"vector\",\n\t\t\tvector: parseNormalizedSuiMoveTypeBody(type.typeParameterInstantiation[0])\n\t\t};\n\t\tcase OpenSignatureBody_Type.DATATYPE: return {\n\t\t\t$kind: \"datatype\",\n\t\t\tdatatype: {\n\t\t\t\ttypeName: type.typeName,\n\t\t\t\ttypeParameters: type.typeParameterInstantiation.map((t) => parseNormalizedSuiMoveTypeBody(t))\n\t\t\t}\n\t\t};\n\t\tcase OpenSignatureBody_Type.TYPE_PARAMETER: return {\n\t\t\t$kind: \"typeParameter\",\n\t\t\tindex: type.typeParameter\n\t\t};\n\t\tdefault: return { $kind: \"unknown\" };\n\t}\n}\n\n//#endregion\nexport { GrpcCoreClient };\n//# sourceMappingURL=core.mjs.map","import { TransactionExecutionService } from \"./transaction_execution_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts\n/**\n* @generated from protobuf service sui.rpc.v2.TransactionExecutionService\n*/\nvar TransactionExecutionServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = TransactionExecutionService.typeName;\n\t\tthis.methods = TransactionExecutionService.methods;\n\t\tthis.options = TransactionExecutionService.options;\n\t}\n\t/**\n\t* @generated from protobuf rpc: ExecuteTransaction(sui.rpc.v2.ExecuteTransactionRequest) returns (sui.rpc.v2.ExecuteTransactionResponse);\n\t*/\n\texecuteTransaction(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2.SimulateTransactionRequest) returns (sui.rpc.v2.SimulateTransactionResponse);\n\t*/\n\tsimulateTransaction(input, options) {\n\t\tconst method = this.methods[1], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { TransactionExecutionServiceClient };\n//# sourceMappingURL=transaction_execution_service.client.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/protocol_config.ts\nvar ProtocolConfig$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ProtocolConfig\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"protocol_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"feature_flags\",\n\t\t\t\tkind: \"map\",\n\t\t\t\tK: 9,\n\t\t\t\tV: {\n\t\t\t\t\tkind: \"scalar\",\n\t\t\t\t\tT: 8\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"attributes\",\n\t\t\t\tkind: \"map\",\n\t\t\t\tK: 9,\n\t\t\t\tV: {\n\t\t\t\t\tkind: \"scalar\",\n\t\t\t\t\tT: 9\n\t\t\t\t}\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ProtocolConfig\n*/\nconst ProtocolConfig = new ProtocolConfig$Type();\n\n//#endregion\nexport { ProtocolConfig };\n//# sourceMappingURL=protocol_config.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/system_state.ts\nvar SystemState$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SystemState\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"protocol_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"validators\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ValidatorSet\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"storage_fund\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => StorageFund\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"parameters\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => SystemParameters\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"reference_gas_price\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"validator_report_records\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ValidatorReportRecord\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"stake_subsidy\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => StakeSubsidy\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"safe_mode\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 8\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: \"safe_mode_storage_rewards\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: \"safe_mode_computation_rewards\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 13,\n\t\t\t\tname: \"safe_mode_storage_rebates\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: \"safe_mode_non_refundable_storage_fee\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 15,\n\t\t\t\tname: \"epoch_start_timestamp_ms\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 16,\n\t\t\t\tname: \"extra_fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SystemState\n*/\nconst SystemState = new SystemState$Type();\nvar ValidatorReportRecord$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ValidatorReportRecord\", [{\n\t\t\tno: 1,\n\t\t\tname: \"reported\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"reporters\",\n\t\t\tkind: \"scalar\",\n\t\t\trepeat: 2,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ValidatorReportRecord\n*/\nconst ValidatorReportRecord = new ValidatorReportRecord$Type();\nvar SystemParameters$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SystemParameters\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch_duration_ms\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"stake_subsidy_start_epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"min_validator_count\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"max_validator_count\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"min_validator_joining_stake\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"validator_low_stake_threshold\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"validator_very_low_stake_threshold\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"validator_low_stake_grace_period\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"extra_fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SystemParameters\n*/\nconst SystemParameters = new SystemParameters$Type();\nvar MoveTable$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.MoveTable\", [{\n\t\t\tno: 1,\n\t\t\tname: \"id\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"size\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.MoveTable\n*/\nconst MoveTable = new MoveTable$Type();\nvar StakeSubsidy$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.StakeSubsidy\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"balance\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"distribution_counter\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"current_distribution_amount\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"stake_subsidy_period_length\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"stake_subsidy_decrease_rate\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"extra_fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.StakeSubsidy\n*/\nconst StakeSubsidy = new StakeSubsidy$Type();\nvar StorageFund$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.StorageFund\", [{\n\t\t\tno: 1,\n\t\t\tname: \"total_object_storage_rebates\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"non_refundable_balance\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.StorageFund\n*/\nconst StorageFund = new StorageFund$Type();\nvar ValidatorSet$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ValidatorSet\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"total_stake\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"active_validators\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => Validator\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"pending_active_validators\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"pending_removals\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\trepeat: 1,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"staking_pool_mappings\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"inactive_validators\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"validator_candidates\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"at_risk_validators\",\n\t\t\t\tkind: \"map\",\n\t\t\t\tK: 9,\n\t\t\t\tV: {\n\t\t\t\t\tkind: \"scalar\",\n\t\t\t\t\tT: 4,\n\t\t\t\t\tL: 0\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"extra_fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ValidatorSet\n*/\nconst ValidatorSet = new ValidatorSet$Type();\nvar Validator$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Validator\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"description\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"image_url\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"project_url\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"protocol_public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"proof_of_possession\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"network_public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: \"worker_public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 13,\n\t\t\t\tname: \"network_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: \"p2p_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tjsonName: \"p2pAddress\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 15,\n\t\t\t\tname: \"primary_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 16,\n\t\t\t\tname: \"worker_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 18,\n\t\t\t\tname: \"next_epoch_protocol_public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 19,\n\t\t\t\tname: \"next_epoch_proof_of_possession\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 21,\n\t\t\t\tname: \"next_epoch_network_public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 23,\n\t\t\t\tname: \"next_epoch_worker_public_key\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 24,\n\t\t\t\tname: \"next_epoch_network_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 25,\n\t\t\t\tname: \"next_epoch_p2p_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tjsonName: \"nextEpochP2pAddress\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 26,\n\t\t\t\tname: \"next_epoch_primary_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 27,\n\t\t\t\tname: \"next_epoch_worker_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 28,\n\t\t\t\tname: \"metadata_extra_fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 29,\n\t\t\t\tname: \"voting_power\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 30,\n\t\t\t\tname: \"operation_cap_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 31,\n\t\t\t\tname: \"gas_price\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 32,\n\t\t\t\tname: \"staking_pool\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => StakingPool\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 33,\n\t\t\t\tname: \"commission_rate\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 34,\n\t\t\t\tname: \"next_epoch_stake\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 35,\n\t\t\t\tname: \"next_epoch_gas_price\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 36,\n\t\t\t\tname: \"next_epoch_commission_rate\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 37,\n\t\t\t\tname: \"extra_fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Validator\n*/\nconst Validator = new Validator$Type();\nvar StakingPool$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.StakingPool\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"activation_epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"deactivation_epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"sui_balance\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"rewards_pool\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"pool_token_balance\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"exchange_rates\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"pending_stake\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"pending_total_sui_withdraw\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"pending_pool_token_withdraw\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: \"extra_fields\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => MoveTable\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.StakingPool\n*/\nconst StakingPool = new StakingPool$Type();\n\n//#endregion\nexport { MoveTable, StakeSubsidy, StakingPool, StorageFund, SystemParameters, SystemState, Validator, ValidatorReportRecord, ValidatorSet };\n//# sourceMappingURL=system_state.mjs.map","import { Timestamp } from \"../../../google/protobuf/timestamp.mjs\";\nimport { ValidatorCommittee } from \"./signature.mjs\";\nimport { ProtocolConfig } from \"./protocol_config.mjs\";\nimport { SystemState } from \"./system_state.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/epoch.ts\nvar Epoch$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Epoch\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"committee\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ValidatorCommittee\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"system_state\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => SystemState\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"first_checkpoint\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"last_checkpoint\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"start\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"end\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"reference_gas_price\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"protocol_config\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ProtocolConfig\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Epoch\n*/\nconst Epoch = new Epoch$Type();\n\n//#endregion\nexport { Epoch };\n//# sourceMappingURL=epoch.mjs.map","import { Bcs } from \"./bcs.mjs\";\nimport { UserSignature } from \"./signature.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts\nvar CheckpointContents$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CheckpointContents\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"bcs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 5\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"transactions\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => CheckpointedTransactionInfo\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CheckpointContents\n*/\nconst CheckpointContents = new CheckpointContents$Type();\nvar CheckpointedTransactionInfo$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CheckpointedTransactionInfo\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"transaction\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"effects\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"signatures\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => UserSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"address_aliases_versions\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => AddressAliasesVersion\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CheckpointedTransactionInfo\n*/\nconst CheckpointedTransactionInfo = new CheckpointedTransactionInfo$Type();\nvar AddressAliasesVersion$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.AddressAliasesVersion\", [{\n\t\t\tno: 1,\n\t\t\tname: \"version\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.AddressAliasesVersion\n*/\nconst AddressAliasesVersion = new AddressAliasesVersion$Type();\n\n//#endregion\nexport { AddressAliasesVersion, CheckpointContents, CheckpointedTransactionInfo };\n//# sourceMappingURL=checkpoint_contents.mjs.map","import { Bcs } from \"./bcs.mjs\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.mjs\";\nimport { GasCostSummary } from \"./gas_cost_summary.mjs\";\nimport { ValidatorCommitteeMember } from \"./signature.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts\n/**\n* @generated from protobuf enum sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind\n*/\nlet CheckpointCommitment_CheckpointCommitmentKind = /* @__PURE__ */ function(CheckpointCommitment_CheckpointCommitmentKind$1) {\n\t/**\n\t* @generated from protobuf enum value: CHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0;\n\t*/\n\tCheckpointCommitment_CheckpointCommitmentKind$1[CheckpointCommitment_CheckpointCommitmentKind$1[\"CHECKPOINT_COMMITMENT_KIND_UNKNOWN\"] = 0] = \"CHECKPOINT_COMMITMENT_KIND_UNKNOWN\";\n\t/**\n\t* An elliptic curve multiset hash attesting to the set of objects that\n\t* comprise the live state of the Sui blockchain.\n\t*\n\t* @generated from protobuf enum value: ECMH_LIVE_OBJECT_SET = 1;\n\t*/\n\tCheckpointCommitment_CheckpointCommitmentKind$1[CheckpointCommitment_CheckpointCommitmentKind$1[\"ECMH_LIVE_OBJECT_SET\"] = 1] = \"ECMH_LIVE_OBJECT_SET\";\n\t/**\n\t* Digest of the checkpoint artifacts.\n\t*\n\t* @generated from protobuf enum value: CHECKPOINT_ARTIFACTS = 2;\n\t*/\n\tCheckpointCommitment_CheckpointCommitmentKind$1[CheckpointCommitment_CheckpointCommitmentKind$1[\"CHECKPOINT_ARTIFACTS\"] = 2] = \"CHECKPOINT_ARTIFACTS\";\n\treturn CheckpointCommitment_CheckpointCommitmentKind$1;\n}({});\nvar CheckpointSummary$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CheckpointSummary\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"bcs\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"sequence_number\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"total_network_transactions\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"content_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"previous_digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"epoch_rolling_gas_cost_summary\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => GasCostSummary\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: \"commitments\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => CheckpointCommitment\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: \"end_of_epoch_data\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => EndOfEpochData\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: \"version_specific_data\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CheckpointSummary\n*/\nconst CheckpointSummary = new CheckpointSummary$Type();\nvar EndOfEpochData$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.EndOfEpochData\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"next_epoch_committee\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ValidatorCommitteeMember\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"next_epoch_protocol_version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"epoch_commitments\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => CheckpointCommitment\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochData\n*/\nconst EndOfEpochData = new EndOfEpochData$Type();\nvar CheckpointCommitment$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CheckpointCommitment\", [{\n\t\t\tno: 1,\n\t\t\tname: \"kind\",\n\t\t\tkind: \"enum\",\n\t\t\topt: true,\n\t\t\tT: () => [\"sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind\", CheckpointCommitment_CheckpointCommitmentKind]\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"digest\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CheckpointCommitment\n*/\nconst CheckpointCommitment = new CheckpointCommitment$Type();\n\n//#endregion\nexport { CheckpointCommitment, CheckpointCommitment_CheckpointCommitmentKind, CheckpointSummary, EndOfEpochData };\n//# sourceMappingURL=checkpoint_summary.mjs.map","import { ObjectSet } from \"./object.mjs\";\nimport { ValidatorAggregatedSignature } from \"./signature.mjs\";\nimport { ExecutedTransaction } from \"./executed_transaction.mjs\";\nimport { CheckpointContents } from \"./checkpoint_contents.mjs\";\nimport { CheckpointSummary } from \"./checkpoint_summary.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/sui/rpc/v2/checkpoint.ts\nvar Checkpoint$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Checkpoint\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"sequence_number\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"summary\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CheckpointSummary\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"signature\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ValidatorAggregatedSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"contents\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CheckpointContents\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"transactions\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ExecutedTransaction\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"objects\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => ObjectSet\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Checkpoint\n*/\nconst Checkpoint = new Checkpoint$Type();\n\n//#endregion\nexport { Checkpoint };\n//# sourceMappingURL=checkpoint.mjs.map","import { MessageType, isJsonObject, jsonWriteOptions, typeofJsonValue } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/google/protobuf/any.ts\nvar Any$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.protobuf.Any\", [{\n\t\t\tno: 1,\n\t\t\tname: \"type_url\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"value\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 12\n\t\t}]);\n\t}\n\t/**\n\t* Pack the message into a new `Any`.\n\t*\n\t* Uses 'type.googleapis.com/full.type.name' as the type URL.\n\t*/\n\tpack(message, type) {\n\t\treturn {\n\t\t\ttypeUrl: this.typeNameToUrl(type.typeName),\n\t\t\tvalue: type.toBinary(message)\n\t\t};\n\t}\n\t/**\n\t* Unpack the message from the `Any`.\n\t*/\n\tunpack(any, type, options) {\n\t\tif (!this.contains(any, type)) throw new Error(\"Cannot unpack google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' as \" + type.typeName + \".\");\n\t\treturn type.fromBinary(any.value, options);\n\t}\n\t/**\n\t* Does the given `Any` contain a packed message of the given type?\n\t*/\n\tcontains(any, type) {\n\t\tif (!any.typeUrl.length) return false;\n\t\treturn (typeof type == \"string\" ? type : type.typeName) === this.typeUrlToName(any.typeUrl);\n\t}\n\t/**\n\t* Convert the message to canonical JSON value.\n\t*\n\t* You have to provide the `typeRegistry` option so that the\n\t* packed message can be converted to JSON.\n\t*\n\t* The `typeRegistry` option is also required to read\n\t* `google.protobuf.Any` from JSON format.\n\t*/\n\tinternalJsonWrite(any, options) {\n\t\tif (any.typeUrl === \"\") return {};\n\t\tlet typeName = this.typeUrlToName(any.typeUrl);\n\t\tlet opt = jsonWriteOptions(options);\n\t\tlet type = opt.typeRegistry?.find((t) => t.typeName === typeName);\n\t\tif (!type) throw new globalThis.Error(\"Unable to convert google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' to JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n\t\tlet value = type.fromBinary(any.value, { readUnknownField: false });\n\t\tlet json = type.internalJsonWrite(value, opt);\n\t\tif (typeName.startsWith(\"google.protobuf.\") || !isJsonObject(json)) json = { value: json };\n\t\tjson[\"@type\"] = any.typeUrl;\n\t\treturn json;\n\t}\n\tinternalJsonRead(json, options, target) {\n\t\tif (!isJsonObject(json)) throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON \" + typeofJsonValue(json) + \".\");\n\t\tif (typeof json[\"@type\"] != \"string\" || json[\"@type\"] == \"\") return this.create();\n\t\tlet typeName = this.typeUrlToName(json[\"@type\"]);\n\t\tlet type = options?.typeRegistry?.find((t) => t.typeName == typeName);\n\t\tif (!type) throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n\t\tlet value;\n\t\tif (typeName.startsWith(\"google.protobuf.\") && json.hasOwnProperty(\"value\")) value = type.fromJson(json[\"value\"], options);\n\t\telse {\n\t\t\tlet copy = Object.assign({}, json);\n\t\t\tdelete copy[\"@type\"];\n\t\t\tvalue = type.fromJson(copy, options);\n\t\t}\n\t\tif (target === void 0) target = this.create();\n\t\ttarget.typeUrl = json[\"@type\"];\n\t\ttarget.value = type.toBinary(value);\n\t\treturn target;\n\t}\n\ttypeNameToUrl(name) {\n\t\tif (!name.length) throw new Error(\"invalid type name: \" + name);\n\t\treturn \"type.googleapis.com/\" + name;\n\t}\n\ttypeUrlToName(url) {\n\t\tif (!url.length) throw new Error(\"invalid type url: \" + url);\n\t\tlet slash = url.lastIndexOf(\"/\");\n\t\tlet name = slash > 0 ? url.substring(slash + 1) : url;\n\t\tif (!name.length) throw new Error(\"invalid type url: \" + url);\n\t\treturn name;\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.protobuf.Any\n*/\nconst Any = new Any$Type();\n\n//#endregion\nexport { Any };\n//# sourceMappingURL=any.mjs.map","import { Any } from \"../protobuf/any.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n\n//#region src/grpc/proto/google/rpc/status.ts\nvar Status$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"google.rpc.Status\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"code\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tT: 5\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"message\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"details\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => Any\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message google.rpc.Status\n*/\nconst Status = new Status$Type();\n\n//#endregion\nexport { Status };\n//# sourceMappingURL=status.mjs.map","import { Object as Object$1 } from \"./object.mjs\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.mjs\";\nimport { ExecutedTransaction } from \"./executed_transaction.mjs\";\nimport { FieldMask } from \"../../../google/protobuf/field_mask.mjs\";\nimport { Epoch } from \"./epoch.mjs\";\nimport { Checkpoint } from \"./checkpoint.mjs\";\nimport { Status } from \"../../../google/rpc/status.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/ledger_service.ts\nvar GetServiceInfoRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetServiceInfoRequest\", []);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n*/\nconst GetServiceInfoRequest = new GetServiceInfoRequest$Type();\nvar GetServiceInfoResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetServiceInfoResponse\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"chain_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"chain\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"checkpoint_height\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"lowest_available_checkpoint\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"lowest_available_checkpoint_objects\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"server\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n*/\nconst GetServiceInfoResponse = new GetServiceInfoResponse$Type();\nvar GetObjectRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetObjectRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"object_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"version\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"read_mask\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => FieldMask\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n*/\nconst GetObjectRequest = new GetObjectRequest$Type();\nvar GetObjectResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetObjectResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"object\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Object$1\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n*/\nconst GetObjectResponse = new GetObjectResponse$Type();\nvar BatchGetObjectsRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.BatchGetObjectsRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"requests\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => GetObjectRequest\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"read_mask\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => FieldMask\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n*/\nconst BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\nvar BatchGetObjectsResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.BatchGetObjectsResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"objects\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => GetObjectResult\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n*/\nconst BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\nvar GetObjectResult$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetObjectResult\", [{\n\t\t\tno: 1,\n\t\t\tname: \"object\",\n\t\t\tkind: \"message\",\n\t\t\toneof: \"result\",\n\t\t\tT: () => Object$1\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"error\",\n\t\t\tkind: \"message\",\n\t\t\toneof: \"result\",\n\t\t\tT: () => Status\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n*/\nconst GetObjectResult = new GetObjectResult$Type();\nvar GetTransactionRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetTransactionRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"digest\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"read_mask\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => FieldMask\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n*/\nconst GetTransactionRequest = new GetTransactionRequest$Type();\nvar GetTransactionResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetTransactionResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"transaction\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => ExecutedTransaction\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n*/\nconst GetTransactionResponse = new GetTransactionResponse$Type();\nvar BatchGetTransactionsRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.BatchGetTransactionsRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"digests\",\n\t\t\tkind: \"scalar\",\n\t\t\trepeat: 2,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"read_mask\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => FieldMask\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n*/\nconst BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\nvar BatchGetTransactionsResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.BatchGetTransactionsResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"transactions\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => GetTransactionResult\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n*/\nconst BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\nvar GetTransactionResult$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetTransactionResult\", [{\n\t\t\tno: 1,\n\t\t\tname: \"transaction\",\n\t\t\tkind: \"message\",\n\t\t\toneof: \"result\",\n\t\t\tT: () => ExecutedTransaction\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"error\",\n\t\t\tkind: \"message\",\n\t\t\toneof: \"result\",\n\t\t\tT: () => Status\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n*/\nconst GetTransactionResult = new GetTransactionResult$Type();\nvar GetCheckpointRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetCheckpointRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"sequence_number\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"checkpointId\",\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"digest\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\toneof: \"checkpointId\",\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"read_mask\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => FieldMask\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n*/\nconst GetCheckpointRequest = new GetCheckpointRequest$Type();\nvar GetCheckpointResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetCheckpointResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"checkpoint\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Checkpoint\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n*/\nconst GetCheckpointResponse = new GetCheckpointResponse$Type();\nvar GetEpochRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetEpochRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"epoch\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"read_mask\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => FieldMask\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n*/\nconst GetEpochRequest = new GetEpochRequest$Type();\nvar GetEpochResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetEpochResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"epoch\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Epoch\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n*/\nconst GetEpochResponse = new GetEpochResponse$Type();\n/**\n* @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n*/\nconst LedgerService = new ServiceType(\"sui.rpc.v2.LedgerService\", [\n\t{\n\t\tname: \"GetServiceInfo\",\n\t\toptions: {},\n\t\tI: GetServiceInfoRequest,\n\t\tO: GetServiceInfoResponse\n\t},\n\t{\n\t\tname: \"GetObject\",\n\t\toptions: {},\n\t\tI: GetObjectRequest,\n\t\tO: GetObjectResponse\n\t},\n\t{\n\t\tname: \"BatchGetObjects\",\n\t\toptions: {},\n\t\tI: BatchGetObjectsRequest,\n\t\tO: BatchGetObjectsResponse\n\t},\n\t{\n\t\tname: \"GetTransaction\",\n\t\toptions: {},\n\t\tI: GetTransactionRequest,\n\t\tO: GetTransactionResponse\n\t},\n\t{\n\t\tname: \"BatchGetTransactions\",\n\t\toptions: {},\n\t\tI: BatchGetTransactionsRequest,\n\t\tO: BatchGetTransactionsResponse\n\t},\n\t{\n\t\tname: \"GetCheckpoint\",\n\t\toptions: {},\n\t\tI: GetCheckpointRequest,\n\t\tO: GetCheckpointResponse\n\t},\n\t{\n\t\tname: \"GetEpoch\",\n\t\toptions: {},\n\t\tI: GetEpochRequest,\n\t\tO: GetEpochResponse\n\t}\n]);\n\n//#endregion\nexport { BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, GetCheckpointRequest, GetCheckpointResponse, GetEpochRequest, GetEpochResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, LedgerService };\n//# sourceMappingURL=ledger_service.mjs.map","import { LedgerService } from \"./ledger_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/ledger_service.client.ts\n/**\n* @generated from protobuf service sui.rpc.v2.LedgerService\n*/\nvar LedgerServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = LedgerService.typeName;\n\t\tthis.methods = LedgerService.methods;\n\t\tthis.options = LedgerService.options;\n\t}\n\t/**\n\t* Query the service for general information about its current state.\n\t*\n\t* @generated from protobuf rpc: GetServiceInfo(sui.rpc.v2.GetServiceInfoRequest) returns (sui.rpc.v2.GetServiceInfoResponse);\n\t*/\n\tgetServiceInfo(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetObject(sui.rpc.v2.GetObjectRequest) returns (sui.rpc.v2.GetObjectResponse);\n\t*/\n\tgetObject(input, options) {\n\t\tconst method = this.methods[1], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: BatchGetObjects(sui.rpc.v2.BatchGetObjectsRequest) returns (sui.rpc.v2.BatchGetObjectsResponse);\n\t*/\n\tbatchGetObjects(input, options) {\n\t\tconst method = this.methods[2], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetTransaction(sui.rpc.v2.GetTransactionRequest) returns (sui.rpc.v2.GetTransactionResponse);\n\t*/\n\tgetTransaction(input, options) {\n\t\tconst method = this.methods[3], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: BatchGetTransactions(sui.rpc.v2.BatchGetTransactionsRequest) returns (sui.rpc.v2.BatchGetTransactionsResponse);\n\t*/\n\tbatchGetTransactions(input, options) {\n\t\tconst method = this.methods[4], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetCheckpoint(sui.rpc.v2.GetCheckpointRequest) returns (sui.rpc.v2.GetCheckpointResponse);\n\t*/\n\tgetCheckpoint(input, options) {\n\t\tconst method = this.methods[5], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetEpoch(sui.rpc.v2.GetEpochRequest) returns (sui.rpc.v2.GetEpochResponse);\n\t*/\n\tgetEpoch(input, options) {\n\t\tconst method = this.methods[6], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { LedgerServiceClient };\n//# sourceMappingURL=ledger_service.client.mjs.map","import { DatatypeDescriptor, FunctionDescriptor, Package } from \"./move_package.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/move_package_service.ts\nvar GetPackageRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetPackageRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"package_id\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetPackageRequest\n*/\nconst GetPackageRequest = new GetPackageRequest$Type();\nvar GetPackageResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetPackageResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"package\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Package\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetPackageResponse\n*/\nconst GetPackageResponse = new GetPackageResponse$Type();\nvar GetDatatypeRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetDatatypeRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"package_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"module_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeRequest\n*/\nconst GetDatatypeRequest = new GetDatatypeRequest$Type();\nvar GetDatatypeResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetDatatypeResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"datatype\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => DatatypeDescriptor\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeResponse\n*/\nconst GetDatatypeResponse = new GetDatatypeResponse$Type();\nvar GetFunctionRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetFunctionRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"package_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"module_name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetFunctionRequest\n*/\nconst GetFunctionRequest = new GetFunctionRequest$Type();\nvar GetFunctionResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetFunctionResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"function\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => FunctionDescriptor\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetFunctionResponse\n*/\nconst GetFunctionResponse = new GetFunctionResponse$Type();\nvar ListPackageVersionsRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListPackageVersionsRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"package_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"page_size\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"page_token\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsRequest\n*/\nconst ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();\nvar ListPackageVersionsResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListPackageVersionsResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"versions\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => PackageVersion\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"next_page_token\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 12\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsResponse\n*/\nconst ListPackageVersionsResponse = new ListPackageVersionsResponse$Type();\nvar PackageVersion$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.PackageVersion\", [{\n\t\t\tno: 1,\n\t\t\tname: \"package_id\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"version\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.PackageVersion\n*/\nconst PackageVersion = new PackageVersion$Type();\n/**\n* @generated ServiceType for protobuf service sui.rpc.v2.MovePackageService\n*/\nconst MovePackageService = new ServiceType(\"sui.rpc.v2.MovePackageService\", [\n\t{\n\t\tname: \"GetPackage\",\n\t\toptions: {},\n\t\tI: GetPackageRequest,\n\t\tO: GetPackageResponse\n\t},\n\t{\n\t\tname: \"GetDatatype\",\n\t\toptions: {},\n\t\tI: GetDatatypeRequest,\n\t\tO: GetDatatypeResponse\n\t},\n\t{\n\t\tname: \"GetFunction\",\n\t\toptions: {},\n\t\tI: GetFunctionRequest,\n\t\tO: GetFunctionResponse\n\t},\n\t{\n\t\tname: \"ListPackageVersions\",\n\t\toptions: {},\n\t\tI: ListPackageVersionsRequest,\n\t\tO: ListPackageVersionsResponse\n\t}\n]);\n\n//#endregion\nexport { GetDatatypeRequest, GetDatatypeResponse, GetFunctionRequest, GetFunctionResponse, GetPackageRequest, GetPackageResponse, ListPackageVersionsRequest, ListPackageVersionsResponse, MovePackageService, PackageVersion };\n//# sourceMappingURL=move_package_service.mjs.map","import { MovePackageService } from \"./move_package_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/move_package_service.client.ts\n/**\n* @generated from protobuf service sui.rpc.v2.MovePackageService\n*/\nvar MovePackageServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = MovePackageService.typeName;\n\t\tthis.methods = MovePackageService.methods;\n\t\tthis.options = MovePackageService.options;\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetPackage(sui.rpc.v2.GetPackageRequest) returns (sui.rpc.v2.GetPackageResponse);\n\t*/\n\tgetPackage(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetDatatype(sui.rpc.v2.GetDatatypeRequest) returns (sui.rpc.v2.GetDatatypeResponse);\n\t*/\n\tgetDatatype(input, options) {\n\t\tconst method = this.methods[1], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetFunction(sui.rpc.v2.GetFunctionRequest) returns (sui.rpc.v2.GetFunctionResponse);\n\t*/\n\tgetFunction(input, options) {\n\t\tconst method = this.methods[2], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2.ListPackageVersionsRequest) returns (sui.rpc.v2.ListPackageVersionsResponse);\n\t*/\n\tlistPackageVersions(input, options) {\n\t\tconst method = this.methods[3], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { MovePackageServiceClient };\n//# sourceMappingURL=move_package_service.client.mjs.map","import { Bcs } from \"./bcs.mjs\";\nimport { ActiveJwk } from \"./transaction.mjs\";\nimport { UserSignature } from \"./signature.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/signature_verification_service.ts\nvar VerifySignatureRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.VerifySignatureRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"message\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"signature\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => UserSignature\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"jwks\",\n\t\t\t\tkind: \"message\",\n\t\t\t\trepeat: 2,\n\t\t\t\tT: () => ActiveJwk\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureRequest\n*/\nconst VerifySignatureRequest = new VerifySignatureRequest$Type();\nvar VerifySignatureResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.VerifySignatureResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"is_valid\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 8\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"reason\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureResponse\n*/\nconst VerifySignatureResponse = new VerifySignatureResponse$Type();\n/**\n* @generated ServiceType for protobuf service sui.rpc.v2.SignatureVerificationService\n*/\nconst SignatureVerificationService = new ServiceType(\"sui.rpc.v2.SignatureVerificationService\", [{\n\tname: \"VerifySignature\",\n\toptions: {},\n\tI: VerifySignatureRequest,\n\tO: VerifySignatureResponse\n}]);\n\n//#endregion\nexport { SignatureVerificationService, VerifySignatureRequest, VerifySignatureResponse };\n//# sourceMappingURL=signature_verification_service.mjs.map","import { SignatureVerificationService } from \"./signature_verification_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts\n/**\n* @generated from protobuf service sui.rpc.v2.SignatureVerificationService\n*/\nvar SignatureVerificationServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = SignatureVerificationService.typeName;\n\t\tthis.methods = SignatureVerificationService.methods;\n\t\tthis.options = SignatureVerificationService.options;\n\t}\n\t/**\n\t* Perform signature verification of a UserSignature against the provided message.\n\t*\n\t* @generated from protobuf rpc: VerifySignature(sui.rpc.v2.VerifySignatureRequest) returns (sui.rpc.v2.VerifySignatureResponse);\n\t*/\n\tverifySignature(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { SignatureVerificationServiceClient };\n//# sourceMappingURL=signature_verification_service.client.mjs.map","import { Bcs } from \"./bcs.mjs\";\nimport { Object as Object$1 } from \"./object.mjs\";\nimport { FieldMask } from \"../../../google/protobuf/field_mask.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/state_service.ts\n/**\n* Information about the state of the coin's MetadataCap\n*\n* @generated from protobuf enum sui.rpc.v2.CoinMetadata.MetadataCapState\n*/\nlet CoinMetadata_MetadataCapState = /* @__PURE__ */ function(CoinMetadata_MetadataCapState$1) {\n\t/**\n\t* Indicates the state of the MetadataCap is unknown.\n\t* Set when the coin has not been migrated to the CoinRegistry.\n\t*\n\t* @generated from protobuf enum value: METADATA_CAP_STATE_UNKNOWN = 0;\n\t*/\n\tCoinMetadata_MetadataCapState$1[CoinMetadata_MetadataCapState$1[\"METADATA_CAP_STATE_UNKNOWN\"] = 0] = \"METADATA_CAP_STATE_UNKNOWN\";\n\t/**\n\t* Indicates the MetadataCap has been claimed.\n\t*\n\t* @generated from protobuf enum value: CLAIMED = 1;\n\t*/\n\tCoinMetadata_MetadataCapState$1[CoinMetadata_MetadataCapState$1[\"CLAIMED\"] = 1] = \"CLAIMED\";\n\t/**\n\t* Indicates the MetadataCap has not been claimed.\n\t*\n\t* @generated from protobuf enum value: UNCLAIMED = 2;\n\t*/\n\tCoinMetadata_MetadataCapState$1[CoinMetadata_MetadataCapState$1[\"UNCLAIMED\"] = 2] = \"UNCLAIMED\";\n\t/**\n\t* Indicates the MetadataCap has been deleted.\n\t*\n\t* @generated from protobuf enum value: DELETED = 3;\n\t*/\n\tCoinMetadata_MetadataCapState$1[CoinMetadata_MetadataCapState$1[\"DELETED\"] = 3] = \"DELETED\";\n\treturn CoinMetadata_MetadataCapState$1;\n}({});\n/**\n* Supply state of a coin, matching the Move SupplyState enum\n*\n* @generated from protobuf enum sui.rpc.v2.CoinTreasury.SupplyState\n*/\nlet CoinTreasury_SupplyState = /* @__PURE__ */ function(CoinTreasury_SupplyState$1) {\n\t/**\n\t* Supply is unknown or TreasuryCap still exists (minting still possible)\n\t*\n\t* @generated from protobuf enum value: SUPPLY_STATE_UNKNOWN = 0;\n\t*/\n\tCoinTreasury_SupplyState$1[CoinTreasury_SupplyState$1[\"SUPPLY_STATE_UNKNOWN\"] = 0] = \"SUPPLY_STATE_UNKNOWN\";\n\t/**\n\t* Supply is fixed (TreasuryCap consumed, no more minting possible)\n\t*\n\t* @generated from protobuf enum value: FIXED = 1;\n\t*/\n\tCoinTreasury_SupplyState$1[CoinTreasury_SupplyState$1[\"FIXED\"] = 1] = \"FIXED\";\n\t/**\n\t* Supply can only decrease (burning allowed, minting not allowed)\n\t*\n\t* @generated from protobuf enum value: BURN_ONLY = 2;\n\t*/\n\tCoinTreasury_SupplyState$1[CoinTreasury_SupplyState$1[\"BURN_ONLY\"] = 2] = \"BURN_ONLY\";\n\treturn CoinTreasury_SupplyState$1;\n}({});\n/**\n* Indicates the state of the regulation of the coin.\n*\n* @generated from protobuf enum sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\n*/\nlet RegulatedCoinMetadata_CoinRegulatedState = /* @__PURE__ */ function(RegulatedCoinMetadata_CoinRegulatedState$1) {\n\t/**\n\t* Indicates the regulation state of the coin is unknown.\n\t* This is set when a coin has not been migrated to the\n\t* coin registry and has no `0x2::coin::RegulatedCoinMetadata`\n\t* object.\n\t*\n\t* @generated from protobuf enum value: COIN_REGULATED_STATE_UNKNOWN = 0;\n\t*/\n\tRegulatedCoinMetadata_CoinRegulatedState$1[RegulatedCoinMetadata_CoinRegulatedState$1[\"COIN_REGULATED_STATE_UNKNOWN\"] = 0] = \"COIN_REGULATED_STATE_UNKNOWN\";\n\t/**\n\t* Indicates a coin is regulated. RegulatedCoinMetadata will be populated.\n\t*\n\t* @generated from protobuf enum value: REGULATED = 1;\n\t*/\n\tRegulatedCoinMetadata_CoinRegulatedState$1[RegulatedCoinMetadata_CoinRegulatedState$1[\"REGULATED\"] = 1] = \"REGULATED\";\n\t/**\n\t* Indicates a coin is unregulated.\n\t*\n\t* @generated from protobuf enum value: UNREGULATED = 2;\n\t*/\n\tRegulatedCoinMetadata_CoinRegulatedState$1[RegulatedCoinMetadata_CoinRegulatedState$1[\"UNREGULATED\"] = 2] = \"UNREGULATED\";\n\treturn RegulatedCoinMetadata_CoinRegulatedState$1;\n}({});\n/**\n* @generated from protobuf enum sui.rpc.v2.DynamicField.DynamicFieldKind\n*/\nlet DynamicField_DynamicFieldKind = /* @__PURE__ */ function(DynamicField_DynamicFieldKind$1) {\n\t/**\n\t* @generated from protobuf enum value: DYNAMIC_FIELD_KIND_UNKNOWN = 0;\n\t*/\n\tDynamicField_DynamicFieldKind$1[DynamicField_DynamicFieldKind$1[\"DYNAMIC_FIELD_KIND_UNKNOWN\"] = 0] = \"DYNAMIC_FIELD_KIND_UNKNOWN\";\n\t/**\n\t* @generated from protobuf enum value: FIELD = 1;\n\t*/\n\tDynamicField_DynamicFieldKind$1[DynamicField_DynamicFieldKind$1[\"FIELD\"] = 1] = \"FIELD\";\n\t/**\n\t* @generated from protobuf enum value: OBJECT = 2;\n\t*/\n\tDynamicField_DynamicFieldKind$1[DynamicField_DynamicFieldKind$1[\"OBJECT\"] = 2] = \"OBJECT\";\n\treturn DynamicField_DynamicFieldKind$1;\n}({});\nvar GetCoinInfoRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetCoinInfoRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"coin_type\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoRequest\n*/\nconst GetCoinInfoRequest = new GetCoinInfoRequest$Type();\nvar GetCoinInfoResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetCoinInfoResponse\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"coin_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"metadata\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CoinMetadata\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"treasury\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => CoinTreasury\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"regulated_metadata\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => RegulatedCoinMetadata\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoResponse\n*/\nconst GetCoinInfoResponse = new GetCoinInfoResponse$Type();\nvar CoinMetadata$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CoinMetadata\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"decimals\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"symbol\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"description\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"icon_url\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"metadata_cap_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"metadata_cap_state\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.CoinMetadata.MetadataCapState\", CoinMetadata_MetadataCapState]\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CoinMetadata\n*/\nconst CoinMetadata = new CoinMetadata$Type();\nvar CoinTreasury$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.CoinTreasury\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"total_supply\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"supply_state\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.CoinTreasury.SupplyState\", CoinTreasury_SupplyState]\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.CoinTreasury\n*/\nconst CoinTreasury = new CoinTreasury$Type();\nvar RegulatedCoinMetadata$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.RegulatedCoinMetadata\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"coin_metadata_object\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"deny_cap_object\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"allow_global_pause\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 8\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"variant\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"coin_regulated_state\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\", RegulatedCoinMetadata_CoinRegulatedState]\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.RegulatedCoinMetadata\n*/\nconst RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();\nvar GetBalanceRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetBalanceRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"owner\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"coin_type\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetBalanceRequest\n*/\nconst GetBalanceRequest = new GetBalanceRequest$Type();\nvar GetBalanceResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.GetBalanceResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"balance\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Balance\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.GetBalanceResponse\n*/\nconst GetBalanceResponse = new GetBalanceResponse$Type();\nvar ListBalancesRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListBalancesRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"owner\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"page_size\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"page_token\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListBalancesRequest\n*/\nconst ListBalancesRequest = new ListBalancesRequest$Type();\nvar ListBalancesResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListBalancesResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"balances\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Balance\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"next_page_token\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 12\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListBalancesResponse\n*/\nconst ListBalancesResponse = new ListBalancesResponse$Type();\nvar Balance$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.Balance\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"coin_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"balance\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"address_balance\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"coin_balance\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.Balance\n*/\nconst Balance = new Balance$Type();\nvar ListDynamicFieldsRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListDynamicFieldsRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"parent\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"page_size\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"page_token\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"read_mask\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => FieldMask\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n*/\nconst ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();\nvar ListDynamicFieldsResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListDynamicFieldsResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"dynamic_fields\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => DynamicField\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"next_page_token\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 12\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n*/\nconst ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();\nvar DynamicField$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.DynamicField\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"kind\",\n\t\t\t\tkind: \"enum\",\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\"sui.rpc.v2.DynamicField.DynamicFieldKind\", DynamicField_DynamicFieldKind]\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"parent\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"field_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"field_object\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Object$1\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"value\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Bcs\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: \"value_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: \"child_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: \"child_object\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Object$1\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.DynamicField\n*/\nconst DynamicField = new DynamicField$Type();\nvar ListOwnedObjectsRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListOwnedObjectsRequest\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"owner\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"page_size\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 13\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"page_token\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 12\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"read_mask\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => FieldMask\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"object_type\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n*/\nconst ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();\nvar ListOwnedObjectsResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ListOwnedObjectsResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"objects\",\n\t\t\tkind: \"message\",\n\t\t\trepeat: 2,\n\t\t\tT: () => Object$1\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"next_page_token\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 12\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n*/\nconst ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();\n/**\n* @generated ServiceType for protobuf service sui.rpc.v2.StateService\n*/\nconst StateService = new ServiceType(\"sui.rpc.v2.StateService\", [\n\t{\n\t\tname: \"ListDynamicFields\",\n\t\toptions: {},\n\t\tI: ListDynamicFieldsRequest,\n\t\tO: ListDynamicFieldsResponse\n\t},\n\t{\n\t\tname: \"ListOwnedObjects\",\n\t\toptions: {},\n\t\tI: ListOwnedObjectsRequest,\n\t\tO: ListOwnedObjectsResponse\n\t},\n\t{\n\t\tname: \"GetCoinInfo\",\n\t\toptions: {},\n\t\tI: GetCoinInfoRequest,\n\t\tO: GetCoinInfoResponse\n\t},\n\t{\n\t\tname: \"GetBalance\",\n\t\toptions: {},\n\t\tI: GetBalanceRequest,\n\t\tO: GetBalanceResponse\n\t},\n\t{\n\t\tname: \"ListBalances\",\n\t\toptions: {},\n\t\tI: ListBalancesRequest,\n\t\tO: ListBalancesResponse\n\t}\n]);\n\n//#endregion\nexport { Balance, CoinMetadata, CoinMetadata_MetadataCapState, CoinTreasury, CoinTreasury_SupplyState, DynamicField, DynamicField_DynamicFieldKind, GetBalanceRequest, GetBalanceResponse, GetCoinInfoRequest, GetCoinInfoResponse, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse, RegulatedCoinMetadata, RegulatedCoinMetadata_CoinRegulatedState, StateService };\n//# sourceMappingURL=state_service.mjs.map","import { StateService } from \"./state_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/state_service.client.ts\n/**\n* @generated from protobuf service sui.rpc.v2.StateService\n*/\nvar StateServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = StateService.typeName;\n\t\tthis.methods = StateService.methods;\n\t\tthis.options = StateService.options;\n\t}\n\t/**\n\t* @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2.ListDynamicFieldsRequest) returns (sui.rpc.v2.ListDynamicFieldsResponse);\n\t*/\n\tlistDynamicFields(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);\n\t*/\n\tlistOwnedObjects(input, options) {\n\t\tconst method = this.methods[1], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);\n\t*/\n\tgetCoinInfo(input, options) {\n\t\tconst method = this.methods[2], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);\n\t*/\n\tgetBalance(input, options) {\n\t\tconst method = this.methods[3], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);\n\t*/\n\tlistBalances(input, options) {\n\t\tconst method = this.methods[4], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { StateServiceClient };\n//# sourceMappingURL=state_service.client.mjs.map","import { FieldMask } from \"../../../google/protobuf/field_mask.mjs\";\nimport { Checkpoint } from \"./checkpoint.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/subscription_service.ts\nvar SubscribeCheckpointsRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SubscribeCheckpointsRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"read_mask\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => FieldMask\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SubscribeCheckpointsRequest\n*/\nconst SubscribeCheckpointsRequest = new SubscribeCheckpointsRequest$Type();\nvar SubscribeCheckpointsResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.SubscribeCheckpointsResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"cursor\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"checkpoint\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => Checkpoint\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.SubscribeCheckpointsResponse\n*/\nconst SubscribeCheckpointsResponse = new SubscribeCheckpointsResponse$Type();\n/**\n* @generated ServiceType for protobuf service sui.rpc.v2.SubscriptionService\n*/\nconst SubscriptionService = new ServiceType(\"sui.rpc.v2.SubscriptionService\", [{\n\tname: \"SubscribeCheckpoints\",\n\tserverStreaming: true,\n\toptions: {},\n\tI: SubscribeCheckpointsRequest,\n\tO: SubscribeCheckpointsResponse\n}]);\n\n//#endregion\nexport { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscriptionService };\n//# sourceMappingURL=subscription_service.mjs.map","import { SubscriptionService } from \"./subscription_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/subscription_service.client.ts\n/**\n* @generated from protobuf service sui.rpc.v2.SubscriptionService\n*/\nvar SubscriptionServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = SubscriptionService.typeName;\n\t\tthis.methods = SubscriptionService.methods;\n\t\tthis.options = SubscriptionService.options;\n\t}\n\t/**\n\t* Subscribe to the stream of checkpoints.\n\t*\n\t* This API provides a subscription to the checkpoint stream for the Sui\n\t* blockchain. When a subscription is initialized the stream will begin with\n\t* the latest executed checkpoint as seen by the server. Responses are\n\t* guaranteed to return checkpoints in-order and without gaps. This enables\n\t* clients to know exactly the last checkpoint they have processed and in the\n\t* event the subscription terminates (either by the client/server or by the\n\t* connection breaking), clients will be able to reinitialize a subscription\n\t* and then leverage other APIs in order to request data for the checkpoints\n\t* they missed.\n\t*\n\t* @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t*/\n\tsubscribeCheckpoints(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"serverStreaming\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { SubscriptionServiceClient };\n//# sourceMappingURL=subscription_service.client.mjs.map","import { Timestamp } from \"../../../google/protobuf/timestamp.mjs\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/name_service.ts\nvar LookupNameRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.LookupNameRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"name\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.LookupNameRequest\n*/\nconst LookupNameRequest = new LookupNameRequest$Type();\nvar LookupNameResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.LookupNameResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"record\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => NameRecord\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.LookupNameResponse\n*/\nconst LookupNameResponse = new LookupNameResponse$Type();\nvar ReverseLookupNameRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ReverseLookupNameRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"address\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ReverseLookupNameRequest\n*/\nconst ReverseLookupNameRequest = new ReverseLookupNameRequest$Type();\nvar ReverseLookupNameResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.ReverseLookupNameResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"record\",\n\t\t\tkind: \"message\",\n\t\t\tT: () => NameRecord\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.ReverseLookupNameResponse\n*/\nconst ReverseLookupNameResponse = new ReverseLookupNameResponse$Type();\nvar NameRecord$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.rpc.v2.NameRecord\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"name\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"registration_nft_id\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"expiration_timestamp\",\n\t\t\t\tkind: \"message\",\n\t\t\t\tT: () => Timestamp\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: \"target_address\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\topt: true,\n\t\t\t\tT: 9\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: \"data\",\n\t\t\t\tkind: \"map\",\n\t\t\t\tK: 9,\n\t\t\t\tV: {\n\t\t\t\t\tkind: \"scalar\",\n\t\t\t\t\tT: 9\n\t\t\t\t}\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.rpc.v2.NameRecord\n*/\nconst NameRecord = new NameRecord$Type();\n/**\n* @generated ServiceType for protobuf service sui.rpc.v2.NameService\n*/\nconst NameService = new ServiceType(\"sui.rpc.v2.NameService\", [{\n\tname: \"LookupName\",\n\toptions: {},\n\tI: LookupNameRequest,\n\tO: LookupNameResponse\n}, {\n\tname: \"ReverseLookupName\",\n\toptions: {},\n\tI: ReverseLookupNameRequest,\n\tO: ReverseLookupNameResponse\n}]);\n\n//#endregion\nexport { LookupNameRequest, LookupNameResponse, NameRecord, NameService, ReverseLookupNameRequest, ReverseLookupNameResponse };\n//# sourceMappingURL=name_service.mjs.map","import { NameService } from \"./name_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/rpc/v2/name_service.client.ts\n/**\n* @generated from protobuf service sui.rpc.v2.NameService\n*/\nvar NameServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = NameService.typeName;\n\t\tthis.methods = NameService.methods;\n\t\tthis.options = NameService.options;\n\t}\n\t/**\n\t* @generated from protobuf rpc: LookupName(sui.rpc.v2.LookupNameRequest) returns (sui.rpc.v2.LookupNameResponse);\n\t*/\n\tlookupName(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2.ReverseLookupNameRequest) returns (sui.rpc.v2.ReverseLookupNameResponse);\n\t*/\n\treverseLookupName(input, options) {\n\t\tconst method = this.methods[1], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { NameServiceClient };\n//# sourceMappingURL=name_service.client.mjs.map","import { MessageType } from \"@protobuf-ts/runtime\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/forking/v1alpha/forking_service.ts\nvar AdvanceClockRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.forking.v1alpha.AdvanceClockRequest\", [{\n\t\t\tno: 1,\n\t\t\tname: \"duration_ms\",\n\t\t\tkind: \"scalar\",\n\t\t\topt: true,\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceClockRequest\n*/\nconst AdvanceClockRequest = new AdvanceClockRequest$Type();\nvar AdvanceClockResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.forking.v1alpha.AdvanceClockResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"timestamp_ms\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"tx_digest\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 9\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceClockResponse\n*/\nconst AdvanceClockResponse = new AdvanceClockResponse$Type();\nvar AdvanceCheckpointRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.forking.v1alpha.AdvanceCheckpointRequest\", []);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceCheckpointRequest\n*/\nconst AdvanceCheckpointRequest = new AdvanceCheckpointRequest$Type();\nvar AdvanceCheckpointResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.forking.v1alpha.AdvanceCheckpointResponse\", [{\n\t\t\tno: 1,\n\t\t\tname: \"checkpoint_sequence_number\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}, {\n\t\t\tno: 2,\n\t\t\tname: \"timestamp_ms\",\n\t\t\tkind: \"scalar\",\n\t\t\tT: 4,\n\t\t\tL: 0\n\t\t}]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceCheckpointResponse\n*/\nconst AdvanceCheckpointResponse = new AdvanceCheckpointResponse$Type();\nvar GetStatusRequest$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.forking.v1alpha.GetStatusRequest\", []);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.forking.v1alpha.GetStatusRequest\n*/\nconst GetStatusRequest = new GetStatusRequest$Type();\nvar GetStatusResponse$Type = class extends MessageType {\n\tconstructor() {\n\t\tsuper(\"sui.forking.v1alpha.GetStatusResponse\", [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: \"epoch\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: \"checkpoint_sequence_number\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: \"timestamp_ms\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: \"forked_at_checkpoint\",\n\t\t\t\tkind: \"scalar\",\n\t\t\t\tT: 4,\n\t\t\t\tL: 0\n\t\t\t}\n\t\t]);\n\t}\n};\n/**\n* @generated MessageType for protobuf message sui.forking.v1alpha.GetStatusResponse\n*/\nconst GetStatusResponse = new GetStatusResponse$Type();\n/**\n* @generated ServiceType for protobuf service sui.forking.v1alpha.ForkingService\n*/\nconst ForkingService = new ServiceType(\"sui.forking.v1alpha.ForkingService\", [\n\t{\n\t\tname: \"AdvanceClock\",\n\t\toptions: {},\n\t\tI: AdvanceClockRequest,\n\t\tO: AdvanceClockResponse\n\t},\n\t{\n\t\tname: \"AdvanceCheckpoint\",\n\t\toptions: {},\n\t\tI: AdvanceCheckpointRequest,\n\t\tO: AdvanceCheckpointResponse\n\t},\n\t{\n\t\tname: \"GetStatus\",\n\t\toptions: {},\n\t\tI: GetStatusRequest,\n\t\tO: GetStatusResponse\n\t}\n]);\n\n//#endregion\nexport { AdvanceCheckpointRequest, AdvanceCheckpointResponse, AdvanceClockRequest, AdvanceClockResponse, ForkingService, GetStatusRequest, GetStatusResponse };\n//# sourceMappingURL=forking_service.mjs.map","import { ForkingService } from \"./forking_service.mjs\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\n\n//#region src/grpc/proto/sui/forking/v1alpha/forking_service.client.ts\n/**\n* Administrative service for controlling a forked Sui network.\n*\n* @generated from protobuf service sui.forking.v1alpha.ForkingService\n*/\nvar ForkingServiceClient = class {\n\tconstructor(_transport) {\n\t\tthis._transport = _transport;\n\t\tthis.typeName = ForkingService.typeName;\n\t\tthis.methods = ForkingService.methods;\n\t\tthis.options = ForkingService.options;\n\t}\n\t/**\n\t* Advance the forked network's clock by a given duration.\n\t*\n\t* @generated from protobuf rpc: AdvanceClock(sui.forking.v1alpha.AdvanceClockRequest) returns (sui.forking.v1alpha.AdvanceClockResponse);\n\t*/\n\tadvanceClock(input, options) {\n\t\tconst method = this.methods[0], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* Seal pending transactions into a new checkpoint.\n\t*\n\t* @generated from protobuf rpc: AdvanceCheckpoint(sui.forking.v1alpha.AdvanceCheckpointRequest) returns (sui.forking.v1alpha.AdvanceCheckpointResponse);\n\t*/\n\tadvanceCheckpoint(input, options) {\n\t\tconst method = this.methods[1], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n\t/**\n\t* Return the current state of the forked network.\n\t*\n\t* @generated from protobuf rpc: GetStatus(sui.forking.v1alpha.GetStatusRequest) returns (sui.forking.v1alpha.GetStatusResponse);\n\t*/\n\tgetStatus(input, options) {\n\t\tconst method = this.methods[2], opt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept(\"unary\", this._transport, method, opt, input);\n\t}\n};\n\n//#endregion\nexport { ForkingServiceClient };\n//# sourceMappingURL=forking_service.client.mjs.map","\"use strict\";\n// Copyright 2016 gRPC authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GrpcStatusCode = void 0;\n/**\n * See [grpc status_code_enum.h](https://github.com/grpc/grpc/blob/a19d8dcfb50caa81cddc25bc1a6afdd7a2f497b7/include/grpcpp/impl/codegen/status_code_enum.h#L24)\n *\n * Copyright 2020 Google LLC\n */\nvar GrpcStatusCode;\n(function (GrpcStatusCode) {\n /**\n * Not an error; returned on success.\n */\n GrpcStatusCode[GrpcStatusCode[\"OK\"] = 0] = \"OK\";\n /**\n * The operation was cancelled (typically by the caller).\n */\n GrpcStatusCode[GrpcStatusCode[\"CANCELLED\"] = 1] = \"CANCELLED\";\n /**\n * Unknown error. An example of where this error may be returned is if a\n * Status value received from another address space belongs to an error-space\n * that is not known in this address space. Also errors raised by APIs that\n * do not return enough error information may be converted to this error.\n */\n GrpcStatusCode[GrpcStatusCode[\"UNKNOWN\"] = 2] = \"UNKNOWN\";\n /**\n * Client specified an invalid argument. Note that this differs from\n * FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments that are\n * problematic regardless of the state of the system (e.g., a malformed file\n * name).\n */\n GrpcStatusCode[GrpcStatusCode[\"INVALID_ARGUMENT\"] = 3] = \"INVALID_ARGUMENT\";\n /**\n * Deadline expired before operation could complete. For operations that\n * change the state of the system, this error may be returned even if the\n * operation has completed successfully. For example, a successful response\n * from a server could have been delayed long enough for the deadline to\n * expire.\n */\n GrpcStatusCode[GrpcStatusCode[\"DEADLINE_EXCEEDED\"] = 4] = \"DEADLINE_EXCEEDED\";\n /**\n * Some requested entity (e.g., file or directory) was not found.\n */\n GrpcStatusCode[GrpcStatusCode[\"NOT_FOUND\"] = 5] = \"NOT_FOUND\";\n /**\n * Some entity that we attempted to create (e.g., file or directory) already\n * exists.\n */\n GrpcStatusCode[GrpcStatusCode[\"ALREADY_EXISTS\"] = 6] = \"ALREADY_EXISTS\";\n /**\n * The caller does not have permission to execute the specified operation.\n * PERMISSION_DENIED must not be used for rejections caused by exhausting\n * some resource (use RESOURCE_EXHAUSTED instead for those errors).\n * PERMISSION_DENIED must not be used if the caller can not be identified\n * (use UNAUTHENTICATED instead for those errors).\n */\n GrpcStatusCode[GrpcStatusCode[\"PERMISSION_DENIED\"] = 7] = \"PERMISSION_DENIED\";\n /**\n * The request does not have valid authentication credentials for the\n * operation.\n */\n GrpcStatusCode[GrpcStatusCode[\"UNAUTHENTICATED\"] = 16] = \"UNAUTHENTICATED\";\n /**\n * Some resource has been exhausted, perhaps a per-user quota, or perhaps the\n * entire file system is out of space.\n */\n GrpcStatusCode[GrpcStatusCode[\"RESOURCE_EXHAUSTED\"] = 8] = \"RESOURCE_EXHAUSTED\";\n /**\n * Operation was rejected because the system is not in a state required for\n * the operations execution. For example, directory to be deleted may be\n * non-empty, an rmdir operation is applied to a non-directory, etc.\n *\n * A litmus test that may help a service implementor in deciding\n * between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE:\n * (a) Use UNAVAILABLE if the client can retry just the failing call.\n * (b) Use ABORTED if the client should retry at a higher-level\n * (e.g., restarting a read-modify-write sequence).\n * (c) Use FAILED_PRECONDITION if the client should not retry until\n * the system state has been explicitly fixed. E.g., if an \"rmdir\"\n * fails because the directory is non-empty, FAILED_PRECONDITION\n * should be returned since the client should not retry unless\n * they have first fixed up the directory by deleting files from it.\n * (d) Use FAILED_PRECONDITION if the client performs conditional\n * REST Get/Update/Delete on a resource and the resource on the\n * server does not match the condition. E.g., conflicting\n * read-modify-write on the same resource.\n */\n GrpcStatusCode[GrpcStatusCode[\"FAILED_PRECONDITION\"] = 9] = \"FAILED_PRECONDITION\";\n /**\n * The operation was aborted, typically due to a concurrency issue like\n * sequencer check failures, transaction aborts, etc.\n *\n * See litmus test above for deciding between FAILED_PRECONDITION, ABORTED,\n * and UNAVAILABLE.\n */\n GrpcStatusCode[GrpcStatusCode[\"ABORTED\"] = 10] = \"ABORTED\";\n /**\n * Operation was attempted past the valid range. E.g., seeking or reading\n * past end of file.\n *\n * Unlike INVALID_ARGUMENT, this error indicates a problem that may be fixed\n * if the system state changes. For example, a 32-bit file system will\n * generate INVALID_ARGUMENT if asked to read at an offset that is not in the\n * range [0,2^32-1], but it will generate OUT_OF_RANGE if asked to read from\n * an offset past the current file size.\n *\n * There is a fair bit of overlap between FAILED_PRECONDITION and\n * OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific error)\n * when it applies so that callers who are iterating through a space can\n * easily look for an OUT_OF_RANGE error to detect when they are done.\n */\n GrpcStatusCode[GrpcStatusCode[\"OUT_OF_RANGE\"] = 11] = \"OUT_OF_RANGE\";\n /**\n * Operation is not implemented or not supported/enabled in this service.\n */\n GrpcStatusCode[GrpcStatusCode[\"UNIMPLEMENTED\"] = 12] = \"UNIMPLEMENTED\";\n /**\n * Internal errors. Means some invariants expected by underlying System has\n * been broken. If you see one of these errors, Something is very broken.\n */\n GrpcStatusCode[GrpcStatusCode[\"INTERNAL\"] = 13] = \"INTERNAL\";\n /**\n * The service is currently unavailable. This is a most likely a transient\n * condition and may be corrected by retrying with a backoff.\n *\n * See litmus test above for deciding between FAILED_PRECONDITION, ABORTED,\n * and UNAVAILABLE.\n */\n GrpcStatusCode[GrpcStatusCode[\"UNAVAILABLE\"] = 14] = \"UNAVAILABLE\";\n /**\n * Unrecoverable data loss or corruption.\n */\n GrpcStatusCode[GrpcStatusCode[\"DATA_LOSS\"] = 15] = \"DATA_LOSS\";\n})(GrpcStatusCode = exports.GrpcStatusCode || (exports.GrpcStatusCode = {}));\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readGrpcWebResponseBody = exports.GrpcWebFrame = exports.readGrpcWebResponseTrailer = exports.readGrpcWebResponseHeader = exports.createGrpcWebRequestBody = exports.createGrpcWebRequestHeader = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst runtime_rpc_1 = require(\"@protobuf-ts/runtime-rpc\");\nconst goog_grpc_status_code_1 = require(\"./goog-grpc-status-code\");\n/**\n * Create fetch API headers for a grpc-web request.\n */\nfunction createGrpcWebRequestHeader(headers, format, timeout, meta, userAgent) {\n // add meta as headers\n if (meta) {\n for (let [k, v] of Object.entries(meta)) {\n if (typeof v == \"string\")\n headers.append(k, v);\n else\n for (let i of v)\n headers.append(k, i);\n }\n }\n // set standard headers (possibly overwriting meta)\n headers.set('Content-Type', format === \"text\" ? \"application/grpc-web-text\" : \"application/grpc-web+proto\");\n if (format == \"text\") {\n // The client library should indicate to the server via the \"Accept\" header that\n // the response stream needs to be text encoded e.g. when XHR is used or due to\n // security policies with XHR\n headers.set(\"Accept\", \"application/grpc-web-text\");\n }\n headers.set('X-Grpc-Web', \"1\");\n if (userAgent)\n headers.set(\"X-User-Agent\", userAgent);\n if (typeof timeout === \"number\") {\n if (timeout <= 0) {\n // we raise an error ourselves because header \"grpc-timeout\" must be a positive integer\n throw new runtime_rpc_1.RpcError(`timeout ${timeout} ms exceeded`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.DEADLINE_EXCEEDED]);\n }\n headers.set('grpc-timeout', `${timeout}m`);\n }\n else if (timeout) {\n const deadline = timeout.getTime();\n const now = Date.now();\n if (deadline <= now) {\n // we raise an error ourselves because header \"grpc-timeout\" must be a positive integer\n throw new runtime_rpc_1.RpcError(`deadline ${timeout} exceeded`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.DEADLINE_EXCEEDED]);\n }\n headers.set('grpc-timeout', `${deadline - now}m`);\n }\n return headers;\n}\nexports.createGrpcWebRequestHeader = createGrpcWebRequestHeader;\nfunction createGrpcWebRequestBody(message, format) {\n let body = new Uint8Array(5 + message.length); // we need 5 bytes for frame type + message length\n body[0] = GrpcWebFrame.DATA; // first byte is frame type\n // 4 bytes message length\n for (let msgLen = message.length, i = 4; i > 0; i--) {\n body[i] = (msgLen % 256);\n msgLen >>>= 8;\n }\n body.set(message, 5); // reset is message\n return format === \"binary\" ? body : runtime_1.base64encode(body);\n}\nexports.createGrpcWebRequestBody = createGrpcWebRequestBody;\nfunction readGrpcWebResponseHeader(headersOrFetchResponse, httpStatus, httpStatusText) {\n if (arguments.length === 1) {\n let fetchResponse = headersOrFetchResponse;\n // Cloudflare Workers throw when the type property of a fetch response\n // is accessed, so wrap access with try/catch. See:\n // * https://developers.cloudflare.com/workers/runtime-apis/response/#properties\n // * https://github.com/cloudflare/miniflare/blob/72f046e/packages/core/src/standards/http.ts#L646\n let responseType;\n try {\n responseType = fetchResponse.type;\n }\n catch (_a) { }\n switch (responseType) {\n case \"error\":\n case \"opaque\":\n case \"opaqueredirect\":\n // see https://developer.mozilla.org/en-US/docs/Web/API/Response/type\n throw new runtime_rpc_1.RpcError(`fetch response type ${fetchResponse.type}`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.UNKNOWN]);\n }\n return readGrpcWebResponseHeader(fetchHeadersToHttp(fetchResponse.headers), fetchResponse.status, fetchResponse.statusText);\n }\n let headers = headersOrFetchResponse, httpOk = httpStatus >= 200 && httpStatus < 300, responseMeta = parseMetadata(headers), [statusCode, statusDetail] = parseStatus(headers);\n if ((statusCode === undefined || statusCode === goog_grpc_status_code_1.GrpcStatusCode.OK) && !httpOk) {\n statusCode = httpStatusToGrpc(httpStatus);\n statusDetail = httpStatusText;\n }\n return [statusCode, statusDetail, responseMeta];\n}\nexports.readGrpcWebResponseHeader = readGrpcWebResponseHeader;\n/**\n * Parses a grpc status (code and optional text) and meta data from response\n * trailers.\n *\n * Response trailers are expected as a byte array, but are actually just an\n * ASCII string with HTTP headers. Just pass the data of a grpc-web trailer\n * frame.\n */\nfunction readGrpcWebResponseTrailer(data) {\n let headers = parseTrailer(data), [code, detail] = parseStatus(headers), meta = parseMetadata(headers);\n return [code !== null && code !== void 0 ? code : goog_grpc_status_code_1.GrpcStatusCode.OK, detail, meta];\n}\nexports.readGrpcWebResponseTrailer = readGrpcWebResponseTrailer;\n/**\n * A grpc-frame type. Can be used to determine type of frame emitted by\n * `readGrpcWebResponseBody()`.\n */\nvar GrpcWebFrame;\n(function (GrpcWebFrame) {\n GrpcWebFrame[GrpcWebFrame[\"DATA\"] = 0] = \"DATA\";\n GrpcWebFrame[GrpcWebFrame[\"TRAILER\"] = 128] = \"TRAILER\";\n})(GrpcWebFrame = exports.GrpcWebFrame || (exports.GrpcWebFrame = {}));\n/**\n * Parses a grpc-web response (unary or server streaming) from a fetch API\n * stream.\n *\n * Emits grpc-web frames.\n *\n * The returned promise resolves when the response is complete.\n */\nfunction readGrpcWebResponseBody(stream, contentType, onFrame) {\n return __awaiter(this, void 0, void 0, function* () {\n let streamReader, base64queue = \"\", byteQueue = new Uint8Array(0), format = parseFormat(contentType);\n // allows to read streams from the 'node-fetch' polyfill which uses\n // node.js ReadableStream instead of the what-wg streams api ReadableStream\n if (isReadableStream(stream)) {\n let whatWgReadableStream = stream.getReader();\n streamReader = {\n next: () => whatWgReadableStream.read()\n };\n }\n else {\n streamReader = stream[Symbol.asyncIterator]();\n }\n while (true) {\n let result = yield streamReader.next();\n if (result.value !== undefined) {\n if (format === \"text\") {\n // the statements below just decode base64 and append to `bytesUnread`\n // add incoming base64 to queue\n for (let i = 0; i < result.value.length; i++)\n base64queue += String.fromCharCode(result.value[i]);\n // if the base64 queue is not a multiple of 4,\n // we have to wait for more data\n let safeLen = base64queue.length - base64queue.length % 4;\n if (safeLen === 0)\n continue;\n // decode safe chunk of base64 and add to byte queue\n byteQueue = concatBytes(byteQueue, runtime_1.base64decode(base64queue.substring(0, safeLen)));\n base64queue = base64queue.substring(safeLen);\n }\n else {\n byteQueue = concatBytes(byteQueue, result.value);\n }\n // read all fully available data frames\n while (byteQueue.length >= 5 && byteQueue[0] === GrpcWebFrame.DATA) {\n let msgLen = 0;\n for (let i = 1; i < 5; i++)\n msgLen = (msgLen << 8) + byteQueue[i];\n if (byteQueue.length - 5 >= msgLen) {\n // we have the entire message\n onFrame(GrpcWebFrame.DATA, byteQueue.subarray(5, 5 + msgLen));\n byteQueue = byteQueue.subarray(5 + msgLen);\n }\n else\n break; // wait for more data\n }\n }\n // exit, but emit trailer if exists\n if (result.done) {\n if (byteQueue.length === 0)\n break;\n if (byteQueue[0] !== GrpcWebFrame.TRAILER || byteQueue.length < 5)\n throw new runtime_rpc_1.RpcError(\"premature EOF\", goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.DATA_LOSS]);\n onFrame(GrpcWebFrame.TRAILER, byteQueue.subarray(5));\n break;\n }\n }\n });\n}\nexports.readGrpcWebResponseBody = readGrpcWebResponseBody;\n// internal\nconst isReadableStream = (s) => {\n return typeof s.getReader == \"function\";\n};\n// internal\nfunction concatBytes(a, b) {\n let n = new Uint8Array(a.length + b.length);\n n.set(a);\n n.set(b, a.length);\n return n;\n}\n// determines format from response \"content-type\" value.\n// throws if value is unknown or missing.\nfunction parseFormat(contentType) {\n // > the sender *should* always specify the message format, e.g. +proto, +json\n //\n // > the receiver should assume the default is \"+proto\" when the message format is\n // > missing in Content-Type (as \"application/grpc-web\")\n //\n // see https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md\n switch (contentType) {\n case \"application/grpc-web-text\":\n case \"application/grpc-web-text+proto\":\n return \"text\";\n case \"application/grpc-web\":\n case \"application/grpc-web+proto\":\n return \"binary\";\n case undefined:\n case null:\n throw new runtime_rpc_1.RpcError(\"missing response content type\", goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n default:\n throw new runtime_rpc_1.RpcError(\"unexpected response content type: \" + contentType, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n }\n}\n// returns error code on parse failure\nfunction parseStatus(headers) {\n let code, message;\n let m = headers['grpc-message'];\n if (m !== undefined) {\n if (Array.isArray(m))\n return [goog_grpc_status_code_1.GrpcStatusCode.INTERNAL, \"invalid grpc-web message\"];\n message = m;\n }\n let s = headers['grpc-status'];\n if (s !== undefined) {\n if (Array.isArray(s))\n return [goog_grpc_status_code_1.GrpcStatusCode.INTERNAL, \"invalid grpc-web status\"];\n code = parseInt(s, 10);\n if (goog_grpc_status_code_1.GrpcStatusCode[code] === undefined)\n return [goog_grpc_status_code_1.GrpcStatusCode.INTERNAL, \"invalid grpc-web status\"];\n }\n return [code, message];\n}\n// skips grpc-web headers\nfunction parseMetadata(headers) {\n let meta = {};\n for (let [k, v] of Object.entries(headers))\n switch (k) {\n case 'grpc-message':\n case 'grpc-status':\n case 'content-type':\n break;\n default:\n meta[k] = v;\n }\n return meta;\n}\n// parse trailer data (ASCII) to our headers rep\nfunction parseTrailer(trailerData) {\n let headers = {};\n for (let chunk of String.fromCharCode.apply(String, trailerData).trim().split(\"\\r\\n\")) {\n if (chunk == \"\")\n continue;\n let [key, ...val] = chunk.split(\":\");\n const value = val.join(\":\").trim();\n key = key.trim();\n let e = headers[key];\n if (typeof e == \"string\")\n headers[key] = [e, value];\n else if (Array.isArray(e))\n e.push(value);\n else\n headers[key] = value;\n }\n return headers;\n}\n// fetch API to our headers rep\nfunction fetchHeadersToHttp(fetchHeaders) {\n let headers = {};\n fetchHeaders.forEach((value, key) => {\n let e = headers[key];\n if (typeof e == \"string\")\n headers[key] = [e, value];\n else if (Array.isArray(e))\n e.push(value);\n else\n headers[key] = value;\n });\n return headers;\n}\n// internal\nfunction httpStatusToGrpc(httpStatus) {\n switch (httpStatus) {\n case 200:\n return goog_grpc_status_code_1.GrpcStatusCode.OK;\n case 400:\n return goog_grpc_status_code_1.GrpcStatusCode.INVALID_ARGUMENT;\n case 401:\n return goog_grpc_status_code_1.GrpcStatusCode.UNAUTHENTICATED;\n case 403:\n return goog_grpc_status_code_1.GrpcStatusCode.PERMISSION_DENIED;\n case 404:\n return goog_grpc_status_code_1.GrpcStatusCode.NOT_FOUND;\n case 409:\n return goog_grpc_status_code_1.GrpcStatusCode.ABORTED;\n case 412:\n return goog_grpc_status_code_1.GrpcStatusCode.FAILED_PRECONDITION;\n case 429:\n return goog_grpc_status_code_1.GrpcStatusCode.RESOURCE_EXHAUSTED;\n case 499:\n return goog_grpc_status_code_1.GrpcStatusCode.CANCELLED;\n case 500:\n return goog_grpc_status_code_1.GrpcStatusCode.UNKNOWN;\n case 501:\n return goog_grpc_status_code_1.GrpcStatusCode.UNIMPLEMENTED;\n case 503:\n return goog_grpc_status_code_1.GrpcStatusCode.UNAVAILABLE;\n case 504:\n return goog_grpc_status_code_1.GrpcStatusCode.DEADLINE_EXCEEDED;\n default:\n return goog_grpc_status_code_1.GrpcStatusCode.UNKNOWN;\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GrpcWebFetchTransport = void 0;\nconst runtime_rpc_1 = require(\"@protobuf-ts/runtime-rpc\");\nconst grpc_web_format_1 = require(\"./grpc-web-format\");\nconst goog_grpc_status_code_1 = require(\"./goog-grpc-status-code\");\n/**\n * Implements the grpc-web protocol, supporting text format or binary\n * format on the wire. Uses the fetch API to do the HTTP requests.\n *\n * Does not support client streaming or duplex calls because grpc-web\n * does not support them.\n */\nclass GrpcWebFetchTransport {\n constructor(defaultOptions) {\n this.defaultOptions = defaultOptions;\n }\n mergeOptions(options) {\n return runtime_rpc_1.mergeRpcOptions(this.defaultOptions, options);\n }\n /**\n * Create an URI for a gRPC web call.\n *\n * Takes the `baseUrl` option and appends:\n * - slash \"/\"\n * - package name\n * - dot \".\"\n * - service name\n * - slash \"/\"\n * - method name\n *\n * If the service was declared without a package, the package name and dot\n * are omitted.\n *\n * All names are used exactly like declared in .proto.\n */\n makeUrl(method, options) {\n let base = options.baseUrl;\n if (base.endsWith('/'))\n base = base.substring(0, base.length - 1);\n return `${base}/${method.service.typeName}/${method.name}`;\n }\n clientStreaming(method /*, options: RpcOptions*/) {\n const e = new runtime_rpc_1.RpcError('Client streaming is not supported by grpc-web', goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.UNIMPLEMENTED]);\n e.methodName = method.name;\n e.serviceName = method.service.typeName;\n throw e;\n }\n duplex(method /*, options: RpcOptions*/) {\n const e = new runtime_rpc_1.RpcError('Duplex streaming is not supported by grpc-web', goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.UNIMPLEMENTED]);\n e.methodName = method.name;\n e.serviceName = method.service.typeName;\n throw e;\n }\n serverStreaming(method, input, options) {\n var _a, _b, _c, _d, _e;\n let opt = options, format = (_a = opt.format) !== null && _a !== void 0 ? _a : 'text', fetch = (_b = opt.fetch) !== null && _b !== void 0 ? _b : globalThis.fetch, fetchInit = (_c = opt.fetchInit) !== null && _c !== void 0 ? _c : {}, url = this.makeUrl(method, opt), inputBytes = method.I.toBinary(input, opt.binaryOptions), defHeader = new runtime_rpc_1.Deferred(), responseStream = new runtime_rpc_1.RpcOutputStreamController(), responseEmptyBody = true, maybeStatus, defStatus = new runtime_rpc_1.Deferred(), maybeTrailer, defTrailer = new runtime_rpc_1.Deferred();\n fetch(url, Object.assign(Object.assign({}, fetchInit), { method: 'POST', headers: grpc_web_format_1.createGrpcWebRequestHeader(new globalThis.Headers(), format, opt.timeout, opt.meta), body: grpc_web_format_1.createGrpcWebRequestBody(inputBytes, format), signal: (_d = options.abort) !== null && _d !== void 0 ? _d : null // node-fetch@3.0.0-beta.9 rejects `undefined`\n }))\n .then(fetchResponse => {\n let [code, detail, meta] = grpc_web_format_1.readGrpcWebResponseHeader(fetchResponse);\n defHeader.resolve(meta);\n if (code != null && code !== goog_grpc_status_code_1.GrpcStatusCode.OK)\n throw new runtime_rpc_1.RpcError(detail !== null && detail !== void 0 ? detail : goog_grpc_status_code_1.GrpcStatusCode[code], goog_grpc_status_code_1.GrpcStatusCode[code], meta);\n if (code != null)\n maybeStatus = {\n code: goog_grpc_status_code_1.GrpcStatusCode[code],\n detail: detail !== null && detail !== void 0 ? detail : goog_grpc_status_code_1.GrpcStatusCode[code]\n };\n return fetchResponse;\n })\n .then(fetchResponse => {\n if (!fetchResponse.body)\n throw new runtime_rpc_1.RpcError('missing response body', goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n return grpc_web_format_1.readGrpcWebResponseBody(fetchResponse.body, fetchResponse.headers.get('content-type'), (type, data) => {\n switch (type) {\n case grpc_web_format_1.GrpcWebFrame.DATA:\n responseStream.notifyMessage(method.O.fromBinary(data, opt.binaryOptions));\n responseEmptyBody = false;\n break;\n case grpc_web_format_1.GrpcWebFrame.TRAILER:\n let code, detail;\n [code, detail, maybeTrailer] = grpc_web_format_1.readGrpcWebResponseTrailer(data);\n maybeStatus = {\n code: goog_grpc_status_code_1.GrpcStatusCode[code],\n detail: detail !== null && detail !== void 0 ? detail : goog_grpc_status_code_1.GrpcStatusCode[code]\n };\n break;\n }\n });\n })\n .then(() => {\n if (!maybeTrailer && !responseEmptyBody)\n throw new runtime_rpc_1.RpcError(`missing trailers`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.DATA_LOSS]);\n // istanbul ignore if - this should be impossible and only here to satisfy TypeScript\n if (!maybeStatus)\n throw new runtime_rpc_1.RpcError(`missing status`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n if (maybeStatus.code !== 'OK')\n throw new runtime_rpc_1.RpcError(maybeStatus.detail, maybeStatus.code, maybeTrailer);\n responseStream.notifyComplete();\n defStatus.resolve(maybeStatus);\n defTrailer.resolve(maybeTrailer || {});\n })\n .catch(reason => {\n let error;\n if (reason instanceof runtime_rpc_1.RpcError)\n error = reason;\n else if (reason instanceof Error && reason.name === 'AbortError')\n // aborted\n error = new runtime_rpc_1.RpcError(reason.message, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.CANCELLED]);\n else\n // RpcErrors are thrown by us, everything else is an internal error\n error = new runtime_rpc_1.RpcError(reason instanceof Error ? reason.message : \"\" + reason, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n error.methodName = method.name;\n error.serviceName = method.service.typeName;\n defHeader.rejectPending(error);\n responseStream.notifyError(error);\n defStatus.rejectPending(error);\n defTrailer.rejectPending(error);\n });\n return new runtime_rpc_1.ServerStreamingCall(method, (_e = opt.meta) !== null && _e !== void 0 ? _e : {}, input, defHeader.promise, responseStream, defStatus.promise, defTrailer.promise);\n }\n unary(method, input, options) {\n var _a, _b, _c, _d, _e;\n let opt = options, format = (_a = opt.format) !== null && _a !== void 0 ? _a : 'text', fetch = (_b = opt.fetch) !== null && _b !== void 0 ? _b : globalThis.fetch, fetchInit = (_c = opt.fetchInit) !== null && _c !== void 0 ? _c : {}, url = this.makeUrl(method, opt), inputBytes = method.I.toBinary(input, opt.binaryOptions), defHeader = new runtime_rpc_1.Deferred(), maybeMessage, defMessage = new runtime_rpc_1.Deferred(), maybeStatus, defStatus = new runtime_rpc_1.Deferred(), maybeTrailer, defTrailer = new runtime_rpc_1.Deferred();\n fetch(url, Object.assign(Object.assign({}, fetchInit), { method: 'POST', headers: grpc_web_format_1.createGrpcWebRequestHeader(new globalThis.Headers(), format, opt.timeout, opt.meta), body: grpc_web_format_1.createGrpcWebRequestBody(inputBytes, format), signal: (_d = options.abort) !== null && _d !== void 0 ? _d : null // node-fetch@3.0.0-beta.9 rejects `undefined`\n }))\n .then(fetchResponse => {\n let [code, detail, meta] = grpc_web_format_1.readGrpcWebResponseHeader(fetchResponse);\n defHeader.resolve(meta);\n if (code != null && code !== goog_grpc_status_code_1.GrpcStatusCode.OK)\n throw new runtime_rpc_1.RpcError(detail !== null && detail !== void 0 ? detail : goog_grpc_status_code_1.GrpcStatusCode[code], goog_grpc_status_code_1.GrpcStatusCode[code], meta);\n if (code != null)\n maybeStatus = {\n code: goog_grpc_status_code_1.GrpcStatusCode[code],\n detail: detail !== null && detail !== void 0 ? detail : goog_grpc_status_code_1.GrpcStatusCode[code]\n };\n return fetchResponse;\n })\n .then(fetchResponse => {\n if (!fetchResponse.body)\n throw new runtime_rpc_1.RpcError('missing response body', goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n return grpc_web_format_1.readGrpcWebResponseBody(fetchResponse.body, fetchResponse.headers.get('content-type'), (type, data) => {\n switch (type) {\n case grpc_web_format_1.GrpcWebFrame.DATA:\n if (maybeMessage)\n throw new runtime_rpc_1.RpcError(`unary call received 2nd message`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.DATA_LOSS]);\n maybeMessage = method.O.fromBinary(data, opt.binaryOptions);\n break;\n case grpc_web_format_1.GrpcWebFrame.TRAILER:\n let code, detail;\n [code, detail, maybeTrailer] = grpc_web_format_1.readGrpcWebResponseTrailer(data);\n maybeStatus = {\n code: goog_grpc_status_code_1.GrpcStatusCode[code],\n detail: detail !== null && detail !== void 0 ? detail : goog_grpc_status_code_1.GrpcStatusCode[code]\n };\n break;\n }\n });\n })\n .then(() => {\n if (!maybeTrailer && maybeMessage)\n throw new runtime_rpc_1.RpcError(`missing trailers`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.DATA_LOSS]);\n // istanbul ignore if - this should be impossible and only here to satisfy TypeScript\n if (!maybeStatus)\n throw new runtime_rpc_1.RpcError(`missing status`, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n if (!maybeMessage && maybeStatus.code === 'OK')\n throw new runtime_rpc_1.RpcError('expected error status', goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.DATA_LOSS]);\n if (!maybeMessage)\n throw new runtime_rpc_1.RpcError(maybeStatus.detail, maybeStatus.code, maybeTrailer);\n defMessage.resolve(maybeMessage);\n if (maybeStatus.code !== 'OK')\n throw new runtime_rpc_1.RpcError(maybeStatus.detail, maybeStatus.code, maybeTrailer);\n defStatus.resolve(maybeStatus);\n defTrailer.resolve(maybeTrailer || {});\n })\n .catch(reason => {\n let error;\n if (reason instanceof runtime_rpc_1.RpcError)\n error = reason;\n else if (reason instanceof Error && reason.name === 'AbortError')\n // aborted\n error = new runtime_rpc_1.RpcError(reason.message, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.CANCELLED]);\n else\n // RpcErrors are thrown by us, everything else is an internal error\n error = new runtime_rpc_1.RpcError(reason instanceof Error ? reason.message : \"\" + reason, goog_grpc_status_code_1.GrpcStatusCode[goog_grpc_status_code_1.GrpcStatusCode.INTERNAL]);\n error.methodName = method.name;\n error.serviceName = method.service.typeName;\n defHeader.rejectPending(error);\n defMessage.rejectPending(error);\n defStatus.rejectPending(error);\n defTrailer.rejectPending(error);\n });\n return new runtime_rpc_1.UnaryCall(method, (_e = opt.meta) !== null && _e !== void 0 ? _e : {}, input, defHeader.promise, defMessage.promise, defStatus.promise, defTrailer.promise);\n }\n}\nexports.GrpcWebFetchTransport = GrpcWebFetchTransport;\n","\"use strict\";\n// Public API of the grpc-web transport.\n// Note: we do not use `export * from ...` to help tree shakers,\n// webpack verbose output hints that this should be useful\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar grpc_web_transport_1 = require(\"./grpc-web-transport\");\nObject.defineProperty(exports, \"GrpcWebFetchTransport\", { enumerable: true, get: function () { return grpc_web_transport_1.GrpcWebFetchTransport; } });\nvar grpc_web_format_1 = require(\"./grpc-web-format\");\nObject.defineProperty(exports, \"readGrpcWebResponseTrailer\", { enumerable: true, get: function () { return grpc_web_format_1.readGrpcWebResponseTrailer; } });\nObject.defineProperty(exports, \"createGrpcWebRequestHeader\", { enumerable: true, get: function () { return grpc_web_format_1.createGrpcWebRequestHeader; } });\nObject.defineProperty(exports, \"GrpcWebFrame\", { enumerable: true, get: function () { return grpc_web_format_1.GrpcWebFrame; } });\nObject.defineProperty(exports, \"createGrpcWebRequestBody\", { enumerable: true, get: function () { return grpc_web_format_1.createGrpcWebRequestBody; } });\nObject.defineProperty(exports, \"readGrpcWebResponseBody\", { enumerable: true, get: function () { return grpc_web_format_1.readGrpcWebResponseBody; } });\nObject.defineProperty(exports, \"readGrpcWebResponseHeader\", { enumerable: true, get: function () { return grpc_web_format_1.readGrpcWebResponseHeader; } });\nvar goog_grpc_status_code_1 = require(\"./goog-grpc-status-code\");\nObject.defineProperty(exports, \"GrpcStatusCode\", { enumerable: true, get: function () { return goog_grpc_status_code_1.GrpcStatusCode; } });\n","import { normalizeStructTag } from \"../utils/sui-types.mjs\";\nimport { BaseClient } from \"../client/client.mjs\";\nimport { TransactionExecutionServiceClient } from \"./proto/sui/rpc/v2/transaction_execution_service.client.mjs\";\nimport { LedgerServiceClient } from \"./proto/sui/rpc/v2/ledger_service.client.mjs\";\nimport { MovePackageServiceClient } from \"./proto/sui/rpc/v2/move_package_service.client.mjs\";\nimport { SignatureVerificationServiceClient } from \"./proto/sui/rpc/v2/signature_verification_service.client.mjs\";\nimport { DynamicField_DynamicFieldKind } from \"./proto/sui/rpc/v2/state_service.mjs\";\nimport { StateServiceClient } from \"./proto/sui/rpc/v2/state_service.client.mjs\";\nimport { SubscriptionServiceClient } from \"./proto/sui/rpc/v2/subscription_service.client.mjs\";\nimport { GrpcCoreClient } from \"./core.mjs\";\nimport { NameServiceClient } from \"./proto/sui/rpc/v2/name_service.client.mjs\";\nimport { ForkingServiceClient } from \"./proto/sui/forking/v1alpha/forking_service.client.mjs\";\nimport { fromBase64, toBase64 } from \"@mysten/utils\";\nimport { GrpcWebFetchTransport } from \"@protobuf-ts/grpcweb-transport\";\n\n//#region src/grpc/client.ts\nconst SUI_CLIENT_BRAND = Symbol.for(\"@mysten/SuiGrpcClient\");\nfunction isSuiGrpcClient(client) {\n\treturn typeof client === \"object\" && client !== null && client[SUI_CLIENT_BRAND] === true;\n}\nvar SuiGrpcClient = class extends BaseClient {\n\tget mvr() {\n\t\treturn this.core.mvr;\n\t}\n\tget [SUI_CLIENT_BRAND]() {\n\t\treturn true;\n\t}\n\tconstructor(options) {\n\t\tsuper({ network: options.network });\n\t\tconst transport = options.transport ?? new GrpcWebFetchTransport({\n\t\t\tbaseUrl: options.baseUrl,\n\t\t\tfetchInit: options.fetchInit\n\t\t});\n\t\tthis.transactionExecutionService = new TransactionExecutionServiceClient(transport);\n\t\tthis.ledgerService = new LedgerServiceClient(transport);\n\t\tthis.stateService = new StateServiceClient(transport);\n\t\tthis.subscriptionService = new SubscriptionServiceClient(transport);\n\t\tthis.movePackageService = new MovePackageServiceClient(transport);\n\t\tthis.signatureVerificationService = new SignatureVerificationServiceClient(transport);\n\t\tthis.nameService = new NameServiceClient(transport);\n\t\tthis.forkingService = new ForkingServiceClient(transport);\n\t\tthis.core = new GrpcCoreClient({\n\t\t\tclient: this,\n\t\t\tbase: this,\n\t\t\tnetwork: options.network,\n\t\t\tmvr: options.mvr\n\t\t});\n\t}\n\tgetObjects(input) {\n\t\treturn this.core.getObjects(input);\n\t}\n\tgetObject(input) {\n\t\treturn this.core.getObject(input);\n\t}\n\tlistCoins(input) {\n\t\treturn this.core.listCoins(input);\n\t}\n\tlistOwnedObjects(input) {\n\t\treturn this.core.listOwnedObjects(input);\n\t}\n\tgetBalance(input) {\n\t\treturn this.core.getBalance(input);\n\t}\n\tlistBalances(input) {\n\t\treturn this.core.listBalances(input);\n\t}\n\tgetCoinMetadata(input) {\n\t\treturn this.core.getCoinMetadata(input);\n\t}\n\tgetTransaction(input) {\n\t\treturn this.core.getTransaction(input);\n\t}\n\texecuteTransaction(input) {\n\t\treturn this.core.executeTransaction(input);\n\t}\n\tsignAndExecuteTransaction(input) {\n\t\treturn this.core.signAndExecuteTransaction(input);\n\t}\n\twaitForTransaction(input) {\n\t\treturn this.core.waitForTransaction(input);\n\t}\n\tsimulateTransaction(input) {\n\t\treturn this.core.simulateTransaction(input);\n\t}\n\tgetReferenceGasPrice() {\n\t\treturn this.core.getReferenceGasPrice();\n\t}\n\tasync listDynamicFields(input) {\n\t\tconst includeValue = input.include?.value ?? false;\n\t\tconst paths = [\n\t\t\t\"field_id\",\n\t\t\t\"name\",\n\t\t\t\"value_type\",\n\t\t\t\"kind\",\n\t\t\t\"child_id\"\n\t\t];\n\t\tif (includeValue) paths.push(\"value\");\n\t\tconst response = await this.stateService.listDynamicFields({\n\t\t\tparent: input.parentId,\n\t\t\tpageToken: input.cursor ? fromBase64(input.cursor) : void 0,\n\t\t\tpageSize: input.limit,\n\t\t\treadMask: { paths }\n\t\t});\n\t\treturn {\n\t\t\tdynamicFields: response.response.dynamicFields.map((field) => {\n\t\t\t\tconst isDynamicObject = field.kind === DynamicField_DynamicFieldKind.OBJECT;\n\t\t\t\tconst fieldType = isDynamicObject ? `0x2::dynamic_field::Field<0x2::dynamic_object_field::Wrapper<${field.name?.name}>,0x2::object::ID>` : `0x2::dynamic_field::Field<${field.name?.name},${field.valueType}>`;\n\t\t\t\treturn {\n\t\t\t\t\t$kind: isDynamicObject ? \"DynamicObject\" : \"DynamicField\",\n\t\t\t\t\tfieldId: field.fieldId,\n\t\t\t\t\tname: {\n\t\t\t\t\t\ttype: field.name?.name,\n\t\t\t\t\t\tbcs: field.name?.value\n\t\t\t\t\t},\n\t\t\t\t\tvalueType: field.valueType,\n\t\t\t\t\ttype: normalizeStructTag(fieldType),\n\t\t\t\t\tchildId: field.childId,\n\t\t\t\t\tvalue: includeValue ? {\n\t\t\t\t\t\ttype: field.valueType,\n\t\t\t\t\t\tbcs: field.value?.value ?? new Uint8Array()\n\t\t\t\t\t} : void 0\n\t\t\t\t};\n\t\t\t}),\n\t\t\tcursor: response.response.nextPageToken ? toBase64(response.response.nextPageToken) : null,\n\t\t\thasNextPage: response.response.nextPageToken !== void 0\n\t\t};\n\t}\n\tgetDynamicField(input) {\n\t\treturn this.core.getDynamicField(input);\n\t}\n\tgetMoveFunction(input) {\n\t\treturn this.core.getMoveFunction(input);\n\t}\n\tresolveTransactionPlugin() {\n\t\treturn this.core.resolveTransactionPlugin();\n\t}\n\tverifyZkLoginSignature(input) {\n\t\treturn this.core.verifyZkLoginSignature(input);\n\t}\n\tdefaultNameServiceName(input) {\n\t\treturn this.core.defaultNameServiceName(input);\n\t}\n};\n\n//#endregion\nexport { SuiGrpcClient, isSuiGrpcClient };\n//# sourceMappingURL=client.mjs.map","import { SuiChainId } from '@sentio/chain'\nimport { ChainRpc, Endpoints } from '@sentio/runtime'\nimport { SuiGrpcClient } from '@mysten/sui/grpc'\nimport { GrpcWebFetchTransport } from '@protobuf-ts/grpcweb-transport'\n\nexport type SuiNetwork = SuiChainId\nexport const SuiNetwork = <const>{\n MAIN_NET: SuiChainId.SUI_MAINNET,\n TEST_NET: SuiChainId.SUI_TESTNET\n}\n\nfunction inferNetworkFromUrl(url: string): string {\n if (url.includes('mainnet')) return 'mainnet'\n if (url.includes('testnet')) return 'testnet'\n if (url.includes('devnet')) return 'devnet'\n if (url.includes('localnet') || url.includes('127.0.0.1') || url.includes('localhost')) return 'localnet'\n return 'custom'\n}\n\nfunction rpcFor(network: SuiNetwork): ChainRpc {\n return Endpoints.INSTANCE.chainRpc.get(network) ?? { url: getRpcEndpoint(network) }\n}\n\n// gRPC client used for the MoveCoder, generated view functions, and exposed to\n// processor handlers via `ctx.client`. @typemove/sui v2 is gRPC-only.\nexport function getClient(network: SuiNetwork): SuiGrpcClient {\n const { url, headers } = rpcFor(network)\n // Chain-config headers (e.g. the X-Forwarded-Host routing key the rpc-node\n // proxy reads) must be sent on every request. SuiGrpcClient drops its `meta`\n // option and its `fetchInit` can't carry headers, so we build the transport\n // ourselves.\n const transport = new GrpcWebFetchTransport({\n baseUrl: url,\n // GrpcWebFetchTransport defaults to the grpc-web-text (base64) format, which\n // our rpc-node/super-node proxy rejects with 415. We run under Node, whose\n // fetch handles binary streams fine, so use the binary format\n // (application/grpc-web+proto) the proxy supports.\n format: 'binary',\n // GrpcWebFetchTransport has no `headers` option: gRPC models per-request\n // headers as `meta` (metadata), which the grpc-web transport then serializes\n // as HTTP request headers on the wire. So our HTTP headers go in `meta`.\n meta: headers\n })\n return new SuiGrpcClient({ network: inferNetworkFromUrl(url) as any, transport })\n}\n\nexport function getRpcEndpoint(network: SuiNetwork): string {\n switch (network) {\n case SuiNetwork.TEST_NET:\n return 'https://fullnode.testnet.sui.io:443'\n }\n return 'https://fullnode.mainnet.sui.io:443'\n}\n","import { BaseCoinInfo } from '../../move/ext/index.js'\nimport fetch from 'node-fetch'\nimport { accountTypeString, SPLITTER } from '../../move/index.js'\nimport { getPriceByType } from '../../utils/index.js'\nimport { SuiChainId } from '@sentio/chain'\n// import { validateAndNormalizeAddress } from '../utils.js'\nimport { getClient, SuiNetwork } from '../network.js'\nimport type { SuiClientTypes } from '@mysten/sui/client'\n\ntype CoinMetadata = SuiClientTypes.CoinMetadata\n\nconst WHITELISTED_COINS = new Map<string, BaseCoinInfo>()\n\nlet initiated = false\nexport async function initCoinList() {\n if (initiated) {\n return\n }\n let list = DEFAULT_LIST.coinlist\n try {\n const resp = await fetch('https://raw.githubusercontent.com/solflare-wallet/sui-coinlist/master/sui-coinlist.json')\n list = ((await resp.json()) as any).coinlist\n } catch (e) {\n console.warn(\"Can't not fetch newest coin list, use default list\")\n }\n\n setCoinList(list)\n initiated = true\n}\n\nexport interface SuiCoinInfo {\n network: string\n address: string\n symbol: string\n name: string\n decimals: number\n}\n\nfunction setCoinList(list: SuiCoinInfo[]) {\n for (const info of list) {\n if (info.address.startsWith('0x2::coin::Coin')) {\n continue\n }\n if (info.network !== 'mainnet') {\n continue\n }\n let bridge = 'native'\n if (info.name.includes('Celer')) {\n bridge = 'Celer'\n }\n if (info.name.includes('LayerZero')) {\n bridge = 'LayerZero'\n }\n if (info.name.includes('Wormhole')) {\n bridge = 'Wormhole'\n }\n WHITELISTED_COINS.set(info.address, {\n type: info.address,\n symbol: info.symbol,\n decimals: info.decimals,\n bridge\n })\n }\n}\n\nexport function whitelistCoins() {\n return WHITELISTED_COINS\n}\n\nexport function whiteListed(coin: string): boolean {\n const [addr, module, type] = coin.split(SPLITTER)\n const normalized = [accountTypeString(addr), module, type].join(SPLITTER)\n return WHITELISTED_COINS.has(normalized)\n}\n\nexport function getCoinInfo(type: string): BaseCoinInfo {\n const r = WHITELISTED_COINS.get(type)\n if (!r) {\n const parts = type.split('::')\n // TDDO retrive from network\n return {\n type,\n symbol: parts[2],\n decimals: 8,\n bridge: 'native'\n }\n }\n return r\n}\n\nconst COIN_METADATA_CACHE = new Map<string, Promise<CoinMetadata | null>>()\n\nexport async function getCoinInfoWithFallback(type: string, network?: SuiNetwork): Promise<BaseCoinInfo> {\n const r = WHITELISTED_COINS.get(type)\n if (!r) {\n network = network || SuiChainId.SUI_MAINNET\n const key = network + '_' + type\n let promise = COIN_METADATA_CACHE.get(key)\n if (!promise) {\n const client = getClient(network)\n promise = client.getCoinMetadata({ coinType: type }).then((r) => r.coinMetadata)\n COIN_METADATA_CACHE.set(key, promise)\n }\n const meta = await promise\n if (meta === null) {\n throw Error('Coin not existed ' + key)\n }\n\n const parts = type.split(SPLITTER)\n return {\n type,\n symbol: meta.symbol,\n decimals: meta.decimals,\n bridge: 'native'\n }\n }\n return r\n}\n\nexport async function getPrice(coinType: string, timestamp: number): Promise<number> {\n if (!whiteListed(coinType)) {\n return 0.0\n }\n const date = new Date(timestamp / 1000)\n try {\n return (await getPriceByType(SuiChainId.SUI_MAINNET, coinType, date)) || 0\n } catch (error) {\n console.log(JSON.stringify(error))\n throw error\n }\n}\n\nexport async function calculateValueInUsd(n: bigint, coinInfo: BaseCoinInfo, timestamp: number) {\n const price = await getPrice(coinInfo.type, timestamp)\n const amount = n.scaleDown(coinInfo.decimals)\n return amount.multipliedBy(price)\n}\n\nconst DEFAULT_LIST = {\n name: 'Sui Coin List',\n timestamp: '2022-12-01T13:34:30.145Z',\n logoURI: 'https://s2.coinmarketcap.com/static/img/coins/128x128/20947.png',\n coinlist: [\n {\n network: 'mainnet',\n address: '0x2::coin::Coin<0x2::sui::SUI>',\n symbol: 'SUI',\n name: 'Sui Coin',\n decimals: 9,\n logoURI: 'https://cryptototem.com/wp-content/uploads/2022/08/SUI-logo.jpg',\n tags: [],\n extensions: {\n coingeckoId: 'sui'\n }\n },\n {\n network: 'testnet',\n address: '0x2::coin::Coin<0x2::sui::SUI>',\n symbol: 'SUI',\n name: 'Sui Coin',\n decimals: 9,\n logoURI: 'https://cryptototem.com/wp-content/uploads/2022/08/SUI-logo.jpg',\n tags: [],\n extensions: {\n coingeckoId: 'sui'\n }\n },\n {\n network: 'devnet',\n address: '0x2::coin::Coin<0x2::sui::SUI>',\n symbol: 'SUI',\n name: 'Sui Coin',\n decimals: 9,\n logoURI: 'https://cryptototem.com/wp-content/uploads/2022/08/SUI-logo.jpg',\n tags: [],\n extensions: {\n coingeckoId: 'sui'\n }\n },\n {\n network: 'mainnet',\n address: '0x2::sui::SUI',\n symbol: 'SUI',\n name: 'Sui Coin',\n decimals: 9,\n logoURI: 'https://cryptototem.com/wp-content/uploads/2022/08/SUI-logo.jpg',\n tags: [],\n extensions: {\n coingeckoId: 'sui'\n }\n },\n {\n network: 'testnet',\n address: '0x2::sui::SUI',\n symbol: 'SUI',\n name: 'Sui Coin',\n decimals: 9,\n logoURI: 'https://cryptototem.com/wp-content/uploads/2022/08/SUI-logo.jpg',\n tags: [],\n extensions: {\n coingeckoId: 'sui'\n }\n },\n {\n network: 'devnet',\n address: '0x2::sui::SUI',\n symbol: 'SUI',\n name: 'Sui Coin',\n decimals: 9,\n logoURI: 'https://cryptototem.com/wp-content/uploads/2022/08/SUI-logo.jpg',\n tags: [],\n extensions: {\n coingeckoId: 'sui'\n }\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestTEST',\n symbol: 'TEST',\n name: 'Test Token',\n logoURI: 'https://suiswap.app/images/token/suiswap-test.svg',\n tags: [],\n decimals: 8,\n extensions: {}\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestUSDT',\n symbol: 'USDT',\n name: 'Tether',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/BQcdHdAQW1hczDbBi9hiegXAR7A98Q9jx3X3iBBBDiq4/logo.png',\n tags: [],\n decimals: 8,\n extensions: {\n coingeckoId: 'tether'\n }\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestUSDC',\n symbol: 'USDC',\n name: 'USD Coin',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/logo.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'usd-coin'\n }\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestSOL',\n symbol: 'SOL',\n name: 'Solana',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/So11111111111111111111111111111111111111112/logo.png',\n decimals: 8,\n extensions: {\n coingeckoId: 'solana'\n }\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestBTC',\n symbol: 'BTC',\n name: 'Bitcoin',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E/logo.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'bitcoin'\n }\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestDAI',\n symbol: 'DAI',\n name: 'DAI',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/FYpdBuyAHSbdaAyD1sKkxyLWbAP8uUW9h6uvdhK74ij1/logo.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'dai'\n }\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestBNB',\n symbol: 'BNB',\n name: 'BNB',\n logoURI: 'https://assets.coingecko.com/coins/images/825/large/bnb-icon2_2x.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'binancecoin'\n }\n },\n {\n network: 'testnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestETH',\n symbol: 'ETH',\n name: 'Ethereum',\n logoURI: 'https://assets.coingecko.com/coins/images/279/large/ethereum.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'ethereum'\n }\n },\n {\n network: 'testnet',\n address: '0x31b14985adb91360ed90a5786cb0956c83e7f275a8ae6123f38adab9d2b792b1::usdc::USDC',\n symbol: 'USDC',\n name: 'USD Coin',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/logo.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'usd-coin'\n }\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestTEST',\n symbol: 'TEST',\n name: 'Test Token',\n logoURI: 'https://suiswap.app/images/token/suiswap-test.svg',\n tags: [],\n decimals: 8,\n extensions: {}\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestUSDT',\n symbol: 'USDT',\n name: 'Tether',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/BQcdHdAQW1hczDbBi9hiegXAR7A98Q9jx3X3iBBBDiq4/logo.png',\n tags: [],\n decimals: 8,\n extensions: {\n coingeckoId: 'tether'\n }\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestUSDC',\n symbol: 'USDC',\n name: 'USD Coin',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/logo.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'usd-coin'\n }\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestSOL',\n symbol: 'SOL',\n name: 'Solana',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/So11111111111111111111111111111111111111112/logo.png',\n decimals: 8,\n extensions: {\n coingeckoId: 'solana'\n }\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestBTC',\n symbol: 'BTC',\n name: 'Bitcoin',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E/logo.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'bitcoin'\n }\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestDAI',\n symbol: 'DAI',\n name: 'DAI',\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/FYpdBuyAHSbdaAyD1sKkxyLWbAP8uUW9h6uvdhK74ij1/logo.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'dai'\n }\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestBNB',\n symbol: 'BNB',\n name: 'BNB',\n logoURI: 'https://assets.coingecko.com/coins/images/825/large/bnb-icon2_2x.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'binancecoin'\n }\n },\n {\n network: 'devnet',\n address: '0xe158e6df182971bb6c85eb9de9fbfb460b68163d19afc45873c8672b5cc521b2::TOKEN::TestETH',\n symbol: 'ETH',\n name: 'Ethereum',\n logoURI: 'https://assets.coingecko.com/coins/images/279/large/ethereum.png',\n decimals: 8,\n tags: [],\n extensions: {\n coingeckoId: 'ethereum'\n }\n },\n {\n network: 'mainnet',\n address: '0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN',\n symbol: 'wETH',\n name: 'Wrapped Ethereum (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/279/large/ethereum.png',\n tags: [],\n extensions: {\n coingeckoId: 'ethereum'\n }\n },\n {\n network: 'mainnet',\n address: '0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN',\n symbol: 'wUSDT',\n name: 'Tether (Wormhole)',\n decimals: 6,\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/BQcdHdAQW1hczDbBi9hiegXAR7A98Q9jx3X3iBBBDiq4/logo.png',\n tags: [],\n extensions: {\n coingeckoId: 'tether'\n }\n },\n {\n network: 'mainnet',\n address: '0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN',\n symbol: 'wUSDC',\n name: 'USD Coin (Wormhole)',\n decimals: 6,\n logoURI:\n 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/logo.png',\n tags: [],\n extensions: {\n coingeckoId: 'usd-coin'\n }\n },\n {\n network: 'mainnet',\n address: '0xa198f3be41cda8c07b3bf3fee02263526e535d682499806979a111e88a5a8d0f::coin::COIN',\n symbol: 'wCELO',\n name: 'Celo (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',\n tags: [],\n extensions: {\n coingeckoId: 'celo'\n }\n },\n {\n network: 'mainnet',\n address: '0xdbe380b13a6d0f5cdedd58de8f04625263f113b3f9db32b3e1983f49e2841676::coin::COIN',\n symbol: 'wMATIC',\n name: 'Wrapped Matic (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png',\n tags: [],\n extensions: {\n coingeckoId: 'matic-network'\n }\n },\n {\n network: 'mainnet',\n address: '0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN',\n symbol: 'wBNB',\n name: 'Wrapped BNB (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/825/large/bnb-icon2_2x.png',\n tags: [],\n extensions: {\n coingeckoId: 'binancecoin'\n }\n },\n {\n network: 'mainnet',\n address: '0x027792d9fed7f9844eb4839566001bb6f6cb4804f66aa2da6fe1ee242d896881::coin::COIN',\n symbol: 'wBTC',\n name: 'Wrapped Bitcoin (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/1/large/bitcoin.png',\n tags: [],\n extensions: {\n coingeckoId: 'bitcoin'\n }\n },\n {\n network: 'mainnet',\n address: '0x1e8b532cca6569cab9f9b9ebc73f8c13885012ade714729aa3b450e0339ac766::coin::COIN',\n symbol: 'wAVAX',\n name: 'Wrapped AVAX (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/12559/large/Avalanche_Circle_RedWhite_Trans.png',\n tags: [],\n extensions: {\n coingeckoId: 'avalanche-2'\n }\n },\n {\n network: 'mainnet',\n address: '0x6081300950a4f1e2081580e919c210436a1bed49080502834950d31ee55a2396::coin::COIN',\n symbol: 'wFTM',\n name: 'Wrapped Fantom (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/4001/large/Fantom_round.png',\n tags: [],\n extensions: {\n coingeckoId: 'fantom'\n }\n },\n {\n network: 'mainnet',\n address: '0x66f87084e49c38f76502d17f87d17f943f183bb94117561eb573e075fdc5ff75::coin::COIN',\n symbol: 'wGLMR',\n name: 'Wrapped GLMR (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/22459/large/glmr.png',\n tags: [],\n extensions: {\n coingeckoId: 'moonbeam'\n }\n },\n {\n network: 'mainnet',\n address: '0xb7844e289a8410e50fb3ca48d69eb9cf29e27d223ef90353fe1bd8e27ff8f3f8::coin::COIN',\n symbol: 'wSOL',\n name: 'Wrapped Solana (Wormhole)',\n decimals: 8,\n logoURI: 'https://assets.coingecko.com/coins/images/4128/large/solana.png',\n tags: [],\n extensions: {\n coingeckoId: 'solana'\n }\n },\n {\n network: 'mainnet',\n address: '0xb231fcda8bbddb31f2ef02e6161444aec64a514e2c89279584ac9806ce9cf037::coin::COIN',\n symbol: 'wUSDCsol',\n name: 'USD Coin Solana (Wormhole)',\n decimals: 6,\n logoURI: 'https://assets.coingecko.com/coins/images/6319/large/USD_Coin_icon.png',\n tags: [],\n extensions: {\n coingeckoId: 'usd-coin'\n }\n }\n ]\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"mappings":";;;;;;;;;;AACA,MAAM,oBAAoB;AAC1B,MAAM,sBAAsB;AAC5B,MAAM,yBAAyB;AAC/B,SAAS,iBAAiB,MAAM;CAC/B,IAAI,KAAK,SAAS,wBAAwB,OAAO;CACjD,IAAI,KAAK,SAAS,GAAG,GAAG,OAAO,kBAAkB,KAAK,IAAI;CAC1D,OAAO,oBAAoB,KAAK,IAAI;AACrC;;;;;ACHA,MAAM,eAAe;;AAErB,MAAM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GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SAAS;GACT,MAAM,CAAC;GACP,UAAU;GACV,YAAY,CAAC;EACf;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,MAAM,CAAC;GACP,UAAU;GACV,YAAY,EACV,aAAa,SACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,YAAY,EACV,aAAa,SACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,UACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SAAS;GACT,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,cACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SAAS;GACT,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SAAS;GACT,MAAM,CAAC;GACP,UAAU;GACV,YAAY,CAAC;EACf;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,MAAM,CAAC;GACP,UAAU;GACV,YAAY,EACV,aAAa,SACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,YAAY,EACV,aAAa,SACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,UACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SACE;GACF,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,MACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SAAS;GACT,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,cACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,SAAS;GACT,UAAU;GACV,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SACE;GACF,MAAM,CAAC;GACP,YAAY,EACV,aAAa,SACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SACE;GACF,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,OACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,gBACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,cACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,UACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,cACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,SACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,SACf;EACF;EACA;GACE,SAAS;GACT,SAAS;GACT,QAAQ;GACR,MAAM;GACN,UAAU;GACV,SAAS;GACT,MAAM,CAAC;GACP,YAAY,EACV,aAAa,WACf;EACF;CACF;AACF"}