@wowok/wowok 2.2.11
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/LICENSE +145 -0
- package/NOTICE +114 -0
- package/README.md +38 -0
- package/THIRD_PARTY_LICENSES/APACHE_LICENSE.txt +196 -0
- package/THIRD_PARTY_LICENSES/MIT_LICENSE.txt +58 -0
- package/dist/cjs/_deps/bcs/bcs-type.d.ts +127 -0
- package/dist/cjs/_deps/bcs/bcs-type.js +1 -0
- package/dist/cjs/_deps/bcs/bcs.d.ts +49 -0
- package/dist/cjs/_deps/bcs/bcs.js +1 -0
- package/dist/cjs/_deps/bcs/index.d.ts +16 -0
- package/dist/cjs/_deps/bcs/index.js +1 -0
- package/dist/cjs/_deps/bcs/reader.d.ts +15 -0
- package/dist/cjs/_deps/bcs/reader.js +1 -0
- package/dist/cjs/_deps/bcs/types.d.ts +24 -0
- package/dist/cjs/_deps/bcs/types.js +1 -0
- package/dist/cjs/_deps/bcs/uleb.d.ts +5 -0
- package/dist/cjs/_deps/bcs/uleb.js +1 -0
- package/dist/cjs/_deps/bcs/utils.d.ts +4 -0
- package/dist/cjs/_deps/bcs/utils.js +1 -0
- package/dist/cjs/_deps/bcs/writer.d.ts +28 -0
- package/dist/cjs/_deps/bcs/writer.js +1 -0
- package/dist/cjs/_deps/utils/b58.d.ts +2 -0
- package/dist/cjs/_deps/utils/b58.js +1 -0
- package/dist/cjs/_deps/utils/b64.d.ts +2 -0
- package/dist/cjs/_deps/utils/b64.js +1 -0
- package/dist/cjs/_deps/utils/chunk.d.ts +1 -0
- package/dist/cjs/_deps/utils/chunk.js +1 -0
- package/dist/cjs/_deps/utils/dataloader.d.ts +43 -0
- package/dist/cjs/_deps/utils/dataloader.js +1 -0
- package/dist/cjs/_deps/utils/hex.d.ts +2 -0
- package/dist/cjs/_deps/utils/hex.js +1 -0
- package/dist/cjs/_deps/utils/index.d.ts +7 -0
- package/dist/cjs/_deps/utils/index.js +1 -0
- package/dist/cjs/_deps/utils/types.d.ts +4 -0
- package/dist/cjs/_deps/utils/types.js +1 -0
- package/dist/cjs/_deps/utils/with-resolver.d.ts +6 -0
- package/dist/cjs/_deps/utils/with-resolver.js +1 -0
- package/dist/cjs/bcs/bcs.d.ts +1927 -0
- package/dist/cjs/bcs/bcs.js +1 -0
- package/dist/cjs/bcs/effects.d.ts +579 -0
- package/dist/cjs/bcs/effects.js +1 -0
- package/dist/cjs/bcs/index.d.ts +6 -0
- package/dist/cjs/bcs/index.js +1 -0
- package/dist/cjs/bcs/pure.d.ts +22 -0
- package/dist/cjs/bcs/pure.js +1 -0
- package/dist/cjs/bcs/type-tag-serializer.d.ts +7 -0
- package/dist/cjs/bcs/type-tag-serializer.js +1 -0
- package/dist/cjs/bcs/types.d.ts +65 -0
- package/dist/cjs/bcs/types.js +1 -0
- package/dist/cjs/client/index.d.ts +5 -0
- package/dist/cjs/client/index.js +1 -0
- package/dist/cjs/client/network.d.ts +5 -0
- package/dist/cjs/client/network.js +1 -0
- package/dist/cjs/cryptography/index.d.ts +7 -0
- package/dist/cjs/cryptography/index.js +1 -0
- package/dist/cjs/cryptography/intent.d.ts +3 -0
- package/dist/cjs/cryptography/intent.js +1 -0
- package/dist/cjs/cryptography/keypair.d.ts +39 -0
- package/dist/cjs/cryptography/keypair.js +1 -0
- package/dist/cjs/cryptography/mnemonics.d.ts +4 -0
- package/dist/cjs/cryptography/mnemonics.js +1 -0
- package/dist/cjs/cryptography/publickey.d.ts +25 -0
- package/dist/cjs/cryptography/publickey.js +1 -0
- package/dist/cjs/cryptography/signature-scheme.d.ts +13 -0
- package/dist/cjs/cryptography/signature-scheme.js +1 -0
- package/dist/cjs/cryptography/signature.d.ts +21 -0
- package/dist/cjs/cryptography/signature.js +1 -0
- package/dist/cjs/experimental/cache.d.ts +12 -0
- package/dist/cjs/experimental/cache.js +1 -0
- package/dist/cjs/experimental/client.d.ts +12 -0
- package/dist/cjs/experimental/client.js +1 -0
- package/dist/cjs/experimental/core.d.ts +31 -0
- package/dist/cjs/experimental/core.js +1 -0
- package/dist/cjs/experimental/errors.d.ts +8 -0
- package/dist/cjs/experimental/errors.js +1 -0
- package/dist/cjs/experimental/index.d.ts +7 -0
- package/dist/cjs/experimental/index.js +1 -0
- package/dist/cjs/experimental/persistent-storage.d.ts +36 -0
- package/dist/cjs/experimental/persistent-storage.js +1 -0
- package/dist/cjs/experimental/persistent-storage.test.d.ts +1 -0
- package/dist/cjs/experimental/persistent-storage.test.js +1 -0
- package/dist/cjs/experimental/transports/utils.d.ts +3 -0
- package/dist/cjs/experimental/transports/utils.js +1 -0
- package/dist/cjs/experimental/types.d.ts +361 -0
- package/dist/cjs/experimental/types.js +1 -0
- package/dist/cjs/faucet/faucet.d.ts +57 -0
- package/dist/cjs/faucet/faucet.js +1 -0
- package/dist/cjs/faucet/index.d.ts +1 -0
- package/dist/cjs/faucet/index.js +1 -0
- package/dist/cjs/grpc/client.d.ts +30 -0
- package/dist/cjs/grpc/client.js +1 -0
- package/dist/cjs/grpc/core.d.ts +28 -0
- package/dist/cjs/grpc/core.js +1 -0
- package/dist/cjs/grpc/index.d.ts +4 -0
- package/dist/cjs/grpc/index.js +1 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +29 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.js +1 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +23 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.js +1 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +16 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.js +1 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +22 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +1 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +72 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.js +1 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +26 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +1 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +166 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.js +1 -0
- package/dist/cjs/grpc/proto/google/rpc/status.d.ts +20 -0
- package/dist/cjs/grpc/proto/google/rpc/status.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +18 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +11 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +10 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +20 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +23 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +46 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +81 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +21 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.d.ts +5 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +25 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +24 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +220 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +12 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +23 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +43 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +160 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +150 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +31 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +78 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +32 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +11 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +19 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +15 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +105 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +5 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +19 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +23 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +35 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +172 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +19 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +21 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +146 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +338 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +23 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +1 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +66 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +1 -0
- package/dist/cjs/index.d.ts +25 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/jsonRpc/client.d.ts +121 -0
- package/dist/cjs/jsonRpc/client.js +1 -0
- package/dist/cjs/jsonRpc/core.d.ts +87 -0
- package/dist/cjs/jsonRpc/core.js +1 -0
- package/dist/cjs/jsonRpc/errors.d.ts +12 -0
- package/dist/cjs/jsonRpc/errors.js +1 -0
- package/dist/cjs/jsonRpc/http-transport.d.ts +39 -0
- package/dist/cjs/jsonRpc/http-transport.js +1 -0
- package/dist/cjs/jsonRpc/index.d.ts +4 -0
- package/dist/cjs/jsonRpc/index.js +1 -0
- package/dist/cjs/jsonRpc/json-rpc-resolver.d.ts +4 -0
- package/dist/cjs/jsonRpc/json-rpc-resolver.js +1 -0
- package/dist/cjs/jsonRpc/rpc-websocket-client.d.ts +28 -0
- package/dist/cjs/jsonRpc/rpc-websocket-client.js +1 -0
- package/dist/cjs/jsonRpc/types/chain.d.ts +94 -0
- package/dist/cjs/jsonRpc/types/chain.js +1 -0
- package/dist/cjs/jsonRpc/types/changes.d.ts +19 -0
- package/dist/cjs/jsonRpc/types/changes.js +1 -0
- package/dist/cjs/jsonRpc/types/coins.d.ts +6 -0
- package/dist/cjs/jsonRpc/types/coins.js +1 -0
- package/dist/cjs/jsonRpc/types/common.d.ts +2 -0
- package/dist/cjs/jsonRpc/types/common.js +1 -0
- package/dist/cjs/jsonRpc/types/generated.d.ts +954 -0
- package/dist/cjs/jsonRpc/types/generated.js +1 -0
- package/dist/cjs/jsonRpc/types/index.d.ts +6 -0
- package/dist/cjs/jsonRpc/types/index.js +1 -0
- package/dist/cjs/jsonRpc/types/params.d.ts +303 -0
- package/dist/cjs/jsonRpc/types/params.js +1 -0
- package/dist/cjs/keypairs/falcon512/index.d.ts +2 -0
- package/dist/cjs/keypairs/falcon512/index.js +1 -0
- package/dist/cjs/keypairs/falcon512/keypair.d.ts +19 -0
- package/dist/cjs/keypairs/falcon512/keypair.js +1 -0
- package/dist/cjs/keypairs/falcon512/publickey.d.ts +11 -0
- package/dist/cjs/keypairs/falcon512/publickey.js +1 -0
- package/dist/cjs/keypairs/index.d.ts +1 -0
- package/dist/cjs/keypairs/index.js +1 -0
- package/dist/cjs/multisig/index.d.ts +2 -0
- package/dist/cjs/multisig/index.js +1 -0
- package/dist/cjs/multisig/publickey.d.ts +44 -0
- package/dist/cjs/multisig/publickey.js +1 -0
- package/dist/cjs/multisig/signer.d.ts +19 -0
- package/dist/cjs/multisig/signer.js +1 -0
- package/dist/cjs/transactions/Arguments.d.ts +57 -0
- package/dist/cjs/transactions/Arguments.js +1 -0
- package/dist/cjs/transactions/Commands.d.ts +54 -0
- package/dist/cjs/transactions/Commands.js +1 -0
- package/dist/cjs/transactions/Inputs.d.ts +22 -0
- package/dist/cjs/transactions/Inputs.js +1 -0
- package/dist/cjs/transactions/ObjectCache.d.ts +83 -0
- package/dist/cjs/transactions/ObjectCache.js +1 -0
- package/dist/cjs/transactions/Transaction.d.ts +654 -0
- package/dist/cjs/transactions/Transaction.js +1 -0
- package/dist/cjs/transactions/TransactionData.d.ts +67 -0
- package/dist/cjs/transactions/TransactionData.js +1 -0
- package/dist/cjs/transactions/__tests__/Transaction.test.d.ts +1 -0
- package/dist/cjs/transactions/__tests__/Transaction.test.js +1 -0
- package/dist/cjs/transactions/__tests__/bcs.test.d.ts +1 -0
- package/dist/cjs/transactions/__tests__/bcs.test.js +1 -0
- package/dist/cjs/transactions/data/internal.d.ts +1010 -0
- package/dist/cjs/transactions/data/internal.js +1 -0
- package/dist/cjs/transactions/data/v1.d.ts +312 -0
- package/dist/cjs/transactions/data/v1.js +1 -0
- package/dist/cjs/transactions/data/v2.d.ts +153 -0
- package/dist/cjs/transactions/data/v2.js +1 -0
- package/dist/cjs/transactions/executor/caching.d.ts +27 -0
- package/dist/cjs/transactions/executor/caching.js +1 -0
- package/dist/cjs/transactions/executor/parallel.d.ts +26 -0
- package/dist/cjs/transactions/executor/parallel.js +1 -0
- package/dist/cjs/transactions/executor/queue.d.ts +11 -0
- package/dist/cjs/transactions/executor/queue.js +1 -0
- package/dist/cjs/transactions/executor/serial.d.ts +30 -0
- package/dist/cjs/transactions/executor/serial.js +1 -0
- package/dist/cjs/transactions/hash.d.ts +1 -0
- package/dist/cjs/transactions/hash.js +1 -0
- package/dist/cjs/transactions/index.d.ts +20 -0
- package/dist/cjs/transactions/index.js +1 -0
- package/dist/cjs/transactions/intents/CoinWithBalance.d.ts +9 -0
- package/dist/cjs/transactions/intents/CoinWithBalance.js +1 -0
- package/dist/cjs/transactions/object.d.ts +24 -0
- package/dist/cjs/transactions/object.js +1 -0
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.d.ts +13 -0
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js +1 -0
- package/dist/cjs/transactions/pure.d.ts +20 -0
- package/dist/cjs/transactions/pure.js +1 -0
- package/dist/cjs/transactions/resolve.d.ts +13 -0
- package/dist/cjs/transactions/resolve.js +1 -0
- package/dist/cjs/transactions/serializer.d.ts +7 -0
- package/dist/cjs/transactions/serializer.js +1 -0
- package/dist/cjs/transactions/utils.d.ts +10 -0
- package/dist/cjs/transactions/utils.js +1 -0
- package/dist/cjs/utils/constants.d.ts +11 -0
- package/dist/cjs/utils/constants.js +1 -0
- package/dist/cjs/utils/derived-objects.d.ts +2 -0
- package/dist/cjs/utils/derived-objects.js +1 -0
- package/dist/cjs/utils/dynamic-fields.d.ts +2 -0
- package/dist/cjs/utils/dynamic-fields.js +1 -0
- package/dist/cjs/utils/format.d.ts +2 -0
- package/dist/cjs/utils/format.js +1 -0
- package/dist/cjs/utils/index.d.ts +8 -0
- package/dist/cjs/utils/index.js +1 -0
- package/dist/cjs/utils/move-registry.d.ts +2 -0
- package/dist/cjs/utils/move-registry.js +1 -0
- package/dist/cjs/utils/wow-types.d.ts +14 -0
- package/dist/cjs/utils/wow-types.js +1 -0
- package/dist/cjs/verify/index.d.ts +1 -0
- package/dist/cjs/verify/index.js +1 -0
- package/dist/cjs/verify/verify.d.ts +16 -0
- package/dist/cjs/verify/verify.js +1 -0
- package/dist/cjs/version.d.ts +2 -0
- package/dist/cjs/version.js +1 -0
- package/dist/cjs/w/call/allocation.d.ts +35 -0
- package/dist/cjs/w/call/allocation.js +1 -0
- package/dist/cjs/w/call/arb.d.ts +17 -0
- package/dist/cjs/w/call/arb.js +1 -0
- package/dist/cjs/w/call/arbitration.d.ts +106 -0
- package/dist/cjs/w/call/arbitration.js +1 -0
- package/dist/cjs/w/call/base.d.ts +42 -0
- package/dist/cjs/w/call/base.js +1 -0
- package/dist/cjs/w/call/contact.d.ts +45 -0
- package/dist/cjs/w/call/contact.js +1 -0
- package/dist/cjs/w/call/demand.d.ts +79 -0
- package/dist/cjs/w/call/demand.js +1 -0
- package/dist/cjs/w/call/entity.d.ts +33 -0
- package/dist/cjs/w/call/entity.js +1 -0
- package/dist/cjs/w/call/guard-ins.d.ts +29 -0
- package/dist/cjs/w/call/guard-ins.js +1 -0
- package/dist/cjs/w/call/guard.d.ts +350 -0
- package/dist/cjs/w/call/guard.js +1 -0
- package/dist/cjs/w/call/index.d.ts +37 -0
- package/dist/cjs/w/call/index.js +1 -0
- package/dist/cjs/w/call/machine.d.ts +124 -0
- package/dist/cjs/w/call/machine.js +1 -0
- package/dist/cjs/w/call/order.d.ts +73 -0
- package/dist/cjs/w/call/order.js +1 -0
- package/dist/cjs/w/call/passport.d.ts +24 -0
- package/dist/cjs/w/call/passport.js +1 -0
- package/dist/cjs/w/call/payment.d.ts +27 -0
- package/dist/cjs/w/call/payment.js +1 -0
- package/dist/cjs/w/call/permission.d.ts +202 -0
- package/dist/cjs/w/call/permission.js +1 -0
- package/dist/cjs/w/call/personal.d.ts +51 -0
- package/dist/cjs/w/call/personal.js +1 -0
- package/dist/cjs/w/call/progress.d.ts +95 -0
- package/dist/cjs/w/call/progress.js +1 -0
- package/dist/cjs/w/call/proof.d.ts +27 -0
- package/dist/cjs/w/call/proof.js +1 -0
- package/dist/cjs/w/call/repository.d.ts +97 -0
- package/dist/cjs/w/call/repository.js +1 -0
- package/dist/cjs/w/call/resource.d.ts +27 -0
- package/dist/cjs/w/call/resource.js +1 -0
- package/dist/cjs/w/call/reward.d.ts +52 -0
- package/dist/cjs/w/call/reward.js +1 -0
- package/dist/cjs/w/call/service.d.ts +186 -0
- package/dist/cjs/w/call/service.js +1 -0
- package/dist/cjs/w/call/treasury.d.ts +77 -0
- package/dist/cjs/w/call/treasury.js +1 -0
- package/dist/cjs/w/call/util.d.ts +13 -0
- package/dist/cjs/w/call/util.js +1 -0
- package/dist/cjs/w/common.d.ts +344 -0
- package/dist/cjs/w/common.js +1 -0
- package/dist/cjs/w/exception.d.ts +83 -0
- package/dist/cjs/w/exception.js +1 -0
- package/dist/cjs/w/index.d.ts +8 -0
- package/dist/cjs/w/index.js +1 -0
- package/dist/cjs/w/local/account.d.ts +96 -0
- package/dist/cjs/w/local/account.js +1 -0
- package/dist/cjs/w/local/cache.d.ts +35 -0
- package/dist/cjs/w/local/cache.js +1 -0
- package/dist/cjs/w/local/config.d.ts +12 -0
- package/dist/cjs/w/local/config.js +1 -0
- package/dist/cjs/w/local/index.d.ts +193 -0
- package/dist/cjs/w/local/index.js +1 -0
- package/dist/cjs/w/local/local.d.ts +93 -0
- package/dist/cjs/w/local/local.js +1 -0
- package/dist/cjs/w/local/storage.d.ts +41 -0
- package/dist/cjs/w/local/storage.js +1 -0
- package/dist/cjs/w/local/token.d.ts +19 -0
- package/dist/cjs/w/local/token.js +1 -0
- package/dist/cjs/w/local/util.d.ts +1 -0
- package/dist/cjs/w/local/util.js +1 -0
- package/dist/cjs/w/local/wip.d.ts +135 -0
- package/dist/cjs/w/local/wip.js +1 -0
- package/dist/cjs/w/messenger/crypto.d.ts +88 -0
- package/dist/cjs/w/messenger/crypto.js +1 -0
- package/dist/cjs/w/messenger/index.d.ts +5 -0
- package/dist/cjs/w/messenger/index.js +1 -0
- package/dist/cjs/w/messenger/messenger-api.d.ts +140 -0
- package/dist/cjs/w/messenger/messenger-api.js +1 -0
- package/dist/cjs/w/messenger/messenger-manager.d.ts +85 -0
- package/dist/cjs/w/messenger/messenger-manager.js +1 -0
- package/dist/cjs/w/messenger/messenger.d.ts +92 -0
- package/dist/cjs/w/messenger/messenger.js +1 -0
- package/dist/cjs/w/messenger/pq/crypto.d.ts +39 -0
- package/dist/cjs/w/messenger/pq/crypto.js +1 -0
- package/dist/cjs/w/messenger/pq/erasure.d.ts +17 -0
- package/dist/cjs/w/messenger/pq/erasure.js +1 -0
- package/dist/cjs/w/messenger/pq/index.d.ts +9 -0
- package/dist/cjs/w/messenger/pq/index.js +1 -0
- package/dist/cjs/w/messenger/pq/keycombiner.d.ts +1 -0
- package/dist/cjs/w/messenger/pq/keycombiner.js +1 -0
- package/dist/cjs/w/messenger/pq/pqxdh.d.ts +38 -0
- package/dist/cjs/w/messenger/pq/pqxdh.js +1 -0
- package/dist/cjs/w/messenger/pq/ratchet.d.ts +12 -0
- package/dist/cjs/w/messenger/pq/ratchet.js +1 -0
- package/dist/cjs/w/messenger/pq/session.d.ts +41 -0
- package/dist/cjs/w/messenger/pq/session.js +1 -0
- package/dist/cjs/w/messenger/pq/spqr.d.ts +23 -0
- package/dist/cjs/w/messenger/pq/spqr.js +1 -0
- package/dist/cjs/w/messenger/pq/store-adapter.d.ts +31 -0
- package/dist/cjs/w/messenger/pq/store-adapter.js +1 -0
- package/dist/cjs/w/messenger/pq/types.d.ts +180 -0
- package/dist/cjs/w/messenger/pq/types.js +1 -0
- package/dist/cjs/w/messenger/server.d.ts +48 -0
- package/dist/cjs/w/messenger/server.js +1 -0
- package/dist/cjs/w/messenger/session.d.ts +65 -0
- package/dist/cjs/w/messenger/session.js +1 -0
- package/dist/cjs/w/messenger/storage.d.ts +110 -0
- package/dist/cjs/w/messenger/storage.js +1 -0
- package/dist/cjs/w/messenger/templates/wts-html-template.d.ts +30 -0
- package/dist/cjs/w/messenger/templates/wts-html-template.js +1 -0
- package/dist/cjs/w/messenger/types.d.ts +647 -0
- package/dist/cjs/w/messenger/types.js +1 -0
- package/dist/cjs/w/messenger/utils.d.ts +1 -0
- package/dist/cjs/w/messenger/utils.js +1 -0
- package/dist/cjs/w/query/bult-in.d.ts +62 -0
- package/dist/cjs/w/query/bult-in.js +1 -0
- package/dist/cjs/w/query/event.d.ts +76 -0
- package/dist/cjs/w/query/event.js +1 -0
- package/dist/cjs/w/query/index.d.ts +5 -0
- package/dist/cjs/w/query/index.js +1 -0
- package/dist/cjs/w/query/object.d.ts +626 -0
- package/dist/cjs/w/query/object.js +1 -0
- package/dist/cjs/w/query/received.d.ts +30 -0
- package/dist/cjs/w/query/received.js +1 -0
- package/dist/cjs/w/query/util.d.ts +4 -0
- package/dist/cjs/w/query/util.js +1 -0
- package/dist/cjs/w/util.d.ts +16 -0
- package/dist/cjs/w/util.js +1 -0
- package/dist/esm/_deps/bcs/bcs-type.d.ts +127 -0
- package/dist/esm/_deps/bcs/bcs-type.js +1 -0
- package/dist/esm/_deps/bcs/bcs.d.ts +49 -0
- package/dist/esm/_deps/bcs/bcs.js +1 -0
- package/dist/esm/_deps/bcs/index.d.ts +16 -0
- package/dist/esm/_deps/bcs/index.js +1 -0
- package/dist/esm/_deps/bcs/reader.d.ts +15 -0
- package/dist/esm/_deps/bcs/reader.js +1 -0
- package/dist/esm/_deps/bcs/types.d.ts +24 -0
- package/dist/esm/_deps/bcs/types.js +1 -0
- package/dist/esm/_deps/bcs/uleb.d.ts +5 -0
- package/dist/esm/_deps/bcs/uleb.js +1 -0
- package/dist/esm/_deps/bcs/utils.d.ts +4 -0
- package/dist/esm/_deps/bcs/utils.js +1 -0
- package/dist/esm/_deps/bcs/writer.d.ts +28 -0
- package/dist/esm/_deps/bcs/writer.js +1 -0
- package/dist/esm/_deps/utils/b58.d.ts +2 -0
- package/dist/esm/_deps/utils/b58.js +1 -0
- package/dist/esm/_deps/utils/b64.d.ts +2 -0
- package/dist/esm/_deps/utils/b64.js +1 -0
- package/dist/esm/_deps/utils/chunk.d.ts +1 -0
- package/dist/esm/_deps/utils/chunk.js +1 -0
- package/dist/esm/_deps/utils/dataloader.d.ts +43 -0
- package/dist/esm/_deps/utils/dataloader.js +1 -0
- package/dist/esm/_deps/utils/hex.d.ts +2 -0
- package/dist/esm/_deps/utils/hex.js +1 -0
- package/dist/esm/_deps/utils/index.d.ts +7 -0
- package/dist/esm/_deps/utils/index.js +1 -0
- package/dist/esm/_deps/utils/types.d.ts +4 -0
- package/dist/esm/_deps/utils/types.js +1 -0
- package/dist/esm/_deps/utils/with-resolver.d.ts +6 -0
- package/dist/esm/_deps/utils/with-resolver.js +1 -0
- package/dist/esm/bcs/bcs.d.ts +1927 -0
- package/dist/esm/bcs/bcs.js +1 -0
- package/dist/esm/bcs/effects.d.ts +579 -0
- package/dist/esm/bcs/effects.js +1 -0
- package/dist/esm/bcs/index.d.ts +6 -0
- package/dist/esm/bcs/index.js +1 -0
- package/dist/esm/bcs/pure.d.ts +22 -0
- package/dist/esm/bcs/pure.js +1 -0
- package/dist/esm/bcs/type-tag-serializer.d.ts +7 -0
- package/dist/esm/bcs/type-tag-serializer.js +1 -0
- package/dist/esm/bcs/types.d.ts +65 -0
- package/dist/esm/bcs/types.js +1 -0
- package/dist/esm/client/index.d.ts +5 -0
- package/dist/esm/client/index.js +1 -0
- package/dist/esm/client/network.d.ts +5 -0
- package/dist/esm/client/network.js +1 -0
- package/dist/esm/cryptography/index.d.ts +7 -0
- package/dist/esm/cryptography/index.js +1 -0
- package/dist/esm/cryptography/intent.d.ts +3 -0
- package/dist/esm/cryptography/intent.js +1 -0
- package/dist/esm/cryptography/keypair.d.ts +39 -0
- package/dist/esm/cryptography/keypair.js +1 -0
- package/dist/esm/cryptography/mnemonics.d.ts +4 -0
- package/dist/esm/cryptography/mnemonics.js +1 -0
- package/dist/esm/cryptography/publickey.d.ts +25 -0
- package/dist/esm/cryptography/publickey.js +1 -0
- package/dist/esm/cryptography/signature-scheme.d.ts +13 -0
- package/dist/esm/cryptography/signature-scheme.js +1 -0
- package/dist/esm/cryptography/signature.d.ts +21 -0
- package/dist/esm/cryptography/signature.js +1 -0
- package/dist/esm/experimental/cache.d.ts +12 -0
- package/dist/esm/experimental/cache.js +1 -0
- package/dist/esm/experimental/client.d.ts +12 -0
- package/dist/esm/experimental/client.js +1 -0
- package/dist/esm/experimental/core.d.ts +31 -0
- package/dist/esm/experimental/core.js +1 -0
- package/dist/esm/experimental/errors.d.ts +8 -0
- package/dist/esm/experimental/errors.js +1 -0
- package/dist/esm/experimental/index.d.ts +7 -0
- package/dist/esm/experimental/index.js +1 -0
- package/dist/esm/experimental/persistent-storage.d.ts +36 -0
- package/dist/esm/experimental/persistent-storage.js +1 -0
- package/dist/esm/experimental/persistent-storage.test.d.ts +1 -0
- package/dist/esm/experimental/persistent-storage.test.js +1 -0
- package/dist/esm/experimental/transports/utils.d.ts +3 -0
- package/dist/esm/experimental/transports/utils.js +1 -0
- package/dist/esm/experimental/types.d.ts +361 -0
- package/dist/esm/experimental/types.js +1 -0
- package/dist/esm/faucet/faucet.d.ts +57 -0
- package/dist/esm/faucet/faucet.js +1 -0
- package/dist/esm/faucet/index.d.ts +1 -0
- package/dist/esm/faucet/index.js +1 -0
- package/dist/esm/grpc/client.d.ts +30 -0
- package/dist/esm/grpc/client.js +1 -0
- package/dist/esm/grpc/core.d.ts +28 -0
- package/dist/esm/grpc/core.js +1 -0
- package/dist/esm/grpc/index.d.ts +4 -0
- package/dist/esm/grpc/index.js +1 -0
- package/dist/esm/grpc/proto/google/protobuf/any.d.ts +29 -0
- package/dist/esm/grpc/proto/google/protobuf/any.js +1 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +23 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.js +1 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +16 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.js +1 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +22 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js +1 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +72 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.js +1 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +26 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js +1 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +166 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.js +1 -0
- package/dist/esm/grpc/proto/google/rpc/status.d.ts +20 -0
- package/dist/esm/grpc/proto/google/rpc/status.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +18 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +11 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +10 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +20 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +23 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +46 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +81 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +21 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.d.ts +5 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +25 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +24 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +220 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +12 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +23 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +43 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +160 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +150 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +31 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +78 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +32 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +11 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +19 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +15 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +105 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +5 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +19 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +23 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +35 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +172 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +19 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +21 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +146 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +338 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +23 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +1 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +66 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +1 -0
- package/dist/esm/index.d.ts +25 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/jsonRpc/client.d.ts +121 -0
- package/dist/esm/jsonRpc/client.js +1 -0
- package/dist/esm/jsonRpc/core.d.ts +87 -0
- package/dist/esm/jsonRpc/core.js +1 -0
- package/dist/esm/jsonRpc/errors.d.ts +12 -0
- package/dist/esm/jsonRpc/errors.js +1 -0
- package/dist/esm/jsonRpc/http-transport.d.ts +39 -0
- package/dist/esm/jsonRpc/http-transport.js +1 -0
- package/dist/esm/jsonRpc/index.d.ts +4 -0
- package/dist/esm/jsonRpc/index.js +1 -0
- package/dist/esm/jsonRpc/json-rpc-resolver.d.ts +4 -0
- package/dist/esm/jsonRpc/json-rpc-resolver.js +1 -0
- package/dist/esm/jsonRpc/rpc-websocket-client.d.ts +28 -0
- package/dist/esm/jsonRpc/rpc-websocket-client.js +1 -0
- package/dist/esm/jsonRpc/types/chain.d.ts +94 -0
- package/dist/esm/jsonRpc/types/chain.js +1 -0
- package/dist/esm/jsonRpc/types/changes.d.ts +19 -0
- package/dist/esm/jsonRpc/types/changes.js +1 -0
- package/dist/esm/jsonRpc/types/coins.d.ts +6 -0
- package/dist/esm/jsonRpc/types/coins.js +1 -0
- package/dist/esm/jsonRpc/types/common.d.ts +2 -0
- package/dist/esm/jsonRpc/types/common.js +1 -0
- package/dist/esm/jsonRpc/types/generated.d.ts +954 -0
- package/dist/esm/jsonRpc/types/generated.js +1 -0
- package/dist/esm/jsonRpc/types/index.d.ts +6 -0
- package/dist/esm/jsonRpc/types/index.js +1 -0
- package/dist/esm/jsonRpc/types/params.d.ts +303 -0
- package/dist/esm/jsonRpc/types/params.js +1 -0
- package/dist/esm/keypairs/falcon512/index.d.ts +2 -0
- package/dist/esm/keypairs/falcon512/index.js +1 -0
- package/dist/esm/keypairs/falcon512/keypair.d.ts +19 -0
- package/dist/esm/keypairs/falcon512/keypair.js +1 -0
- package/dist/esm/keypairs/falcon512/publickey.d.ts +11 -0
- package/dist/esm/keypairs/falcon512/publickey.js +1 -0
- package/dist/esm/keypairs/index.d.ts +1 -0
- package/dist/esm/keypairs/index.js +1 -0
- package/dist/esm/multisig/index.d.ts +2 -0
- package/dist/esm/multisig/index.js +1 -0
- package/dist/esm/multisig/publickey.d.ts +44 -0
- package/dist/esm/multisig/publickey.js +1 -0
- package/dist/esm/multisig/signer.d.ts +19 -0
- package/dist/esm/multisig/signer.js +1 -0
- package/dist/esm/transactions/Arguments.d.ts +57 -0
- package/dist/esm/transactions/Arguments.js +1 -0
- package/dist/esm/transactions/Commands.d.ts +54 -0
- package/dist/esm/transactions/Commands.js +1 -0
- package/dist/esm/transactions/Inputs.d.ts +22 -0
- package/dist/esm/transactions/Inputs.js +1 -0
- package/dist/esm/transactions/ObjectCache.d.ts +83 -0
- package/dist/esm/transactions/ObjectCache.js +1 -0
- package/dist/esm/transactions/Transaction.d.ts +654 -0
- package/dist/esm/transactions/Transaction.js +1 -0
- package/dist/esm/transactions/TransactionData.d.ts +67 -0
- package/dist/esm/transactions/TransactionData.js +1 -0
- package/dist/esm/transactions/__tests__/Transaction.test.d.ts +1 -0
- package/dist/esm/transactions/__tests__/Transaction.test.js +1 -0
- package/dist/esm/transactions/__tests__/bcs.test.d.ts +1 -0
- package/dist/esm/transactions/__tests__/bcs.test.js +1 -0
- package/dist/esm/transactions/data/internal.d.ts +1010 -0
- package/dist/esm/transactions/data/internal.js +1 -0
- package/dist/esm/transactions/data/v1.d.ts +312 -0
- package/dist/esm/transactions/data/v1.js +1 -0
- package/dist/esm/transactions/data/v2.d.ts +153 -0
- package/dist/esm/transactions/data/v2.js +1 -0
- package/dist/esm/transactions/executor/caching.d.ts +27 -0
- package/dist/esm/transactions/executor/caching.js +1 -0
- package/dist/esm/transactions/executor/parallel.d.ts +26 -0
- package/dist/esm/transactions/executor/parallel.js +1 -0
- package/dist/esm/transactions/executor/queue.d.ts +11 -0
- package/dist/esm/transactions/executor/queue.js +1 -0
- package/dist/esm/transactions/executor/serial.d.ts +30 -0
- package/dist/esm/transactions/executor/serial.js +1 -0
- package/dist/esm/transactions/hash.d.ts +1 -0
- package/dist/esm/transactions/hash.js +1 -0
- package/dist/esm/transactions/index.d.ts +20 -0
- package/dist/esm/transactions/index.js +1 -0
- package/dist/esm/transactions/intents/CoinWithBalance.d.ts +9 -0
- package/dist/esm/transactions/intents/CoinWithBalance.js +1 -0
- package/dist/esm/transactions/object.d.ts +24 -0
- package/dist/esm/transactions/object.js +1 -0
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.d.ts +13 -0
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.js +1 -0
- package/dist/esm/transactions/pure.d.ts +20 -0
- package/dist/esm/transactions/pure.js +1 -0
- package/dist/esm/transactions/resolve.d.ts +13 -0
- package/dist/esm/transactions/resolve.js +1 -0
- package/dist/esm/transactions/serializer.d.ts +7 -0
- package/dist/esm/transactions/serializer.js +1 -0
- package/dist/esm/transactions/utils.d.ts +10 -0
- package/dist/esm/transactions/utils.js +1 -0
- package/dist/esm/utils/constants.d.ts +11 -0
- package/dist/esm/utils/constants.js +1 -0
- package/dist/esm/utils/derived-objects.d.ts +2 -0
- package/dist/esm/utils/derived-objects.js +1 -0
- package/dist/esm/utils/dynamic-fields.d.ts +2 -0
- package/dist/esm/utils/dynamic-fields.js +1 -0
- package/dist/esm/utils/format.d.ts +2 -0
- package/dist/esm/utils/format.js +1 -0
- package/dist/esm/utils/index.d.ts +8 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/move-registry.d.ts +2 -0
- package/dist/esm/utils/move-registry.js +1 -0
- package/dist/esm/utils/wow-types.d.ts +14 -0
- package/dist/esm/utils/wow-types.js +1 -0
- package/dist/esm/verify/index.d.ts +1 -0
- package/dist/esm/verify/index.js +1 -0
- package/dist/esm/verify/verify.d.ts +16 -0
- package/dist/esm/verify/verify.js +1 -0
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.js +1 -0
- package/dist/esm/w/call/allocation.d.ts +35 -0
- package/dist/esm/w/call/allocation.js +1 -0
- package/dist/esm/w/call/arb.d.ts +17 -0
- package/dist/esm/w/call/arb.js +1 -0
- package/dist/esm/w/call/arbitration.d.ts +106 -0
- package/dist/esm/w/call/arbitration.js +1 -0
- package/dist/esm/w/call/base.d.ts +42 -0
- package/dist/esm/w/call/base.js +1 -0
- package/dist/esm/w/call/contact.d.ts +45 -0
- package/dist/esm/w/call/contact.js +1 -0
- package/dist/esm/w/call/demand.d.ts +79 -0
- package/dist/esm/w/call/demand.js +1 -0
- package/dist/esm/w/call/entity.d.ts +33 -0
- package/dist/esm/w/call/entity.js +1 -0
- package/dist/esm/w/call/guard-ins.d.ts +29 -0
- package/dist/esm/w/call/guard-ins.js +1 -0
- package/dist/esm/w/call/guard.d.ts +350 -0
- package/dist/esm/w/call/guard.js +1 -0
- package/dist/esm/w/call/index.d.ts +37 -0
- package/dist/esm/w/call/index.js +1 -0
- package/dist/esm/w/call/machine.d.ts +124 -0
- package/dist/esm/w/call/machine.js +1 -0
- package/dist/esm/w/call/order.d.ts +73 -0
- package/dist/esm/w/call/order.js +1 -0
- package/dist/esm/w/call/passport.d.ts +24 -0
- package/dist/esm/w/call/passport.js +1 -0
- package/dist/esm/w/call/payment.d.ts +27 -0
- package/dist/esm/w/call/payment.js +1 -0
- package/dist/esm/w/call/permission.d.ts +202 -0
- package/dist/esm/w/call/permission.js +1 -0
- package/dist/esm/w/call/personal.d.ts +51 -0
- package/dist/esm/w/call/personal.js +1 -0
- package/dist/esm/w/call/progress.d.ts +95 -0
- package/dist/esm/w/call/progress.js +1 -0
- package/dist/esm/w/call/proof.d.ts +27 -0
- package/dist/esm/w/call/proof.js +1 -0
- package/dist/esm/w/call/repository.d.ts +97 -0
- package/dist/esm/w/call/repository.js +1 -0
- package/dist/esm/w/call/resource.d.ts +27 -0
- package/dist/esm/w/call/resource.js +1 -0
- package/dist/esm/w/call/reward.d.ts +52 -0
- package/dist/esm/w/call/reward.js +1 -0
- package/dist/esm/w/call/service.d.ts +186 -0
- package/dist/esm/w/call/service.js +1 -0
- package/dist/esm/w/call/treasury.d.ts +77 -0
- package/dist/esm/w/call/treasury.js +1 -0
- package/dist/esm/w/call/util.d.ts +13 -0
- package/dist/esm/w/call/util.js +1 -0
- package/dist/esm/w/common.d.ts +344 -0
- package/dist/esm/w/common.js +1 -0
- package/dist/esm/w/exception.d.ts +83 -0
- package/dist/esm/w/exception.js +1 -0
- package/dist/esm/w/index.d.ts +8 -0
- package/dist/esm/w/index.js +1 -0
- package/dist/esm/w/local/account.d.ts +96 -0
- package/dist/esm/w/local/account.js +1 -0
- package/dist/esm/w/local/cache.d.ts +35 -0
- package/dist/esm/w/local/cache.js +1 -0
- package/dist/esm/w/local/config.d.ts +12 -0
- package/dist/esm/w/local/config.js +1 -0
- package/dist/esm/w/local/index.d.ts +193 -0
- package/dist/esm/w/local/index.js +1 -0
- package/dist/esm/w/local/local.d.ts +93 -0
- package/dist/esm/w/local/local.js +1 -0
- package/dist/esm/w/local/storage.d.ts +41 -0
- package/dist/esm/w/local/storage.js +1 -0
- package/dist/esm/w/local/token.d.ts +19 -0
- package/dist/esm/w/local/token.js +1 -0
- package/dist/esm/w/local/util.d.ts +1 -0
- package/dist/esm/w/local/util.js +1 -0
- package/dist/esm/w/local/wip.d.ts +135 -0
- package/dist/esm/w/local/wip.js +1 -0
- package/dist/esm/w/messenger/crypto.d.ts +88 -0
- package/dist/esm/w/messenger/crypto.js +1 -0
- package/dist/esm/w/messenger/index.d.ts +5 -0
- package/dist/esm/w/messenger/index.js +1 -0
- package/dist/esm/w/messenger/messenger-api.d.ts +140 -0
- package/dist/esm/w/messenger/messenger-api.js +1 -0
- package/dist/esm/w/messenger/messenger-manager.d.ts +85 -0
- package/dist/esm/w/messenger/messenger-manager.js +1 -0
- package/dist/esm/w/messenger/messenger.d.ts +92 -0
- package/dist/esm/w/messenger/messenger.js +1 -0
- package/dist/esm/w/messenger/pq/crypto.d.ts +39 -0
- package/dist/esm/w/messenger/pq/crypto.js +1 -0
- package/dist/esm/w/messenger/pq/erasure.d.ts +17 -0
- package/dist/esm/w/messenger/pq/erasure.js +1 -0
- package/dist/esm/w/messenger/pq/index.d.ts +9 -0
- package/dist/esm/w/messenger/pq/index.js +1 -0
- package/dist/esm/w/messenger/pq/keycombiner.d.ts +1 -0
- package/dist/esm/w/messenger/pq/keycombiner.js +1 -0
- package/dist/esm/w/messenger/pq/pqxdh.d.ts +38 -0
- package/dist/esm/w/messenger/pq/pqxdh.js +1 -0
- package/dist/esm/w/messenger/pq/ratchet.d.ts +12 -0
- package/dist/esm/w/messenger/pq/ratchet.js +1 -0
- package/dist/esm/w/messenger/pq/session.d.ts +41 -0
- package/dist/esm/w/messenger/pq/session.js +1 -0
- package/dist/esm/w/messenger/pq/spqr.d.ts +23 -0
- package/dist/esm/w/messenger/pq/spqr.js +1 -0
- package/dist/esm/w/messenger/pq/store-adapter.d.ts +31 -0
- package/dist/esm/w/messenger/pq/store-adapter.js +1 -0
- package/dist/esm/w/messenger/pq/types.d.ts +180 -0
- package/dist/esm/w/messenger/pq/types.js +1 -0
- package/dist/esm/w/messenger/server.d.ts +48 -0
- package/dist/esm/w/messenger/server.js +1 -0
- package/dist/esm/w/messenger/session.d.ts +65 -0
- package/dist/esm/w/messenger/session.js +1 -0
- package/dist/esm/w/messenger/storage.d.ts +110 -0
- package/dist/esm/w/messenger/storage.js +1 -0
- package/dist/esm/w/messenger/templates/wts-html-template.d.ts +30 -0
- package/dist/esm/w/messenger/templates/wts-html-template.js +1 -0
- package/dist/esm/w/messenger/types.d.ts +647 -0
- package/dist/esm/w/messenger/types.js +1 -0
- package/dist/esm/w/messenger/utils.d.ts +1 -0
- package/dist/esm/w/messenger/utils.js +1 -0
- package/dist/esm/w/query/bult-in.d.ts +62 -0
- package/dist/esm/w/query/bult-in.js +1 -0
- package/dist/esm/w/query/event.d.ts +76 -0
- package/dist/esm/w/query/event.js +1 -0
- package/dist/esm/w/query/index.d.ts +5 -0
- package/dist/esm/w/query/index.js +1 -0
- package/dist/esm/w/query/object.d.ts +626 -0
- package/dist/esm/w/query/object.js +1 -0
- package/dist/esm/w/query/received.d.ts +30 -0
- package/dist/esm/w/query/received.js +1 -0
- package/dist/esm/w/query/util.d.ts +4 -0
- package/dist/esm/w/query/util.js +1 -0
- package/dist/esm/w/util.d.ts +16 -0
- package/dist/esm/w/util.js +1 -0
- package/package.json +335 -0
|
@@ -0,0 +1,954 @@
|
|
|
1
|
+
export interface Balance {
|
|
2
|
+
coinObjectCount: number;
|
|
3
|
+
coinType: string;
|
|
4
|
+
lockedBalance: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
totalBalance: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BalanceChange {
|
|
10
|
+
amount: string;
|
|
11
|
+
coinType: string;
|
|
12
|
+
owner: ObjectOwner;
|
|
13
|
+
}
|
|
14
|
+
export interface Checkpoint {
|
|
15
|
+
checkpointCommitments: CheckpointCommitment[];
|
|
16
|
+
digest: string;
|
|
17
|
+
endOfEpochData?: EndOfEpochData | null;
|
|
18
|
+
epoch: string;
|
|
19
|
+
epochRollingGasCostSummary: GasCostSummary;
|
|
20
|
+
networkTotalTransactions: string;
|
|
21
|
+
previousDigest?: string | null;
|
|
22
|
+
sequenceNumber: string;
|
|
23
|
+
timestampMs: string;
|
|
24
|
+
transactions: string[];
|
|
25
|
+
validatorSignature: string;
|
|
26
|
+
}
|
|
27
|
+
export type CheckpointCommitment = {
|
|
28
|
+
ECMHLiveObjectSetDigest: ECMHLiveObjectSetDigest;
|
|
29
|
+
};
|
|
30
|
+
export type CheckpointId = string | string;
|
|
31
|
+
export interface Claim {
|
|
32
|
+
indexMod4: number;
|
|
33
|
+
value: string;
|
|
34
|
+
}
|
|
35
|
+
export interface CoinStruct {
|
|
36
|
+
balance: string;
|
|
37
|
+
coinObjectId: string;
|
|
38
|
+
coinType: string;
|
|
39
|
+
digest: string;
|
|
40
|
+
previousTransaction: string;
|
|
41
|
+
version: string;
|
|
42
|
+
}
|
|
43
|
+
export interface CommitteeInfo {
|
|
44
|
+
epoch: string;
|
|
45
|
+
validators: [string, string][];
|
|
46
|
+
}
|
|
47
|
+
export type CompressedSignature = {
|
|
48
|
+
Ed25519: string;
|
|
49
|
+
} | {
|
|
50
|
+
Secp256k1: string;
|
|
51
|
+
} | {
|
|
52
|
+
Secp256r1: string;
|
|
53
|
+
} | {
|
|
54
|
+
Falcon512: string;
|
|
55
|
+
};
|
|
56
|
+
export type ConsensusDeterminedVersionAssignments = {
|
|
57
|
+
CancelledTransactions: [string, [string, string][]][];
|
|
58
|
+
} | {
|
|
59
|
+
CancelledTransactionsV2: [string, [[string, string], string][]][];
|
|
60
|
+
};
|
|
61
|
+
export type WowParsedData = {
|
|
62
|
+
dataType: "moveObject";
|
|
63
|
+
fields: MoveStruct;
|
|
64
|
+
hasPublicTransfer: boolean;
|
|
65
|
+
type: string;
|
|
66
|
+
} | {
|
|
67
|
+
dataType: "package";
|
|
68
|
+
disassembled: {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export interface DelegatedStake {
|
|
73
|
+
stakes: StakeObject[];
|
|
74
|
+
stakingPool: string;
|
|
75
|
+
validatorAddress: string;
|
|
76
|
+
}
|
|
77
|
+
export interface DevInspectArgs {
|
|
78
|
+
gasBudget?: string | null;
|
|
79
|
+
gasObjects?: [string, string, string][] | null;
|
|
80
|
+
gasSponsor?: string | null;
|
|
81
|
+
showRawTxnDataAndEffects?: boolean | null;
|
|
82
|
+
skipChecks?: boolean | null;
|
|
83
|
+
}
|
|
84
|
+
export interface DevInspectResults {
|
|
85
|
+
effects: TransactionEffects;
|
|
86
|
+
error?: string | null;
|
|
87
|
+
events: WowEvent[];
|
|
88
|
+
rawEffects?: number[];
|
|
89
|
+
rawTxnData?: number[];
|
|
90
|
+
results?: SuiExecutionResult[] | null;
|
|
91
|
+
}
|
|
92
|
+
export interface DisplayFieldsResponse {
|
|
93
|
+
data?: {
|
|
94
|
+
[key: string]: string;
|
|
95
|
+
} | null;
|
|
96
|
+
error?: ObjectResponseError | null;
|
|
97
|
+
}
|
|
98
|
+
export interface DryRunTransactionBlockResponse {
|
|
99
|
+
balanceChanges: BalanceChange[];
|
|
100
|
+
effects: TransactionEffects;
|
|
101
|
+
events: WowEvent[];
|
|
102
|
+
executionErrorSource?: string | null;
|
|
103
|
+
input: TransactionBlockData;
|
|
104
|
+
objectChanges: WowObjectChange[];
|
|
105
|
+
suggestedGasPrice?: string | null;
|
|
106
|
+
}
|
|
107
|
+
export type DynamicFieldInfo = {
|
|
108
|
+
digest: string;
|
|
109
|
+
name: DynamicFieldName;
|
|
110
|
+
objectId: string;
|
|
111
|
+
objectType: string;
|
|
112
|
+
type: DynamicFieldType;
|
|
113
|
+
version: string;
|
|
114
|
+
bcsEncoding: "base64";
|
|
115
|
+
bcsName: string;
|
|
116
|
+
} | {
|
|
117
|
+
digest: string;
|
|
118
|
+
name: DynamicFieldName;
|
|
119
|
+
objectId: string;
|
|
120
|
+
objectType: string;
|
|
121
|
+
type: DynamicFieldType;
|
|
122
|
+
version: string;
|
|
123
|
+
bcsEncoding: "base58";
|
|
124
|
+
bcsName: string;
|
|
125
|
+
};
|
|
126
|
+
export interface DynamicFieldName {
|
|
127
|
+
type: string;
|
|
128
|
+
value: unknown;
|
|
129
|
+
}
|
|
130
|
+
export type DynamicFieldType = "DynamicField" | "DynamicObject";
|
|
131
|
+
export interface ECMHLiveObjectSetDigest {
|
|
132
|
+
digest: number[];
|
|
133
|
+
}
|
|
134
|
+
export interface EndOfEpochData {
|
|
135
|
+
epochCommitments: CheckpointCommitment[];
|
|
136
|
+
nextEpochCommittee: [string, string][];
|
|
137
|
+
nextEpochProtocolVersion: string;
|
|
138
|
+
}
|
|
139
|
+
export type WowEvent = {
|
|
140
|
+
id: EventId;
|
|
141
|
+
packageId: string;
|
|
142
|
+
parsedJson: unknown;
|
|
143
|
+
sender: string;
|
|
144
|
+
timestampMs?: string | null;
|
|
145
|
+
transactionModule: string;
|
|
146
|
+
type: string;
|
|
147
|
+
bcs: string;
|
|
148
|
+
bcsEncoding: "base64";
|
|
149
|
+
} | {
|
|
150
|
+
id: EventId;
|
|
151
|
+
packageId: string;
|
|
152
|
+
parsedJson: unknown;
|
|
153
|
+
sender: string;
|
|
154
|
+
timestampMs?: string | null;
|
|
155
|
+
transactionModule: string;
|
|
156
|
+
type: string;
|
|
157
|
+
bcs: string;
|
|
158
|
+
bcsEncoding: "base58";
|
|
159
|
+
};
|
|
160
|
+
export type WowEventFilter = {
|
|
161
|
+
All: [];
|
|
162
|
+
} | {
|
|
163
|
+
Any: WowEventFilter[];
|
|
164
|
+
} | {
|
|
165
|
+
Sender: string;
|
|
166
|
+
} | {
|
|
167
|
+
Transaction: string;
|
|
168
|
+
} | {
|
|
169
|
+
MoveModule: {
|
|
170
|
+
module: string;
|
|
171
|
+
package: string;
|
|
172
|
+
};
|
|
173
|
+
} | {
|
|
174
|
+
MoveEventType: string;
|
|
175
|
+
} | {
|
|
176
|
+
MoveEventModule: {
|
|
177
|
+
module: string;
|
|
178
|
+
package: string;
|
|
179
|
+
};
|
|
180
|
+
} | {
|
|
181
|
+
TimeRange: {
|
|
182
|
+
endTime: string;
|
|
183
|
+
startTime: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
export interface EventId {
|
|
187
|
+
eventSeq: string;
|
|
188
|
+
txDigest: string;
|
|
189
|
+
}
|
|
190
|
+
export type ExecuteTransactionRequestType = "WaitForEffectsCert" | "WaitForLocalExecution";
|
|
191
|
+
export type ExecutionStatus = {
|
|
192
|
+
status: "success" | "failure";
|
|
193
|
+
error?: string;
|
|
194
|
+
};
|
|
195
|
+
export interface GasCostSummary {
|
|
196
|
+
computationCost: string;
|
|
197
|
+
nonRefundableStorageFee: string;
|
|
198
|
+
storageCost: string;
|
|
199
|
+
storageRebate: string;
|
|
200
|
+
}
|
|
201
|
+
export interface SuiGasData {
|
|
202
|
+
budget: string;
|
|
203
|
+
owner: string;
|
|
204
|
+
payment: WowObjectRef[];
|
|
205
|
+
price: string;
|
|
206
|
+
}
|
|
207
|
+
export interface GetPastObjectRequest {
|
|
208
|
+
objectId: string;
|
|
209
|
+
version: string;
|
|
210
|
+
}
|
|
211
|
+
export type InputObjectKind = {
|
|
212
|
+
MovePackage: string;
|
|
213
|
+
} | {
|
|
214
|
+
ImmOrOwnedMoveObject: WowObjectRef;
|
|
215
|
+
} | {
|
|
216
|
+
SharedMoveObject: {
|
|
217
|
+
id: string;
|
|
218
|
+
initial_shared_version: string;
|
|
219
|
+
mutable?: boolean;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
export interface MoveCallParams {
|
|
223
|
+
arguments: unknown[];
|
|
224
|
+
function: string;
|
|
225
|
+
module: string;
|
|
226
|
+
packageObjectId: string;
|
|
227
|
+
typeArguments?: string[];
|
|
228
|
+
}
|
|
229
|
+
export type WowMoveFunctionArgType = "Pure" | {
|
|
230
|
+
Object: ObjectValueKind;
|
|
231
|
+
};
|
|
232
|
+
export type MoveStruct = MoveValue[] | {
|
|
233
|
+
fields: {
|
|
234
|
+
[key: string]: MoveValue;
|
|
235
|
+
};
|
|
236
|
+
type: string;
|
|
237
|
+
} | {
|
|
238
|
+
[key: string]: MoveValue;
|
|
239
|
+
};
|
|
240
|
+
export type MoveValue = number | boolean | string | MoveValue[] | string | {
|
|
241
|
+
id: string;
|
|
242
|
+
} | MoveStruct | null | MoveVariant;
|
|
243
|
+
export interface MoveVariant {
|
|
244
|
+
fields: {
|
|
245
|
+
[key: string]: MoveValue;
|
|
246
|
+
};
|
|
247
|
+
type: string;
|
|
248
|
+
variant: string;
|
|
249
|
+
}
|
|
250
|
+
export interface MultiSig {
|
|
251
|
+
bitmap: number;
|
|
252
|
+
multisig_pk: MultiSigPublicKey;
|
|
253
|
+
sigs: CompressedSignature[];
|
|
254
|
+
}
|
|
255
|
+
export interface MultiSigLegacy {
|
|
256
|
+
bitmap: string;
|
|
257
|
+
multisig_pk: MultiSigPublicKeyLegacy;
|
|
258
|
+
sigs: CompressedSignature[];
|
|
259
|
+
}
|
|
260
|
+
export interface MultiSigPublicKey {
|
|
261
|
+
pk_map: [PublicKey, number][];
|
|
262
|
+
threshold: number;
|
|
263
|
+
}
|
|
264
|
+
export interface MultiSigPublicKeyLegacy {
|
|
265
|
+
pk_map: [PublicKey, number][];
|
|
266
|
+
threshold: number;
|
|
267
|
+
}
|
|
268
|
+
export type WowObjectChange = {
|
|
269
|
+
digest: string;
|
|
270
|
+
modules: string[];
|
|
271
|
+
packageId: string;
|
|
272
|
+
type: "published";
|
|
273
|
+
version: string;
|
|
274
|
+
} | {
|
|
275
|
+
digest: string;
|
|
276
|
+
objectId: string;
|
|
277
|
+
objectType: string;
|
|
278
|
+
recipient: ObjectOwner;
|
|
279
|
+
sender: string;
|
|
280
|
+
type: "transferred";
|
|
281
|
+
version: string;
|
|
282
|
+
} | {
|
|
283
|
+
digest: string;
|
|
284
|
+
objectId: string;
|
|
285
|
+
objectType: string;
|
|
286
|
+
owner: ObjectOwner;
|
|
287
|
+
previousVersion: string;
|
|
288
|
+
sender: string;
|
|
289
|
+
type: "mutated";
|
|
290
|
+
version: string;
|
|
291
|
+
} | {
|
|
292
|
+
objectId: string;
|
|
293
|
+
objectType: string;
|
|
294
|
+
sender: string;
|
|
295
|
+
type: "deleted";
|
|
296
|
+
version: string;
|
|
297
|
+
} | {
|
|
298
|
+
objectId: string;
|
|
299
|
+
objectType: string;
|
|
300
|
+
sender: string;
|
|
301
|
+
type: "wrapped";
|
|
302
|
+
version: string;
|
|
303
|
+
} | {
|
|
304
|
+
digest: string;
|
|
305
|
+
objectId: string;
|
|
306
|
+
objectType: string;
|
|
307
|
+
owner: ObjectOwner;
|
|
308
|
+
sender: string;
|
|
309
|
+
type: "created";
|
|
310
|
+
version: string;
|
|
311
|
+
};
|
|
312
|
+
export interface WowObjectData {
|
|
313
|
+
bcs?: RawData | null;
|
|
314
|
+
content?: WowParsedData | null;
|
|
315
|
+
digest: string;
|
|
316
|
+
display?: DisplayFieldsResponse | null;
|
|
317
|
+
objectId: string;
|
|
318
|
+
owner?: ObjectOwner | null;
|
|
319
|
+
previousTransaction?: string | null;
|
|
320
|
+
storageRebate?: string | null;
|
|
321
|
+
type?: string | null;
|
|
322
|
+
version: string;
|
|
323
|
+
}
|
|
324
|
+
export interface WowObjectDataOptions {
|
|
325
|
+
showBcs?: boolean;
|
|
326
|
+
showContent?: boolean;
|
|
327
|
+
showDisplay?: boolean;
|
|
328
|
+
showOwner?: boolean;
|
|
329
|
+
showPreviousTransaction?: boolean;
|
|
330
|
+
showStorageRebate?: boolean;
|
|
331
|
+
showType?: boolean;
|
|
332
|
+
}
|
|
333
|
+
export type ObjectRead = {
|
|
334
|
+
details: WowObjectData;
|
|
335
|
+
status: "VersionFound";
|
|
336
|
+
} | {
|
|
337
|
+
details: string;
|
|
338
|
+
status: "ObjectNotExists";
|
|
339
|
+
} | {
|
|
340
|
+
details: WowObjectRef;
|
|
341
|
+
status: "ObjectDeleted";
|
|
342
|
+
} | {
|
|
343
|
+
details: [string, string];
|
|
344
|
+
status: "VersionNotFound";
|
|
345
|
+
} | {
|
|
346
|
+
details: {
|
|
347
|
+
asked_version: string;
|
|
348
|
+
latest_version: string;
|
|
349
|
+
object_id: string;
|
|
350
|
+
};
|
|
351
|
+
status: "VersionTooHigh";
|
|
352
|
+
};
|
|
353
|
+
export interface WowObjectRef {
|
|
354
|
+
digest: string;
|
|
355
|
+
objectId: string;
|
|
356
|
+
version: string;
|
|
357
|
+
}
|
|
358
|
+
export type ObjectResponseError = {
|
|
359
|
+
code: "notExists";
|
|
360
|
+
object_id: string;
|
|
361
|
+
} | {
|
|
362
|
+
code: "dynamicFieldNotFound";
|
|
363
|
+
parent_object_id: string;
|
|
364
|
+
} | {
|
|
365
|
+
code: "deleted";
|
|
366
|
+
digest: string;
|
|
367
|
+
object_id: string;
|
|
368
|
+
version: string;
|
|
369
|
+
} | {
|
|
370
|
+
code: "unknown";
|
|
371
|
+
} | {
|
|
372
|
+
code: "displayError";
|
|
373
|
+
error: string;
|
|
374
|
+
};
|
|
375
|
+
export interface WowObjectResponseQuery {
|
|
376
|
+
filter?: WowObjectDataFilter | null;
|
|
377
|
+
options?: WowObjectDataOptions | null;
|
|
378
|
+
}
|
|
379
|
+
export type ObjectValueKind = "ByImmutableReference" | "ByMutableReference" | "ByValue";
|
|
380
|
+
export interface OwnedObjectRef {
|
|
381
|
+
owner: ObjectOwner;
|
|
382
|
+
reference: WowObjectRef;
|
|
383
|
+
}
|
|
384
|
+
export type ObjectOwner = {
|
|
385
|
+
AddressOwner: string;
|
|
386
|
+
} | {
|
|
387
|
+
ObjectOwner: string;
|
|
388
|
+
} | {
|
|
389
|
+
Shared: {
|
|
390
|
+
initial_shared_version: string;
|
|
391
|
+
};
|
|
392
|
+
} | "Immutable" | {
|
|
393
|
+
ConsensusAddressOwner: {
|
|
394
|
+
owner: string;
|
|
395
|
+
start_version: string;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
export interface PaginatedCheckpoints {
|
|
399
|
+
data: Checkpoint[];
|
|
400
|
+
hasNextPage: boolean;
|
|
401
|
+
nextCursor?: string | null;
|
|
402
|
+
}
|
|
403
|
+
export interface PaginatedCoins {
|
|
404
|
+
data: CoinStruct[];
|
|
405
|
+
hasNextPage: boolean;
|
|
406
|
+
nextCursor?: string | null;
|
|
407
|
+
}
|
|
408
|
+
export interface PaginatedDynamicFieldInfos {
|
|
409
|
+
data: DynamicFieldInfo[];
|
|
410
|
+
hasNextPage: boolean;
|
|
411
|
+
nextCursor?: string | null;
|
|
412
|
+
}
|
|
413
|
+
export interface PaginatedEvents {
|
|
414
|
+
data: WowEvent[];
|
|
415
|
+
hasNextPage: boolean;
|
|
416
|
+
nextCursor?: EventId | null;
|
|
417
|
+
}
|
|
418
|
+
export interface PaginatedStrings {
|
|
419
|
+
data: string[];
|
|
420
|
+
hasNextPage: boolean;
|
|
421
|
+
nextCursor?: string | null;
|
|
422
|
+
}
|
|
423
|
+
export interface PaginatedObjectsResponse {
|
|
424
|
+
data: WowObjectResponse[];
|
|
425
|
+
hasNextPage: boolean;
|
|
426
|
+
nextCursor?: string | null;
|
|
427
|
+
}
|
|
428
|
+
export interface PaginatedTransactionResponse {
|
|
429
|
+
data: WowTransactionBlockResponse[];
|
|
430
|
+
hasNextPage: boolean;
|
|
431
|
+
nextCursor?: string | null;
|
|
432
|
+
}
|
|
433
|
+
export interface ProtocolConfig {
|
|
434
|
+
attributes: {
|
|
435
|
+
[key: string]: ProtocolConfigValue | null;
|
|
436
|
+
};
|
|
437
|
+
featureFlags: {
|
|
438
|
+
[key: string]: boolean;
|
|
439
|
+
};
|
|
440
|
+
maxSupportedProtocolVersion: string;
|
|
441
|
+
minSupportedProtocolVersion: string;
|
|
442
|
+
protocolVersion: string;
|
|
443
|
+
}
|
|
444
|
+
export type ProtocolConfigValue = {
|
|
445
|
+
u16: string;
|
|
446
|
+
} | {
|
|
447
|
+
u32: string;
|
|
448
|
+
} | {
|
|
449
|
+
u64: string;
|
|
450
|
+
} | {
|
|
451
|
+
f64: string;
|
|
452
|
+
} | {
|
|
453
|
+
bool: string;
|
|
454
|
+
};
|
|
455
|
+
export type PublicKey = {
|
|
456
|
+
Ed25519: string;
|
|
457
|
+
} | {
|
|
458
|
+
Secp256k1: string;
|
|
459
|
+
} | {
|
|
460
|
+
Secp256r1: string;
|
|
461
|
+
} | {
|
|
462
|
+
Falcon512: string;
|
|
463
|
+
};
|
|
464
|
+
export type RPCTransactionRequestParams = {
|
|
465
|
+
transferObjectRequestParams: TransferObjectParams;
|
|
466
|
+
} | {
|
|
467
|
+
moveCallRequestParams: MoveCallParams;
|
|
468
|
+
};
|
|
469
|
+
export type RawData = {
|
|
470
|
+
bcsBytes: string;
|
|
471
|
+
dataType: "moveObject";
|
|
472
|
+
hasPublicTransfer: boolean;
|
|
473
|
+
type: string;
|
|
474
|
+
version: string;
|
|
475
|
+
} | {
|
|
476
|
+
dataType: "package";
|
|
477
|
+
id: string;
|
|
478
|
+
linkageTable: {
|
|
479
|
+
[key: string]: UpgradeInfo;
|
|
480
|
+
};
|
|
481
|
+
moduleMap: {
|
|
482
|
+
[key: string]: string;
|
|
483
|
+
};
|
|
484
|
+
typeOriginTable: TypeOrigin[];
|
|
485
|
+
version: string;
|
|
486
|
+
};
|
|
487
|
+
export type Signature = {
|
|
488
|
+
Ed25519SuiSignature: string;
|
|
489
|
+
} | {
|
|
490
|
+
Secp256k1SuiSignature: string;
|
|
491
|
+
} | {
|
|
492
|
+
Secp256r1SuiSignature: string;
|
|
493
|
+
} | {
|
|
494
|
+
Falcon512SuiSignature: string;
|
|
495
|
+
};
|
|
496
|
+
export type StakeObject = {
|
|
497
|
+
principal: string;
|
|
498
|
+
stakeActiveEpoch: string;
|
|
499
|
+
stakeRequestEpoch: string;
|
|
500
|
+
stakedSuiId: string;
|
|
501
|
+
status: "Pending";
|
|
502
|
+
} | {
|
|
503
|
+
principal: string;
|
|
504
|
+
stakeActiveEpoch: string;
|
|
505
|
+
stakeRequestEpoch: string;
|
|
506
|
+
stakedSuiId: string;
|
|
507
|
+
estimatedReward: string;
|
|
508
|
+
status: "Active";
|
|
509
|
+
} | {
|
|
510
|
+
principal: string;
|
|
511
|
+
stakeActiveEpoch: string;
|
|
512
|
+
stakeRequestEpoch: string;
|
|
513
|
+
stakedSuiId: string;
|
|
514
|
+
status: "Unstaked";
|
|
515
|
+
};
|
|
516
|
+
export type SuiArgument = "GasCoin" | {
|
|
517
|
+
Input: number;
|
|
518
|
+
} | {
|
|
519
|
+
Result: number;
|
|
520
|
+
} | {
|
|
521
|
+
NestedResult: [number, number];
|
|
522
|
+
};
|
|
523
|
+
export type SuiCallArg = {
|
|
524
|
+
type: "object";
|
|
525
|
+
digest: string;
|
|
526
|
+
objectId: string;
|
|
527
|
+
objectType: "immOrOwnedObject";
|
|
528
|
+
version: string;
|
|
529
|
+
} | {
|
|
530
|
+
type: "object";
|
|
531
|
+
initialSharedVersion: string;
|
|
532
|
+
mutable: boolean;
|
|
533
|
+
objectId: string;
|
|
534
|
+
objectType: "sharedObject";
|
|
535
|
+
} | {
|
|
536
|
+
type: "object";
|
|
537
|
+
digest: string;
|
|
538
|
+
objectId: string;
|
|
539
|
+
objectType: "receiving";
|
|
540
|
+
version: string;
|
|
541
|
+
} | {
|
|
542
|
+
type: "pure";
|
|
543
|
+
value: unknown;
|
|
544
|
+
valueType?: string | null;
|
|
545
|
+
};
|
|
546
|
+
export interface SuiChangeEpoch {
|
|
547
|
+
computation_charge: string;
|
|
548
|
+
epoch: string;
|
|
549
|
+
epoch_start_timestamp_ms: string;
|
|
550
|
+
storage_charge: string;
|
|
551
|
+
storage_rebate: string;
|
|
552
|
+
}
|
|
553
|
+
export interface CoinMetadata {
|
|
554
|
+
decimals: number;
|
|
555
|
+
description: string;
|
|
556
|
+
iconUrl?: string | null;
|
|
557
|
+
id?: string | null;
|
|
558
|
+
name: string;
|
|
559
|
+
symbol: string;
|
|
560
|
+
}
|
|
561
|
+
export type SuiEndOfEpochTransactionKind = "RandomnessStateCreate" | "CoinDenyListStateCreate" | "StoreExecutionTimeObservations" | "AccumulatorRootCreate" | {
|
|
562
|
+
ChangeEpoch: SuiChangeEpoch;
|
|
563
|
+
} | {
|
|
564
|
+
BridgeStateCreate: string;
|
|
565
|
+
} | {
|
|
566
|
+
BridgeCommitteeUpdate: string;
|
|
567
|
+
};
|
|
568
|
+
export interface SuiExecutionResult {
|
|
569
|
+
mutableReferenceOutputs?: [SuiArgument, number[], string][];
|
|
570
|
+
returnValues?: [number[], string][];
|
|
571
|
+
}
|
|
572
|
+
export type SuiMoveAbility = "Copy" | "Drop" | "Store" | "Key";
|
|
573
|
+
export interface WowMoveAbilitySet {
|
|
574
|
+
abilities: SuiMoveAbility[];
|
|
575
|
+
}
|
|
576
|
+
export interface SuiMoveAbort {
|
|
577
|
+
error_code?: string | null;
|
|
578
|
+
function?: string | null;
|
|
579
|
+
line?: number | null;
|
|
580
|
+
module_id?: string | null;
|
|
581
|
+
}
|
|
582
|
+
export interface SuiMoveModuleId {
|
|
583
|
+
address: string;
|
|
584
|
+
name: string;
|
|
585
|
+
}
|
|
586
|
+
export interface SuiMoveNormalizedEnum {
|
|
587
|
+
abilities: WowMoveAbilitySet;
|
|
588
|
+
typeParameters: SuiMoveStructTypeParameter[];
|
|
589
|
+
variantDeclarationOrder?: string[] | null;
|
|
590
|
+
variants: {
|
|
591
|
+
[key: string]: SuiMoveNormalizedField[];
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
export interface SuiMoveNormalizedField {
|
|
595
|
+
name: string;
|
|
596
|
+
type: WowMoveNormalizedType;
|
|
597
|
+
}
|
|
598
|
+
export interface WowMoveNormalizedFunction {
|
|
599
|
+
isEntry: boolean;
|
|
600
|
+
parameters: WowMoveNormalizedType[];
|
|
601
|
+
return: WowMoveNormalizedType[];
|
|
602
|
+
typeParameters: WowMoveAbilitySet[];
|
|
603
|
+
visibility: WowMoveVisibility;
|
|
604
|
+
}
|
|
605
|
+
export interface WowMoveNormalizedModule {
|
|
606
|
+
address: string;
|
|
607
|
+
enums?: {
|
|
608
|
+
[key: string]: SuiMoveNormalizedEnum;
|
|
609
|
+
};
|
|
610
|
+
exposedFunctions: {
|
|
611
|
+
[key: string]: WowMoveNormalizedFunction;
|
|
612
|
+
};
|
|
613
|
+
fileFormatVersion: number;
|
|
614
|
+
friends: SuiMoveModuleId[];
|
|
615
|
+
name: string;
|
|
616
|
+
structs: {
|
|
617
|
+
[key: string]: WowMoveNormalizedStruct;
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
export interface WowMoveNormalizedStruct {
|
|
621
|
+
abilities: WowMoveAbilitySet;
|
|
622
|
+
fields: SuiMoveNormalizedField[];
|
|
623
|
+
typeParameters: SuiMoveStructTypeParameter[];
|
|
624
|
+
}
|
|
625
|
+
export type WowMoveNormalizedType = "Bool" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "Address" | "Signer" | {
|
|
626
|
+
Struct: {
|
|
627
|
+
address: string;
|
|
628
|
+
module: string;
|
|
629
|
+
name: string;
|
|
630
|
+
typeArguments: WowMoveNormalizedType[];
|
|
631
|
+
};
|
|
632
|
+
} | {
|
|
633
|
+
Vector: WowMoveNormalizedType;
|
|
634
|
+
} | {
|
|
635
|
+
TypeParameter: number;
|
|
636
|
+
} | {
|
|
637
|
+
Reference: WowMoveNormalizedType;
|
|
638
|
+
} | {
|
|
639
|
+
MutableReference: WowMoveNormalizedType;
|
|
640
|
+
};
|
|
641
|
+
export interface SuiMoveStructTypeParameter {
|
|
642
|
+
constraints: WowMoveAbilitySet;
|
|
643
|
+
isPhantom: boolean;
|
|
644
|
+
}
|
|
645
|
+
export type WowMoveVisibility = "Private" | "Public" | "Friend";
|
|
646
|
+
export type WowObjectDataFilter = {
|
|
647
|
+
MatchAll: WowObjectDataFilter[];
|
|
648
|
+
} | {
|
|
649
|
+
MatchAny: WowObjectDataFilter[];
|
|
650
|
+
} | {
|
|
651
|
+
MatchNone: WowObjectDataFilter[];
|
|
652
|
+
} | {
|
|
653
|
+
Package: string;
|
|
654
|
+
} | {
|
|
655
|
+
MoveModule: {
|
|
656
|
+
module: string;
|
|
657
|
+
package: string;
|
|
658
|
+
};
|
|
659
|
+
} | {
|
|
660
|
+
StructType: string;
|
|
661
|
+
} | {
|
|
662
|
+
AddressOwner: string;
|
|
663
|
+
} | {
|
|
664
|
+
ObjectOwner: string;
|
|
665
|
+
} | {
|
|
666
|
+
ObjectId: string;
|
|
667
|
+
} | {
|
|
668
|
+
ObjectIds: string[];
|
|
669
|
+
} | {
|
|
670
|
+
Version: string;
|
|
671
|
+
};
|
|
672
|
+
export interface WowObjectResponse {
|
|
673
|
+
data?: WowObjectData | null;
|
|
674
|
+
error?: ObjectResponseError | null;
|
|
675
|
+
}
|
|
676
|
+
export interface MoveCallSuiTransaction {
|
|
677
|
+
arguments?: SuiArgument[];
|
|
678
|
+
function: string;
|
|
679
|
+
module: string;
|
|
680
|
+
package: string;
|
|
681
|
+
type_arguments?: string[];
|
|
682
|
+
}
|
|
683
|
+
export interface WowSystemStateSummary {
|
|
684
|
+
activeValidators: SuiValidatorSummary[];
|
|
685
|
+
atRiskValidators: [string, string][];
|
|
686
|
+
epoch: string;
|
|
687
|
+
epochDurationMs: string;
|
|
688
|
+
epochStartTimestampMs: string;
|
|
689
|
+
inactivePoolsId: string;
|
|
690
|
+
inactivePoolsSize: string;
|
|
691
|
+
maxValidatorCount: string;
|
|
692
|
+
minValidatorJoiningStake: string;
|
|
693
|
+
pendingActiveValidatorsId: string;
|
|
694
|
+
pendingActiveValidatorsSize: string;
|
|
695
|
+
pendingRemovals: string[];
|
|
696
|
+
protocolVersion: string;
|
|
697
|
+
referenceGasPrice: string;
|
|
698
|
+
safeMode: boolean;
|
|
699
|
+
safeModeComputationRewards: string;
|
|
700
|
+
safeModeNonRefundableStorageFee: string;
|
|
701
|
+
safeModeStorageRebates: string;
|
|
702
|
+
safeModeStorageRewards: string;
|
|
703
|
+
stakeSubsidyBalance: string;
|
|
704
|
+
stakeSubsidyCurrentDistributionAmount: string;
|
|
705
|
+
stakeSubsidyDecreaseRate: number;
|
|
706
|
+
stakeSubsidyDistributionCounter: string;
|
|
707
|
+
stakeSubsidyPeriodLength: string;
|
|
708
|
+
stakeSubsidyStartEpoch: string;
|
|
709
|
+
stakingPoolMappingsId: string;
|
|
710
|
+
stakingPoolMappingsSize: string;
|
|
711
|
+
storageFundNonRefundableBalance: string;
|
|
712
|
+
storageFundTotalObjectStorageRebates: string;
|
|
713
|
+
systemStateVersion: string;
|
|
714
|
+
totalStake: string;
|
|
715
|
+
validatorCandidatesId: string;
|
|
716
|
+
validatorCandidatesSize: string;
|
|
717
|
+
validatorLowStakeGracePeriod: string;
|
|
718
|
+
validatorLowStakeThreshold: string;
|
|
719
|
+
validatorReportRecords: [string, string[]][];
|
|
720
|
+
validatorVeryLowStakeThreshold: string;
|
|
721
|
+
}
|
|
722
|
+
export type SuiTransaction = {
|
|
723
|
+
MoveCall: MoveCallSuiTransaction;
|
|
724
|
+
} | {
|
|
725
|
+
TransferObjects: [SuiArgument[], SuiArgument];
|
|
726
|
+
} | {
|
|
727
|
+
SplitCoins: [SuiArgument, SuiArgument[]];
|
|
728
|
+
} | {
|
|
729
|
+
MergeCoins: [SuiArgument, SuiArgument[]];
|
|
730
|
+
} | {
|
|
731
|
+
Publish: string[];
|
|
732
|
+
} | {
|
|
733
|
+
Upgrade: [string[], string, SuiArgument];
|
|
734
|
+
} | {
|
|
735
|
+
MakeMoveVec: [string | null, SuiArgument[]];
|
|
736
|
+
};
|
|
737
|
+
export type SuiTransactionBlockBuilderMode = "Commit" | "DevInspect";
|
|
738
|
+
export interface SuiValidatorSummary {
|
|
739
|
+
commissionRate: string;
|
|
740
|
+
description: string;
|
|
741
|
+
exchangeRatesId: string;
|
|
742
|
+
exchangeRatesSize: string;
|
|
743
|
+
gasPrice: string;
|
|
744
|
+
imageUrl: string;
|
|
745
|
+
name: string;
|
|
746
|
+
netAddress: string;
|
|
747
|
+
networkPubkeyBytes: string;
|
|
748
|
+
nextEpochCommissionRate: string;
|
|
749
|
+
nextEpochGasPrice: string;
|
|
750
|
+
nextEpochNetAddress?: string | null;
|
|
751
|
+
nextEpochNetworkPubkeyBytes?: string | null;
|
|
752
|
+
nextEpochP2pAddress?: string | null;
|
|
753
|
+
nextEpochPrimaryAddress?: string | null;
|
|
754
|
+
nextEpochProofOfPossession?: string | null;
|
|
755
|
+
nextEpochProtocolPubkeyBytes?: string | null;
|
|
756
|
+
nextEpochStake: string;
|
|
757
|
+
nextEpochWorkerAddress?: string | null;
|
|
758
|
+
nextEpochWorkerPubkeyBytes?: string | null;
|
|
759
|
+
operationCapId: string;
|
|
760
|
+
p2pAddress: string;
|
|
761
|
+
pendingPoolTokenWithdraw: string;
|
|
762
|
+
pendingStake: string;
|
|
763
|
+
pendingTotalSuiWithdraw: string;
|
|
764
|
+
poolTokenBalance: string;
|
|
765
|
+
primaryAddress: string;
|
|
766
|
+
projectUrl: string;
|
|
767
|
+
proofOfPossessionBytes: string;
|
|
768
|
+
protocolPubkeyBytes: string;
|
|
769
|
+
rewardsPool: string;
|
|
770
|
+
stakingPoolActivationEpoch?: string | null;
|
|
771
|
+
stakingPoolDeactivationEpoch?: string | null;
|
|
772
|
+
stakingPoolId: string;
|
|
773
|
+
stakingPoolWowBalance: string;
|
|
774
|
+
wowAddress: string;
|
|
775
|
+
votingPower: string;
|
|
776
|
+
workerAddress: string;
|
|
777
|
+
workerPubkeyBytes: string;
|
|
778
|
+
}
|
|
779
|
+
export interface CoinSupply {
|
|
780
|
+
value: string;
|
|
781
|
+
}
|
|
782
|
+
export interface SuiTransactionBlock {
|
|
783
|
+
data: TransactionBlockData;
|
|
784
|
+
txSignatures: string[];
|
|
785
|
+
}
|
|
786
|
+
export interface TransactionBlockBytes {
|
|
787
|
+
gas: WowObjectRef[];
|
|
788
|
+
inputObjects: InputObjectKind[];
|
|
789
|
+
txBytes: string;
|
|
790
|
+
}
|
|
791
|
+
export type TransactionBlockData = {
|
|
792
|
+
gasData: SuiGasData;
|
|
793
|
+
messageVersion: "v1";
|
|
794
|
+
sender: string;
|
|
795
|
+
transaction: SuiTransactionBlockKind;
|
|
796
|
+
};
|
|
797
|
+
export type TransactionEffects = {
|
|
798
|
+
abortError?: SuiMoveAbort | null;
|
|
799
|
+
created?: OwnedObjectRef[];
|
|
800
|
+
deleted?: WowObjectRef[];
|
|
801
|
+
dependencies?: string[];
|
|
802
|
+
eventsDigest?: string | null;
|
|
803
|
+
executedEpoch: string;
|
|
804
|
+
gasObject: OwnedObjectRef;
|
|
805
|
+
gasUsed: GasCostSummary;
|
|
806
|
+
messageVersion: "v1";
|
|
807
|
+
modifiedAtVersions?: TransactionBlockEffectsModifiedAtVersions[];
|
|
808
|
+
mutated?: OwnedObjectRef[];
|
|
809
|
+
sharedObjects?: WowObjectRef[];
|
|
810
|
+
status: ExecutionStatus;
|
|
811
|
+
transactionDigest: string;
|
|
812
|
+
unwrapped?: OwnedObjectRef[];
|
|
813
|
+
unwrappedThenDeleted?: WowObjectRef[];
|
|
814
|
+
wrapped?: WowObjectRef[];
|
|
815
|
+
};
|
|
816
|
+
export interface TransactionBlockEffectsModifiedAtVersions {
|
|
817
|
+
objectId: string;
|
|
818
|
+
sequenceNumber: string;
|
|
819
|
+
}
|
|
820
|
+
export type SuiTransactionBlockKind = {
|
|
821
|
+
computation_charge: string;
|
|
822
|
+
epoch: string;
|
|
823
|
+
epoch_start_timestamp_ms: string;
|
|
824
|
+
kind: "ChangeEpoch";
|
|
825
|
+
storage_charge: string;
|
|
826
|
+
storage_rebate: string;
|
|
827
|
+
} | {
|
|
828
|
+
kind: "Genesis";
|
|
829
|
+
objects: string[];
|
|
830
|
+
} | {
|
|
831
|
+
commit_timestamp_ms: string;
|
|
832
|
+
epoch: string;
|
|
833
|
+
kind: "ConsensusCommitPrologue";
|
|
834
|
+
round: string;
|
|
835
|
+
} | {
|
|
836
|
+
inputs: SuiCallArg[];
|
|
837
|
+
kind: "ProgrammableTransaction";
|
|
838
|
+
transactions: SuiTransaction[];
|
|
839
|
+
} | {
|
|
840
|
+
epoch: string;
|
|
841
|
+
kind: "RandomnessStateUpdate";
|
|
842
|
+
random_bytes: number[];
|
|
843
|
+
randomness_round: string;
|
|
844
|
+
} | {
|
|
845
|
+
kind: "EndOfEpochTransaction";
|
|
846
|
+
transactions: SuiEndOfEpochTransactionKind[];
|
|
847
|
+
} | {
|
|
848
|
+
commit_timestamp_ms: string;
|
|
849
|
+
consensus_commit_digest: string;
|
|
850
|
+
epoch: string;
|
|
851
|
+
kind: "ConsensusCommitPrologueV2";
|
|
852
|
+
round: string;
|
|
853
|
+
} | {
|
|
854
|
+
commit_timestamp_ms: string;
|
|
855
|
+
consensus_commit_digest: string;
|
|
856
|
+
consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments;
|
|
857
|
+
epoch: string;
|
|
858
|
+
kind: "ConsensusCommitPrologueV3";
|
|
859
|
+
round: string;
|
|
860
|
+
sub_dag_index?: string | null;
|
|
861
|
+
} | {
|
|
862
|
+
additional_state_digest: string;
|
|
863
|
+
commit_timestamp_ms: string;
|
|
864
|
+
consensus_commit_digest: string;
|
|
865
|
+
consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments;
|
|
866
|
+
epoch: string;
|
|
867
|
+
kind: "ConsensusCommitPrologueV4";
|
|
868
|
+
round: string;
|
|
869
|
+
sub_dag_index?: string | null;
|
|
870
|
+
} | {
|
|
871
|
+
inputs: SuiCallArg[];
|
|
872
|
+
kind: "ProgrammableSystemTransaction";
|
|
873
|
+
transactions: SuiTransaction[];
|
|
874
|
+
};
|
|
875
|
+
export interface WowTransactionBlockResponse {
|
|
876
|
+
balanceChanges?: BalanceChange[] | null;
|
|
877
|
+
checkpoint?: string | null;
|
|
878
|
+
confirmedLocalExecution?: boolean | null;
|
|
879
|
+
digest: string;
|
|
880
|
+
effects?: TransactionEffects | null;
|
|
881
|
+
errors?: string[];
|
|
882
|
+
events?: WowEvent[] | null;
|
|
883
|
+
objectChanges?: WowObjectChange[] | null;
|
|
884
|
+
rawEffects?: number[];
|
|
885
|
+
rawTransaction?: string;
|
|
886
|
+
timestampMs?: string | null;
|
|
887
|
+
transaction?: SuiTransactionBlock | null;
|
|
888
|
+
}
|
|
889
|
+
export interface WowTransactionBlockResponseOptions {
|
|
890
|
+
showBalanceChanges?: boolean;
|
|
891
|
+
showEffects?: boolean;
|
|
892
|
+
showEvents?: boolean;
|
|
893
|
+
showInput?: boolean;
|
|
894
|
+
showObjectChanges?: boolean;
|
|
895
|
+
showRawEffects?: boolean;
|
|
896
|
+
showRawInput?: boolean;
|
|
897
|
+
}
|
|
898
|
+
export interface WowTransactionBlockResponseQuery {
|
|
899
|
+
filter?: TransactionFilter | null;
|
|
900
|
+
options?: WowTransactionBlockResponseOptions | null;
|
|
901
|
+
}
|
|
902
|
+
export type TransactionFilter = {
|
|
903
|
+
Checkpoint: string;
|
|
904
|
+
} | {
|
|
905
|
+
MoveFunction: {
|
|
906
|
+
function?: string | null;
|
|
907
|
+
module?: string | null;
|
|
908
|
+
package: string;
|
|
909
|
+
};
|
|
910
|
+
} | {
|
|
911
|
+
InputObject: string;
|
|
912
|
+
} | {
|
|
913
|
+
ChangedObject: string;
|
|
914
|
+
} | {
|
|
915
|
+
AffectedObject: string;
|
|
916
|
+
} | {
|
|
917
|
+
FromAddress: string;
|
|
918
|
+
} | {
|
|
919
|
+
ToAddress: string;
|
|
920
|
+
} | {
|
|
921
|
+
FromAndToAddress: {
|
|
922
|
+
from: string;
|
|
923
|
+
to: string;
|
|
924
|
+
};
|
|
925
|
+
} | {
|
|
926
|
+
FromOrToAddress: {
|
|
927
|
+
addr: string;
|
|
928
|
+
};
|
|
929
|
+
} | {
|
|
930
|
+
TransactionKind: string;
|
|
931
|
+
} | {
|
|
932
|
+
TransactionKindIn: string[];
|
|
933
|
+
};
|
|
934
|
+
export interface TransferObjectParams {
|
|
935
|
+
objectId: string;
|
|
936
|
+
recipient: string;
|
|
937
|
+
}
|
|
938
|
+
export interface TypeOrigin {
|
|
939
|
+
datatype_name: string;
|
|
940
|
+
module_name: string;
|
|
941
|
+
package: string;
|
|
942
|
+
}
|
|
943
|
+
export interface UpgradeInfo {
|
|
944
|
+
upgraded_id: string;
|
|
945
|
+
upgraded_version: string;
|
|
946
|
+
}
|
|
947
|
+
export interface ValidatorApy {
|
|
948
|
+
address: string;
|
|
949
|
+
apy: number;
|
|
950
|
+
}
|
|
951
|
+
export interface ValidatorsApy {
|
|
952
|
+
apys: ValidatorApy[];
|
|
953
|
+
epoch: string;
|
|
954
|
+
}
|