@mysten/sui 1.42.0 → 1.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/cjs/bcs/bcs.d.ts +47 -111
- package/dist/cjs/bcs/bcs.js +17 -17
- package/dist/cjs/bcs/bcs.js.map +2 -2
- package/dist/cjs/bcs/effects.d.ts +2 -6
- package/dist/cjs/bcs/effects.js +1 -1
- package/dist/cjs/bcs/effects.js.map +2 -2
- package/dist/cjs/bcs/index.d.ts +49 -117
- package/dist/cjs/bcs/type-tag-serializer.d.ts +1 -0
- package/dist/cjs/bcs/type-tag-serializer.js +5 -1
- package/dist/cjs/bcs/type-tag-serializer.js.map +2 -2
- package/dist/cjs/cryptography/intent.js +1 -1
- package/dist/cjs/cryptography/intent.js.map +2 -2
- package/dist/cjs/cryptography/keypair.js +1 -1
- package/dist/cjs/cryptography/keypair.js.map +2 -2
- package/dist/cjs/cryptography/publickey.js +1 -1
- package/dist/cjs/cryptography/publickey.js.map +2 -2
- package/dist/cjs/cryptography/signature.d.ts +2 -2
- package/dist/cjs/experimental/client.js +0 -4
- package/dist/cjs/experimental/client.js.map +2 -2
- package/dist/cjs/experimental/types.d.ts +1 -7
- package/dist/cjs/experimental/types.js.map +1 -1
- package/dist/cjs/graphql/generated/queries.d.ts +1 -1
- package/dist/cjs/graphql/generated/queries.js.map +1 -1
- package/dist/cjs/grpc/core.d.ts +3 -1
- package/dist/cjs/grpc/core.js +5 -3
- package/dist/cjs/grpc/core.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
- package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
- package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
- package/dist/cjs/grpc/proto/google/protobuf/duration.js +8 -12
- package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
- package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +8 -7
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
- package/dist/cjs/grpc/proto/google/protobuf/struct.js +29 -17
- package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +21 -18
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
- package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
- package/dist/cjs/grpc/proto/google/rpc/error_details.js +40 -11
- package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
- package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
- package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
- package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +7 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +65 -19
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +4 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +8 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +126 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +18 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +4 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +7 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +73 -17
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +60 -14
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +26 -59
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +210 -71
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
- package/dist/cjs/jsonRpc/client.d.ts +2 -6
- package/dist/cjs/jsonRpc/client.js +0 -8
- package/dist/cjs/jsonRpc/client.js.map +2 -2
- package/dist/cjs/keypairs/passkey/publickey.d.ts +1 -1
- package/dist/cjs/multisig/publickey.d.ts +10 -10
- package/dist/cjs/multisig/publickey.js +2 -2
- package/dist/cjs/multisig/publickey.js.map +2 -2
- package/dist/cjs/transactions/Transaction.d.ts +2 -2
- package/dist/cjs/transactions/Transaction.js.map +2 -2
- package/dist/cjs/transactions/TransactionData.d.ts +1 -0
- package/dist/cjs/transactions/TransactionData.js +71 -0
- package/dist/cjs/transactions/TransactionData.js.map +3 -3
- package/dist/cjs/transactions/serializer.js +1 -1
- package/dist/cjs/transactions/serializer.js.map +2 -2
- package/dist/cjs/utils/index.d.ts +1 -0
- package/dist/cjs/utils/index.js +2 -0
- package/dist/cjs/utils/index.js.map +2 -2
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +2 -2
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/zklogin/bcs.d.ts +1 -3
- package/dist/cjs/zklogin/bcs.js +1 -1
- package/dist/cjs/zklogin/bcs.js.map +2 -2
- package/dist/cjs/zklogin/publickey.d.ts +1 -1
- package/dist/cjs/zklogin/signature.d.ts +1 -1
- package/dist/esm/bcs/bcs.d.ts +47 -111
- package/dist/esm/bcs/bcs.js +17 -17
- package/dist/esm/bcs/bcs.js.map +2 -2
- package/dist/esm/bcs/effects.d.ts +2 -6
- package/dist/esm/bcs/effects.js +1 -1
- package/dist/esm/bcs/effects.js.map +2 -2
- package/dist/esm/bcs/index.d.ts +49 -117
- package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
- package/dist/esm/bcs/type-tag-serializer.js +5 -1
- package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
- package/dist/esm/cryptography/intent.js +1 -1
- package/dist/esm/cryptography/intent.js.map +2 -2
- package/dist/esm/cryptography/keypair.js +1 -1
- package/dist/esm/cryptography/keypair.js.map +2 -2
- package/dist/esm/cryptography/publickey.js +1 -1
- package/dist/esm/cryptography/publickey.js.map +2 -2
- package/dist/esm/cryptography/signature.d.ts +2 -2
- package/dist/esm/experimental/client.js +0 -4
- package/dist/esm/experimental/client.js.map +2 -2
- package/dist/esm/experimental/types.d.ts +1 -7
- package/dist/esm/graphql/generated/queries.d.ts +1 -1
- package/dist/esm/graphql/generated/queries.js.map +1 -1
- package/dist/esm/grpc/core.d.ts +3 -1
- package/dist/esm/grpc/core.js +5 -3
- package/dist/esm/grpc/core.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
- package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
- package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
- package/dist/esm/grpc/proto/google/protobuf/duration.js +8 -12
- package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
- package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js +8 -7
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
- package/dist/esm/grpc/proto/google/protobuf/struct.js +29 -17
- package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js +21 -18
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
- package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
- package/dist/esm/grpc/proto/google/rpc/error_details.js +40 -11
- package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
- package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
- package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
- package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +7 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +65 -19
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +4 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js +8 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +126 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +18 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js +4 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +7 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +73 -17
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +60 -14
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +26 -59
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +210 -71
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
- package/dist/esm/jsonRpc/client.d.ts +2 -6
- package/dist/esm/jsonRpc/client.js +0 -8
- package/dist/esm/jsonRpc/client.js.map +2 -2
- package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
- package/dist/esm/multisig/publickey.d.ts +10 -10
- package/dist/esm/multisig/publickey.js +2 -2
- package/dist/esm/multisig/publickey.js.map +2 -2
- package/dist/esm/transactions/Transaction.d.ts +2 -2
- package/dist/esm/transactions/Transaction.js.map +2 -2
- package/dist/esm/transactions/TransactionData.d.ts +1 -0
- package/dist/esm/transactions/TransactionData.js +71 -0
- package/dist/esm/transactions/TransactionData.js.map +3 -3
- package/dist/esm/transactions/serializer.js +1 -1
- package/dist/esm/transactions/serializer.js.map +2 -2
- package/dist/esm/utils/index.d.ts +1 -0
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/index.js.map +2 -2
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +2 -2
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/zklogin/bcs.d.ts +1 -3
- package/dist/esm/zklogin/bcs.js +1 -1
- package/dist/esm/zklogin/bcs.js.map +2 -2
- package/dist/esm/zklogin/publickey.d.ts +1 -1
- package/dist/esm/zklogin/signature.d.ts +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/bcs/bcs.ts +17 -17
- package/src/bcs/effects.ts +1 -1
- package/src/bcs/type-tag-serializer.ts +4 -0
- package/src/cryptography/intent.ts +1 -1
- package/src/cryptography/keypair.ts +1 -1
- package/src/cryptography/publickey.ts +1 -1
- package/src/experimental/client.ts +0 -4
- package/src/experimental/types.ts +4 -17
- package/src/graphql/generated/queries.ts +1 -1
- package/src/grpc/core.ts +28 -8
- package/src/grpc/proto/google/protobuf/any.ts +159 -144
- package/src/grpc/proto/google/protobuf/duration.ts +77 -74
- package/src/grpc/proto/google/protobuf/empty.ts +5 -6
- package/src/grpc/proto/google/protobuf/field_mask.ts +59 -47
- package/src/grpc/proto/google/protobuf/struct.ts +223 -201
- package/src/grpc/proto/google/protobuf/timestamp.ts +121 -100
- package/src/grpc/proto/google/rpc/error_details.ts +388 -352
- package/src/grpc/proto/google/rpc/status.ts +32 -32
- package/src/grpc/proto/sui/rpc/v2/argument.ts +60 -54
- package/src/grpc/proto/sui/rpc/v2/balance_change.ts +26 -26
- package/src/grpc/proto/sui/rpc/v2/bcs.ts +19 -19
- package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +79 -66
- package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +72 -60
- package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +219 -158
- package/src/grpc/proto/sui/rpc/v2/effects.ts +418 -318
- package/src/grpc/proto/sui/rpc/v2/epoch.ts +90 -62
- package/src/grpc/proto/sui/rpc/v2/error_reason.ts +12 -12
- package/src/grpc/proto/sui/rpc/v2/event.ts +76 -76
- package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +99 -80
- package/src/grpc/proto/sui/rpc/v2/execution_status.ts +888 -755
- package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +62 -34
- package/src/grpc/proto/sui/rpc/v2/input.ts +102 -89
- package/src/grpc/proto/sui/rpc/v2/jwk.ts +51 -51
- package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +196 -106
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +420 -328
- package/src/grpc/proto/sui/rpc/v2/move_package.ts +608 -486
- package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +114 -63
- package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +190 -172
- package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +62 -37
- package/src/grpc/proto/sui/rpc/v2/name_service.ts +123 -112
- package/src/grpc/proto/sui/rpc/v2/object.ts +147 -120
- package/src/grpc/proto/sui/rpc/v2/object_reference.ts +33 -26
- package/src/grpc/proto/sui/rpc/v2/owner.ts +61 -48
- package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +43 -24
- package/src/grpc/proto/sui/rpc/v2/signature.ts +596 -503
- package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +28 -28
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +43 -29
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +68 -67
- package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +140 -76
- package/src/grpc/proto/sui/rpc/v2/state_service.ts +642 -573
- package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +60 -48
- package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +50 -37
- package/src/grpc/proto/sui/rpc/v2/system_state.ts +1055 -689
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +1535 -1110
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +65 -38
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +185 -139
- package/src/jsonRpc/client.ts +2 -17
- package/src/multisig/publickey.ts +14 -14
- package/src/transactions/Transaction.ts +2 -2
- package/src/transactions/TransactionData.ts +100 -1
- package/src/transactions/serializer.ts +1 -1
- package/src/utils/index.ts +1 -0
- package/src/version.ts +2 -2
- package/src/zklogin/bcs.ts +1 -1
|
@@ -67,11 +67,22 @@ class Package$Type extends MessageType {
|
|
|
67
67
|
opt: true,
|
|
68
68
|
T: 4,
|
|
69
69
|
L: 0
|
|
70
|
-
/*LongType.BIGINT*/
|
|
71
70
|
},
|
|
72
71
|
{ no: 4, name: "modules", kind: "message", repeat: 1, T: () => Module },
|
|
73
|
-
{
|
|
74
|
-
|
|
72
|
+
{
|
|
73
|
+
no: 5,
|
|
74
|
+
name: "type_origins",
|
|
75
|
+
kind: "message",
|
|
76
|
+
repeat: 1,
|
|
77
|
+
T: () => TypeOrigin
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
no: 6,
|
|
81
|
+
name: "linkage",
|
|
82
|
+
kind: "message",
|
|
83
|
+
repeat: 1,
|
|
84
|
+
T: () => Linkage
|
|
85
|
+
}
|
|
75
86
|
]);
|
|
76
87
|
}
|
|
77
88
|
}
|
|
@@ -95,8 +106,20 @@ class Module$Type extends MessageType {
|
|
|
95
106
|
T: 12
|
|
96
107
|
/*ScalarType.BYTES*/
|
|
97
108
|
},
|
|
98
|
-
{
|
|
99
|
-
|
|
109
|
+
{
|
|
110
|
+
no: 3,
|
|
111
|
+
name: "datatypes",
|
|
112
|
+
kind: "message",
|
|
113
|
+
repeat: 1,
|
|
114
|
+
T: () => DatatypeDescriptor
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
no: 4,
|
|
118
|
+
name: "functions",
|
|
119
|
+
kind: "message",
|
|
120
|
+
repeat: 1,
|
|
121
|
+
T: () => FunctionDescriptor
|
|
122
|
+
}
|
|
100
123
|
]);
|
|
101
124
|
}
|
|
102
125
|
}
|
|
@@ -136,11 +159,41 @@ class DatatypeDescriptor$Type extends MessageType {
|
|
|
136
159
|
T: 9
|
|
137
160
|
/*ScalarType.STRING*/
|
|
138
161
|
},
|
|
139
|
-
{
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
162
|
+
{
|
|
163
|
+
no: 5,
|
|
164
|
+
name: "abilities",
|
|
165
|
+
kind: "enum",
|
|
166
|
+
repeat: 1,
|
|
167
|
+
T: () => ["sui.rpc.v2.Ability", Ability]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
no: 6,
|
|
171
|
+
name: "type_parameters",
|
|
172
|
+
kind: "message",
|
|
173
|
+
repeat: 1,
|
|
174
|
+
T: () => TypeParameter
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
no: 7,
|
|
178
|
+
name: "kind",
|
|
179
|
+
kind: "enum",
|
|
180
|
+
opt: true,
|
|
181
|
+
T: () => ["sui.rpc.v2.DatatypeDescriptor.DatatypeKind", DatatypeDescriptor_DatatypeKind]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
no: 8,
|
|
185
|
+
name: "fields",
|
|
186
|
+
kind: "message",
|
|
187
|
+
repeat: 1,
|
|
188
|
+
T: () => FieldDescriptor
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
no: 9,
|
|
192
|
+
name: "variants",
|
|
193
|
+
kind: "message",
|
|
194
|
+
repeat: 1,
|
|
195
|
+
T: () => VariantDescriptor
|
|
196
|
+
}
|
|
144
197
|
]);
|
|
145
198
|
}
|
|
146
199
|
}
|
|
@@ -148,7 +201,13 @@ const DatatypeDescriptor = new DatatypeDescriptor$Type();
|
|
|
148
201
|
class TypeParameter$Type extends MessageType {
|
|
149
202
|
constructor() {
|
|
150
203
|
super("sui.rpc.v2.TypeParameter", [
|
|
151
|
-
{
|
|
204
|
+
{
|
|
205
|
+
no: 1,
|
|
206
|
+
name: "constraints",
|
|
207
|
+
kind: "enum",
|
|
208
|
+
repeat: 1,
|
|
209
|
+
T: () => ["sui.rpc.v2.Ability", Ability]
|
|
210
|
+
},
|
|
152
211
|
{
|
|
153
212
|
no: 2,
|
|
154
213
|
name: "is_phantom",
|
|
@@ -204,7 +263,13 @@ class VariantDescriptor$Type extends MessageType {
|
|
|
204
263
|
T: 13
|
|
205
264
|
/*ScalarType.UINT32*/
|
|
206
265
|
},
|
|
207
|
-
{
|
|
266
|
+
{
|
|
267
|
+
no: 3,
|
|
268
|
+
name: "fields",
|
|
269
|
+
kind: "message",
|
|
270
|
+
repeat: 1,
|
|
271
|
+
T: () => FieldDescriptor
|
|
272
|
+
}
|
|
208
273
|
]);
|
|
209
274
|
}
|
|
210
275
|
}
|
|
@@ -212,7 +277,13 @@ const VariantDescriptor = new VariantDescriptor$Type();
|
|
|
212
277
|
class OpenSignatureBody$Type extends MessageType {
|
|
213
278
|
constructor() {
|
|
214
279
|
super("sui.rpc.v2.OpenSignatureBody", [
|
|
215
|
-
{
|
|
280
|
+
{
|
|
281
|
+
no: 1,
|
|
282
|
+
name: "type",
|
|
283
|
+
kind: "enum",
|
|
284
|
+
opt: true,
|
|
285
|
+
T: () => ["sui.rpc.v2.OpenSignatureBody.Type", OpenSignatureBody_Type]
|
|
286
|
+
},
|
|
216
287
|
{
|
|
217
288
|
no: 2,
|
|
218
289
|
name: "type_name",
|
|
@@ -221,7 +292,13 @@ class OpenSignatureBody$Type extends MessageType {
|
|
|
221
292
|
T: 9
|
|
222
293
|
/*ScalarType.STRING*/
|
|
223
294
|
},
|
|
224
|
-
{
|
|
295
|
+
{
|
|
296
|
+
no: 3,
|
|
297
|
+
name: "type_parameter_instantiation",
|
|
298
|
+
kind: "message",
|
|
299
|
+
repeat: 1,
|
|
300
|
+
T: () => OpenSignatureBody
|
|
301
|
+
},
|
|
225
302
|
{
|
|
226
303
|
no: 4,
|
|
227
304
|
name: "type_parameter",
|
|
@@ -245,7 +322,13 @@ class FunctionDescriptor$Type extends MessageType {
|
|
|
245
322
|
T: 9
|
|
246
323
|
/*ScalarType.STRING*/
|
|
247
324
|
},
|
|
248
|
-
{
|
|
325
|
+
{
|
|
326
|
+
no: 5,
|
|
327
|
+
name: "visibility",
|
|
328
|
+
kind: "enum",
|
|
329
|
+
opt: true,
|
|
330
|
+
T: () => ["sui.rpc.v2.FunctionDescriptor.Visibility", FunctionDescriptor_Visibility]
|
|
331
|
+
},
|
|
249
332
|
{
|
|
250
333
|
no: 6,
|
|
251
334
|
name: "is_entry",
|
|
@@ -254,9 +337,27 @@ class FunctionDescriptor$Type extends MessageType {
|
|
|
254
337
|
T: 8
|
|
255
338
|
/*ScalarType.BOOL*/
|
|
256
339
|
},
|
|
257
|
-
{
|
|
258
|
-
|
|
259
|
-
|
|
340
|
+
{
|
|
341
|
+
no: 7,
|
|
342
|
+
name: "type_parameters",
|
|
343
|
+
kind: "message",
|
|
344
|
+
repeat: 1,
|
|
345
|
+
T: () => TypeParameter
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
no: 8,
|
|
349
|
+
name: "parameters",
|
|
350
|
+
kind: "message",
|
|
351
|
+
repeat: 1,
|
|
352
|
+
T: () => OpenSignature
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
no: 9,
|
|
356
|
+
name: "returns",
|
|
357
|
+
kind: "message",
|
|
358
|
+
repeat: 1,
|
|
359
|
+
T: () => OpenSignature
|
|
360
|
+
}
|
|
260
361
|
]);
|
|
261
362
|
}
|
|
262
363
|
}
|
|
@@ -264,7 +365,13 @@ const FunctionDescriptor = new FunctionDescriptor$Type();
|
|
|
264
365
|
class OpenSignature$Type extends MessageType {
|
|
265
366
|
constructor() {
|
|
266
367
|
super("sui.rpc.v2.OpenSignature", [
|
|
267
|
-
{
|
|
368
|
+
{
|
|
369
|
+
no: 1,
|
|
370
|
+
name: "reference",
|
|
371
|
+
kind: "enum",
|
|
372
|
+
opt: true,
|
|
373
|
+
T: () => ["sui.rpc.v2.OpenSignature.Reference", OpenSignature_Reference]
|
|
374
|
+
},
|
|
268
375
|
{ no: 2, name: "body", kind: "message", T: () => OpenSignatureBody }
|
|
269
376
|
]);
|
|
270
377
|
}
|
|
@@ -327,7 +434,6 @@ class Linkage$Type extends MessageType {
|
|
|
327
434
|
opt: true,
|
|
328
435
|
T: 4,
|
|
329
436
|
L: 0
|
|
330
|
-
/*LongType.BIGINT*/
|
|
331
437
|
}
|
|
332
438
|
]);
|
|
333
439
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/move_package.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/move_package.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 { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * A Move Package\n *\n * @generated from protobuf message sui.rpc.v2.Package\n */\nexport interface Package {\n /**\n * The PackageId of this package\n *\n * A package's `storage_id` is the Sui ObjectId of the package on-chain.\n * Outside of system packages the `storage_id` for every package version is\n * different.\n *\n * @generated from protobuf field: optional string storage_id = 1;\n */\n storageId?: string;\n /**\n * The PackageId of the first published version of this package.\n *\n * A package's `original_id` (sometimes also called its `runtime_id`) is the\n * `storage_id` of the first version of this package that has been published.\n * The `original_id`/`runtime_id` is stable across all versions of the\n * package and does not ever change.\n *\n * @generated from protobuf field: optional string original_id = 2;\n */\n originalId?: string;\n /**\n * The version of this package\n *\n * @generated from protobuf field: optional uint64 version = 3;\n */\n version?: bigint;\n /**\n * The modules defined by this package\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Module modules = 4;\n */\n modules: Module[];\n /**\n * List of datatype origins for mapping datatypes to a package version where\n * it was first defined\n *\n * @generated from protobuf field: repeated sui.rpc.v2.TypeOrigin type_origins = 5;\n */\n typeOrigins: TypeOrigin[];\n /**\n * The package's transitive dependencies as a mapping from the package's\n * runtime Id (the Id it is referred to by in other packages) to its\n * storage Id (the Id it is loaded from on chain).\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Linkage linkage = 6;\n */\n linkage: Linkage[];\n}\n/**\n * A Move Module.\n *\n * @generated from protobuf message sui.rpc.v2.Module\n */\nexport interface Module {\n /**\n * Name of this module.\n *\n * @generated from protobuf field: optional string name = 1;\n */\n name?: string;\n /**\n * Serialized bytecode of the module.\n *\n * @generated from protobuf field: optional bytes contents = 2;\n */\n contents?: Uint8Array;\n /**\n * List of DataTypes defined by this module.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.DatatypeDescriptor datatypes = 3;\n */\n datatypes: DatatypeDescriptor[];\n /**\n * List of Functions defined by this module.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.FunctionDescriptor functions = 4;\n */\n functions: FunctionDescriptor[];\n}\n/**\n * Describes a Move Datatype.\n *\n * @generated from protobuf message sui.rpc.v2.DatatypeDescriptor\n */\nexport interface DatatypeDescriptor {\n /**\n * Fully qualified name of this Datatype.\n *\n * This is `<defining_id>::<module>::<name>`\n *\n * @generated from protobuf field: optional string type_name = 1;\n */\n typeName?: string;\n /**\n * PackageId of the package where this Datatype is defined.\n *\n * A type's `defining_id` is the `storage_id` of the package version that first introduced or added that type.\n *\n * @generated from protobuf field: optional string defining_id = 2;\n */\n definingId?: string;\n /**\n * Name of the module where this Datatype is defined\n *\n * @generated from protobuf field: optional string module = 3;\n */\n module?: string;\n /**\n * Name of this Datatype\n *\n * @generated from protobuf field: optional string name = 4;\n */\n name?: string;\n /**\n * This type's abilities\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Ability abilities = 5;\n */\n abilities: Ability[];\n /**\n * Ability constraints and phantom status for this type's generic type parameters\n *\n * @generated from protobuf field: repeated sui.rpc.v2.TypeParameter type_parameters = 6;\n */\n typeParameters: TypeParameter[];\n /**\n * Indicates whether this datatype is a 'STRUCT' or an 'ENUM'\n *\n * @generated from protobuf field: optional sui.rpc.v2.DatatypeDescriptor.DatatypeKind kind = 7;\n */\n kind?: DatatypeDescriptor_DatatypeKind;\n /**\n * Set of fields if this Datatype is a struct.\n *\n * The order of the entries is the order of how the fields are defined.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.FieldDescriptor fields = 8;\n */\n fields: FieldDescriptor[];\n /**\n * Set of variants if this Datatype is an enum.\n *\n * The order of the entries is the order of how the variants are defined.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.VariantDescriptor variants = 9;\n */\n variants: VariantDescriptor[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.DatatypeDescriptor.DatatypeKind\n */\nexport enum DatatypeDescriptor_DatatypeKind {\n /**\n * @generated from protobuf enum value: DATATYPE_KIND_UNKNOWN = 0;\n */\n DATATYPE_KIND_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: STRUCT = 1;\n */\n STRUCT = 1,\n /**\n * @generated from protobuf enum value: ENUM = 2;\n */\n ENUM = 2\n}\n/**\n * A generic type parameter used in the declaration of a struct or enum.\n *\n * @generated from protobuf message sui.rpc.v2.TypeParameter\n */\nexport interface TypeParameter {\n /**\n * The type parameter constraints\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Ability constraints = 1;\n */\n constraints: Ability[];\n /**\n * Whether the parameter is declared as phantom\n *\n * @generated from protobuf field: optional bool is_phantom = 2;\n */\n isPhantom?: boolean;\n}\n/**\n * Descriptor of a field that belongs to a struct or enum variant\n *\n * @generated from protobuf message sui.rpc.v2.FieldDescriptor\n */\nexport interface FieldDescriptor {\n /**\n * Name of the field\n *\n * @generated from protobuf field: optional string name = 1;\n */\n name?: string;\n /**\n * Order or position of the field in the struct or enum variant definition.\n *\n * @generated from protobuf field: optional uint32 position = 2;\n */\n position?: number;\n /**\n * The type of the field\n *\n * @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody type = 3;\n */\n type?: OpenSignatureBody;\n}\n/**\n * Descriptor of an enum variant\n *\n * @generated from protobuf message sui.rpc.v2.VariantDescriptor\n */\nexport interface VariantDescriptor {\n /**\n * Name of the variant\n *\n * @generated from protobuf field: optional string name = 1;\n */\n name?: string;\n /**\n * Order or position of the variant in the enum definition.\n *\n * @generated from protobuf field: optional uint32 position = 2;\n */\n position?: number;\n /**\n * Set of fields defined by this variant.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.FieldDescriptor fields = 3;\n */\n fields: FieldDescriptor[];\n}\n/**\n * Representation of a type signature that could appear as a field type for a struct or enum\n *\n * @generated from protobuf message sui.rpc.v2.OpenSignatureBody\n */\nexport interface OpenSignatureBody {\n /**\n * Type of this signature\n *\n * @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody.Type type = 1;\n */\n type?: OpenSignatureBody_Type;\n /**\n * Fully qualified name of the datatype when `type` is `DATATYPE`\n *\n * @generated from protobuf field: optional string type_name = 2;\n */\n typeName?: string;\n /**\n * Set when `type` is `VECTOR` or `DATATYPE`\n *\n * @generated from protobuf field: repeated sui.rpc.v2.OpenSignatureBody type_parameter_instantiation = 3;\n */\n typeParameterInstantiation: OpenSignatureBody[];\n /**\n * Position of the type parameter as defined in the containing data type descriptor when `type` is `TYPE_PARAMETER`\n *\n * @generated from protobuf field: optional uint32 type_parameter = 4;\n */\n typeParameter?: number;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.OpenSignatureBody.Type\n */\nexport enum OpenSignatureBody_Type {\n /**\n * @generated from protobuf enum value: TYPE_UNKNOWN = 0;\n */\n TYPE_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: ADDRESS = 1;\n */\n ADDRESS = 1,\n /**\n * @generated from protobuf enum value: BOOL = 2;\n */\n BOOL = 2,\n /**\n * @generated from protobuf enum value: U8 = 3;\n */\n U8 = 3,\n /**\n * @generated from protobuf enum value: U16 = 4;\n */\n U16 = 4,\n /**\n * @generated from protobuf enum value: U32 = 5;\n */\n U32 = 5,\n /**\n * @generated from protobuf enum value: U64 = 6;\n */\n U64 = 6,\n /**\n * @generated from protobuf enum value: U128 = 7;\n */\n U128 = 7,\n /**\n * @generated from protobuf enum value: U256 = 8;\n */\n U256 = 8,\n /**\n * @generated from protobuf enum value: VECTOR = 9;\n */\n VECTOR = 9,\n /**\n * @generated from protobuf enum value: DATATYPE = 10;\n */\n DATATYPE = 10,\n /**\n * @generated from protobuf enum value: TYPE_PARAMETER = 11;\n */\n TYPE_PARAMETER = 11\n}\n/**\n * Descriptor of a Move function\n *\n * @generated from protobuf message sui.rpc.v2.FunctionDescriptor\n */\nexport interface FunctionDescriptor {\n /**\n * Name of the function\n *\n * @generated from protobuf field: optional string name = 1;\n */\n name?: string;\n /**\n * Whether the function is `public`, `private` or `public(friend)`\n *\n * @generated from protobuf field: optional sui.rpc.v2.FunctionDescriptor.Visibility visibility = 5;\n */\n visibility?: FunctionDescriptor_Visibility;\n /**\n * Whether the function is marked `entry` or not.\n *\n * @generated from protobuf field: optional bool is_entry = 6;\n */\n isEntry?: boolean;\n /**\n * Ability constraints for type parameters\n *\n * @generated from protobuf field: repeated sui.rpc.v2.TypeParameter type_parameters = 7;\n */\n typeParameters: TypeParameter[];\n /**\n * Formal parameter types.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.OpenSignature parameters = 8;\n */\n parameters: OpenSignature[];\n /**\n * Return types.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.OpenSignature returns = 9;\n */\n returns: OpenSignature[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.FunctionDescriptor.Visibility\n */\nexport enum FunctionDescriptor_Visibility {\n /**\n * @generated from protobuf enum value: VISIBILITY_UNKNOWN = 0;\n */\n VISIBILITY_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: PRIVATE = 1;\n */\n PRIVATE = 1,\n /**\n * @generated from protobuf enum value: PUBLIC = 2;\n */\n PUBLIC = 2,\n /**\n * @generated from protobuf enum value: FRIEND = 3;\n */\n FRIEND = 3\n}\n/**\n * Representation of a type signature that could appear as a function parameter or return value.\n *\n * @generated from protobuf message sui.rpc.v2.OpenSignature\n */\nexport interface OpenSignature {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.OpenSignature.Reference reference = 1;\n */\n reference?: OpenSignature_Reference;\n /**\n * @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody body = 2;\n */\n body?: OpenSignatureBody;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.OpenSignature.Reference\n */\nexport enum OpenSignature_Reference {\n /**\n * @generated from protobuf enum value: REFERENCE_UNKNOWN = 0;\n */\n REFERENCE_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: IMMUTABLE = 1;\n */\n IMMUTABLE = 1,\n /**\n * @generated from protobuf enum value: MUTABLE = 2;\n */\n MUTABLE = 2\n}\n/**\n * Identifies a struct and the module it was defined in.\n *\n * @generated from protobuf message sui.rpc.v2.TypeOrigin\n */\nexport interface TypeOrigin {\n /**\n * @generated from protobuf field: optional string module_name = 1;\n */\n moduleName?: string;\n /**\n * @generated from protobuf field: optional string datatype_name = 2;\n */\n datatypeName?: string;\n /**\n * @generated from protobuf field: optional string package_id = 3;\n */\n packageId?: string;\n}\n/**\n * Upgraded package info for the linkage table.\n *\n * @generated from protobuf message sui.rpc.v2.Linkage\n */\nexport interface Linkage {\n /**\n * Id of the original package.\n *\n * @generated from protobuf field: optional string original_id = 1;\n */\n originalId?: string;\n /**\n * Id of the upgraded package.\n *\n * @generated from protobuf field: optional string upgraded_id = 2;\n */\n upgradedId?: string;\n /**\n * Version of the upgraded package.\n *\n * @generated from protobuf field: optional uint64 upgraded_version = 3;\n */\n upgradedVersion?: bigint;\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 */\nexport enum Ability {\n /**\n * @generated from protobuf enum value: ABILITY_UNKNOWN = 0;\n */\n ABILITY_UNKNOWN = 0,\n /**\n * Allows values of types with this ability to be copied\n *\n * @generated from protobuf enum value: COPY = 1;\n */\n COPY = 1,\n /**\n * Allows values of types with this ability to be dropped.\n *\n * @generated from protobuf enum value: DROP = 2;\n */\n DROP = 2,\n /**\n * Allows values of types with this ability to exist inside a struct in global storage\n *\n * @generated from protobuf enum value: STORE = 3;\n */\n STORE = 3,\n /**\n * Allows the type to serve as a key for global storage operations\n *\n * @generated from protobuf enum value: KEY = 4;\n */\n KEY = 4\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Package$Type extends MessageType<Package> {\n constructor() {\n super(\"sui.rpc.v2.Package\", [\n { no: 1, name: \"storage_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"original_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"modules\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Module },\n { no: 5, name: \"type_origins\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => TypeOrigin },\n { no: 6, name: \"linkage\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Linkage }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Package\n */\nexport const Package = new Package$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Module$Type extends MessageType<Module> {\n constructor() {\n super(\"sui.rpc.v2.Module\", [\n { no: 1, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"contents\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"datatypes\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => DatatypeDescriptor },\n { no: 4, name: \"functions\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => FunctionDescriptor }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Module\n */\nexport const Module = new Module$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DatatypeDescriptor$Type extends MessageType<DatatypeDescriptor> {\n constructor() {\n super(\"sui.rpc.v2.DatatypeDescriptor\", [\n { no: 1, name: \"type_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"defining_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"module\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"abilities\", kind: \"enum\", repeat: 1 /*RepeatType.PACKED*/, T: () => [\"sui.rpc.v2.Ability\", Ability] },\n { no: 6, name: \"type_parameters\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => TypeParameter },\n { no: 7, name: \"kind\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.DatatypeDescriptor.DatatypeKind\", DatatypeDescriptor_DatatypeKind] },\n { no: 8, name: \"fields\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => FieldDescriptor },\n { no: 9, name: \"variants\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => VariantDescriptor }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.DatatypeDescriptor\n */\nexport const DatatypeDescriptor = new DatatypeDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass TypeParameter$Type extends MessageType<TypeParameter> {\n constructor() {\n super(\"sui.rpc.v2.TypeParameter\", [\n { no: 1, name: \"constraints\", kind: \"enum\", repeat: 1 /*RepeatType.PACKED*/, T: () => [\"sui.rpc.v2.Ability\", Ability] },\n { no: 2, name: \"is_phantom\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.TypeParameter\n */\nexport const TypeParameter = new TypeParameter$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FieldDescriptor$Type extends MessageType<FieldDescriptor> {\n constructor() {\n super(\"sui.rpc.v2.FieldDescriptor\", [\n { no: 1, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"position\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"type\", kind: \"message\", T: () => OpenSignatureBody }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.FieldDescriptor\n */\nexport const FieldDescriptor = new FieldDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VariantDescriptor$Type extends MessageType<VariantDescriptor> {\n constructor() {\n super(\"sui.rpc.v2.VariantDescriptor\", [\n { no: 1, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"position\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"fields\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => FieldDescriptor }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VariantDescriptor\n */\nexport const VariantDescriptor = new VariantDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OpenSignatureBody$Type extends MessageType<OpenSignatureBody> {\n constructor() {\n super(\"sui.rpc.v2.OpenSignatureBody\", [\n { no: 1, name: \"type\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.OpenSignatureBody.Type\", OpenSignatureBody_Type] },\n { no: 2, name: \"type_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"type_parameter_instantiation\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => OpenSignatureBody },\n { no: 4, name: \"type_parameter\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.OpenSignatureBody\n */\nexport const OpenSignatureBody = new OpenSignatureBody$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FunctionDescriptor$Type extends MessageType<FunctionDescriptor> {\n constructor() {\n super(\"sui.rpc.v2.FunctionDescriptor\", [\n { no: 1, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"visibility\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.FunctionDescriptor.Visibility\", FunctionDescriptor_Visibility] },\n { no: 6, name: \"is_entry\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 7, name: \"type_parameters\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => TypeParameter },\n { no: 8, name: \"parameters\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => OpenSignature },\n { no: 9, name: \"returns\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => OpenSignature }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.FunctionDescriptor\n */\nexport const FunctionDescriptor = new FunctionDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OpenSignature$Type extends MessageType<OpenSignature> {\n constructor() {\n super(\"sui.rpc.v2.OpenSignature\", [\n { no: 1, name: \"reference\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.OpenSignature.Reference\", OpenSignature_Reference] },\n { no: 2, name: \"body\", kind: \"message\", T: () => OpenSignatureBody }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.OpenSignature\n */\nexport const OpenSignature = new OpenSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass TypeOrigin$Type extends MessageType<TypeOrigin> {\n constructor() {\n super(\"sui.rpc.v2.TypeOrigin\", [\n { no: 1, name: \"module_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"datatype_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"package_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.TypeOrigin\n */\nexport const TypeOrigin = new TypeOrigin$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Linkage$Type extends MessageType<Linkage> {\n constructor() {\n super(\"sui.rpc.v2.Linkage\", [\n { no: 1, name: \"original_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"upgraded_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"upgraded_version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Linkage\n */\nexport const Linkage = new Linkage$Type();\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AA+JrB,IAAK,kCAAL,kBAAKA,qCAAL;
|
|
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/move_package.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 { MessageType } from '@protobuf-ts/runtime';\n/**\n * A Move Package\n *\n * @generated from protobuf message sui.rpc.v2.Package\n */\nexport interface Package {\n\t/**\n\t * The PackageId of this package\n\t *\n\t * A package's `storage_id` is the Sui ObjectId of the package on-chain.\n\t * Outside of system packages the `storage_id` for every package version is\n\t * different.\n\t *\n\t * @generated from protobuf field: optional string storage_id = 1;\n\t */\n\tstorageId?: string;\n\t/**\n\t * The PackageId of the first published version of this package.\n\t *\n\t * A package's `original_id` (sometimes also called its `runtime_id`) is the\n\t * `storage_id` of the first version of this package that has been published.\n\t * The `original_id`/`runtime_id` is stable across all versions of the\n\t * package and does not ever change.\n\t *\n\t * @generated from protobuf field: optional string original_id = 2;\n\t */\n\toriginalId?: string;\n\t/**\n\t * The version of this package\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The modules defined by this package\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Module modules = 4;\n\t */\n\tmodules: Module[];\n\t/**\n\t * List of datatype origins for mapping datatypes to a package version where\n\t * it was first defined\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.TypeOrigin type_origins = 5;\n\t */\n\ttypeOrigins: TypeOrigin[];\n\t/**\n\t * The package's transitive dependencies as a mapping from the package's\n\t * runtime Id (the Id it is referred to by in other packages) to its\n\t * storage Id (the Id it is loaded from on chain).\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Linkage linkage = 6;\n\t */\n\tlinkage: Linkage[];\n}\n/**\n * A Move Module.\n *\n * @generated from protobuf message sui.rpc.v2.Module\n */\nexport interface Module {\n\t/**\n\t * Name of this module.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Serialized bytecode of the module.\n\t *\n\t * @generated from protobuf field: optional bytes contents = 2;\n\t */\n\tcontents?: Uint8Array;\n\t/**\n\t * List of DataTypes defined by this module.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.DatatypeDescriptor datatypes = 3;\n\t */\n\tdatatypes: DatatypeDescriptor[];\n\t/**\n\t * List of Functions defined by this module.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.FunctionDescriptor functions = 4;\n\t */\n\tfunctions: FunctionDescriptor[];\n}\n/**\n * Describes a Move Datatype.\n *\n * @generated from protobuf message sui.rpc.v2.DatatypeDescriptor\n */\nexport interface DatatypeDescriptor {\n\t/**\n\t * Fully qualified name of this Datatype.\n\t *\n\t * This is `<defining_id>::<module>::<name>`\n\t *\n\t * @generated from protobuf field: optional string type_name = 1;\n\t */\n\ttypeName?: string;\n\t/**\n\t * PackageId of the package where this Datatype is defined.\n\t *\n\t * A type's `defining_id` is the `storage_id` of the package version that first introduced or added that type.\n\t *\n\t * @generated from protobuf field: optional string defining_id = 2;\n\t */\n\tdefiningId?: string;\n\t/**\n\t * Name of the module where this Datatype is defined\n\t *\n\t * @generated from protobuf field: optional string module = 3;\n\t */\n\tmodule?: string;\n\t/**\n\t * Name of this Datatype\n\t *\n\t * @generated from protobuf field: optional string name = 4;\n\t */\n\tname?: string;\n\t/**\n\t * This type's abilities\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Ability abilities = 5;\n\t */\n\tabilities: Ability[];\n\t/**\n\t * Ability constraints and phantom status for this type's generic type parameters\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.TypeParameter type_parameters = 6;\n\t */\n\ttypeParameters: TypeParameter[];\n\t/**\n\t * Indicates whether this datatype is a 'STRUCT' or an 'ENUM'\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.DatatypeDescriptor.DatatypeKind kind = 7;\n\t */\n\tkind?: DatatypeDescriptor_DatatypeKind;\n\t/**\n\t * Set of fields if this Datatype is a struct.\n\t *\n\t * The order of the entries is the order of how the fields are defined.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.FieldDescriptor fields = 8;\n\t */\n\tfields: FieldDescriptor[];\n\t/**\n\t * Set of variants if this Datatype is an enum.\n\t *\n\t * The order of the entries is the order of how the variants are defined.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.VariantDescriptor variants = 9;\n\t */\n\tvariants: VariantDescriptor[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.DatatypeDescriptor.DatatypeKind\n */\nexport enum DatatypeDescriptor_DatatypeKind {\n\t/**\n\t * @generated from protobuf enum value: DATATYPE_KIND_UNKNOWN = 0;\n\t */\n\tDATATYPE_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: STRUCT = 1;\n\t */\n\tSTRUCT = 1,\n\t/**\n\t * @generated from protobuf enum value: ENUM = 2;\n\t */\n\tENUM = 2,\n}\n/**\n * A generic type parameter used in the declaration of a struct or enum.\n *\n * @generated from protobuf message sui.rpc.v2.TypeParameter\n */\nexport interface TypeParameter {\n\t/**\n\t * The type parameter constraints\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Ability constraints = 1;\n\t */\n\tconstraints: Ability[];\n\t/**\n\t * Whether the parameter is declared as phantom\n\t *\n\t * @generated from protobuf field: optional bool is_phantom = 2;\n\t */\n\tisPhantom?: boolean;\n}\n/**\n * Descriptor of a field that belongs to a struct or enum variant\n *\n * @generated from protobuf message sui.rpc.v2.FieldDescriptor\n */\nexport interface FieldDescriptor {\n\t/**\n\t * Name of the field\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Order or position of the field in the struct or enum variant definition.\n\t *\n\t * @generated from protobuf field: optional uint32 position = 2;\n\t */\n\tposition?: number;\n\t/**\n\t * The type of the field\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody type = 3;\n\t */\n\ttype?: OpenSignatureBody;\n}\n/**\n * Descriptor of an enum variant\n *\n * @generated from protobuf message sui.rpc.v2.VariantDescriptor\n */\nexport interface VariantDescriptor {\n\t/**\n\t * Name of the variant\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Order or position of the variant in the enum definition.\n\t *\n\t * @generated from protobuf field: optional uint32 position = 2;\n\t */\n\tposition?: number;\n\t/**\n\t * Set of fields defined by this variant.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.FieldDescriptor fields = 3;\n\t */\n\tfields: FieldDescriptor[];\n}\n/**\n * Representation of a type signature that could appear as a field type for a struct or enum\n *\n * @generated from protobuf message sui.rpc.v2.OpenSignatureBody\n */\nexport interface OpenSignatureBody {\n\t/**\n\t * Type of this signature\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody.Type type = 1;\n\t */\n\ttype?: OpenSignatureBody_Type;\n\t/**\n\t * Fully qualified name of the datatype when `type` is `DATATYPE`\n\t *\n\t * @generated from protobuf field: optional string type_name = 2;\n\t */\n\ttypeName?: string;\n\t/**\n\t * Set when `type` is `VECTOR` or `DATATYPE`\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.OpenSignatureBody type_parameter_instantiation = 3;\n\t */\n\ttypeParameterInstantiation: OpenSignatureBody[];\n\t/**\n\t * Position of the type parameter as defined in the containing data type descriptor when `type` is `TYPE_PARAMETER`\n\t *\n\t * @generated from protobuf field: optional uint32 type_parameter = 4;\n\t */\n\ttypeParameter?: number;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.OpenSignatureBody.Type\n */\nexport enum OpenSignatureBody_Type {\n\t/**\n\t * @generated from protobuf enum value: TYPE_UNKNOWN = 0;\n\t */\n\tTYPE_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: ADDRESS = 1;\n\t */\n\tADDRESS = 1,\n\t/**\n\t * @generated from protobuf enum value: BOOL = 2;\n\t */\n\tBOOL = 2,\n\t/**\n\t * @generated from protobuf enum value: U8 = 3;\n\t */\n\tU8 = 3,\n\t/**\n\t * @generated from protobuf enum value: U16 = 4;\n\t */\n\tU16 = 4,\n\t/**\n\t * @generated from protobuf enum value: U32 = 5;\n\t */\n\tU32 = 5,\n\t/**\n\t * @generated from protobuf enum value: U64 = 6;\n\t */\n\tU64 = 6,\n\t/**\n\t * @generated from protobuf enum value: U128 = 7;\n\t */\n\tU128 = 7,\n\t/**\n\t * @generated from protobuf enum value: U256 = 8;\n\t */\n\tU256 = 8,\n\t/**\n\t * @generated from protobuf enum value: VECTOR = 9;\n\t */\n\tVECTOR = 9,\n\t/**\n\t * @generated from protobuf enum value: DATATYPE = 10;\n\t */\n\tDATATYPE = 10,\n\t/**\n\t * @generated from protobuf enum value: TYPE_PARAMETER = 11;\n\t */\n\tTYPE_PARAMETER = 11,\n}\n/**\n * Descriptor of a Move function\n *\n * @generated from protobuf message sui.rpc.v2.FunctionDescriptor\n */\nexport interface FunctionDescriptor {\n\t/**\n\t * Name of the function\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Whether the function is `public`, `private` or `public(friend)`\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.FunctionDescriptor.Visibility visibility = 5;\n\t */\n\tvisibility?: FunctionDescriptor_Visibility;\n\t/**\n\t * Whether the function is marked `entry` or not.\n\t *\n\t * @generated from protobuf field: optional bool is_entry = 6;\n\t */\n\tisEntry?: boolean;\n\t/**\n\t * Ability constraints for type parameters\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.TypeParameter type_parameters = 7;\n\t */\n\ttypeParameters: TypeParameter[];\n\t/**\n\t * Formal parameter types.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.OpenSignature parameters = 8;\n\t */\n\tparameters: OpenSignature[];\n\t/**\n\t * Return types.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.OpenSignature returns = 9;\n\t */\n\treturns: OpenSignature[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.FunctionDescriptor.Visibility\n */\nexport enum FunctionDescriptor_Visibility {\n\t/**\n\t * @generated from protobuf enum value: VISIBILITY_UNKNOWN = 0;\n\t */\n\tVISIBILITY_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: PRIVATE = 1;\n\t */\n\tPRIVATE = 1,\n\t/**\n\t * @generated from protobuf enum value: PUBLIC = 2;\n\t */\n\tPUBLIC = 2,\n\t/**\n\t * @generated from protobuf enum value: FRIEND = 3;\n\t */\n\tFRIEND = 3,\n}\n/**\n * Representation of a type signature that could appear as a function parameter or return value.\n *\n * @generated from protobuf message sui.rpc.v2.OpenSignature\n */\nexport interface OpenSignature {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.OpenSignature.Reference reference = 1;\n\t */\n\treference?: OpenSignature_Reference;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.OpenSignatureBody body = 2;\n\t */\n\tbody?: OpenSignatureBody;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.OpenSignature.Reference\n */\nexport enum OpenSignature_Reference {\n\t/**\n\t * @generated from protobuf enum value: REFERENCE_UNKNOWN = 0;\n\t */\n\tREFERENCE_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: IMMUTABLE = 1;\n\t */\n\tIMMUTABLE = 1,\n\t/**\n\t * @generated from protobuf enum value: MUTABLE = 2;\n\t */\n\tMUTABLE = 2,\n}\n/**\n * Identifies a struct and the module it was defined in.\n *\n * @generated from protobuf message sui.rpc.v2.TypeOrigin\n */\nexport interface TypeOrigin {\n\t/**\n\t * @generated from protobuf field: optional string module_name = 1;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * @generated from protobuf field: optional string datatype_name = 2;\n\t */\n\tdatatypeName?: string;\n\t/**\n\t * @generated from protobuf field: optional string package_id = 3;\n\t */\n\tpackageId?: string;\n}\n/**\n * Upgraded package info for the linkage table.\n *\n * @generated from protobuf message sui.rpc.v2.Linkage\n */\nexport interface Linkage {\n\t/**\n\t * Id of the original package.\n\t *\n\t * @generated from protobuf field: optional string original_id = 1;\n\t */\n\toriginalId?: string;\n\t/**\n\t * Id of the upgraded package.\n\t *\n\t * @generated from protobuf field: optional string upgraded_id = 2;\n\t */\n\tupgradedId?: string;\n\t/**\n\t * Version of the upgraded package.\n\t *\n\t * @generated from protobuf field: optional uint64 upgraded_version = 3;\n\t */\n\tupgradedVersion?: bigint;\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 */\nexport enum Ability {\n\t/**\n\t * @generated from protobuf enum value: ABILITY_UNKNOWN = 0;\n\t */\n\tABILITY_UNKNOWN = 0,\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\tCOPY = 1,\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\tDROP = 2,\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\tSTORE = 3,\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\tKEY = 4,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Package$Type extends MessageType<Package> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Package', [\n\t\t\t{ no: 1, name: 'storage_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'original_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\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 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'modules', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Module },\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: 1 /*RepeatType.PACKED*/,\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: 1 /*RepeatType.PACKED*/,\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 */\nexport const Package = new Package$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Module$Type extends MessageType<Module> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Module', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'contents', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\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: 1 /*RepeatType.PACKED*/,\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: 1 /*RepeatType.PACKED*/,\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 */\nexport const Module = new Module$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DatatypeDescriptor$Type extends MessageType<DatatypeDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.DatatypeDescriptor', [\n\t\t\t{ no: 1, name: 'type_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'defining_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'module', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\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 /*RepeatType.PACKED*/,\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: 1 /*RepeatType.PACKED*/,\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: 1 /*RepeatType.PACKED*/,\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: 1 /*RepeatType.PACKED*/,\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 */\nexport const DatatypeDescriptor = new DatatypeDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass TypeParameter$Type extends MessageType<TypeParameter> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.TypeParameter', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'constraints',\n\t\t\t\tkind: 'enum',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ['sui.rpc.v2.Ability', Ability],\n\t\t\t},\n\t\t\t{ no: 2, name: 'is_phantom', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.TypeParameter\n */\nexport const TypeParameter = new TypeParameter$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FieldDescriptor$Type extends MessageType<FieldDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.FieldDescriptor', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'position', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'type', kind: 'message', T: () => OpenSignatureBody },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.FieldDescriptor\n */\nexport const FieldDescriptor = new FieldDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VariantDescriptor$Type extends MessageType<VariantDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VariantDescriptor', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'position', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\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: 1 /*RepeatType.PACKED*/,\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 */\nexport const VariantDescriptor = new VariantDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OpenSignatureBody$Type extends MessageType<OpenSignatureBody> {\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{ no: 2, name: 'type_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\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: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => OpenSignatureBody,\n\t\t\t},\n\t\t\t{ no: 4, name: 'type_parameter', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.OpenSignatureBody\n */\nexport const OpenSignatureBody = new OpenSignatureBody$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FunctionDescriptor$Type extends MessageType<FunctionDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.FunctionDescriptor', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\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{ no: 6, name: 'is_entry', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\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: 1 /*RepeatType.PACKED*/,\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: 1 /*RepeatType.PACKED*/,\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: 1 /*RepeatType.PACKED*/,\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 */\nexport const FunctionDescriptor = new FunctionDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OpenSignature$Type extends MessageType<OpenSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.OpenSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'reference',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.OpenSignature.Reference', OpenSignature_Reference],\n\t\t\t},\n\t\t\t{ no: 2, name: 'body', kind: 'message', T: () => OpenSignatureBody },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.OpenSignature\n */\nexport const OpenSignature = new OpenSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass TypeOrigin$Type extends MessageType<TypeOrigin> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.TypeOrigin', [\n\t\t\t{ no: 1, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'datatype_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.TypeOrigin\n */\nexport const TypeOrigin = new TypeOrigin$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Linkage$Type extends MessageType<Linkage> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Linkage', [\n\t\t\t{ no: 1, name: 'original_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'upgraded_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\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 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Linkage\n */\nexport const Linkage = new Linkage$Type();\n"],
|
|
5
|
+
"mappings": "AAWA,SAAS,mBAAmB;AA+JrB,IAAK,kCAAL,kBAAKA,qCAAL;AAIN,EAAAA,kEAAA,2BAAwB,KAAxB;AAIA,EAAAA,kEAAA,YAAS,KAAT;AAIA,EAAAA,kEAAA,UAAO,KAAP;AAZW,SAAAA;AAAA,GAAA;AAqHL,IAAK,yBAAL,kBAAKC,4BAAL;AAIN,EAAAA,gDAAA,kBAAe,KAAf;AAIA,EAAAA,gDAAA,aAAU,KAAV;AAIA,EAAAA,gDAAA,UAAO,KAAP;AAIA,EAAAA,gDAAA,QAAK,KAAL;AAIA,EAAAA,gDAAA,SAAM,KAAN;AAIA,EAAAA,gDAAA,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AA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,UAAU,IAAI,aAAa;",
|
|
6
6
|
"names": ["DatatypeDescriptor_DatatypeKind", "OpenSignatureBody_Type", "FunctionDescriptor_Visibility", "OpenSignature_Reference", "Ability"]
|
|
7
7
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { RpcTransport } from
|
|
2
|
-
import type { ServiceInfo } from
|
|
3
|
-
import type { ListPackageVersionsResponse } from
|
|
4
|
-
import type { ListPackageVersionsRequest } from
|
|
5
|
-
import type { GetFunctionResponse } from
|
|
6
|
-
import type { GetFunctionRequest } from
|
|
7
|
-
import type { GetDatatypeResponse } from
|
|
8
|
-
import type { GetDatatypeRequest } from
|
|
9
|
-
import type { GetPackageResponse } from
|
|
10
|
-
import type { GetPackageRequest } from
|
|
11
|
-
import type { UnaryCall } from
|
|
12
|
-
import type { RpcOptions } from
|
|
1
|
+
import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
|
|
3
|
+
import type { ListPackageVersionsResponse } from './move_package_service.js';
|
|
4
|
+
import type { ListPackageVersionsRequest } from './move_package_service.js';
|
|
5
|
+
import type { GetFunctionResponse } from './move_package_service.js';
|
|
6
|
+
import type { GetFunctionRequest } from './move_package_service.js';
|
|
7
|
+
import type { GetDatatypeResponse } from './move_package_service.js';
|
|
8
|
+
import type { GetDatatypeRequest } from './move_package_service.js';
|
|
9
|
+
import type { GetPackageResponse } from './move_package_service.js';
|
|
10
|
+
import type { GetPackageRequest } from './move_package_service.js';
|
|
11
|
+
import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
|
|
12
|
+
import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
13
13
|
/**
|
|
14
14
|
* @generated from protobuf service sui.rpc.v2.MovePackageService
|
|
15
15
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MovePackageService } from "./move_package_service";
|
|
1
|
+
import { MovePackageService } from "./move_package_service.js";
|
|
2
2
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
3
3
|
class MovePackageServiceClient {
|
|
4
4
|
constructor(_transport) {
|
|
@@ -12,28 +12,52 @@ class MovePackageServiceClient {
|
|
|
12
12
|
*/
|
|
13
13
|
getPackage(input, options) {
|
|
14
14
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
15
|
-
return stackIntercept(
|
|
15
|
+
return stackIntercept(
|
|
16
|
+
"unary",
|
|
17
|
+
this._transport,
|
|
18
|
+
method,
|
|
19
|
+
opt,
|
|
20
|
+
input
|
|
21
|
+
);
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @generated from protobuf rpc: GetDatatype(sui.rpc.v2.GetDatatypeRequest) returns (sui.rpc.v2.GetDatatypeResponse);
|
|
19
25
|
*/
|
|
20
26
|
getDatatype(input, options) {
|
|
21
27
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
22
|
-
return stackIntercept(
|
|
28
|
+
return stackIntercept(
|
|
29
|
+
"unary",
|
|
30
|
+
this._transport,
|
|
31
|
+
method,
|
|
32
|
+
opt,
|
|
33
|
+
input
|
|
34
|
+
);
|
|
23
35
|
}
|
|
24
36
|
/**
|
|
25
37
|
* @generated from protobuf rpc: GetFunction(sui.rpc.v2.GetFunctionRequest) returns (sui.rpc.v2.GetFunctionResponse);
|
|
26
38
|
*/
|
|
27
39
|
getFunction(input, options) {
|
|
28
40
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
29
|
-
return stackIntercept(
|
|
41
|
+
return stackIntercept(
|
|
42
|
+
"unary",
|
|
43
|
+
this._transport,
|
|
44
|
+
method,
|
|
45
|
+
opt,
|
|
46
|
+
input
|
|
47
|
+
);
|
|
30
48
|
}
|
|
31
49
|
/**
|
|
32
50
|
* @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2.ListPackageVersionsRequest) returns (sui.rpc.v2.ListPackageVersionsResponse);
|
|
33
51
|
*/
|
|
34
52
|
listPackageVersions(input, options) {
|
|
35
53
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
36
|
-
return stackIntercept(
|
|
54
|
+
return stackIntercept(
|
|
55
|
+
"unary",
|
|
56
|
+
this._transport,
|
|
57
|
+
method,
|
|
58
|
+
opt,
|
|
59
|
+
input
|
|
60
|
+
);
|
|
37
61
|
}
|
|
38
62
|
}
|
|
39
63
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/move_package_service.client.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/move_package_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 type { RpcTransport } from
|
|
5
|
-
"mappings": "AAaA,SAAS,0BAA0B;AAOnC,SAAS,sBAAsB;
|
|
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/move_package_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 type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { MovePackageService } from './move_package_service.js';\nimport type { ListPackageVersionsResponse } from './move_package_service.js';\nimport type { ListPackageVersionsRequest } from './move_package_service.js';\nimport type { GetFunctionResponse } from './move_package_service.js';\nimport type { GetFunctionRequest } from './move_package_service.js';\nimport type { GetDatatypeResponse } from './move_package_service.js';\nimport type { GetDatatypeRequest } from './move_package_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { GetPackageResponse } from './move_package_service.js';\nimport type { GetPackageRequest } from './move_package_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.MovePackageService\n */\nexport interface IMovePackageServiceClient {\n\t/**\n\t * @generated from protobuf rpc: GetPackage(sui.rpc.v2.GetPackageRequest) returns (sui.rpc.v2.GetPackageResponse);\n\t */\n\tgetPackage(\n\t\tinput: GetPackageRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetPackageRequest, GetPackageResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetDatatype(sui.rpc.v2.GetDatatypeRequest) returns (sui.rpc.v2.GetDatatypeResponse);\n\t */\n\tgetDatatype(\n\t\tinput: GetDatatypeRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetDatatypeRequest, GetDatatypeResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetFunction(sui.rpc.v2.GetFunctionRequest) returns (sui.rpc.v2.GetFunctionResponse);\n\t */\n\tgetFunction(\n\t\tinput: GetFunctionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetFunctionRequest, GetFunctionResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2.ListPackageVersionsRequest) returns (sui.rpc.v2.ListPackageVersionsResponse);\n\t */\n\tlistPackageVersions(\n\t\tinput: ListPackageVersionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.MovePackageService\n */\nexport class MovePackageServiceClient implements IMovePackageServiceClient, ServiceInfo {\n\ttypeName = MovePackageService.typeName;\n\tmethods = MovePackageService.methods;\n\toptions = MovePackageService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: GetPackage(sui.rpc.v2.GetPackageRequest) returns (sui.rpc.v2.GetPackageResponse);\n\t */\n\tgetPackage(\n\t\tinput: GetPackageRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetPackageRequest, GetPackageResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetPackageRequest, GetPackageResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetDatatype(sui.rpc.v2.GetDatatypeRequest) returns (sui.rpc.v2.GetDatatypeResponse);\n\t */\n\tgetDatatype(\n\t\tinput: GetDatatypeRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetDatatypeRequest, GetDatatypeResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetDatatypeRequest, GetDatatypeResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetFunction(sui.rpc.v2.GetFunctionRequest) returns (sui.rpc.v2.GetFunctionResponse);\n\t */\n\tgetFunction(\n\t\tinput: GetFunctionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetFunctionRequest, GetFunctionResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetFunctionRequest, GetFunctionResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2.ListPackageVersionsRequest) returns (sui.rpc.v2.ListPackageVersionsResponse);\n\t */\n\tlistPackageVersions(\n\t\tinput: ListPackageVersionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse> {\n\t\tconst method = this.methods[3],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListPackageVersionsRequest, ListPackageVersionsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],
|
|
5
|
+
"mappings": "AAaA,SAAS,0BAA0B;AAOnC,SAAS,sBAAsB;AAyCxB,MAAM,yBAA2E;AAAA,EAIvF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,mBAAmB;AAC9B,mBAAU,mBAAmB;AAC7B,mBAAU,mBAAmB;AAAA,EAC2B;AAAA;AAAA;AAAA;AAAA,EAIxD,WACC,OACA,SACmD;AACnD,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,YACC,OACA,SACqD;AACrD,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,YACC,OACA,SACqD;AACrD,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,oBACC,OACA,SACqE;AACrE,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AACD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ServiceType } from
|
|
2
|
-
import { MessageType } from
|
|
3
|
-
import { FunctionDescriptor } from
|
|
4
|
-
import { DatatypeDescriptor } from
|
|
5
|
-
import { Package } from
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
import { FunctionDescriptor } from './move_package.js';
|
|
4
|
+
import { DatatypeDescriptor } from './move_package.js';
|
|
5
|
+
import { Package } from './move_package.js';
|
|
6
6
|
/**
|
|
7
7
|
* @generated from protobuf message sui.rpc.v2.GetPackageRequest
|
|
8
8
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
2
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
3
|
-
import { FunctionDescriptor } from "./move_package";
|
|
4
|
-
import { DatatypeDescriptor } from "./move_package";
|
|
5
|
-
import { Package } from "./move_package";
|
|
3
|
+
import { FunctionDescriptor } from "./move_package.js";
|
|
4
|
+
import { DatatypeDescriptor } from "./move_package.js";
|
|
5
|
+
import { Package } from "./move_package.js";
|
|
6
6
|
class GetPackageRequest$Type extends MessageType {
|
|
7
7
|
constructor() {
|
|
8
8
|
super("sui.rpc.v2.GetPackageRequest", [
|
|
@@ -138,7 +138,13 @@ const ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();
|
|
|
138
138
|
class ListPackageVersionsResponse$Type extends MessageType {
|
|
139
139
|
constructor() {
|
|
140
140
|
super("sui.rpc.v2.ListPackageVersionsResponse", [
|
|
141
|
-
{
|
|
141
|
+
{
|
|
142
|
+
no: 1,
|
|
143
|
+
name: "versions",
|
|
144
|
+
kind: "message",
|
|
145
|
+
repeat: 1,
|
|
146
|
+
T: () => PackageVersion
|
|
147
|
+
},
|
|
142
148
|
{
|
|
143
149
|
no: 2,
|
|
144
150
|
name: "next_page_token",
|
|
@@ -169,7 +175,6 @@ class PackageVersion$Type extends MessageType {
|
|
|
169
175
|
opt: true,
|
|
170
176
|
T: 4,
|
|
171
177
|
L: 0
|
|
172
|
-
/*LongType.BIGINT*/
|
|
173
178
|
}
|
|
174
179
|
]);
|
|
175
180
|
}
|
|
@@ -179,7 +184,12 @@ const MovePackageService = new ServiceType("sui.rpc.v2.MovePackageService", [
|
|
|
179
184
|
{ name: "GetPackage", options: {}, I: GetPackageRequest, O: GetPackageResponse },
|
|
180
185
|
{ name: "GetDatatype", options: {}, I: GetDatatypeRequest, O: GetDatatypeResponse },
|
|
181
186
|
{ name: "GetFunction", options: {}, I: GetFunctionRequest, O: GetFunctionResponse },
|
|
182
|
-
{
|
|
187
|
+
{
|
|
188
|
+
name: "ListPackageVersions",
|
|
189
|
+
options: {},
|
|
190
|
+
I: ListPackageVersionsRequest,
|
|
191
|
+
O: ListPackageVersionsResponse
|
|
192
|
+
}
|
|
183
193
|
]);
|
|
184
194
|
export {
|
|
185
195
|
GetDatatypeRequest,
|