@mysten/sui 1.41.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -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/client.d.ts +7 -7
- package/dist/cjs/grpc/client.js +7 -7
- package/dist/cjs/grpc/client.js.map +2 -2
- package/dist/cjs/grpc/core.d.ts +4 -2
- package/dist/cjs/grpc/core.js +19 -22
- package/dist/cjs/grpc/core.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/balance_change.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint.d.ts +19 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +4 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +14 -14
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/effects.d.ts +28 -23
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +15 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/epoch.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +12 -17
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.js +2 -15
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/execution_status.d.ts +44 -44
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +16 -16
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/input.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +88 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.d.ts +16 -16
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.js +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.d.ts +42 -42
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +17 -17
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package.d.ts +48 -48
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +17 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package_service.client.d.ts +10 -10
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package_service.d.ts +23 -23
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +10 -10
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/name_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +14 -14
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object.d.ts +26 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +11 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +78 -65
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +32 -27
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.d.ts +9 -9
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +99 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2/live_data_service.d.ts → v2/state_service.d.ts} +65 -183
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +33 -139
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +38 -38
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +9 -9
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +284 -264
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +103 -159
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/transaction_execution_service.client.d.ts +14 -10
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +14 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +159 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
- 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/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/client.d.ts +7 -7
- package/dist/esm/grpc/client.js +7 -7
- package/dist/esm/grpc/client.js.map +2 -2
- package/dist/esm/grpc/core.d.ts +4 -2
- package/dist/esm/grpc/core.js +19 -22
- package/dist/esm/grpc/core.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/balance_change.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint.d.ts +19 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +4 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +7 -7
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +14 -14
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +4 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/effects.d.ts +28 -23
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +15 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/epoch.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +7 -7
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +12 -17
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.js +3 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/execution_status.d.ts +44 -44
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +16 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/input.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +68 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.d.ts +16 -16
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.js +7 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.d.ts +42 -42
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +17 -17
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package.d.ts +48 -48
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +17 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package_service.client.d.ts +10 -10
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +4 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package_service.d.ts +23 -23
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +10 -10
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/name_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +14 -14
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object.d.ts +26 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +11 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +78 -65
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +32 -27
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.d.ts +9 -9
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +79 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2/live_data_service.d.ts → v2/state_service.d.ts} +65 -183
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +30 -136
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +7 -7
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +38 -38
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +9 -9
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +284 -264
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +101 -157
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/transaction_execution_service.client.d.ts +14 -10
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +14 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +139 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
- 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/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 +3 -3
- 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/client.ts +8 -8
- package/src/grpc/core.ts +48 -34
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.ts +22 -8
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.ts +10 -10
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.ts +19 -19
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.ts +43 -31
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.ts +2 -2
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/event.ts +10 -10
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.ts +15 -33
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.ts +61 -61
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/input.ts +7 -7
- package/src/grpc/proto/sui/rpc/v2/jwk.ts +94 -0
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.ts +17 -17
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.ts +60 -60
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.ts +66 -69
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.ts +11 -11
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.ts +34 -34
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.ts +21 -21
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/object.ts +33 -8
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.ts +105 -102
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.ts +2 -2
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.ts +5 -5
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.ts +13 -13
- package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +161 -0
- package/src/grpc/proto/sui/rpc/{v2beta2/live_data_service.ts → v2/state_service.ts} +91 -268
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.ts +11 -11
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.ts +48 -48
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.ts +349 -387
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.ts +31 -11
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +282 -0
- package/src/jsonRpc/client.ts +2 -17
- package/src/multisig/publickey.ts +14 -14
- 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
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -94
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -92
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -74
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
- package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.client.ts +0 -187
- package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.ts +0 -178
- /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
- /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
- /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
- /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { LiveDataService } from "./live_data_service.js";
|
|
2
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
3
|
-
class LiveDataServiceClient {
|
|
4
|
-
constructor(_transport) {
|
|
5
|
-
this._transport = _transport;
|
|
6
|
-
this.typeName = LiveDataService.typeName;
|
|
7
|
-
this.methods = LiveDataService.methods;
|
|
8
|
-
this.options = LiveDataService.options;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.ListDynamicFieldsResponse);
|
|
12
|
-
*/
|
|
13
|
-
listDynamicFields(input, options) {
|
|
14
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
15
|
-
return stackIntercept(
|
|
16
|
-
"unary",
|
|
17
|
-
this._transport,
|
|
18
|
-
method,
|
|
19
|
-
opt,
|
|
20
|
-
input
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.ListOwnedObjectsResponse);
|
|
25
|
-
*/
|
|
26
|
-
listOwnedObjects(input, options) {
|
|
27
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
28
|
-
return stackIntercept(
|
|
29
|
-
"unary",
|
|
30
|
-
this._transport,
|
|
31
|
-
method,
|
|
32
|
-
opt,
|
|
33
|
-
input
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.GetCoinInfoResponse);
|
|
38
|
-
*/
|
|
39
|
-
getCoinInfo(input, options) {
|
|
40
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
41
|
-
return stackIntercept(
|
|
42
|
-
"unary",
|
|
43
|
-
this._transport,
|
|
44
|
-
method,
|
|
45
|
-
opt,
|
|
46
|
-
input
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @generated from protobuf rpc: GetBalance(sui.rpc.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.GetBalanceResponse);
|
|
51
|
-
*/
|
|
52
|
-
getBalance(input, options) {
|
|
53
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
54
|
-
return stackIntercept(
|
|
55
|
-
"unary",
|
|
56
|
-
this._transport,
|
|
57
|
-
method,
|
|
58
|
-
opt,
|
|
59
|
-
input
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @generated from protobuf rpc: ListBalances(sui.rpc.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.ListBalancesResponse);
|
|
64
|
-
*/
|
|
65
|
-
listBalances(input, options) {
|
|
66
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
67
|
-
return stackIntercept(
|
|
68
|
-
"unary",
|
|
69
|
-
this._transport,
|
|
70
|
-
method,
|
|
71
|
-
opt,
|
|
72
|
-
input
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);
|
|
77
|
-
*/
|
|
78
|
-
simulateTransaction(input, options) {
|
|
79
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
80
|
-
return stackIntercept(
|
|
81
|
-
"unary",
|
|
82
|
-
this._transport,
|
|
83
|
-
method,
|
|
84
|
-
opt,
|
|
85
|
-
input
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
export {
|
|
90
|
-
LiveDataServiceClient
|
|
91
|
-
};
|
|
92
|
-
//# sourceMappingURL=live_data_service.client.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/live_data_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/v2beta2/live_data_service.proto\" (package \"sui.rpc.v2beta2\", 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 { LiveDataService } from './live_data_service.js';\nimport type { SimulateTransactionResponse } from './live_data_service.js';\nimport type { SimulateTransactionRequest } from './live_data_service.js';\nimport type { ListBalancesResponse } from './live_data_service.js';\nimport type { ListBalancesRequest } from './live_data_service.js';\nimport type { GetBalanceResponse } from './live_data_service.js';\nimport type { GetBalanceRequest } from './live_data_service.js';\nimport type { GetCoinInfoResponse } from './live_data_service.js';\nimport type { GetCoinInfoRequest } from './live_data_service.js';\nimport type { ListOwnedObjectsResponse } from './live_data_service.js';\nimport type { ListOwnedObjectsRequest } from './live_data_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { ListDynamicFieldsResponse } from './live_data_service.js';\nimport type { ListDynamicFieldsRequest } from './live_data_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.v2beta2.LiveDataService\n */\nexport interface ILiveDataServiceClient {\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.ListDynamicFieldsResponse);\n\t */\n\tlistDynamicFields(\n\t\tinput: ListDynamicFieldsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.ListOwnedObjectsResponse);\n\t */\n\tlistOwnedObjects(\n\t\tinput: ListOwnedObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.GetCoinInfoResponse);\n\t */\n\tgetCoinInfo(\n\t\tinput: GetCoinInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetBalance(sui.rpc.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.GetBalanceResponse);\n\t */\n\tgetBalance(\n\t\tinput: GetBalanceRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetBalanceRequest, GetBalanceResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListBalances(sui.rpc.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.ListBalancesResponse);\n\t */\n\tlistBalances(\n\t\tinput: ListBalancesRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListBalancesRequest, ListBalancesResponse>;\n\t/**\n\t * @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);\n\t */\n\tsimulateTransaction(\n\t\tinput: SimulateTransactionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<SimulateTransactionRequest, SimulateTransactionResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2beta2.LiveDataService\n */\nexport class LiveDataServiceClient implements ILiveDataServiceClient, ServiceInfo {\n\ttypeName = LiveDataService.typeName;\n\tmethods = LiveDataService.methods;\n\toptions = LiveDataService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.ListDynamicFieldsResponse);\n\t */\n\tlistDynamicFields(\n\t\tinput: ListDynamicFieldsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListDynamicFieldsRequest, ListDynamicFieldsResponse>(\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: ListOwnedObjects(sui.rpc.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.ListOwnedObjectsResponse);\n\t */\n\tlistOwnedObjects(\n\t\tinput: ListOwnedObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListOwnedObjectsRequest, ListOwnedObjectsResponse>(\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: GetCoinInfo(sui.rpc.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.GetCoinInfoResponse);\n\t */\n\tgetCoinInfo(\n\t\tinput: GetCoinInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetCoinInfoRequest, GetCoinInfoResponse>(\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: GetBalance(sui.rpc.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.GetBalanceResponse);\n\t */\n\tgetBalance(\n\t\tinput: GetBalanceRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetBalanceRequest, GetBalanceResponse> {\n\t\tconst method = this.methods[3],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetBalanceRequest, GetBalanceResponse>(\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: ListBalances(sui.rpc.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.ListBalancesResponse);\n\t */\n\tlistBalances(\n\t\tinput: ListBalancesRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListBalancesRequest, ListBalancesResponse> {\n\t\tconst method = this.methods[4],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListBalancesRequest, ListBalancesResponse>(\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: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);\n\t */\n\tsimulateTransaction(\n\t\tinput: SimulateTransactionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<SimulateTransactionRequest, SimulateTransactionResponse> {\n\t\tconst method = this.methods[5],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SimulateTransactionRequest, SimulateTransactionResponse>(\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,uBAAuB;AAWhC,SAAS,sBAAsB;AAuDxB,MAAM,sBAAqE;AAAA,EAIjF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,gBAAgB;AAC3B,mBAAU,gBAAgB;AAC1B,mBAAU,gBAAgB;AAAA,EAC8B;AAAA;AAAA;AAAA;AAAA,EAIxD,kBACC,OACA,SACiE;AACjE,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,iBACC,OACA,SAC+D;AAC/D,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,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,aACC,OACA,SACuD;AACvD,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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/live_data_service.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2beta2/live_data_service.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Value } from '../../../google/protobuf/struct.js';\nimport { Bcs } from './bcs.js';\nimport { Argument } from './argument.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { Transaction } from './transaction.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\n/**\n * Request message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2beta2.GetCoinInfoRequest\n */\nexport interface GetCoinInfoRequest {\n\t/**\n\t * The coin type to request information about\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2beta2.GetCoinInfoResponse\n */\nexport interface GetCoinInfoResponse {\n\t/**\n\t * Required. The coin type.\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::CoinMetadata` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.CoinMetadata metadata = 2;\n\t */\n\tmetadata?: CoinMetadata;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::TreasuryCap` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.CoinTreasury treasury = 3;\n\t */\n\ttreasury?: CoinTreasury;\n\t/**\n\t * If this coin type is a regulated coin, this field will be\n\t * populated with information either from its Currency object\n\t * in the CoinRegistry, or from its `0x2::coin::RegulatedCoinMetadata`\n\t * object for coins that have not been migrated to the CoinRegistry\n\t *\n\t * If this coin is not known to be regulated, only the\n\t * coin_regulated_state field will be populated.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.RegulatedCoinMetadata regulated_metadata = 4;\n\t */\n\tregulatedMetadata?: RegulatedCoinMetadata;\n}\n/**\n * Metadata for a coin type\n *\n * @generated from protobuf message sui.rpc.v2beta2.CoinMetadata\n */\nexport interface CoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::CoinMetadata` object or\n\t * 0x2::sui::coin_registry::Currency object (when registered with CoinRegistry).\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Number of decimal places to coin uses.\n\t *\n\t * @generated from protobuf field: optional uint32 decimals = 2;\n\t */\n\tdecimals?: number;\n\t/**\n\t * Name for the token\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n\t/**\n\t * Symbol for the token\n\t *\n\t * @generated from protobuf field: optional string symbol = 4;\n\t */\n\tsymbol?: string;\n\t/**\n\t * Description of the token\n\t *\n\t * @generated from protobuf field: optional string description = 5;\n\t */\n\tdescription?: string;\n\t/**\n\t * URL for the token logo\n\t *\n\t * @generated from protobuf field: optional string icon_url = 6;\n\t */\n\ticonUrl?: string;\n\t/**\n\t * The MetadataCap ID if it has been claimed for this coin type.\n\t * This capability allows updating the coin's metadata fields.\n\t * Only populated when metadata is from CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string metadata_cap_id = 7;\n\t */\n\tmetadataCapId?: string;\n\t/**\n\t * State of the MetadataCap for this coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.CoinMetadata.MetadataCapState metadata_cap_state = 8;\n\t */\n\tmetadataCapState?: CoinMetadata_MetadataCapState;\n}\n/**\n * Information about the state of the coin's MetadataCap\n *\n * @generated from protobuf enum sui.rpc.v2beta2.CoinMetadata.MetadataCapState\n */\nexport enum CoinMetadata_MetadataCapState {\n\t/**\n\t * Indicates the state of the MetadataCap is unknown.\n\t * Set when the coin has not been migrated to the CoinRegistry.\n\t *\n\t * @generated from protobuf enum value: METADATA_CAP_STATE_UNKNOWN = 0;\n\t */\n\tMETADATA_CAP_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates the MetadataCap has been claimed.\n\t *\n\t * @generated from protobuf enum value: CLAIMED = 1;\n\t */\n\tCLAIMED = 1,\n\t/**\n\t * Indicates the MetadataCap has not been claimed.\n\t *\n\t * @generated from protobuf enum value: UNCLAIMED = 2;\n\t */\n\tUNCLAIMED = 2,\n\t/**\n\t * Indicates the MetadataCap has been deleted.\n\t *\n\t * @generated from protobuf enum value: DELETED = 3;\n\t */\n\tDELETED = 3,\n}\n/**\n * Information about a coin type's `0x2::coin::TreasuryCap` and its total available supply\n *\n * @generated from protobuf message sui.rpc.v2beta2.CoinTreasury\n */\nexport interface CoinTreasury {\n\t/**\n\t * ObjectId of the `0x2::coin::TreasuryCap` object.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Total available supply for this coin type.\n\t *\n\t * @generated from protobuf field: optional uint64 total_supply = 2;\n\t */\n\ttotalSupply?: bigint;\n\t/**\n\t * Supply state indicating if the supply is fixed or can still be minted\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.CoinTreasury.SupplyState supply_state = 3;\n\t */\n\tsupplyState?: CoinTreasury_SupplyState;\n}\n/**\n * Supply state of a coin, matching the Move SupplyState enum\n *\n * @generated from protobuf enum sui.rpc.v2beta2.CoinTreasury.SupplyState\n */\nexport enum CoinTreasury_SupplyState {\n\t/**\n\t * Supply is unknown or TreasuryCap still exists (minting still possible)\n\t *\n\t * @generated from protobuf enum value: SUPPLY_STATE_UNKNOWN = 0;\n\t */\n\tSUPPLY_STATE_UNKNOWN = 0,\n\t/**\n\t * Supply is fixed (TreasuryCap consumed, no more minting possible)\n\t *\n\t * @generated from protobuf enum value: FIXED = 1;\n\t */\n\tFIXED = 1,\n\t/**\n\t * Supply can only decrease (burning allowed, minting not allowed)\n\t *\n\t * @generated from protobuf enum value: BURN_ONLY = 2;\n\t */\n\tBURN_ONLY = 2,\n}\n/**\n * Information about a regulated coin, which indicates that it makes use of the transfer deny list.\n *\n * @generated from protobuf message sui.rpc.v2beta2.RegulatedCoinMetadata\n */\nexport interface RegulatedCoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::RegulatedCoinMetadata` object.\n\t * Only present for coins that have not been migrated to CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The ID of the coin's `CoinMetadata` or `CoinData` object.\n\t *\n\t * @generated from protobuf field: optional string coin_metadata_object = 2;\n\t */\n\tcoinMetadataObject?: string;\n\t/**\n\t * The ID of the coin's `DenyCap` object.\n\t *\n\t * @generated from protobuf field: optional string deny_cap_object = 3;\n\t */\n\tdenyCapObject?: string;\n\t/**\n\t * Whether the coin can be globally paused\n\t *\n\t * @generated from protobuf field: optional bool allow_global_pause = 4;\n\t */\n\tallowGlobalPause?: boolean;\n\t/**\n\t * Variant of the regulated coin metadata\n\t *\n\t * @generated from protobuf field: optional uint32 variant = 5;\n\t */\n\tvariant?: number;\n\t/**\n\t * Indicates the coin's regulated state.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.RegulatedCoinMetadata.CoinRegulatedState coin_regulated_state = 6;\n\t */\n\tcoinRegulatedState?: RegulatedCoinMetadata_CoinRegulatedState;\n}\n/**\n * Indicates the state of the regulation of the coin.\n *\n * @generated from protobuf enum sui.rpc.v2beta2.RegulatedCoinMetadata.CoinRegulatedState\n */\nexport enum RegulatedCoinMetadata_CoinRegulatedState {\n\t/**\n\t * Indicates the regulation state of the coin is unknown.\n\t * This is set when a coin has not been migrated to the\n\t * coin registry and has no `0x2::coin::RegulatedCoinMetadata`\n\t * object.\n\t *\n\t * @generated from protobuf enum value: COIN_REGULATED_STATE_UNKNOWN = 0;\n\t */\n\tCOIN_REGULATED_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates a coin is regulated. RegulatedCoinMetadata will be populated.\n\t *\n\t * @generated from protobuf enum value: REGULATED = 1;\n\t */\n\tREGULATED = 1,\n\t/**\n\t * Indicates a coin is unregulated.\n\t *\n\t * @generated from protobuf enum value: UNREGULATED = 2;\n\t */\n\tUNREGULATED = 2,\n}\n/**\n * Request message for `LiveDataService.GetBalance`.\n *\n * @generated from protobuf message sui.rpc.v2beta2.GetBalanceRequest\n */\nexport interface GetBalanceRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * Required. The type names for the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 2;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `LiveDataService.GetBalance`.\n * Return the total coin balance for one coin type, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2beta2.GetBalanceResponse\n */\nexport interface GetBalanceResponse {\n\t/**\n\t * The balance information for the requested coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Balance balance = 1;\n\t */\n\tbalance?: Balance;\n}\n/**\n * Request message for `LiveDataService.ListBalances`.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ListBalancesRequest\n */\nexport interface ListBalancesRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of balance entries to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListBalances` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListBalances` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * Response message for `LiveDataService.ListBalances`.\n * Return the total coin balance for all coin types, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ListBalancesResponse\n */\nexport interface ListBalancesResponse {\n\t/**\n\t * The list of coin types and their respective balances.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.Balance balances = 1;\n\t */\n\tbalances: Balance[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * Balance information for a specific coin type.\n *\n * @generated from protobuf message sui.rpc.v2beta2.Balance\n */\nexport interface Balance {\n\t/**\n\t * The type of the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * Shows the total balance of the coin in its smallest unit.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 3;\n\t */\n\tbalance?: bigint;\n}\n/**\n * Request message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2beta2.ListDynamicFieldsRequest\n */\nexport interface ListDynamicFieldsRequest {\n\t/**\n\t * Required. The `UID` of the parent, which owns the collections of dynamic fields.\n\t *\n\t * @generated from protobuf field: optional string parent = 1;\n\t */\n\tparent?: string;\n\t/**\n\t * The maximum number of dynamic fields to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListDynamicFields` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListDynamicFields` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `parent,field_id`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2beta2.ListDynamicFieldsResponse\n */\nexport interface ListDynamicFieldsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.DynamicField dynamic_fields = 1;\n\t */\n\tdynamicFields: DynamicField[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.DynamicField\n */\nexport interface DynamicField {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.DynamicField.DynamicFieldKind kind = 1;\n\t */\n\tkind?: DynamicField_DynamicFieldKind;\n\t/**\n\t * ObjectId of this dynamic field's parent.\n\t *\n\t * @generated from protobuf field: optional string parent = 2;\n\t */\n\tparent?: string;\n\t/**\n\t * ObjectId of this dynamic field.\n\t *\n\t * @generated from protobuf field: optional string field_id = 3;\n\t */\n\tfieldId?: string;\n\t/**\n\t * The type of the dynamic field \"name\"\n\t *\n\t * @generated from protobuf field: optional string name_type = 4;\n\t */\n\tnameType?: string;\n\t/**\n\t * The serialized move value of \"name\"\n\t *\n\t * @generated from protobuf field: optional bytes name_value = 5;\n\t */\n\tnameValue?: Uint8Array;\n\t/**\n\t * The type of the dynamic field \"value\".\n\t *\n\t * If this is a dynamic object field then this is the type of the object\n\t * itself (which is a child of this field), otherwise this is the type of the\n\t * value of this field.\n\t *\n\t * @generated from protobuf field: optional string value_type = 6;\n\t */\n\tvalueType?: string;\n\t/**\n\t * The ObjectId of the child object when a child is a dynamic\n\t * object field.\n\t *\n\t * The presence or absence of this field can be used to determine if a child\n\t * is a dynamic field or a dynamic child object\n\t *\n\t * @generated from protobuf field: optional string dynamic_object_id = 7;\n\t */\n\tdynamicObjectId?: string;\n\t/**\n\t * The object itself when a child is a dynamic object field.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Object object = 8;\n\t */\n\tobject?: Object;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.DynamicField.DynamicFieldKind\n */\nexport enum DynamicField_DynamicFieldKind {\n\t/**\n\t * @generated from protobuf enum value: DYNAMIC_FIELD_KIND_UNKNOWN = 0;\n\t */\n\tDYNAMIC_FIELD_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: FIELD = 1;\n\t */\n\tFIELD = 1,\n\t/**\n\t * @generated from protobuf enum value: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.SimulateTransactionRequest\n */\nexport interface SimulateTransactionRequest {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Mask specifying which fields to read.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Specify whether checks should be ENABLED (default) or DISABLED while executing the transaction\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.SimulateTransactionRequest.TransactionChecks checks = 3;\n\t */\n\tchecks?: SimulateTransactionRequest_TransactionChecks;\n\t/**\n\t * Perform gas selection based on a budget estimation and include the\n\t * selected gas payment and budget in the response.\n\t *\n\t * This option will be ignored if `checks` is `DISABLED`.\n\t *\n\t * @generated from protobuf field: optional bool do_gas_selection = 4;\n\t */\n\tdoGasSelection?: boolean;\n}\n/**\n * buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX\n *\n * @generated from protobuf enum sui.rpc.v2beta2.SimulateTransactionRequest.TransactionChecks\n */\nexport enum SimulateTransactionRequest_TransactionChecks {\n\t/**\n\t * @generated from protobuf enum value: ENABLED = 0;\n\t */\n\tENABLED = 0,\n\t/**\n\t * @generated from protobuf enum value: DISABLED = 1;\n\t */\n\tDISABLED = 1,\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.SimulateTransactionResponse\n */\nexport interface SimulateTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.CommandResult outputs = 2;\n\t */\n\toutputs: CommandResult[];\n}\n/**\n * An intermediate result/output from the execution of a single command\n *\n * @generated from protobuf message sui.rpc.v2beta2.CommandResult\n */\nexport interface CommandResult {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.CommandOutput return_values = 1;\n\t */\n\treturnValues: CommandOutput[];\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.CommandOutput mutated_by_ref = 2;\n\t */\n\tmutatedByRef: CommandOutput[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.CommandOutput\n */\nexport interface CommandOutput {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Argument argument = 1;\n\t */\n\targument?: Argument;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Bcs value = 2;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * JSON rendering of the output.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 3;\n\t */\n\tjson?: Value;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ListOwnedObjectsRequest\n */\nexport interface ListOwnedObjectsRequest {\n\t/**\n\t * Required. The address of the account that owns the objects.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of entries return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListOwnedObjects` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListOwnedObjects` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,object_type`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional type filter to limit the types of objects listed.\n\t *\n\t * Providing an object type with no type params will return objects of that\n\t * type with any type parameter, e.g. `0x2::coin::Coin` will return all\n\t * `Coin<T>` objects regardless of the type parameter `T`. Providing a type\n\t * with a type param will retrict the returned objects to only those objects\n\t * that match the provided type parameters, e.g.\n\t * `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.\n\t *\n\t * @generated from protobuf field: optional string object_type = 5;\n\t */\n\tobjectType?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ListOwnedObjectsResponse\n */\nexport interface ListOwnedObjectsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.Object objects = 1;\n\t */\n\tobjects: Object[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoRequest$Type extends MessageType<GetCoinInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetCoinInfoRequest', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetCoinInfoRequest\n */\nexport const GetCoinInfoRequest = new GetCoinInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoResponse$Type extends MessageType<GetCoinInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetCoinInfoResponse', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'metadata', kind: 'message', T: () => CoinMetadata },\n\t\t\t{ no: 3, name: 'treasury', kind: 'message', T: () => CoinTreasury },\n\t\t\t{ no: 4, name: 'regulated_metadata', kind: 'message', T: () => RegulatedCoinMetadata },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetCoinInfoResponse\n */\nexport const GetCoinInfoResponse = new GetCoinInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinMetadata$Type extends MessageType<CoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.CoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'decimals', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'symbol', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 6, name: 'icon_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'metadata_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'metadata_cap_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.CoinMetadata.MetadataCapState', CoinMetadata_MetadataCapState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.CoinMetadata\n */\nexport const CoinMetadata = new CoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinTreasury$Type extends MessageType<CoinTreasury> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.CoinTreasury', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'total_supply',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'supply_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.CoinTreasury.SupplyState', CoinTreasury_SupplyState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.CoinTreasury\n */\nexport const CoinTreasury = new CoinTreasury$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegulatedCoinMetadata$Type extends MessageType<RegulatedCoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.RegulatedCoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'coin_metadata_object',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'deny_cap_object', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'allow_global_pause', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 5, name: 'variant', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'coin_regulated_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2beta2.RegulatedCoinMetadata.CoinRegulatedState',\n\t\t\t\t\tRegulatedCoinMetadata_CoinRegulatedState,\n\t\t\t\t],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.RegulatedCoinMetadata\n */\nexport const RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceRequest$Type extends MessageType<GetBalanceRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetBalanceRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetBalanceRequest\n */\nexport const GetBalanceRequest = new GetBalanceRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceResponse$Type extends MessageType<GetBalanceResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetBalanceResponse', [\n\t\t\t{ no: 1, name: 'balance', kind: 'message', T: () => Balance },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetBalanceResponse\n */\nexport const GetBalanceResponse = new GetBalanceResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesRequest$Type extends MessageType<ListBalancesRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListBalancesRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListBalancesRequest\n */\nexport const ListBalancesRequest = new ListBalancesRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesResponse$Type extends MessageType<ListBalancesResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListBalancesResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balances',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Balance,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListBalancesResponse\n */\nexport const ListBalancesResponse = new ListBalancesResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Balance$Type extends MessageType<Balance> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Balance', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*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.v2beta2.Balance\n */\nexport const Balance = new Balance$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsRequest$Type extends MessageType<ListDynamicFieldsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListDynamicFieldsRequest', [\n\t\t\t{ no: 1, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListDynamicFieldsRequest\n */\nexport const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsResponse$Type extends MessageType<ListDynamicFieldsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListDynamicFieldsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'dynamic_fields',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => DynamicField,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListDynamicFieldsResponse\n */\nexport const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DynamicField$Type extends MessageType<DynamicField> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.DynamicField', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.DynamicField.DynamicFieldKind', DynamicField_DynamicFieldKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'field_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'name_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'name_value', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 6, name: 'value_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'dynamic_object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.DynamicField\n */\nexport const DynamicField = new DynamicField$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionRequest$Type extends MessageType<SimulateTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.SimulateTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'checks',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2beta2.SimulateTransactionRequest.TransactionChecks',\n\t\t\t\t\tSimulateTransactionRequest_TransactionChecks,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 4, name: 'do_gas_selection', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.SimulateTransactionRequest\n */\nexport const SimulateTransactionRequest = new SimulateTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionResponse$Type extends MessageType<SimulateTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.SimulateTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'outputs',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.SimulateTransactionResponse\n */\nexport const SimulateTransactionResponse = new SimulateTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandResult$Type extends MessageType<CommandResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.CommandResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'return_values',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'mutated_by_ref',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.CommandResult\n */\nexport const CommandResult = new CommandResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandOutput$Type extends MessageType<CommandOutput> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.CommandOutput', [\n\t\t\t{ no: 1, name: 'argument', kind: 'message', T: () => Argument },\n\t\t\t{ no: 2, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 3, name: 'json', kind: 'message', T: () => Value },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.CommandOutput\n */\nexport const CommandOutput = new CommandOutput$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsRequest$Type extends MessageType<ListOwnedObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListOwnedObjectsRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{ no: 5, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListOwnedObjectsRequest\n */\nexport const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsResponse$Type extends MessageType<ListOwnedObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListOwnedObjectsResponse', [\n\t\t\t{ no: 1, name: 'objects', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Object },\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListOwnedObjectsResponse\n */\nexport const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.LiveDataService\n */\nexport const LiveDataService = new ServiceType('sui.rpc.v2beta2.LiveDataService', [\n\t{\n\t\tname: 'ListDynamicFields',\n\t\toptions: {},\n\t\tI: ListDynamicFieldsRequest,\n\t\tO: ListDynamicFieldsResponse,\n\t},\n\t{\n\t\tname: 'ListOwnedObjects',\n\t\toptions: {},\n\t\tI: ListOwnedObjectsRequest,\n\t\tO: ListOwnedObjectsResponse,\n\t},\n\t{ name: 'GetCoinInfo', options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },\n\t{ name: 'GetBalance', options: {}, I: GetBalanceRequest, O: GetBalanceResponse },\n\t{ name: 'ListBalances', options: {}, I: ListBalancesRequest, O: ListBalancesResponse },\n\t{\n\t\tname: 'SimulateTransaction',\n\t\toptions: {},\n\t\tI: SimulateTransactionRequest,\n\t\tO: SimulateTransactionResponse,\n\t},\n]);\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,aAAa;AACtB,SAAS,WAAW;AACpB,SAAS,gBAAgB;AACzB,SAAS,2BAA2B;AACpC,SAAS,mBAAmB;AAC5B,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAoHnB,IAAK,gCAAL,kBAAKA,mCAAL;AAON,EAAAA,8DAAA,gCAA6B,KAA7B;AAMA,EAAAA,8DAAA,aAAU,KAAV;AAMA,EAAAA,8DAAA,eAAY,KAAZ;AAMA,EAAAA,8DAAA,aAAU,KAAV;AAzBW,SAAAA;AAAA,GAAA;AAyDL,IAAK,2BAAL,kBAAKC,8BAAL;AAMN,EAAAA,oDAAA,0BAAuB,KAAvB;AAMA,EAAAA,oDAAA,WAAQ,KAAR;AAMA,EAAAA,oDAAA,eAAY,KAAZ;AAlBW,SAAAA;AAAA,GAAA;AAqEL,IAAK,2CAAL,kBAAKC,8CAAL;AASN,EAAAA,oFAAA,kCAA+B,KAA/B;AAMA,EAAAA,oFAAA,eAAY,KAAZ;AAMA,EAAAA,oFAAA,iBAAc,KAAd;AArBW,SAAAA;AAAA,GAAA;AAuPL,IAAK,gCAAL,kBAAKC,mCAAL;AAIN,EAAAA,8DAAA,gCAA6B,KAA7B;AAIA,EAAAA,8DAAA,WAAQ,KAAR;AAIA,EAAAA,8DAAA,YAAS,KAAT;AAZW,SAAAA;AAAA,GAAA;AAiDL,IAAK,+CAAL,kBAAKC,kDAAL;AA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B,IAAI,YAAY,mCAAmC;AAAA,EACjF;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AAAA,EACA,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,gBAAgB,SAAS,CAAC,GAAG,GAAG,qBAAqB,GAAG,qBAAqB;AAAA,EACrF;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
|
|
6
|
-
"names": ["CoinMetadata_MetadataCapState", "CoinTreasury_SupplyState", "RegulatedCoinMetadata_CoinRegulatedState", "DynamicField_DynamicFieldKind", "SimulateTransactionRequest_TransactionChecks"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/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/v2beta2/move_package.proto\" (package \"sui.rpc.v2beta2\", 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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.Linkage linkage = 6;\n\t */\n\tlinkage: Linkage[];\n}\n/**\n * A Move Module.\n *\n * @generated from protobuf message sui.rpc.v2beta2.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.v2beta2.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.v2beta2.FunctionDescriptor functions = 4;\n\t */\n\tfunctions: FunctionDescriptor[];\n}\n/**\n * Describes a Move Datatype.\n *\n * @generated from protobuf message sui.rpc.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.VariantDescriptor variants = 9;\n\t */\n\tvariants: VariantDescriptor[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.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.v2beta2.TypeParameter\n */\nexport interface TypeParameter {\n\t/**\n\t * The type parameter constraints\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.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.v2beta2.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.v2beta2.OpenSignatureBody type = 3;\n\t */\n\ttype?: OpenSignatureBody;\n}\n/**\n * Descriptor of an enum variant\n *\n * @generated from protobuf message sui.rpc.v2beta2.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.v2beta2.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.v2beta2.OpenSignatureBody\n */\nexport interface OpenSignatureBody {\n\t/**\n\t * Type of this signature\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.OpenSignature returns = 9;\n\t */\n\treturns: OpenSignature[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.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.v2beta2.OpenSignature\n */\nexport interface OpenSignature {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.OpenSignature.Reference reference = 1;\n\t */\n\treference?: OpenSignature_Reference;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.OpenSignatureBody body = 2;\n\t */\n\tbody?: OpenSignatureBody;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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: () => [\n\t\t\t\t\t'sui.rpc.v2beta2.DatatypeDescriptor.DatatypeKind',\n\t\t\t\t\tDatatypeDescriptor_DatatypeKind,\n\t\t\t\t],\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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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,SAAM,KAAN;AAIA,EAAAA,gDAAA,SAAM,KAAN;AAIA,EAAAA,gDAAA,UAAO,KAAP;AAIA,EAAAA,gDAAA,UAAO,KAAP;AAIA,EAAAA,gDAAA,YAAS,KAAT;AAIA,EAAAA,gDAAA,cAAW,MAAX;AAIA,EAAAA,gDAAA,oBAAiB,MAAjB;AAhDW,SAAAA;AAAA,GAAA;AAgGL,IAAK,gCAAL,kBAAKC,mCAAL;AAIN,EAAAA,8DAAA,wBAAqB,KAArB;AAIA,EAAAA,8DAAA,aAAU,KAAV;AAIA,EAAAA,8DAA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Descriptor_Visibility", "OpenSignature_Reference", "Ability"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/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/v2beta2/move_package_service.proto\" (package \"sui.rpc.v2beta2\", 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.v2beta2.MovePackageService\n */\nexport interface IMovePackageServiceClient {\n\t/**\n\t * @generated from protobuf rpc: GetPackage(sui.rpc.v2beta2.GetPackageRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetDatatypeRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetFunctionRequest) returns (sui.rpc.v2beta2.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.v2beta2.ListPackageVersionsRequest) returns (sui.rpc.v2beta2.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.v2beta2.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.v2beta2.GetPackageRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetDatatypeRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetFunctionRequest) returns (sui.rpc.v2beta2.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.v2beta2.ListPackageVersionsRequest) returns (sui.rpc.v2beta2.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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/move_package_service.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2beta2/move_package_service.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { FunctionDescriptor } from './move_package.js';\nimport { DatatypeDescriptor } from './move_package.js';\nimport { Package } from './move_package.js';\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetPackageRequest\n */\nexport interface GetPackageRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetPackageResponse\n */\nexport interface GetPackageResponse {\n\t/**\n\t * The package.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Package package = 1;\n\t */\n\tpackage?: Package;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetDatatypeRequest\n */\nexport interface GetDatatypeRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested datatype.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetDatatypeResponse\n */\nexport interface GetDatatypeResponse {\n\t/**\n\t * The datatype.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.DatatypeDescriptor datatype = 1;\n\t */\n\tdatatype?: DatatypeDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetFunctionRequest\n */\nexport interface GetFunctionRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested function.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetFunctionResponse\n */\nexport interface GetFunctionResponse {\n\t/**\n\t * The function.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.FunctionDescriptor function = 1;\n\t */\n\tfunction?: FunctionDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ListPackageVersionsRequest\n */\nexport interface ListPackageVersionsRequest {\n\t/**\n\t * Required. The `storage_id` of any version of the package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The maximum number of versions to return. The service may return fewer than this value.\n\t * If unspecified, at most `1000` entries will be returned.\n\t * The maximum value is `10000`; values above `10000` will be coerced to `10000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListPackageVersions` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListPackageVersions` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ListPackageVersionsResponse\n */\nexport interface ListPackageVersionsResponse {\n\t/**\n\t * List of all package versions, ordered by version.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.PackageVersion versions = 1;\n\t */\n\tversions: PackageVersion[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * A simplified representation of a package version\n *\n * @generated from protobuf message sui.rpc.v2beta2.PackageVersion\n */\nexport interface PackageVersion {\n\t/**\n\t * The storage ID of this package version\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The version number\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageRequest$Type extends MessageType<GetPackageRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetPackageRequest', [\n\t\t\t{ no: 1, 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.v2beta2.GetPackageRequest\n */\nexport const GetPackageRequest = new GetPackageRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageResponse$Type extends MessageType<GetPackageResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetPackageResponse', [\n\t\t\t{ no: 1, name: 'package', kind: 'message', T: () => Package },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetPackageResponse\n */\nexport const GetPackageResponse = new GetPackageResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeRequest$Type extends MessageType<GetDatatypeRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetDatatypeRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetDatatypeRequest\n */\nexport const GetDatatypeRequest = new GetDatatypeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeResponse$Type extends MessageType<GetDatatypeResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetDatatypeResponse', [\n\t\t\t{ no: 1, name: 'datatype', kind: 'message', T: () => DatatypeDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetDatatypeResponse\n */\nexport const GetDatatypeResponse = new GetDatatypeResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionRequest$Type extends MessageType<GetFunctionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetFunctionRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetFunctionRequest\n */\nexport const GetFunctionRequest = new GetFunctionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionResponse$Type extends MessageType<GetFunctionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetFunctionResponse', [\n\t\t\t{ no: 1, name: 'function', kind: 'message', T: () => FunctionDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetFunctionResponse\n */\nexport const GetFunctionResponse = new GetFunctionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsRequest$Type extends MessageType<ListPackageVersionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListPackageVersionsRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListPackageVersionsRequest\n */\nexport const ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsResponse$Type extends MessageType<ListPackageVersionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListPackageVersionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'versions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => PackageVersion,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListPackageVersionsResponse\n */\nexport const ListPackageVersionsResponse = new ListPackageVersionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PackageVersion$Type extends MessageType<PackageVersion> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.PackageVersion', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*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.v2beta2.PackageVersion\n */\nexport const PackageVersion = new PackageVersion$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.MovePackageService\n */\nexport const MovePackageService = new ServiceType('sui.rpc.v2beta2.MovePackageService', [\n\t{ name: 'GetPackage', options: {}, I: GetPackageRequest, O: GetPackageResponse },\n\t{ name: 'GetDatatype', options: {}, I: GetDatatypeRequest, O: GetDatatypeResponse },\n\t{ name: 'GetFunction', options: {}, I: GetFunctionRequest, O: GetFunctionResponse },\n\t{\n\t\tname: 'ListPackageVersions',\n\t\toptions: {},\n\t\tI: ListPackageVersionsRequest,\n\t\tO: ListPackageVersionsResponse,\n\t},\n]);\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,0BAA0B;AACnC,SAAS,0BAA0B;AACnC,SAAS,eAAe;AA8JxB,MAAM,+BAA+B,YAA+B;AAAA,EACnE,cAAc;AACb,UAAM,qCAAqC;AAAA,MAC1C;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAc,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACpF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,oBAAoB,IAAI,uBAAuB;AAE5D,MAAM,gCAAgC,YAAgC;AAAA,EACrE,cAAc;AACb,UAAM,sCAAsC;AAAA,MAC3C,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,GAAG,MAAM,QAAQ;AAAA,IAC7D,CAAC;AAAA,EACF;AACD;AAIO,MAAM,qBAAqB,IAAI,wBAAwB;AAE9D,MAAM,gCAAgC,YAAgC;AAAA,EACrE,cAAc;AACb,UAAM,sCAAsC;AAAA,MAC3C;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAc,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACnF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpF;AAAA,Q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AAmB;AAAA,EAC/E,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/name_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/v2beta2/name_service.proto\" (package \"sui.rpc.v2beta2\", 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 { NameService } from './name_service.js';\nimport type { ReverseLookupNameResponse } from './name_service.js';\nimport type { ReverseLookupNameRequest } from './name_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { LookupNameResponse } from './name_service.js';\nimport type { LookupNameRequest } from './name_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.v2beta2.NameService\n */\nexport interface INameServiceClient {\n\t/**\n\t * @generated from protobuf rpc: LookupName(sui.rpc.v2beta2.LookupNameRequest) returns (sui.rpc.v2beta2.LookupNameResponse);\n\t */\n\tlookupName(\n\t\tinput: LookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<LookupNameRequest, LookupNameResponse>;\n\t/**\n\t * @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2beta2.ReverseLookupNameRequest) returns (sui.rpc.v2beta2.ReverseLookupNameResponse);\n\t */\n\treverseLookupName(\n\t\tinput: ReverseLookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2beta2.NameService\n */\nexport class NameServiceClient implements INameServiceClient, ServiceInfo {\n\ttypeName = NameService.typeName;\n\tmethods = NameService.methods;\n\toptions = NameService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: LookupName(sui.rpc.v2beta2.LookupNameRequest) returns (sui.rpc.v2beta2.LookupNameResponse);\n\t */\n\tlookupName(\n\t\tinput: LookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<LookupNameRequest, LookupNameResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<LookupNameRequest, LookupNameResponse>(\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: ReverseLookupName(sui.rpc.v2beta2.ReverseLookupNameRequest) returns (sui.rpc.v2beta2.ReverseLookupNameResponse);\n\t */\n\treverseLookupName(\n\t\tinput: ReverseLookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ReverseLookupNameRequest, ReverseLookupNameResponse>(\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,mBAAmB;AAG5B,SAAS,sBAAsB;AA2BxB,MAAM,kBAA6D;AAAA,EAIzE,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,YAAY;AACvB,mBAAU,YAAY;AACtB,mBAAU,YAAY;AAAA,EACkC;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,kBACC,OACA,SACiE;AACjE,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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/name_service.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2beta2/name_service.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2beta2.LookupNameRequest\n */\nexport interface LookupNameRequest {\n\t/**\n\t * Required. The SuiNS name to lookup.\n\t *\n\t * Supports both `@name` as well as `name.sui` formats.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.LookupNameResponse\n */\nexport interface LookupNameResponse {\n\t/**\n\t * The record for the requested name\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.NameRecord record = 1;\n\t */\n\trecord?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ReverseLookupNameRequest\n */\nexport interface ReverseLookupNameRequest {\n\t/**\n\t * Required. The address to perform a reverse lookup for.\n\t *\n\t * @generated from protobuf field: optional string address = 1;\n\t */\n\taddress?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ReverseLookupNameResponse\n */\nexport interface ReverseLookupNameResponse {\n\t/**\n\t * The record for the SuiNS name linked to the requested address\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.NameRecord record = 1;\n\t */\n\trecord?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.NameRecord\n */\nexport interface NameRecord {\n\t/**\n\t * Id of this record.\n\t *\n\t * Note that records are stored on chain as dynamic fields of the type\n\t * `Field<Domain,NameRecord>`.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The SuiNS name of this record\n\t *\n\t * @generated from protobuf field: optional string name = 2;\n\t */\n\tname?: string;\n\t/**\n\t * The ID of the `RegistrationNFT` assigned to this record.\n\t *\n\t * The owner of the corrisponding `RegistrationNFT` has the rights to\n\t * be able to change and adjust the `target_address` of this domain.\n\t *\n\t * It is possible that the ID changes if the record expires and is\n\t * purchased by someone else.\n\t *\n\t * @generated from protobuf field: optional string registration_nft_id = 3;\n\t */\n\tregistrationNftId?: string;\n\t/**\n\t * Timestamp when the record expires.\n\t *\n\t * This is either the expiration of the record itself or the expiration of\n\t * this record's parent if this is a leaf record.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp expiration_timestamp = 4;\n\t */\n\texpirationTimestamp?: Timestamp;\n\t/**\n\t * The target address that this name points to\n\t *\n\t * @generated from protobuf field: optional string target_address = 5;\n\t */\n\ttargetAddress?: string;\n\t/**\n\t * Additional data which may be stored in a record\n\t *\n\t * @generated from protobuf field: map<string, string> data = 6;\n\t */\n\tdata: {\n\t\t[key: string]: string;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameRequest$Type extends MessageType<LookupNameRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.LookupNameRequest', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.LookupNameRequest\n */\nexport const LookupNameRequest = new LookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameResponse$Type extends MessageType<LookupNameResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.LookupNameResponse', [\n\t\t\t{ no: 1, name: 'record', kind: 'message', T: () => NameRecord },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.LookupNameResponse\n */\nexport const LookupNameResponse = new LookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameRequest$Type extends MessageType<ReverseLookupNameRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ReverseLookupNameRequest', [\n\t\t\t{ no: 1, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ReverseLookupNameRequest\n */\nexport const ReverseLookupNameRequest = new ReverseLookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameResponse$Type extends MessageType<ReverseLookupNameResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ReverseLookupNameResponse', [\n\t\t\t{ no: 1, name: 'record', kind: 'message', T: () => NameRecord },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ReverseLookupNameResponse\n */\nexport const ReverseLookupNameResponse = new ReverseLookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NameRecord$Type extends MessageType<NameRecord> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.NameRecord', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'registration_nft_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'expiration_timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{ no: 5, name: 'target_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'data',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.NameRecord\n */\nexport const NameRecord = new NameRecord$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.NameService\n */\nexport const NameService = new ServiceType('sui.rpc.v2beta2.NameService', [\n\t{ name: 'LookupName', options: {}, I: LookupNameRequest, O: LookupNameResponse },\n\t{\n\t\tname: 'ReverseLookupName',\n\t\toptions: {},\n\t\tI: ReverseLookupNameRequest,\n\t\tO: ReverseLookupNameResponse,\n\t},\n]);\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SA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,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC7E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAuB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC5F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,MAC3E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAkB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACvF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAwB;AAAA,MACjD;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,aAAa,IAAI,gBAAgB;AAIvC,MAAM,cAAc,IAAI,YAAY,+BAA+B;AAAA,EACzE,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/object.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/v2beta2/object.proto\" (package \"sui.rpc.v2beta2\", 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';\nimport { Value } from '../../../google/protobuf/struct.js';\nimport { Package } from './move_package.js';\nimport { Owner } from './owner.js';\nimport { Bcs } from './bcs.js';\n/**\n * An object on the Sui blockchain.\n *\n * @generated from protobuf message sui.rpc.v2beta2.Object\n */\nexport interface Object {\n\t/**\n\t * This Object serialized as BCS.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * `ObjectId` for this object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 2;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Version of the object.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The digest of this Object.\n\t *\n\t * @generated from protobuf field: optional string digest = 4;\n\t */\n\tdigest?: string;\n\t/**\n\t * Owner of the object.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Owner owner = 5;\n\t */\n\towner?: Owner;\n\t/**\n\t * The type of this object.\n\t *\n\t * This will be 'package' for packages and a StructTag for move structs.\n\t *\n\t * @generated from protobuf field: optional string object_type = 6;\n\t */\n\tobjectType?: string;\n\t/**\n\t * DEPRECATED this field is no longer used to determine whether a tx can transfer this\n\t * object. Instead, it is always calculated from the objects type when loaded in execution.\n\t *\n\t * Only set for Move structs\n\t *\n\t * @generated from protobuf field: optional bool has_public_transfer = 7;\n\t */\n\thasPublicTransfer?: boolean;\n\t/**\n\t * BCS bytes of a Move struct value.\n\t *\n\t * Only set for Move structs\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Bcs contents = 8;\n\t */\n\tcontents?: Bcs;\n\t/**\n\t * Package information for Move Packages\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Package package = 9;\n\t */\n\tpackage?: Package;\n\t/**\n\t * The digest of the transaction that created or last mutated this object\n\t *\n\t * @generated from protobuf field: optional string previous_transaction = 10;\n\t */\n\tpreviousTransaction?: string;\n\t/**\n\t * The amount of SUI to rebate if this object gets deleted.\n\t * This number is re-calculated each time the object is mutated based on\n\t * the present storage gas price.\n\t *\n\t * @generated from protobuf field: optional uint64 storage_rebate = 11;\n\t */\n\tstorageRebate?: bigint;\n\t/**\n\t * JSON rendering of the object.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 100;\n\t */\n\tjson?: Value;\n\t/**\n\t * Current balance if this object is a `0x2::coin::Coin<T>`\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 101;\n\t */\n\tbalance?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Object$Type extends MessageType<Object> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Object', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'object_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: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'owner', kind: 'message', T: () => Owner },\n\t\t\t{ no: 6, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'has_public_transfer', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 8, name: 'contents', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 9, name: 'package', kind: 'message', T: () => Package },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'previous_transaction',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'storage_rebate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 100, name: 'json', kind: 'message', T: () => Value },\n\t\t\t{\n\t\t\t\tno: 101,\n\t\t\t\tname: 'balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*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.v2beta2.Object\n */\nexport const Object = new Object$Type();\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,aAAa;AACtB,SAAS,eAAe;AACxB,SAAS,aAAa;AACtB,SAAS,WAAW;AAgGpB,MAAM,oBAAoB,YAAoB;AAAA,EAC7C,cAAc;AACb,UAAM,0BAA0B;AAAA,MAC/B,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,MAAM,IAAI;AAAA,MACpD;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC/E,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,MAAM,MAAM;AAAA,MACxD;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAuB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC1F,EAAE,IAAI,GAAG,MAAM,YAAY,MAAM,WAAW,GAAG,MAAM,IAAI;AAAA,MACzD,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,GAAG,MAAM,QAAQ;AAAA,MAC5D;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,KAAK,MAAM,QAAQ,MAAM,WAAW,GAAG,MAAM,MAAM;AAAA,MACzD;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,SAAS,IAAI,YAAY;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/object_reference.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/v2beta2/object_reference.proto\" (package \"sui.rpc.v2beta2\", 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 * Reference to an object.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ObjectReference\n */\nexport interface ObjectReference {\n\t/**\n\t * The object id of this object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * The version of this object.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The digest of this object.\n\t *\n\t * @generated from protobuf field: optional string digest = 3;\n\t */\n\tdigest?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ObjectReference$Type extends MessageType<ObjectReference> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ObjectReference', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ObjectReference\n */\nexport const ObjectReference = new ObjectReference$Type();\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AA2B5B,MAAM,6BAA6B,YAA6B;AAAA,EAC/D,cAAc;AACb,UAAM,mCAAmC;AAAA,MACxC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IAChF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,kBAAkB,IAAI,qBAAqB;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/owner.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/v2beta2/owner.proto\" (package \"sui.rpc.v2beta2\", 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 * Enum of different types of ownership for an object.\n *\n * @generated from protobuf message sui.rpc.v2beta2.Owner\n */\nexport interface Owner {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Owner.OwnerKind kind = 1;\n\t */\n\tkind?: Owner_OwnerKind;\n\t/**\n\t * Address or ObjectId of the owner\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * The `initial_shared_version` if kind is `SHARED` or `start_version` if kind `CONSENSUS_ADDRESS`.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.Owner.OwnerKind\n */\nexport enum Owner_OwnerKind {\n\t/**\n\t * @generated from protobuf enum value: OWNER_KIND_UNKNOWN = 0;\n\t */\n\tOWNER_KIND_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: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n\t/**\n\t * @generated from protobuf enum value: SHARED = 3;\n\t */\n\tSHARED = 3,\n\t/**\n\t * @generated from protobuf enum value: IMMUTABLE = 4;\n\t */\n\tIMMUTABLE = 4,\n\t/**\n\t * @generated from protobuf enum value: CONSENSUS_ADDRESS = 5;\n\t */\n\tCONSENSUS_ADDRESS = 5,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Owner$Type extends MessageType<Owner> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Owner', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.Owner.OwnerKind', Owner_OwnerKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'address', 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]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.Owner\n */\nexport const Owner = new Owner$Type();\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AA2BrB,IAAK,kBAAL,kBAAKA,qBAAL;AAIN,EAAAA,kCAAA,wBAAqB,KAArB;AAIA,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,uBAAoB,KAApB;AAxBW,SAAAA;AAAA,GAAA;AA2BZ,MAAM,mBAAmB,YAAmB;AAAA,EAC3C,cAAc;AACb,UAAM,yBAAyB;AAAA,MAC9B;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG,MAAM,CAAC,mCAAmC,eAAe;AAAA,MAC7D;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAChF;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,QAAQ,IAAI,WAAW;",
|
|
6
|
-
"names": ["Owner_OwnerKind"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/protocol_config.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/v2beta2/protocol_config.proto\" (package \"sui.rpc.v2beta2\", 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 * @generated from protobuf message sui.rpc.v2beta2.ProtocolConfig\n */\nexport interface ProtocolConfig {\n\t/**\n\t * @generated from protobuf field: optional uint64 protocol_version = 1;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * @generated from protobuf field: map<string, bool> feature_flags = 2;\n\t */\n\tfeatureFlags: {\n\t\t[key: string]: boolean;\n\t};\n\t/**\n\t * @generated from protobuf field: map<string, string> attributes = 3;\n\t */\n\tattributes: {\n\t\t[key: string]: string;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProtocolConfig$Type extends MessageType<ProtocolConfig> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ProtocolConfig', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'feature_flags',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 8 /*ScalarType.BOOL*/ },\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'attributes',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ProtocolConfig\n */\nexport const ProtocolConfig = new ProtocolConfig$Type();\n"],
|
|
5
|
-
"mappings": "AAWA,SAAS,mBAAmB;AAuB5B,MAAM,4BAA4B,YAA4B;AAAA,EAC7D,cAAc;AACb,UAAM,kCAAkC;AAAA,MACvC;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAsB;AAAA,MAC/C;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAwB;AAAA,MACjD;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,iBAAiB,IAAI,oBAAoB;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|