wowok 2.1.38 → 2.1.40
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/dist/cjs/bcs/bcs.d.ts +0 -8
- package/dist/cjs/bcs/bcs.js +0 -25
- package/dist/cjs/bcs/effects.js +0 -4
- package/dist/cjs/bcs/index.js +0 -4
- package/dist/cjs/bcs/pure.js +0 -3
- package/dist/cjs/bcs/type-tag-serializer.js +0 -3
- package/dist/cjs/bcs/types.d.ts +0 -49
- package/dist/cjs/bcs/types.js +0 -3
- package/dist/cjs/client/index.js +0 -3
- package/dist/cjs/client/network.js +0 -9
- package/dist/cjs/cryptography/index.js +0 -3
- package/dist/cjs/cryptography/intent.d.ts +0 -3
- package/dist/cjs/cryptography/intent.js +0 -6
- package/dist/cjs/cryptography/keypair.d.ts +4 -38
- package/dist/cjs/cryptography/keypair.js +2 -32
- package/dist/cjs/cryptography/mnemonics.d.ts +0 -23
- package/dist/cjs/cryptography/mnemonics.js +0 -26
- package/dist/cjs/cryptography/publickey.d.ts +0 -42
- package/dist/cjs/cryptography/publickey.js +0 -34
- package/dist/cjs/cryptography/signature-scheme.js +0 -3
- package/dist/cjs/cryptography/signature.d.ts +0 -11
- package/dist/cjs/cryptography/signature.js +0 -9
- package/dist/cjs/experimental/cache.js +0 -3
- package/dist/cjs/experimental/client.js +0 -4
- package/dist/cjs/experimental/core.d.ts +0 -2
- package/dist/cjs/experimental/core.js +0 -5
- package/dist/cjs/experimental/errors.js +0 -3
- package/dist/cjs/experimental/index.js +0 -3
- package/dist/cjs/experimental/persistent-storage.d.ts +0 -98
- package/dist/cjs/experimental/persistent-storage.js +2 -119
- package/dist/cjs/experimental/persistent-storage.test.d.ts +0 -4
- package/dist/cjs/experimental/persistent-storage.test.js +2 -56
- package/dist/cjs/experimental/transports/utils.js +0 -4
- package/dist/cjs/experimental/types.d.ts +0 -6
- package/dist/cjs/experimental/types.js +0 -4
- package/dist/cjs/faucet/faucet.d.ts +0 -9
- package/dist/cjs/faucet/faucet.js +0 -12
- package/dist/cjs/faucet/index.js +0 -3
- package/dist/cjs/grpc/client.js +0 -3
- package/dist/cjs/grpc/core.js +0 -16
- package/dist/cjs/grpc/index.js +0 -3
- package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +0 -151
- package/dist/cjs/grpc/proto/google/protobuf/any.js +2 -64
- package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +0 -89
- package/dist/cjs/grpc/proto/google/protobuf/duration.js +3 -51
- package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +0 -17
- package/dist/cjs/grpc/proto/google/protobuf/empty.js +0 -42
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +0 -217
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +2 -50
- package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +0 -112
- package/dist/cjs/grpc/proto/google/protobuf/struct.js +5 -86
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +0 -127
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +3 -62
- package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +0 -407
- package/dist/cjs/grpc/proto/google/rpc/error_details.js +29 -107
- package/dist/cjs/grpc/proto/google/rpc/status.d.ts +0 -34
- package/dist/cjs/grpc/proto/google/rpc/status.js +3 -29
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +0 -48
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +3 -40
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +0 -23
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js +3 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +0 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js +2 -17
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +0 -48
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +4 -19
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +0 -51
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +6 -25
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +0 -149
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +16 -56
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +0 -257
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +27 -126
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +0 -41
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +8 -23
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.d.ts +0 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js +0 -23
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +0 -63
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +6 -25
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +0 -56
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +5 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +0 -623
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +36 -441
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +0 -29
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +8 -23
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +0 -75
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +6 -47
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +0 -50
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +6 -25
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +0 -52
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +0 -29
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +0 -260
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +25 -103
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +0 -429
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +41 -202
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +0 -30
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +0 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +0 -151
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +15 -65
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +0 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +0 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +0 -97
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +8 -42
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +0 -95
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +12 -31
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +0 -23
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +4 -19
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +0 -42
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +3 -39
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +0 -15
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +6 -21
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +0 -447
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +39 -122
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +0 -31
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js +0 -42
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +0 -16
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +0 -11
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +0 -54
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +4 -26
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +0 -36
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +0 -21
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +0 -518
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +42 -197
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +0 -36
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +0 -21
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +0 -36
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +2 -24
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +0 -538
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +115 -162
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +0 -945
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +98 -393
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +0 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +0 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +0 -118
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +5 -54
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/jsonRpc/client.d.ts +0 -140
- package/dist/cjs/jsonRpc/client.js +0 -137
- package/dist/cjs/jsonRpc/core.js +0 -3
- package/dist/cjs/jsonRpc/errors.js +0 -3
- package/dist/cjs/jsonRpc/http-transport.d.ts +0 -3
- package/dist/cjs/jsonRpc/http-transport.js +0 -3
- package/dist/cjs/jsonRpc/index.js +0 -3
- package/dist/cjs/jsonRpc/json-rpc-resolver.js +0 -18
- package/dist/cjs/jsonRpc/rpc-websocket-client.d.ts +0 -15
- package/dist/cjs/jsonRpc/rpc-websocket-client.js +0 -4
- package/dist/cjs/jsonRpc/types/chain.js +0 -3
- package/dist/cjs/jsonRpc/types/changes.js +0 -3
- package/dist/cjs/jsonRpc/types/coins.js +0 -3
- package/dist/cjs/jsonRpc/types/common.js +0 -3
- package/dist/cjs/jsonRpc/types/generated.d.ts +56 -542
- package/dist/cjs/jsonRpc/types/generated.js +0 -3
- package/dist/cjs/jsonRpc/types/index.js +0 -3
- package/dist/cjs/jsonRpc/types/params.d.ts +0 -336
- package/dist/cjs/jsonRpc/types/params.js +0 -3
- package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js +1 -6
- package/dist/cjs/keypairs/ed25519/index.js +0 -3
- package/dist/cjs/keypairs/ed25519/keypair.d.ts +0 -52
- package/dist/cjs/keypairs/ed25519/keypair.js +0 -50
- package/dist/cjs/keypairs/ed25519/publickey.d.ts +0 -19
- package/dist/cjs/keypairs/ed25519/publickey.js +0 -22
- package/dist/cjs/keypairs/index.js +0 -3
- package/dist/cjs/keypairs/passkey/index.js +0 -3
- package/dist/cjs/keypairs/passkey/keypair.d.ts +0 -80
- package/dist/cjs/keypairs/passkey/keypair.js +1 -97
- package/dist/cjs/keypairs/passkey/publickey.d.ts +0 -47
- package/dist/cjs/keypairs/passkey/publickey.js +8 -61
- package/dist/cjs/keypairs/passkey/types.d.ts +0 -6
- package/dist/cjs/keypairs/passkey/types.js +0 -3
- package/dist/cjs/keypairs/secp256k1/index.js +0 -3
- package/dist/cjs/keypairs/secp256k1/keypair.d.ts +0 -51
- package/dist/cjs/keypairs/secp256k1/keypair.js +0 -51
- package/dist/cjs/keypairs/secp256k1/publickey.d.ts +0 -19
- package/dist/cjs/keypairs/secp256k1/publickey.js +0 -22
- package/dist/cjs/keypairs/secp256r1/index.js +0 -3
- package/dist/cjs/keypairs/secp256r1/keypair.d.ts +0 -51
- package/dist/cjs/keypairs/secp256r1/keypair.js +0 -52
- package/dist/cjs/keypairs/secp256r1/publickey.d.ts +0 -19
- package/dist/cjs/keypairs/secp256r1/publickey.js +0 -22
- package/dist/cjs/multisig/index.js +0 -3
- package/dist/cjs/multisig/publickey.d.ts +1 -36
- package/dist/cjs/multisig/publickey.js +1 -43
- package/dist/cjs/multisig/signer.d.ts +0 -1
- package/dist/cjs/multisig/signer.js +0 -4
- package/dist/cjs/transactions/Arguments.js +0 -3
- package/dist/cjs/transactions/Commands.d.ts +0 -3
- package/dist/cjs/transactions/Commands.js +0 -8
- package/dist/cjs/transactions/Inputs.js +0 -3
- package/dist/cjs/transactions/ObjectCache.js +0 -3
- package/dist/cjs/transactions/Transaction.d.ts +0 -56
- package/dist/cjs/transactions/Transaction.js +0 -72
- package/dist/cjs/transactions/TransactionData.d.ts +0 -6
- package/dist/cjs/transactions/TransactionData.js +0 -15
- package/dist/cjs/transactions/__tests__/Transaction.test.js +0 -7
- package/dist/cjs/transactions/__tests__/bcs.test.js +0 -18
- package/dist/cjs/transactions/data/internal.js +0 -16
- package/dist/cjs/transactions/data/v1.js +0 -5
- package/dist/cjs/transactions/data/v2.js +0 -11
- package/dist/cjs/transactions/executor/caching.d.ts +0 -4
- package/dist/cjs/transactions/executor/caching.js +0 -7
- package/dist/cjs/transactions/executor/parallel.d.ts +0 -11
- package/dist/cjs/transactions/executor/parallel.js +0 -5
- package/dist/cjs/transactions/executor/queue.js +0 -3
- package/dist/cjs/transactions/executor/serial.d.ts +0 -1
- package/dist/cjs/transactions/executor/serial.js +0 -3
- package/dist/cjs/transactions/hash.d.ts +0 -6
- package/dist/cjs/transactions/hash.js +0 -9
- package/dist/cjs/transactions/index.d.ts +0 -1
- package/dist/cjs/transactions/index.js +0 -3
- package/dist/cjs/transactions/intents/CoinWithBalance.js +0 -3
- package/dist/cjs/transactions/object.js +0 -3
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.d.ts +0 -18
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js +0 -9
- package/dist/cjs/transactions/pure.js +0 -3
- package/dist/cjs/transactions/resolve.js +0 -3
- package/dist/cjs/transactions/serializer.js +0 -3
- package/dist/cjs/transactions/utils.js +0 -3
- package/dist/cjs/utils/constants.js +0 -9
- package/dist/cjs/utils/derived-objects.d.ts +0 -3
- package/dist/cjs/utils/derived-objects.js +0 -6
- package/dist/cjs/utils/dynamic-fields.js +0 -3
- package/dist/cjs/utils/format.js +0 -4
- package/dist/cjs/utils/index.js +2 -9
- package/dist/cjs/utils/move-registry.d.ts +0 -4
- package/dist/cjs/utils/move-registry.js +1 -18
- package/dist/cjs/utils/sui-types.d.ts +0 -12
- package/dist/cjs/utils/sui-types.js +0 -20
- package/dist/cjs/utils/suins.js +0 -3
- package/dist/cjs/verify/index.js +0 -4
- package/dist/cjs/verify/verify.js +0 -4
- package/dist/cjs/version.js +0 -4
- package/dist/cjs/w/call/allocation.js +2 -26
- package/dist/cjs/w/call/arb.js +1 -7
- package/dist/cjs/w/call/arbitration.js +1 -32
- package/dist/cjs/w/call/base.js +3 -34
- package/dist/cjs/w/call/contact.js +1 -6
- package/dist/cjs/w/call/demand.js +2 -23
- package/dist/cjs/w/call/entity.js +0 -7
- package/dist/cjs/w/call/guard-ins.d.ts +0 -3
- package/dist/cjs/w/call/guard-ins.js +116 -54
- package/dist/cjs/w/call/guard.d.ts +0 -27
- package/dist/cjs/w/call/guard.js +3 -109
- package/dist/cjs/w/call/index.js +0 -5
- package/dist/cjs/w/call/machine.js +1 -20
- package/dist/cjs/w/call/order.js +1 -12
- package/dist/cjs/w/call/passport.js +0 -14
- package/dist/cjs/w/call/payment.js +0 -14
- package/dist/cjs/w/call/permission.d.ts +0 -20
- package/dist/cjs/w/call/permission.js +0 -65
- package/dist/cjs/w/call/personal.js +0 -3
- package/dist/cjs/w/call/progress.js +1 -14
- package/dist/cjs/w/call/proof.js +0 -3
- package/dist/cjs/w/call/repository.js +3 -76
- package/dist/cjs/w/call/resource.js +1 -12
- package/dist/cjs/w/call/reward.js +7 -20
- package/dist/cjs/w/call/service.js +4 -35
- package/dist/cjs/w/call/treasury.js +15 -19
- package/dist/cjs/w/call/util.js +5 -63
- package/dist/cjs/w/common.d.ts +48 -68
- package/dist/cjs/w/common.js +0 -33
- package/dist/cjs/w/exception.d.ts +1 -0
- package/dist/cjs/w/exception.js +105 -69
- package/dist/cjs/w/index.js +0 -4
- package/dist/cjs/w/local/account.d.ts +0 -45
- package/dist/cjs/w/local/account.js +12 -102
- package/dist/cjs/w/local/cache.js +0 -30
- package/dist/cjs/w/local/config.d.ts +0 -3
- package/dist/cjs/w/local/config.js +0 -7
- package/dist/cjs/w/local/index.js +0 -5
- package/dist/cjs/w/local/local.js +17 -107
- package/dist/cjs/w/local/storage.d.ts +0 -20
- package/dist/cjs/w/local/storage.js +0 -37
- package/dist/cjs/w/local/token.d.ts +1 -4
- package/dist/cjs/w/local/token.js +0 -30
- package/dist/cjs/w/local/util.d.ts +0 -4
- package/dist/cjs/w/local/util.js +0 -24
- package/dist/cjs/w/local/wip.d.ts +0 -92
- package/dist/cjs/w/local/wip.js +31 -351
- package/dist/cjs/w/messenger/crypto.d.ts +0 -186
- package/dist/cjs/w/messenger/crypto.js +2 -196
- package/dist/cjs/w/messenger/index.d.ts +0 -18
- package/dist/cjs/w/messenger/index.js +0 -24
- package/dist/cjs/w/messenger/messenger-api.d.ts +0 -177
- package/dist/cjs/w/messenger/messenger-api.js +5 -354
- package/dist/cjs/w/messenger/messenger-manager.d.ts +0 -24
- package/dist/cjs/w/messenger/messenger-manager.js +1 -63
- package/dist/cjs/w/messenger/messenger.d.ts +0 -206
- package/dist/cjs/w/messenger/messenger.js +14 -360
- package/dist/cjs/w/messenger/server.d.ts +0 -94
- package/dist/cjs/w/messenger/server.js +0 -117
- package/dist/cjs/w/messenger/session.d.ts +0 -76
- package/dist/cjs/w/messenger/session.js +3 -143
- package/dist/cjs/w/messenger/storage.d.ts +0 -143
- package/dist/cjs/w/messenger/storage.js +0 -233
- package/dist/cjs/w/messenger/templates/wts-html-template.d.ts +0 -31
- package/dist/cjs/w/messenger/templates/wts-html-template.js +0 -43
- package/dist/cjs/w/messenger/types.d.ts +7 -218
- package/dist/cjs/w/messenger/types.js +14 -36
- package/dist/cjs/w/messenger/utils.d.ts +0 -14
- package/dist/cjs/w/messenger/utils.js +0 -17
- package/dist/cjs/w/query/bult-in.d.ts +0 -11
- package/dist/cjs/w/query/bult-in.js +1 -13
- package/dist/cjs/w/query/event.d.ts +0 -7
- package/dist/cjs/w/query/event.js +0 -3
- package/dist/cjs/w/query/index.js +0 -3
- package/dist/cjs/w/query/object.d.ts +7 -51
- package/dist/cjs/w/query/object.js +7 -93
- package/dist/cjs/w/query/received.d.ts +0 -6
- package/dist/cjs/w/query/received.js +0 -5
- package/dist/cjs/w/query/util.d.ts +1 -2
- package/dist/cjs/w/query/util.js +1 -6
- package/dist/cjs/w/util.d.ts +2 -5
- package/dist/cjs/w/util.js +2 -31
- package/dist/esm/bcs/bcs.d.ts +0 -8
- package/dist/esm/bcs/bcs.js +0 -25
- package/dist/esm/bcs/effects.js +0 -4
- package/dist/esm/bcs/index.js +0 -4
- package/dist/esm/bcs/pure.js +0 -3
- package/dist/esm/bcs/type-tag-serializer.js +0 -3
- package/dist/esm/bcs/types.d.ts +0 -49
- package/dist/esm/bcs/types.js +0 -3
- package/dist/esm/client/index.js +0 -3
- package/dist/esm/client/network.js +0 -9
- package/dist/esm/cryptography/index.js +0 -3
- package/dist/esm/cryptography/intent.d.ts +0 -3
- package/dist/esm/cryptography/intent.js +0 -6
- package/dist/esm/cryptography/keypair.d.ts +4 -38
- package/dist/esm/cryptography/keypair.js +2 -32
- package/dist/esm/cryptography/mnemonics.d.ts +0 -23
- package/dist/esm/cryptography/mnemonics.js +0 -26
- package/dist/esm/cryptography/publickey.d.ts +0 -42
- package/dist/esm/cryptography/publickey.js +0 -34
- package/dist/esm/cryptography/signature-scheme.js +0 -3
- package/dist/esm/cryptography/signature.d.ts +0 -11
- package/dist/esm/cryptography/signature.js +0 -9
- package/dist/esm/experimental/cache.js +0 -3
- package/dist/esm/experimental/client.js +0 -4
- package/dist/esm/experimental/core.d.ts +0 -2
- package/dist/esm/experimental/core.js +0 -5
- package/dist/esm/experimental/errors.js +0 -3
- package/dist/esm/experimental/index.js +0 -3
- package/dist/esm/experimental/persistent-storage.d.ts +0 -98
- package/dist/esm/experimental/persistent-storage.js +2 -119
- package/dist/esm/experimental/persistent-storage.test.d.ts +0 -4
- package/dist/esm/experimental/persistent-storage.test.js +2 -56
- package/dist/esm/experimental/transports/utils.js +0 -4
- package/dist/esm/experimental/types.d.ts +0 -6
- package/dist/esm/experimental/types.js +0 -4
- package/dist/esm/faucet/faucet.d.ts +0 -9
- package/dist/esm/faucet/faucet.js +0 -12
- package/dist/esm/faucet/index.js +0 -3
- package/dist/esm/grpc/client.js +0 -3
- package/dist/esm/grpc/core.js +0 -16
- package/dist/esm/grpc/index.js +0 -3
- package/dist/esm/grpc/proto/google/protobuf/any.d.ts +0 -151
- package/dist/esm/grpc/proto/google/protobuf/any.js +2 -64
- package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +0 -89
- package/dist/esm/grpc/proto/google/protobuf/duration.js +3 -51
- package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +0 -17
- package/dist/esm/grpc/proto/google/protobuf/empty.js +0 -42
- package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +0 -217
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js +2 -50
- package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +0 -112
- package/dist/esm/grpc/proto/google/protobuf/struct.js +5 -86
- package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +0 -127
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js +3 -62
- package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +0 -407
- package/dist/esm/grpc/proto/google/rpc/error_details.js +29 -107
- package/dist/esm/grpc/proto/google/rpc/status.d.ts +0 -34
- package/dist/esm/grpc/proto/google/rpc/status.js +3 -29
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +0 -48
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +3 -40
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +0 -23
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js +3 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +0 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js +2 -17
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +0 -48
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +4 -19
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +0 -51
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +6 -25
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +0 -149
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +16 -56
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +0 -257
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +27 -126
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +0 -41
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +8 -23
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.d.ts +0 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js +0 -23
- package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +0 -63
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js +6 -25
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +0 -56
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +5 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +0 -623
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +36 -441
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +0 -29
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +8 -23
- package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +0 -75
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js +6 -47
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +0 -50
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +6 -25
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +0 -52
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +0 -29
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +0 -260
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +25 -103
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +0 -429
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +41 -202
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +0 -30
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +0 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +0 -151
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +15 -65
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +0 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +0 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +0 -97
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +8 -42
- package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +0 -95
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js +12 -31
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +0 -23
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +4 -19
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +0 -42
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +3 -39
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +0 -15
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +6 -21
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +0 -447
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +39 -122
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +0 -31
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js +0 -42
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +0 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +0 -11
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +0 -54
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +4 -26
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +0 -36
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +0 -21
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +0 -518
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +42 -197
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +0 -36
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +0 -21
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +0 -36
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +2 -24
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +0 -538
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +115 -162
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +0 -945
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +98 -393
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +0 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +0 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +0 -118
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +5 -54
- package/dist/esm/index.js +0 -11
- package/dist/esm/jsonRpc/client.d.ts +0 -140
- package/dist/esm/jsonRpc/client.js +0 -137
- package/dist/esm/jsonRpc/core.js +0 -3
- package/dist/esm/jsonRpc/errors.js +0 -3
- package/dist/esm/jsonRpc/http-transport.d.ts +0 -3
- package/dist/esm/jsonRpc/http-transport.js +0 -3
- package/dist/esm/jsonRpc/index.js +0 -3
- package/dist/esm/jsonRpc/json-rpc-resolver.js +0 -18
- package/dist/esm/jsonRpc/rpc-websocket-client.d.ts +0 -15
- package/dist/esm/jsonRpc/rpc-websocket-client.js +0 -4
- package/dist/esm/jsonRpc/types/chain.js +0 -3
- package/dist/esm/jsonRpc/types/changes.js +0 -3
- package/dist/esm/jsonRpc/types/coins.js +0 -3
- package/dist/esm/jsonRpc/types/common.js +0 -3
- package/dist/esm/jsonRpc/types/generated.d.ts +56 -542
- package/dist/esm/jsonRpc/types/generated.js +0 -3
- package/dist/esm/jsonRpc/types/index.js +0 -3
- package/dist/esm/jsonRpc/types/params.d.ts +0 -336
- package/dist/esm/jsonRpc/types/params.js +0 -3
- package/dist/esm/keypairs/ed25519/ed25519-hd-key.js +1 -6
- package/dist/esm/keypairs/ed25519/index.js +0 -3
- package/dist/esm/keypairs/ed25519/keypair.d.ts +0 -52
- package/dist/esm/keypairs/ed25519/keypair.js +0 -50
- package/dist/esm/keypairs/ed25519/publickey.d.ts +0 -19
- package/dist/esm/keypairs/ed25519/publickey.js +0 -22
- package/dist/esm/keypairs/index.js +0 -3
- package/dist/esm/keypairs/passkey/index.js +0 -3
- package/dist/esm/keypairs/passkey/keypair.d.ts +0 -80
- package/dist/esm/keypairs/passkey/keypair.js +1 -97
- package/dist/esm/keypairs/passkey/publickey.d.ts +0 -47
- package/dist/esm/keypairs/passkey/publickey.js +8 -61
- package/dist/esm/keypairs/passkey/types.d.ts +0 -6
- package/dist/esm/keypairs/passkey/types.js +0 -3
- package/dist/esm/keypairs/secp256k1/index.js +0 -3
- package/dist/esm/keypairs/secp256k1/keypair.d.ts +0 -51
- package/dist/esm/keypairs/secp256k1/keypair.js +0 -51
- package/dist/esm/keypairs/secp256k1/publickey.d.ts +0 -19
- package/dist/esm/keypairs/secp256k1/publickey.js +0 -22
- package/dist/esm/keypairs/secp256r1/index.js +0 -3
- package/dist/esm/keypairs/secp256r1/keypair.d.ts +0 -51
- package/dist/esm/keypairs/secp256r1/keypair.js +0 -52
- package/dist/esm/keypairs/secp256r1/publickey.d.ts +0 -19
- package/dist/esm/keypairs/secp256r1/publickey.js +0 -22
- package/dist/esm/multisig/index.js +0 -3
- package/dist/esm/multisig/publickey.d.ts +1 -36
- package/dist/esm/multisig/publickey.js +1 -43
- package/dist/esm/multisig/signer.d.ts +0 -1
- package/dist/esm/multisig/signer.js +0 -4
- package/dist/esm/transactions/Arguments.js +0 -3
- package/dist/esm/transactions/Commands.d.ts +0 -3
- package/dist/esm/transactions/Commands.js +0 -8
- package/dist/esm/transactions/Inputs.js +0 -3
- package/dist/esm/transactions/ObjectCache.js +0 -3
- package/dist/esm/transactions/Transaction.d.ts +0 -56
- package/dist/esm/transactions/Transaction.js +0 -72
- package/dist/esm/transactions/TransactionData.d.ts +0 -6
- package/dist/esm/transactions/TransactionData.js +0 -15
- package/dist/esm/transactions/__tests__/Transaction.test.js +0 -7
- package/dist/esm/transactions/__tests__/bcs.test.js +0 -18
- package/dist/esm/transactions/data/internal.js +0 -16
- package/dist/esm/transactions/data/v1.js +0 -5
- package/dist/esm/transactions/data/v2.js +0 -11
- package/dist/esm/transactions/executor/caching.d.ts +0 -4
- package/dist/esm/transactions/executor/caching.js +0 -7
- package/dist/esm/transactions/executor/parallel.d.ts +0 -11
- package/dist/esm/transactions/executor/parallel.js +0 -5
- package/dist/esm/transactions/executor/queue.js +0 -3
- package/dist/esm/transactions/executor/serial.d.ts +0 -1
- package/dist/esm/transactions/executor/serial.js +0 -3
- package/dist/esm/transactions/hash.d.ts +0 -6
- package/dist/esm/transactions/hash.js +0 -9
- package/dist/esm/transactions/index.d.ts +0 -1
- package/dist/esm/transactions/index.js +0 -3
- package/dist/esm/transactions/intents/CoinWithBalance.js +0 -3
- package/dist/esm/transactions/object.js +0 -3
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.d.ts +0 -18
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.js +0 -9
- package/dist/esm/transactions/pure.js +0 -3
- package/dist/esm/transactions/resolve.js +0 -3
- package/dist/esm/transactions/serializer.js +0 -3
- package/dist/esm/transactions/utils.js +0 -3
- package/dist/esm/utils/constants.js +0 -9
- package/dist/esm/utils/derived-objects.d.ts +0 -3
- package/dist/esm/utils/derived-objects.js +0 -6
- package/dist/esm/utils/dynamic-fields.js +0 -3
- package/dist/esm/utils/format.js +0 -4
- package/dist/esm/utils/index.js +2 -9
- package/dist/esm/utils/move-registry.d.ts +0 -4
- package/dist/esm/utils/move-registry.js +1 -18
- package/dist/esm/utils/sui-types.d.ts +0 -12
- package/dist/esm/utils/sui-types.js +0 -20
- package/dist/esm/utils/suins.js +0 -3
- package/dist/esm/verify/index.js +0 -4
- package/dist/esm/verify/verify.js +0 -4
- package/dist/esm/version.js +0 -4
- package/dist/esm/w/call/allocation.js +2 -26
- package/dist/esm/w/call/arb.js +1 -7
- package/dist/esm/w/call/arbitration.js +1 -32
- package/dist/esm/w/call/base.js +3 -34
- package/dist/esm/w/call/contact.js +1 -6
- package/dist/esm/w/call/demand.js +2 -23
- package/dist/esm/w/call/entity.js +0 -7
- package/dist/esm/w/call/guard-ins.d.ts +0 -3
- package/dist/esm/w/call/guard-ins.js +116 -54
- package/dist/esm/w/call/guard.d.ts +0 -27
- package/dist/esm/w/call/guard.js +3 -109
- package/dist/esm/w/call/index.js +0 -5
- package/dist/esm/w/call/machine.js +1 -20
- package/dist/esm/w/call/order.js +1 -12
- package/dist/esm/w/call/passport.js +0 -14
- package/dist/esm/w/call/payment.js +0 -14
- package/dist/esm/w/call/permission.d.ts +0 -20
- package/dist/esm/w/call/permission.js +0 -65
- package/dist/esm/w/call/personal.js +0 -3
- package/dist/esm/w/call/progress.js +1 -14
- package/dist/esm/w/call/proof.js +0 -3
- package/dist/esm/w/call/repository.js +3 -76
- package/dist/esm/w/call/resource.js +1 -12
- package/dist/esm/w/call/reward.js +7 -20
- package/dist/esm/w/call/service.js +4 -35
- package/dist/esm/w/call/treasury.js +15 -19
- package/dist/esm/w/call/util.js +5 -63
- package/dist/esm/w/common.d.ts +48 -68
- package/dist/esm/w/common.js +0 -33
- package/dist/esm/w/exception.d.ts +1 -0
- package/dist/esm/w/exception.js +105 -69
- package/dist/esm/w/index.js +0 -4
- package/dist/esm/w/local/account.d.ts +0 -45
- package/dist/esm/w/local/account.js +12 -102
- package/dist/esm/w/local/cache.js +0 -30
- package/dist/esm/w/local/config.d.ts +0 -3
- package/dist/esm/w/local/config.js +0 -7
- package/dist/esm/w/local/index.js +0 -5
- package/dist/esm/w/local/local.js +17 -107
- package/dist/esm/w/local/storage.d.ts +0 -20
- package/dist/esm/w/local/storage.js +0 -37
- package/dist/esm/w/local/token.d.ts +1 -4
- package/dist/esm/w/local/token.js +0 -30
- package/dist/esm/w/local/util.d.ts +0 -4
- package/dist/esm/w/local/util.js +0 -24
- package/dist/esm/w/local/wip.d.ts +0 -92
- package/dist/esm/w/local/wip.js +31 -351
- package/dist/esm/w/messenger/crypto.d.ts +0 -186
- package/dist/esm/w/messenger/crypto.js +2 -196
- package/dist/esm/w/messenger/index.d.ts +0 -18
- package/dist/esm/w/messenger/index.js +0 -24
- package/dist/esm/w/messenger/messenger-api.d.ts +0 -177
- package/dist/esm/w/messenger/messenger-api.js +5 -354
- package/dist/esm/w/messenger/messenger-manager.d.ts +0 -24
- package/dist/esm/w/messenger/messenger-manager.js +1 -63
- package/dist/esm/w/messenger/messenger.d.ts +0 -206
- package/dist/esm/w/messenger/messenger.js +14 -360
- package/dist/esm/w/messenger/server.d.ts +0 -94
- package/dist/esm/w/messenger/server.js +0 -117
- package/dist/esm/w/messenger/session.d.ts +0 -76
- package/dist/esm/w/messenger/session.js +3 -143
- package/dist/esm/w/messenger/storage.d.ts +0 -143
- package/dist/esm/w/messenger/storage.js +0 -233
- package/dist/esm/w/messenger/templates/wts-html-template.d.ts +0 -31
- package/dist/esm/w/messenger/templates/wts-html-template.js +0 -43
- package/dist/esm/w/messenger/types.d.ts +7 -218
- package/dist/esm/w/messenger/types.js +14 -36
- package/dist/esm/w/messenger/utils.d.ts +0 -14
- package/dist/esm/w/messenger/utils.js +0 -17
- package/dist/esm/w/query/bult-in.d.ts +0 -11
- package/dist/esm/w/query/bult-in.js +1 -13
- package/dist/esm/w/query/event.d.ts +0 -7
- package/dist/esm/w/query/event.js +0 -3
- package/dist/esm/w/query/index.js +0 -3
- package/dist/esm/w/query/object.d.ts +7 -51
- package/dist/esm/w/query/object.js +7 -93
- package/dist/esm/w/query/received.d.ts +0 -6
- package/dist/esm/w/query/received.js +0 -5
- package/dist/esm/w/query/util.d.ts +1 -2
- package/dist/esm/w/query/util.js +1 -6
- package/dist/esm/w/util.d.ts +2 -5
- package/dist/esm/w/util.js +2 -31
- package/package.json +1 -1
- package/dist/cjs/bcs/bcs.js.map +0 -1
- package/dist/cjs/bcs/effects.js.map +0 -1
- package/dist/cjs/bcs/index.js.map +0 -1
- package/dist/cjs/bcs/pure.js.map +0 -1
- package/dist/cjs/bcs/type-tag-serializer.js.map +0 -1
- package/dist/cjs/bcs/types.js.map +0 -1
- package/dist/cjs/client/index.js.map +0 -1
- package/dist/cjs/client/network.js.map +0 -1
- package/dist/cjs/cryptography/index.js.map +0 -1
- package/dist/cjs/cryptography/intent.js.map +0 -1
- package/dist/cjs/cryptography/keypair.js.map +0 -1
- package/dist/cjs/cryptography/mnemonics.js.map +0 -1
- package/dist/cjs/cryptography/publickey.js.map +0 -1
- package/dist/cjs/cryptography/signature-scheme.js.map +0 -1
- package/dist/cjs/cryptography/signature.js.map +0 -1
- package/dist/cjs/experimental/cache.js.map +0 -1
- package/dist/cjs/experimental/client.js.map +0 -1
- package/dist/cjs/experimental/core.js.map +0 -1
- package/dist/cjs/experimental/errors.js.map +0 -1
- package/dist/cjs/experimental/index.js.map +0 -1
- package/dist/cjs/experimental/persistent-storage.js.map +0 -1
- package/dist/cjs/experimental/persistent-storage.test.js.map +0 -1
- package/dist/cjs/experimental/transports/utils.js.map +0 -1
- package/dist/cjs/experimental/types.js.map +0 -1
- package/dist/cjs/faucet/faucet.js.map +0 -1
- package/dist/cjs/faucet/index.js.map +0 -1
- package/dist/cjs/grpc/client.js.map +0 -1
- package/dist/cjs/grpc/core.js.map +0 -1
- package/dist/cjs/grpc/index.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/any.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +0 -1
- package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +0 -1
- package/dist/cjs/grpc/proto/google/rpc/status.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/jsonRpc/client.js.map +0 -1
- package/dist/cjs/jsonRpc/core.js.map +0 -1
- package/dist/cjs/jsonRpc/errors.js.map +0 -1
- package/dist/cjs/jsonRpc/http-transport.js.map +0 -1
- package/dist/cjs/jsonRpc/index.js.map +0 -1
- package/dist/cjs/jsonRpc/json-rpc-resolver.js.map +0 -1
- package/dist/cjs/jsonRpc/rpc-websocket-client.js.map +0 -1
- package/dist/cjs/jsonRpc/types/chain.js.map +0 -1
- package/dist/cjs/jsonRpc/types/changes.js.map +0 -1
- package/dist/cjs/jsonRpc/types/coins.js.map +0 -1
- package/dist/cjs/jsonRpc/types/common.js.map +0 -1
- package/dist/cjs/jsonRpc/types/generated.js.map +0 -1
- package/dist/cjs/jsonRpc/types/index.js.map +0 -1
- package/dist/cjs/jsonRpc/types/params.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/index.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/keypair.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/publickey.js.map +0 -1
- package/dist/cjs/keypairs/index.js.map +0 -1
- package/dist/cjs/keypairs/passkey/index.js.map +0 -1
- package/dist/cjs/keypairs/passkey/keypair.js.map +0 -1
- package/dist/cjs/keypairs/passkey/publickey.js.map +0 -1
- package/dist/cjs/keypairs/passkey/types.js.map +0 -1
- package/dist/cjs/keypairs/secp256k1/index.js.map +0 -1
- package/dist/cjs/keypairs/secp256k1/keypair.js.map +0 -1
- package/dist/cjs/keypairs/secp256k1/publickey.js.map +0 -1
- package/dist/cjs/keypairs/secp256r1/index.js.map +0 -1
- package/dist/cjs/keypairs/secp256r1/keypair.js.map +0 -1
- package/dist/cjs/keypairs/secp256r1/publickey.js.map +0 -1
- package/dist/cjs/multisig/index.js.map +0 -1
- package/dist/cjs/multisig/publickey.js.map +0 -1
- package/dist/cjs/multisig/signer.js.map +0 -1
- package/dist/cjs/transactions/Arguments.js.map +0 -1
- package/dist/cjs/transactions/Commands.js.map +0 -1
- package/dist/cjs/transactions/Inputs.js.map +0 -1
- package/dist/cjs/transactions/ObjectCache.js.map +0 -1
- package/dist/cjs/transactions/Transaction.js.map +0 -1
- package/dist/cjs/transactions/TransactionData.js.map +0 -1
- package/dist/cjs/transactions/__tests__/Transaction.test.js.map +0 -1
- package/dist/cjs/transactions/__tests__/bcs.test.js.map +0 -1
- package/dist/cjs/transactions/data/internal.js.map +0 -1
- package/dist/cjs/transactions/data/v1.js.map +0 -1
- package/dist/cjs/transactions/data/v2.js.map +0 -1
- package/dist/cjs/transactions/executor/caching.js.map +0 -1
- package/dist/cjs/transactions/executor/parallel.js.map +0 -1
- package/dist/cjs/transactions/executor/queue.js.map +0 -1
- package/dist/cjs/transactions/executor/serial.js.map +0 -1
- package/dist/cjs/transactions/hash.js.map +0 -1
- package/dist/cjs/transactions/index.js.map +0 -1
- package/dist/cjs/transactions/intents/CoinWithBalance.js.map +0 -1
- package/dist/cjs/transactions/object.js.map +0 -1
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js.map +0 -1
- package/dist/cjs/transactions/pure.js.map +0 -1
- package/dist/cjs/transactions/resolve.js.map +0 -1
- package/dist/cjs/transactions/serializer.js.map +0 -1
- package/dist/cjs/transactions/utils.js.map +0 -1
- package/dist/cjs/utils/constants.js.map +0 -1
- package/dist/cjs/utils/derived-objects.js.map +0 -1
- package/dist/cjs/utils/dynamic-fields.js.map +0 -1
- package/dist/cjs/utils/format.js.map +0 -1
- package/dist/cjs/utils/index.js.map +0 -1
- package/dist/cjs/utils/move-registry.js.map +0 -1
- package/dist/cjs/utils/sui-types.js.map +0 -1
- package/dist/cjs/utils/suins.js.map +0 -1
- package/dist/cjs/verify/index.js.map +0 -1
- package/dist/cjs/verify/verify.js.map +0 -1
- package/dist/cjs/version.js.map +0 -1
- package/dist/cjs/w/call/allocation.js.map +0 -1
- package/dist/cjs/w/call/arb.js.map +0 -1
- package/dist/cjs/w/call/arbitration.js.map +0 -1
- package/dist/cjs/w/call/base.js.map +0 -1
- package/dist/cjs/w/call/contact.js.map +0 -1
- package/dist/cjs/w/call/demand.js.map +0 -1
- package/dist/cjs/w/call/entity.js.map +0 -1
- package/dist/cjs/w/call/guard-ins.js.map +0 -1
- package/dist/cjs/w/call/guard.js.map +0 -1
- package/dist/cjs/w/call/index.js.map +0 -1
- package/dist/cjs/w/call/machine.js.map +0 -1
- package/dist/cjs/w/call/order.js.map +0 -1
- package/dist/cjs/w/call/passport.js.map +0 -1
- package/dist/cjs/w/call/payment.js.map +0 -1
- package/dist/cjs/w/call/permission.js.map +0 -1
- package/dist/cjs/w/call/personal.js.map +0 -1
- package/dist/cjs/w/call/progress.js.map +0 -1
- package/dist/cjs/w/call/proof.js.map +0 -1
- package/dist/cjs/w/call/repository.js.map +0 -1
- package/dist/cjs/w/call/resource.js.map +0 -1
- package/dist/cjs/w/call/reward.js.map +0 -1
- package/dist/cjs/w/call/service.js.map +0 -1
- package/dist/cjs/w/call/treasury.js.map +0 -1
- package/dist/cjs/w/call/util.js.map +0 -1
- package/dist/cjs/w/common.js.map +0 -1
- package/dist/cjs/w/exception.js.map +0 -1
- package/dist/cjs/w/index.js.map +0 -1
- package/dist/cjs/w/local/account.js.map +0 -1
- package/dist/cjs/w/local/cache.js.map +0 -1
- package/dist/cjs/w/local/config.js.map +0 -1
- package/dist/cjs/w/local/index.js.map +0 -1
- package/dist/cjs/w/local/local.js.map +0 -1
- package/dist/cjs/w/local/storage.js.map +0 -1
- package/dist/cjs/w/local/token.js.map +0 -1
- package/dist/cjs/w/local/util.js.map +0 -1
- package/dist/cjs/w/local/wip.js.map +0 -1
- package/dist/cjs/w/messenger/crypto.js.map +0 -1
- package/dist/cjs/w/messenger/index.js.map +0 -1
- package/dist/cjs/w/messenger/messenger-api.js.map +0 -1
- package/dist/cjs/w/messenger/messenger-manager.js.map +0 -1
- package/dist/cjs/w/messenger/messenger.js.map +0 -1
- package/dist/cjs/w/messenger/server.js.map +0 -1
- package/dist/cjs/w/messenger/session.js.map +0 -1
- package/dist/cjs/w/messenger/storage.js.map +0 -1
- package/dist/cjs/w/messenger/templates/wts-html-template.js.map +0 -1
- package/dist/cjs/w/messenger/types.js.map +0 -1
- package/dist/cjs/w/messenger/utils.js.map +0 -1
- package/dist/cjs/w/query/bult-in.js.map +0 -1
- package/dist/cjs/w/query/event.js.map +0 -1
- package/dist/cjs/w/query/index.js.map +0 -1
- package/dist/cjs/w/query/object.js.map +0 -1
- package/dist/cjs/w/query/received.js.map +0 -1
- package/dist/cjs/w/query/util.js.map +0 -1
- package/dist/cjs/w/util.js.map +0 -1
- package/dist/esm/bcs/bcs.js.map +0 -1
- package/dist/esm/bcs/effects.js.map +0 -1
- package/dist/esm/bcs/index.js.map +0 -1
- package/dist/esm/bcs/pure.js.map +0 -1
- package/dist/esm/bcs/type-tag-serializer.js.map +0 -1
- package/dist/esm/bcs/types.js.map +0 -1
- package/dist/esm/client/index.js.map +0 -1
- package/dist/esm/client/network.js.map +0 -1
- package/dist/esm/cryptography/index.js.map +0 -1
- package/dist/esm/cryptography/intent.js.map +0 -1
- package/dist/esm/cryptography/keypair.js.map +0 -1
- package/dist/esm/cryptography/mnemonics.js.map +0 -1
- package/dist/esm/cryptography/publickey.js.map +0 -1
- package/dist/esm/cryptography/signature-scheme.js.map +0 -1
- package/dist/esm/cryptography/signature.js.map +0 -1
- package/dist/esm/experimental/cache.js.map +0 -1
- package/dist/esm/experimental/client.js.map +0 -1
- package/dist/esm/experimental/core.js.map +0 -1
- package/dist/esm/experimental/errors.js.map +0 -1
- package/dist/esm/experimental/index.js.map +0 -1
- package/dist/esm/experimental/persistent-storage.js.map +0 -1
- package/dist/esm/experimental/persistent-storage.test.js.map +0 -1
- package/dist/esm/experimental/transports/utils.js.map +0 -1
- package/dist/esm/experimental/types.js.map +0 -1
- package/dist/esm/faucet/faucet.js.map +0 -1
- package/dist/esm/faucet/index.js.map +0 -1
- package/dist/esm/grpc/client.js.map +0 -1
- package/dist/esm/grpc/core.js.map +0 -1
- package/dist/esm/grpc/index.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/any.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/duration.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/empty.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/struct.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +0 -1
- package/dist/esm/grpc/proto/google/rpc/error_details.js.map +0 -1
- package/dist/esm/grpc/proto/google/rpc/status.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/jsonRpc/client.js.map +0 -1
- package/dist/esm/jsonRpc/core.js.map +0 -1
- package/dist/esm/jsonRpc/errors.js.map +0 -1
- package/dist/esm/jsonRpc/http-transport.js.map +0 -1
- package/dist/esm/jsonRpc/index.js.map +0 -1
- package/dist/esm/jsonRpc/json-rpc-resolver.js.map +0 -1
- package/dist/esm/jsonRpc/rpc-websocket-client.js.map +0 -1
- package/dist/esm/jsonRpc/types/chain.js.map +0 -1
- package/dist/esm/jsonRpc/types/changes.js.map +0 -1
- package/dist/esm/jsonRpc/types/coins.js.map +0 -1
- package/dist/esm/jsonRpc/types/common.js.map +0 -1
- package/dist/esm/jsonRpc/types/generated.js.map +0 -1
- package/dist/esm/jsonRpc/types/index.js.map +0 -1
- package/dist/esm/jsonRpc/types/params.js.map +0 -1
- package/dist/esm/keypairs/ed25519/ed25519-hd-key.js.map +0 -1
- package/dist/esm/keypairs/ed25519/index.js.map +0 -1
- package/dist/esm/keypairs/ed25519/keypair.js.map +0 -1
- package/dist/esm/keypairs/ed25519/publickey.js.map +0 -1
- package/dist/esm/keypairs/index.js.map +0 -1
- package/dist/esm/keypairs/passkey/index.js.map +0 -1
- package/dist/esm/keypairs/passkey/keypair.js.map +0 -1
- package/dist/esm/keypairs/passkey/publickey.js.map +0 -1
- package/dist/esm/keypairs/passkey/types.js.map +0 -1
- package/dist/esm/keypairs/secp256k1/index.js.map +0 -1
- package/dist/esm/keypairs/secp256k1/keypair.js.map +0 -1
- package/dist/esm/keypairs/secp256k1/publickey.js.map +0 -1
- package/dist/esm/keypairs/secp256r1/index.js.map +0 -1
- package/dist/esm/keypairs/secp256r1/keypair.js.map +0 -1
- package/dist/esm/keypairs/secp256r1/publickey.js.map +0 -1
- package/dist/esm/multisig/index.js.map +0 -1
- package/dist/esm/multisig/publickey.js.map +0 -1
- package/dist/esm/multisig/signer.js.map +0 -1
- package/dist/esm/transactions/Arguments.js.map +0 -1
- package/dist/esm/transactions/Commands.js.map +0 -1
- package/dist/esm/transactions/Inputs.js.map +0 -1
- package/dist/esm/transactions/ObjectCache.js.map +0 -1
- package/dist/esm/transactions/Transaction.js.map +0 -1
- package/dist/esm/transactions/TransactionData.js.map +0 -1
- package/dist/esm/transactions/__tests__/Transaction.test.js.map +0 -1
- package/dist/esm/transactions/__tests__/bcs.test.js.map +0 -1
- package/dist/esm/transactions/data/internal.js.map +0 -1
- package/dist/esm/transactions/data/v1.js.map +0 -1
- package/dist/esm/transactions/data/v2.js.map +0 -1
- package/dist/esm/transactions/executor/caching.js.map +0 -1
- package/dist/esm/transactions/executor/parallel.js.map +0 -1
- package/dist/esm/transactions/executor/queue.js.map +0 -1
- package/dist/esm/transactions/executor/serial.js.map +0 -1
- package/dist/esm/transactions/hash.js.map +0 -1
- package/dist/esm/transactions/index.js.map +0 -1
- package/dist/esm/transactions/intents/CoinWithBalance.js.map +0 -1
- package/dist/esm/transactions/object.js.map +0 -1
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.js.map +0 -1
- package/dist/esm/transactions/pure.js.map +0 -1
- package/dist/esm/transactions/resolve.js.map +0 -1
- package/dist/esm/transactions/serializer.js.map +0 -1
- package/dist/esm/transactions/utils.js.map +0 -1
- package/dist/esm/utils/constants.js.map +0 -1
- package/dist/esm/utils/derived-objects.js.map +0 -1
- package/dist/esm/utils/dynamic-fields.js.map +0 -1
- package/dist/esm/utils/format.js.map +0 -1
- package/dist/esm/utils/index.js.map +0 -1
- package/dist/esm/utils/move-registry.js.map +0 -1
- package/dist/esm/utils/sui-types.js.map +0 -1
- package/dist/esm/utils/suins.js.map +0 -1
- package/dist/esm/verify/index.js.map +0 -1
- package/dist/esm/verify/verify.js.map +0 -1
- package/dist/esm/version.js.map +0 -1
- package/dist/esm/w/call/allocation.js.map +0 -1
- package/dist/esm/w/call/arb.js.map +0 -1
- package/dist/esm/w/call/arbitration.js.map +0 -1
- package/dist/esm/w/call/base.js.map +0 -1
- package/dist/esm/w/call/contact.js.map +0 -1
- package/dist/esm/w/call/demand.js.map +0 -1
- package/dist/esm/w/call/entity.js.map +0 -1
- package/dist/esm/w/call/guard-ins.js.map +0 -1
- package/dist/esm/w/call/guard.js.map +0 -1
- package/dist/esm/w/call/index.js.map +0 -1
- package/dist/esm/w/call/machine.js.map +0 -1
- package/dist/esm/w/call/order.js.map +0 -1
- package/dist/esm/w/call/passport.js.map +0 -1
- package/dist/esm/w/call/payment.js.map +0 -1
- package/dist/esm/w/call/permission.js.map +0 -1
- package/dist/esm/w/call/personal.js.map +0 -1
- package/dist/esm/w/call/progress.js.map +0 -1
- package/dist/esm/w/call/proof.js.map +0 -1
- package/dist/esm/w/call/repository.js.map +0 -1
- package/dist/esm/w/call/resource.js.map +0 -1
- package/dist/esm/w/call/reward.js.map +0 -1
- package/dist/esm/w/call/service.js.map +0 -1
- package/dist/esm/w/call/treasury.js.map +0 -1
- package/dist/esm/w/call/util.js.map +0 -1
- package/dist/esm/w/common.js.map +0 -1
- package/dist/esm/w/exception.js.map +0 -1
- package/dist/esm/w/index.js.map +0 -1
- package/dist/esm/w/local/account.js.map +0 -1
- package/dist/esm/w/local/cache.js.map +0 -1
- package/dist/esm/w/local/config.js.map +0 -1
- package/dist/esm/w/local/index.js.map +0 -1
- package/dist/esm/w/local/local.js.map +0 -1
- package/dist/esm/w/local/storage.js.map +0 -1
- package/dist/esm/w/local/token.js.map +0 -1
- package/dist/esm/w/local/util.js.map +0 -1
- package/dist/esm/w/local/wip.js.map +0 -1
- package/dist/esm/w/messenger/crypto.js.map +0 -1
- package/dist/esm/w/messenger/index.js.map +0 -1
- package/dist/esm/w/messenger/messenger-api.js.map +0 -1
- package/dist/esm/w/messenger/messenger-manager.js.map +0 -1
- package/dist/esm/w/messenger/messenger.js.map +0 -1
- package/dist/esm/w/messenger/server.js.map +0 -1
- package/dist/esm/w/messenger/session.js.map +0 -1
- package/dist/esm/w/messenger/storage.js.map +0 -1
- package/dist/esm/w/messenger/templates/wts-html-template.js.map +0 -1
- package/dist/esm/w/messenger/types.js.map +0 -1
- package/dist/esm/w/messenger/utils.js.map +0 -1
- package/dist/esm/w/query/bult-in.js.map +0 -1
- package/dist/esm/w/query/event.js.map +0 -1
- package/dist/esm/w/query/index.js.map +0 -1
- package/dist/esm/w/query/object.js.map +0 -1
- package/dist/esm/w/query/received.js.map +0 -1
- package/dist/esm/w/query/util.js.map +0 -1
- package/dist/esm/w/util.js.map +0 -1
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ######################################
|
|
3
|
-
* ### DO NOT EDIT THIS FILE DIRECTLY ###
|
|
4
|
-
* ######################################
|
|
5
|
-
*
|
|
6
|
-
* This file is generated from:
|
|
7
|
-
* /crates/sui-open-rpc/spec/openrpc.json
|
|
8
|
-
*/
|
|
9
1
|
export interface Balance {
|
|
10
2
|
coinObjectCount: number;
|
|
11
3
|
coinType: string;
|
|
@@ -15,51 +7,27 @@ export interface Balance {
|
|
|
15
7
|
totalBalance: string;
|
|
16
8
|
}
|
|
17
9
|
export interface BalanceChange {
|
|
18
|
-
/**
|
|
19
|
-
* The amount indicate the balance value changes, negative amount means spending coin value and
|
|
20
|
-
* positive means receiving coin value.
|
|
21
|
-
*/
|
|
22
10
|
amount: string;
|
|
23
11
|
coinType: string;
|
|
24
|
-
/** Owner of the balance change */
|
|
25
12
|
owner: ObjectOwner;
|
|
26
13
|
}
|
|
27
14
|
export interface Checkpoint {
|
|
28
|
-
/** Commitments to checkpoint state */
|
|
29
15
|
checkpointCommitments: CheckpointCommitment[];
|
|
30
|
-
/** Checkpoint digest */
|
|
31
16
|
digest: string;
|
|
32
|
-
/** Present only on the final checkpoint of the epoch. */
|
|
33
17
|
endOfEpochData?: EndOfEpochData | null;
|
|
34
|
-
/** Checkpoint's epoch ID */
|
|
35
18
|
epoch: string;
|
|
36
|
-
/**
|
|
37
|
-
* The running total gas costs of all transactions included in the current epoch so far until this
|
|
38
|
-
* checkpoint.
|
|
39
|
-
*/
|
|
40
19
|
epochRollingGasCostSummary: GasCostSummary;
|
|
41
|
-
/** Total number of transactions committed since genesis, including those in this checkpoint. */
|
|
42
20
|
networkTotalTransactions: string;
|
|
43
|
-
/** Digest of the previous checkpoint */
|
|
44
21
|
previousDigest?: string | null;
|
|
45
|
-
/** Checkpoint sequence number */
|
|
46
22
|
sequenceNumber: string;
|
|
47
|
-
/**
|
|
48
|
-
* Timestamp of the checkpoint - number of milliseconds from the Unix epoch Checkpoint timestamps are
|
|
49
|
-
* monotonic, but not strongly monotonic - subsequent checkpoints can have same timestamp if they
|
|
50
|
-
* originate from the same underlining consensus commit
|
|
51
|
-
*/
|
|
52
23
|
timestampMs: string;
|
|
53
|
-
/** Transaction digests */
|
|
54
24
|
transactions: string[];
|
|
55
|
-
/** Validator Signature */
|
|
56
25
|
validatorSignature: string;
|
|
57
26
|
}
|
|
58
27
|
export type CheckpointCommitment = {
|
|
59
28
|
ECMHLiveObjectSetDigest: ECMHLiveObjectSetDigest;
|
|
60
29
|
};
|
|
61
30
|
export type CheckpointId = string | string;
|
|
62
|
-
/** A claim consists of value and index_mod_4. */
|
|
63
31
|
export interface Claim {
|
|
64
32
|
indexMod4: number;
|
|
65
33
|
value: string;
|
|
@@ -72,12 +40,10 @@ export interface CoinStruct {
|
|
|
72
40
|
previousTransaction: string;
|
|
73
41
|
version: string;
|
|
74
42
|
}
|
|
75
|
-
/** RPC representation of the [Committee] type. */
|
|
76
43
|
export interface CommitteeInfo {
|
|
77
44
|
epoch: string;
|
|
78
45
|
validators: [string, string][];
|
|
79
46
|
}
|
|
80
|
-
/** Unlike [enum Signature], [enum CompressedSignature] does not contain public key. */
|
|
81
47
|
export type CompressedSignature = {
|
|
82
48
|
Ed25519: string;
|
|
83
49
|
} | {
|
|
@@ -89,7 +55,6 @@ export type CompressedSignature = {
|
|
|
89
55
|
} | {
|
|
90
56
|
Passkey: string;
|
|
91
57
|
};
|
|
92
|
-
/** Uses an enum to allow for future expansion of the ConsensusDeterminedVersionAssignments. */
|
|
93
58
|
export type ConsensusDeterminedVersionAssignments = {
|
|
94
59
|
CancelledTransactions: [string, [string, string][]][];
|
|
95
60
|
} | {
|
|
@@ -108,41 +73,22 @@ export type SuiParsedData = {
|
|
|
108
73
|
};
|
|
109
74
|
export interface DelegatedStake {
|
|
110
75
|
stakes: StakeObject[];
|
|
111
|
-
/** Staking pool object id. */
|
|
112
76
|
stakingPool: string;
|
|
113
|
-
/** Validator's Address. */
|
|
114
77
|
validatorAddress: string;
|
|
115
78
|
}
|
|
116
|
-
/** Additional rguments supplied to dev inspect beyond what is allowed in today's API. */
|
|
117
79
|
export interface DevInspectArgs {
|
|
118
|
-
/** The gas budget for the transaction. */
|
|
119
80
|
gasBudget?: string | null;
|
|
120
|
-
/** The gas objects used to pay for the transaction. */
|
|
121
81
|
gasObjects?: [string, string, string][] | null;
|
|
122
|
-
/** The sponsor of the gas for the transaction, might be different from the sender. */
|
|
123
82
|
gasSponsor?: string | null;
|
|
124
|
-
/** Whether to return the raw transaction data and effects. */
|
|
125
83
|
showRawTxnDataAndEffects?: boolean | null;
|
|
126
|
-
/** Whether to skip transaction checks for the transaction. */
|
|
127
84
|
skipChecks?: boolean | null;
|
|
128
85
|
}
|
|
129
|
-
/** The response from processing a dev inspect transaction */
|
|
130
86
|
export interface DevInspectResults {
|
|
131
|
-
/**
|
|
132
|
-
* Summary of effects that likely would be generated if the transaction is actually run. Note however,
|
|
133
|
-
* that not all dev-inspect transactions are actually usable as transactions so it might not be
|
|
134
|
-
* possible actually generate these effects from a normal transaction.
|
|
135
|
-
*/
|
|
136
87
|
effects: TransactionEffects;
|
|
137
|
-
/** Execution error from executing the transactions */
|
|
138
88
|
error?: string | null;
|
|
139
|
-
/** Events that likely would be generated if the transaction is actually run. */
|
|
140
89
|
events: SuiEvent[];
|
|
141
|
-
/** The raw effects of the transaction that was dev inspected. */
|
|
142
90
|
rawEffects?: number[];
|
|
143
|
-
/** The raw transaction data that was dev inspected. */
|
|
144
91
|
rawTxnData?: number[];
|
|
145
|
-
/** Execution results (including return values) from executing the transactions */
|
|
146
92
|
results?: SuiExecutionResult[] | null;
|
|
147
93
|
}
|
|
148
94
|
export interface DisplayFieldsResponse {
|
|
@@ -184,117 +130,61 @@ export interface DynamicFieldName {
|
|
|
184
130
|
value: unknown;
|
|
185
131
|
}
|
|
186
132
|
export type DynamicFieldType = "DynamicField" | "DynamicObject";
|
|
187
|
-
/** The Sha256 digest of an EllipticCurveMultisetHash committing to the live object set. */
|
|
188
133
|
export interface ECMHLiveObjectSetDigest {
|
|
189
134
|
digest: number[];
|
|
190
135
|
}
|
|
191
136
|
export interface EndOfEpochData {
|
|
192
|
-
/** Commitments to epoch specific state (e.g. live object set) */
|
|
193
137
|
epochCommitments: CheckpointCommitment[];
|
|
194
|
-
/**
|
|
195
|
-
* next_epoch_committee is `Some` if and only if the current checkpoint is the last checkpoint of an
|
|
196
|
-
* epoch. Therefore next_epoch_committee can be used to pick the last checkpoint of an epoch, which is
|
|
197
|
-
* often useful to get epoch level summary stats like total gas cost of an epoch, or the total number
|
|
198
|
-
* of transactions from genesis to the end of an epoch. The committee is stored as a vector of
|
|
199
|
-
* validator pub key and stake pairs. The vector should be sorted based on the Committee data
|
|
200
|
-
* structure.
|
|
201
|
-
*/
|
|
202
138
|
nextEpochCommittee: [string, string][];
|
|
203
|
-
/**
|
|
204
|
-
* The protocol version that is in effect during the epoch that starts immediately after this
|
|
205
|
-
* checkpoint.
|
|
206
|
-
*/
|
|
207
139
|
nextEpochProtocolVersion: string;
|
|
208
140
|
}
|
|
209
141
|
export type SuiEvent = {
|
|
210
|
-
/**
|
|
211
|
-
* Sequential event ID, ie (transaction seq number, event seq number). 1) Serves as a unique event ID
|
|
212
|
-
* for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A
|
|
213
|
-
* higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.
|
|
214
|
-
*/
|
|
215
142
|
id: EventId;
|
|
216
|
-
/** Move package where this event was emitted. */
|
|
217
143
|
packageId: string;
|
|
218
|
-
/** Parsed json value of the event */
|
|
219
144
|
parsedJson: unknown;
|
|
220
|
-
/** Sender's Sui address. */
|
|
221
145
|
sender: string;
|
|
222
|
-
/** UTC timestamp in milliseconds since epoch (1/1/1970) */
|
|
223
146
|
timestampMs?: string | null;
|
|
224
|
-
/** Move module where this event was emitted. */
|
|
225
147
|
transactionModule: string;
|
|
226
|
-
/** Move event type. */
|
|
227
148
|
type: string;
|
|
228
149
|
bcs: string;
|
|
229
150
|
bcsEncoding: "base64";
|
|
230
151
|
} | {
|
|
231
|
-
/**
|
|
232
|
-
* Sequential event ID, ie (transaction seq number, event seq number). 1) Serves as a unique event ID
|
|
233
|
-
* for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A
|
|
234
|
-
* higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.
|
|
235
|
-
*/
|
|
236
152
|
id: EventId;
|
|
237
|
-
/** Move package where this event was emitted. */
|
|
238
153
|
packageId: string;
|
|
239
|
-
/** Parsed json value of the event */
|
|
240
154
|
parsedJson: unknown;
|
|
241
|
-
/** Sender's Sui address. */
|
|
242
155
|
sender: string;
|
|
243
|
-
/** UTC timestamp in milliseconds since epoch (1/1/1970) */
|
|
244
156
|
timestampMs?: string | null;
|
|
245
|
-
/** Move module where this event was emitted. */
|
|
246
157
|
transactionModule: string;
|
|
247
|
-
/** Move event type. */
|
|
248
158
|
type: string;
|
|
249
159
|
bcs: string;
|
|
250
160
|
bcsEncoding: "base58";
|
|
251
161
|
};
|
|
252
|
-
export type SuiEventFilter =
|
|
253
|
-
/** Return all events. */
|
|
254
|
-
{
|
|
162
|
+
export type SuiEventFilter = {
|
|
255
163
|
All: [];
|
|
256
|
-
}
|
|
164
|
+
} | {
|
|
257
165
|
Any: SuiEventFilter[];
|
|
258
|
-
}
|
|
166
|
+
} | {
|
|
259
167
|
Sender: string;
|
|
260
|
-
}
|
|
168
|
+
} | {
|
|
261
169
|
Transaction: string;
|
|
262
|
-
}
|
|
263
|
-
* Return events emitted in a specified Move module. If the event is defined in Module A but emitted in
|
|
264
|
-
* a tx with Module B, query `MoveModule` by module B returns the event. Query `MoveEventModule` by
|
|
265
|
-
* module A returns the event too.
|
|
266
|
-
*/ | {
|
|
170
|
+
} | {
|
|
267
171
|
MoveModule: {
|
|
268
|
-
/** the module name */
|
|
269
172
|
module: string;
|
|
270
|
-
/** the Move package ID */
|
|
271
173
|
package: string;
|
|
272
174
|
};
|
|
273
|
-
}
|
|
274
|
-
* Return events with the given Move event struct name (struct tag). For example, if the event is
|
|
275
|
-
* defined in `0xabcd::MyModule`, and named `Foo`, then the struct tag is `0xabcd::MyModule::Foo`.
|
|
276
|
-
*/ | {
|
|
175
|
+
} | {
|
|
277
176
|
MoveEventType: string;
|
|
278
|
-
}
|
|
279
|
-
* Return events with the given Move module name where the event struct is defined. If the event is
|
|
280
|
-
* defined in Module A but emitted in a tx with Module B, query `MoveEventModule` by module A returns
|
|
281
|
-
* the event. Query `MoveModule` by module B returns the event too.
|
|
282
|
-
*/ | {
|
|
177
|
+
} | {
|
|
283
178
|
MoveEventModule: {
|
|
284
|
-
/** the module name */
|
|
285
179
|
module: string;
|
|
286
|
-
/** the Move package ID */
|
|
287
180
|
package: string;
|
|
288
181
|
};
|
|
289
|
-
}
|
|
182
|
+
} | {
|
|
290
183
|
TimeRange: {
|
|
291
|
-
/** right endpoint of time interval, milliseconds since epoch, exclusive */
|
|
292
184
|
endTime: string;
|
|
293
|
-
/** left endpoint of time interval, milliseconds since epoch, inclusive */
|
|
294
185
|
startTime: string;
|
|
295
186
|
};
|
|
296
187
|
};
|
|
297
|
-
/** Unique ID of a Sui Event, the ID is a combination of transaction digest and event seq number. */
|
|
298
188
|
export interface EventId {
|
|
299
189
|
eventSeq: string;
|
|
300
190
|
txDigest: string;
|
|
@@ -304,36 +194,10 @@ export type ExecutionStatus = {
|
|
|
304
194
|
status: "success" | "failure";
|
|
305
195
|
error?: string;
|
|
306
196
|
};
|
|
307
|
-
/**
|
|
308
|
-
* Summary of the charges in a transaction. Storage is charged independently of computation. There are
|
|
309
|
-
* 3 parts to the storage charges: `storage_cost`: it is the charge of storage at the time the
|
|
310
|
-
* transaction is executed. The cost of storage is the number of bytes of the objects being mutated
|
|
311
|
-
* multiplied by a variable storage cost per byte `storage_rebate`: this is the amount a user gets back
|
|
312
|
-
* when manipulating an object. The `storage_rebate` is the `storage_cost` for an object minus fees.
|
|
313
|
-
* `non_refundable_storage_fee`: not all the value of the object storage cost is given back to user and
|
|
314
|
-
* there is a small fraction that is kept by the system. This value tracks that charge.
|
|
315
|
-
*
|
|
316
|
-
* When looking at a gas cost summary the amount charged to the user is
|
|
317
|
-
* `computation_cost + storage_cost - storage_rebate` and that is the amount that is deducted from the
|
|
318
|
-
* gas coins. `non_refundable_storage_fee` is collected from the objects being mutated/deleted and it
|
|
319
|
-
* is tracked by the system in storage funds.
|
|
320
|
-
*
|
|
321
|
-
* Objects deleted, including the older versions of objects mutated, have the storage field on the
|
|
322
|
-
* objects added up to a pool of "potential rebate". This rebate then is reduced by the "nonrefundable
|
|
323
|
-
* rate" such that:
|
|
324
|
-
* `potential_rebate(storage cost of deleted/mutated objects) = storage_rebate + non_refundable_storage_fee`
|
|
325
|
-
*/
|
|
326
197
|
export interface GasCostSummary {
|
|
327
|
-
/** Cost of computation/execution */
|
|
328
198
|
computationCost: string;
|
|
329
|
-
/** The fee for the rebate. The portion of the storage rebate kept by the system. */
|
|
330
199
|
nonRefundableStorageFee: string;
|
|
331
|
-
/** Storage cost, it's the sum of all storage cost for all objects created or mutated. */
|
|
332
200
|
storageCost: string;
|
|
333
|
-
/**
|
|
334
|
-
* The amount of storage cost refunded to the user for all objects deleted or mutated in the
|
|
335
|
-
* transaction.
|
|
336
|
-
*/
|
|
337
201
|
storageRebate: string;
|
|
338
202
|
}
|
|
339
203
|
export interface SuiGasData {
|
|
@@ -343,9 +207,7 @@ export interface SuiGasData {
|
|
|
343
207
|
price: string;
|
|
344
208
|
}
|
|
345
209
|
export interface GetPastObjectRequest {
|
|
346
|
-
/** the ID of the queried object */
|
|
347
210
|
objectId: string;
|
|
348
|
-
/** the version of the queried object. */
|
|
349
211
|
version: string;
|
|
350
212
|
}
|
|
351
213
|
export type InputObjectKind = {
|
|
@@ -387,69 +249,31 @@ export interface MoveVariant {
|
|
|
387
249
|
type: string;
|
|
388
250
|
variant: string;
|
|
389
251
|
}
|
|
390
|
-
/** The struct that contains signatures and public keys necessary for authenticating a MultiSig. */
|
|
391
252
|
export interface MultiSig {
|
|
392
|
-
/** A bitmap that indicates the position of which public key the signature should be authenticated with. */
|
|
393
253
|
bitmap: number;
|
|
394
|
-
/**
|
|
395
|
-
* The public key encoded with each public key with its signature scheme used along with the
|
|
396
|
-
* corresponding weight.
|
|
397
|
-
*/
|
|
398
254
|
multisig_pk: MultiSigPublicKey;
|
|
399
|
-
/** The plain signature encoded with signature scheme. */
|
|
400
255
|
sigs: CompressedSignature[];
|
|
401
256
|
}
|
|
402
|
-
/**
|
|
403
|
-
* Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys
|
|
404
|
-
* necessary for authenticating a MultiSigLegacy.
|
|
405
|
-
*/
|
|
406
257
|
export interface MultiSigLegacy {
|
|
407
|
-
/** A bitmap that indicates the position of which public key the signature should be authenticated with. */
|
|
408
258
|
bitmap: string;
|
|
409
|
-
/**
|
|
410
|
-
* The public key encoded with each public key with its signature scheme used along with the
|
|
411
|
-
* corresponding weight.
|
|
412
|
-
*/
|
|
413
259
|
multisig_pk: MultiSigPublicKeyLegacy;
|
|
414
|
-
/** The plain signature encoded with signature scheme. */
|
|
415
260
|
sigs: CompressedSignature[];
|
|
416
261
|
}
|
|
417
|
-
/** The struct that contains the public key used for authenticating a MultiSig. */
|
|
418
262
|
export interface MultiSigPublicKey {
|
|
419
|
-
/** A list of public key and its corresponding weight. */
|
|
420
263
|
pk_map: [PublicKey, number][];
|
|
421
|
-
/**
|
|
422
|
-
* If the total weight of the public keys corresponding to verified signatures is larger than
|
|
423
|
-
* threshold, the MultiSig is verified.
|
|
424
|
-
*/
|
|
425
264
|
threshold: number;
|
|
426
265
|
}
|
|
427
|
-
/**
|
|
428
|
-
* Deprecated, use [struct MultiSigPublicKey] instead. The struct that contains the public key used for
|
|
429
|
-
* authenticating a MultiSig.
|
|
430
|
-
*/
|
|
431
266
|
export interface MultiSigPublicKeyLegacy {
|
|
432
|
-
/** A list of public key and its corresponding weight. */
|
|
433
267
|
pk_map: [PublicKey, number][];
|
|
434
|
-
/**
|
|
435
|
-
* If the total weight of the public keys corresponding to verified signatures is larger than
|
|
436
|
-
* threshold, the MultiSig is verified.
|
|
437
|
-
*/
|
|
438
268
|
threshold: number;
|
|
439
269
|
}
|
|
440
|
-
|
|
441
|
-
* ObjectChange are derived from the object mutations in the TransactionEffect to provide richer object
|
|
442
|
-
* information.
|
|
443
|
-
*/
|
|
444
|
-
export type SuiObjectChange =
|
|
445
|
-
/** Module published */
|
|
446
|
-
{
|
|
270
|
+
export type SuiObjectChange = {
|
|
447
271
|
digest: string;
|
|
448
272
|
modules: string[];
|
|
449
273
|
packageId: string;
|
|
450
274
|
type: "published";
|
|
451
275
|
version: string;
|
|
452
|
-
}
|
|
276
|
+
} | {
|
|
453
277
|
digest: string;
|
|
454
278
|
objectId: string;
|
|
455
279
|
objectType: string;
|
|
@@ -457,7 +281,7 @@ export type SuiObjectChange =
|
|
|
457
281
|
sender: string;
|
|
458
282
|
type: "transferred";
|
|
459
283
|
version: string;
|
|
460
|
-
}
|
|
284
|
+
} | {
|
|
461
285
|
digest: string;
|
|
462
286
|
objectId: string;
|
|
463
287
|
objectType: string;
|
|
@@ -466,19 +290,19 @@ export type SuiObjectChange =
|
|
|
466
290
|
sender: string;
|
|
467
291
|
type: "mutated";
|
|
468
292
|
version: string;
|
|
469
|
-
}
|
|
293
|
+
} | {
|
|
470
294
|
objectId: string;
|
|
471
295
|
objectType: string;
|
|
472
296
|
sender: string;
|
|
473
297
|
type: "deleted";
|
|
474
298
|
version: string;
|
|
475
|
-
}
|
|
299
|
+
} | {
|
|
476
300
|
objectId: string;
|
|
477
301
|
objectType: string;
|
|
478
302
|
sender: string;
|
|
479
303
|
type: "wrapped";
|
|
480
304
|
version: string;
|
|
481
|
-
}
|
|
305
|
+
} | {
|
|
482
306
|
digest: string;
|
|
483
307
|
objectId: string;
|
|
484
308
|
objectType: string;
|
|
@@ -488,76 +312,39 @@ export type SuiObjectChange =
|
|
|
488
312
|
version: string;
|
|
489
313
|
};
|
|
490
314
|
export interface SuiObjectData {
|
|
491
|
-
/**
|
|
492
|
-
* Move object content or package content in BCS, default to be None unless
|
|
493
|
-
* SuiObjectDataOptions.showBcs is set to true
|
|
494
|
-
*/
|
|
495
315
|
bcs?: RawData | null;
|
|
496
|
-
/**
|
|
497
|
-
* Move object content or package content, default to be None unless SuiObjectDataOptions.showContent
|
|
498
|
-
* is set to true
|
|
499
|
-
*/
|
|
500
316
|
content?: SuiParsedData | null;
|
|
501
|
-
/** Base64 string representing the object digest */
|
|
502
317
|
digest: string;
|
|
503
|
-
/**
|
|
504
|
-
* The Display metadata for frontend UI rendering, default to be None unless
|
|
505
|
-
* SuiObjectDataOptions.showContent is set to true This can also be None if the struct type does not
|
|
506
|
-
* have Display defined See more details in <https://forums.sui.io/t/nft-object-display-proposal/4872>
|
|
507
|
-
*/
|
|
508
318
|
display?: DisplayFieldsResponse | null;
|
|
509
319
|
objectId: string;
|
|
510
|
-
/** The owner of this object. Default to be None unless SuiObjectDataOptions.showOwner is set to true */
|
|
511
320
|
owner?: ObjectOwner | null;
|
|
512
|
-
/**
|
|
513
|
-
* The digest of the transaction that created or last mutated this object. Default to be None unless
|
|
514
|
-
* SuiObjectDataOptions.showPreviousTransaction is set to true
|
|
515
|
-
*/
|
|
516
321
|
previousTransaction?: string | null;
|
|
517
|
-
/**
|
|
518
|
-
* The amount of SUI we would rebate if this object gets deleted. This number is re-calculated each
|
|
519
|
-
* time the object is mutated based on the present storage gas price.
|
|
520
|
-
*/
|
|
521
322
|
storageRebate?: string | null;
|
|
522
|
-
/** The type of the object. Default to be None unless SuiObjectDataOptions.showType is set to true */
|
|
523
323
|
type?: string | null;
|
|
524
|
-
/** Object version. */
|
|
525
324
|
version: string;
|
|
526
325
|
}
|
|
527
326
|
export interface SuiObjectDataOptions {
|
|
528
|
-
/** Whether to show the content in BCS format. Default to be False */
|
|
529
327
|
showBcs?: boolean;
|
|
530
|
-
/**
|
|
531
|
-
* Whether to show the content(i.e., package content or Move struct content) of the object. Default to
|
|
532
|
-
* be False
|
|
533
|
-
*/
|
|
534
328
|
showContent?: boolean;
|
|
535
|
-
/** Whether to show the Display metadata of the object for frontend rendering. Default to be False */
|
|
536
329
|
showDisplay?: boolean;
|
|
537
|
-
/** Whether to show the owner of the object. Default to be False */
|
|
538
330
|
showOwner?: boolean;
|
|
539
|
-
/** Whether to show the previous transaction digest of the object. Default to be False */
|
|
540
331
|
showPreviousTransaction?: boolean;
|
|
541
|
-
/** Whether to show the storage rebate of the object. Default to be False */
|
|
542
332
|
showStorageRebate?: boolean;
|
|
543
|
-
/** Whether to show the type of the object. Default to be False */
|
|
544
333
|
showType?: boolean;
|
|
545
334
|
}
|
|
546
|
-
export type ObjectRead =
|
|
547
|
-
/** The object exists and is found with this version */
|
|
548
|
-
{
|
|
335
|
+
export type ObjectRead = {
|
|
549
336
|
details: SuiObjectData;
|
|
550
337
|
status: "VersionFound";
|
|
551
|
-
}
|
|
338
|
+
} | {
|
|
552
339
|
details: string;
|
|
553
340
|
status: "ObjectNotExists";
|
|
554
|
-
}
|
|
341
|
+
} | {
|
|
555
342
|
details: SuiObjectRef;
|
|
556
343
|
status: "ObjectDeleted";
|
|
557
|
-
}
|
|
344
|
+
} | {
|
|
558
345
|
details: [string, string];
|
|
559
346
|
status: "VersionNotFound";
|
|
560
|
-
}
|
|
347
|
+
} | {
|
|
561
348
|
details: {
|
|
562
349
|
asked_version: string;
|
|
563
350
|
latest_version: string;
|
|
@@ -566,11 +353,8 @@ export type ObjectRead =
|
|
|
566
353
|
status: "VersionTooHigh";
|
|
567
354
|
};
|
|
568
355
|
export interface SuiObjectRef {
|
|
569
|
-
/** Base64 string representing the object digest */
|
|
570
356
|
digest: string;
|
|
571
|
-
/** Hex code as string representing the object id */
|
|
572
357
|
objectId: string;
|
|
573
|
-
/** Object version. */
|
|
574
358
|
version: string;
|
|
575
359
|
}
|
|
576
360
|
export type ObjectResponseError = {
|
|
@@ -581,10 +365,8 @@ export type ObjectResponseError = {
|
|
|
581
365
|
parent_object_id: string;
|
|
582
366
|
} | {
|
|
583
367
|
code: "deleted";
|
|
584
|
-
/** Base64 string representing the object digest */
|
|
585
368
|
digest: string;
|
|
586
369
|
object_id: string;
|
|
587
|
-
/** Object version. */
|
|
588
370
|
version: string;
|
|
589
371
|
} | {
|
|
590
372
|
code: "unknown";
|
|
@@ -593,9 +375,7 @@ export type ObjectResponseError = {
|
|
|
593
375
|
error: string;
|
|
594
376
|
};
|
|
595
377
|
export interface SuiObjectResponseQuery {
|
|
596
|
-
/** If None, no filter will be applied */
|
|
597
378
|
filter?: SuiObjectDataFilter | null;
|
|
598
|
-
/** config which fields to include in the response, by default only digest is included */
|
|
599
379
|
options?: SuiObjectDataOptions | null;
|
|
600
380
|
}
|
|
601
381
|
export type ObjectValueKind = "ByImmutableReference" | "ByMutableReference" | "ByValue";
|
|
@@ -603,116 +383,57 @@ export interface OwnedObjectRef {
|
|
|
603
383
|
owner: ObjectOwner;
|
|
604
384
|
reference: SuiObjectRef;
|
|
605
385
|
}
|
|
606
|
-
export type ObjectOwner =
|
|
607
|
-
/** Object is exclusively owned by a single address, and is mutable. */
|
|
608
|
-
{
|
|
386
|
+
export type ObjectOwner = {
|
|
609
387
|
AddressOwner: string;
|
|
610
|
-
}
|
|
611
|
-
* Object is exclusively owned by a single object, and is mutable. The object ID is converted to
|
|
612
|
-
* SuiAddress as SuiAddress is universal.
|
|
613
|
-
*/ | {
|
|
388
|
+
} | {
|
|
614
389
|
ObjectOwner: string;
|
|
615
|
-
}
|
|
390
|
+
} | {
|
|
616
391
|
Shared: {
|
|
617
|
-
/** The version at which the object became shared */
|
|
618
392
|
initial_shared_version: string;
|
|
619
393
|
};
|
|
620
|
-
} | "Immutable"
|
|
394
|
+
} | "Immutable" | {
|
|
621
395
|
ConsensusAddressOwner: {
|
|
622
396
|
owner: string;
|
|
623
|
-
/**
|
|
624
|
-
* The version at which the object most recently became a consensus object. This serves the same
|
|
625
|
-
* function as `initial_shared_version`, except it may change if the object's Owner type changes.
|
|
626
|
-
*/
|
|
627
397
|
start_version: string;
|
|
628
398
|
};
|
|
629
399
|
};
|
|
630
|
-
/**
|
|
631
|
-
* `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
|
|
632
|
-
* next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
|
|
633
|
-
* item.
|
|
634
|
-
*/
|
|
635
400
|
export interface PaginatedCheckpoints {
|
|
636
401
|
data: Checkpoint[];
|
|
637
402
|
hasNextPage: boolean;
|
|
638
403
|
nextCursor?: string | null;
|
|
639
404
|
}
|
|
640
|
-
/**
|
|
641
|
-
* `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
|
|
642
|
-
* next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
|
|
643
|
-
* item.
|
|
644
|
-
*/
|
|
645
405
|
export interface PaginatedCoins {
|
|
646
406
|
data: CoinStruct[];
|
|
647
407
|
hasNextPage: boolean;
|
|
648
408
|
nextCursor?: string | null;
|
|
649
409
|
}
|
|
650
|
-
/**
|
|
651
|
-
* `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
|
|
652
|
-
* next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
|
|
653
|
-
* item.
|
|
654
|
-
*/
|
|
655
410
|
export interface PaginatedDynamicFieldInfos {
|
|
656
411
|
data: DynamicFieldInfo[];
|
|
657
412
|
hasNextPage: boolean;
|
|
658
413
|
nextCursor?: string | null;
|
|
659
414
|
}
|
|
660
|
-
/**
|
|
661
|
-
* `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
|
|
662
|
-
* next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
|
|
663
|
-
* item.
|
|
664
|
-
*/
|
|
665
415
|
export interface PaginatedEvents {
|
|
666
416
|
data: SuiEvent[];
|
|
667
417
|
hasNextPage: boolean;
|
|
668
418
|
nextCursor?: EventId | null;
|
|
669
419
|
}
|
|
670
|
-
/**
|
|
671
|
-
* `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
|
|
672
|
-
* next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
|
|
673
|
-
* item.
|
|
674
|
-
*/
|
|
675
420
|
export interface PaginatedStrings {
|
|
676
421
|
data: string[];
|
|
677
422
|
hasNextPage: boolean;
|
|
678
423
|
nextCursor?: string | null;
|
|
679
424
|
}
|
|
680
|
-
/**
|
|
681
|
-
* `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
|
|
682
|
-
* next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
|
|
683
|
-
* item.
|
|
684
|
-
*/
|
|
685
425
|
export interface PaginatedObjectsResponse {
|
|
686
426
|
data: SuiObjectResponse[];
|
|
687
427
|
hasNextPage: boolean;
|
|
688
428
|
nextCursor?: string | null;
|
|
689
429
|
}
|
|
690
|
-
/**
|
|
691
|
-
* `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
|
|
692
|
-
* next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
|
|
693
|
-
* item.
|
|
694
|
-
*/
|
|
695
430
|
export interface PaginatedTransactionResponse {
|
|
696
431
|
data: SuiTransactionBlockResponse[];
|
|
697
432
|
hasNextPage: boolean;
|
|
698
433
|
nextCursor?: string | null;
|
|
699
434
|
}
|
|
700
|
-
/**
|
|
701
|
-
* An passkey authenticator with parsed fields. See field defition below. Can be initialized from
|
|
702
|
-
* [struct RawPasskeyAuthenticator].
|
|
703
|
-
*/
|
|
704
435
|
export interface PasskeyAuthenticator {
|
|
705
|
-
/**
|
|
706
|
-
* `authenticatorData` is a bytearray that encodes
|
|
707
|
-
* [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) structure returned
|
|
708
|
-
* by the authenticator attestation response as is.
|
|
709
|
-
*/
|
|
710
436
|
authenticator_data: number[];
|
|
711
|
-
/**
|
|
712
|
-
* `clientDataJSON` contains a JSON-compatible UTF-8 encoded string of the client data which is passed
|
|
713
|
-
* to the authenticator by the client during the authentication request (see
|
|
714
|
-
* [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata))
|
|
715
|
-
*/
|
|
716
437
|
client_data_json: string;
|
|
717
438
|
}
|
|
718
439
|
export interface ProtocolConfig {
|
|
@@ -782,14 +503,12 @@ export type StakeObject = {
|
|
|
782
503
|
principal: string;
|
|
783
504
|
stakeActiveEpoch: string;
|
|
784
505
|
stakeRequestEpoch: string;
|
|
785
|
-
/** ID of the StakedSui receipt object. */
|
|
786
506
|
stakedSuiId: string;
|
|
787
507
|
status: "Pending";
|
|
788
508
|
} | {
|
|
789
509
|
principal: string;
|
|
790
510
|
stakeActiveEpoch: string;
|
|
791
511
|
stakeRequestEpoch: string;
|
|
792
|
-
/** ID of the StakedSui receipt object. */
|
|
793
512
|
stakedSuiId: string;
|
|
794
513
|
estimatedReward: string;
|
|
795
514
|
status: "Active";
|
|
@@ -797,7 +516,6 @@ export type StakeObject = {
|
|
|
797
516
|
principal: string;
|
|
798
517
|
stakeActiveEpoch: string;
|
|
799
518
|
stakeRequestEpoch: string;
|
|
800
|
-
/** ID of the StakedSui receipt object. */
|
|
801
519
|
stakedSuiId: string;
|
|
802
520
|
status: "Unstaked";
|
|
803
521
|
};
|
|
@@ -806,15 +524,11 @@ export interface SuiActiveJwk {
|
|
|
806
524
|
jwk: SuiJWK;
|
|
807
525
|
jwk_id: SuiJwkId;
|
|
808
526
|
}
|
|
809
|
-
|
|
810
|
-
export type SuiArgument = "GasCoin" /** One of the input objects or primitive values (from `ProgrammableTransactionBlock` inputs) */ | {
|
|
527
|
+
export type SuiArgument = "GasCoin" | {
|
|
811
528
|
Input: number;
|
|
812
|
-
}
|
|
529
|
+
} | {
|
|
813
530
|
Result: number;
|
|
814
|
-
}
|
|
815
|
-
* Like a `Result` but it accesses a nested result. Currently, the only usage of this is to access a
|
|
816
|
-
* value from a Move call with multiple return values.
|
|
817
|
-
*/ | {
|
|
531
|
+
} | {
|
|
818
532
|
NestedResult: [number, number];
|
|
819
533
|
};
|
|
820
534
|
export interface SuiAuthenticatorStateExpire {
|
|
@@ -851,17 +565,11 @@ export interface SuiChangeEpoch {
|
|
|
851
565
|
storage_rebate: string;
|
|
852
566
|
}
|
|
853
567
|
export interface CoinMetadata {
|
|
854
|
-
/** Number of decimal places the coin uses. */
|
|
855
568
|
decimals: number;
|
|
856
|
-
/** Description of the token */
|
|
857
569
|
description: string;
|
|
858
|
-
/** URL for the token logo */
|
|
859
570
|
iconUrl?: string | null;
|
|
860
|
-
/** Object id for the CoinMetadata object */
|
|
861
571
|
id?: string | null;
|
|
862
|
-
/** Name for the token */
|
|
863
572
|
name: string;
|
|
864
|
-
/** Symbol for the token */
|
|
865
573
|
symbol: string;
|
|
866
574
|
}
|
|
867
575
|
export type SuiEndOfEpochTransactionKind = "AuthenticatorStateCreate" | "RandomnessStateCreate" | "CoinDenyListStateCreate" | "StoreExecutionTimeObservations" | "AccumulatorRootCreate" | {
|
|
@@ -874,9 +582,7 @@ export type SuiEndOfEpochTransactionKind = "AuthenticatorStateCreate" | "Randomn
|
|
|
874
582
|
BridgeCommitteeUpdate: string;
|
|
875
583
|
};
|
|
876
584
|
export interface SuiExecutionResult {
|
|
877
|
-
/** The value of any arguments that were mutably borrowed. Non-mut borrowed values are not included */
|
|
878
585
|
mutableReferenceOutputs?: [SuiArgument, number[], string][];
|
|
879
|
-
/** The return values from the transaction */
|
|
880
586
|
returnValues?: [number[], string][];
|
|
881
587
|
}
|
|
882
588
|
export interface SuiJWK {
|
|
@@ -969,16 +675,14 @@ export type SuiObjectDataFilter = {
|
|
|
969
675
|
MatchAny: SuiObjectDataFilter[];
|
|
970
676
|
} | {
|
|
971
677
|
MatchNone: SuiObjectDataFilter[];
|
|
972
|
-
}
|
|
678
|
+
} | {
|
|
973
679
|
Package: string;
|
|
974
|
-
}
|
|
680
|
+
} | {
|
|
975
681
|
MoveModule: {
|
|
976
|
-
/** the module name */
|
|
977
682
|
module: string;
|
|
978
|
-
/** the Move package ID */
|
|
979
683
|
package: string;
|
|
980
684
|
};
|
|
981
|
-
}
|
|
685
|
+
} | {
|
|
982
686
|
StructType: string;
|
|
983
687
|
} | {
|
|
984
688
|
AddressOwner: string;
|
|
@@ -995,177 +699,72 @@ export interface SuiObjectResponse {
|
|
|
995
699
|
data?: SuiObjectData | null;
|
|
996
700
|
error?: ObjectResponseError | null;
|
|
997
701
|
}
|
|
998
|
-
/**
|
|
999
|
-
* The transaction for calling a Move function, either an entry function or a public function (which
|
|
1000
|
-
* cannot return references).
|
|
1001
|
-
*/
|
|
1002
702
|
export interface MoveCallSuiTransaction {
|
|
1003
|
-
/** The arguments to the function. */
|
|
1004
703
|
arguments?: SuiArgument[];
|
|
1005
|
-
/** The function to be called. */
|
|
1006
704
|
function: string;
|
|
1007
|
-
/** The specific module in the package containing the function. */
|
|
1008
705
|
module: string;
|
|
1009
|
-
/** The package containing the module and function. */
|
|
1010
706
|
package: string;
|
|
1011
|
-
/** The type arguments to the function. */
|
|
1012
707
|
type_arguments?: string[];
|
|
1013
708
|
}
|
|
1014
|
-
/**
|
|
1015
|
-
* This is the JSON-RPC type for the SUI system state object. It flattens all fields to make them
|
|
1016
|
-
* top-level fields such that it as minimum dependencies to the internal data structures of the SUI
|
|
1017
|
-
* system state type.
|
|
1018
|
-
*/
|
|
1019
709
|
export interface SuiSystemStateSummary {
|
|
1020
|
-
/** The list of active validators in the current epoch. */
|
|
1021
710
|
activeValidators: SuiValidatorSummary[];
|
|
1022
|
-
/** Map storing the number of epochs for which each validator has been below the low stake threshold. */
|
|
1023
711
|
atRiskValidators: [string, string][];
|
|
1024
|
-
/** The current epoch ID, starting from 0. */
|
|
1025
712
|
epoch: string;
|
|
1026
|
-
/** The duration of an epoch, in milliseconds. */
|
|
1027
713
|
epochDurationMs: string;
|
|
1028
|
-
/** Unix timestamp of the current epoch start */
|
|
1029
714
|
epochStartTimestampMs: string;
|
|
1030
|
-
/**
|
|
1031
|
-
* ID of the object that maps from a staking pool ID to the inactive validator that has that pool as
|
|
1032
|
-
* its staking pool.
|
|
1033
|
-
*/
|
|
1034
715
|
inactivePoolsId: string;
|
|
1035
|
-
/** Number of inactive staking pools. */
|
|
1036
716
|
inactivePoolsSize: string;
|
|
1037
|
-
/**
|
|
1038
|
-
* Maximum number of active validators at any moment. We do not allow the number of validators in any
|
|
1039
|
-
* epoch to go above this.
|
|
1040
|
-
*/
|
|
1041
717
|
maxValidatorCount: string;
|
|
1042
|
-
/** Lower-bound on the amount of stake required to become a validator. */
|
|
1043
718
|
minValidatorJoiningStake: string;
|
|
1044
|
-
/** ID of the object that contains the list of new validators that will join at the end of the epoch. */
|
|
1045
719
|
pendingActiveValidatorsId: string;
|
|
1046
|
-
/** Number of new validators that will join at the end of the epoch. */
|
|
1047
720
|
pendingActiveValidatorsSize: string;
|
|
1048
|
-
/** Removal requests from the validators. Each element is an index pointing to `active_validators`. */
|
|
1049
721
|
pendingRemovals: string[];
|
|
1050
|
-
/** The current protocol version, starting from 1. */
|
|
1051
722
|
protocolVersion: string;
|
|
1052
|
-
/** The reference gas price for the current epoch. */
|
|
1053
723
|
referenceGasPrice: string;
|
|
1054
|
-
/**
|
|
1055
|
-
* Whether the system is running in a downgraded safe mode due to a non-recoverable bug. This is set
|
|
1056
|
-
* whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode. It can
|
|
1057
|
-
* be reset once we are able to successfully execute advance_epoch.
|
|
1058
|
-
*/
|
|
1059
724
|
safeMode: boolean;
|
|
1060
|
-
/** Amount of computation rewards accumulated (and not yet distributed) during safe mode. */
|
|
1061
725
|
safeModeComputationRewards: string;
|
|
1062
|
-
/** Amount of non-refundable storage fee accumulated during safe mode. */
|
|
1063
726
|
safeModeNonRefundableStorageFee: string;
|
|
1064
|
-
/** Amount of storage rebates accumulated (and not yet burned) during safe mode. */
|
|
1065
727
|
safeModeStorageRebates: string;
|
|
1066
|
-
/** Amount of storage rewards accumulated (and not yet distributed) during safe mode. */
|
|
1067
728
|
safeModeStorageRewards: string;
|
|
1068
|
-
/** Balance of SUI set aside for stake subsidies that will be drawn down over time. */
|
|
1069
729
|
stakeSubsidyBalance: string;
|
|
1070
|
-
/** The amount of stake subsidy to be drawn down per epoch. This amount decays and decreases over time. */
|
|
1071
730
|
stakeSubsidyCurrentDistributionAmount: string;
|
|
1072
|
-
/**
|
|
1073
|
-
* The rate at which the distribution amount decays at the end of each period. Expressed in basis
|
|
1074
|
-
* points.
|
|
1075
|
-
*/
|
|
1076
731
|
stakeSubsidyDecreaseRate: number;
|
|
1077
|
-
/**
|
|
1078
|
-
* This counter may be different from the current epoch number if in some epochs we decide to skip the
|
|
1079
|
-
* subsidy.
|
|
1080
|
-
*/
|
|
1081
732
|
stakeSubsidyDistributionCounter: string;
|
|
1082
|
-
/** Number of distributions to occur before the distribution amount decays. */
|
|
1083
733
|
stakeSubsidyPeriodLength: string;
|
|
1084
|
-
/** The starting epoch in which stake subsidies start being paid out */
|
|
1085
734
|
stakeSubsidyStartEpoch: string;
|
|
1086
|
-
/** ID of the object that maps from staking pool's ID to the sui address of a validator. */
|
|
1087
735
|
stakingPoolMappingsId: string;
|
|
1088
|
-
/** Number of staking pool mappings. */
|
|
1089
736
|
stakingPoolMappingsSize: string;
|
|
1090
|
-
/**
|
|
1091
|
-
* The non-refundable portion of the storage fund coming from storage reinvestment, non-refundable
|
|
1092
|
-
* storage rebates and any leftover staking rewards.
|
|
1093
|
-
*/
|
|
1094
737
|
storageFundNonRefundableBalance: string;
|
|
1095
|
-
/** The storage rebates of all the objects on-chain stored in the storage fund. */
|
|
1096
738
|
storageFundTotalObjectStorageRebates: string;
|
|
1097
|
-
/** The current version of the system state data structure type. */
|
|
1098
739
|
systemStateVersion: string;
|
|
1099
|
-
/** Total amount of stake from all active validators at the beginning of the epoch. */
|
|
1100
740
|
totalStake: string;
|
|
1101
|
-
/**
|
|
1102
|
-
* ID of the object that stores preactive validators, mapping their addresses to their `Validator`
|
|
1103
|
-
* structs.
|
|
1104
|
-
*/
|
|
1105
741
|
validatorCandidatesId: string;
|
|
1106
|
-
/** Number of preactive validators. */
|
|
1107
742
|
validatorCandidatesSize: string;
|
|
1108
|
-
/**
|
|
1109
|
-
* A validator can have stake below `validator_low_stake_threshold` for this many epochs before being
|
|
1110
|
-
* kicked out.
|
|
1111
|
-
*/
|
|
1112
743
|
validatorLowStakeGracePeriod: string;
|
|
1113
|
-
/**
|
|
1114
|
-
* Validators with stake amount below `validator_low_stake_threshold` are considered to have low stake
|
|
1115
|
-
* and will be escorted out of the validator set after being below this threshold for more than
|
|
1116
|
-
* `validator_low_stake_grace_period` number of epochs.
|
|
1117
|
-
*/
|
|
1118
744
|
validatorLowStakeThreshold: string;
|
|
1119
|
-
/** A map storing the records of validator reporting each other. */
|
|
1120
745
|
validatorReportRecords: [string, string[]][];
|
|
1121
|
-
/**
|
|
1122
|
-
* Validators with stake below `validator_very_low_stake_threshold` will be removed immediately at
|
|
1123
|
-
* epoch change, no grace period.
|
|
1124
|
-
*/
|
|
1125
746
|
validatorVeryLowStakeThreshold: string;
|
|
1126
747
|
}
|
|
1127
|
-
|
|
1128
|
-
export type SuiTransaction =
|
|
1129
|
-
/** A call to either an entry or a public Move function */
|
|
1130
|
-
{
|
|
748
|
+
export type SuiTransaction = {
|
|
1131
749
|
MoveCall: MoveCallSuiTransaction;
|
|
1132
|
-
}
|
|
1133
|
-
* `(Vec<forall T:key+store. T>, address)` It sends n-objects to the specified address. These objects
|
|
1134
|
-
* must have store (public transfer) and either the previous owner must be an address or the object
|
|
1135
|
-
* must be newly created.
|
|
1136
|
-
*/ | {
|
|
750
|
+
} | {
|
|
1137
751
|
TransferObjects: [SuiArgument[], SuiArgument];
|
|
1138
|
-
}
|
|
1139
|
-
* `(&mut Coin<T>, Vec<u64>)` -> `Vec<Coin<T>>` It splits off some amounts into a new coins with those
|
|
1140
|
-
* amounts
|
|
1141
|
-
*/ | {
|
|
752
|
+
} | {
|
|
1142
753
|
SplitCoins: [SuiArgument, SuiArgument[]];
|
|
1143
|
-
}
|
|
754
|
+
} | {
|
|
1144
755
|
MergeCoins: [SuiArgument, SuiArgument[]];
|
|
1145
|
-
}
|
|
1146
|
-
* Publishes a Move package. It takes the package bytes and a list of the package's transitive
|
|
1147
|
-
* dependencies to link against on-chain.
|
|
1148
|
-
*/ | {
|
|
756
|
+
} | {
|
|
1149
757
|
Publish: string[];
|
|
1150
|
-
}
|
|
758
|
+
} | {
|
|
1151
759
|
Upgrade: [string[], string, SuiArgument];
|
|
1152
|
-
}
|
|
1153
|
-
* `forall T: Vec<T> -> vector<T>` Given n-values of the same type, it constructs a vector. For non
|
|
1154
|
-
* objects or an empty vector, the type tag must be specified.
|
|
1155
|
-
*/ | {
|
|
760
|
+
} | {
|
|
1156
761
|
MakeMoveVec: [string | null, SuiArgument[]];
|
|
1157
762
|
};
|
|
1158
763
|
export type SuiTransactionBlockBuilderMode = "Commit" | "DevInspect";
|
|
1159
|
-
/**
|
|
1160
|
-
* This is the JSON-RPC type for the SUI validator. It flattens all inner structures to top-level
|
|
1161
|
-
* fields so that they are decoupled from the internal definitions.
|
|
1162
|
-
*/
|
|
1163
764
|
export interface SuiValidatorSummary {
|
|
1164
765
|
commissionRate: string;
|
|
1165
766
|
description: string;
|
|
1166
|
-
/** ID of the exchange rate table object. */
|
|
1167
767
|
exchangeRatesId: string;
|
|
1168
|
-
/** Number of exchange rates in the table. */
|
|
1169
768
|
exchangeRatesSize: string;
|
|
1170
769
|
gasPrice: string;
|
|
1171
770
|
imageUrl: string;
|
|
@@ -1185,27 +784,18 @@ export interface SuiValidatorSummary {
|
|
|
1185
784
|
nextEpochWorkerPubkeyBytes?: string | null;
|
|
1186
785
|
operationCapId: string;
|
|
1187
786
|
p2pAddress: string;
|
|
1188
|
-
/** Pending pool token withdrawn during the current epoch, emptied at epoch boundaries. */
|
|
1189
787
|
pendingPoolTokenWithdraw: string;
|
|
1190
|
-
/** Pending stake amount for this epoch. */
|
|
1191
788
|
pendingStake: string;
|
|
1192
|
-
/** Pending stake withdrawn during the current epoch, emptied at epoch boundaries. */
|
|
1193
789
|
pendingTotalSuiWithdraw: string;
|
|
1194
|
-
/** Total number of pool tokens issued by the pool. */
|
|
1195
790
|
poolTokenBalance: string;
|
|
1196
791
|
primaryAddress: string;
|
|
1197
792
|
projectUrl: string;
|
|
1198
793
|
proofOfPossessionBytes: string;
|
|
1199
794
|
protocolPubkeyBytes: string;
|
|
1200
|
-
/** The epoch stake rewards will be added here at the end of each epoch. */
|
|
1201
795
|
rewardsPool: string;
|
|
1202
|
-
/** The epoch at which this pool became active. */
|
|
1203
796
|
stakingPoolActivationEpoch?: string | null;
|
|
1204
|
-
/** The epoch at which this staking pool ceased to be active. `None` = {pre-active, active}, */
|
|
1205
797
|
stakingPoolDeactivationEpoch?: string | null;
|
|
1206
|
-
/** ID of the staking pool object. */
|
|
1207
798
|
stakingPoolId: string;
|
|
1208
|
-
/** The total number of SUI tokens in this pool. */
|
|
1209
799
|
stakingPoolSuiBalance: string;
|
|
1210
800
|
wowAddress: string;
|
|
1211
801
|
votingPower: string;
|
|
@@ -1220,11 +810,8 @@ export interface SuiTransactionBlock {
|
|
|
1220
810
|
txSignatures: string[];
|
|
1221
811
|
}
|
|
1222
812
|
export interface TransactionBlockBytes {
|
|
1223
|
-
/** the gas objects to be used */
|
|
1224
813
|
gas: SuiObjectRef[];
|
|
1225
|
-
/** objects to be used in this transaction */
|
|
1226
814
|
inputObjects: InputObjectKind[];
|
|
1227
|
-
/** BCS serialized transaction data bytes without its type tag, as base-64 encoded string. */
|
|
1228
815
|
txBytes: string;
|
|
1229
816
|
}
|
|
1230
817
|
export type TransactionBlockData = {
|
|
@@ -1233,98 +820,59 @@ export type TransactionBlockData = {
|
|
|
1233
820
|
sender: string;
|
|
1234
821
|
transaction: SuiTransactionBlockKind;
|
|
1235
822
|
};
|
|
1236
|
-
export type TransactionEffects =
|
|
1237
|
-
/** The response from processing a transaction or a certified transaction */
|
|
1238
|
-
{
|
|
1239
|
-
/** The abort error populated if the transaction failed with an abort code. */
|
|
823
|
+
export type TransactionEffects = {
|
|
1240
824
|
abortError?: SuiMoveAbort | null;
|
|
1241
|
-
/** ObjectRef and owner of new objects created. */
|
|
1242
825
|
created?: OwnedObjectRef[];
|
|
1243
|
-
/** Object Refs of objects now deleted (the old refs). */
|
|
1244
826
|
deleted?: SuiObjectRef[];
|
|
1245
|
-
/** The set of transaction digests this transaction depends on. */
|
|
1246
827
|
dependencies?: string[];
|
|
1247
|
-
/**
|
|
1248
|
-
* The digest of the events emitted during execution, can be None if the transaction does not emit any
|
|
1249
|
-
* event.
|
|
1250
|
-
*/
|
|
1251
828
|
eventsDigest?: string | null;
|
|
1252
|
-
/** The epoch when this transaction was executed. */
|
|
1253
829
|
executedEpoch: string;
|
|
1254
|
-
/**
|
|
1255
|
-
* The updated gas object reference. Have a dedicated field for convenient access. It's also included
|
|
1256
|
-
* in mutated.
|
|
1257
|
-
*/
|
|
1258
830
|
gasObject: OwnedObjectRef;
|
|
1259
831
|
gasUsed: GasCostSummary;
|
|
1260
832
|
messageVersion: "v1";
|
|
1261
|
-
/**
|
|
1262
|
-
* The version that every modified (mutated or deleted) object had before it was modified by this
|
|
1263
|
-
* transaction.
|
|
1264
|
-
*/
|
|
1265
833
|
modifiedAtVersions?: TransactionBlockEffectsModifiedAtVersions[];
|
|
1266
|
-
/** ObjectRef and owner of mutated objects, including gas object. */
|
|
1267
834
|
mutated?: OwnedObjectRef[];
|
|
1268
|
-
/**
|
|
1269
|
-
* The object references of the shared objects used in this transaction. Empty if no shared objects
|
|
1270
|
-
* were used.
|
|
1271
|
-
*/
|
|
1272
835
|
sharedObjects?: SuiObjectRef[];
|
|
1273
|
-
/** The status of the execution */
|
|
1274
836
|
status: ExecutionStatus;
|
|
1275
|
-
/** The transaction digest */
|
|
1276
837
|
transactionDigest: string;
|
|
1277
|
-
/**
|
|
1278
|
-
* ObjectRef and owner of objects that are unwrapped in this transaction. Unwrapped objects are objects
|
|
1279
|
-
* that were wrapped into other objects in the past, and just got extracted out.
|
|
1280
|
-
*/
|
|
1281
838
|
unwrapped?: OwnedObjectRef[];
|
|
1282
|
-
/** Object refs of objects previously wrapped in other objects but now deleted. */
|
|
1283
839
|
unwrappedThenDeleted?: SuiObjectRef[];
|
|
1284
|
-
/** Object refs of objects now wrapped in other objects. */
|
|
1285
840
|
wrapped?: SuiObjectRef[];
|
|
1286
841
|
};
|
|
1287
842
|
export interface TransactionBlockEffectsModifiedAtVersions {
|
|
1288
843
|
objectId: string;
|
|
1289
844
|
sequenceNumber: string;
|
|
1290
845
|
}
|
|
1291
|
-
export type SuiTransactionBlockKind =
|
|
1292
|
-
/** A system transaction that will update epoch information on-chain. */
|
|
1293
|
-
{
|
|
846
|
+
export type SuiTransactionBlockKind = {
|
|
1294
847
|
computation_charge: string;
|
|
1295
848
|
epoch: string;
|
|
1296
849
|
epoch_start_timestamp_ms: string;
|
|
1297
850
|
kind: "ChangeEpoch";
|
|
1298
851
|
storage_charge: string;
|
|
1299
852
|
storage_rebate: string;
|
|
1300
|
-
}
|
|
853
|
+
} | {
|
|
1301
854
|
kind: "Genesis";
|
|
1302
855
|
objects: string[];
|
|
1303
|
-
}
|
|
856
|
+
} | {
|
|
1304
857
|
commit_timestamp_ms: string;
|
|
1305
858
|
epoch: string;
|
|
1306
859
|
kind: "ConsensusCommitPrologue";
|
|
1307
860
|
round: string;
|
|
1308
|
-
}
|
|
1309
|
-
/** Input objects or primitive values */
|
|
861
|
+
} | {
|
|
1310
862
|
inputs: SuiCallArg[];
|
|
1311
863
|
kind: "ProgrammableTransaction";
|
|
1312
|
-
/**
|
|
1313
|
-
* The transactions to be executed sequentially. A failure in any transaction will result in the
|
|
1314
|
-
* failure of the entire programmable transaction block.
|
|
1315
|
-
*/
|
|
1316
864
|
transactions: SuiTransaction[];
|
|
1317
|
-
}
|
|
865
|
+
} | {
|
|
1318
866
|
epoch: string;
|
|
1319
867
|
kind: "AuthenticatorStateUpdate";
|
|
1320
868
|
new_active_jwks: SuiActiveJwk[];
|
|
1321
869
|
round: string;
|
|
1322
|
-
}
|
|
870
|
+
} | {
|
|
1323
871
|
epoch: string;
|
|
1324
872
|
kind: "RandomnessStateUpdate";
|
|
1325
873
|
random_bytes: number[];
|
|
1326
874
|
randomness_round: string;
|
|
1327
|
-
}
|
|
875
|
+
} | {
|
|
1328
876
|
kind: "EndOfEpochTransaction";
|
|
1329
877
|
transactions: SuiEndOfEpochTransactionKind[];
|
|
1330
878
|
} | {
|
|
@@ -1350,22 +898,13 @@ export type SuiTransactionBlockKind =
|
|
|
1350
898
|
kind: "ConsensusCommitPrologueV4";
|
|
1351
899
|
round: string;
|
|
1352
900
|
sub_dag_index?: string | null;
|
|
1353
|
-
}
|
|
1354
|
-
/** Input objects or primitive values */
|
|
901
|
+
} | {
|
|
1355
902
|
inputs: SuiCallArg[];
|
|
1356
903
|
kind: "ProgrammableSystemTransaction";
|
|
1357
|
-
/**
|
|
1358
|
-
* The transactions to be executed sequentially. A failure in any transaction will result in the
|
|
1359
|
-
* failure of the entire programmable transaction block.
|
|
1360
|
-
*/
|
|
1361
904
|
transactions: SuiTransaction[];
|
|
1362
905
|
};
|
|
1363
906
|
export interface SuiTransactionBlockResponse {
|
|
1364
907
|
balanceChanges?: BalanceChange[] | null;
|
|
1365
|
-
/**
|
|
1366
|
-
* The checkpoint number when this transaction was included and hence finalized. This is only returned
|
|
1367
|
-
* in the read api, not in the transaction execution api.
|
|
1368
|
-
*/
|
|
1369
908
|
checkpoint?: string | null;
|
|
1370
909
|
confirmedLocalExecution?: boolean | null;
|
|
1371
910
|
digest: string;
|
|
@@ -1374,86 +913,66 @@ export interface SuiTransactionBlockResponse {
|
|
|
1374
913
|
events?: SuiEvent[] | null;
|
|
1375
914
|
objectChanges?: SuiObjectChange[] | null;
|
|
1376
915
|
rawEffects?: number[];
|
|
1377
|
-
/**
|
|
1378
|
-
* BCS encoded [SenderSignedData] that includes input object references returns empty array if
|
|
1379
|
-
* `show_raw_transaction` is false
|
|
1380
|
-
*/
|
|
1381
916
|
rawTransaction?: string;
|
|
1382
917
|
timestampMs?: string | null;
|
|
1383
|
-
/** Transaction input data */
|
|
1384
918
|
transaction?: SuiTransactionBlock | null;
|
|
1385
919
|
}
|
|
1386
920
|
export interface SuiTransactionBlockResponseOptions {
|
|
1387
|
-
/** Whether to show balance_changes. Default to be False */
|
|
1388
921
|
showBalanceChanges?: boolean;
|
|
1389
|
-
/** Whether to show transaction effects. Default to be False */
|
|
1390
922
|
showEffects?: boolean;
|
|
1391
|
-
/** Whether to show transaction events. Default to be False */
|
|
1392
923
|
showEvents?: boolean;
|
|
1393
|
-
/** Whether to show transaction input data. Default to be False */
|
|
1394
924
|
showInput?: boolean;
|
|
1395
|
-
/** Whether to show object_changes. Default to be False */
|
|
1396
925
|
showObjectChanges?: boolean;
|
|
1397
|
-
/** Whether to show raw transaction effects. Default to be False */
|
|
1398
926
|
showRawEffects?: boolean;
|
|
1399
|
-
/** Whether to show bcs-encoded transaction input data */
|
|
1400
927
|
showRawInput?: boolean;
|
|
1401
928
|
}
|
|
1402
929
|
export interface SuiTransactionBlockResponseQuery {
|
|
1403
|
-
/** If None, no filter will be applied */
|
|
1404
930
|
filter?: TransactionFilter | null;
|
|
1405
|
-
/** config which fields to include in the response, by default only digest is included */
|
|
1406
931
|
options?: SuiTransactionBlockResponseOptions | null;
|
|
1407
932
|
}
|
|
1408
|
-
export type TransactionFilter =
|
|
1409
|
-
/** CURRENTLY NOT SUPPORTED. Query by checkpoint. */
|
|
1410
|
-
{
|
|
933
|
+
export type TransactionFilter = {
|
|
1411
934
|
Checkpoint: string;
|
|
1412
|
-
}
|
|
935
|
+
} | {
|
|
1413
936
|
MoveFunction: {
|
|
1414
937
|
function?: string | null;
|
|
1415
938
|
module?: string | null;
|
|
1416
939
|
package: string;
|
|
1417
940
|
};
|
|
1418
|
-
}
|
|
941
|
+
} | {
|
|
1419
942
|
InputObject: string;
|
|
1420
|
-
}
|
|
943
|
+
} | {
|
|
1421
944
|
ChangedObject: string;
|
|
1422
|
-
}
|
|
945
|
+
} | {
|
|
1423
946
|
AffectedObject: string;
|
|
1424
|
-
}
|
|
947
|
+
} | {
|
|
1425
948
|
FromAddress: string;
|
|
1426
|
-
}
|
|
949
|
+
} | {
|
|
1427
950
|
ToAddress: string;
|
|
1428
|
-
}
|
|
951
|
+
} | {
|
|
1429
952
|
FromAndToAddress: {
|
|
1430
953
|
from: string;
|
|
1431
954
|
to: string;
|
|
1432
955
|
};
|
|
1433
|
-
}
|
|
956
|
+
} | {
|
|
1434
957
|
FromOrToAddress: {
|
|
1435
958
|
addr: string;
|
|
1436
959
|
};
|
|
1437
|
-
}
|
|
960
|
+
} | {
|
|
1438
961
|
TransactionKind: string;
|
|
1439
|
-
}
|
|
962
|
+
} | {
|
|
1440
963
|
TransactionKindIn: string[];
|
|
1441
964
|
};
|
|
1442
965
|
export interface TransferObjectParams {
|
|
1443
966
|
objectId: string;
|
|
1444
967
|
recipient: string;
|
|
1445
968
|
}
|
|
1446
|
-
/** Identifies a struct and the module it was defined in */
|
|
1447
969
|
export interface TypeOrigin {
|
|
1448
970
|
datatype_name: string;
|
|
1449
971
|
module_name: string;
|
|
1450
972
|
package: string;
|
|
1451
973
|
}
|
|
1452
|
-
/** Upgraded package info for the linkage table */
|
|
1453
974
|
export interface UpgradeInfo {
|
|
1454
|
-
/** ID of the upgraded packages */
|
|
1455
975
|
upgraded_id: string;
|
|
1456
|
-
/** Version of the upgraded package */
|
|
1457
976
|
upgraded_version: string;
|
|
1458
977
|
}
|
|
1459
978
|
export interface ValidatorApy {
|
|
@@ -1464,13 +983,11 @@ export interface ValidatorsApy {
|
|
|
1464
983
|
apys: ValidatorApy[];
|
|
1465
984
|
epoch: string;
|
|
1466
985
|
}
|
|
1467
|
-
/** An zk login authenticator with all the necessary fields. */
|
|
1468
986
|
export interface ZkLoginAuthenticator {
|
|
1469
987
|
inputs: ZkLoginInputs;
|
|
1470
988
|
maxEpoch: string;
|
|
1471
989
|
userSignature: Signature;
|
|
1472
990
|
}
|
|
1473
|
-
/** All inputs required for the zk login proof verification and other public inputs. */
|
|
1474
991
|
export interface ZkLoginInputs {
|
|
1475
992
|
addressSeed: string;
|
|
1476
993
|
headerBase64: string;
|
|
@@ -1478,15 +995,12 @@ export interface ZkLoginInputs {
|
|
|
1478
995
|
proofPoints: ZkLoginProof;
|
|
1479
996
|
}
|
|
1480
997
|
export type ZkLoginIntentScope = "TransactionData" | "PersonalMessage";
|
|
1481
|
-
/** The struct for zk login proof. */
|
|
1482
998
|
export interface ZkLoginProof {
|
|
1483
999
|
a: string[];
|
|
1484
1000
|
b: string[][];
|
|
1485
1001
|
c: string[];
|
|
1486
1002
|
}
|
|
1487
1003
|
export interface ZkLoginVerifyResult {
|
|
1488
|
-
/** The errors field captures any verification error */
|
|
1489
1004
|
errors: string[];
|
|
1490
|
-
/** The boolean result of the verification. If true, errors should be empty. */
|
|
1491
1005
|
success: boolean;
|
|
1492
1006
|
}
|