@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
|
@@ -9,56 +9,56 @@
|
|
|
9
9
|
// Copyright (c) Mysten Labs, Inc.
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
//
|
|
12
|
-
import { MessageType } from
|
|
13
|
-
import { Duration } from
|
|
14
|
-
import { Jwk } from
|
|
15
|
-
import { JwkId } from
|
|
16
|
-
import { Object } from
|
|
17
|
-
import { Timestamp } from
|
|
18
|
-
import { Argument } from
|
|
19
|
-
import { Input } from
|
|
20
|
-
import { ObjectReference } from
|
|
21
|
-
import { Bcs } from
|
|
12
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
13
|
+
import { Duration } from '../../../google/protobuf/duration.js';
|
|
14
|
+
import { Jwk } from './jwk.js';
|
|
15
|
+
import { JwkId } from './jwk.js';
|
|
16
|
+
import { Object } from './object.js';
|
|
17
|
+
import { Timestamp } from '../../../google/protobuf/timestamp.js';
|
|
18
|
+
import { Argument } from './argument.js';
|
|
19
|
+
import { Input } from './input.js';
|
|
20
|
+
import { ObjectReference } from './object_reference.js';
|
|
21
|
+
import { Bcs } from './bcs.js';
|
|
22
22
|
/**
|
|
23
23
|
* A transaction.
|
|
24
24
|
*
|
|
25
25
|
* @generated from protobuf message sui.rpc.v2.Transaction
|
|
26
26
|
*/
|
|
27
27
|
export interface Transaction {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
28
|
+
/**
|
|
29
|
+
* This Transaction serialized as BCS.
|
|
30
|
+
*
|
|
31
|
+
* @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;
|
|
32
|
+
*/
|
|
33
|
+
bcs?: Bcs;
|
|
34
|
+
/**
|
|
35
|
+
* The digest of this Transaction.
|
|
36
|
+
*
|
|
37
|
+
* @generated from protobuf field: optional string digest = 2;
|
|
38
|
+
*/
|
|
39
|
+
digest?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Version of this Transaction.
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf field: optional int32 version = 3;
|
|
44
|
+
*/
|
|
45
|
+
version?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf field: optional sui.rpc.v2.TransactionKind kind = 4;
|
|
48
|
+
*/
|
|
49
|
+
kind?: TransactionKind;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from protobuf field: optional string sender = 5;
|
|
52
|
+
*/
|
|
53
|
+
sender?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from protobuf field: optional sui.rpc.v2.GasPayment gas_payment = 6;
|
|
56
|
+
*/
|
|
57
|
+
gasPayment?: GasPayment;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from protobuf field: optional sui.rpc.v2.TransactionExpiration expiration = 7;
|
|
60
|
+
*/
|
|
61
|
+
expiration?: TransactionExpiration;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Payment information for executing a transaction.
|
|
@@ -66,32 +66,32 @@ export interface Transaction {
|
|
|
66
66
|
* @generated from protobuf message sui.rpc.v2.GasPayment
|
|
67
67
|
*/
|
|
68
68
|
export interface GasPayment {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Set of gas objects to use for payment.
|
|
71
|
+
*
|
|
72
|
+
* @generated from protobuf field: repeated sui.rpc.v2.ObjectReference objects = 1;
|
|
73
|
+
*/
|
|
74
|
+
objects: ObjectReference[];
|
|
75
|
+
/**
|
|
76
|
+
* Owner of the gas objects, either the transaction sender or a sponsor.
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf field: optional string owner = 2;
|
|
79
|
+
*/
|
|
80
|
+
owner?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Gas unit price to use when charging for computation.
|
|
83
|
+
*
|
|
84
|
+
* Must be greater than or equal to the network's current RGP (reference gas price).
|
|
85
|
+
*
|
|
86
|
+
* @generated from protobuf field: optional uint64 price = 3;
|
|
87
|
+
*/
|
|
88
|
+
price?: bigint;
|
|
89
|
+
/**
|
|
90
|
+
* Total budget willing to spend for the execution of a transaction.
|
|
91
|
+
*
|
|
92
|
+
* @generated from protobuf field: optional uint64 budget = 4;
|
|
93
|
+
*/
|
|
94
|
+
budget?: bigint;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* A TTL for a transaction.
|
|
@@ -99,36 +99,36 @@ export interface GasPayment {
|
|
|
99
99
|
* @generated from protobuf message sui.rpc.v2.TransactionExpiration
|
|
100
100
|
*/
|
|
101
101
|
export interface TransactionExpiration {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
/**
|
|
103
|
+
* @generated from protobuf field: optional sui.rpc.v2.TransactionExpiration.TransactionExpirationKind kind = 1;
|
|
104
|
+
*/
|
|
105
|
+
kind?: TransactionExpiration_TransactionExpirationKind;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from protobuf field: optional uint64 epoch = 2;
|
|
108
|
+
*/
|
|
109
|
+
epoch?: bigint;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* @generated from protobuf enum sui.rpc.v2.TransactionExpiration.TransactionExpirationKind
|
|
113
113
|
*/
|
|
114
114
|
export enum TransactionExpiration_TransactionExpirationKind {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
115
|
+
/**
|
|
116
|
+
* @generated from protobuf enum value: TRANSACTION_EXPIRATION_KIND_UNKNOWN = 0;
|
|
117
|
+
*/
|
|
118
|
+
TRANSACTION_EXPIRATION_KIND_UNKNOWN = 0,
|
|
119
|
+
/**
|
|
120
|
+
* The transaction has no expiration.
|
|
121
|
+
*
|
|
122
|
+
* @generated from protobuf enum value: NONE = 1;
|
|
123
|
+
*/
|
|
124
|
+
NONE = 1,
|
|
125
|
+
/**
|
|
126
|
+
* Validators won't sign and execute transaction unless the expiration epoch
|
|
127
|
+
* is greater than or equal to the current epoch.
|
|
128
|
+
*
|
|
129
|
+
* @generated from protobuf enum value: EPOCH = 2;
|
|
130
|
+
*/
|
|
131
|
+
EPOCH = 2,
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
134
|
* Transaction type.
|
|
@@ -136,155 +136,163 @@ export enum TransactionExpiration_TransactionExpirationKind {
|
|
|
136
136
|
* @generated from protobuf message sui.rpc.v2.TransactionKind
|
|
137
137
|
*/
|
|
138
138
|
export interface TransactionKind {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
139
|
+
/**
|
|
140
|
+
* @generated from protobuf field: optional sui.rpc.v2.TransactionKind.Kind kind = 1;
|
|
141
|
+
*/
|
|
142
|
+
kind?: TransactionKind_Kind;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from protobuf oneof: data
|
|
145
|
+
*/
|
|
146
|
+
data:
|
|
147
|
+
| {
|
|
148
|
+
oneofKind: 'programmableTransaction';
|
|
149
|
+
/**
|
|
150
|
+
* A transaction comprised of a list of native commands and Move calls.
|
|
151
|
+
*
|
|
152
|
+
* @generated from protobuf field: sui.rpc.v2.ProgrammableTransaction programmable_transaction = 2;
|
|
153
|
+
*/
|
|
154
|
+
programmableTransaction: ProgrammableTransaction;
|
|
155
|
+
}
|
|
156
|
+
| {
|
|
157
|
+
oneofKind: 'changeEpoch';
|
|
158
|
+
/**
|
|
159
|
+
* System transaction used to end an epoch.
|
|
160
|
+
*
|
|
161
|
+
* The `ChangeEpoch` variant is now deprecated (but the `ChangeEpoch` struct is still used by
|
|
162
|
+
* `EndOfEpochTransaction`).
|
|
163
|
+
*
|
|
164
|
+
* @generated from protobuf field: sui.rpc.v2.ChangeEpoch change_epoch = 3;
|
|
165
|
+
*/
|
|
166
|
+
changeEpoch: ChangeEpoch;
|
|
167
|
+
}
|
|
168
|
+
| {
|
|
169
|
+
oneofKind: 'genesis';
|
|
170
|
+
/**
|
|
171
|
+
* Transaction used to initialize the chain state.
|
|
172
|
+
*
|
|
173
|
+
* Only valid if in the genesis checkpoint (0) and if this is the very first transaction ever
|
|
174
|
+
* executed on the chain.
|
|
175
|
+
*
|
|
176
|
+
* @generated from protobuf field: sui.rpc.v2.GenesisTransaction genesis = 4;
|
|
177
|
+
*/
|
|
178
|
+
genesis: GenesisTransaction;
|
|
179
|
+
}
|
|
180
|
+
| {
|
|
181
|
+
oneofKind: 'consensusCommitPrologue';
|
|
182
|
+
/**
|
|
183
|
+
* consensus commit update info
|
|
184
|
+
*
|
|
185
|
+
* @generated from protobuf field: sui.rpc.v2.ConsensusCommitPrologue consensus_commit_prologue = 5;
|
|
186
|
+
*/
|
|
187
|
+
consensusCommitPrologue: ConsensusCommitPrologue;
|
|
188
|
+
}
|
|
189
|
+
| {
|
|
190
|
+
oneofKind: 'authenticatorStateUpdate';
|
|
191
|
+
/**
|
|
192
|
+
* Update set of valid JWKs used for zklogin.
|
|
193
|
+
*
|
|
194
|
+
* @generated from protobuf field: sui.rpc.v2.AuthenticatorStateUpdate authenticator_state_update = 6;
|
|
195
|
+
*/
|
|
196
|
+
authenticatorStateUpdate: AuthenticatorStateUpdate;
|
|
197
|
+
}
|
|
198
|
+
| {
|
|
199
|
+
oneofKind: 'endOfEpoch';
|
|
200
|
+
/**
|
|
201
|
+
* Set of operations to run at the end of the epoch to close out the current epoch and start
|
|
202
|
+
* the next one.
|
|
203
|
+
*
|
|
204
|
+
* @generated from protobuf field: sui.rpc.v2.EndOfEpochTransaction end_of_epoch = 7;
|
|
205
|
+
*/
|
|
206
|
+
endOfEpoch: EndOfEpochTransaction;
|
|
207
|
+
}
|
|
208
|
+
| {
|
|
209
|
+
oneofKind: 'randomnessStateUpdate';
|
|
210
|
+
/**
|
|
211
|
+
* Randomness update.
|
|
212
|
+
*
|
|
213
|
+
* @generated from protobuf field: sui.rpc.v2.RandomnessStateUpdate randomness_state_update = 8;
|
|
214
|
+
*/
|
|
215
|
+
randomnessStateUpdate: RandomnessStateUpdate;
|
|
216
|
+
}
|
|
217
|
+
| {
|
|
218
|
+
oneofKind: undefined;
|
|
219
|
+
};
|
|
212
220
|
}
|
|
213
221
|
/**
|
|
214
222
|
* @generated from protobuf enum sui.rpc.v2.TransactionKind.Kind
|
|
215
223
|
*/
|
|
216
224
|
export enum TransactionKind_Kind {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
225
|
+
/**
|
|
226
|
+
* @generated from protobuf enum value: KIND_UNKNOWN = 0;
|
|
227
|
+
*/
|
|
228
|
+
KIND_UNKNOWN = 0,
|
|
229
|
+
/**
|
|
230
|
+
* A user transaction comprised of a list of native commands and Move calls.
|
|
231
|
+
*
|
|
232
|
+
* @generated from protobuf enum value: PROGRAMMABLE_TRANSACTION = 1;
|
|
233
|
+
*/
|
|
234
|
+
PROGRAMMABLE_TRANSACTION = 1,
|
|
235
|
+
/**
|
|
236
|
+
* System transaction used to end an epoch.
|
|
237
|
+
*
|
|
238
|
+
* The `ChangeEpoch` variant is now deprecated (but the `ChangeEpoch` struct is still used by
|
|
239
|
+
* `EndOfEpochTransaction`).
|
|
240
|
+
*
|
|
241
|
+
* @generated from protobuf enum value: CHANGE_EPOCH = 2;
|
|
242
|
+
*/
|
|
243
|
+
CHANGE_EPOCH = 2,
|
|
244
|
+
/**
|
|
245
|
+
* Transaction used to initialize the chain state.
|
|
246
|
+
*
|
|
247
|
+
* Only valid if in the genesis checkpoint (0) and if this is the very first transaction ever
|
|
248
|
+
* executed on the chain.
|
|
249
|
+
*
|
|
250
|
+
* @generated from protobuf enum value: GENESIS = 3;
|
|
251
|
+
*/
|
|
252
|
+
GENESIS = 3,
|
|
253
|
+
/**
|
|
254
|
+
* V1 consensus commit update.
|
|
255
|
+
*
|
|
256
|
+
* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V1 = 4;
|
|
257
|
+
*/
|
|
258
|
+
CONSENSUS_COMMIT_PROLOGUE_V1 = 4,
|
|
259
|
+
/**
|
|
260
|
+
* Update set of valid JWKs used for zklogin.
|
|
261
|
+
*
|
|
262
|
+
* @generated from protobuf enum value: AUTHENTICATOR_STATE_UPDATE = 5;
|
|
263
|
+
*/
|
|
264
|
+
AUTHENTICATOR_STATE_UPDATE = 5,
|
|
265
|
+
/**
|
|
266
|
+
* Set of operations to run at the end of the epoch to close out the current epoch and start
|
|
267
|
+
* the next one.
|
|
268
|
+
*
|
|
269
|
+
* @generated from protobuf enum value: END_OF_EPOCH = 6;
|
|
270
|
+
*/
|
|
271
|
+
END_OF_EPOCH = 6,
|
|
272
|
+
/**
|
|
273
|
+
* Randomness update.
|
|
274
|
+
*
|
|
275
|
+
* @generated from protobuf enum value: RANDOMNESS_STATE_UPDATE = 7;
|
|
276
|
+
*/
|
|
277
|
+
RANDOMNESS_STATE_UPDATE = 7,
|
|
278
|
+
/**
|
|
279
|
+
* V2 consensus commit update.
|
|
280
|
+
*
|
|
281
|
+
* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V2 = 8;
|
|
282
|
+
*/
|
|
283
|
+
CONSENSUS_COMMIT_PROLOGUE_V2 = 8,
|
|
284
|
+
/**
|
|
285
|
+
* V3 consensus commit update.
|
|
286
|
+
*
|
|
287
|
+
* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V3 = 9;
|
|
288
|
+
*/
|
|
289
|
+
CONSENSUS_COMMIT_PROLOGUE_V3 = 9,
|
|
290
|
+
/**
|
|
291
|
+
* V4 consensus commit update.
|
|
292
|
+
*
|
|
293
|
+
* @generated from protobuf enum value: CONSENSUS_COMMIT_PROLOGUE_V4 = 10;
|
|
294
|
+
*/
|
|
295
|
+
CONSENSUS_COMMIT_PROLOGUE_V4 = 10,
|
|
288
296
|
}
|
|
289
297
|
/**
|
|
290
298
|
* A user transaction.
|
|
@@ -295,19 +303,19 @@ export enum TransactionKind_Kind {
|
|
|
295
303
|
* @generated from protobuf message sui.rpc.v2.ProgrammableTransaction
|
|
296
304
|
*/
|
|
297
305
|
export interface ProgrammableTransaction {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
306
|
+
/**
|
|
307
|
+
* Input objects or primitive values.
|
|
308
|
+
*
|
|
309
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Input inputs = 1;
|
|
310
|
+
*/
|
|
311
|
+
inputs: Input[];
|
|
312
|
+
/**
|
|
313
|
+
* The commands to be executed sequentially. A failure in any command
|
|
314
|
+
* results in the failure of the entire transaction.
|
|
315
|
+
*
|
|
316
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Command commands = 2;
|
|
317
|
+
*/
|
|
318
|
+
commands: Command[];
|
|
311
319
|
}
|
|
312
320
|
/**
|
|
313
321
|
* A single command in a programmable transaction.
|
|
@@ -315,82 +323,90 @@ export interface ProgrammableTransaction {
|
|
|
315
323
|
* @generated from protobuf message sui.rpc.v2.Command
|
|
316
324
|
*/
|
|
317
325
|
export interface Command {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
326
|
+
/**
|
|
327
|
+
* @generated from protobuf oneof: command
|
|
328
|
+
*/
|
|
329
|
+
command:
|
|
330
|
+
| {
|
|
331
|
+
oneofKind: 'moveCall';
|
|
332
|
+
/**
|
|
333
|
+
* A call to either an entry or a public Move function.
|
|
334
|
+
*
|
|
335
|
+
* @generated from protobuf field: sui.rpc.v2.MoveCall move_call = 1;
|
|
336
|
+
*/
|
|
337
|
+
moveCall: MoveCall;
|
|
338
|
+
}
|
|
339
|
+
| {
|
|
340
|
+
oneofKind: 'transferObjects';
|
|
341
|
+
/**
|
|
342
|
+
* `(Vec<forall T:key+store. T>, address)`
|
|
343
|
+
* It sends n-objects to the specified address. These objects must have store
|
|
344
|
+
* (public transfer) and either the previous owner must be an address or the object must
|
|
345
|
+
* be newly created.
|
|
346
|
+
*
|
|
347
|
+
* @generated from protobuf field: sui.rpc.v2.TransferObjects transfer_objects = 2;
|
|
348
|
+
*/
|
|
349
|
+
transferObjects: TransferObjects;
|
|
350
|
+
}
|
|
351
|
+
| {
|
|
352
|
+
oneofKind: 'splitCoins';
|
|
353
|
+
/**
|
|
354
|
+
* `(&mut Coin<T>, Vec<u64>)` -> `Vec<Coin<T>>`
|
|
355
|
+
* It splits off some amounts into new coins with those amounts.
|
|
356
|
+
*
|
|
357
|
+
* @generated from protobuf field: sui.rpc.v2.SplitCoins split_coins = 3;
|
|
358
|
+
*/
|
|
359
|
+
splitCoins: SplitCoins;
|
|
360
|
+
}
|
|
361
|
+
| {
|
|
362
|
+
oneofKind: 'mergeCoins';
|
|
363
|
+
/**
|
|
364
|
+
* `(&mut Coin<T>, Vec<Coin<T>>)`
|
|
365
|
+
* It merges n-coins into the first coin.
|
|
366
|
+
*
|
|
367
|
+
* @generated from protobuf field: sui.rpc.v2.MergeCoins merge_coins = 4;
|
|
368
|
+
*/
|
|
369
|
+
mergeCoins: MergeCoins;
|
|
370
|
+
}
|
|
371
|
+
| {
|
|
372
|
+
oneofKind: 'publish';
|
|
373
|
+
/**
|
|
374
|
+
* Publishes a Move package. It takes the package bytes and a list of the package's transitive
|
|
375
|
+
* dependencies to link against on chain.
|
|
376
|
+
*
|
|
377
|
+
* @generated from protobuf field: sui.rpc.v2.Publish publish = 5;
|
|
378
|
+
*/
|
|
379
|
+
publish: Publish;
|
|
380
|
+
}
|
|
381
|
+
| {
|
|
382
|
+
oneofKind: 'makeMoveVector';
|
|
383
|
+
/**
|
|
384
|
+
* `forall T: Vec<T> -> vector<T>`
|
|
385
|
+
* Given n-values of the same type, it constructs a vector. For non-objects or an empty vector,
|
|
386
|
+
* the type tag must be specified.
|
|
387
|
+
*
|
|
388
|
+
* @generated from protobuf field: sui.rpc.v2.MakeMoveVector make_move_vector = 6;
|
|
389
|
+
*/
|
|
390
|
+
makeMoveVector: MakeMoveVector;
|
|
391
|
+
}
|
|
392
|
+
| {
|
|
393
|
+
oneofKind: 'upgrade';
|
|
394
|
+
/**
|
|
395
|
+
* Upgrades a Move package.
|
|
396
|
+
* Takes (in order):
|
|
397
|
+
* 1. A vector of serialized modules for the package.
|
|
398
|
+
* 2. A vector of object ids for the transitive dependencies of the new package.
|
|
399
|
+
* 3. The object ID of the package being upgraded.
|
|
400
|
+
* 4. An argument holding the `UpgradeTicket` that must have been produced from an earlier command in the same
|
|
401
|
+
* programmable transaction.
|
|
402
|
+
*
|
|
403
|
+
* @generated from protobuf field: sui.rpc.v2.Upgrade upgrade = 7;
|
|
404
|
+
*/
|
|
405
|
+
upgrade: Upgrade;
|
|
406
|
+
}
|
|
407
|
+
| {
|
|
408
|
+
oneofKind: undefined;
|
|
409
|
+
};
|
|
394
410
|
}
|
|
395
411
|
/**
|
|
396
412
|
* Command to call a Move function.
|
|
@@ -401,36 +417,36 @@ export interface Command {
|
|
|
401
417
|
* @generated from protobuf message sui.rpc.v2.MoveCall
|
|
402
418
|
*/
|
|
403
419
|
export interface MoveCall {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
420
|
+
/**
|
|
421
|
+
* The package containing the module and function.
|
|
422
|
+
*
|
|
423
|
+
* @generated from protobuf field: optional string package = 1;
|
|
424
|
+
*/
|
|
425
|
+
package?: string;
|
|
426
|
+
/**
|
|
427
|
+
* The specific module in the package containing the function.
|
|
428
|
+
*
|
|
429
|
+
* @generated from protobuf field: optional string module = 2;
|
|
430
|
+
*/
|
|
431
|
+
module?: string;
|
|
432
|
+
/**
|
|
433
|
+
* The function to be called.
|
|
434
|
+
*
|
|
435
|
+
* @generated from protobuf field: optional string function = 3;
|
|
436
|
+
*/
|
|
437
|
+
function?: string;
|
|
438
|
+
/**
|
|
439
|
+
* The type arguments to the function.
|
|
440
|
+
*
|
|
441
|
+
* @generated from protobuf field: repeated string type_arguments = 4;
|
|
442
|
+
*/
|
|
443
|
+
typeArguments: string[];
|
|
444
|
+
/**
|
|
445
|
+
* The arguments to the function.
|
|
446
|
+
*
|
|
447
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Argument arguments = 5;
|
|
448
|
+
*/
|
|
449
|
+
arguments: Argument[];
|
|
434
450
|
}
|
|
435
451
|
/**
|
|
436
452
|
* Command to transfer ownership of a set of objects to an address.
|
|
@@ -438,18 +454,18 @@ export interface MoveCall {
|
|
|
438
454
|
* @generated from protobuf message sui.rpc.v2.TransferObjects
|
|
439
455
|
*/
|
|
440
456
|
export interface TransferObjects {
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
457
|
+
/**
|
|
458
|
+
* Set of objects to transfer.
|
|
459
|
+
*
|
|
460
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Argument objects = 1;
|
|
461
|
+
*/
|
|
462
|
+
objects: Argument[];
|
|
463
|
+
/**
|
|
464
|
+
* The address to transfer ownership to.
|
|
465
|
+
*
|
|
466
|
+
* @generated from protobuf field: optional sui.rpc.v2.Argument address = 2;
|
|
467
|
+
*/
|
|
468
|
+
address?: Argument;
|
|
453
469
|
}
|
|
454
470
|
/**
|
|
455
471
|
* Command to split a single coin object into multiple coins.
|
|
@@ -457,18 +473,18 @@ export interface TransferObjects {
|
|
|
457
473
|
* @generated from protobuf message sui.rpc.v2.SplitCoins
|
|
458
474
|
*/
|
|
459
475
|
export interface SplitCoins {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
476
|
+
/**
|
|
477
|
+
* The coin to split.
|
|
478
|
+
*
|
|
479
|
+
* @generated from protobuf field: optional sui.rpc.v2.Argument coin = 1;
|
|
480
|
+
*/
|
|
481
|
+
coin?: Argument;
|
|
482
|
+
/**
|
|
483
|
+
* The amounts to split off.
|
|
484
|
+
*
|
|
485
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Argument amounts = 2;
|
|
486
|
+
*/
|
|
487
|
+
amounts: Argument[];
|
|
472
488
|
}
|
|
473
489
|
/**
|
|
474
490
|
* Command to merge multiple coins of the same type into a single coin.
|
|
@@ -476,20 +492,20 @@ export interface SplitCoins {
|
|
|
476
492
|
* @generated from protobuf message sui.rpc.v2.MergeCoins
|
|
477
493
|
*/
|
|
478
494
|
export interface MergeCoins {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
495
|
+
/**
|
|
496
|
+
* Coin to merge coins into.
|
|
497
|
+
*
|
|
498
|
+
* @generated from protobuf field: optional sui.rpc.v2.Argument coin = 1;
|
|
499
|
+
*/
|
|
500
|
+
coin?: Argument;
|
|
501
|
+
/**
|
|
502
|
+
* Set of coins to merge into `coin`.
|
|
503
|
+
*
|
|
504
|
+
* All listed coins must be of the same type and be the same type as `coin`
|
|
505
|
+
*
|
|
506
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Argument coins_to_merge = 2;
|
|
507
|
+
*/
|
|
508
|
+
coinsToMerge: Argument[];
|
|
493
509
|
}
|
|
494
510
|
/**
|
|
495
511
|
* Command to publish a new Move package.
|
|
@@ -497,18 +513,18 @@ export interface MergeCoins {
|
|
|
497
513
|
* @generated from protobuf message sui.rpc.v2.Publish
|
|
498
514
|
*/
|
|
499
515
|
export interface Publish {
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
516
|
+
/**
|
|
517
|
+
* The serialized Move modules.
|
|
518
|
+
*
|
|
519
|
+
* @generated from protobuf field: repeated bytes modules = 1;
|
|
520
|
+
*/
|
|
521
|
+
modules: Uint8Array[];
|
|
522
|
+
/**
|
|
523
|
+
* Set of packages that the to-be published package depends on.
|
|
524
|
+
*
|
|
525
|
+
* @generated from protobuf field: repeated string dependencies = 2;
|
|
526
|
+
*/
|
|
527
|
+
dependencies: string[];
|
|
512
528
|
}
|
|
513
529
|
/**
|
|
514
530
|
* Command to build a Move vector out of a set of individual elements.
|
|
@@ -516,21 +532,21 @@ export interface Publish {
|
|
|
516
532
|
* @generated from protobuf message sui.rpc.v2.MakeMoveVector
|
|
517
533
|
*/
|
|
518
534
|
export interface MakeMoveVector {
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
535
|
+
/**
|
|
536
|
+
* Type of the individual elements.
|
|
537
|
+
*
|
|
538
|
+
* This is required to be set when the type can't be inferred, for example when the set of
|
|
539
|
+
* provided arguments are all pure input values.
|
|
540
|
+
*
|
|
541
|
+
* @generated from protobuf field: optional string element_type = 1;
|
|
542
|
+
*/
|
|
543
|
+
elementType?: string;
|
|
544
|
+
/**
|
|
545
|
+
* The set individual elements to build the vector with.
|
|
546
|
+
*
|
|
547
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Argument elements = 2;
|
|
548
|
+
*/
|
|
549
|
+
elements: Argument[];
|
|
534
550
|
}
|
|
535
551
|
/**
|
|
536
552
|
* Command to upgrade an already published package.
|
|
@@ -538,30 +554,30 @@ export interface MakeMoveVector {
|
|
|
538
554
|
* @generated from protobuf message sui.rpc.v2.Upgrade
|
|
539
555
|
*/
|
|
540
556
|
export interface Upgrade {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
557
|
+
/**
|
|
558
|
+
* The serialized Move modules.
|
|
559
|
+
*
|
|
560
|
+
* @generated from protobuf field: repeated bytes modules = 1;
|
|
561
|
+
*/
|
|
562
|
+
modules: Uint8Array[];
|
|
563
|
+
/**
|
|
564
|
+
* Set of packages that the to-be published package depends on.
|
|
565
|
+
*
|
|
566
|
+
* @generated from protobuf field: repeated string dependencies = 2;
|
|
567
|
+
*/
|
|
568
|
+
dependencies: string[];
|
|
569
|
+
/**
|
|
570
|
+
* Package ID of the package to upgrade.
|
|
571
|
+
*
|
|
572
|
+
* @generated from protobuf field: optional string package = 3;
|
|
573
|
+
*/
|
|
574
|
+
package?: string;
|
|
575
|
+
/**
|
|
576
|
+
* Ticket authorizing the upgrade.
|
|
577
|
+
*
|
|
578
|
+
* @generated from protobuf field: optional sui.rpc.v2.Argument ticket = 4;
|
|
579
|
+
*/
|
|
580
|
+
ticket?: Argument;
|
|
565
581
|
}
|
|
566
582
|
/**
|
|
567
583
|
* Randomness update.
|
|
@@ -569,30 +585,30 @@ export interface Upgrade {
|
|
|
569
585
|
* @generated from protobuf message sui.rpc.v2.RandomnessStateUpdate
|
|
570
586
|
*/
|
|
571
587
|
export interface RandomnessStateUpdate {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
588
|
+
/**
|
|
589
|
+
* Epoch of the randomness state update transaction.
|
|
590
|
+
*
|
|
591
|
+
* @generated from protobuf field: optional uint64 epoch = 1;
|
|
592
|
+
*/
|
|
593
|
+
epoch?: bigint;
|
|
594
|
+
/**
|
|
595
|
+
* Randomness round of the update.
|
|
596
|
+
*
|
|
597
|
+
* @generated from protobuf field: optional uint64 randomness_round = 2;
|
|
598
|
+
*/
|
|
599
|
+
randomnessRound?: bigint;
|
|
600
|
+
/**
|
|
601
|
+
* Updated random bytes.
|
|
602
|
+
*
|
|
603
|
+
* @generated from protobuf field: optional bytes random_bytes = 3;
|
|
604
|
+
*/
|
|
605
|
+
randomBytes?: Uint8Array;
|
|
606
|
+
/**
|
|
607
|
+
* The initial version of the randomness object that it was shared at.
|
|
608
|
+
*
|
|
609
|
+
* @generated from protobuf field: optional uint64 randomness_object_initial_shared_version = 4;
|
|
610
|
+
*/
|
|
611
|
+
randomnessObjectInitialSharedVersion?: bigint;
|
|
596
612
|
}
|
|
597
613
|
/**
|
|
598
614
|
* System transaction used to change the epoch.
|
|
@@ -600,58 +616,58 @@ export interface RandomnessStateUpdate {
|
|
|
600
616
|
* @generated from protobuf message sui.rpc.v2.ChangeEpoch
|
|
601
617
|
*/
|
|
602
618
|
export interface ChangeEpoch {
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
619
|
+
/**
|
|
620
|
+
* The next (to become) epoch ID.
|
|
621
|
+
*
|
|
622
|
+
* @generated from protobuf field: optional uint64 epoch = 1;
|
|
623
|
+
*/
|
|
624
|
+
epoch?: bigint;
|
|
625
|
+
/**
|
|
626
|
+
* The protocol version in effect in the new epoch.
|
|
627
|
+
*
|
|
628
|
+
* @generated from protobuf field: optional uint64 protocol_version = 2;
|
|
629
|
+
*/
|
|
630
|
+
protocolVersion?: bigint;
|
|
631
|
+
/**
|
|
632
|
+
* The total amount of gas charged for storage during the epoch.
|
|
633
|
+
*
|
|
634
|
+
* @generated from protobuf field: optional uint64 storage_charge = 3;
|
|
635
|
+
*/
|
|
636
|
+
storageCharge?: bigint;
|
|
637
|
+
/**
|
|
638
|
+
* The total amount of gas charged for computation during the epoch.
|
|
639
|
+
*
|
|
640
|
+
* @generated from protobuf field: optional uint64 computation_charge = 4;
|
|
641
|
+
*/
|
|
642
|
+
computationCharge?: bigint;
|
|
643
|
+
/**
|
|
644
|
+
* The amount of storage rebate refunded to the txn senders.
|
|
645
|
+
*
|
|
646
|
+
* @generated from protobuf field: optional uint64 storage_rebate = 5;
|
|
647
|
+
*/
|
|
648
|
+
storageRebate?: bigint;
|
|
649
|
+
/**
|
|
650
|
+
* The non-refundable storage fee.
|
|
651
|
+
*
|
|
652
|
+
* @generated from protobuf field: optional uint64 non_refundable_storage_fee = 6;
|
|
653
|
+
*/
|
|
654
|
+
nonRefundableStorageFee?: bigint;
|
|
655
|
+
/**
|
|
656
|
+
* Unix timestamp when epoch started.
|
|
657
|
+
*
|
|
658
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp epoch_start_timestamp = 7;
|
|
659
|
+
*/
|
|
660
|
+
epochStartTimestamp?: Timestamp;
|
|
661
|
+
/**
|
|
662
|
+
* System packages (specifically framework and Move stdlib) that are written before the new
|
|
663
|
+
* epoch starts. This tracks framework upgrades on chain. When executing the `ChangeEpoch` txn,
|
|
664
|
+
* the validator must write out the following modules. Modules are provided with the version they
|
|
665
|
+
* will be upgraded to, their modules in serialized form (which include their package ID), and
|
|
666
|
+
* a list of their transitive dependencies.
|
|
667
|
+
*
|
|
668
|
+
* @generated from protobuf field: repeated sui.rpc.v2.SystemPackage system_packages = 8;
|
|
669
|
+
*/
|
|
670
|
+
systemPackages: SystemPackage[];
|
|
655
671
|
}
|
|
656
672
|
/**
|
|
657
673
|
* System package.
|
|
@@ -659,24 +675,24 @@ export interface ChangeEpoch {
|
|
|
659
675
|
* @generated from protobuf message sui.rpc.v2.SystemPackage
|
|
660
676
|
*/
|
|
661
677
|
export interface SystemPackage {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
678
|
+
/**
|
|
679
|
+
* Version of the package.
|
|
680
|
+
*
|
|
681
|
+
* @generated from protobuf field: optional uint64 version = 1;
|
|
682
|
+
*/
|
|
683
|
+
version?: bigint;
|
|
684
|
+
/**
|
|
685
|
+
* Move modules.
|
|
686
|
+
*
|
|
687
|
+
* @generated from protobuf field: repeated bytes modules = 2;
|
|
688
|
+
*/
|
|
689
|
+
modules: Uint8Array[];
|
|
690
|
+
/**
|
|
691
|
+
* Package dependencies.
|
|
692
|
+
*
|
|
693
|
+
* @generated from protobuf field: repeated string dependencies = 3;
|
|
694
|
+
*/
|
|
695
|
+
dependencies: string[];
|
|
680
696
|
}
|
|
681
697
|
/**
|
|
682
698
|
* The genesis transaction.
|
|
@@ -684,12 +700,12 @@ export interface SystemPackage {
|
|
|
684
700
|
* @generated from protobuf message sui.rpc.v2.GenesisTransaction
|
|
685
701
|
*/
|
|
686
702
|
export interface GenesisTransaction {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
703
|
+
/**
|
|
704
|
+
* Set of genesis objects.
|
|
705
|
+
*
|
|
706
|
+
* @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;
|
|
707
|
+
*/
|
|
708
|
+
objects: Object[];
|
|
693
709
|
}
|
|
694
710
|
/**
|
|
695
711
|
* Consensus commit prologue system transaction.
|
|
@@ -699,64 +715,64 @@ export interface GenesisTransaction {
|
|
|
699
715
|
* @generated from protobuf message sui.rpc.v2.ConsensusCommitPrologue
|
|
700
716
|
*/
|
|
701
717
|
export interface ConsensusCommitPrologue {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
718
|
+
/**
|
|
719
|
+
* Epoch of the commit prologue transaction.
|
|
720
|
+
*
|
|
721
|
+
* Present in V1, V2, V3, V4.
|
|
722
|
+
*
|
|
723
|
+
* @generated from protobuf field: optional uint64 epoch = 1;
|
|
724
|
+
*/
|
|
725
|
+
epoch?: bigint;
|
|
726
|
+
/**
|
|
727
|
+
* Consensus round of the commit.
|
|
728
|
+
*
|
|
729
|
+
* Present in V1, V2, V3, V4.
|
|
730
|
+
*
|
|
731
|
+
* @generated from protobuf field: optional uint64 round = 2;
|
|
732
|
+
*/
|
|
733
|
+
round?: bigint;
|
|
734
|
+
/**
|
|
735
|
+
* Unix timestamp from consensus.
|
|
736
|
+
*
|
|
737
|
+
* Present in V1, V2, V3, V4.
|
|
738
|
+
*
|
|
739
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp commit_timestamp = 3;
|
|
740
|
+
*/
|
|
741
|
+
commitTimestamp?: Timestamp;
|
|
742
|
+
/**
|
|
743
|
+
* Digest of consensus output.
|
|
744
|
+
*
|
|
745
|
+
* Present in V2, V3, V4.
|
|
746
|
+
*
|
|
747
|
+
* @generated from protobuf field: optional string consensus_commit_digest = 4;
|
|
748
|
+
*/
|
|
749
|
+
consensusCommitDigest?: string;
|
|
750
|
+
/**
|
|
751
|
+
* The sub DAG index of the consensus commit. This field is populated if there
|
|
752
|
+
* are multiple consensus commits per round.
|
|
753
|
+
*
|
|
754
|
+
* Present in V3, V4.
|
|
755
|
+
*
|
|
756
|
+
* @generated from protobuf field: optional uint64 sub_dag_index = 5;
|
|
757
|
+
*/
|
|
758
|
+
subDagIndex?: bigint;
|
|
759
|
+
/**
|
|
760
|
+
* Stores consensus handler determined consensus object version assignments.
|
|
761
|
+
*
|
|
762
|
+
* Present in V3, V4.
|
|
763
|
+
*
|
|
764
|
+
* @generated from protobuf field: optional sui.rpc.v2.ConsensusDeterminedVersionAssignments consensus_determined_version_assignments = 6;
|
|
765
|
+
*/
|
|
766
|
+
consensusDeterminedVersionAssignments?: ConsensusDeterminedVersionAssignments;
|
|
767
|
+
/**
|
|
768
|
+
* Digest of any additional state computed by the consensus handler.
|
|
769
|
+
* Used to detect forking bugs as early as possible.
|
|
770
|
+
*
|
|
771
|
+
* Present in V4.
|
|
772
|
+
*
|
|
773
|
+
* @generated from protobuf field: optional string additional_state_digest = 7;
|
|
774
|
+
*/
|
|
775
|
+
additionalStateDigest?: string;
|
|
760
776
|
}
|
|
761
777
|
/**
|
|
762
778
|
* Object version assignment from consensus.
|
|
@@ -764,24 +780,24 @@ export interface ConsensusCommitPrologue {
|
|
|
764
780
|
* @generated from protobuf message sui.rpc.v2.VersionAssignment
|
|
765
781
|
*/
|
|
766
782
|
export interface VersionAssignment {
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
783
|
+
/**
|
|
784
|
+
* `ObjectId` of the object.
|
|
785
|
+
*
|
|
786
|
+
* @generated from protobuf field: optional string object_id = 1;
|
|
787
|
+
*/
|
|
788
|
+
objectId?: string;
|
|
789
|
+
/**
|
|
790
|
+
* start version of the consensus stream for this object
|
|
791
|
+
*
|
|
792
|
+
* @generated from protobuf field: optional uint64 start_version = 2;
|
|
793
|
+
*/
|
|
794
|
+
startVersion?: bigint;
|
|
795
|
+
/**
|
|
796
|
+
* Assigned version.
|
|
797
|
+
*
|
|
798
|
+
* @generated from protobuf field: optional uint64 version = 3;
|
|
799
|
+
*/
|
|
800
|
+
version?: bigint;
|
|
785
801
|
}
|
|
786
802
|
/**
|
|
787
803
|
* A transaction that was canceled.
|
|
@@ -789,18 +805,18 @@ export interface VersionAssignment {
|
|
|
789
805
|
* @generated from protobuf message sui.rpc.v2.CanceledTransaction
|
|
790
806
|
*/
|
|
791
807
|
export interface CanceledTransaction {
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
808
|
+
/**
|
|
809
|
+
* Digest of the canceled transaction.
|
|
810
|
+
*
|
|
811
|
+
* @generated from protobuf field: optional string digest = 1;
|
|
812
|
+
*/
|
|
813
|
+
digest?: string;
|
|
814
|
+
/**
|
|
815
|
+
* List of object version assignments.
|
|
816
|
+
*
|
|
817
|
+
* @generated from protobuf field: repeated sui.rpc.v2.VersionAssignment version_assignments = 2;
|
|
818
|
+
*/
|
|
819
|
+
versionAssignments: VersionAssignment[];
|
|
804
820
|
}
|
|
805
821
|
/**
|
|
806
822
|
* Version assignments performed by consensus.
|
|
@@ -808,18 +824,18 @@ export interface CanceledTransaction {
|
|
|
808
824
|
* @generated from protobuf message sui.rpc.v2.ConsensusDeterminedVersionAssignments
|
|
809
825
|
*/
|
|
810
826
|
export interface ConsensusDeterminedVersionAssignments {
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
827
|
+
/**
|
|
828
|
+
* Version of this message
|
|
829
|
+
*
|
|
830
|
+
* @generated from protobuf field: optional int32 version = 1;
|
|
831
|
+
*/
|
|
832
|
+
version?: number;
|
|
833
|
+
/**
|
|
834
|
+
* Canceled transaction version assignment.
|
|
835
|
+
*
|
|
836
|
+
* @generated from protobuf field: repeated sui.rpc.v2.CanceledTransaction canceled_transactions = 3;
|
|
837
|
+
*/
|
|
838
|
+
canceledTransactions: CanceledTransaction[];
|
|
823
839
|
}
|
|
824
840
|
/**
|
|
825
841
|
* Update the set of valid JWKs.
|
|
@@ -827,30 +843,30 @@ export interface ConsensusDeterminedVersionAssignments {
|
|
|
827
843
|
* @generated from protobuf message sui.rpc.v2.AuthenticatorStateUpdate
|
|
828
844
|
*/
|
|
829
845
|
export interface AuthenticatorStateUpdate {
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
846
|
+
/**
|
|
847
|
+
* Epoch of the authenticator state update transaction.
|
|
848
|
+
*
|
|
849
|
+
* @generated from protobuf field: optional uint64 epoch = 1;
|
|
850
|
+
*/
|
|
851
|
+
epoch?: bigint;
|
|
852
|
+
/**
|
|
853
|
+
* Consensus round of the authenticator state update.
|
|
854
|
+
*
|
|
855
|
+
* @generated from protobuf field: optional uint64 round = 2;
|
|
856
|
+
*/
|
|
857
|
+
round?: bigint;
|
|
858
|
+
/**
|
|
859
|
+
* Newly active JWKs.
|
|
860
|
+
*
|
|
861
|
+
* @generated from protobuf field: repeated sui.rpc.v2.ActiveJwk new_active_jwks = 3;
|
|
862
|
+
*/
|
|
863
|
+
newActiveJwks: ActiveJwk[];
|
|
864
|
+
/**
|
|
865
|
+
* The initial version of the authenticator object that it was shared at.
|
|
866
|
+
*
|
|
867
|
+
* @generated from protobuf field: optional uint64 authenticator_object_initial_shared_version = 4;
|
|
868
|
+
*/
|
|
869
|
+
authenticatorObjectInitialSharedVersion?: bigint;
|
|
854
870
|
}
|
|
855
871
|
/**
|
|
856
872
|
* A new JWK.
|
|
@@ -858,24 +874,24 @@ export interface AuthenticatorStateUpdate {
|
|
|
858
874
|
* @generated from protobuf message sui.rpc.v2.ActiveJwk
|
|
859
875
|
*/
|
|
860
876
|
export interface ActiveJwk {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
877
|
+
/**
|
|
878
|
+
* Identifier used to uniquely identify a JWK.
|
|
879
|
+
*
|
|
880
|
+
* @generated from protobuf field: optional sui.rpc.v2.JwkId id = 1;
|
|
881
|
+
*/
|
|
882
|
+
id?: JwkId;
|
|
883
|
+
/**
|
|
884
|
+
* The JWK.
|
|
885
|
+
*
|
|
886
|
+
* @generated from protobuf field: optional sui.rpc.v2.Jwk jwk = 2;
|
|
887
|
+
*/
|
|
888
|
+
jwk?: Jwk;
|
|
889
|
+
/**
|
|
890
|
+
* Most recent epoch in which the JWK was validated.
|
|
891
|
+
*
|
|
892
|
+
* @generated from protobuf field: optional uint64 epoch = 3;
|
|
893
|
+
*/
|
|
894
|
+
epoch?: bigint;
|
|
879
895
|
}
|
|
880
896
|
/**
|
|
881
897
|
* Set of operations run at the end of the epoch to close out the current epoch
|
|
@@ -884,10 +900,10 @@ export interface ActiveJwk {
|
|
|
884
900
|
* @generated from protobuf message sui.rpc.v2.EndOfEpochTransaction
|
|
885
901
|
*/
|
|
886
902
|
export interface EndOfEpochTransaction {
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
903
|
+
/**
|
|
904
|
+
* @generated from protobuf field: repeated sui.rpc.v2.EndOfEpochTransactionKind transactions = 1;
|
|
905
|
+
*/
|
|
906
|
+
transactions: EndOfEpochTransactionKind[];
|
|
891
907
|
}
|
|
892
908
|
/**
|
|
893
909
|
* Operation run at the end of an epoch.
|
|
@@ -895,131 +911,137 @@ export interface EndOfEpochTransaction {
|
|
|
895
911
|
* @generated from protobuf message sui.rpc.v2.EndOfEpochTransactionKind
|
|
896
912
|
*/
|
|
897
913
|
export interface EndOfEpochTransactionKind {
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
914
|
+
/**
|
|
915
|
+
* @generated from protobuf field: optional sui.rpc.v2.EndOfEpochTransactionKind.Kind kind = 1;
|
|
916
|
+
*/
|
|
917
|
+
kind?: EndOfEpochTransactionKind_Kind;
|
|
918
|
+
/**
|
|
919
|
+
* @generated from protobuf oneof: data
|
|
920
|
+
*/
|
|
921
|
+
data:
|
|
922
|
+
| {
|
|
923
|
+
oneofKind: 'changeEpoch';
|
|
924
|
+
/**
|
|
925
|
+
* End the epoch and start the next one.
|
|
926
|
+
*
|
|
927
|
+
* @generated from protobuf field: sui.rpc.v2.ChangeEpoch change_epoch = 2;
|
|
928
|
+
*/
|
|
929
|
+
changeEpoch: ChangeEpoch;
|
|
930
|
+
}
|
|
931
|
+
| {
|
|
932
|
+
oneofKind: 'authenticatorStateExpire';
|
|
933
|
+
/**
|
|
934
|
+
* Expire JWKs used for zklogin.
|
|
935
|
+
*
|
|
936
|
+
* @generated from protobuf field: sui.rpc.v2.AuthenticatorStateExpire authenticator_state_expire = 3;
|
|
937
|
+
*/
|
|
938
|
+
authenticatorStateExpire: AuthenticatorStateExpire;
|
|
939
|
+
}
|
|
940
|
+
| {
|
|
941
|
+
oneofKind: 'executionTimeObservations';
|
|
942
|
+
/**
|
|
943
|
+
* Execution time observations from the committee to preserve cross epoch
|
|
944
|
+
*
|
|
945
|
+
* @generated from protobuf field: sui.rpc.v2.ExecutionTimeObservations execution_time_observations = 4;
|
|
946
|
+
*/
|
|
947
|
+
executionTimeObservations: ExecutionTimeObservations;
|
|
948
|
+
}
|
|
949
|
+
| {
|
|
950
|
+
oneofKind: 'bridgeChainId';
|
|
951
|
+
/**
|
|
952
|
+
* ChainId used when initializing the bridge
|
|
953
|
+
*
|
|
954
|
+
* @generated from protobuf field: string bridge_chain_id = 5;
|
|
955
|
+
*/
|
|
956
|
+
bridgeChainId: string;
|
|
957
|
+
}
|
|
958
|
+
| {
|
|
959
|
+
oneofKind: 'bridgeObjectVersion';
|
|
960
|
+
/**
|
|
961
|
+
* Start version of the Bridge object
|
|
962
|
+
*
|
|
963
|
+
* @generated from protobuf field: uint64 bridge_object_version = 6;
|
|
964
|
+
*/
|
|
965
|
+
bridgeObjectVersion: bigint;
|
|
966
|
+
}
|
|
967
|
+
| {
|
|
968
|
+
oneofKind: undefined;
|
|
969
|
+
};
|
|
948
970
|
}
|
|
949
971
|
/**
|
|
950
972
|
* @generated from protobuf enum sui.rpc.v2.EndOfEpochTransactionKind.Kind
|
|
951
973
|
*/
|
|
952
974
|
export enum EndOfEpochTransactionKind_Kind {
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
975
|
+
/**
|
|
976
|
+
* @generated from protobuf enum value: KIND_UNKNOWN = 0;
|
|
977
|
+
*/
|
|
978
|
+
KIND_UNKNOWN = 0,
|
|
979
|
+
/**
|
|
980
|
+
* End the epoch and start the next one.
|
|
981
|
+
*
|
|
982
|
+
* @generated from protobuf enum value: CHANGE_EPOCH = 1;
|
|
983
|
+
*/
|
|
984
|
+
CHANGE_EPOCH = 1,
|
|
985
|
+
/**
|
|
986
|
+
* Create and initialize the authenticator object used for zklogin.
|
|
987
|
+
*
|
|
988
|
+
* @generated from protobuf enum value: AUTHENTICATOR_STATE_CREATE = 2;
|
|
989
|
+
*/
|
|
990
|
+
AUTHENTICATOR_STATE_CREATE = 2,
|
|
991
|
+
/**
|
|
992
|
+
* Expire JWKs used for zklogin.
|
|
993
|
+
*
|
|
994
|
+
* @generated from protobuf enum value: AUTHENTICATOR_STATE_EXPIRE = 3;
|
|
995
|
+
*/
|
|
996
|
+
AUTHENTICATOR_STATE_EXPIRE = 3,
|
|
997
|
+
/**
|
|
998
|
+
* Create and initialize the randomness object.
|
|
999
|
+
*
|
|
1000
|
+
* @generated from protobuf enum value: RANDOMNESS_STATE_CREATE = 4;
|
|
1001
|
+
*/
|
|
1002
|
+
RANDOMNESS_STATE_CREATE = 4,
|
|
1003
|
+
/**
|
|
1004
|
+
* Create and initialize the deny list object.
|
|
1005
|
+
*
|
|
1006
|
+
* @generated from protobuf enum value: DENY_LIST_STATE_CREATE = 5;
|
|
1007
|
+
*/
|
|
1008
|
+
DENY_LIST_STATE_CREATE = 5,
|
|
1009
|
+
/**
|
|
1010
|
+
* Create and initialize the bridge object.
|
|
1011
|
+
*
|
|
1012
|
+
* @generated from protobuf enum value: BRIDGE_STATE_CREATE = 6;
|
|
1013
|
+
*/
|
|
1014
|
+
BRIDGE_STATE_CREATE = 6,
|
|
1015
|
+
/**
|
|
1016
|
+
* Initialize the bridge committee.
|
|
1017
|
+
*
|
|
1018
|
+
* @generated from protobuf enum value: BRIDGE_COMMITTEE_INIT = 7;
|
|
1019
|
+
*/
|
|
1020
|
+
BRIDGE_COMMITTEE_INIT = 7,
|
|
1021
|
+
/**
|
|
1022
|
+
* Execution time observations from the committee to preserve cross epoch
|
|
1023
|
+
*
|
|
1024
|
+
* @generated from protobuf enum value: STORE_EXECUTION_TIME_OBSERVATIONS = 8;
|
|
1025
|
+
*/
|
|
1026
|
+
STORE_EXECUTION_TIME_OBSERVATIONS = 8,
|
|
1027
|
+
/**
|
|
1028
|
+
* Create the accumulator root object.
|
|
1029
|
+
*
|
|
1030
|
+
* @generated from protobuf enum value: ACCUMULATOR_ROOT_CREATE = 9;
|
|
1031
|
+
*/
|
|
1032
|
+
ACCUMULATOR_ROOT_CREATE = 9,
|
|
1033
|
+
/**
|
|
1034
|
+
* Create and initialize the Coin Registry object.
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from protobuf enum value: COIN_REGISTRY_CREATE = 10;
|
|
1037
|
+
*/
|
|
1038
|
+
COIN_REGISTRY_CREATE = 10,
|
|
1039
|
+
/**
|
|
1040
|
+
* Create and initialize the Display Registry object.
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from protobuf enum value: DISPLAY_REGISTRY_CREATE = 11;
|
|
1043
|
+
*/
|
|
1044
|
+
DISPLAY_REGISTRY_CREATE = 11,
|
|
1023
1045
|
}
|
|
1024
1046
|
/**
|
|
1025
1047
|
* Expire old JWKs.
|
|
@@ -1027,118 +1049,118 @@ export enum EndOfEpochTransactionKind_Kind {
|
|
|
1027
1049
|
* @generated from protobuf message sui.rpc.v2.AuthenticatorStateExpire
|
|
1028
1050
|
*/
|
|
1029
1051
|
export interface AuthenticatorStateExpire {
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1052
|
+
/**
|
|
1053
|
+
* Expire JWKs that have a lower epoch than this.
|
|
1054
|
+
*
|
|
1055
|
+
* @generated from protobuf field: optional uint64 min_epoch = 1;
|
|
1056
|
+
*/
|
|
1057
|
+
minEpoch?: bigint;
|
|
1058
|
+
/**
|
|
1059
|
+
* The initial version of the authenticator object that it was shared at.
|
|
1060
|
+
*
|
|
1061
|
+
* @generated from protobuf field: optional uint64 authenticator_object_initial_shared_version = 2;
|
|
1062
|
+
*/
|
|
1063
|
+
authenticatorObjectInitialSharedVersion?: bigint;
|
|
1042
1064
|
}
|
|
1043
1065
|
/**
|
|
1044
1066
|
* @generated from protobuf message sui.rpc.v2.ExecutionTimeObservations
|
|
1045
1067
|
*/
|
|
1046
1068
|
export interface ExecutionTimeObservations {
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1069
|
+
/**
|
|
1070
|
+
* Version of this ExecutionTimeObservations
|
|
1071
|
+
*
|
|
1072
|
+
* @generated from protobuf field: optional int32 version = 1;
|
|
1073
|
+
*/
|
|
1074
|
+
version?: number;
|
|
1075
|
+
/**
|
|
1076
|
+
* @generated from protobuf field: repeated sui.rpc.v2.ExecutionTimeObservation observations = 2;
|
|
1077
|
+
*/
|
|
1078
|
+
observations: ExecutionTimeObservation[];
|
|
1057
1079
|
}
|
|
1058
1080
|
/**
|
|
1059
1081
|
* @generated from protobuf message sui.rpc.v2.ExecutionTimeObservation
|
|
1060
1082
|
*/
|
|
1061
1083
|
export interface ExecutionTimeObservation {
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1084
|
+
/**
|
|
1085
|
+
* @generated from protobuf field: optional sui.rpc.v2.ExecutionTimeObservation.ExecutionTimeObservationKind kind = 1;
|
|
1086
|
+
*/
|
|
1087
|
+
kind?: ExecutionTimeObservation_ExecutionTimeObservationKind;
|
|
1088
|
+
/**
|
|
1089
|
+
* @generated from protobuf field: optional sui.rpc.v2.MoveCall move_entry_point = 2;
|
|
1090
|
+
*/
|
|
1091
|
+
moveEntryPoint?: MoveCall;
|
|
1092
|
+
/**
|
|
1093
|
+
* @generated from protobuf field: repeated sui.rpc.v2.ValidatorExecutionTimeObservation validator_observations = 3;
|
|
1094
|
+
*/
|
|
1095
|
+
validatorObservations: ValidatorExecutionTimeObservation[];
|
|
1074
1096
|
}
|
|
1075
1097
|
/**
|
|
1076
1098
|
* @generated from protobuf enum sui.rpc.v2.ExecutionTimeObservation.ExecutionTimeObservationKind
|
|
1077
1099
|
*/
|
|
1078
1100
|
export enum ExecutionTimeObservation_ExecutionTimeObservationKind {
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1101
|
+
/**
|
|
1102
|
+
* @generated from protobuf enum value: EXECUTION_TIME_OBSERVATION_KIND_UNKNOWN = 0;
|
|
1103
|
+
*/
|
|
1104
|
+
EXECUTION_TIME_OBSERVATION_KIND_UNKNOWN = 0,
|
|
1105
|
+
/**
|
|
1106
|
+
* @generated from protobuf enum value: MOVE_ENTRY_POINT = 1;
|
|
1107
|
+
*/
|
|
1108
|
+
MOVE_ENTRY_POINT = 1,
|
|
1109
|
+
/**
|
|
1110
|
+
* @generated from protobuf enum value: TRANSFER_OBJECTS = 2;
|
|
1111
|
+
*/
|
|
1112
|
+
TRANSFER_OBJECTS = 2,
|
|
1113
|
+
/**
|
|
1114
|
+
* @generated from protobuf enum value: SPLIT_COINS = 3;
|
|
1115
|
+
*/
|
|
1116
|
+
SPLIT_COINS = 3,
|
|
1117
|
+
/**
|
|
1118
|
+
* @generated from protobuf enum value: MERGE_COINS = 4;
|
|
1119
|
+
*/
|
|
1120
|
+
MERGE_COINS = 4,
|
|
1121
|
+
/**
|
|
1122
|
+
* @generated from protobuf enum value: PUBLISH = 5;
|
|
1123
|
+
*/
|
|
1124
|
+
PUBLISH = 5,
|
|
1125
|
+
/**
|
|
1126
|
+
* @generated from protobuf enum value: MAKE_MOVE_VECTOR = 6;
|
|
1127
|
+
*/
|
|
1128
|
+
MAKE_MOVE_VECTOR = 6,
|
|
1129
|
+
/**
|
|
1130
|
+
* @generated from protobuf enum value: UPGRADE = 7;
|
|
1131
|
+
*/
|
|
1132
|
+
UPGRADE = 7,
|
|
1111
1133
|
}
|
|
1112
1134
|
/**
|
|
1113
1135
|
* @generated from protobuf message sui.rpc.v2.ValidatorExecutionTimeObservation
|
|
1114
1136
|
*/
|
|
1115
1137
|
export interface ValidatorExecutionTimeObservation {
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1138
|
+
/**
|
|
1139
|
+
* Bls12381 public key of the validator
|
|
1140
|
+
*
|
|
1141
|
+
* @generated from protobuf field: optional bytes validator = 1;
|
|
1142
|
+
*/
|
|
1143
|
+
validator?: Uint8Array;
|
|
1144
|
+
/**
|
|
1145
|
+
* Duration of an execution observation
|
|
1146
|
+
*
|
|
1147
|
+
* @generated from protobuf field: optional google.protobuf.Duration duration = 2;
|
|
1148
|
+
*/
|
|
1149
|
+
duration?: Duration;
|
|
1128
1150
|
}
|
|
1129
1151
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1130
1152
|
class Transaction$Type extends MessageType<Transaction> {
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1153
|
+
constructor() {
|
|
1154
|
+
super('sui.rpc.v2.Transaction', [
|
|
1155
|
+
{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },
|
|
1156
|
+
{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1157
|
+
{ no: 3, name: 'version', kind: 'scalar', opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
1158
|
+
{ no: 4, name: 'kind', kind: 'message', T: () => TransactionKind },
|
|
1159
|
+
{ no: 5, name: 'sender', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1160
|
+
{ no: 6, name: 'gas_payment', kind: 'message', T: () => GasPayment },
|
|
1161
|
+
{ no: 7, name: 'expiration', kind: 'message', T: () => TransactionExpiration },
|
|
1162
|
+
]);
|
|
1163
|
+
}
|
|
1142
1164
|
}
|
|
1143
1165
|
/**
|
|
1144
1166
|
* @generated MessageType for protobuf message sui.rpc.v2.Transaction
|
|
@@ -1146,14 +1168,34 @@ class Transaction$Type extends MessageType<Transaction> {
|
|
|
1146
1168
|
export const Transaction = new Transaction$Type();
|
|
1147
1169
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1148
1170
|
class GasPayment$Type extends MessageType<GasPayment> {
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1171
|
+
constructor() {
|
|
1172
|
+
super('sui.rpc.v2.GasPayment', [
|
|
1173
|
+
{
|
|
1174
|
+
no: 1,
|
|
1175
|
+
name: 'objects',
|
|
1176
|
+
kind: 'message',
|
|
1177
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1178
|
+
T: () => ObjectReference,
|
|
1179
|
+
},
|
|
1180
|
+
{ no: 2, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1181
|
+
{
|
|
1182
|
+
no: 3,
|
|
1183
|
+
name: 'price',
|
|
1184
|
+
kind: 'scalar',
|
|
1185
|
+
opt: true,
|
|
1186
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1187
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
no: 4,
|
|
1191
|
+
name: 'budget',
|
|
1192
|
+
kind: 'scalar',
|
|
1193
|
+
opt: true,
|
|
1194
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1195
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1196
|
+
},
|
|
1197
|
+
]);
|
|
1198
|
+
}
|
|
1157
1199
|
}
|
|
1158
1200
|
/**
|
|
1159
1201
|
* @generated MessageType for protobuf message sui.rpc.v2.GasPayment
|
|
@@ -1161,12 +1203,28 @@ class GasPayment$Type extends MessageType<GasPayment> {
|
|
|
1161
1203
|
export const GasPayment = new GasPayment$Type();
|
|
1162
1204
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1163
1205
|
class TransactionExpiration$Type extends MessageType<TransactionExpiration> {
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1206
|
+
constructor() {
|
|
1207
|
+
super('sui.rpc.v2.TransactionExpiration', [
|
|
1208
|
+
{
|
|
1209
|
+
no: 1,
|
|
1210
|
+
name: 'kind',
|
|
1211
|
+
kind: 'enum',
|
|
1212
|
+
opt: true,
|
|
1213
|
+
T: () => [
|
|
1214
|
+
'sui.rpc.v2.TransactionExpiration.TransactionExpirationKind',
|
|
1215
|
+
TransactionExpiration_TransactionExpirationKind,
|
|
1216
|
+
],
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
no: 2,
|
|
1220
|
+
name: 'epoch',
|
|
1221
|
+
kind: 'scalar',
|
|
1222
|
+
opt: true,
|
|
1223
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1224
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1225
|
+
},
|
|
1226
|
+
]);
|
|
1227
|
+
}
|
|
1170
1228
|
}
|
|
1171
1229
|
/**
|
|
1172
1230
|
* @generated MessageType for protobuf message sui.rpc.v2.TransactionExpiration
|
|
@@ -1174,18 +1232,54 @@ class TransactionExpiration$Type extends MessageType<TransactionExpiration> {
|
|
|
1174
1232
|
export const TransactionExpiration = new TransactionExpiration$Type();
|
|
1175
1233
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1176
1234
|
class TransactionKind$Type extends MessageType<TransactionKind> {
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1235
|
+
constructor() {
|
|
1236
|
+
super('sui.rpc.v2.TransactionKind', [
|
|
1237
|
+
{
|
|
1238
|
+
no: 1,
|
|
1239
|
+
name: 'kind',
|
|
1240
|
+
kind: 'enum',
|
|
1241
|
+
opt: true,
|
|
1242
|
+
T: () => ['sui.rpc.v2.TransactionKind.Kind', TransactionKind_Kind],
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
no: 2,
|
|
1246
|
+
name: 'programmable_transaction',
|
|
1247
|
+
kind: 'message',
|
|
1248
|
+
oneof: 'data',
|
|
1249
|
+
T: () => ProgrammableTransaction,
|
|
1250
|
+
},
|
|
1251
|
+
{ no: 3, name: 'change_epoch', kind: 'message', oneof: 'data', T: () => ChangeEpoch },
|
|
1252
|
+
{ no: 4, name: 'genesis', kind: 'message', oneof: 'data', T: () => GenesisTransaction },
|
|
1253
|
+
{
|
|
1254
|
+
no: 5,
|
|
1255
|
+
name: 'consensus_commit_prologue',
|
|
1256
|
+
kind: 'message',
|
|
1257
|
+
oneof: 'data',
|
|
1258
|
+
T: () => ConsensusCommitPrologue,
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
no: 6,
|
|
1262
|
+
name: 'authenticator_state_update',
|
|
1263
|
+
kind: 'message',
|
|
1264
|
+
oneof: 'data',
|
|
1265
|
+
T: () => AuthenticatorStateUpdate,
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
no: 7,
|
|
1269
|
+
name: 'end_of_epoch',
|
|
1270
|
+
kind: 'message',
|
|
1271
|
+
oneof: 'data',
|
|
1272
|
+
T: () => EndOfEpochTransaction,
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
no: 8,
|
|
1276
|
+
name: 'randomness_state_update',
|
|
1277
|
+
kind: 'message',
|
|
1278
|
+
oneof: 'data',
|
|
1279
|
+
T: () => RandomnessStateUpdate,
|
|
1280
|
+
},
|
|
1281
|
+
]);
|
|
1282
|
+
}
|
|
1189
1283
|
}
|
|
1190
1284
|
/**
|
|
1191
1285
|
* @generated MessageType for protobuf message sui.rpc.v2.TransactionKind
|
|
@@ -1193,12 +1287,18 @@ class TransactionKind$Type extends MessageType<TransactionKind> {
|
|
|
1193
1287
|
export const TransactionKind = new TransactionKind$Type();
|
|
1194
1288
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1195
1289
|
class ProgrammableTransaction$Type extends MessageType<ProgrammableTransaction> {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1290
|
+
constructor() {
|
|
1291
|
+
super('sui.rpc.v2.ProgrammableTransaction', [
|
|
1292
|
+
{ no: 1, name: 'inputs', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Input },
|
|
1293
|
+
{
|
|
1294
|
+
no: 2,
|
|
1295
|
+
name: 'commands',
|
|
1296
|
+
kind: 'message',
|
|
1297
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1298
|
+
T: () => Command,
|
|
1299
|
+
},
|
|
1300
|
+
]);
|
|
1301
|
+
}
|
|
1202
1302
|
}
|
|
1203
1303
|
/**
|
|
1204
1304
|
* @generated MessageType for protobuf message sui.rpc.v2.ProgrammableTransaction
|
|
@@ -1206,17 +1306,29 @@ class ProgrammableTransaction$Type extends MessageType<ProgrammableTransaction>
|
|
|
1206
1306
|
export const ProgrammableTransaction = new ProgrammableTransaction$Type();
|
|
1207
1307
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1208
1308
|
class Command$Type extends MessageType<Command> {
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1309
|
+
constructor() {
|
|
1310
|
+
super('sui.rpc.v2.Command', [
|
|
1311
|
+
{ no: 1, name: 'move_call', kind: 'message', oneof: 'command', T: () => MoveCall },
|
|
1312
|
+
{
|
|
1313
|
+
no: 2,
|
|
1314
|
+
name: 'transfer_objects',
|
|
1315
|
+
kind: 'message',
|
|
1316
|
+
oneof: 'command',
|
|
1317
|
+
T: () => TransferObjects,
|
|
1318
|
+
},
|
|
1319
|
+
{ no: 3, name: 'split_coins', kind: 'message', oneof: 'command', T: () => SplitCoins },
|
|
1320
|
+
{ no: 4, name: 'merge_coins', kind: 'message', oneof: 'command', T: () => MergeCoins },
|
|
1321
|
+
{ no: 5, name: 'publish', kind: 'message', oneof: 'command', T: () => Publish },
|
|
1322
|
+
{
|
|
1323
|
+
no: 6,
|
|
1324
|
+
name: 'make_move_vector',
|
|
1325
|
+
kind: 'message',
|
|
1326
|
+
oneof: 'command',
|
|
1327
|
+
T: () => MakeMoveVector,
|
|
1328
|
+
},
|
|
1329
|
+
{ no: 7, name: 'upgrade', kind: 'message', oneof: 'command', T: () => Upgrade },
|
|
1330
|
+
]);
|
|
1331
|
+
}
|
|
1220
1332
|
}
|
|
1221
1333
|
/**
|
|
1222
1334
|
* @generated MessageType for protobuf message sui.rpc.v2.Command
|
|
@@ -1224,15 +1336,27 @@ class Command$Type extends MessageType<Command> {
|
|
|
1224
1336
|
export const Command = new Command$Type();
|
|
1225
1337
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1226
1338
|
class MoveCall$Type extends MessageType<MoveCall> {
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1339
|
+
constructor() {
|
|
1340
|
+
super('sui.rpc.v2.MoveCall', [
|
|
1341
|
+
{ no: 1, name: 'package', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1342
|
+
{ no: 2, name: 'module', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1343
|
+
{ no: 3, name: 'function', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1344
|
+
{
|
|
1345
|
+
no: 4,
|
|
1346
|
+
name: 'type_arguments',
|
|
1347
|
+
kind: 'scalar',
|
|
1348
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1349
|
+
T: 9 /*ScalarType.STRING*/,
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
no: 5,
|
|
1353
|
+
name: 'arguments',
|
|
1354
|
+
kind: 'message',
|
|
1355
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1356
|
+
T: () => Argument,
|
|
1357
|
+
},
|
|
1358
|
+
]);
|
|
1359
|
+
}
|
|
1236
1360
|
}
|
|
1237
1361
|
/**
|
|
1238
1362
|
* @generated MessageType for protobuf message sui.rpc.v2.MoveCall
|
|
@@ -1240,12 +1364,18 @@ class MoveCall$Type extends MessageType<MoveCall> {
|
|
|
1240
1364
|
export const MoveCall = new MoveCall$Type();
|
|
1241
1365
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1242
1366
|
class TransferObjects$Type extends MessageType<TransferObjects> {
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1367
|
+
constructor() {
|
|
1368
|
+
super('sui.rpc.v2.TransferObjects', [
|
|
1369
|
+
{
|
|
1370
|
+
no: 1,
|
|
1371
|
+
name: 'objects',
|
|
1372
|
+
kind: 'message',
|
|
1373
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1374
|
+
T: () => Argument,
|
|
1375
|
+
},
|
|
1376
|
+
{ no: 2, name: 'address', kind: 'message', T: () => Argument },
|
|
1377
|
+
]);
|
|
1378
|
+
}
|
|
1249
1379
|
}
|
|
1250
1380
|
/**
|
|
1251
1381
|
* @generated MessageType for protobuf message sui.rpc.v2.TransferObjects
|
|
@@ -1253,12 +1383,18 @@ class TransferObjects$Type extends MessageType<TransferObjects> {
|
|
|
1253
1383
|
export const TransferObjects = new TransferObjects$Type();
|
|
1254
1384
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1255
1385
|
class SplitCoins$Type extends MessageType<SplitCoins> {
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1386
|
+
constructor() {
|
|
1387
|
+
super('sui.rpc.v2.SplitCoins', [
|
|
1388
|
+
{ no: 1, name: 'coin', kind: 'message', T: () => Argument },
|
|
1389
|
+
{
|
|
1390
|
+
no: 2,
|
|
1391
|
+
name: 'amounts',
|
|
1392
|
+
kind: 'message',
|
|
1393
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1394
|
+
T: () => Argument,
|
|
1395
|
+
},
|
|
1396
|
+
]);
|
|
1397
|
+
}
|
|
1262
1398
|
}
|
|
1263
1399
|
/**
|
|
1264
1400
|
* @generated MessageType for protobuf message sui.rpc.v2.SplitCoins
|
|
@@ -1266,12 +1402,18 @@ class SplitCoins$Type extends MessageType<SplitCoins> {
|
|
|
1266
1402
|
export const SplitCoins = new SplitCoins$Type();
|
|
1267
1403
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1268
1404
|
class MergeCoins$Type extends MessageType<MergeCoins> {
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1405
|
+
constructor() {
|
|
1406
|
+
super('sui.rpc.v2.MergeCoins', [
|
|
1407
|
+
{ no: 1, name: 'coin', kind: 'message', T: () => Argument },
|
|
1408
|
+
{
|
|
1409
|
+
no: 2,
|
|
1410
|
+
name: 'coins_to_merge',
|
|
1411
|
+
kind: 'message',
|
|
1412
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1413
|
+
T: () => Argument,
|
|
1414
|
+
},
|
|
1415
|
+
]);
|
|
1416
|
+
}
|
|
1275
1417
|
}
|
|
1276
1418
|
/**
|
|
1277
1419
|
* @generated MessageType for protobuf message sui.rpc.v2.MergeCoins
|
|
@@ -1279,12 +1421,24 @@ class MergeCoins$Type extends MessageType<MergeCoins> {
|
|
|
1279
1421
|
export const MergeCoins = new MergeCoins$Type();
|
|
1280
1422
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1281
1423
|
class Publish$Type extends MessageType<Publish> {
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1424
|
+
constructor() {
|
|
1425
|
+
super('sui.rpc.v2.Publish', [
|
|
1426
|
+
{
|
|
1427
|
+
no: 1,
|
|
1428
|
+
name: 'modules',
|
|
1429
|
+
kind: 'scalar',
|
|
1430
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1431
|
+
T: 12 /*ScalarType.BYTES*/,
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
no: 2,
|
|
1435
|
+
name: 'dependencies',
|
|
1436
|
+
kind: 'scalar',
|
|
1437
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1438
|
+
T: 9 /*ScalarType.STRING*/,
|
|
1439
|
+
},
|
|
1440
|
+
]);
|
|
1441
|
+
}
|
|
1288
1442
|
}
|
|
1289
1443
|
/**
|
|
1290
1444
|
* @generated MessageType for protobuf message sui.rpc.v2.Publish
|
|
@@ -1292,12 +1446,18 @@ class Publish$Type extends MessageType<Publish> {
|
|
|
1292
1446
|
export const Publish = new Publish$Type();
|
|
1293
1447
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1294
1448
|
class MakeMoveVector$Type extends MessageType<MakeMoveVector> {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1449
|
+
constructor() {
|
|
1450
|
+
super('sui.rpc.v2.MakeMoveVector', [
|
|
1451
|
+
{ no: 1, name: 'element_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1452
|
+
{
|
|
1453
|
+
no: 2,
|
|
1454
|
+
name: 'elements',
|
|
1455
|
+
kind: 'message',
|
|
1456
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1457
|
+
T: () => Argument,
|
|
1458
|
+
},
|
|
1459
|
+
]);
|
|
1460
|
+
}
|
|
1301
1461
|
}
|
|
1302
1462
|
/**
|
|
1303
1463
|
* @generated MessageType for protobuf message sui.rpc.v2.MakeMoveVector
|
|
@@ -1305,14 +1465,26 @@ class MakeMoveVector$Type extends MessageType<MakeMoveVector> {
|
|
|
1305
1465
|
export const MakeMoveVector = new MakeMoveVector$Type();
|
|
1306
1466
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1307
1467
|
class Upgrade$Type extends MessageType<Upgrade> {
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1468
|
+
constructor() {
|
|
1469
|
+
super('sui.rpc.v2.Upgrade', [
|
|
1470
|
+
{
|
|
1471
|
+
no: 1,
|
|
1472
|
+
name: 'modules',
|
|
1473
|
+
kind: 'scalar',
|
|
1474
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1475
|
+
T: 12 /*ScalarType.BYTES*/,
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
no: 2,
|
|
1479
|
+
name: 'dependencies',
|
|
1480
|
+
kind: 'scalar',
|
|
1481
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1482
|
+
T: 9 /*ScalarType.STRING*/,
|
|
1483
|
+
},
|
|
1484
|
+
{ no: 3, name: 'package', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1485
|
+
{ no: 4, name: 'ticket', kind: 'message', T: () => Argument },
|
|
1486
|
+
]);
|
|
1487
|
+
}
|
|
1316
1488
|
}
|
|
1317
1489
|
/**
|
|
1318
1490
|
* @generated MessageType for protobuf message sui.rpc.v2.Upgrade
|
|
@@ -1320,14 +1492,35 @@ class Upgrade$Type extends MessageType<Upgrade> {
|
|
|
1320
1492
|
export const Upgrade = new Upgrade$Type();
|
|
1321
1493
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1322
1494
|
class RandomnessStateUpdate$Type extends MessageType<RandomnessStateUpdate> {
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1495
|
+
constructor() {
|
|
1496
|
+
super('sui.rpc.v2.RandomnessStateUpdate', [
|
|
1497
|
+
{
|
|
1498
|
+
no: 1,
|
|
1499
|
+
name: 'epoch',
|
|
1500
|
+
kind: 'scalar',
|
|
1501
|
+
opt: true,
|
|
1502
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1503
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
no: 2,
|
|
1507
|
+
name: 'randomness_round',
|
|
1508
|
+
kind: 'scalar',
|
|
1509
|
+
opt: true,
|
|
1510
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1511
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1512
|
+
},
|
|
1513
|
+
{ no: 3, name: 'random_bytes', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
1514
|
+
{
|
|
1515
|
+
no: 4,
|
|
1516
|
+
name: 'randomness_object_initial_shared_version',
|
|
1517
|
+
kind: 'scalar',
|
|
1518
|
+
opt: true,
|
|
1519
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1520
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1521
|
+
},
|
|
1522
|
+
]);
|
|
1523
|
+
}
|
|
1331
1524
|
}
|
|
1332
1525
|
/**
|
|
1333
1526
|
* @generated MessageType for protobuf message sui.rpc.v2.RandomnessStateUpdate
|
|
@@ -1335,18 +1528,66 @@ class RandomnessStateUpdate$Type extends MessageType<RandomnessStateUpdate> {
|
|
|
1335
1528
|
export const RandomnessStateUpdate = new RandomnessStateUpdate$Type();
|
|
1336
1529
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1337
1530
|
class ChangeEpoch$Type extends MessageType<ChangeEpoch> {
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1531
|
+
constructor() {
|
|
1532
|
+
super('sui.rpc.v2.ChangeEpoch', [
|
|
1533
|
+
{
|
|
1534
|
+
no: 1,
|
|
1535
|
+
name: 'epoch',
|
|
1536
|
+
kind: 'scalar',
|
|
1537
|
+
opt: true,
|
|
1538
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1539
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
no: 2,
|
|
1543
|
+
name: 'protocol_version',
|
|
1544
|
+
kind: 'scalar',
|
|
1545
|
+
opt: true,
|
|
1546
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1547
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
no: 3,
|
|
1551
|
+
name: 'storage_charge',
|
|
1552
|
+
kind: 'scalar',
|
|
1553
|
+
opt: true,
|
|
1554
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1555
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
no: 4,
|
|
1559
|
+
name: 'computation_charge',
|
|
1560
|
+
kind: 'scalar',
|
|
1561
|
+
opt: true,
|
|
1562
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1563
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
no: 5,
|
|
1567
|
+
name: 'storage_rebate',
|
|
1568
|
+
kind: 'scalar',
|
|
1569
|
+
opt: true,
|
|
1570
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1571
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
no: 6,
|
|
1575
|
+
name: 'non_refundable_storage_fee',
|
|
1576
|
+
kind: 'scalar',
|
|
1577
|
+
opt: true,
|
|
1578
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1579
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1580
|
+
},
|
|
1581
|
+
{ no: 7, name: 'epoch_start_timestamp', kind: 'message', T: () => Timestamp },
|
|
1582
|
+
{
|
|
1583
|
+
no: 8,
|
|
1584
|
+
name: 'system_packages',
|
|
1585
|
+
kind: 'message',
|
|
1586
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1587
|
+
T: () => SystemPackage,
|
|
1588
|
+
},
|
|
1589
|
+
]);
|
|
1590
|
+
}
|
|
1350
1591
|
}
|
|
1351
1592
|
/**
|
|
1352
1593
|
* @generated MessageType for protobuf message sui.rpc.v2.ChangeEpoch
|
|
@@ -1354,13 +1595,32 @@ class ChangeEpoch$Type extends MessageType<ChangeEpoch> {
|
|
|
1354
1595
|
export const ChangeEpoch = new ChangeEpoch$Type();
|
|
1355
1596
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1356
1597
|
class SystemPackage$Type extends MessageType<SystemPackage> {
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1598
|
+
constructor() {
|
|
1599
|
+
super('sui.rpc.v2.SystemPackage', [
|
|
1600
|
+
{
|
|
1601
|
+
no: 1,
|
|
1602
|
+
name: 'version',
|
|
1603
|
+
kind: 'scalar',
|
|
1604
|
+
opt: true,
|
|
1605
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1606
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
no: 2,
|
|
1610
|
+
name: 'modules',
|
|
1611
|
+
kind: 'scalar',
|
|
1612
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1613
|
+
T: 12 /*ScalarType.BYTES*/,
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
no: 3,
|
|
1617
|
+
name: 'dependencies',
|
|
1618
|
+
kind: 'scalar',
|
|
1619
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1620
|
+
T: 9 /*ScalarType.STRING*/,
|
|
1621
|
+
},
|
|
1622
|
+
]);
|
|
1623
|
+
}
|
|
1364
1624
|
}
|
|
1365
1625
|
/**
|
|
1366
1626
|
* @generated MessageType for protobuf message sui.rpc.v2.SystemPackage
|
|
@@ -1368,11 +1628,11 @@ class SystemPackage$Type extends MessageType<SystemPackage> {
|
|
|
1368
1628
|
export const SystemPackage = new SystemPackage$Type();
|
|
1369
1629
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1370
1630
|
class GenesisTransaction$Type extends MessageType<GenesisTransaction> {
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1631
|
+
constructor() {
|
|
1632
|
+
super('sui.rpc.v2.GenesisTransaction', [
|
|
1633
|
+
{ no: 1, name: 'objects', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Object },
|
|
1634
|
+
]);
|
|
1635
|
+
}
|
|
1376
1636
|
}
|
|
1377
1637
|
/**
|
|
1378
1638
|
* @generated MessageType for protobuf message sui.rpc.v2.GenesisTransaction
|
|
@@ -1380,17 +1640,55 @@ class GenesisTransaction$Type extends MessageType<GenesisTransaction> {
|
|
|
1380
1640
|
export const GenesisTransaction = new GenesisTransaction$Type();
|
|
1381
1641
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1382
1642
|
class ConsensusCommitPrologue$Type extends MessageType<ConsensusCommitPrologue> {
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1643
|
+
constructor() {
|
|
1644
|
+
super('sui.rpc.v2.ConsensusCommitPrologue', [
|
|
1645
|
+
{
|
|
1646
|
+
no: 1,
|
|
1647
|
+
name: 'epoch',
|
|
1648
|
+
kind: 'scalar',
|
|
1649
|
+
opt: true,
|
|
1650
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1651
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
no: 2,
|
|
1655
|
+
name: 'round',
|
|
1656
|
+
kind: 'scalar',
|
|
1657
|
+
opt: true,
|
|
1658
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1659
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1660
|
+
},
|
|
1661
|
+
{ no: 3, name: 'commit_timestamp', kind: 'message', T: () => Timestamp },
|
|
1662
|
+
{
|
|
1663
|
+
no: 4,
|
|
1664
|
+
name: 'consensus_commit_digest',
|
|
1665
|
+
kind: 'scalar',
|
|
1666
|
+
opt: true,
|
|
1667
|
+
T: 9 /*ScalarType.STRING*/,
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
no: 5,
|
|
1671
|
+
name: 'sub_dag_index',
|
|
1672
|
+
kind: 'scalar',
|
|
1673
|
+
opt: true,
|
|
1674
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1675
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
no: 6,
|
|
1679
|
+
name: 'consensus_determined_version_assignments',
|
|
1680
|
+
kind: 'message',
|
|
1681
|
+
T: () => ConsensusDeterminedVersionAssignments,
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
no: 7,
|
|
1685
|
+
name: 'additional_state_digest',
|
|
1686
|
+
kind: 'scalar',
|
|
1687
|
+
opt: true,
|
|
1688
|
+
T: 9 /*ScalarType.STRING*/,
|
|
1689
|
+
},
|
|
1690
|
+
]);
|
|
1691
|
+
}
|
|
1394
1692
|
}
|
|
1395
1693
|
/**
|
|
1396
1694
|
* @generated MessageType for protobuf message sui.rpc.v2.ConsensusCommitPrologue
|
|
@@ -1398,13 +1696,27 @@ class ConsensusCommitPrologue$Type extends MessageType<ConsensusCommitPrologue>
|
|
|
1398
1696
|
export const ConsensusCommitPrologue = new ConsensusCommitPrologue$Type();
|
|
1399
1697
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1400
1698
|
class VersionAssignment$Type extends MessageType<VersionAssignment> {
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1699
|
+
constructor() {
|
|
1700
|
+
super('sui.rpc.v2.VersionAssignment', [
|
|
1701
|
+
{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1702
|
+
{
|
|
1703
|
+
no: 2,
|
|
1704
|
+
name: 'start_version',
|
|
1705
|
+
kind: 'scalar',
|
|
1706
|
+
opt: true,
|
|
1707
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1708
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
no: 3,
|
|
1712
|
+
name: 'version',
|
|
1713
|
+
kind: 'scalar',
|
|
1714
|
+
opt: true,
|
|
1715
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1716
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1717
|
+
},
|
|
1718
|
+
]);
|
|
1719
|
+
}
|
|
1408
1720
|
}
|
|
1409
1721
|
/**
|
|
1410
1722
|
* @generated MessageType for protobuf message sui.rpc.v2.VersionAssignment
|
|
@@ -1412,12 +1724,18 @@ class VersionAssignment$Type extends MessageType<VersionAssignment> {
|
|
|
1412
1724
|
export const VersionAssignment = new VersionAssignment$Type();
|
|
1413
1725
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1414
1726
|
class CanceledTransaction$Type extends MessageType<CanceledTransaction> {
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1727
|
+
constructor() {
|
|
1728
|
+
super('sui.rpc.v2.CanceledTransaction', [
|
|
1729
|
+
{ no: 1, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1730
|
+
{
|
|
1731
|
+
no: 2,
|
|
1732
|
+
name: 'version_assignments',
|
|
1733
|
+
kind: 'message',
|
|
1734
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1735
|
+
T: () => VersionAssignment,
|
|
1736
|
+
},
|
|
1737
|
+
]);
|
|
1738
|
+
}
|
|
1421
1739
|
}
|
|
1422
1740
|
/**
|
|
1423
1741
|
* @generated MessageType for protobuf message sui.rpc.v2.CanceledTransaction
|
|
@@ -1425,27 +1743,61 @@ class CanceledTransaction$Type extends MessageType<CanceledTransaction> {
|
|
|
1425
1743
|
export const CanceledTransaction = new CanceledTransaction$Type();
|
|
1426
1744
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1427
1745
|
class ConsensusDeterminedVersionAssignments$Type extends MessageType<ConsensusDeterminedVersionAssignments> {
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1746
|
+
constructor() {
|
|
1747
|
+
super('sui.rpc.v2.ConsensusDeterminedVersionAssignments', [
|
|
1748
|
+
{ no: 1, name: 'version', kind: 'scalar', opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
1749
|
+
{
|
|
1750
|
+
no: 3,
|
|
1751
|
+
name: 'canceled_transactions',
|
|
1752
|
+
kind: 'message',
|
|
1753
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1754
|
+
T: () => CanceledTransaction,
|
|
1755
|
+
},
|
|
1756
|
+
]);
|
|
1757
|
+
}
|
|
1434
1758
|
}
|
|
1435
1759
|
/**
|
|
1436
1760
|
* @generated MessageType for protobuf message sui.rpc.v2.ConsensusDeterminedVersionAssignments
|
|
1437
1761
|
*/
|
|
1438
|
-
export const ConsensusDeterminedVersionAssignments =
|
|
1762
|
+
export const ConsensusDeterminedVersionAssignments =
|
|
1763
|
+
new ConsensusDeterminedVersionAssignments$Type();
|
|
1439
1764
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1440
1765
|
class AuthenticatorStateUpdate$Type extends MessageType<AuthenticatorStateUpdate> {
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1766
|
+
constructor() {
|
|
1767
|
+
super('sui.rpc.v2.AuthenticatorStateUpdate', [
|
|
1768
|
+
{
|
|
1769
|
+
no: 1,
|
|
1770
|
+
name: 'epoch',
|
|
1771
|
+
kind: 'scalar',
|
|
1772
|
+
opt: true,
|
|
1773
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1774
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
no: 2,
|
|
1778
|
+
name: 'round',
|
|
1779
|
+
kind: 'scalar',
|
|
1780
|
+
opt: true,
|
|
1781
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1782
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
no: 3,
|
|
1786
|
+
name: 'new_active_jwks',
|
|
1787
|
+
kind: 'message',
|
|
1788
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1789
|
+
T: () => ActiveJwk,
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
no: 4,
|
|
1793
|
+
name: 'authenticator_object_initial_shared_version',
|
|
1794
|
+
kind: 'scalar',
|
|
1795
|
+
opt: true,
|
|
1796
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1797
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1798
|
+
},
|
|
1799
|
+
]);
|
|
1800
|
+
}
|
|
1449
1801
|
}
|
|
1450
1802
|
/**
|
|
1451
1803
|
* @generated MessageType for protobuf message sui.rpc.v2.AuthenticatorStateUpdate
|
|
@@ -1453,13 +1805,20 @@ class AuthenticatorStateUpdate$Type extends MessageType<AuthenticatorStateUpdate
|
|
|
1453
1805
|
export const AuthenticatorStateUpdate = new AuthenticatorStateUpdate$Type();
|
|
1454
1806
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1455
1807
|
class ActiveJwk$Type extends MessageType<ActiveJwk> {
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1808
|
+
constructor() {
|
|
1809
|
+
super('sui.rpc.v2.ActiveJwk', [
|
|
1810
|
+
{ no: 1, name: 'id', kind: 'message', T: () => JwkId },
|
|
1811
|
+
{ no: 2, name: 'jwk', kind: 'message', T: () => Jwk },
|
|
1812
|
+
{
|
|
1813
|
+
no: 3,
|
|
1814
|
+
name: 'epoch',
|
|
1815
|
+
kind: 'scalar',
|
|
1816
|
+
opt: true,
|
|
1817
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1818
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1819
|
+
},
|
|
1820
|
+
]);
|
|
1821
|
+
}
|
|
1463
1822
|
}
|
|
1464
1823
|
/**
|
|
1465
1824
|
* @generated MessageType for protobuf message sui.rpc.v2.ActiveJwk
|
|
@@ -1467,11 +1826,17 @@ class ActiveJwk$Type extends MessageType<ActiveJwk> {
|
|
|
1467
1826
|
export const ActiveJwk = new ActiveJwk$Type();
|
|
1468
1827
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1469
1828
|
class EndOfEpochTransaction$Type extends MessageType<EndOfEpochTransaction> {
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1829
|
+
constructor() {
|
|
1830
|
+
super('sui.rpc.v2.EndOfEpochTransaction', [
|
|
1831
|
+
{
|
|
1832
|
+
no: 1,
|
|
1833
|
+
name: 'transactions',
|
|
1834
|
+
kind: 'message',
|
|
1835
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1836
|
+
T: () => EndOfEpochTransactionKind,
|
|
1837
|
+
},
|
|
1838
|
+
]);
|
|
1839
|
+
}
|
|
1475
1840
|
}
|
|
1476
1841
|
/**
|
|
1477
1842
|
* @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochTransaction
|
|
@@ -1479,16 +1844,41 @@ class EndOfEpochTransaction$Type extends MessageType<EndOfEpochTransaction> {
|
|
|
1479
1844
|
export const EndOfEpochTransaction = new EndOfEpochTransaction$Type();
|
|
1480
1845
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1481
1846
|
class EndOfEpochTransactionKind$Type extends MessageType<EndOfEpochTransactionKind> {
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1847
|
+
constructor() {
|
|
1848
|
+
super('sui.rpc.v2.EndOfEpochTransactionKind', [
|
|
1849
|
+
{
|
|
1850
|
+
no: 1,
|
|
1851
|
+
name: 'kind',
|
|
1852
|
+
kind: 'enum',
|
|
1853
|
+
opt: true,
|
|
1854
|
+
T: () => ['sui.rpc.v2.EndOfEpochTransactionKind.Kind', EndOfEpochTransactionKind_Kind],
|
|
1855
|
+
},
|
|
1856
|
+
{ no: 2, name: 'change_epoch', kind: 'message', oneof: 'data', T: () => ChangeEpoch },
|
|
1857
|
+
{
|
|
1858
|
+
no: 3,
|
|
1859
|
+
name: 'authenticator_state_expire',
|
|
1860
|
+
kind: 'message',
|
|
1861
|
+
oneof: 'data',
|
|
1862
|
+
T: () => AuthenticatorStateExpire,
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
no: 4,
|
|
1866
|
+
name: 'execution_time_observations',
|
|
1867
|
+
kind: 'message',
|
|
1868
|
+
oneof: 'data',
|
|
1869
|
+
T: () => ExecutionTimeObservations,
|
|
1870
|
+
},
|
|
1871
|
+
{ no: 5, name: 'bridge_chain_id', kind: 'scalar', oneof: 'data', T: 9 /*ScalarType.STRING*/ },
|
|
1872
|
+
{
|
|
1873
|
+
no: 6,
|
|
1874
|
+
name: 'bridge_object_version',
|
|
1875
|
+
kind: 'scalar',
|
|
1876
|
+
oneof: 'data',
|
|
1877
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1878
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1879
|
+
},
|
|
1880
|
+
]);
|
|
1881
|
+
}
|
|
1492
1882
|
}
|
|
1493
1883
|
/**
|
|
1494
1884
|
* @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochTransactionKind
|
|
@@ -1496,12 +1886,26 @@ class EndOfEpochTransactionKind$Type extends MessageType<EndOfEpochTransactionKi
|
|
|
1496
1886
|
export const EndOfEpochTransactionKind = new EndOfEpochTransactionKind$Type();
|
|
1497
1887
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1498
1888
|
class AuthenticatorStateExpire$Type extends MessageType<AuthenticatorStateExpire> {
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1889
|
+
constructor() {
|
|
1890
|
+
super('sui.rpc.v2.AuthenticatorStateExpire', [
|
|
1891
|
+
{
|
|
1892
|
+
no: 1,
|
|
1893
|
+
name: 'min_epoch',
|
|
1894
|
+
kind: 'scalar',
|
|
1895
|
+
opt: true,
|
|
1896
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1897
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
no: 2,
|
|
1901
|
+
name: 'authenticator_object_initial_shared_version',
|
|
1902
|
+
kind: 'scalar',
|
|
1903
|
+
opt: true,
|
|
1904
|
+
T: 4 /*ScalarType.UINT64*/,
|
|
1905
|
+
L: 0 /*LongType.BIGINT*/,
|
|
1906
|
+
},
|
|
1907
|
+
]);
|
|
1908
|
+
}
|
|
1505
1909
|
}
|
|
1506
1910
|
/**
|
|
1507
1911
|
* @generated MessageType for protobuf message sui.rpc.v2.AuthenticatorStateExpire
|
|
@@ -1509,12 +1913,18 @@ class AuthenticatorStateExpire$Type extends MessageType<AuthenticatorStateExpire
|
|
|
1509
1913
|
export const AuthenticatorStateExpire = new AuthenticatorStateExpire$Type();
|
|
1510
1914
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1511
1915
|
class ExecutionTimeObservations$Type extends MessageType<ExecutionTimeObservations> {
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1916
|
+
constructor() {
|
|
1917
|
+
super('sui.rpc.v2.ExecutionTimeObservations', [
|
|
1918
|
+
{ no: 1, name: 'version', kind: 'scalar', opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
1919
|
+
{
|
|
1920
|
+
no: 2,
|
|
1921
|
+
name: 'observations',
|
|
1922
|
+
kind: 'message',
|
|
1923
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1924
|
+
T: () => ExecutionTimeObservation,
|
|
1925
|
+
},
|
|
1926
|
+
]);
|
|
1927
|
+
}
|
|
1518
1928
|
}
|
|
1519
1929
|
/**
|
|
1520
1930
|
* @generated MessageType for protobuf message sui.rpc.v2.ExecutionTimeObservations
|
|
@@ -1522,13 +1932,28 @@ class ExecutionTimeObservations$Type extends MessageType<ExecutionTimeObservatio
|
|
|
1522
1932
|
export const ExecutionTimeObservations = new ExecutionTimeObservations$Type();
|
|
1523
1933
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1524
1934
|
class ExecutionTimeObservation$Type extends MessageType<ExecutionTimeObservation> {
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1935
|
+
constructor() {
|
|
1936
|
+
super('sui.rpc.v2.ExecutionTimeObservation', [
|
|
1937
|
+
{
|
|
1938
|
+
no: 1,
|
|
1939
|
+
name: 'kind',
|
|
1940
|
+
kind: 'enum',
|
|
1941
|
+
opt: true,
|
|
1942
|
+
T: () => [
|
|
1943
|
+
'sui.rpc.v2.ExecutionTimeObservation.ExecutionTimeObservationKind',
|
|
1944
|
+
ExecutionTimeObservation_ExecutionTimeObservationKind,
|
|
1945
|
+
],
|
|
1946
|
+
},
|
|
1947
|
+
{ no: 2, name: 'move_entry_point', kind: 'message', T: () => MoveCall },
|
|
1948
|
+
{
|
|
1949
|
+
no: 3,
|
|
1950
|
+
name: 'validator_observations',
|
|
1951
|
+
kind: 'message',
|
|
1952
|
+
repeat: 1 /*RepeatType.PACKED*/,
|
|
1953
|
+
T: () => ValidatorExecutionTimeObservation,
|
|
1954
|
+
},
|
|
1955
|
+
]);
|
|
1956
|
+
}
|
|
1532
1957
|
}
|
|
1533
1958
|
/**
|
|
1534
1959
|
* @generated MessageType for protobuf message sui.rpc.v2.ExecutionTimeObservation
|
|
@@ -1536,12 +1961,12 @@ class ExecutionTimeObservation$Type extends MessageType<ExecutionTimeObservation
|
|
|
1536
1961
|
export const ExecutionTimeObservation = new ExecutionTimeObservation$Type();
|
|
1537
1962
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1538
1963
|
class ValidatorExecutionTimeObservation$Type extends MessageType<ValidatorExecutionTimeObservation> {
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1964
|
+
constructor() {
|
|
1965
|
+
super('sui.rpc.v2.ValidatorExecutionTimeObservation', [
|
|
1966
|
+
{ no: 1, name: 'validator', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
1967
|
+
{ no: 2, name: 'duration', kind: 'message', T: () => Duration },
|
|
1968
|
+
]);
|
|
1969
|
+
}
|
|
1545
1970
|
}
|
|
1546
1971
|
/**
|
|
1547
1972
|
* @generated MessageType for protobuf message sui.rpc.v2.ValidatorExecutionTimeObservation
|