@mysten/sui 1.40.0 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/cjs/client/index.d.ts +4 -4
- package/dist/cjs/client/index.js +6 -6
- package/dist/cjs/client/index.js.map +1 -1
- package/dist/cjs/experimental/core.js +1 -1
- package/dist/cjs/experimental/core.js.map +2 -2
- package/dist/cjs/faucet/faucet.d.ts +3 -3
- package/dist/cjs/faucet/faucet.js +1 -1
- package/dist/cjs/faucet/faucet.js.map +2 -2
- package/dist/cjs/graphql/client.d.ts +2 -2
- package/dist/cjs/graphql/client.js +2 -2
- package/dist/cjs/graphql/client.js.map +3 -3
- package/dist/cjs/{experimental/transports/graphql.d.ts → graphql/core.d.ts} +4 -4
- package/dist/cjs/{experimental/transports/graphql.js → graphql/core.js} +28 -28
- package/dist/cjs/graphql/core.js.map +7 -0
- package/dist/cjs/grpc/client.d.ts +31 -0
- package/dist/cjs/grpc/client.js +51 -0
- package/dist/cjs/grpc/client.js.map +7 -0
- package/dist/cjs/grpc/core.d.ts +27 -0
- package/dist/cjs/grpc/core.js +639 -0
- package/dist/cjs/grpc/core.js.map +7 -0
- package/dist/cjs/grpc/index.d.ts +4 -0
- package/dist/cjs/grpc/index.js +27 -0
- package/dist/cjs/grpc/index.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +173 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.js +139 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +104 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.js +92 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +25 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.js +31 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +231 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +72 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +169 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.js +187 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +145 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +120 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +7 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +525 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.js +303 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +7 -0
- package/dist/cjs/grpc/proto/google/rpc/status.d.ts +46 -0
- package/dist/cjs/grpc/proto/google/rpc/status.js +48 -0
- package/dist/cjs/grpc/proto/google/rpc/status.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +66 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +65 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +34 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js +56 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +30 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js +48 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +68 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +59 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +74 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +77 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +195 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +143 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +338 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +248 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +62 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +77 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.d.ts +17 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js +30 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +88 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +86 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +80 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +63 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +843 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +455 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +41 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +68 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +98 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +85 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +88 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +95 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +85 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +420 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +306 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +579 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +374 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +61 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +62 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +229 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +216 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +41 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +48 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +144 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +127 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +127 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +117 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +34 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +57 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +61 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +60 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +30 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +51 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +630 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +458 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +40 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js +34 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +35 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +43 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +79 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +75 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +69 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +690 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +500 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +55 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +53 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +57 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +58 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +684 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +707 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +1321 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +792 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +41 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +48 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +113 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
- package/dist/cjs/{client → jsonRpc}/client.d.ts +12 -12
- package/dist/cjs/{client → jsonRpc}/client.js +9 -9
- package/dist/cjs/jsonRpc/client.js.map +7 -0
- package/dist/cjs/{experimental/transports/jsonRPC.d.ts → jsonRpc/core.d.ts} +7 -7
- package/dist/cjs/{experimental/transports/jsonRPC.js → jsonRpc/core.js} +18 -18
- package/dist/cjs/jsonRpc/core.js.map +7 -0
- package/dist/cjs/{client → jsonRpc}/errors.js.map +1 -1
- package/dist/{esm/client → cjs/jsonRpc}/http-transport.d.ts +10 -10
- package/dist/cjs/{client → jsonRpc}/http-transport.js +6 -6
- package/dist/cjs/jsonRpc/http-transport.js.map +7 -0
- package/dist/cjs/jsonRpc/index.d.ts +4 -0
- package/dist/cjs/jsonRpc/index.js +32 -0
- package/dist/cjs/jsonRpc/index.js.map +7 -0
- package/dist/cjs/jsonRpc/json-rpc-resolver.d.ts +4 -0
- package/dist/cjs/{experimental/transports → jsonRpc}/json-rpc-resolver.js +6 -6
- package/dist/cjs/jsonRpc/json-rpc-resolver.js.map +7 -0
- package/dist/cjs/{client → jsonRpc}/rpc-websocket-client.js.map +1 -1
- package/dist/cjs/{client → jsonRpc}/types/chain.js.map +1 -1
- package/dist/cjs/{client → jsonRpc}/types/changes.js.map +1 -1
- package/dist/cjs/{client → jsonRpc}/types/coins.js.map +1 -1
- package/dist/cjs/{client → jsonRpc}/types/common.js.map +1 -1
- package/dist/cjs/{client → jsonRpc}/types/generated.js.map +1 -1
- package/dist/cjs/{client → jsonRpc}/types/index.js.map +1 -1
- package/dist/cjs/{client → jsonRpc}/types/params.js.map +1 -1
- package/dist/cjs/multisig/signer.d.ts +1 -0
- package/dist/cjs/multisig/signer.js +1 -0
- package/dist/cjs/multisig/signer.js.map +2 -2
- package/dist/cjs/transactions/ObjectCache.js +1 -1
- package/dist/cjs/transactions/ObjectCache.js.map +2 -2
- package/dist/cjs/transactions/Transaction.js +2 -2
- package/dist/cjs/transactions/Transaction.js.map +2 -2
- package/dist/cjs/transactions/resolve.js +2 -2
- package/dist/cjs/transactions/resolve.js.map +2 -2
- package/dist/cjs/utils/sui-types.js +1 -1
- package/dist/cjs/utils/sui-types.js.map +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/zklogin/jwt-decode.js +1 -1
- package/dist/cjs/zklogin/jwt-decode.js.map +2 -2
- package/dist/esm/client/index.d.ts +4 -4
- package/dist/esm/client/index.js +9 -9
- package/dist/esm/client/index.js.map +2 -2
- package/dist/esm/experimental/core.js +1 -1
- package/dist/esm/experimental/core.js.map +2 -2
- package/dist/esm/faucet/faucet.d.ts +3 -3
- package/dist/esm/faucet/faucet.js +1 -1
- package/dist/esm/faucet/faucet.js.map +2 -2
- package/dist/esm/graphql/client.d.ts +2 -2
- package/dist/esm/graphql/client.js +2 -2
- package/dist/esm/graphql/client.js.map +2 -2
- package/dist/esm/{experimental/transports/graphql.d.ts → graphql/core.d.ts} +4 -4
- package/dist/esm/{experimental/transports/graphql.js → graphql/core.js} +28 -25
- package/dist/esm/graphql/core.js.map +7 -0
- package/dist/esm/grpc/client.d.ts +31 -0
- package/dist/esm/grpc/client.js +31 -0
- package/dist/esm/grpc/client.js.map +7 -0
- package/dist/esm/grpc/core.d.ts +27 -0
- package/dist/esm/grpc/core.js +628 -0
- package/dist/esm/grpc/core.js.map +7 -0
- package/dist/esm/grpc/index.d.ts +4 -0
- package/dist/esm/grpc/index.js +7 -0
- package/dist/esm/grpc/index.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/any.d.ts +173 -0
- package/dist/esm/grpc/proto/google/protobuf/any.js +119 -0
- package/dist/esm/grpc/proto/google/protobuf/any.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +104 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.js +72 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +25 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.js +11 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +231 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js +52 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +169 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.js +167 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +145 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js +100 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +7 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +525 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.js +283 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.js.map +7 -0
- package/dist/esm/grpc/proto/google/rpc/status.d.ts +46 -0
- package/dist/esm/grpc/proto/google/rpc/status.js +28 -0
- package/dist/esm/grpc/proto/google/rpc/status.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +66 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +45 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +34 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js +36 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +30 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js +28 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +68 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +39 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +74 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +57 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +195 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +123 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +338 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +228 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +62 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +57 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.d.ts +17 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js +10 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +88 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js +66 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +80 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +43 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +843 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +435 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +41 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +48 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +98 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js +65 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +68 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +95 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +65 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +420 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +286 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +579 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +354 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +61 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +42 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +229 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +196 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +41 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +28 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +144 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +107 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +127 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js +97 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +34 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +37 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +61 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +40 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +30 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +31 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +630 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +438 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +40 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js +14 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +35 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +23 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +79 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +55 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +49 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +690 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +480 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +55 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +33 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +57 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +38 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +684 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +687 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +1321 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +772 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +41 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +28 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +93 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
- package/dist/esm/{client → jsonRpc}/client.d.ts +12 -12
- package/dist/esm/{client → jsonRpc}/client.js +10 -10
- package/dist/esm/jsonRpc/client.js.map +7 -0
- package/dist/esm/{experimental/transports/jsonRPC.d.ts → jsonRpc/core.d.ts} +7 -7
- package/dist/esm/{experimental/transports/jsonRPC.js → jsonRpc/core.js} +12 -12
- package/dist/esm/jsonRpc/core.js.map +7 -0
- package/dist/esm/{client → jsonRpc}/errors.js.map +1 -1
- package/dist/{cjs/client → esm/jsonRpc}/http-transport.d.ts +10 -10
- package/dist/esm/{client → jsonRpc}/http-transport.js +6 -6
- package/dist/esm/jsonRpc/http-transport.js.map +7 -0
- package/dist/esm/jsonRpc/index.d.ts +4 -0
- package/dist/esm/jsonRpc/index.js +17 -0
- package/dist/esm/jsonRpc/index.js.map +7 -0
- package/dist/esm/jsonRpc/json-rpc-resolver.d.ts +4 -0
- package/dist/esm/{experimental/transports → jsonRpc}/json-rpc-resolver.js +6 -6
- package/dist/esm/jsonRpc/json-rpc-resolver.js.map +7 -0
- package/dist/esm/{client → jsonRpc}/rpc-websocket-client.js.map +1 -1
- package/dist/esm/multisig/signer.d.ts +1 -0
- package/dist/esm/multisig/signer.js +1 -0
- package/dist/esm/multisig/signer.js.map +2 -2
- package/dist/esm/transactions/ObjectCache.js +1 -1
- package/dist/esm/transactions/ObjectCache.js.map +2 -2
- package/dist/esm/transactions/Transaction.js +2 -2
- package/dist/esm/transactions/Transaction.js.map +2 -2
- package/dist/esm/transactions/resolve.js +2 -2
- package/dist/esm/transactions/resolve.js.map +2 -2
- package/dist/esm/utils/sui-types.js +1 -1
- package/dist/esm/utils/sui-types.js.map +2 -2
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/zklogin/jwt-decode.js +1 -1
- package/dist/esm/zklogin/jwt-decode.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/grpc/package.json +6 -0
- package/jsonRpc/package.json +6 -0
- package/package.json +20 -3
- package/src/client/index.ts +12 -12
- package/src/experimental/core.ts +1 -1
- package/src/faucet/faucet.ts +4 -4
- package/src/graphql/client.ts +3 -3
- package/src/{experimental/transports/graphql.ts → graphql/core.ts} +14 -11
- package/src/grpc/client.ts +59 -0
- package/src/grpc/core.ts +721 -0
- package/src/grpc/index.ts +7 -0
- package/src/grpc/proto/google/protobuf/any.ts +281 -0
- package/src/grpc/proto/google/protobuf/duration.ts +184 -0
- package/src/grpc/proto/google/protobuf/empty.ts +65 -0
- package/src/grpc/proto/google/protobuf/field_mask.ts +297 -0
- package/src/grpc/proto/google/protobuf/struct.ts +305 -0
- package/src/grpc/proto/google/protobuf/timestamp.ts +239 -0
- package/src/grpc/proto/google/rpc/error_details.ts +631 -0
- package/src/grpc/proto/google/rpc/status.ts +74 -0
- package/src/grpc/proto/sui/rpc/v2/argument.ts +84 -0
- package/src/grpc/proto/sui/rpc/v2/balance_change.ts +51 -0
- package/src/grpc/proto/sui/rpc/v2/bcs.ts +46 -0
- package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +89 -0
- package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +99 -0
- package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +234 -0
- package/src/grpc/proto/sui/rpc/v2/effects.ts +391 -0
- package/src/grpc/proto/sui/rpc/v2/epoch.ts +85 -0
- package/src/grpc/proto/sui/rpc/v2/error_reason.ts +28 -0
- package/src/grpc/proto/sui/rpc/v2/event.ts +115 -0
- package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +103 -0
- package/src/grpc/proto/sui/rpc/v2/execution_status.ts +946 -0
- package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +59 -0
- package/src/grpc/proto/sui/rpc/v2/input.ts +119 -0
- package/src/grpc/proto/sui/rpc/v2/jwk.ts +94 -0
- package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +127 -0
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +533 -0
- package/src/grpc/proto/sui/rpc/v2/move_package.ts +678 -0
- package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +84 -0
- package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +297 -0
- package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +58 -0
- package/src/grpc/proto/sui/rpc/v2/name_service.ts +187 -0
- package/src/grpc/proto/sui/rpc/v2/object.ts +159 -0
- package/src/grpc/proto/sui/rpc/v2/object_reference.ts +51 -0
- package/src/grpc/proto/sui/rpc/v2/owner.ts +78 -0
- package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +47 -0
- package/src/grpc/proto/sui/rpc/v2/signature.ts +771 -0
- package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +51 -0
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +49 -0
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +105 -0
- package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +97 -0
- package/src/grpc/proto/sui/rpc/v2/state_service.ts +820 -0
- package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +69 -0
- package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +80 -0
- package/src/grpc/proto/sui/rpc/v2/system_state.ts +818 -0
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +1549 -0
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +58 -0
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +236 -0
- package/src/{client → jsonRpc}/client.ts +21 -16
- package/src/{experimental/transports/jsonRPC.ts → jsonRpc/core.ts} +15 -15
- package/src/{client → jsonRpc}/http-transport.ts +13 -11
- package/src/jsonRpc/index.ts +20 -0
- package/src/{experimental/transports → jsonRpc}/json-rpc-resolver.ts +17 -14
- package/src/multisig/signer.ts +1 -0
- package/src/transactions/ObjectCache.ts +1 -1
- package/src/transactions/Transaction.ts +2 -2
- package/src/transactions/resolve.ts +3 -3
- package/src/utils/sui-types.ts +1 -1
- package/src/version.ts +1 -1
- package/src/zklogin/jwt-decode.ts +2 -1
- package/dist/cjs/client/client.js.map +0 -7
- package/dist/cjs/client/http-transport.js.map +0 -7
- package/dist/cjs/experimental/transports/graphql.js.map +0 -7
- package/dist/cjs/experimental/transports/json-rpc-resolver.d.ts +0 -4
- package/dist/cjs/experimental/transports/json-rpc-resolver.js.map +0 -7
- package/dist/cjs/experimental/transports/jsonRPC.js.map +0 -7
- package/dist/esm/client/client.js.map +0 -7
- package/dist/esm/client/http-transport.js.map +0 -7
- package/dist/esm/experimental/transports/graphql.js.map +0 -7
- package/dist/esm/experimental/transports/json-rpc-resolver.d.ts +0 -4
- package/dist/esm/experimental/transports/json-rpc-resolver.js.map +0 -7
- package/dist/esm/experimental/transports/jsonRPC.js.map +0 -7
- /package/dist/cjs/{client → jsonRpc}/errors.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/errors.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/rpc-websocket-client.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/rpc-websocket-client.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/chain.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/chain.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/changes.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/changes.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/coins.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/coins.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/common.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/common.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/generated.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/generated.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/index.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/index.js +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/params.d.ts +0 -0
- /package/dist/cjs/{client → jsonRpc}/types/params.js +0 -0
- /package/dist/esm/{client → jsonRpc}/errors.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/errors.js +0 -0
- /package/dist/esm/{client → jsonRpc}/rpc-websocket-client.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/rpc-websocket-client.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/chain.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/types/chain.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/chain.js.map +0 -0
- /package/dist/esm/{client → jsonRpc}/types/changes.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/types/changes.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/changes.js.map +0 -0
- /package/dist/esm/{client → jsonRpc}/types/coins.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/types/coins.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/coins.js.map +0 -0
- /package/dist/esm/{client → jsonRpc}/types/common.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/types/common.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/common.js.map +0 -0
- /package/dist/esm/{client → jsonRpc}/types/generated.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/types/generated.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/generated.js.map +0 -0
- /package/dist/esm/{client → jsonRpc}/types/index.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/types/index.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/index.js.map +0 -0
- /package/dist/esm/{client → jsonRpc}/types/params.d.ts +0 -0
- /package/dist/esm/{client → jsonRpc}/types/params.js +0 -0
- /package/dist/esm/{client → jsonRpc}/types/params.js.map +0 -0
- /package/src/{client → jsonRpc}/errors.ts +0 -0
- /package/src/{client → jsonRpc}/rpc-websocket-client.ts +0 -0
- /package/src/{client → jsonRpc}/types/chain.ts +0 -0
- /package/src/{client → jsonRpc}/types/changes.ts +0 -0
- /package/src/{client → jsonRpc}/types/coins.ts +0 -0
- /package/src/{client → jsonRpc}/types/common.ts +0 -0
- /package/src/{client → jsonRpc}/types/generated.ts +0 -0
- /package/src/{client → jsonRpc}/types/index.ts +0 -0
- /package/src/{client → jsonRpc}/types/params.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/ledger_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Epoch } from \"./epoch\";\nimport { Checkpoint } from \"./checkpoint\";\nimport { ExecutedTransaction } from \"./executed_transaction\";\nimport { Status } from \"../../../google/rpc/status\";\nimport { Object } from \"./object\";\nimport { FieldMask } from \"../../../google/protobuf/field_mask\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n /**\n * The chain identifier of the chain that this node is on.\n *\n * The chain identifier is the digest of the genesis checkpoint, the\n * checkpoint with sequence number 0.\n *\n * @generated from protobuf field: optional string chain_id = 1;\n */\n chainId?: string;\n /**\n * Human-readable name of the chain that this node is on.\n *\n * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n *\n * @generated from protobuf field: optional string chain = 2;\n */\n chain?: string;\n /**\n * Current epoch of the node based on its highest executed checkpoint.\n *\n * @generated from protobuf field: optional uint64 epoch = 3;\n */\n epoch?: bigint;\n /**\n * Checkpoint height of the most recently executed checkpoint.\n *\n * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n */\n checkpointHeight?: bigint;\n /**\n * Unix timestamp of the most recently executed checkpoint.\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n */\n timestamp?: Timestamp;\n /**\n * The lowest checkpoint for which checkpoints and transaction data are available.\n *\n * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n */\n lowestAvailableCheckpoint?: bigint;\n /**\n * The lowest checkpoint for which object data is available.\n *\n * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n */\n lowestAvailableCheckpointObjects?: bigint;\n /**\n * Software version of the service. Similar to the `server` http header.\n *\n * @generated from protobuf field: optional string server = 8;\n */\n server?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n /**\n * Required. The `ObjectId` of the requested object.\n *\n * @generated from protobuf field: optional string object_id = 1;\n */\n objectId?: string;\n /**\n * Request a specific version of the object.\n * If no version is specified, and the object is live, then the latest\n * version of the object is returned.\n *\n * @generated from protobuf field: optional uint64 version = 2;\n */\n version?: bigint;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `object_id,version,digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Object object = 1;\n */\n object?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n /**\n * @generated from protobuf field: repeated sui.rpc.v2.GetObjectRequest requests = 1;\n */\n requests: GetObjectRequest[];\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `object_id,version,digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n /**\n * @generated from protobuf field: repeated sui.rpc.v2.GetObjectResult objects = 1;\n */\n objects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResult\n */\nexport interface GetObjectResult {\n /**\n * @generated from protobuf oneof: result\n */\n result: {\n oneofKind: \"object\";\n /**\n * @generated from protobuf field: sui.rpc.v2.Object object = 1;\n */\n object: Object;\n } | {\n oneofKind: \"error\";\n /**\n * @generated from protobuf field: google.rpc.Status error = 2;\n */\n error: Status;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n /**\n * Required. The digest of the requested transaction.\n *\n * @generated from protobuf field: optional string digest = 1;\n */\n digest?: string;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n */\n transaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n /**\n * Required. The digests of the requested transactions.\n *\n * @generated from protobuf field: repeated string digests = 1;\n */\n digests: string[];\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n /**\n * @generated from protobuf field: repeated sui.rpc.v2.GetTransactionResult transactions = 1;\n */\n transactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n /**\n * @generated from protobuf oneof: result\n */\n result: {\n oneofKind: \"transaction\";\n /**\n * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;\n */\n transaction: ExecutedTransaction;\n } | {\n oneofKind: \"error\";\n /**\n * @generated from protobuf field: google.rpc.Status error = 2;\n */\n error: Status;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n /**\n * @generated from protobuf oneof: checkpoint_id\n */\n checkpointId: {\n oneofKind: \"sequenceNumber\";\n /**\n * The sequence number of the requested checkpoint.\n *\n * @generated from protobuf field: uint64 sequence_number = 1;\n */\n sequenceNumber: bigint;\n } | {\n oneofKind: \"digest\";\n /**\n * The digest of the requested checkpoint.\n *\n * @generated from protobuf field: string digest = 2;\n */\n digest: string;\n } | {\n oneofKind: undefined;\n };\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `sequence_number,digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n */\n checkpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n /**\n * The requested epoch.\n * If no epoch is provided the current epoch will be returned.\n *\n * @generated from protobuf field: optional uint64 epoch = 1;\n */\n epoch?: bigint;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `epoch`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Epoch epoch = 1;\n */\n epoch?: Epoch;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetServiceInfoRequest\", []);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetServiceInfoResponse\", [\n { no: 1, name: \"chain_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"chain\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"checkpoint_height\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"timestamp\", kind: \"message\", T: () => Timestamp },\n { no: 6, name: \"lowest_available_checkpoint\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 7, name: \"lowest_available_checkpoint_objects\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 8, name: \"server\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetObjectRequest\", [\n { no: 1, name: \"object_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetObjectResponse\", [\n { no: 1, name: \"object\", kind: \"message\", T: () => Object }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetObjectsRequest\", [\n { no: 1, name: \"requests\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => GetObjectRequest },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetObjectsResponse\", [\n { no: 1, name: \"objects\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => GetObjectResult }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n constructor() {\n super(\"sui.rpc.v2.GetObjectResult\", [\n { no: 1, name: \"object\", kind: \"message\", oneof: \"result\", T: () => Object },\n { no: 2, name: \"error\", kind: \"message\", oneof: \"result\", T: () => Status }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetTransactionRequest\", [\n { no: 1, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetTransactionResponse\", [\n { no: 1, name: \"transaction\", kind: \"message\", T: () => ExecutedTransaction }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetTransactionsRequest\", [\n { no: 1, name: \"digests\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetTransactionsResponse\", [\n { no: 1, name: \"transactions\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => GetTransactionResult }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n constructor() {\n super(\"sui.rpc.v2.GetTransactionResult\", [\n { no: 1, name: \"transaction\", kind: \"message\", oneof: \"result\", T: () => ExecutedTransaction },\n { no: 2, name: \"error\", kind: \"message\", oneof: \"result\", T: () => Status }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetCheckpointRequest\", [\n { no: 1, name: \"sequence_number\", kind: \"scalar\", oneof: \"checkpointId\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"digest\", kind: \"scalar\", oneof: \"checkpointId\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetCheckpointResponse\", [\n { no: 1, name: \"checkpoint\", kind: \"message\", T: () => Checkpoint }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetEpochRequest\", [\n { no: 1, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetEpochResponse\", [\n { no: 1, name: \"epoch\", kind: \"message\", T: () => Epoch }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n */\nexport const LedgerService = new ServiceType(\"sui.rpc.v2.LedgerService\", [\n { name: \"GetServiceInfo\", options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n { name: \"GetObject\", options: {}, I: GetObjectRequest, O: GetObjectResponse },\n { name: \"BatchGetObjects\", options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n { name: \"GetTransaction\", options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n { name: \"BatchGetTransactions\", options: {}, I: BatchGetTransactionsRequest, O: BatchGetTransactionsResponse },\n { name: \"GetCheckpoint\", options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n { name: \"GetEpoch\", options: {}, I: GetEpochRequest, O: GetEpochResponse }\n]);\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,579 @@
|
|
|
1
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
2
|
+
/**
|
|
3
|
+
* A Move Package
|
|
4
|
+
*
|
|
5
|
+
* @generated from protobuf message sui.rpc.v2.Package
|
|
6
|
+
*/
|
|
7
|
+
export interface Package {
|
|
8
|
+
/**
|
|
9
|
+
* The PackageId of this package
|
|
10
|
+
*
|
|
11
|
+
* A package's `storage_id` is the Sui ObjectId of the package on-chain.
|
|
12
|
+
* Outside of system packages the `storage_id` for every package version is
|
|
13
|
+
* different.
|
|
14
|
+
*
|
|
15
|
+
* @generated from protobuf field: optional string storage_id = 1;
|
|
16
|
+
*/
|
|
17
|
+
storageId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The PackageId of the first published version of this package.
|
|
20
|
+
*
|
|
21
|
+
* A package's `original_id` (sometimes also called its `runtime_id`) is the
|
|
22
|
+
* `storage_id` of the first version of this package that has been published.
|
|
23
|
+
* The `original_id`/`runtime_id` is stable across all versions of the
|
|
24
|
+
* package and does not ever change.
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: optional string original_id = 2;
|
|
27
|
+
*/
|
|
28
|
+
originalId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The version of this package
|
|
31
|
+
*
|
|
32
|
+
* @generated from protobuf field: optional uint64 version = 3;
|
|
33
|
+
*/
|
|
34
|
+
version?: bigint;
|
|
35
|
+
/**
|
|
36
|
+
* The modules defined by this package
|
|
37
|
+
*
|
|
38
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Module modules = 4;
|
|
39
|
+
*/
|
|
40
|
+
modules: Module[];
|
|
41
|
+
/**
|
|
42
|
+
* List of datatype origins for mapping datatypes to a package version where
|
|
43
|
+
* it was first defined
|
|
44
|
+
*
|
|
45
|
+
* @generated from protobuf field: repeated sui.rpc.v2.TypeOrigin type_origins = 5;
|
|
46
|
+
*/
|
|
47
|
+
typeOrigins: TypeOrigin[];
|
|
48
|
+
/**
|
|
49
|
+
* The package's transitive dependencies as a mapping from the package's
|
|
50
|
+
* runtime Id (the Id it is referred to by in other packages) to its
|
|
51
|
+
* storage Id (the Id it is loaded from on chain).
|
|
52
|
+
*
|
|
53
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Linkage linkage = 6;
|
|
54
|
+
*/
|
|
55
|
+
linkage: Linkage[];
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A Move Module.
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf message sui.rpc.v2.Module
|
|
61
|
+
*/
|
|
62
|
+
export interface Module {
|
|
63
|
+
/**
|
|
64
|
+
* Name of this module.
|
|
65
|
+
*
|
|
66
|
+
* @generated from protobuf field: optional string name = 1;
|
|
67
|
+
*/
|
|
68
|
+
name?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Serialized bytecode of the module.
|
|
71
|
+
*
|
|
72
|
+
* @generated from protobuf field: optional bytes contents = 2;
|
|
73
|
+
*/
|
|
74
|
+
contents?: Uint8Array;
|
|
75
|
+
/**
|
|
76
|
+
* List of DataTypes defined by this module.
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf field: repeated sui.rpc.v2.DatatypeDescriptor datatypes = 3;
|
|
79
|
+
*/
|
|
80
|
+
datatypes: DatatypeDescriptor[];
|
|
81
|
+
/**
|
|
82
|
+
* List of Functions defined by this module.
|
|
83
|
+
*
|
|
84
|
+
* @generated from protobuf field: repeated sui.rpc.v2.FunctionDescriptor functions = 4;
|
|
85
|
+
*/
|
|
86
|
+
functions: FunctionDescriptor[];
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Describes a Move Datatype.
|
|
90
|
+
*
|
|
91
|
+
* @generated from protobuf message sui.rpc.v2.DatatypeDescriptor
|
|
92
|
+
*/
|
|
93
|
+
export interface DatatypeDescriptor {
|
|
94
|
+
/**
|
|
95
|
+
* Fully qualified name of this Datatype.
|
|
96
|
+
*
|
|
97
|
+
* This is `<defining_id>::<module>::<name>`
|
|
98
|
+
*
|
|
99
|
+
* @generated from protobuf field: optional string type_name = 1;
|
|
100
|
+
*/
|
|
101
|
+
typeName?: string;
|
|
102
|
+
/**
|
|
103
|
+
* PackageId of the package where this Datatype is defined.
|
|
104
|
+
*
|
|
105
|
+
* A type's `defining_id` is the `storage_id` of the package version that first introduced or added that type.
|
|
106
|
+
*
|
|
107
|
+
* @generated from protobuf field: optional string defining_id = 2;
|
|
108
|
+
*/
|
|
109
|
+
definingId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Name of the module where this Datatype is defined
|
|
112
|
+
*
|
|
113
|
+
* @generated from protobuf field: optional string module = 3;
|
|
114
|
+
*/
|
|
115
|
+
module?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Name of this Datatype
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf field: optional string name = 4;
|
|
120
|
+
*/
|
|
121
|
+
name?: string;
|
|
122
|
+
/**
|
|
123
|
+
* This type's abilities
|
|
124
|
+
*
|
|
125
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Ability abilities = 5;
|
|
126
|
+
*/
|
|
127
|
+
abilities: Ability[];
|
|
128
|
+
/**
|
|
129
|
+
* Ability constraints and phantom status for this type's generic type parameters
|
|
130
|
+
*
|
|
131
|
+
* @generated from protobuf field: repeated sui.rpc.v2.TypeParameter type_parameters = 6;
|
|
132
|
+
*/
|
|
133
|
+
typeParameters: TypeParameter[];
|
|
134
|
+
/**
|
|
135
|
+
* Indicates whether this datatype is a 'STRUCT' or an 'ENUM'
|
|
136
|
+
*
|
|
137
|
+
* @generated from protobuf field: optional sui.rpc.v2.DatatypeDescriptor.DatatypeKind kind = 7;
|
|
138
|
+
*/
|
|
139
|
+
kind?: DatatypeDescriptor_DatatypeKind;
|
|
140
|
+
/**
|
|
141
|
+
* Set of fields if this Datatype is a struct.
|
|
142
|
+
*
|
|
143
|
+
* The order of the entries is the order of how the fields are defined.
|
|
144
|
+
*
|
|
145
|
+
* @generated from protobuf field: repeated sui.rpc.v2.FieldDescriptor fields = 8;
|
|
146
|
+
*/
|
|
147
|
+
fields: FieldDescriptor[];
|
|
148
|
+
/**
|
|
149
|
+
* Set of variants if this Datatype is an enum.
|
|
150
|
+
*
|
|
151
|
+
* The order of the entries is the order of how the variants are defined.
|
|
152
|
+
*
|
|
153
|
+
* @generated from protobuf field: repeated sui.rpc.v2.VariantDescriptor variants = 9;
|
|
154
|
+
*/
|
|
155
|
+
variants: VariantDescriptor[];
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @generated from protobuf enum sui.rpc.v2.DatatypeDescriptor.DatatypeKind
|
|
159
|
+
*/
|
|
160
|
+
export declare enum DatatypeDescriptor_DatatypeKind {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from protobuf enum value: DATATYPE_KIND_UNKNOWN = 0;
|
|
163
|
+
*/
|
|
164
|
+
DATATYPE_KIND_UNKNOWN = 0,
|
|
165
|
+
/**
|
|
166
|
+
* @generated from protobuf enum value: STRUCT = 1;
|
|
167
|
+
*/
|
|
168
|
+
STRUCT = 1,
|
|
169
|
+
/**
|
|
170
|
+
* @generated from protobuf enum value: ENUM = 2;
|
|
171
|
+
*/
|
|
172
|
+
ENUM = 2
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* A generic type parameter used in the declaration of a struct or enum.
|
|
176
|
+
*
|
|
177
|
+
* @generated from protobuf message sui.rpc.v2.TypeParameter
|
|
178
|
+
*/
|
|
179
|
+
export interface TypeParameter {
|
|
180
|
+
/**
|
|
181
|
+
* The type parameter constraints
|
|
182
|
+
*
|
|
183
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Ability constraints = 1;
|
|
184
|
+
*/
|
|
185
|
+
constraints: Ability[];
|
|
186
|
+
/**
|
|
187
|
+
* Whether the parameter is declared as phantom
|
|
188
|
+
*
|
|
189
|
+
* @generated from protobuf field: optional bool is_phantom = 2;
|
|
190
|
+
*/
|
|
191
|
+
isPhantom?: boolean;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Descriptor of a field that belongs to a struct or enum variant
|
|
195
|
+
*
|
|
196
|
+
* @generated from protobuf message sui.rpc.v2.FieldDescriptor
|
|
197
|
+
*/
|
|
198
|
+
export interface FieldDescriptor {
|
|
199
|
+
/**
|
|
200
|
+
* Name of the field
|
|
201
|
+
*
|
|
202
|
+
* @generated from protobuf field: optional string name = 1;
|
|
203
|
+
*/
|
|
204
|
+
name?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Order or position of the field in the struct or enum variant definition.
|
|
207
|
+
*
|
|
208
|
+
* @generated from protobuf field: optional uint32 position = 2;
|
|
209
|
+
*/
|
|
210
|
+
position?: number;
|
|
211
|
+
/**
|
|
212
|
+
* The type of the field
|
|
213
|
+
*
|
|
214
|
+
* @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody type = 3;
|
|
215
|
+
*/
|
|
216
|
+
type?: OpenSignatureBody;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Descriptor of an enum variant
|
|
220
|
+
*
|
|
221
|
+
* @generated from protobuf message sui.rpc.v2.VariantDescriptor
|
|
222
|
+
*/
|
|
223
|
+
export interface VariantDescriptor {
|
|
224
|
+
/**
|
|
225
|
+
* Name of the variant
|
|
226
|
+
*
|
|
227
|
+
* @generated from protobuf field: optional string name = 1;
|
|
228
|
+
*/
|
|
229
|
+
name?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Order or position of the variant in the enum definition.
|
|
232
|
+
*
|
|
233
|
+
* @generated from protobuf field: optional uint32 position = 2;
|
|
234
|
+
*/
|
|
235
|
+
position?: number;
|
|
236
|
+
/**
|
|
237
|
+
* Set of fields defined by this variant.
|
|
238
|
+
*
|
|
239
|
+
* @generated from protobuf field: repeated sui.rpc.v2.FieldDescriptor fields = 3;
|
|
240
|
+
*/
|
|
241
|
+
fields: FieldDescriptor[];
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Representation of a type signature that could appear as a field type for a struct or enum
|
|
245
|
+
*
|
|
246
|
+
* @generated from protobuf message sui.rpc.v2.OpenSignatureBody
|
|
247
|
+
*/
|
|
248
|
+
export interface OpenSignatureBody {
|
|
249
|
+
/**
|
|
250
|
+
* Type of this signature
|
|
251
|
+
*
|
|
252
|
+
* @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody.Type type = 1;
|
|
253
|
+
*/
|
|
254
|
+
type?: OpenSignatureBody_Type;
|
|
255
|
+
/**
|
|
256
|
+
* Fully qualified name of the datatype when `type` is `DATATYPE`
|
|
257
|
+
*
|
|
258
|
+
* @generated from protobuf field: optional string type_name = 2;
|
|
259
|
+
*/
|
|
260
|
+
typeName?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Set when `type` is `VECTOR` or `DATATYPE`
|
|
263
|
+
*
|
|
264
|
+
* @generated from protobuf field: repeated sui.rpc.v2.OpenSignatureBody type_parameter_instantiation = 3;
|
|
265
|
+
*/
|
|
266
|
+
typeParameterInstantiation: OpenSignatureBody[];
|
|
267
|
+
/**
|
|
268
|
+
* Position of the type parameter as defined in the containing data type descriptor when `type` is `TYPE_PARAMETER`
|
|
269
|
+
*
|
|
270
|
+
* @generated from protobuf field: optional uint32 type_parameter = 4;
|
|
271
|
+
*/
|
|
272
|
+
typeParameter?: number;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* @generated from protobuf enum sui.rpc.v2.OpenSignatureBody.Type
|
|
276
|
+
*/
|
|
277
|
+
export declare enum OpenSignatureBody_Type {
|
|
278
|
+
/**
|
|
279
|
+
* @generated from protobuf enum value: TYPE_UNKNOWN = 0;
|
|
280
|
+
*/
|
|
281
|
+
TYPE_UNKNOWN = 0,
|
|
282
|
+
/**
|
|
283
|
+
* @generated from protobuf enum value: ADDRESS = 1;
|
|
284
|
+
*/
|
|
285
|
+
ADDRESS = 1,
|
|
286
|
+
/**
|
|
287
|
+
* @generated from protobuf enum value: BOOL = 2;
|
|
288
|
+
*/
|
|
289
|
+
BOOL = 2,
|
|
290
|
+
/**
|
|
291
|
+
* @generated from protobuf enum value: U8 = 3;
|
|
292
|
+
*/
|
|
293
|
+
U8 = 3,
|
|
294
|
+
/**
|
|
295
|
+
* @generated from protobuf enum value: U16 = 4;
|
|
296
|
+
*/
|
|
297
|
+
U16 = 4,
|
|
298
|
+
/**
|
|
299
|
+
* @generated from protobuf enum value: U32 = 5;
|
|
300
|
+
*/
|
|
301
|
+
U32 = 5,
|
|
302
|
+
/**
|
|
303
|
+
* @generated from protobuf enum value: U64 = 6;
|
|
304
|
+
*/
|
|
305
|
+
U64 = 6,
|
|
306
|
+
/**
|
|
307
|
+
* @generated from protobuf enum value: U128 = 7;
|
|
308
|
+
*/
|
|
309
|
+
U128 = 7,
|
|
310
|
+
/**
|
|
311
|
+
* @generated from protobuf enum value: U256 = 8;
|
|
312
|
+
*/
|
|
313
|
+
U256 = 8,
|
|
314
|
+
/**
|
|
315
|
+
* @generated from protobuf enum value: VECTOR = 9;
|
|
316
|
+
*/
|
|
317
|
+
VECTOR = 9,
|
|
318
|
+
/**
|
|
319
|
+
* @generated from protobuf enum value: DATATYPE = 10;
|
|
320
|
+
*/
|
|
321
|
+
DATATYPE = 10,
|
|
322
|
+
/**
|
|
323
|
+
* @generated from protobuf enum value: TYPE_PARAMETER = 11;
|
|
324
|
+
*/
|
|
325
|
+
TYPE_PARAMETER = 11
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Descriptor of a Move function
|
|
329
|
+
*
|
|
330
|
+
* @generated from protobuf message sui.rpc.v2.FunctionDescriptor
|
|
331
|
+
*/
|
|
332
|
+
export interface FunctionDescriptor {
|
|
333
|
+
/**
|
|
334
|
+
* Name of the function
|
|
335
|
+
*
|
|
336
|
+
* @generated from protobuf field: optional string name = 1;
|
|
337
|
+
*/
|
|
338
|
+
name?: string;
|
|
339
|
+
/**
|
|
340
|
+
* Whether the function is `public`, `private` or `public(friend)`
|
|
341
|
+
*
|
|
342
|
+
* @generated from protobuf field: optional sui.rpc.v2.FunctionDescriptor.Visibility visibility = 5;
|
|
343
|
+
*/
|
|
344
|
+
visibility?: FunctionDescriptor_Visibility;
|
|
345
|
+
/**
|
|
346
|
+
* Whether the function is marked `entry` or not.
|
|
347
|
+
*
|
|
348
|
+
* @generated from protobuf field: optional bool is_entry = 6;
|
|
349
|
+
*/
|
|
350
|
+
isEntry?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* Ability constraints for type parameters
|
|
353
|
+
*
|
|
354
|
+
* @generated from protobuf field: repeated sui.rpc.v2.TypeParameter type_parameters = 7;
|
|
355
|
+
*/
|
|
356
|
+
typeParameters: TypeParameter[];
|
|
357
|
+
/**
|
|
358
|
+
* Formal parameter types.
|
|
359
|
+
*
|
|
360
|
+
* @generated from protobuf field: repeated sui.rpc.v2.OpenSignature parameters = 8;
|
|
361
|
+
*/
|
|
362
|
+
parameters: OpenSignature[];
|
|
363
|
+
/**
|
|
364
|
+
* Return types.
|
|
365
|
+
*
|
|
366
|
+
* @generated from protobuf field: repeated sui.rpc.v2.OpenSignature returns = 9;
|
|
367
|
+
*/
|
|
368
|
+
returns: OpenSignature[];
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* @generated from protobuf enum sui.rpc.v2.FunctionDescriptor.Visibility
|
|
372
|
+
*/
|
|
373
|
+
export declare enum FunctionDescriptor_Visibility {
|
|
374
|
+
/**
|
|
375
|
+
* @generated from protobuf enum value: VISIBILITY_UNKNOWN = 0;
|
|
376
|
+
*/
|
|
377
|
+
VISIBILITY_UNKNOWN = 0,
|
|
378
|
+
/**
|
|
379
|
+
* @generated from protobuf enum value: PRIVATE = 1;
|
|
380
|
+
*/
|
|
381
|
+
PRIVATE = 1,
|
|
382
|
+
/**
|
|
383
|
+
* @generated from protobuf enum value: PUBLIC = 2;
|
|
384
|
+
*/
|
|
385
|
+
PUBLIC = 2,
|
|
386
|
+
/**
|
|
387
|
+
* @generated from protobuf enum value: FRIEND = 3;
|
|
388
|
+
*/
|
|
389
|
+
FRIEND = 3
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Representation of a type signature that could appear as a function parameter or return value.
|
|
393
|
+
*
|
|
394
|
+
* @generated from protobuf message sui.rpc.v2.OpenSignature
|
|
395
|
+
*/
|
|
396
|
+
export interface OpenSignature {
|
|
397
|
+
/**
|
|
398
|
+
* @generated from protobuf field: optional sui.rpc.v2.OpenSignature.Reference reference = 1;
|
|
399
|
+
*/
|
|
400
|
+
reference?: OpenSignature_Reference;
|
|
401
|
+
/**
|
|
402
|
+
* @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody body = 2;
|
|
403
|
+
*/
|
|
404
|
+
body?: OpenSignatureBody;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* @generated from protobuf enum sui.rpc.v2.OpenSignature.Reference
|
|
408
|
+
*/
|
|
409
|
+
export declare enum OpenSignature_Reference {
|
|
410
|
+
/**
|
|
411
|
+
* @generated from protobuf enum value: REFERENCE_UNKNOWN = 0;
|
|
412
|
+
*/
|
|
413
|
+
REFERENCE_UNKNOWN = 0,
|
|
414
|
+
/**
|
|
415
|
+
* @generated from protobuf enum value: IMMUTABLE = 1;
|
|
416
|
+
*/
|
|
417
|
+
IMMUTABLE = 1,
|
|
418
|
+
/**
|
|
419
|
+
* @generated from protobuf enum value: MUTABLE = 2;
|
|
420
|
+
*/
|
|
421
|
+
MUTABLE = 2
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Identifies a struct and the module it was defined in.
|
|
425
|
+
*
|
|
426
|
+
* @generated from protobuf message sui.rpc.v2.TypeOrigin
|
|
427
|
+
*/
|
|
428
|
+
export interface TypeOrigin {
|
|
429
|
+
/**
|
|
430
|
+
* @generated from protobuf field: optional string module_name = 1;
|
|
431
|
+
*/
|
|
432
|
+
moduleName?: string;
|
|
433
|
+
/**
|
|
434
|
+
* @generated from protobuf field: optional string datatype_name = 2;
|
|
435
|
+
*/
|
|
436
|
+
datatypeName?: string;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from protobuf field: optional string package_id = 3;
|
|
439
|
+
*/
|
|
440
|
+
packageId?: string;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Upgraded package info for the linkage table.
|
|
444
|
+
*
|
|
445
|
+
* @generated from protobuf message sui.rpc.v2.Linkage
|
|
446
|
+
*/
|
|
447
|
+
export interface Linkage {
|
|
448
|
+
/**
|
|
449
|
+
* Id of the original package.
|
|
450
|
+
*
|
|
451
|
+
* @generated from protobuf field: optional string original_id = 1;
|
|
452
|
+
*/
|
|
453
|
+
originalId?: string;
|
|
454
|
+
/**
|
|
455
|
+
* Id of the upgraded package.
|
|
456
|
+
*
|
|
457
|
+
* @generated from protobuf field: optional string upgraded_id = 2;
|
|
458
|
+
*/
|
|
459
|
+
upgradedId?: string;
|
|
460
|
+
/**
|
|
461
|
+
* Version of the upgraded package.
|
|
462
|
+
*
|
|
463
|
+
* @generated from protobuf field: optional uint64 upgraded_version = 3;
|
|
464
|
+
*/
|
|
465
|
+
upgradedVersion?: bigint;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* An `Ability` classifies what operations are permitted for a given type
|
|
469
|
+
*
|
|
470
|
+
* @generated from protobuf enum sui.rpc.v2.Ability
|
|
471
|
+
*/
|
|
472
|
+
export declare enum Ability {
|
|
473
|
+
/**
|
|
474
|
+
* @generated from protobuf enum value: ABILITY_UNKNOWN = 0;
|
|
475
|
+
*/
|
|
476
|
+
ABILITY_UNKNOWN = 0,
|
|
477
|
+
/**
|
|
478
|
+
* Allows values of types with this ability to be copied
|
|
479
|
+
*
|
|
480
|
+
* @generated from protobuf enum value: COPY = 1;
|
|
481
|
+
*/
|
|
482
|
+
COPY = 1,
|
|
483
|
+
/**
|
|
484
|
+
* Allows values of types with this ability to be dropped.
|
|
485
|
+
*
|
|
486
|
+
* @generated from protobuf enum value: DROP = 2;
|
|
487
|
+
*/
|
|
488
|
+
DROP = 2,
|
|
489
|
+
/**
|
|
490
|
+
* Allows values of types with this ability to exist inside a struct in global storage
|
|
491
|
+
*
|
|
492
|
+
* @generated from protobuf enum value: STORE = 3;
|
|
493
|
+
*/
|
|
494
|
+
STORE = 3,
|
|
495
|
+
/**
|
|
496
|
+
* Allows the type to serve as a key for global storage operations
|
|
497
|
+
*
|
|
498
|
+
* @generated from protobuf enum value: KEY = 4;
|
|
499
|
+
*/
|
|
500
|
+
KEY = 4
|
|
501
|
+
}
|
|
502
|
+
declare class Package$Type extends MessageType<Package> {
|
|
503
|
+
constructor();
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* @generated MessageType for protobuf message sui.rpc.v2.Package
|
|
507
|
+
*/
|
|
508
|
+
export declare const Package: Package$Type;
|
|
509
|
+
declare class Module$Type extends MessageType<Module> {
|
|
510
|
+
constructor();
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* @generated MessageType for protobuf message sui.rpc.v2.Module
|
|
514
|
+
*/
|
|
515
|
+
export declare const Module: Module$Type;
|
|
516
|
+
declare class DatatypeDescriptor$Type extends MessageType<DatatypeDescriptor> {
|
|
517
|
+
constructor();
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* @generated MessageType for protobuf message sui.rpc.v2.DatatypeDescriptor
|
|
521
|
+
*/
|
|
522
|
+
export declare const DatatypeDescriptor: DatatypeDescriptor$Type;
|
|
523
|
+
declare class TypeParameter$Type extends MessageType<TypeParameter> {
|
|
524
|
+
constructor();
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @generated MessageType for protobuf message sui.rpc.v2.TypeParameter
|
|
528
|
+
*/
|
|
529
|
+
export declare const TypeParameter: TypeParameter$Type;
|
|
530
|
+
declare class FieldDescriptor$Type extends MessageType<FieldDescriptor> {
|
|
531
|
+
constructor();
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* @generated MessageType for protobuf message sui.rpc.v2.FieldDescriptor
|
|
535
|
+
*/
|
|
536
|
+
export declare const FieldDescriptor: FieldDescriptor$Type;
|
|
537
|
+
declare class VariantDescriptor$Type extends MessageType<VariantDescriptor> {
|
|
538
|
+
constructor();
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* @generated MessageType for protobuf message sui.rpc.v2.VariantDescriptor
|
|
542
|
+
*/
|
|
543
|
+
export declare const VariantDescriptor: VariantDescriptor$Type;
|
|
544
|
+
declare class OpenSignatureBody$Type extends MessageType<OpenSignatureBody> {
|
|
545
|
+
constructor();
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* @generated MessageType for protobuf message sui.rpc.v2.OpenSignatureBody
|
|
549
|
+
*/
|
|
550
|
+
export declare const OpenSignatureBody: OpenSignatureBody$Type;
|
|
551
|
+
declare class FunctionDescriptor$Type extends MessageType<FunctionDescriptor> {
|
|
552
|
+
constructor();
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* @generated MessageType for protobuf message sui.rpc.v2.FunctionDescriptor
|
|
556
|
+
*/
|
|
557
|
+
export declare const FunctionDescriptor: FunctionDescriptor$Type;
|
|
558
|
+
declare class OpenSignature$Type extends MessageType<OpenSignature> {
|
|
559
|
+
constructor();
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* @generated MessageType for protobuf message sui.rpc.v2.OpenSignature
|
|
563
|
+
*/
|
|
564
|
+
export declare const OpenSignature: OpenSignature$Type;
|
|
565
|
+
declare class TypeOrigin$Type extends MessageType<TypeOrigin> {
|
|
566
|
+
constructor();
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* @generated MessageType for protobuf message sui.rpc.v2.TypeOrigin
|
|
570
|
+
*/
|
|
571
|
+
export declare const TypeOrigin: TypeOrigin$Type;
|
|
572
|
+
declare class Linkage$Type extends MessageType<Linkage> {
|
|
573
|
+
constructor();
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* @generated MessageType for protobuf message sui.rpc.v2.Linkage
|
|
577
|
+
*/
|
|
578
|
+
export declare const Linkage: Linkage$Type;
|
|
579
|
+
export {};
|