@mysten/sui 1.42.0 → 1.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/cjs/bcs/bcs.d.ts +47 -111
- package/dist/cjs/bcs/bcs.js +17 -17
- package/dist/cjs/bcs/bcs.js.map +2 -2
- package/dist/cjs/bcs/effects.d.ts +2 -6
- package/dist/cjs/bcs/effects.js +1 -1
- package/dist/cjs/bcs/effects.js.map +2 -2
- package/dist/cjs/bcs/index.d.ts +49 -117
- package/dist/cjs/bcs/type-tag-serializer.d.ts +1 -0
- package/dist/cjs/bcs/type-tag-serializer.js +5 -1
- package/dist/cjs/bcs/type-tag-serializer.js.map +2 -2
- package/dist/cjs/cryptography/intent.js +1 -1
- package/dist/cjs/cryptography/intent.js.map +2 -2
- package/dist/cjs/cryptography/keypair.js +1 -1
- package/dist/cjs/cryptography/keypair.js.map +2 -2
- package/dist/cjs/cryptography/publickey.js +1 -1
- package/dist/cjs/cryptography/publickey.js.map +2 -2
- package/dist/cjs/cryptography/signature.d.ts +2 -2
- package/dist/cjs/experimental/client.js +0 -4
- package/dist/cjs/experimental/client.js.map +2 -2
- package/dist/cjs/experimental/types.d.ts +1 -7
- package/dist/cjs/experimental/types.js.map +1 -1
- package/dist/cjs/graphql/generated/queries.d.ts +1 -1
- package/dist/cjs/graphql/generated/queries.js.map +1 -1
- package/dist/cjs/grpc/core.d.ts +3 -1
- package/dist/cjs/grpc/core.js +5 -3
- package/dist/cjs/grpc/core.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
- package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
- package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
- package/dist/cjs/grpc/proto/google/protobuf/duration.js +8 -12
- package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
- package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +8 -7
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
- package/dist/cjs/grpc/proto/google/protobuf/struct.js +29 -17
- package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +21 -18
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
- package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
- package/dist/cjs/grpc/proto/google/rpc/error_details.js +40 -11
- package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
- package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
- package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
- package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +7 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +65 -19
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +4 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +8 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +126 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +18 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +4 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +7 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +73 -17
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +60 -14
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +26 -59
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +210 -71
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
- package/dist/cjs/jsonRpc/client.d.ts +2 -6
- package/dist/cjs/jsonRpc/client.js +0 -8
- package/dist/cjs/jsonRpc/client.js.map +2 -2
- package/dist/cjs/keypairs/passkey/publickey.d.ts +1 -1
- package/dist/cjs/multisig/publickey.d.ts +10 -10
- package/dist/cjs/multisig/publickey.js +2 -2
- package/dist/cjs/multisig/publickey.js.map +2 -2
- package/dist/cjs/transactions/Transaction.d.ts +2 -2
- package/dist/cjs/transactions/Transaction.js.map +2 -2
- package/dist/cjs/transactions/TransactionData.d.ts +1 -0
- package/dist/cjs/transactions/TransactionData.js +71 -0
- package/dist/cjs/transactions/TransactionData.js.map +3 -3
- package/dist/cjs/transactions/serializer.js +1 -1
- package/dist/cjs/transactions/serializer.js.map +2 -2
- package/dist/cjs/utils/index.d.ts +1 -0
- package/dist/cjs/utils/index.js +2 -0
- package/dist/cjs/utils/index.js.map +2 -2
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +2 -2
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/zklogin/bcs.d.ts +1 -3
- package/dist/cjs/zklogin/bcs.js +1 -1
- package/dist/cjs/zklogin/bcs.js.map +2 -2
- package/dist/cjs/zklogin/publickey.d.ts +1 -1
- package/dist/cjs/zklogin/signature.d.ts +1 -1
- package/dist/esm/bcs/bcs.d.ts +47 -111
- package/dist/esm/bcs/bcs.js +17 -17
- package/dist/esm/bcs/bcs.js.map +2 -2
- package/dist/esm/bcs/effects.d.ts +2 -6
- package/dist/esm/bcs/effects.js +1 -1
- package/dist/esm/bcs/effects.js.map +2 -2
- package/dist/esm/bcs/index.d.ts +49 -117
- package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
- package/dist/esm/bcs/type-tag-serializer.js +5 -1
- package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
- package/dist/esm/cryptography/intent.js +1 -1
- package/dist/esm/cryptography/intent.js.map +2 -2
- package/dist/esm/cryptography/keypair.js +1 -1
- package/dist/esm/cryptography/keypair.js.map +2 -2
- package/dist/esm/cryptography/publickey.js +1 -1
- package/dist/esm/cryptography/publickey.js.map +2 -2
- package/dist/esm/cryptography/signature.d.ts +2 -2
- package/dist/esm/experimental/client.js +0 -4
- package/dist/esm/experimental/client.js.map +2 -2
- package/dist/esm/experimental/types.d.ts +1 -7
- package/dist/esm/graphql/generated/queries.d.ts +1 -1
- package/dist/esm/graphql/generated/queries.js.map +1 -1
- package/dist/esm/grpc/core.d.ts +3 -1
- package/dist/esm/grpc/core.js +5 -3
- package/dist/esm/grpc/core.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
- package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
- package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
- package/dist/esm/grpc/proto/google/protobuf/duration.js +8 -12
- package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
- package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js +8 -7
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
- package/dist/esm/grpc/proto/google/protobuf/struct.js +29 -17
- package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
- package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js +21 -18
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
- package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
- package/dist/esm/grpc/proto/google/rpc/error_details.js +40 -11
- package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
- package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
- package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
- package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +7 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +65 -19
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +4 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js +8 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +126 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +18 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js +4 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +7 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +73 -17
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +60 -14
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +26 -59
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +210 -71
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
- package/dist/esm/jsonRpc/client.d.ts +2 -6
- package/dist/esm/jsonRpc/client.js +0 -8
- package/dist/esm/jsonRpc/client.js.map +2 -2
- package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
- package/dist/esm/multisig/publickey.d.ts +10 -10
- package/dist/esm/multisig/publickey.js +2 -2
- package/dist/esm/multisig/publickey.js.map +2 -2
- package/dist/esm/transactions/Transaction.d.ts +2 -2
- package/dist/esm/transactions/Transaction.js.map +2 -2
- package/dist/esm/transactions/TransactionData.d.ts +1 -0
- package/dist/esm/transactions/TransactionData.js +71 -0
- package/dist/esm/transactions/TransactionData.js.map +3 -3
- package/dist/esm/transactions/serializer.js +1 -1
- package/dist/esm/transactions/serializer.js.map +2 -2
- package/dist/esm/utils/index.d.ts +1 -0
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/index.js.map +2 -2
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +2 -2
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/zklogin/bcs.d.ts +1 -3
- package/dist/esm/zklogin/bcs.js +1 -1
- package/dist/esm/zklogin/bcs.js.map +2 -2
- package/dist/esm/zklogin/publickey.d.ts +1 -1
- package/dist/esm/zklogin/signature.d.ts +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/bcs/bcs.ts +17 -17
- package/src/bcs/effects.ts +1 -1
- package/src/bcs/type-tag-serializer.ts +4 -0
- package/src/cryptography/intent.ts +1 -1
- package/src/cryptography/keypair.ts +1 -1
- package/src/cryptography/publickey.ts +1 -1
- package/src/experimental/client.ts +0 -4
- package/src/experimental/types.ts +4 -17
- package/src/graphql/generated/queries.ts +1 -1
- package/src/grpc/core.ts +28 -8
- package/src/grpc/proto/google/protobuf/any.ts +159 -144
- package/src/grpc/proto/google/protobuf/duration.ts +77 -74
- package/src/grpc/proto/google/protobuf/empty.ts +5 -6
- package/src/grpc/proto/google/protobuf/field_mask.ts +59 -47
- package/src/grpc/proto/google/protobuf/struct.ts +223 -201
- package/src/grpc/proto/google/protobuf/timestamp.ts +121 -100
- package/src/grpc/proto/google/rpc/error_details.ts +388 -352
- package/src/grpc/proto/google/rpc/status.ts +32 -32
- package/src/grpc/proto/sui/rpc/v2/argument.ts +60 -54
- package/src/grpc/proto/sui/rpc/v2/balance_change.ts +26 -26
- package/src/grpc/proto/sui/rpc/v2/bcs.ts +19 -19
- package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +79 -66
- package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +72 -60
- package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +219 -158
- package/src/grpc/proto/sui/rpc/v2/effects.ts +418 -318
- package/src/grpc/proto/sui/rpc/v2/epoch.ts +90 -62
- package/src/grpc/proto/sui/rpc/v2/error_reason.ts +12 -12
- package/src/grpc/proto/sui/rpc/v2/event.ts +76 -76
- package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +99 -80
- package/src/grpc/proto/sui/rpc/v2/execution_status.ts +888 -755
- package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +62 -34
- package/src/grpc/proto/sui/rpc/v2/input.ts +102 -89
- package/src/grpc/proto/sui/rpc/v2/jwk.ts +51 -51
- package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +196 -106
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +420 -328
- package/src/grpc/proto/sui/rpc/v2/move_package.ts +608 -486
- package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +114 -63
- package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +190 -172
- package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +62 -37
- package/src/grpc/proto/sui/rpc/v2/name_service.ts +123 -112
- package/src/grpc/proto/sui/rpc/v2/object.ts +147 -120
- package/src/grpc/proto/sui/rpc/v2/object_reference.ts +33 -26
- package/src/grpc/proto/sui/rpc/v2/owner.ts +61 -48
- package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +43 -24
- package/src/grpc/proto/sui/rpc/v2/signature.ts +596 -503
- package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +28 -28
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +43 -29
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +68 -67
- package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +140 -76
- package/src/grpc/proto/sui/rpc/v2/state_service.ts +642 -573
- package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +60 -48
- package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +50 -37
- package/src/grpc/proto/sui/rpc/v2/system_state.ts +1055 -689
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +1535 -1110
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +65 -38
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +185 -139
- package/src/jsonRpc/client.ts +2 -17
- package/src/multisig/publickey.ts +14 -14
- package/src/transactions/Transaction.ts +2 -2
- package/src/transactions/TransactionData.ts +100 -1
- package/src/transactions/serializer.ts +1 -1
- package/src/utils/index.ts +1 -0
- package/src/version.ts +2 -2
- package/src/zklogin/bcs.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MessageType } from
|
|
2
|
-
import { JwkId } from
|
|
3
|
-
import { SignatureScheme } from
|
|
4
|
-
import { Bcs } from
|
|
1
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
2
|
+
import { JwkId } from './jwk.js';
|
|
3
|
+
import { SignatureScheme } from './signature_scheme.js';
|
|
4
|
+
import { Bcs } from './bcs.js';
|
|
5
5
|
/**
|
|
6
6
|
* A signature from a user.
|
|
7
7
|
*
|
|
@@ -27,7 +27,7 @@ export interface UserSignature {
|
|
|
27
27
|
* @generated from protobuf oneof: signature
|
|
28
28
|
*/
|
|
29
29
|
signature: {
|
|
30
|
-
oneofKind:
|
|
30
|
+
oneofKind: 'simple';
|
|
31
31
|
/**
|
|
32
32
|
* Simple signature if scheme is ed25519 | secp256k1 | secp256r1.
|
|
33
33
|
*
|
|
@@ -35,7 +35,7 @@ export interface UserSignature {
|
|
|
35
35
|
*/
|
|
36
36
|
simple: SimpleSignature;
|
|
37
37
|
} | {
|
|
38
|
-
oneofKind:
|
|
38
|
+
oneofKind: 'multisig';
|
|
39
39
|
/**
|
|
40
40
|
* The multisig aggregated signature if scheme is `MULTISIG`.
|
|
41
41
|
*
|
|
@@ -43,7 +43,7 @@ export interface UserSignature {
|
|
|
43
43
|
*/
|
|
44
44
|
multisig: MultisigAggregatedSignature;
|
|
45
45
|
} | {
|
|
46
|
-
oneofKind:
|
|
46
|
+
oneofKind: 'zklogin';
|
|
47
47
|
/**
|
|
48
48
|
* The zklogin authenticator if scheme is `ZKLOGIN`.
|
|
49
49
|
*
|
|
@@ -51,7 +51,7 @@ export interface UserSignature {
|
|
|
51
51
|
*/
|
|
52
52
|
zklogin: ZkLoginAuthenticator;
|
|
53
53
|
} | {
|
|
54
|
-
oneofKind:
|
|
54
|
+
oneofKind: 'passkey';
|
|
55
55
|
/**
|
|
56
56
|
* The passkey authenticator if scheme is `PASSKEY`.
|
|
57
57
|
*
|
|
@@ -39,18 +39,42 @@ __export(signature_exports, {
|
|
|
39
39
|
});
|
|
40
40
|
module.exports = __toCommonJS(signature_exports);
|
|
41
41
|
var import_runtime = require("@protobuf-ts/runtime");
|
|
42
|
-
var import_jwk = require("./jwk");
|
|
43
|
-
var import_signature_scheme = require("./signature_scheme");
|
|
44
|
-
var import_bcs = require("./bcs");
|
|
42
|
+
var import_jwk = require("./jwk.js");
|
|
43
|
+
var import_signature_scheme = require("./signature_scheme.js");
|
|
44
|
+
var import_bcs = require("./bcs.js");
|
|
45
45
|
class UserSignature$Type extends import_runtime.MessageType {
|
|
46
46
|
constructor() {
|
|
47
47
|
super("sui.rpc.v2.UserSignature", [
|
|
48
48
|
{ no: 1, name: "bcs", kind: "message", T: () => import_bcs.Bcs },
|
|
49
|
-
{
|
|
49
|
+
{
|
|
50
|
+
no: 2,
|
|
51
|
+
name: "scheme",
|
|
52
|
+
kind: "enum",
|
|
53
|
+
opt: true,
|
|
54
|
+
T: () => ["sui.rpc.v2.SignatureScheme", import_signature_scheme.SignatureScheme]
|
|
55
|
+
},
|
|
50
56
|
{ no: 3, name: "simple", kind: "message", oneof: "signature", T: () => SimpleSignature },
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
57
|
+
{
|
|
58
|
+
no: 4,
|
|
59
|
+
name: "multisig",
|
|
60
|
+
kind: "message",
|
|
61
|
+
oneof: "signature",
|
|
62
|
+
T: () => MultisigAggregatedSignature
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
no: 5,
|
|
66
|
+
name: "zklogin",
|
|
67
|
+
kind: "message",
|
|
68
|
+
oneof: "signature",
|
|
69
|
+
T: () => ZkLoginAuthenticator
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
no: 6,
|
|
73
|
+
name: "passkey",
|
|
74
|
+
kind: "message",
|
|
75
|
+
oneof: "signature",
|
|
76
|
+
T: () => PasskeyAuthenticator
|
|
77
|
+
}
|
|
54
78
|
]);
|
|
55
79
|
}
|
|
56
80
|
}
|
|
@@ -58,7 +82,13 @@ const UserSignature = new UserSignature$Type();
|
|
|
58
82
|
class SimpleSignature$Type extends import_runtime.MessageType {
|
|
59
83
|
constructor() {
|
|
60
84
|
super("sui.rpc.v2.SimpleSignature", [
|
|
61
|
-
{
|
|
85
|
+
{
|
|
86
|
+
no: 1,
|
|
87
|
+
name: "scheme",
|
|
88
|
+
kind: "enum",
|
|
89
|
+
opt: true,
|
|
90
|
+
T: () => ["sui.rpc.v2.SignatureScheme", import_signature_scheme.SignatureScheme]
|
|
91
|
+
},
|
|
62
92
|
{
|
|
63
93
|
no: 2,
|
|
64
94
|
name: "signature",
|
|
@@ -105,7 +135,13 @@ const ZkLoginPublicIdentifier = new ZkLoginPublicIdentifier$Type();
|
|
|
105
135
|
class MultisigMemberPublicKey$Type extends import_runtime.MessageType {
|
|
106
136
|
constructor() {
|
|
107
137
|
super("sui.rpc.v2.MultisigMemberPublicKey", [
|
|
108
|
-
{
|
|
138
|
+
{
|
|
139
|
+
no: 1,
|
|
140
|
+
name: "scheme",
|
|
141
|
+
kind: "enum",
|
|
142
|
+
opt: true,
|
|
143
|
+
T: () => ["sui.rpc.v2.SignatureScheme", import_signature_scheme.SignatureScheme]
|
|
144
|
+
},
|
|
109
145
|
{
|
|
110
146
|
no: 2,
|
|
111
147
|
name: "public_key",
|
|
@@ -138,7 +174,13 @@ const MultisigMember = new MultisigMember$Type();
|
|
|
138
174
|
class MultisigCommittee$Type extends import_runtime.MessageType {
|
|
139
175
|
constructor() {
|
|
140
176
|
super("sui.rpc.v2.MultisigCommittee", [
|
|
141
|
-
{
|
|
177
|
+
{
|
|
178
|
+
no: 1,
|
|
179
|
+
name: "members",
|
|
180
|
+
kind: "message",
|
|
181
|
+
repeat: 1,
|
|
182
|
+
T: () => MultisigMember
|
|
183
|
+
},
|
|
142
184
|
{
|
|
143
185
|
no: 2,
|
|
144
186
|
name: "threshold",
|
|
@@ -154,7 +196,13 @@ const MultisigCommittee = new MultisigCommittee$Type();
|
|
|
154
196
|
class MultisigAggregatedSignature$Type extends import_runtime.MessageType {
|
|
155
197
|
constructor() {
|
|
156
198
|
super("sui.rpc.v2.MultisigAggregatedSignature", [
|
|
157
|
-
{
|
|
199
|
+
{
|
|
200
|
+
no: 1,
|
|
201
|
+
name: "signatures",
|
|
202
|
+
kind: "message",
|
|
203
|
+
repeat: 1,
|
|
204
|
+
T: () => MultisigMemberSignature
|
|
205
|
+
},
|
|
158
206
|
{
|
|
159
207
|
no: 2,
|
|
160
208
|
name: "bitmap",
|
|
@@ -179,7 +227,13 @@ const MultisigAggregatedSignature = new MultisigAggregatedSignature$Type();
|
|
|
179
227
|
class MultisigMemberSignature$Type extends import_runtime.MessageType {
|
|
180
228
|
constructor() {
|
|
181
229
|
super("sui.rpc.v2.MultisigMemberSignature", [
|
|
182
|
-
{
|
|
230
|
+
{
|
|
231
|
+
no: 1,
|
|
232
|
+
name: "scheme",
|
|
233
|
+
kind: "enum",
|
|
234
|
+
opt: true,
|
|
235
|
+
T: () => ["sui.rpc.v2.SignatureScheme", import_signature_scheme.SignatureScheme]
|
|
236
|
+
},
|
|
183
237
|
{
|
|
184
238
|
no: 2,
|
|
185
239
|
name: "signature",
|
|
@@ -205,7 +259,6 @@ class ZkLoginAuthenticator$Type extends import_runtime.MessageType {
|
|
|
205
259
|
opt: true,
|
|
206
260
|
T: 4,
|
|
207
261
|
L: 0
|
|
208
|
-
/*LongType.BIGINT*/
|
|
209
262
|
},
|
|
210
263
|
{ no: 3, name: "signature", kind: "message", T: () => SimpleSignature },
|
|
211
264
|
{ no: 4, name: "public_identifier", kind: "message", T: () => ZkLoginPublicIdentifier },
|
|
@@ -392,9 +445,14 @@ class ValidatorCommittee$Type extends import_runtime.MessageType {
|
|
|
392
445
|
opt: true,
|
|
393
446
|
T: 4,
|
|
394
447
|
L: 0
|
|
395
|
-
/*LongType.BIGINT*/
|
|
396
448
|
},
|
|
397
|
-
{
|
|
449
|
+
{
|
|
450
|
+
no: 2,
|
|
451
|
+
name: "members",
|
|
452
|
+
kind: "message",
|
|
453
|
+
repeat: 1,
|
|
454
|
+
T: () => ValidatorCommitteeMember
|
|
455
|
+
}
|
|
398
456
|
]);
|
|
399
457
|
}
|
|
400
458
|
}
|
|
@@ -417,7 +475,6 @@ class ValidatorCommitteeMember$Type extends import_runtime.MessageType {
|
|
|
417
475
|
opt: true,
|
|
418
476
|
T: 4,
|
|
419
477
|
L: 0
|
|
420
|
-
/*LongType.BIGINT*/
|
|
421
478
|
}
|
|
422
479
|
]);
|
|
423
480
|
}
|
|
@@ -433,7 +490,6 @@ class ValidatorAggregatedSignature$Type extends import_runtime.MessageType {
|
|
|
433
490
|
opt: true,
|
|
434
491
|
T: 4,
|
|
435
492
|
L: 0
|
|
436
|
-
/*LongType.BIGINT*/
|
|
437
493
|
},
|
|
438
494
|
{
|
|
439
495
|
no: 2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/signature.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { JwkId } from \"./jwk\";\nimport { SignatureScheme } from \"./signature_scheme\";\nimport { Bcs } from \"./bcs\";\n/**\n * A signature from a user.\n *\n * @generated from protobuf message sui.rpc.v2.UserSignature\n */\nexport interface UserSignature {\n /**\n * This signature serialized as as BCS.\n *\n * When provided as input this will support both the form that is length\n * prefixed as well as not length prefixed.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n */\n bcs?: Bcs;\n /**\n * The signature scheme of this signature.\n *\n * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 2;\n */\n scheme?: SignatureScheme;\n /**\n * @generated from protobuf oneof: signature\n */\n signature: {\n oneofKind: \"simple\";\n /**\n * Simple signature if scheme is ed25519 | secp256k1 | secp256r1.\n *\n * @generated from protobuf field: sui.rpc.v2.SimpleSignature simple = 3;\n */\n simple: SimpleSignature;\n } | {\n oneofKind: \"multisig\";\n /**\n * The multisig aggregated signature if scheme is `MULTISIG`.\n *\n * @generated from protobuf field: sui.rpc.v2.MultisigAggregatedSignature multisig = 4;\n */\n multisig: MultisigAggregatedSignature;\n } | {\n oneofKind: \"zklogin\";\n /**\n * The zklogin authenticator if scheme is `ZKLOGIN`.\n *\n * @generated from protobuf field: sui.rpc.v2.ZkLoginAuthenticator zklogin = 5;\n */\n zklogin: ZkLoginAuthenticator;\n } | {\n oneofKind: \"passkey\";\n /**\n * The passkey authenticator if scheme is `PASSKEY`.\n *\n * @generated from protobuf field: sui.rpc.v2.PasskeyAuthenticator passkey = 6;\n */\n passkey: PasskeyAuthenticator;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * Either an ed25519, secp256k1 or secp256r1 signature\n *\n * @generated from protobuf message sui.rpc.v2.SimpleSignature\n */\nexport interface SimpleSignature {\n /**\n * The signature scheme of this signature.\n *\n * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 1;\n */\n scheme?: SignatureScheme;\n /**\n * Signature bytes\n *\n * @generated from protobuf field: optional bytes signature = 2;\n */\n signature?: Uint8Array;\n /**\n * Public key bytes\n *\n * @generated from protobuf field: optional bytes public_key = 3;\n */\n publicKey?: Uint8Array;\n}\n/**\n * Public key equivalent for zklogin authenticators.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginPublicIdentifier\n */\nexport interface ZkLoginPublicIdentifier {\n /**\n * @generated from protobuf field: optional string iss = 1;\n */\n iss?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string address_seed = 2;\n */\n addressSeed?: string;\n}\n/**\n * Set of valid public keys for multisig committee members.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigMemberPublicKey\n */\nexport interface MultisigMemberPublicKey {\n /**\n * The signature scheme of this public key.\n *\n * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 1;\n */\n scheme?: SignatureScheme;\n /**\n * Public key bytes if scheme is ed25519 | secp256k1 | secp256r1 | passkey.\n *\n * @generated from protobuf field: optional bytes public_key = 2;\n */\n publicKey?: Uint8Array;\n /**\n * A zklogin public identifier if scheme is zklogin.\n *\n * @generated from protobuf field: optional sui.rpc.v2.ZkLoginPublicIdentifier zklogin = 3;\n */\n zklogin?: ZkLoginPublicIdentifier;\n}\n/**\n * A member in a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigMember\n */\nexport interface MultisigMember {\n /**\n * The public key of the committee member.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MultisigMemberPublicKey public_key = 1;\n */\n publicKey?: MultisigMemberPublicKey;\n /**\n * The weight of this member's signature.\n *\n * @generated from protobuf field: optional uint32 weight = 2;\n */\n weight?: number;\n}\n/**\n * A multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigCommittee\n */\nexport interface MultisigCommittee {\n /**\n * A list of committee members and their corresponding weight.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.MultisigMember members = 1;\n */\n members: MultisigMember[];\n /**\n * The threshold of signatures needed to validate a signature from\n * this committee.\n *\n * @generated from protobuf field: optional uint32 threshold = 2;\n */\n threshold?: number;\n}\n/**\n * Aggregated signature from members of a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigAggregatedSignature\n */\nexport interface MultisigAggregatedSignature {\n /**\n * The plain signatures encoded with signature scheme.\n *\n * The signatures must be in the same order as they are listed in the committee.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.MultisigMemberSignature signatures = 1;\n */\n signatures: MultisigMemberSignature[];\n /**\n * Bitmap indicating which committee members contributed to the\n * signature.\n *\n * @generated from protobuf field: optional uint32 bitmap = 2;\n */\n bitmap?: number;\n /**\n * If present, means this signature's on-chain format uses the old\n * legacy multisig format.\n *\n * @generated from protobuf field: optional bytes legacy_bitmap = 3;\n */\n legacyBitmap?: Uint8Array;\n /**\n * The committee to use to validate this signature.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MultisigCommittee committee = 4;\n */\n committee?: MultisigCommittee;\n}\n/**\n * A signature from a member of a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigMemberSignature\n */\nexport interface MultisigMemberSignature {\n /**\n * The signature scheme of this signature.\n *\n * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 1;\n */\n scheme?: SignatureScheme;\n /**\n * Signature bytes if scheme is ed25519 | secp256k1 | secp256r1.\n *\n * @generated from protobuf field: optional bytes signature = 2;\n */\n signature?: Uint8Array;\n /**\n * The zklogin authenticator if scheme is `ZKLOGIN`.\n *\n * @generated from protobuf field: optional sui.rpc.v2.ZkLoginAuthenticator zklogin = 3;\n */\n zklogin?: ZkLoginAuthenticator;\n /**\n * The passkey authenticator if scheme is `PASSKEY`.\n *\n * @generated from protobuf field: optional sui.rpc.v2.PasskeyAuthenticator passkey = 4;\n */\n passkey?: PasskeyAuthenticator;\n}\n/**\n * A zklogin authenticator.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginAuthenticator\n */\nexport interface ZkLoginAuthenticator {\n /**\n * Zklogin proof and inputs required to perform proof verification.\n *\n * @generated from protobuf field: optional sui.rpc.v2.ZkLoginInputs inputs = 1;\n */\n inputs?: ZkLoginInputs;\n /**\n * Maximum epoch for which the proof is valid.\n *\n * @generated from protobuf field: optional uint64 max_epoch = 2;\n */\n maxEpoch?: bigint;\n /**\n * User signature with the public key attested to by the provided proof.\n *\n * @generated from protobuf field: optional sui.rpc.v2.SimpleSignature signature = 3;\n */\n signature?: SimpleSignature;\n /**\n * The public identifier (similar to a public key) for this zklogin authenticator\n *\n * @generated from protobuf field: optional sui.rpc.v2.ZkLoginPublicIdentifier public_identifier = 4;\n */\n publicIdentifier?: ZkLoginPublicIdentifier;\n /**\n * The id of the JWK used to authorize this zklogin authenticator\n *\n * @generated from protobuf field: optional sui.rpc.v2.JwkId jwk_id = 5;\n */\n jwkId?: JwkId;\n}\n/**\n * A zklogin groth16 proof and the required inputs to perform proof verification.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginInputs\n */\nexport interface ZkLoginInputs {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.ZkLoginProof proof_points = 1;\n */\n proofPoints?: ZkLoginProof;\n /**\n * @generated from protobuf field: optional sui.rpc.v2.ZkLoginClaim iss_base64_details = 2;\n */\n issBase64Details?: ZkLoginClaim;\n /**\n * @generated from protobuf field: optional string header_base64 = 3;\n */\n headerBase64?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string address_seed = 4;\n */\n addressSeed?: string;\n}\n/**\n * A zklogin groth16 proof.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginProof\n */\nexport interface ZkLoginProof {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.CircomG1 a = 1;\n */\n a?: CircomG1;\n /**\n * @generated from protobuf field: optional sui.rpc.v2.CircomG2 b = 2;\n */\n b?: CircomG2;\n /**\n * @generated from protobuf field: optional sui.rpc.v2.CircomG1 c = 3;\n */\n c?: CircomG1;\n}\n/**\n * A claim of the iss in a zklogin proof.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginClaim\n */\nexport interface ZkLoginClaim {\n /**\n * @generated from protobuf field: optional string value = 1;\n */\n value?: string;\n /**\n * @generated from protobuf field: optional uint32 index_mod_4 = 2;\n */\n indexMod4?: number;\n}\n/**\n * A G1 point.\n *\n * @generated from protobuf message sui.rpc.v2.CircomG1\n */\nexport interface CircomG1 {\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e0 = 1;\n */\n e0?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e1 = 2;\n */\n e1?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e2 = 3;\n */\n e2?: string;\n}\n/**\n * A G2 point.\n *\n * @generated from protobuf message sui.rpc.v2.CircomG2\n */\nexport interface CircomG2 {\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e00 = 1;\n */\n e00?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e01 = 2;\n */\n e01?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e10 = 3;\n */\n e10?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e11 = 4;\n */\n e11?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e20 = 5;\n */\n e20?: string;\n /**\n * base10 encoded Bn254FieldElement\n *\n * @generated from protobuf field: optional string e21 = 6;\n */\n e21?: string;\n}\n/**\n * A passkey authenticator.\n *\n * See\n * [struct.PasskeyAuthenticator](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/struct.PasskeyAuthenticator.html#bcs)\n * for more information on the requirements on the shape of the\n * `client_data_json` field.\n *\n * @generated from protobuf message sui.rpc.v2.PasskeyAuthenticator\n */\nexport interface PasskeyAuthenticator {\n /**\n * Opaque authenticator data for this passkey signature.\n *\n * See [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) for\n * more information on this field.\n *\n * @generated from protobuf field: optional bytes authenticator_data = 1;\n */\n authenticatorData?: Uint8Array;\n /**\n * Structured, unparsed, JSON for this passkey signature.\n *\n * See [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata)\n * for more information on this field.\n *\n * @generated from protobuf field: optional string client_data_json = 2;\n */\n clientDataJson?: string;\n /**\n * A secp256r1 signature.\n *\n * @generated from protobuf field: optional sui.rpc.v2.SimpleSignature signature = 3;\n */\n signature?: SimpleSignature;\n}\n/**\n * The validator set for a particular epoch.\n *\n * @generated from protobuf message sui.rpc.v2.ValidatorCommittee\n */\nexport interface ValidatorCommittee {\n /**\n * The epoch where this committee governs.\n *\n * @generated from protobuf field: optional uint64 epoch = 1;\n */\n epoch?: bigint;\n /**\n * The committee members.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.ValidatorCommitteeMember members = 2;\n */\n members: ValidatorCommitteeMember[];\n}\n/**\n * A member of a validator committee.\n *\n * @generated from protobuf message sui.rpc.v2.ValidatorCommitteeMember\n */\nexport interface ValidatorCommitteeMember {\n /**\n * The 96-byte Bls12381 public key for this validator.\n *\n * @generated from protobuf field: optional bytes public_key = 1;\n */\n publicKey?: Uint8Array;\n /**\n * voting weight this validator possesses.\n *\n * @generated from protobuf field: optional uint64 weight = 2;\n */\n weight?: bigint;\n}\n/**\n * / An aggregated signature from multiple validators.\n *\n * @generated from protobuf message sui.rpc.v2.ValidatorAggregatedSignature\n */\nexport interface ValidatorAggregatedSignature {\n /**\n * The epoch when this signature was produced.\n *\n * This can be used to lookup the `ValidatorCommittee` from this epoch\n * to verify this signature.\n *\n * @generated from protobuf field: optional uint64 epoch = 1;\n */\n epoch?: bigint;\n /**\n * The 48-byte Bls12381 aggregated signature.\n *\n * @generated from protobuf field: optional bytes signature = 2;\n */\n signature?: Uint8Array;\n /**\n * Bitmap indicating which members of the committee contributed to\n * this signature.\n *\n * @generated from protobuf field: optional bytes bitmap = 3;\n */\n bitmap?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass UserSignature$Type extends MessageType<UserSignature> {\n constructor() {\n super(\"sui.rpc.v2.UserSignature\", [\n { no: 1, name: \"bcs\", kind: \"message\", T: () => Bcs },\n { no: 2, name: \"scheme\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme] },\n { no: 3, name: \"simple\", kind: \"message\", oneof: \"signature\", T: () => SimpleSignature },\n { no: 4, name: \"multisig\", kind: \"message\", oneof: \"signature\", T: () => MultisigAggregatedSignature },\n { no: 5, name: \"zklogin\", kind: \"message\", oneof: \"signature\", T: () => ZkLoginAuthenticator },\n { no: 6, name: \"passkey\", kind: \"message\", oneof: \"signature\", T: () => PasskeyAuthenticator }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.UserSignature\n */\nexport const UserSignature = new UserSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimpleSignature$Type extends MessageType<SimpleSignature> {\n constructor() {\n super(\"sui.rpc.v2.SimpleSignature\", [\n { no: 1, name: \"scheme\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme] },\n { no: 2, name: \"signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SimpleSignature\n */\nexport const SimpleSignature = new SimpleSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginPublicIdentifier$Type extends MessageType<ZkLoginPublicIdentifier> {\n constructor() {\n super(\"sui.rpc.v2.ZkLoginPublicIdentifier\", [\n { no: 1, name: \"iss\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"address_seed\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginPublicIdentifier\n */\nexport const ZkLoginPublicIdentifier = new ZkLoginPublicIdentifier$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMemberPublicKey$Type extends MessageType<MultisigMemberPublicKey> {\n constructor() {\n super(\"sui.rpc.v2.MultisigMemberPublicKey\", [\n { no: 1, name: \"scheme\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme] },\n { no: 2, name: \"public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"zklogin\", kind: \"message\", T: () => ZkLoginPublicIdentifier }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigMemberPublicKey\n */\nexport const MultisigMemberPublicKey = new MultisigMemberPublicKey$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMember$Type extends MessageType<MultisigMember> {\n constructor() {\n super(\"sui.rpc.v2.MultisigMember\", [\n { no: 1, name: \"public_key\", kind: \"message\", T: () => MultisigMemberPublicKey },\n { no: 2, name: \"weight\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigMember\n */\nexport const MultisigMember = new MultisigMember$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigCommittee$Type extends MessageType<MultisigCommittee> {\n constructor() {\n super(\"sui.rpc.v2.MultisigCommittee\", [\n { no: 1, name: \"members\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => MultisigMember },\n { no: 2, name: \"threshold\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigCommittee\n */\nexport const MultisigCommittee = new MultisigCommittee$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigAggregatedSignature$Type extends MessageType<MultisigAggregatedSignature> {\n constructor() {\n super(\"sui.rpc.v2.MultisigAggregatedSignature\", [\n { no: 1, name: \"signatures\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => MultisigMemberSignature },\n { no: 2, name: \"bitmap\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"legacy_bitmap\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"committee\", kind: \"message\", T: () => MultisigCommittee }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigAggregatedSignature\n */\nexport const MultisigAggregatedSignature = new MultisigAggregatedSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMemberSignature$Type extends MessageType<MultisigMemberSignature> {\n constructor() {\n super(\"sui.rpc.v2.MultisigMemberSignature\", [\n { no: 1, name: \"scheme\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.SignatureScheme\", SignatureScheme] },\n { no: 2, name: \"signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"zklogin\", kind: \"message\", T: () => ZkLoginAuthenticator },\n { no: 4, name: \"passkey\", kind: \"message\", T: () => PasskeyAuthenticator }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigMemberSignature\n */\nexport const MultisigMemberSignature = new MultisigMemberSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginAuthenticator$Type extends MessageType<ZkLoginAuthenticator> {\n constructor() {\n super(\"sui.rpc.v2.ZkLoginAuthenticator\", [\n { no: 1, name: \"inputs\", kind: \"message\", T: () => ZkLoginInputs },\n { no: 2, name: \"max_epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"signature\", kind: \"message\", T: () => SimpleSignature },\n { no: 4, name: \"public_identifier\", kind: \"message\", T: () => ZkLoginPublicIdentifier },\n { no: 5, name: \"jwk_id\", kind: \"message\", T: () => JwkId }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginAuthenticator\n */\nexport const ZkLoginAuthenticator = new ZkLoginAuthenticator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginInputs$Type extends MessageType<ZkLoginInputs> {\n constructor() {\n super(\"sui.rpc.v2.ZkLoginInputs\", [\n { no: 1, name: \"proof_points\", kind: \"message\", T: () => ZkLoginProof },\n { no: 2, name: \"iss_base64_details\", kind: \"message\", T: () => ZkLoginClaim },\n { no: 3, name: \"header_base64\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"address_seed\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginInputs\n */\nexport const ZkLoginInputs = new ZkLoginInputs$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginProof$Type extends MessageType<ZkLoginProof> {\n constructor() {\n super(\"sui.rpc.v2.ZkLoginProof\", [\n { no: 1, name: \"a\", kind: \"message\", T: () => CircomG1 },\n { no: 2, name: \"b\", kind: \"message\", T: () => CircomG2 },\n { no: 3, name: \"c\", kind: \"message\", T: () => CircomG1 }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginProof\n */\nexport const ZkLoginProof = new ZkLoginProof$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginClaim$Type extends MessageType<ZkLoginClaim> {\n constructor() {\n super(\"sui.rpc.v2.ZkLoginClaim\", [\n { no: 1, name: \"value\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"index_mod_4\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginClaim\n */\nexport const ZkLoginClaim = new ZkLoginClaim$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CircomG1$Type extends MessageType<CircomG1> {\n constructor() {\n super(\"sui.rpc.v2.CircomG1\", [\n { no: 1, name: \"e0\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"e1\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"e2\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CircomG1\n */\nexport const CircomG1 = new CircomG1$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CircomG2$Type extends MessageType<CircomG2> {\n constructor() {\n super(\"sui.rpc.v2.CircomG2\", [\n { no: 1, name: \"e00\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"e01\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"e10\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"e11\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"e20\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"e21\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CircomG2\n */\nexport const CircomG2 = new CircomG2$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasskeyAuthenticator$Type extends MessageType<PasskeyAuthenticator> {\n constructor() {\n super(\"sui.rpc.v2.PasskeyAuthenticator\", [\n { no: 1, name: \"authenticator_data\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"client_data_json\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"signature\", kind: \"message\", T: () => SimpleSignature }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.PasskeyAuthenticator\n */\nexport const PasskeyAuthenticator = new PasskeyAuthenticator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorCommittee$Type extends MessageType<ValidatorCommittee> {\n constructor() {\n super(\"sui.rpc.v2.ValidatorCommittee\", [\n { no: 1, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"members\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => ValidatorCommitteeMember }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorCommittee\n */\nexport const ValidatorCommittee = new ValidatorCommittee$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorCommitteeMember$Type extends MessageType<ValidatorCommitteeMember> {\n constructor() {\n super(\"sui.rpc.v2.ValidatorCommitteeMember\", [\n { no: 1, name: \"public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"weight\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorCommitteeMember\n */\nexport const ValidatorCommitteeMember = new ValidatorCommitteeMember$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorAggregatedSignature$Type extends MessageType<ValidatorAggregatedSignature> {\n constructor() {\n super(\"sui.rpc.v2.ValidatorAggregatedSignature\", [\n { no: 1, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"bitmap\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorAggregatedSignature\n */\nexport const ValidatorAggregatedSignature = new ValidatorAggregatedSignature$Type();\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,iBAAsB;AACtB,8BAAgC;AAChC,iBAAoB;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { JwkId } from './jwk.js';\nimport { SignatureScheme } from './signature_scheme.js';\nimport { Bcs } from './bcs.js';\n/**\n * A signature from a user.\n *\n * @generated from protobuf message sui.rpc.v2.UserSignature\n */\nexport interface UserSignature {\n\t/**\n\t * This signature serialized as as BCS.\n\t *\n\t * When provided as input this will support both the form that is length\n\t * prefixed as well as not length prefixed.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * The signature scheme of this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 2;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * @generated from protobuf oneof: signature\n\t */\n\tsignature:\n\t\t| {\n\t\t\t\toneofKind: 'simple';\n\t\t\t\t/**\n\t\t\t\t * Simple signature if scheme is ed25519 | secp256k1 | secp256r1.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.SimpleSignature simple = 3;\n\t\t\t\t */\n\t\t\t\tsimple: SimpleSignature;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'multisig';\n\t\t\t\t/**\n\t\t\t\t * The multisig aggregated signature if scheme is `MULTISIG`.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.MultisigAggregatedSignature multisig = 4;\n\t\t\t\t */\n\t\t\t\tmultisig: MultisigAggregatedSignature;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'zklogin';\n\t\t\t\t/**\n\t\t\t\t * The zklogin authenticator if scheme is `ZKLOGIN`.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.ZkLoginAuthenticator zklogin = 5;\n\t\t\t\t */\n\t\t\t\tzklogin: ZkLoginAuthenticator;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'passkey';\n\t\t\t\t/**\n\t\t\t\t * The passkey authenticator if scheme is `PASSKEY`.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.PasskeyAuthenticator passkey = 6;\n\t\t\t\t */\n\t\t\t\tpasskey: PasskeyAuthenticator;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * Either an ed25519, secp256k1 or secp256r1 signature\n *\n * @generated from protobuf message sui.rpc.v2.SimpleSignature\n */\nexport interface SimpleSignature {\n\t/**\n\t * The signature scheme of this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Signature bytes\n\t *\n\t * @generated from protobuf field: optional bytes signature = 2;\n\t */\n\tsignature?: Uint8Array;\n\t/**\n\t * Public key bytes\n\t *\n\t * @generated from protobuf field: optional bytes public_key = 3;\n\t */\n\tpublicKey?: Uint8Array;\n}\n/**\n * Public key equivalent for zklogin authenticators.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginPublicIdentifier\n */\nexport interface ZkLoginPublicIdentifier {\n\t/**\n\t * @generated from protobuf field: optional string iss = 1;\n\t */\n\tiss?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string address_seed = 2;\n\t */\n\taddressSeed?: string;\n}\n/**\n * Set of valid public keys for multisig committee members.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigMemberPublicKey\n */\nexport interface MultisigMemberPublicKey {\n\t/**\n\t * The signature scheme of this public key.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Public key bytes if scheme is ed25519 | secp256k1 | secp256r1 | passkey.\n\t *\n\t * @generated from protobuf field: optional bytes public_key = 2;\n\t */\n\tpublicKey?: Uint8Array;\n\t/**\n\t * A zklogin public identifier if scheme is zklogin.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginPublicIdentifier zklogin = 3;\n\t */\n\tzklogin?: ZkLoginPublicIdentifier;\n}\n/**\n * A member in a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigMember\n */\nexport interface MultisigMember {\n\t/**\n\t * The public key of the committee member.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MultisigMemberPublicKey public_key = 1;\n\t */\n\tpublicKey?: MultisigMemberPublicKey;\n\t/**\n\t * The weight of this member's signature.\n\t *\n\t * @generated from protobuf field: optional uint32 weight = 2;\n\t */\n\tweight?: number;\n}\n/**\n * A multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigCommittee\n */\nexport interface MultisigCommittee {\n\t/**\n\t * A list of committee members and their corresponding weight.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.MultisigMember members = 1;\n\t */\n\tmembers: MultisigMember[];\n\t/**\n\t * The threshold of signatures needed to validate a signature from\n\t * this committee.\n\t *\n\t * @generated from protobuf field: optional uint32 threshold = 2;\n\t */\n\tthreshold?: number;\n}\n/**\n * Aggregated signature from members of a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigAggregatedSignature\n */\nexport interface MultisigAggregatedSignature {\n\t/**\n\t * The plain signatures encoded with signature scheme.\n\t *\n\t * The signatures must be in the same order as they are listed in the committee.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.MultisigMemberSignature signatures = 1;\n\t */\n\tsignatures: MultisigMemberSignature[];\n\t/**\n\t * Bitmap indicating which committee members contributed to the\n\t * signature.\n\t *\n\t * @generated from protobuf field: optional uint32 bitmap = 2;\n\t */\n\tbitmap?: number;\n\t/**\n\t * If present, means this signature's on-chain format uses the old\n\t * legacy multisig format.\n\t *\n\t * @generated from protobuf field: optional bytes legacy_bitmap = 3;\n\t */\n\tlegacyBitmap?: Uint8Array;\n\t/**\n\t * The committee to use to validate this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MultisigCommittee committee = 4;\n\t */\n\tcommittee?: MultisigCommittee;\n}\n/**\n * A signature from a member of a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2.MultisigMemberSignature\n */\nexport interface MultisigMemberSignature {\n\t/**\n\t * The signature scheme of this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Signature bytes if scheme is ed25519 | secp256k1 | secp256r1.\n\t *\n\t * @generated from protobuf field: optional bytes signature = 2;\n\t */\n\tsignature?: Uint8Array;\n\t/**\n\t * The zklogin authenticator if scheme is `ZKLOGIN`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginAuthenticator zklogin = 3;\n\t */\n\tzklogin?: ZkLoginAuthenticator;\n\t/**\n\t * The passkey authenticator if scheme is `PASSKEY`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.PasskeyAuthenticator passkey = 4;\n\t */\n\tpasskey?: PasskeyAuthenticator;\n}\n/**\n * A zklogin authenticator.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginAuthenticator\n */\nexport interface ZkLoginAuthenticator {\n\t/**\n\t * Zklogin proof and inputs required to perform proof verification.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginInputs inputs = 1;\n\t */\n\tinputs?: ZkLoginInputs;\n\t/**\n\t * Maximum epoch for which the proof is valid.\n\t *\n\t * @generated from protobuf field: optional uint64 max_epoch = 2;\n\t */\n\tmaxEpoch?: bigint;\n\t/**\n\t * User signature with the public key attested to by the provided proof.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SimpleSignature signature = 3;\n\t */\n\tsignature?: SimpleSignature;\n\t/**\n\t * The public identifier (similar to a public key) for this zklogin authenticator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginPublicIdentifier public_identifier = 4;\n\t */\n\tpublicIdentifier?: ZkLoginPublicIdentifier;\n\t/**\n\t * The id of the JWK used to authorize this zklogin authenticator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.JwkId jwk_id = 5;\n\t */\n\tjwkId?: JwkId;\n}\n/**\n * A zklogin groth16 proof and the required inputs to perform proof verification.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginInputs\n */\nexport interface ZkLoginInputs {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginProof proof_points = 1;\n\t */\n\tproofPoints?: ZkLoginProof;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginClaim iss_base64_details = 2;\n\t */\n\tissBase64Details?: ZkLoginClaim;\n\t/**\n\t * @generated from protobuf field: optional string header_base64 = 3;\n\t */\n\theaderBase64?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string address_seed = 4;\n\t */\n\taddressSeed?: string;\n}\n/**\n * A zklogin groth16 proof.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginProof\n */\nexport interface ZkLoginProof {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CircomG1 a = 1;\n\t */\n\ta?: CircomG1;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CircomG2 b = 2;\n\t */\n\tb?: CircomG2;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CircomG1 c = 3;\n\t */\n\tc?: CircomG1;\n}\n/**\n * A claim of the iss in a zklogin proof.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginClaim\n */\nexport interface ZkLoginClaim {\n\t/**\n\t * @generated from protobuf field: optional string value = 1;\n\t */\n\tvalue?: string;\n\t/**\n\t * @generated from protobuf field: optional uint32 index_mod_4 = 2;\n\t */\n\tindexMod4?: number;\n}\n/**\n * A G1 point.\n *\n * @generated from protobuf message sui.rpc.v2.CircomG1\n */\nexport interface CircomG1 {\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e0 = 1;\n\t */\n\te0?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e1 = 2;\n\t */\n\te1?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e2 = 3;\n\t */\n\te2?: string;\n}\n/**\n * A G2 point.\n *\n * @generated from protobuf message sui.rpc.v2.CircomG2\n */\nexport interface CircomG2 {\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e00 = 1;\n\t */\n\te00?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e01 = 2;\n\t */\n\te01?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e10 = 3;\n\t */\n\te10?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e11 = 4;\n\t */\n\te11?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e20 = 5;\n\t */\n\te20?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e21 = 6;\n\t */\n\te21?: string;\n}\n/**\n * A passkey authenticator.\n *\n * See\n * [struct.PasskeyAuthenticator](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/struct.PasskeyAuthenticator.html#bcs)\n * for more information on the requirements on the shape of the\n * `client_data_json` field.\n *\n * @generated from protobuf message sui.rpc.v2.PasskeyAuthenticator\n */\nexport interface PasskeyAuthenticator {\n\t/**\n\t * Opaque authenticator data for this passkey signature.\n\t *\n\t * See [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) for\n\t * more information on this field.\n\t *\n\t * @generated from protobuf field: optional bytes authenticator_data = 1;\n\t */\n\tauthenticatorData?: Uint8Array;\n\t/**\n\t * Structured, unparsed, JSON for this passkey signature.\n\t *\n\t * See [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata)\n\t * for more information on this field.\n\t *\n\t * @generated from protobuf field: optional string client_data_json = 2;\n\t */\n\tclientDataJson?: string;\n\t/**\n\t * A secp256r1 signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SimpleSignature signature = 3;\n\t */\n\tsignature?: SimpleSignature;\n}\n/**\n * The validator set for a particular epoch.\n *\n * @generated from protobuf message sui.rpc.v2.ValidatorCommittee\n */\nexport interface ValidatorCommittee {\n\t/**\n\t * The epoch where this committee governs.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The committee members.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ValidatorCommitteeMember members = 2;\n\t */\n\tmembers: ValidatorCommitteeMember[];\n}\n/**\n * A member of a validator committee.\n *\n * @generated from protobuf message sui.rpc.v2.ValidatorCommitteeMember\n */\nexport interface ValidatorCommitteeMember {\n\t/**\n\t * The 96-byte Bls12381 public key for this validator.\n\t *\n\t * @generated from protobuf field: optional bytes public_key = 1;\n\t */\n\tpublicKey?: Uint8Array;\n\t/**\n\t * voting weight this validator possesses.\n\t *\n\t * @generated from protobuf field: optional uint64 weight = 2;\n\t */\n\tweight?: bigint;\n}\n/**\n * / An aggregated signature from multiple validators.\n *\n * @generated from protobuf message sui.rpc.v2.ValidatorAggregatedSignature\n */\nexport interface ValidatorAggregatedSignature {\n\t/**\n\t * The epoch when this signature was produced.\n\t *\n\t * This can be used to lookup the `ValidatorCommittee` from this epoch\n\t * to verify this signature.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The 48-byte Bls12381 aggregated signature.\n\t *\n\t * @generated from protobuf field: optional bytes signature = 2;\n\t */\n\tsignature?: Uint8Array;\n\t/**\n\t * Bitmap indicating which members of the committee contributed to\n\t * this signature.\n\t *\n\t * @generated from protobuf field: optional bytes bitmap = 3;\n\t */\n\tbitmap?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass UserSignature$Type extends MessageType<UserSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.UserSignature', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 3, name: 'simple', kind: 'message', oneof: 'signature', T: () => SimpleSignature },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'multisig',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'signature',\n\t\t\t\tT: () => MultisigAggregatedSignature,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'zklogin',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'signature',\n\t\t\t\tT: () => ZkLoginAuthenticator,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'passkey',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'signature',\n\t\t\t\tT: () => PasskeyAuthenticator,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.UserSignature\n */\nexport const UserSignature = new UserSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimpleSignature$Type extends MessageType<SimpleSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SimpleSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 2, name: 'signature', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SimpleSignature\n */\nexport const SimpleSignature = new SimpleSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginPublicIdentifier$Type extends MessageType<ZkLoginPublicIdentifier> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ZkLoginPublicIdentifier', [\n\t\t\t{ no: 1, name: 'iss', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'address_seed', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginPublicIdentifier\n */\nexport const ZkLoginPublicIdentifier = new ZkLoginPublicIdentifier$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMemberPublicKey$Type extends MessageType<MultisigMemberPublicKey> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MultisigMemberPublicKey', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 2, name: 'public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'zklogin', kind: 'message', T: () => ZkLoginPublicIdentifier },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigMemberPublicKey\n */\nexport const MultisigMemberPublicKey = new MultisigMemberPublicKey$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMember$Type extends MessageType<MultisigMember> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MultisigMember', [\n\t\t\t{ no: 1, name: 'public_key', kind: 'message', T: () => MultisigMemberPublicKey },\n\t\t\t{ no: 2, name: 'weight', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigMember\n */\nexport const MultisigMember = new MultisigMember$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigCommittee$Type extends MessageType<MultisigCommittee> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MultisigCommittee', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'members',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => MultisigMember,\n\t\t\t},\n\t\t\t{ no: 2, name: 'threshold', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigCommittee\n */\nexport const MultisigCommittee = new MultisigCommittee$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigAggregatedSignature$Type extends MessageType<MultisigAggregatedSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MultisigAggregatedSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'signatures',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => MultisigMemberSignature,\n\t\t\t},\n\t\t\t{ no: 2, name: 'bitmap', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'legacy_bitmap', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'committee', kind: 'message', T: () => MultisigCommittee },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigAggregatedSignature\n */\nexport const MultisigAggregatedSignature = new MultisigAggregatedSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMemberSignature$Type extends MessageType<MultisigMemberSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MultisigMemberSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 2, name: 'signature', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'zklogin', kind: 'message', T: () => ZkLoginAuthenticator },\n\t\t\t{ no: 4, name: 'passkey', kind: 'message', T: () => PasskeyAuthenticator },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MultisigMemberSignature\n */\nexport const MultisigMemberSignature = new MultisigMemberSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginAuthenticator$Type extends MessageType<ZkLoginAuthenticator> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ZkLoginAuthenticator', [\n\t\t\t{ no: 1, name: 'inputs', kind: 'message', T: () => ZkLoginInputs },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'max_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'signature', kind: 'message', T: () => SimpleSignature },\n\t\t\t{ no: 4, name: 'public_identifier', kind: 'message', T: () => ZkLoginPublicIdentifier },\n\t\t\t{ no: 5, name: 'jwk_id', kind: 'message', T: () => JwkId },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginAuthenticator\n */\nexport const ZkLoginAuthenticator = new ZkLoginAuthenticator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginInputs$Type extends MessageType<ZkLoginInputs> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ZkLoginInputs', [\n\t\t\t{ no: 1, name: 'proof_points', kind: 'message', T: () => ZkLoginProof },\n\t\t\t{ no: 2, name: 'iss_base64_details', kind: 'message', T: () => ZkLoginClaim },\n\t\t\t{ no: 3, name: 'header_base64', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'address_seed', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginInputs\n */\nexport const ZkLoginInputs = new ZkLoginInputs$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginProof$Type extends MessageType<ZkLoginProof> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ZkLoginProof', [\n\t\t\t{ no: 1, name: 'a', kind: 'message', T: () => CircomG1 },\n\t\t\t{ no: 2, name: 'b', kind: 'message', T: () => CircomG2 },\n\t\t\t{ no: 3, name: 'c', kind: 'message', T: () => CircomG1 },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginProof\n */\nexport const ZkLoginProof = new ZkLoginProof$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginClaim$Type extends MessageType<ZkLoginClaim> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ZkLoginClaim', [\n\t\t\t{ no: 1, name: 'value', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'index_mod_4', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ZkLoginClaim\n */\nexport const ZkLoginClaim = new ZkLoginClaim$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CircomG1$Type extends MessageType<CircomG1> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CircomG1', [\n\t\t\t{ no: 1, name: 'e0', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'e1', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'e2', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CircomG1\n */\nexport const CircomG1 = new CircomG1$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CircomG2$Type extends MessageType<CircomG2> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CircomG2', [\n\t\t\t{ no: 1, name: 'e00', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'e01', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'e10', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'e11', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'e20', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 6, name: 'e21', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CircomG2\n */\nexport const CircomG2 = new CircomG2$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasskeyAuthenticator$Type extends MessageType<PasskeyAuthenticator> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.PasskeyAuthenticator', [\n\t\t\t{ no: 1, name: 'authenticator_data', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 2, name: 'client_data_json', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'signature', kind: 'message', T: () => SimpleSignature },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.PasskeyAuthenticator\n */\nexport const PasskeyAuthenticator = new PasskeyAuthenticator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorCommittee$Type extends MessageType<ValidatorCommittee> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorCommittee', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*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: 'members',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorCommitteeMember,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorCommittee\n */\nexport const ValidatorCommittee = new ValidatorCommittee$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorCommitteeMember$Type extends MessageType<ValidatorCommitteeMember> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorCommitteeMember', [\n\t\t\t{ no: 1, name: 'public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'weight',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorCommitteeMember\n */\nexport const ValidatorCommitteeMember = new ValidatorCommitteeMember$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorAggregatedSignature$Type extends MessageType<ValidatorAggregatedSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorAggregatedSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'signature', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'bitmap', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorAggregatedSignature\n */\nexport const ValidatorAggregatedSignature = new ValidatorAggregatedSignature$Type();\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/signature_scheme.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_scheme.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\n/**\n * Flag use to disambiguate the signature schemes supported by Sui.\n *\n * Note: the enum values defined by this proto message exactly match their\n * expected BCS serialized values when serialized as a u8. See\n * [enum.SignatureScheme](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/enum.SignatureScheme.html)\n * for more information about signature schemes.\n *\n * @generated from protobuf enum sui.rpc.v2.SignatureScheme\n */\nexport enum SignatureScheme {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBO,IAAK,kBAAL,kBAAKA,qBAAL;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_scheme.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\n/**\n * Flag use to disambiguate the signature schemes supported by Sui.\n *\n * Note: the enum values defined by this proto message exactly match their\n * expected BCS serialized values when serialized as a u8. See\n * [enum.SignatureScheme](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/enum.SignatureScheme.html)\n * for more information about signature schemes.\n *\n * @generated from protobuf enum sui.rpc.v2.SignatureScheme\n */\nexport enum SignatureScheme {\n\t/**\n\t * @generated from protobuf enum value: ED25519 = 0;\n\t */\n\tED25519 = 0,\n\t/**\n\t * @generated from protobuf enum value: SECP256K1 = 1;\n\t */\n\tSECP256K1 = 1,\n\t/**\n\t * @generated from protobuf enum value: SECP256R1 = 2;\n\t */\n\tSECP256R1 = 2,\n\t/**\n\t * @generated from protobuf enum value: MULTISIG = 3;\n\t */\n\tMULTISIG = 3,\n\t/**\n\t * @generated from protobuf enum value: BLS12381 = 4;\n\t */\n\tBLS12381 = 4,\n\t/**\n\t * @generated from protobuf enum value: ZKLOGIN = 5;\n\t */\n\tZKLOGIN = 5,\n\t/**\n\t * @generated from protobuf enum value: PASSKEY = 6;\n\t */\n\tPASSKEY = 6,\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBO,IAAK,kBAAL,kBAAKA,qBAAL;AAIN,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,cAAW,KAAX;AAIA,EAAAA,kCAAA,cAAW,KAAX;AAIA,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,aAAU,KAAV;AA5BW,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["SignatureScheme"]
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { RpcTransport } from
|
|
2
|
-
import type { ServiceInfo } from
|
|
3
|
-
import type { VerifySignatureResponse } from
|
|
4
|
-
import type { VerifySignatureRequest } from
|
|
5
|
-
import type { UnaryCall } from
|
|
6
|
-
import type { RpcOptions } from
|
|
1
|
+
import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
|
|
3
|
+
import type { VerifySignatureResponse } from './signature_verification_service.js';
|
|
4
|
+
import type { VerifySignatureRequest } from './signature_verification_service.js';
|
|
5
|
+
import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
|
|
6
|
+
import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
7
7
|
/**
|
|
8
8
|
* @generated from protobuf service sui.rpc.v2.SignatureVerificationService
|
|
9
9
|
*/
|
|
@@ -21,7 +21,7 @@ __export(signature_verification_service_client_exports, {
|
|
|
21
21
|
SignatureVerificationServiceClient: () => SignatureVerificationServiceClient
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(signature_verification_service_client_exports);
|
|
24
|
-
var import_signature_verification_service = require("./signature_verification_service");
|
|
24
|
+
var import_signature_verification_service = require("./signature_verification_service.js");
|
|
25
25
|
var import_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
26
26
|
class SignatureVerificationServiceClient {
|
|
27
27
|
constructor(_transport) {
|
|
@@ -37,7 +37,13 @@ class SignatureVerificationServiceClient {
|
|
|
37
37
|
*/
|
|
38
38
|
verifySignature(input, options) {
|
|
39
39
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
40
|
-
return (0, import_runtime_rpc.stackIntercept)(
|
|
40
|
+
return (0, import_runtime_rpc.stackIntercept)(
|
|
41
|
+
"unary",
|
|
42
|
+
this._transport,
|
|
43
|
+
method,
|
|
44
|
+
opt,
|
|
45
|
+
input
|
|
46
|
+
);
|
|
41
47
|
}
|
|
42
48
|
}
|
|
43
49
|
//# sourceMappingURL=signature_verification_service.client.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_verification_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaA,4CAA6C;AAC7C,yBAA+B;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_verification_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { SignatureVerificationService } from './signature_verification_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { VerifySignatureResponse } from './signature_verification_service.js';\nimport type { VerifySignatureRequest } from './signature_verification_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.SignatureVerificationService\n */\nexport interface ISignatureVerificationServiceClient {\n\t/**\n\t * Perform signature verification of a UserSignature against the provided message.\n\t *\n\t * @generated from protobuf rpc: VerifySignature(sui.rpc.v2.VerifySignatureRequest) returns (sui.rpc.v2.VerifySignatureResponse);\n\t */\n\tverifySignature(\n\t\tinput: VerifySignatureRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<VerifySignatureRequest, VerifySignatureResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.SignatureVerificationService\n */\nexport class SignatureVerificationServiceClient\n\timplements ISignatureVerificationServiceClient, ServiceInfo\n{\n\ttypeName = SignatureVerificationService.typeName;\n\tmethods = SignatureVerificationService.methods;\n\toptions = SignatureVerificationService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Perform signature verification of a UserSignature against the provided message.\n\t *\n\t * @generated from protobuf rpc: VerifySignature(sui.rpc.v2.VerifySignatureRequest) returns (sui.rpc.v2.VerifySignatureResponse);\n\t */\n\tverifySignature(\n\t\tinput: VerifySignatureRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<VerifySignatureRequest, VerifySignatureResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<VerifySignatureRequest, VerifySignatureResponse>(\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;AAAA;AAAA;AAAA;AAAA;AAaA,4CAA6C;AAC7C,yBAA+B;AAsBxB,MAAM,mCAEb;AAAA,EAIC,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,mEAA6B;AACxC,mBAAU,mEAA6B;AACvC,mBAAU,mEAA6B;AAAA,EACiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxD,gBACC,OACA,SAC6D;AAC7D,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,eAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AACD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ServiceType } from
|
|
2
|
-
import { MessageType } from
|
|
3
|
-
import { ActiveJwk } from
|
|
4
|
-
import { UserSignature } from
|
|
5
|
-
import { Bcs } from
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
import { ActiveJwk } from './transaction.js';
|
|
4
|
+
import { UserSignature } from './signature.js';
|
|
5
|
+
import { Bcs } from './bcs.js';
|
|
6
6
|
/**
|
|
7
7
|
* @generated from protobuf message sui.rpc.v2.VerifySignatureRequest
|
|
8
8
|
*/
|
|
@@ -25,9 +25,9 @@ __export(signature_verification_service_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(signature_verification_service_exports);
|
|
26
26
|
var import_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
27
27
|
var import_runtime = require("@protobuf-ts/runtime");
|
|
28
|
-
var import_transaction = require("./transaction");
|
|
29
|
-
var import_signature = require("./signature");
|
|
30
|
-
var import_bcs = require("./bcs");
|
|
28
|
+
var import_transaction = require("./transaction.js");
|
|
29
|
+
var import_signature = require("./signature.js");
|
|
30
|
+
var import_bcs = require("./bcs.js");
|
|
31
31
|
class VerifySignatureRequest$Type extends import_runtime.MessageType {
|
|
32
32
|
constructor() {
|
|
33
33
|
super("sui.rpc.v2.VerifySignatureRequest", [
|
|
@@ -69,7 +69,8 @@ class VerifySignatureResponse$Type extends import_runtime.MessageType {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
const VerifySignatureResponse = new VerifySignatureResponse$Type();
|
|
72
|
-
const SignatureVerificationService = new import_runtime_rpc.ServiceType(
|
|
73
|
-
|
|
74
|
-
]
|
|
72
|
+
const SignatureVerificationService = new import_runtime_rpc.ServiceType(
|
|
73
|
+
"sui.rpc.v2.SignatureVerificationService",
|
|
74
|
+
[{ name: "VerifySignature", options: {}, I: VerifySignatureRequest, O: VerifySignatureResponse }]
|
|
75
|
+
);
|
|
75
76
|
//# sourceMappingURL=signature_verification_service.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_service.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_verification_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,yBAA4B;AAC5B,qBAA4B;AAC5B,yBAA0B;AAC1B,uBAA8B;AAC9B,iBAAoB;AAyDpB,MAAM,oCAAoC,2BAAoC;AAAA,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_verification_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { ActiveJwk } from './transaction.js';\nimport { UserSignature } from './signature.js';\nimport { Bcs } from './bcs.js';\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport interface VerifySignatureRequest {\n\t/**\n\t * The message to verify against.\n\t *\n\t * Today the only supported message types are `PersonalMessage` and\n\t * `TransactionData` and the `Bcs.name` must be set to indicate which type of\n\t * message is being verified.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs message = 1;\n\t */\n\tmessage?: Bcs;\n\t/**\n\t * The signature to verify.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.UserSignature signature = 2;\n\t */\n\tsignature?: UserSignature;\n\t/**\n\t * Optional. Address to validate against the provided signature.\n\t *\n\t * If provided, this address will be compared against the the address derived\n\t * from the provide signature and a successful response will only be returned\n\t * if they match.\n\t *\n\t * @generated from protobuf field: optional string address = 3;\n\t */\n\taddress?: string;\n\t/**\n\t * The set of JWKs to use when verifying Zklogin signatures.\n\t * If this is empty the current set of valid JWKs stored onchain will be used\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ActiveJwk jwks = 4;\n\t */\n\tjwks: ActiveJwk[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport interface VerifySignatureResponse {\n\t/**\n\t * Indicates if the provided signature was valid given the requested parameters.\n\t *\n\t * @generated from protobuf field: optional bool is_valid = 1;\n\t */\n\tisValid?: boolean;\n\t/**\n\t * If `is_valid` is `false`, this is the reason for why the signature verification failed.\n\t *\n\t * @generated from protobuf field: optional string reason = 2;\n\t */\n\treason?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureRequest', [\n\t\t\t{ no: 1, name: 'message', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'signature', kind: 'message', T: () => UserSignature },\n\t\t\t{ no: 3, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'jwks', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => ActiveJwk },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport const VerifySignatureRequest = new VerifySignatureRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureResponse$Type extends MessageType<VerifySignatureResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureResponse', [\n\t\t\t{ no: 1, name: 'is_valid', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 2, name: 'reason', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport const VerifySignatureResponse = new VerifySignatureResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.SignatureVerificationService\n */\nexport const SignatureVerificationService = new ServiceType(\n\t'sui.rpc.v2.SignatureVerificationService',\n\t[{ name: 'VerifySignature', options: {}, I: VerifySignatureRequest, O: VerifySignatureResponse }],\n);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,yBAA4B;AAC5B,qBAA4B;AAC5B,yBAA0B;AAC1B,uBAA8B;AAC9B,iBAAoB;AAyDpB,MAAM,oCAAoC,2BAAoC;AAAA,EAC7E,cAAc;AACb,UAAM,qCAAqC;AAAA,MAC1C,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,GAAG,MAAM,eAAI;AAAA,MACxD,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,MAAM,+BAAc;AAAA,MACpE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAChF,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,6BAAU;AAAA,IAC7F,CAAC;AAAA,EACF;AACD;AAIO,MAAM,yBAAyB,IAAI,4BAA4B;AAEtE,MAAM,qCAAqC,2BAAqC;AAAA,EAC/E,cAAc;AACb,UAAM,sCAAsC;AAAA,MAC3C;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAY,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC/E;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,0BAA0B,IAAI,6BAA6B;AAIjE,MAAM,+BAA+B,IAAI;AAAA,EAC/C;AAAA,EACA,CAAC,EAAE,MAAM,mBAAmB,SAAS,CAAC,GAAG,GAAG,wBAAwB,GAAG,wBAAwB,CAAC;AACjG;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { RpcTransport } from
|
|
2
|
-
import type { ServiceInfo } from
|
|
3
|
-
import type { ListBalancesResponse } from
|
|
4
|
-
import type { ListBalancesRequest } from
|
|
5
|
-
import type { GetBalanceResponse } from
|
|
6
|
-
import type { GetBalanceRequest } from
|
|
7
|
-
import type { GetCoinInfoResponse } from
|
|
8
|
-
import type { GetCoinInfoRequest } from
|
|
9
|
-
import type { ListOwnedObjectsResponse } from
|
|
10
|
-
import type { ListOwnedObjectsRequest } from
|
|
11
|
-
import type { ListDynamicFieldsResponse } from
|
|
12
|
-
import type { ListDynamicFieldsRequest } from
|
|
13
|
-
import type { UnaryCall } from
|
|
14
|
-
import type { RpcOptions } from
|
|
1
|
+
import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
|
|
3
|
+
import type { ListBalancesResponse } from './state_service.js';
|
|
4
|
+
import type { ListBalancesRequest } from './state_service.js';
|
|
5
|
+
import type { GetBalanceResponse } from './state_service.js';
|
|
6
|
+
import type { GetBalanceRequest } from './state_service.js';
|
|
7
|
+
import type { GetCoinInfoResponse } from './state_service.js';
|
|
8
|
+
import type { GetCoinInfoRequest } from './state_service.js';
|
|
9
|
+
import type { ListOwnedObjectsResponse } from './state_service.js';
|
|
10
|
+
import type { ListOwnedObjectsRequest } from './state_service.js';
|
|
11
|
+
import type { ListDynamicFieldsResponse } from './state_service.js';
|
|
12
|
+
import type { ListDynamicFieldsRequest } from './state_service.js';
|
|
13
|
+
import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
|
|
14
|
+
import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
15
15
|
/**
|
|
16
16
|
* @generated from protobuf service sui.rpc.v2.StateService
|
|
17
17
|
*/
|