@unconfirmed/effect-sui 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +10 -2
- package/dist/Address.d.ts +18 -0
- package/dist/Address.d.ts.map +1 -0
- package/dist/Address.js +33 -0
- package/dist/Address.js.map +1 -0
- package/dist/AddressAlias.d.ts +107 -0
- package/dist/AddressAlias.d.ts.map +1 -0
- package/dist/AddressAlias.js +104 -0
- package/dist/AddressAlias.js.map +1 -0
- package/dist/Bip32.d.ts +6 -0
- package/dist/Bip32.d.ts.map +1 -0
- package/dist/Bip32.js +34 -0
- package/dist/Bip32.js.map +1 -0
- package/dist/Chain.d.ts +23 -0
- package/dist/Chain.d.ts.map +1 -0
- package/dist/Chain.js +7 -0
- package/dist/Chain.js.map +1 -0
- package/dist/CheckpointData.d.ts +74 -0
- package/dist/CheckpointData.d.ts.map +1 -0
- package/dist/CheckpointData.js +48 -0
- package/dist/CheckpointData.js.map +1 -0
- package/dist/Checkpoints.d.ts +23 -0
- package/dist/Checkpoints.d.ts.map +1 -0
- package/dist/Checkpoints.js +7 -0
- package/dist/Checkpoints.js.map +1 -0
- package/dist/CoinReservation.d.ts +18 -0
- package/dist/CoinReservation.d.ts.map +1 -0
- package/dist/CoinReservation.js +58 -0
- package/dist/CoinReservation.js.map +1 -0
- package/dist/Coins.d.ts +42 -0
- package/dist/Coins.d.ts.map +1 -0
- package/dist/Coins.js +49 -0
- package/dist/Coins.js.map +1 -0
- package/dist/DynamicFields.d.ts +115 -0
- package/dist/DynamicFields.d.ts.map +1 -0
- package/dist/DynamicFields.js +101 -0
- package/dist/DynamicFields.js.map +1 -0
- package/dist/Ecdsa.d.ts +39 -0
- package/dist/Ecdsa.d.ts.map +1 -0
- package/dist/Ecdsa.js +76 -0
- package/dist/Ecdsa.js.map +1 -0
- package/dist/Ed25519.d.ts +22 -0
- package/dist/Ed25519.d.ts.map +1 -0
- package/dist/Ed25519.js +77 -0
- package/dist/Ed25519.js.map +1 -0
- package/dist/Events.d.ts +105 -0
- package/dist/Events.d.ts.map +1 -0
- package/dist/Events.js +51 -0
- package/dist/Events.js.map +1 -0
- package/dist/Hash.d.ts +16 -0
- package/dist/Hash.d.ts.map +1 -0
- package/dist/Hash.js +32 -0
- package/dist/Hash.js.map +1 -0
- package/dist/MlDsa65.d.ts +17 -0
- package/dist/MlDsa65.d.ts.map +1 -0
- package/dist/MlDsa65.js +84 -0
- package/dist/MlDsa65.js.map +1 -0
- package/dist/Mnemonic.d.ts +20 -0
- package/dist/Mnemonic.d.ts.map +1 -0
- package/dist/Mnemonic.js +71 -0
- package/dist/Mnemonic.js.map +1 -0
- package/dist/Move.d.ts +261 -0
- package/dist/Move.d.ts.map +1 -0
- package/dist/Move.js +232 -0
- package/dist/Move.js.map +1 -0
- package/dist/MultiSig.d.ts +106 -0
- package/dist/MultiSig.d.ts.map +1 -0
- package/dist/MultiSig.js +254 -0
- package/dist/MultiSig.js.map +1 -0
- package/dist/Objects.d.ts +95 -0
- package/dist/Objects.d.ts.map +1 -0
- package/dist/Objects.js +57 -0
- package/dist/Objects.js.map +1 -0
- package/dist/Packages.d.ts +49 -0
- package/dist/Packages.d.ts.map +1 -0
- package/dist/Packages.js +16 -0
- package/dist/Packages.js.map +1 -0
- package/dist/Passkey.d.ts +11 -0
- package/dist/Passkey.d.ts.map +1 -0
- package/dist/Passkey.js +11 -0
- package/dist/Passkey.js.map +1 -0
- package/dist/PrivateKey.d.ts +39 -0
- package/dist/PrivateKey.d.ts.map +1 -0
- package/dist/PrivateKey.js +118 -0
- package/dist/PrivateKey.js.map +1 -0
- package/dist/Ptb.d.ts +413 -0
- package/dist/Ptb.d.ts.map +1 -0
- package/dist/Ptb.js +338 -0
- package/dist/Ptb.js.map +1 -0
- package/dist/Resolve.d.ts +502 -0
- package/dist/Resolve.d.ts.map +1 -0
- package/dist/Resolve.js +1188 -0
- package/dist/Resolve.js.map +1 -0
- package/dist/RpcError.d.ts +19 -0
- package/dist/RpcError.d.ts.map +1 -0
- package/dist/RpcError.js +37 -0
- package/dist/RpcError.js.map +1 -0
- package/dist/Secp256k1.d.ts +11 -0
- package/dist/Secp256k1.d.ts.map +1 -0
- package/dist/Secp256k1.js +23 -0
- package/dist/Secp256k1.js.map +1 -0
- package/dist/Secp256r1.d.ts +11 -0
- package/dist/Secp256r1.d.ts.map +1 -0
- package/dist/Secp256r1.js +23 -0
- package/dist/Secp256r1.js.map +1 -0
- package/dist/SignatureScheme.d.ts +103 -0
- package/dist/SignatureScheme.d.ts.map +1 -0
- package/dist/SignatureScheme.js +93 -0
- package/dist/SignatureScheme.js.map +1 -0
- package/dist/Signer.d.ts +54 -0
- package/dist/Signer.d.ts.map +1 -0
- package/dist/Signer.js +31 -0
- package/dist/Signer.js.map +1 -0
- package/dist/Testing.d.ts +171 -0
- package/dist/Testing.d.ts.map +1 -0
- package/dist/Testing.js +531 -0
- package/dist/Testing.js.map +1 -0
- package/dist/TransactionData.d.ts +3218 -0
- package/dist/TransactionData.d.ts.map +1 -0
- package/dist/TransactionData.js +105 -0
- package/dist/TransactionData.js.map +1 -0
- package/dist/TransactionJson.d.ts +1544 -0
- package/dist/TransactionJson.d.ts.map +1 -0
- package/dist/TransactionJson.js +926 -0
- package/dist/TransactionJson.js.map +1 -0
- package/dist/Transactions.d.ts +181 -0
- package/dist/Transactions.d.ts.map +1 -0
- package/dist/Transactions.js +49 -0
- package/dist/Transactions.js.map +1 -0
- package/dist/Tx.d.ts +1419 -0
- package/dist/Tx.d.ts.map +1 -0
- package/dist/Tx.js +266 -0
- package/dist/Tx.js.map +1 -0
- package/dist/TypeTag.d.ts +42 -0
- package/dist/TypeTag.d.ts.map +1 -0
- package/dist/TypeTag.js +110 -0
- package/dist/TypeTag.js.map +1 -0
- package/dist/Verify.d.ts +23 -0
- package/dist/Verify.d.ts.map +1 -0
- package/dist/Verify.js +29 -0
- package/dist/Verify.js.map +1 -0
- package/dist/enoki/EnokiClient.d.ts +184 -0
- package/dist/enoki/EnokiClient.d.ts.map +1 -0
- package/dist/enoki/EnokiClient.js +105 -0
- package/dist/enoki/EnokiClient.js.map +1 -0
- package/dist/enoki/EnokiHttp.d.ts +33 -0
- package/dist/enoki/EnokiHttp.d.ts.map +1 -0
- package/dist/enoki/EnokiHttp.js +160 -0
- package/dist/enoki/EnokiHttp.js.map +1 -0
- package/dist/enoki/Sponsor.d.ts +119 -0
- package/dist/enoki/Sponsor.d.ts.map +1 -0
- package/dist/enoki/Sponsor.js +170 -0
- package/dist/enoki/Sponsor.js.map +1 -0
- package/dist/enoki/ZkLoginFlow.d.ts +84 -0
- package/dist/enoki/ZkLoginFlow.d.ts.map +1 -0
- package/dist/enoki/ZkLoginFlow.js +138 -0
- package/dist/enoki/ZkLoginFlow.js.map +1 -0
- package/dist/enoki/index.d.ts +9 -0
- package/dist/enoki/index.d.ts.map +1 -0
- package/dist/enoki/index.js +9 -0
- package/dist/enoki/index.js.map +1 -0
- package/dist/graphql/ChainGraphQL.d.ts +35 -0
- package/dist/graphql/ChainGraphQL.d.ts.map +1 -0
- package/dist/graphql/ChainGraphQL.js +62 -0
- package/dist/graphql/ChainGraphQL.js.map +1 -0
- package/dist/graphql/CheckpointDataGraphQL.d.ts +785 -0
- package/dist/graphql/CheckpointDataGraphQL.d.ts.map +1 -0
- package/dist/graphql/CheckpointDataGraphQL.js +157 -0
- package/dist/graphql/CheckpointDataGraphQL.js.map +1 -0
- package/dist/graphql/CheckpointsGraphQL.d.ts +91 -0
- package/dist/graphql/CheckpointsGraphQL.d.ts.map +1 -0
- package/dist/graphql/CheckpointsGraphQL.js +80 -0
- package/dist/graphql/CheckpointsGraphQL.js.map +1 -0
- package/dist/graphql/CoinsGraphQL.d.ts +81 -0
- package/dist/graphql/CoinsGraphQL.d.ts.map +1 -0
- package/dist/graphql/CoinsGraphQL.js +63 -0
- package/dist/graphql/CoinsGraphQL.js.map +1 -0
- package/dist/graphql/DynamicFieldsGraphQL.d.ts +94 -0
- package/dist/graphql/DynamicFieldsGraphQL.d.ts.map +1 -0
- package/dist/graphql/DynamicFieldsGraphQL.js +126 -0
- package/dist/graphql/DynamicFieldsGraphQL.js.map +1 -0
- package/dist/graphql/EventsGraphQL.d.ts +266 -0
- package/dist/graphql/EventsGraphQL.d.ts.map +1 -0
- package/dist/graphql/EventsGraphQL.js +249 -0
- package/dist/graphql/EventsGraphQL.js.map +1 -0
- package/dist/graphql/ObjectsGraphQL.d.ts +130 -0
- package/dist/graphql/ObjectsGraphQL.d.ts.map +1 -0
- package/dist/graphql/ObjectsGraphQL.js +79 -0
- package/dist/graphql/ObjectsGraphQL.js.map +1 -0
- package/dist/graphql/PackagesGraphQL.d.ts +82 -0
- package/dist/graphql/PackagesGraphQL.d.ts.map +1 -0
- package/dist/graphql/PackagesGraphQL.js +145 -0
- package/dist/graphql/PackagesGraphQL.js.map +1 -0
- package/dist/graphql/SuiGraphQL.d.ts +37 -0
- package/dist/graphql/SuiGraphQL.d.ts.map +1 -0
- package/dist/graphql/SuiGraphQL.js +47 -0
- package/dist/graphql/SuiGraphQL.js.map +1 -0
- package/dist/graphql/TransactionsGraphQL.d.ts +1309 -0
- package/dist/graphql/TransactionsGraphQL.d.ts.map +1 -0
- package/dist/graphql/TransactionsGraphQL.js +206 -0
- package/dist/graphql/TransactionsGraphQL.js.map +1 -0
- package/dist/graphql/convert.d.ts +505 -0
- package/dist/graphql/convert.d.ts.map +1 -0
- package/dist/graphql/convert.js +384 -0
- package/dist/graphql/convert.js.map +1 -0
- package/dist/graphql/index.d.ts +41 -0
- package/dist/graphql/index.d.ts.map +1 -0
- package/dist/graphql/index.js +20 -0
- package/dist/graphql/index.js.map +1 -0
- package/dist/graphql/merge.d.ts +8 -0
- package/dist/graphql/merge.d.ts.map +1 -0
- package/dist/graphql/merge.js +55 -0
- package/dist/graphql/merge.js.map +1 -0
- package/dist/graphql/paging.d.ts +219 -0
- package/dist/graphql/paging.d.ts.map +1 -0
- package/dist/graphql/paging.js +74 -0
- package/dist/graphql/paging.js.map +1 -0
- package/dist/graphql/subscription.d.ts +27 -0
- package/dist/graphql/subscription.d.ts.map +1 -0
- package/dist/graphql/subscription.js +47 -0
- package/dist/graphql/subscription.js.map +1 -0
- package/dist/graphql/tip.d.ts +31 -0
- package/dist/graphql/tip.d.ts.map +1 -0
- package/dist/graphql/tip.js +29 -0
- package/dist/graphql/tip.js.map +1 -0
- package/dist/grpc/ChainGrpc.d.ts +11 -0
- package/dist/grpc/ChainGrpc.d.ts.map +1 -0
- package/dist/grpc/ChainGrpc.js +40 -0
- package/dist/grpc/ChainGrpc.js.map +1 -0
- package/dist/grpc/CheckpointDataGrpc.d.ts +6 -0
- package/dist/grpc/CheckpointDataGrpc.d.ts.map +1 -0
- package/dist/grpc/CheckpointDataGrpc.js +27 -0
- package/dist/grpc/CheckpointDataGrpc.js.map +1 -0
- package/dist/grpc/CheckpointsGrpc.d.ts +6 -0
- package/dist/grpc/CheckpointsGrpc.d.ts.map +1 -0
- package/dist/grpc/CheckpointsGrpc.js +25 -0
- package/dist/grpc/CheckpointsGrpc.js.map +1 -0
- package/dist/grpc/CoinsGrpc.d.ts +7 -0
- package/dist/grpc/CoinsGrpc.d.ts.map +1 -0
- package/dist/grpc/CoinsGrpc.js +34 -0
- package/dist/grpc/CoinsGrpc.js.map +1 -0
- package/dist/grpc/DynamicFieldsGrpc.d.ts +11 -0
- package/dist/grpc/DynamicFieldsGrpc.d.ts.map +1 -0
- package/dist/grpc/DynamicFieldsGrpc.js +91 -0
- package/dist/grpc/DynamicFieldsGrpc.js.map +1 -0
- package/dist/grpc/EventsGrpc.d.ts +13 -0
- package/dist/grpc/EventsGrpc.d.ts.map +1 -0
- package/dist/grpc/EventsGrpc.js +88 -0
- package/dist/grpc/EventsGrpc.js.map +1 -0
- package/dist/grpc/GrpcWeb.d.ts +71 -0
- package/dist/grpc/GrpcWeb.d.ts.map +1 -0
- package/dist/grpc/GrpcWeb.js +243 -0
- package/dist/grpc/GrpcWeb.js.map +1 -0
- package/dist/grpc/ObjectsGrpc.d.ts +10 -0
- package/dist/grpc/ObjectsGrpc.d.ts.map +1 -0
- package/dist/grpc/ObjectsGrpc.js +72 -0
- package/dist/grpc/ObjectsGrpc.js.map +1 -0
- package/dist/grpc/PackagesGrpc.d.ts +9 -0
- package/dist/grpc/PackagesGrpc.d.ts.map +1 -0
- package/dist/grpc/PackagesGrpc.js +78 -0
- package/dist/grpc/PackagesGrpc.js.map +1 -0
- package/dist/grpc/Rpc.d.ts +46 -0
- package/dist/grpc/Rpc.d.ts.map +1 -0
- package/dist/grpc/Rpc.js +111 -0
- package/dist/grpc/Rpc.js.map +1 -0
- package/dist/grpc/TransactionsGrpc.d.ts +6 -0
- package/dist/grpc/TransactionsGrpc.d.ts.map +1 -0
- package/dist/grpc/TransactionsGrpc.js +56 -0
- package/dist/grpc/TransactionsGrpc.js.map +1 -0
- package/dist/grpc/cache.d.ts +7 -0
- package/dist/grpc/cache.d.ts.map +1 -0
- package/dist/grpc/cache.js +55 -0
- package/dist/grpc/cache.js.map +1 -0
- package/dist/grpc/convert.d.ts +43 -0
- package/dist/grpc/convert.d.ts.map +1 -0
- package/dist/grpc/convert.js +198 -0
- package/dist/grpc/convert.js.map +1 -0
- package/dist/grpc/generated/lean.d.ts +36 -0
- package/dist/grpc/generated/lean.d.ts.map +1 -0
- package/dist/grpc/generated/lean.js +205 -0
- package/dist/grpc/generated/lean.js.map +1 -0
- package/dist/grpc/generated/proto.d.ts +2000 -0
- package/dist/grpc/generated/proto.d.ts.map +1 -0
- package/dist/grpc/generated/proto.js +356 -0
- package/dist/grpc/generated/proto.js.map +1 -0
- package/dist/grpc/generated/rpc.d.ts +62 -0
- package/dist/grpc/generated/rpc.d.ts.map +1 -0
- package/dist/grpc/generated/rpc.js +324 -0
- package/dist/grpc/generated/rpc.js.map +1 -0
- package/dist/grpc/index.d.ts +58 -0
- package/dist/grpc/index.d.ts.map +1 -0
- package/dist/grpc/index.js +43 -0
- package/dist/grpc/index.js.map +1 -0
- package/dist/grpc/scan.d.ts +79 -0
- package/dist/grpc/scan.d.ts.map +1 -0
- package/dist/grpc/scan.js +126 -0
- package/dist/grpc/scan.js.map +1 -0
- package/dist/grpc/transaction.d.ts +9 -0
- package/dist/grpc/transaction.d.ts.map +1 -0
- package/dist/grpc/transaction.js +168 -0
- package/dist/grpc/transaction.js.map +1 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/allowances.d.ts +18 -0
- package/dist/internal/allowances.d.ts.map +1 -0
- package/dist/internal/allowances.js +194 -0
- package/dist/internal/allowances.js.map +1 -0
- package/dist/internal/mnemonic.d.ts +53 -0
- package/dist/internal/mnemonic.d.ts.map +1 -0
- package/dist/internal/mnemonic.js +66 -0
- package/dist/internal/mnemonic.js.map +1 -0
- package/dist/internal/passkey/BrowserProvider.d.ts +10 -0
- package/dist/internal/passkey/BrowserProvider.d.ts.map +1 -0
- package/dist/internal/passkey/BrowserProvider.js +101 -0
- package/dist/internal/passkey/BrowserProvider.js.map +1 -0
- package/dist/internal/passkey/Passkey.d.ts +104 -0
- package/dist/internal/passkey/Passkey.d.ts.map +1 -0
- package/dist/internal/passkey/Passkey.js +333 -0
- package/dist/internal/passkey/Passkey.js.map +1 -0
- package/dist/internal/passkey/SoftwareProvider.d.ts +23 -0
- package/dist/internal/passkey/SoftwareProvider.d.ts.map +1 -0
- package/dist/internal/passkey/SoftwareProvider.js +61 -0
- package/dist/internal/passkey/SoftwareProvider.js.map +1 -0
- package/dist/lifecycle/Evidence.d.ts +62 -0
- package/dist/lifecycle/Evidence.d.ts.map +1 -0
- package/dist/lifecycle/Evidence.js +30 -0
- package/dist/lifecycle/Evidence.js.map +1 -0
- package/dist/lifecycle/EvidenceGraphQL.d.ts +59 -0
- package/dist/lifecycle/EvidenceGraphQL.d.ts.map +1 -0
- package/dist/lifecycle/EvidenceGraphQL.js +53 -0
- package/dist/lifecycle/EvidenceGraphQL.js.map +1 -0
- package/dist/lifecycle/EvidenceGrpc.d.ts +4 -0
- package/dist/lifecycle/EvidenceGrpc.d.ts.map +1 -0
- package/dist/lifecycle/EvidenceGrpc.js +37 -0
- package/dist/lifecycle/EvidenceGrpc.js.map +1 -0
- package/dist/lifecycle/Journal.d.ts +69 -0
- package/dist/lifecycle/Journal.d.ts.map +1 -0
- package/dist/lifecycle/Journal.js +70 -0
- package/dist/lifecycle/Journal.js.map +1 -0
- package/dist/lifecycle/JournalEntry.d.ts +67 -0
- package/dist/lifecycle/JournalEntry.d.ts.map +1 -0
- package/dist/lifecycle/JournalEntry.js +45 -0
- package/dist/lifecycle/JournalEntry.js.map +1 -0
- package/dist/lifecycle/JournalKeyValueStore.d.ts +30 -0
- package/dist/lifecycle/JournalKeyValueStore.d.ts.map +1 -0
- package/dist/lifecycle/JournalKeyValueStore.js +217 -0
- package/dist/lifecycle/JournalKeyValueStore.js.map +1 -0
- package/dist/lifecycle/KeyValueStoreIndexedDb.d.ts +54 -0
- package/dist/lifecycle/KeyValueStoreIndexedDb.d.ts.map +1 -0
- package/dist/lifecycle/KeyValueStoreIndexedDb.js +321 -0
- package/dist/lifecycle/KeyValueStoreIndexedDb.js.map +1 -0
- package/dist/lifecycle/KeyValueStoreOpfs.d.ts +65 -0
- package/dist/lifecycle/KeyValueStoreOpfs.d.ts.map +1 -0
- package/dist/lifecycle/KeyValueStoreOpfs.js +207 -0
- package/dist/lifecycle/KeyValueStoreOpfs.js.map +1 -0
- package/dist/lifecycle/Lifecycle.d.ts +416 -0
- package/dist/lifecycle/Lifecycle.d.ts.map +1 -0
- package/dist/lifecycle/Lifecycle.js +666 -0
- package/dist/lifecycle/Lifecycle.js.map +1 -0
- package/dist/lifecycle/Outcome.d.ts +132 -0
- package/dist/lifecycle/Outcome.d.ts.map +1 -0
- package/dist/lifecycle/Outcome.js +106 -0
- package/dist/lifecycle/Outcome.js.map +1 -0
- package/dist/lifecycle/SenderLock.d.ts +37 -0
- package/dist/lifecycle/SenderLock.d.ts.map +1 -0
- package/dist/lifecycle/SenderLock.js +57 -0
- package/dist/lifecycle/SenderLock.js.map +1 -0
- package/dist/lifecycle/SenderLockWebLocks.d.ts +37 -0
- package/dist/lifecycle/SenderLockWebLocks.d.ts.map +1 -0
- package/dist/lifecycle/SenderLockWebLocks.js +100 -0
- package/dist/lifecycle/SenderLockWebLocks.js.map +1 -0
- package/dist/lifecycle/SignedTransaction.d.ts +55 -0
- package/dist/lifecycle/SignedTransaction.d.ts.map +1 -0
- package/dist/lifecycle/SignedTransaction.js +109 -0
- package/dist/lifecycle/SignedTransaction.js.map +1 -0
- package/dist/lifecycle/SubmitConfig.d.ts +44 -0
- package/dist/lifecycle/SubmitConfig.d.ts.map +1 -0
- package/dist/lifecycle/SubmitConfig.js +39 -0
- package/dist/lifecycle/SubmitConfig.js.map +1 -0
- package/dist/lifecycle/index.d.ts +13 -0
- package/dist/lifecycle/index.d.ts.map +1 -0
- package/dist/lifecycle/index.js +13 -0
- package/dist/lifecycle/index.js.map +1 -0
- package/dist/wallet/Connection.d.ts +119 -0
- package/dist/wallet/Connection.d.ts.map +1 -0
- package/dist/wallet/Connection.js +197 -0
- package/dist/wallet/Connection.js.map +1 -0
- package/dist/wallet/Features.d.ts +91 -0
- package/dist/wallet/Features.d.ts.map +1 -0
- package/dist/wallet/Features.js +14 -0
- package/dist/wallet/Features.js.map +1 -0
- package/dist/wallet/Wallet.d.ts +151 -0
- package/dist/wallet/Wallet.d.ts.map +1 -0
- package/dist/wallet/Wallet.js +399 -0
- package/dist/wallet/Wallet.js.map +1 -0
- package/dist/wallet/index.d.ts +7 -0
- package/dist/wallet/index.d.ts.map +1 -0
- package/dist/wallet/index.js +7 -0
- package/dist/wallet/index.js.map +1 -0
- package/dist/zklogin/AddressSeed.d.ts +40 -0
- package/dist/zklogin/AddressSeed.d.ts.map +1 -0
- package/dist/zklogin/AddressSeed.js +91 -0
- package/dist/zklogin/AddressSeed.js.map +1 -0
- package/dist/zklogin/Errors.d.ts +24 -0
- package/dist/zklogin/Errors.d.ts.map +1 -0
- package/dist/zklogin/Errors.js +25 -0
- package/dist/zklogin/Errors.js.map +1 -0
- package/dist/zklogin/Jwt.d.ts +51 -0
- package/dist/zklogin/Jwt.d.ts.map +1 -0
- package/dist/zklogin/Jwt.js +159 -0
- package/dist/zklogin/Jwt.js.map +1 -0
- package/dist/zklogin/Nonce.d.ts +9 -0
- package/dist/zklogin/Nonce.d.ts.map +1 -0
- package/dist/zklogin/Nonce.js +34 -0
- package/dist/zklogin/Nonce.js.map +1 -0
- package/dist/zklogin/Poseidon.d.ts +24 -0
- package/dist/zklogin/Poseidon.d.ts.map +1 -0
- package/dist/zklogin/Poseidon.js +54 -0
- package/dist/zklogin/Poseidon.js.map +1 -0
- package/dist/zklogin/PublicIdentifier.d.ts +49 -0
- package/dist/zklogin/PublicIdentifier.d.ts.map +1 -0
- package/dist/zklogin/PublicIdentifier.js +90 -0
- package/dist/zklogin/PublicIdentifier.js.map +1 -0
- package/dist/zklogin/Signature.d.ts +55 -0
- package/dist/zklogin/Signature.d.ts.map +1 -0
- package/dist/zklogin/Signature.js +70 -0
- package/dist/zklogin/Signature.js.map +1 -0
- package/dist/zklogin/ZkLogin.d.ts +41 -0
- package/dist/zklogin/ZkLogin.d.ts.map +1 -0
- package/dist/zklogin/ZkLogin.js +87 -0
- package/dist/zklogin/ZkLogin.js.map +1 -0
- package/dist/zklogin/ZkLoginAddress.d.ts +30 -0
- package/dist/zklogin/ZkLoginAddress.d.ts.map +1 -0
- package/dist/zklogin/ZkLoginAddress.js +31 -0
- package/dist/zklogin/ZkLoginAddress.js.map +1 -0
- package/dist/zklogin/ZkLoginVerifier.d.ts +37 -0
- package/dist/zklogin/ZkLoginVerifier.d.ts.map +1 -0
- package/dist/zklogin/ZkLoginVerifier.js +4 -0
- package/dist/zklogin/ZkLoginVerifier.js.map +1 -0
- package/dist/zklogin/ZkLoginVerifierGrpc.d.ts +12 -0
- package/dist/zklogin/ZkLoginVerifierGrpc.d.ts.map +1 -0
- package/dist/zklogin/ZkLoginVerifierGrpc.js +53 -0
- package/dist/zklogin/ZkLoginVerifierGrpc.js.map +1 -0
- package/dist/zklogin/index.d.ts +17 -0
- package/dist/zklogin/index.d.ts.map +1 -0
- package/dist/zklogin/index.js +17 -0
- package/dist/zklogin/index.js.map +1 -0
- package/dist/zklogin/internal/parse.d.ts +9 -0
- package/dist/zklogin/internal/parse.d.ts.map +1 -0
- package/dist/zklogin/internal/parse.js +33 -0
- package/dist/zklogin/internal/parse.js.map +1 -0
- package/dist/zklogin/internal/poseidon.d.ts +21 -0
- package/dist/zklogin/internal/poseidon.d.ts.map +1 -0
- package/dist/zklogin/internal/poseidon.js +40 -0
- package/dist/zklogin/internal/poseidon.js.map +1 -0
- package/package.json +69 -4
- package/src/Address.ts +45 -0
- package/src/AddressAlias.ts +160 -0
- package/src/Bip32.ts +37 -0
- package/src/Chain.ts +21 -0
- package/src/CheckpointData.ts +106 -0
- package/src/Checkpoints.ts +18 -0
- package/src/CoinReservation.ts +65 -0
- package/src/Coins.ts +86 -0
- package/src/DynamicFields.ts +179 -0
- package/src/Ecdsa.ts +103 -0
- package/src/Ed25519.ts +84 -0
- package/src/Events.ts +133 -0
- package/src/Hash.ts +39 -0
- package/src/MlDsa65.ts +92 -0
- package/src/Mnemonic.ts +109 -0
- package/src/Move.ts +440 -0
- package/src/MultiSig.ts +320 -0
- package/src/Objects.ts +112 -0
- package/src/Packages.ts +52 -0
- package/src/Passkey.ts +10 -0
- package/src/PrivateKey.ts +138 -0
- package/src/Ptb.ts +579 -0
- package/src/Resolve.ts +1367 -0
- package/src/RpcError.ts +41 -0
- package/src/Secp256k1.ts +29 -0
- package/src/Secp256r1.ts +29 -0
- package/src/SignatureScheme.ts +166 -0
- package/src/Signer.ts +62 -0
- package/src/Testing.ts +830 -0
- package/src/TransactionData.ts +134 -0
- package/src/TransactionJson.ts +1002 -0
- package/src/Transactions.ts +211 -0
- package/src/Tx.ts +367 -0
- package/src/TypeTag.ts +123 -0
- package/src/Verify.ts +42 -0
- package/src/enoki/EnokiClient.ts +204 -0
- package/src/enoki/EnokiHttp.ts +222 -0
- package/src/enoki/Sponsor.ts +280 -0
- package/src/enoki/ZkLoginFlow.ts +176 -0
- package/src/enoki/index.ts +8 -0
- package/src/graphql/ChainGraphQL.ts +76 -0
- package/src/graphql/CheckpointDataGraphQL.ts +191 -0
- package/src/graphql/CheckpointsGraphQL.ts +96 -0
- package/src/graphql/CoinsGraphQL.ts +85 -0
- package/src/graphql/DynamicFieldsGraphQL.ts +167 -0
- package/src/graphql/EventsGraphQL.ts +301 -0
- package/src/graphql/ObjectsGraphQL.ts +112 -0
- package/src/graphql/PackagesGraphQL.ts +173 -0
- package/src/graphql/SuiGraphQL.ts +77 -0
- package/src/graphql/TransactionsGraphQL.ts +292 -0
- package/src/graphql/convert.ts +450 -0
- package/src/graphql/index.ts +74 -0
- package/src/graphql/merge.ts +62 -0
- package/src/graphql/paging.ts +110 -0
- package/src/graphql/subscription.ts +58 -0
- package/src/graphql/tip.ts +38 -0
- package/src/grpc/ChainGrpc.ts +51 -0
- package/src/grpc/CheckpointDataGrpc.ts +47 -0
- package/src/grpc/CheckpointsGrpc.ts +37 -0
- package/src/grpc/CoinsGrpc.ts +50 -0
- package/src/grpc/DynamicFieldsGrpc.ts +128 -0
- package/src/grpc/EventsGrpc.ts +101 -0
- package/src/grpc/GrpcWeb.ts +343 -0
- package/src/grpc/ObjectsGrpc.ts +95 -0
- package/src/grpc/PackagesGrpc.ts +98 -0
- package/src/grpc/Rpc.ts +156 -0
- package/src/grpc/TransactionsGrpc.ts +88 -0
- package/src/grpc/cache.ts +68 -0
- package/src/grpc/convert.ts +227 -0
- package/src/grpc/generated/lean.ts +276 -0
- package/src/grpc/generated/proto.ts +2130 -0
- package/src/grpc/generated/rpc.ts +417 -0
- package/src/grpc/index.ts +97 -0
- package/src/grpc/scan.ts +183 -0
- package/src/grpc/transaction.ts +182 -0
- package/src/index.ts +35 -0
- package/src/internal/allowances.ts +238 -0
- package/src/internal/mnemonic.ts +99 -0
- package/src/internal/passkey/BrowserProvider.ts +131 -0
- package/src/internal/passkey/Passkey.ts +408 -0
- package/src/internal/passkey/SoftwareProvider.ts +90 -0
- package/src/lifecycle/Evidence.ts +85 -0
- package/src/lifecycle/EvidenceGraphQL.ts +67 -0
- package/src/lifecycle/EvidenceGrpc.ts +47 -0
- package/src/lifecycle/Journal.ts +117 -0
- package/src/lifecycle/JournalEntry.ts +68 -0
- package/src/lifecycle/JournalKeyValueStore.ts +276 -0
- package/src/lifecycle/KeyValueStoreIndexedDb.ts +361 -0
- package/src/lifecycle/KeyValueStoreOpfs.ts +230 -0
- package/src/lifecycle/Lifecycle.ts +990 -0
- package/src/lifecycle/Outcome.ts +130 -0
- package/src/lifecycle/SenderLock.ts +73 -0
- package/src/lifecycle/SenderLockWebLocks.ts +136 -0
- package/src/lifecycle/SignedTransaction.ts +133 -0
- package/src/lifecycle/SubmitConfig.ts +77 -0
- package/src/lifecycle/index.ts +12 -0
- package/src/wallet/Connection.ts +323 -0
- package/src/wallet/Features.ts +114 -0
- package/src/wallet/Wallet.ts +550 -0
- package/src/wallet/index.ts +6 -0
- package/src/zklogin/AddressSeed.ts +130 -0
- package/src/zklogin/Errors.ts +27 -0
- package/src/zklogin/Jwt.ts +186 -0
- package/src/zklogin/Nonce.ts +46 -0
- package/src/zklogin/Poseidon.ts +62 -0
- package/src/zklogin/PublicIdentifier.ts +111 -0
- package/src/zklogin/Signature.ts +88 -0
- package/src/zklogin/ZkLogin.ts +145 -0
- package/src/zklogin/ZkLoginAddress.ts +72 -0
- package/src/zklogin/ZkLoginVerifier.ts +37 -0
- package/src/zklogin/ZkLoginVerifierGrpc.ts +66 -0
- package/src/zklogin/index.ts +16 -0
- package/src/zklogin/internal/parse.ts +30 -0
- package/src/zklogin/internal/poseidon.ts +47 -0
|
@@ -0,0 +1,3218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Sui transaction data model as BCS Schemas: what the builder produces,
|
|
3
|
+
* the resolver completes, and a signer hashes. One shape, no converters.
|
|
4
|
+
*/
|
|
5
|
+
import * as Bcs from "@unconfirmed/effect-bcs/Bcs";
|
|
6
|
+
import { TypeTag } from "./TypeTag.ts";
|
|
7
|
+
export declare const ObjectDigest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
8
|
+
export type ObjectDigest = Bcs.Digest;
|
|
9
|
+
export declare const ObjectRef: import("effect/Schema").Struct<{
|
|
10
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
11
|
+
readonly version: import("effect/Schema").BigInt;
|
|
12
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
13
|
+
}>;
|
|
14
|
+
export type ObjectRef = typeof ObjectRef.Type;
|
|
15
|
+
export declare const SharedObjectMutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
16
|
+
readonly Immutable: null;
|
|
17
|
+
readonly Mutable: null;
|
|
18
|
+
readonly NonExclusiveWrite: null;
|
|
19
|
+
}>, Bcs.EnumEncoded<{
|
|
20
|
+
readonly Immutable: null;
|
|
21
|
+
readonly Mutable: null;
|
|
22
|
+
readonly NonExclusiveWrite: null;
|
|
23
|
+
}>>;
|
|
24
|
+
export declare const SharedObjectRef: import("effect/Schema").Struct<{
|
|
25
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
26
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
27
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
28
|
+
readonly Immutable: null;
|
|
29
|
+
readonly Mutable: null;
|
|
30
|
+
readonly NonExclusiveWrite: null;
|
|
31
|
+
}>, Bcs.EnumEncoded<{
|
|
32
|
+
readonly Immutable: null;
|
|
33
|
+
readonly Mutable: null;
|
|
34
|
+
readonly NonExclusiveWrite: null;
|
|
35
|
+
}>>;
|
|
36
|
+
}>;
|
|
37
|
+
export type SharedObjectRef = typeof SharedObjectRef.Type;
|
|
38
|
+
export declare const ObjectArg: Bcs.BcsSchema<Bcs.EnumType<{
|
|
39
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
40
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
41
|
+
readonly version: import("effect/Schema").BigInt;
|
|
42
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
43
|
+
}>;
|
|
44
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
45
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
46
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
47
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
48
|
+
readonly Immutable: null;
|
|
49
|
+
readonly Mutable: null;
|
|
50
|
+
readonly NonExclusiveWrite: null;
|
|
51
|
+
}>, Bcs.EnumEncoded<{
|
|
52
|
+
readonly Immutable: null;
|
|
53
|
+
readonly Mutable: null;
|
|
54
|
+
readonly NonExclusiveWrite: null;
|
|
55
|
+
}>>;
|
|
56
|
+
}>;
|
|
57
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
58
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
59
|
+
readonly version: import("effect/Schema").BigInt;
|
|
60
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
61
|
+
}>;
|
|
62
|
+
}>, Bcs.EnumEncoded<{
|
|
63
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
64
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
65
|
+
readonly version: import("effect/Schema").BigInt;
|
|
66
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
67
|
+
}>;
|
|
68
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
69
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
70
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
71
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
72
|
+
readonly Immutable: null;
|
|
73
|
+
readonly Mutable: null;
|
|
74
|
+
readonly NonExclusiveWrite: null;
|
|
75
|
+
}>, Bcs.EnumEncoded<{
|
|
76
|
+
readonly Immutable: null;
|
|
77
|
+
readonly Mutable: null;
|
|
78
|
+
readonly NonExclusiveWrite: null;
|
|
79
|
+
}>>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
82
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
83
|
+
readonly version: import("effect/Schema").BigInt;
|
|
84
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
85
|
+
}>;
|
|
86
|
+
}>>;
|
|
87
|
+
export type ObjectArg = typeof ObjectArg.Type;
|
|
88
|
+
export declare const FundsWithdrawal: import("effect/Schema").Struct<{
|
|
89
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
90
|
+
readonly _tag: "MaxAmountU64";
|
|
91
|
+
readonly value: bigint;
|
|
92
|
+
}, {
|
|
93
|
+
readonly _tag: "MaxAmountU64";
|
|
94
|
+
readonly value: bigint;
|
|
95
|
+
}>;
|
|
96
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
97
|
+
readonly _tag: "Balance";
|
|
98
|
+
readonly value: TypeTag;
|
|
99
|
+
}, {
|
|
100
|
+
readonly _tag: "Balance";
|
|
101
|
+
readonly value: any;
|
|
102
|
+
}>;
|
|
103
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
104
|
+
readonly Sender: null;
|
|
105
|
+
readonly Sponsor: null;
|
|
106
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
107
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
108
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
109
|
+
}>;
|
|
110
|
+
}>, Bcs.EnumEncoded<{
|
|
111
|
+
readonly Sender: null;
|
|
112
|
+
readonly Sponsor: null;
|
|
113
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
114
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
115
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
116
|
+
}>;
|
|
117
|
+
}>>;
|
|
118
|
+
}>;
|
|
119
|
+
export type FundsWithdrawal = typeof FundsWithdrawal.Type;
|
|
120
|
+
export declare const CallArg: Bcs.BcsSchema<Bcs.EnumType<{
|
|
121
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
122
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
123
|
+
}>;
|
|
124
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
125
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
126
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
127
|
+
readonly version: import("effect/Schema").BigInt;
|
|
128
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
129
|
+
}>;
|
|
130
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
131
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
132
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
133
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
134
|
+
readonly Immutable: null;
|
|
135
|
+
readonly Mutable: null;
|
|
136
|
+
readonly NonExclusiveWrite: null;
|
|
137
|
+
}>, Bcs.EnumEncoded<{
|
|
138
|
+
readonly Immutable: null;
|
|
139
|
+
readonly Mutable: null;
|
|
140
|
+
readonly NonExclusiveWrite: null;
|
|
141
|
+
}>>;
|
|
142
|
+
}>;
|
|
143
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
144
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
145
|
+
readonly version: import("effect/Schema").BigInt;
|
|
146
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
147
|
+
}>;
|
|
148
|
+
}>, Bcs.EnumEncoded<{
|
|
149
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
150
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
151
|
+
readonly version: import("effect/Schema").BigInt;
|
|
152
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
153
|
+
}>;
|
|
154
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
155
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
156
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
157
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
158
|
+
readonly Immutable: null;
|
|
159
|
+
readonly Mutable: null;
|
|
160
|
+
readonly NonExclusiveWrite: null;
|
|
161
|
+
}>, Bcs.EnumEncoded<{
|
|
162
|
+
readonly Immutable: null;
|
|
163
|
+
readonly Mutable: null;
|
|
164
|
+
readonly NonExclusiveWrite: null;
|
|
165
|
+
}>>;
|
|
166
|
+
}>;
|
|
167
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
168
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
169
|
+
readonly version: import("effect/Schema").BigInt;
|
|
170
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
171
|
+
}>;
|
|
172
|
+
}>>;
|
|
173
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
174
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
175
|
+
readonly _tag: "MaxAmountU64";
|
|
176
|
+
readonly value: bigint;
|
|
177
|
+
}, {
|
|
178
|
+
readonly _tag: "MaxAmountU64";
|
|
179
|
+
readonly value: bigint;
|
|
180
|
+
}>;
|
|
181
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
182
|
+
readonly _tag: "Balance";
|
|
183
|
+
readonly value: TypeTag;
|
|
184
|
+
}, {
|
|
185
|
+
readonly _tag: "Balance";
|
|
186
|
+
readonly value: any;
|
|
187
|
+
}>;
|
|
188
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
189
|
+
readonly Sender: null;
|
|
190
|
+
readonly Sponsor: null;
|
|
191
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
192
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
193
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
194
|
+
}>;
|
|
195
|
+
}>, Bcs.EnumEncoded<{
|
|
196
|
+
readonly Sender: null;
|
|
197
|
+
readonly Sponsor: null;
|
|
198
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
199
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
200
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
201
|
+
}>;
|
|
202
|
+
}>>;
|
|
203
|
+
}>;
|
|
204
|
+
}>, Bcs.EnumEncoded<{
|
|
205
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
206
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
207
|
+
}>;
|
|
208
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
209
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
210
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
211
|
+
readonly version: import("effect/Schema").BigInt;
|
|
212
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
213
|
+
}>;
|
|
214
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
215
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
216
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
217
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
218
|
+
readonly Immutable: null;
|
|
219
|
+
readonly Mutable: null;
|
|
220
|
+
readonly NonExclusiveWrite: null;
|
|
221
|
+
}>, Bcs.EnumEncoded<{
|
|
222
|
+
readonly Immutable: null;
|
|
223
|
+
readonly Mutable: null;
|
|
224
|
+
readonly NonExclusiveWrite: null;
|
|
225
|
+
}>>;
|
|
226
|
+
}>;
|
|
227
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
228
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
229
|
+
readonly version: import("effect/Schema").BigInt;
|
|
230
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
231
|
+
}>;
|
|
232
|
+
}>, Bcs.EnumEncoded<{
|
|
233
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
234
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
235
|
+
readonly version: import("effect/Schema").BigInt;
|
|
236
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
237
|
+
}>;
|
|
238
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
239
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
240
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
241
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
242
|
+
readonly Immutable: null;
|
|
243
|
+
readonly Mutable: null;
|
|
244
|
+
readonly NonExclusiveWrite: null;
|
|
245
|
+
}>, Bcs.EnumEncoded<{
|
|
246
|
+
readonly Immutable: null;
|
|
247
|
+
readonly Mutable: null;
|
|
248
|
+
readonly NonExclusiveWrite: null;
|
|
249
|
+
}>>;
|
|
250
|
+
}>;
|
|
251
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
252
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
253
|
+
readonly version: import("effect/Schema").BigInt;
|
|
254
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
255
|
+
}>;
|
|
256
|
+
}>>;
|
|
257
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
258
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
259
|
+
readonly _tag: "MaxAmountU64";
|
|
260
|
+
readonly value: bigint;
|
|
261
|
+
}, {
|
|
262
|
+
readonly _tag: "MaxAmountU64";
|
|
263
|
+
readonly value: bigint;
|
|
264
|
+
}>;
|
|
265
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
266
|
+
readonly _tag: "Balance";
|
|
267
|
+
readonly value: TypeTag;
|
|
268
|
+
}, {
|
|
269
|
+
readonly _tag: "Balance";
|
|
270
|
+
readonly value: any;
|
|
271
|
+
}>;
|
|
272
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
273
|
+
readonly Sender: null;
|
|
274
|
+
readonly Sponsor: null;
|
|
275
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
276
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
277
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
278
|
+
}>;
|
|
279
|
+
}>, Bcs.EnumEncoded<{
|
|
280
|
+
readonly Sender: null;
|
|
281
|
+
readonly Sponsor: null;
|
|
282
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
283
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
284
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
285
|
+
}>;
|
|
286
|
+
}>>;
|
|
287
|
+
}>;
|
|
288
|
+
}>>;
|
|
289
|
+
export type CallArg = typeof CallArg.Type;
|
|
290
|
+
export declare const Argument: Bcs.BcsSchema<Bcs.EnumType<{
|
|
291
|
+
readonly GasCoin: null;
|
|
292
|
+
readonly Input: import("effect/Schema").Int;
|
|
293
|
+
readonly Result: import("effect/Schema").Int;
|
|
294
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
295
|
+
}>, Bcs.EnumEncoded<{
|
|
296
|
+
readonly GasCoin: null;
|
|
297
|
+
readonly Input: import("effect/Schema").Int;
|
|
298
|
+
readonly Result: import("effect/Schema").Int;
|
|
299
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
300
|
+
}>>;
|
|
301
|
+
export type Argument = typeof Argument.Type;
|
|
302
|
+
export declare const Command: Bcs.BcsSchema<Bcs.EnumType<{
|
|
303
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
304
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
305
|
+
readonly module: import("effect/Schema").String;
|
|
306
|
+
readonly function: import("effect/Schema").String;
|
|
307
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
308
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
309
|
+
readonly GasCoin: null;
|
|
310
|
+
readonly Input: import("effect/Schema").Int;
|
|
311
|
+
readonly Result: import("effect/Schema").Int;
|
|
312
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
313
|
+
}>, Bcs.EnumEncoded<{
|
|
314
|
+
readonly GasCoin: null;
|
|
315
|
+
readonly Input: import("effect/Schema").Int;
|
|
316
|
+
readonly Result: import("effect/Schema").Int;
|
|
317
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
318
|
+
}>>>;
|
|
319
|
+
}>;
|
|
320
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
321
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
322
|
+
readonly GasCoin: null;
|
|
323
|
+
readonly Input: import("effect/Schema").Int;
|
|
324
|
+
readonly Result: import("effect/Schema").Int;
|
|
325
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
326
|
+
}>, Bcs.EnumEncoded<{
|
|
327
|
+
readonly GasCoin: null;
|
|
328
|
+
readonly Input: import("effect/Schema").Int;
|
|
329
|
+
readonly Result: import("effect/Schema").Int;
|
|
330
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
331
|
+
}>>>;
|
|
332
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
333
|
+
readonly GasCoin: null;
|
|
334
|
+
readonly Input: import("effect/Schema").Int;
|
|
335
|
+
readonly Result: import("effect/Schema").Int;
|
|
336
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
337
|
+
}>, Bcs.EnumEncoded<{
|
|
338
|
+
readonly GasCoin: null;
|
|
339
|
+
readonly Input: import("effect/Schema").Int;
|
|
340
|
+
readonly Result: import("effect/Schema").Int;
|
|
341
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
342
|
+
}>>;
|
|
343
|
+
}>;
|
|
344
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
345
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
346
|
+
readonly GasCoin: null;
|
|
347
|
+
readonly Input: import("effect/Schema").Int;
|
|
348
|
+
readonly Result: import("effect/Schema").Int;
|
|
349
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
350
|
+
}>, Bcs.EnumEncoded<{
|
|
351
|
+
readonly GasCoin: null;
|
|
352
|
+
readonly Input: import("effect/Schema").Int;
|
|
353
|
+
readonly Result: import("effect/Schema").Int;
|
|
354
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
355
|
+
}>>;
|
|
356
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
357
|
+
readonly GasCoin: null;
|
|
358
|
+
readonly Input: import("effect/Schema").Int;
|
|
359
|
+
readonly Result: import("effect/Schema").Int;
|
|
360
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
361
|
+
}>, Bcs.EnumEncoded<{
|
|
362
|
+
readonly GasCoin: null;
|
|
363
|
+
readonly Input: import("effect/Schema").Int;
|
|
364
|
+
readonly Result: import("effect/Schema").Int;
|
|
365
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
366
|
+
}>>>;
|
|
367
|
+
}>;
|
|
368
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
369
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
370
|
+
readonly GasCoin: null;
|
|
371
|
+
readonly Input: import("effect/Schema").Int;
|
|
372
|
+
readonly Result: import("effect/Schema").Int;
|
|
373
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
374
|
+
}>, Bcs.EnumEncoded<{
|
|
375
|
+
readonly GasCoin: null;
|
|
376
|
+
readonly Input: import("effect/Schema").Int;
|
|
377
|
+
readonly Result: import("effect/Schema").Int;
|
|
378
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
379
|
+
}>>;
|
|
380
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
381
|
+
readonly GasCoin: null;
|
|
382
|
+
readonly Input: import("effect/Schema").Int;
|
|
383
|
+
readonly Result: import("effect/Schema").Int;
|
|
384
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
385
|
+
}>, Bcs.EnumEncoded<{
|
|
386
|
+
readonly GasCoin: null;
|
|
387
|
+
readonly Input: import("effect/Schema").Int;
|
|
388
|
+
readonly Result: import("effect/Schema").Int;
|
|
389
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
390
|
+
}>>>;
|
|
391
|
+
}>;
|
|
392
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
393
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
394
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
395
|
+
}>;
|
|
396
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
397
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
398
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
399
|
+
readonly GasCoin: null;
|
|
400
|
+
readonly Input: import("effect/Schema").Int;
|
|
401
|
+
readonly Result: import("effect/Schema").Int;
|
|
402
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
403
|
+
}>, Bcs.EnumEncoded<{
|
|
404
|
+
readonly GasCoin: null;
|
|
405
|
+
readonly Input: import("effect/Schema").Int;
|
|
406
|
+
readonly Result: import("effect/Schema").Int;
|
|
407
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
408
|
+
}>>>;
|
|
409
|
+
}>;
|
|
410
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
411
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
412
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
413
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
414
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
415
|
+
readonly GasCoin: null;
|
|
416
|
+
readonly Input: import("effect/Schema").Int;
|
|
417
|
+
readonly Result: import("effect/Schema").Int;
|
|
418
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
419
|
+
}>, Bcs.EnumEncoded<{
|
|
420
|
+
readonly GasCoin: null;
|
|
421
|
+
readonly Input: import("effect/Schema").Int;
|
|
422
|
+
readonly Result: import("effect/Schema").Int;
|
|
423
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
424
|
+
}>>;
|
|
425
|
+
}>;
|
|
426
|
+
}>, Bcs.EnumEncoded<{
|
|
427
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
428
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
429
|
+
readonly module: import("effect/Schema").String;
|
|
430
|
+
readonly function: import("effect/Schema").String;
|
|
431
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
432
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
433
|
+
readonly GasCoin: null;
|
|
434
|
+
readonly Input: import("effect/Schema").Int;
|
|
435
|
+
readonly Result: import("effect/Schema").Int;
|
|
436
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
437
|
+
}>, Bcs.EnumEncoded<{
|
|
438
|
+
readonly GasCoin: null;
|
|
439
|
+
readonly Input: import("effect/Schema").Int;
|
|
440
|
+
readonly Result: import("effect/Schema").Int;
|
|
441
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
442
|
+
}>>>;
|
|
443
|
+
}>;
|
|
444
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
445
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
446
|
+
readonly GasCoin: null;
|
|
447
|
+
readonly Input: import("effect/Schema").Int;
|
|
448
|
+
readonly Result: import("effect/Schema").Int;
|
|
449
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
450
|
+
}>, Bcs.EnumEncoded<{
|
|
451
|
+
readonly GasCoin: null;
|
|
452
|
+
readonly Input: import("effect/Schema").Int;
|
|
453
|
+
readonly Result: import("effect/Schema").Int;
|
|
454
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
455
|
+
}>>>;
|
|
456
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
457
|
+
readonly GasCoin: null;
|
|
458
|
+
readonly Input: import("effect/Schema").Int;
|
|
459
|
+
readonly Result: import("effect/Schema").Int;
|
|
460
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
461
|
+
}>, Bcs.EnumEncoded<{
|
|
462
|
+
readonly GasCoin: null;
|
|
463
|
+
readonly Input: import("effect/Schema").Int;
|
|
464
|
+
readonly Result: import("effect/Schema").Int;
|
|
465
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
466
|
+
}>>;
|
|
467
|
+
}>;
|
|
468
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
469
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
470
|
+
readonly GasCoin: null;
|
|
471
|
+
readonly Input: import("effect/Schema").Int;
|
|
472
|
+
readonly Result: import("effect/Schema").Int;
|
|
473
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
474
|
+
}>, Bcs.EnumEncoded<{
|
|
475
|
+
readonly GasCoin: null;
|
|
476
|
+
readonly Input: import("effect/Schema").Int;
|
|
477
|
+
readonly Result: import("effect/Schema").Int;
|
|
478
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
479
|
+
}>>;
|
|
480
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
481
|
+
readonly GasCoin: null;
|
|
482
|
+
readonly Input: import("effect/Schema").Int;
|
|
483
|
+
readonly Result: import("effect/Schema").Int;
|
|
484
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
485
|
+
}>, Bcs.EnumEncoded<{
|
|
486
|
+
readonly GasCoin: null;
|
|
487
|
+
readonly Input: import("effect/Schema").Int;
|
|
488
|
+
readonly Result: import("effect/Schema").Int;
|
|
489
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
490
|
+
}>>>;
|
|
491
|
+
}>;
|
|
492
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
493
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
494
|
+
readonly GasCoin: null;
|
|
495
|
+
readonly Input: import("effect/Schema").Int;
|
|
496
|
+
readonly Result: import("effect/Schema").Int;
|
|
497
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
498
|
+
}>, Bcs.EnumEncoded<{
|
|
499
|
+
readonly GasCoin: null;
|
|
500
|
+
readonly Input: import("effect/Schema").Int;
|
|
501
|
+
readonly Result: import("effect/Schema").Int;
|
|
502
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
503
|
+
}>>;
|
|
504
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
505
|
+
readonly GasCoin: null;
|
|
506
|
+
readonly Input: import("effect/Schema").Int;
|
|
507
|
+
readonly Result: import("effect/Schema").Int;
|
|
508
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
509
|
+
}>, Bcs.EnumEncoded<{
|
|
510
|
+
readonly GasCoin: null;
|
|
511
|
+
readonly Input: import("effect/Schema").Int;
|
|
512
|
+
readonly Result: import("effect/Schema").Int;
|
|
513
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
514
|
+
}>>>;
|
|
515
|
+
}>;
|
|
516
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
517
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
518
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
519
|
+
}>;
|
|
520
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
521
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
522
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
523
|
+
readonly GasCoin: null;
|
|
524
|
+
readonly Input: import("effect/Schema").Int;
|
|
525
|
+
readonly Result: import("effect/Schema").Int;
|
|
526
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
527
|
+
}>, Bcs.EnumEncoded<{
|
|
528
|
+
readonly GasCoin: null;
|
|
529
|
+
readonly Input: import("effect/Schema").Int;
|
|
530
|
+
readonly Result: import("effect/Schema").Int;
|
|
531
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
532
|
+
}>>>;
|
|
533
|
+
}>;
|
|
534
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
535
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
536
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
537
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
538
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
539
|
+
readonly GasCoin: null;
|
|
540
|
+
readonly Input: import("effect/Schema").Int;
|
|
541
|
+
readonly Result: import("effect/Schema").Int;
|
|
542
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
543
|
+
}>, Bcs.EnumEncoded<{
|
|
544
|
+
readonly GasCoin: null;
|
|
545
|
+
readonly Input: import("effect/Schema").Int;
|
|
546
|
+
readonly Result: import("effect/Schema").Int;
|
|
547
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
548
|
+
}>>;
|
|
549
|
+
}>;
|
|
550
|
+
}>>;
|
|
551
|
+
export type Command = typeof Command.Type;
|
|
552
|
+
export declare const ProgrammableTransaction: import("effect/Schema").Struct<{
|
|
553
|
+
readonly inputs: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
554
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
555
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
556
|
+
}>;
|
|
557
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
558
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
559
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
560
|
+
readonly version: import("effect/Schema").BigInt;
|
|
561
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
562
|
+
}>;
|
|
563
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
564
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
565
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
566
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
567
|
+
readonly Immutable: null;
|
|
568
|
+
readonly Mutable: null;
|
|
569
|
+
readonly NonExclusiveWrite: null;
|
|
570
|
+
}>, Bcs.EnumEncoded<{
|
|
571
|
+
readonly Immutable: null;
|
|
572
|
+
readonly Mutable: null;
|
|
573
|
+
readonly NonExclusiveWrite: null;
|
|
574
|
+
}>>;
|
|
575
|
+
}>;
|
|
576
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
577
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
578
|
+
readonly version: import("effect/Schema").BigInt;
|
|
579
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
580
|
+
}>;
|
|
581
|
+
}>, Bcs.EnumEncoded<{
|
|
582
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
583
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
584
|
+
readonly version: import("effect/Schema").BigInt;
|
|
585
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
586
|
+
}>;
|
|
587
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
588
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
589
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
590
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
591
|
+
readonly Immutable: null;
|
|
592
|
+
readonly Mutable: null;
|
|
593
|
+
readonly NonExclusiveWrite: null;
|
|
594
|
+
}>, Bcs.EnumEncoded<{
|
|
595
|
+
readonly Immutable: null;
|
|
596
|
+
readonly Mutable: null;
|
|
597
|
+
readonly NonExclusiveWrite: null;
|
|
598
|
+
}>>;
|
|
599
|
+
}>;
|
|
600
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
601
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
602
|
+
readonly version: import("effect/Schema").BigInt;
|
|
603
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
604
|
+
}>;
|
|
605
|
+
}>>;
|
|
606
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
607
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
608
|
+
readonly _tag: "MaxAmountU64";
|
|
609
|
+
readonly value: bigint;
|
|
610
|
+
}, {
|
|
611
|
+
readonly _tag: "MaxAmountU64";
|
|
612
|
+
readonly value: bigint;
|
|
613
|
+
}>;
|
|
614
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
615
|
+
readonly _tag: "Balance";
|
|
616
|
+
readonly value: TypeTag;
|
|
617
|
+
}, {
|
|
618
|
+
readonly _tag: "Balance";
|
|
619
|
+
readonly value: any;
|
|
620
|
+
}>;
|
|
621
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
622
|
+
readonly Sender: null;
|
|
623
|
+
readonly Sponsor: null;
|
|
624
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
625
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
626
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
627
|
+
}>;
|
|
628
|
+
}>, Bcs.EnumEncoded<{
|
|
629
|
+
readonly Sender: null;
|
|
630
|
+
readonly Sponsor: null;
|
|
631
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
632
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
633
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
634
|
+
}>;
|
|
635
|
+
}>>;
|
|
636
|
+
}>;
|
|
637
|
+
}>, Bcs.EnumEncoded<{
|
|
638
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
639
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
640
|
+
}>;
|
|
641
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
642
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
643
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
644
|
+
readonly version: import("effect/Schema").BigInt;
|
|
645
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
646
|
+
}>;
|
|
647
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
648
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
649
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
650
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
651
|
+
readonly Immutable: null;
|
|
652
|
+
readonly Mutable: null;
|
|
653
|
+
readonly NonExclusiveWrite: null;
|
|
654
|
+
}>, Bcs.EnumEncoded<{
|
|
655
|
+
readonly Immutable: null;
|
|
656
|
+
readonly Mutable: null;
|
|
657
|
+
readonly NonExclusiveWrite: null;
|
|
658
|
+
}>>;
|
|
659
|
+
}>;
|
|
660
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
661
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
662
|
+
readonly version: import("effect/Schema").BigInt;
|
|
663
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
664
|
+
}>;
|
|
665
|
+
}>, Bcs.EnumEncoded<{
|
|
666
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
667
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
668
|
+
readonly version: import("effect/Schema").BigInt;
|
|
669
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
670
|
+
}>;
|
|
671
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
672
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
673
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
674
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
675
|
+
readonly Immutable: null;
|
|
676
|
+
readonly Mutable: null;
|
|
677
|
+
readonly NonExclusiveWrite: null;
|
|
678
|
+
}>, Bcs.EnumEncoded<{
|
|
679
|
+
readonly Immutable: null;
|
|
680
|
+
readonly Mutable: null;
|
|
681
|
+
readonly NonExclusiveWrite: null;
|
|
682
|
+
}>>;
|
|
683
|
+
}>;
|
|
684
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
685
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
686
|
+
readonly version: import("effect/Schema").BigInt;
|
|
687
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
688
|
+
}>;
|
|
689
|
+
}>>;
|
|
690
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
691
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
692
|
+
readonly _tag: "MaxAmountU64";
|
|
693
|
+
readonly value: bigint;
|
|
694
|
+
}, {
|
|
695
|
+
readonly _tag: "MaxAmountU64";
|
|
696
|
+
readonly value: bigint;
|
|
697
|
+
}>;
|
|
698
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
699
|
+
readonly _tag: "Balance";
|
|
700
|
+
readonly value: TypeTag;
|
|
701
|
+
}, {
|
|
702
|
+
readonly _tag: "Balance";
|
|
703
|
+
readonly value: any;
|
|
704
|
+
}>;
|
|
705
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
706
|
+
readonly Sender: null;
|
|
707
|
+
readonly Sponsor: null;
|
|
708
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
709
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
710
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
711
|
+
}>;
|
|
712
|
+
}>, Bcs.EnumEncoded<{
|
|
713
|
+
readonly Sender: null;
|
|
714
|
+
readonly Sponsor: null;
|
|
715
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
716
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
717
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
718
|
+
}>;
|
|
719
|
+
}>>;
|
|
720
|
+
}>;
|
|
721
|
+
}>>>;
|
|
722
|
+
readonly commands: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
723
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
724
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
725
|
+
readonly module: import("effect/Schema").String;
|
|
726
|
+
readonly function: import("effect/Schema").String;
|
|
727
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
728
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
729
|
+
readonly GasCoin: null;
|
|
730
|
+
readonly Input: import("effect/Schema").Int;
|
|
731
|
+
readonly Result: import("effect/Schema").Int;
|
|
732
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
733
|
+
}>, Bcs.EnumEncoded<{
|
|
734
|
+
readonly GasCoin: null;
|
|
735
|
+
readonly Input: import("effect/Schema").Int;
|
|
736
|
+
readonly Result: import("effect/Schema").Int;
|
|
737
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
738
|
+
}>>>;
|
|
739
|
+
}>;
|
|
740
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
741
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
742
|
+
readonly GasCoin: null;
|
|
743
|
+
readonly Input: import("effect/Schema").Int;
|
|
744
|
+
readonly Result: import("effect/Schema").Int;
|
|
745
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
746
|
+
}>, Bcs.EnumEncoded<{
|
|
747
|
+
readonly GasCoin: null;
|
|
748
|
+
readonly Input: import("effect/Schema").Int;
|
|
749
|
+
readonly Result: import("effect/Schema").Int;
|
|
750
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
751
|
+
}>>>;
|
|
752
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
753
|
+
readonly GasCoin: null;
|
|
754
|
+
readonly Input: import("effect/Schema").Int;
|
|
755
|
+
readonly Result: import("effect/Schema").Int;
|
|
756
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
757
|
+
}>, Bcs.EnumEncoded<{
|
|
758
|
+
readonly GasCoin: null;
|
|
759
|
+
readonly Input: import("effect/Schema").Int;
|
|
760
|
+
readonly Result: import("effect/Schema").Int;
|
|
761
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
762
|
+
}>>;
|
|
763
|
+
}>;
|
|
764
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
765
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
766
|
+
readonly GasCoin: null;
|
|
767
|
+
readonly Input: import("effect/Schema").Int;
|
|
768
|
+
readonly Result: import("effect/Schema").Int;
|
|
769
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
770
|
+
}>, Bcs.EnumEncoded<{
|
|
771
|
+
readonly GasCoin: null;
|
|
772
|
+
readonly Input: import("effect/Schema").Int;
|
|
773
|
+
readonly Result: import("effect/Schema").Int;
|
|
774
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
775
|
+
}>>;
|
|
776
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
777
|
+
readonly GasCoin: null;
|
|
778
|
+
readonly Input: import("effect/Schema").Int;
|
|
779
|
+
readonly Result: import("effect/Schema").Int;
|
|
780
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
781
|
+
}>, Bcs.EnumEncoded<{
|
|
782
|
+
readonly GasCoin: null;
|
|
783
|
+
readonly Input: import("effect/Schema").Int;
|
|
784
|
+
readonly Result: import("effect/Schema").Int;
|
|
785
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
786
|
+
}>>>;
|
|
787
|
+
}>;
|
|
788
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
789
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
790
|
+
readonly GasCoin: null;
|
|
791
|
+
readonly Input: import("effect/Schema").Int;
|
|
792
|
+
readonly Result: import("effect/Schema").Int;
|
|
793
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
794
|
+
}>, Bcs.EnumEncoded<{
|
|
795
|
+
readonly GasCoin: null;
|
|
796
|
+
readonly Input: import("effect/Schema").Int;
|
|
797
|
+
readonly Result: import("effect/Schema").Int;
|
|
798
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
799
|
+
}>>;
|
|
800
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
801
|
+
readonly GasCoin: null;
|
|
802
|
+
readonly Input: import("effect/Schema").Int;
|
|
803
|
+
readonly Result: import("effect/Schema").Int;
|
|
804
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
805
|
+
}>, Bcs.EnumEncoded<{
|
|
806
|
+
readonly GasCoin: null;
|
|
807
|
+
readonly Input: import("effect/Schema").Int;
|
|
808
|
+
readonly Result: import("effect/Schema").Int;
|
|
809
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
810
|
+
}>>>;
|
|
811
|
+
}>;
|
|
812
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
813
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
814
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
815
|
+
}>;
|
|
816
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
817
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
818
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
819
|
+
readonly GasCoin: null;
|
|
820
|
+
readonly Input: import("effect/Schema").Int;
|
|
821
|
+
readonly Result: import("effect/Schema").Int;
|
|
822
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
823
|
+
}>, Bcs.EnumEncoded<{
|
|
824
|
+
readonly GasCoin: null;
|
|
825
|
+
readonly Input: import("effect/Schema").Int;
|
|
826
|
+
readonly Result: import("effect/Schema").Int;
|
|
827
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
828
|
+
}>>>;
|
|
829
|
+
}>;
|
|
830
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
831
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
832
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
833
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
834
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
835
|
+
readonly GasCoin: null;
|
|
836
|
+
readonly Input: import("effect/Schema").Int;
|
|
837
|
+
readonly Result: import("effect/Schema").Int;
|
|
838
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
839
|
+
}>, Bcs.EnumEncoded<{
|
|
840
|
+
readonly GasCoin: null;
|
|
841
|
+
readonly Input: import("effect/Schema").Int;
|
|
842
|
+
readonly Result: import("effect/Schema").Int;
|
|
843
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
844
|
+
}>>;
|
|
845
|
+
}>;
|
|
846
|
+
}>, Bcs.EnumEncoded<{
|
|
847
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
848
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
849
|
+
readonly module: import("effect/Schema").String;
|
|
850
|
+
readonly function: import("effect/Schema").String;
|
|
851
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
852
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
853
|
+
readonly GasCoin: null;
|
|
854
|
+
readonly Input: import("effect/Schema").Int;
|
|
855
|
+
readonly Result: import("effect/Schema").Int;
|
|
856
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
857
|
+
}>, Bcs.EnumEncoded<{
|
|
858
|
+
readonly GasCoin: null;
|
|
859
|
+
readonly Input: import("effect/Schema").Int;
|
|
860
|
+
readonly Result: import("effect/Schema").Int;
|
|
861
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
862
|
+
}>>>;
|
|
863
|
+
}>;
|
|
864
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
865
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
866
|
+
readonly GasCoin: null;
|
|
867
|
+
readonly Input: import("effect/Schema").Int;
|
|
868
|
+
readonly Result: import("effect/Schema").Int;
|
|
869
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
870
|
+
}>, Bcs.EnumEncoded<{
|
|
871
|
+
readonly GasCoin: null;
|
|
872
|
+
readonly Input: import("effect/Schema").Int;
|
|
873
|
+
readonly Result: import("effect/Schema").Int;
|
|
874
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
875
|
+
}>>>;
|
|
876
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
877
|
+
readonly GasCoin: null;
|
|
878
|
+
readonly Input: import("effect/Schema").Int;
|
|
879
|
+
readonly Result: import("effect/Schema").Int;
|
|
880
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
881
|
+
}>, Bcs.EnumEncoded<{
|
|
882
|
+
readonly GasCoin: null;
|
|
883
|
+
readonly Input: import("effect/Schema").Int;
|
|
884
|
+
readonly Result: import("effect/Schema").Int;
|
|
885
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
886
|
+
}>>;
|
|
887
|
+
}>;
|
|
888
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
889
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
890
|
+
readonly GasCoin: null;
|
|
891
|
+
readonly Input: import("effect/Schema").Int;
|
|
892
|
+
readonly Result: import("effect/Schema").Int;
|
|
893
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
894
|
+
}>, Bcs.EnumEncoded<{
|
|
895
|
+
readonly GasCoin: null;
|
|
896
|
+
readonly Input: import("effect/Schema").Int;
|
|
897
|
+
readonly Result: import("effect/Schema").Int;
|
|
898
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
899
|
+
}>>;
|
|
900
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
901
|
+
readonly GasCoin: null;
|
|
902
|
+
readonly Input: import("effect/Schema").Int;
|
|
903
|
+
readonly Result: import("effect/Schema").Int;
|
|
904
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
905
|
+
}>, Bcs.EnumEncoded<{
|
|
906
|
+
readonly GasCoin: null;
|
|
907
|
+
readonly Input: import("effect/Schema").Int;
|
|
908
|
+
readonly Result: import("effect/Schema").Int;
|
|
909
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
910
|
+
}>>>;
|
|
911
|
+
}>;
|
|
912
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
913
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
914
|
+
readonly GasCoin: null;
|
|
915
|
+
readonly Input: import("effect/Schema").Int;
|
|
916
|
+
readonly Result: import("effect/Schema").Int;
|
|
917
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
918
|
+
}>, Bcs.EnumEncoded<{
|
|
919
|
+
readonly GasCoin: null;
|
|
920
|
+
readonly Input: import("effect/Schema").Int;
|
|
921
|
+
readonly Result: import("effect/Schema").Int;
|
|
922
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
923
|
+
}>>;
|
|
924
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
925
|
+
readonly GasCoin: null;
|
|
926
|
+
readonly Input: import("effect/Schema").Int;
|
|
927
|
+
readonly Result: import("effect/Schema").Int;
|
|
928
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
929
|
+
}>, Bcs.EnumEncoded<{
|
|
930
|
+
readonly GasCoin: null;
|
|
931
|
+
readonly Input: import("effect/Schema").Int;
|
|
932
|
+
readonly Result: import("effect/Schema").Int;
|
|
933
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
934
|
+
}>>>;
|
|
935
|
+
}>;
|
|
936
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
937
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
938
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
939
|
+
}>;
|
|
940
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
941
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
942
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
943
|
+
readonly GasCoin: null;
|
|
944
|
+
readonly Input: import("effect/Schema").Int;
|
|
945
|
+
readonly Result: import("effect/Schema").Int;
|
|
946
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
947
|
+
}>, Bcs.EnumEncoded<{
|
|
948
|
+
readonly GasCoin: null;
|
|
949
|
+
readonly Input: import("effect/Schema").Int;
|
|
950
|
+
readonly Result: import("effect/Schema").Int;
|
|
951
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
952
|
+
}>>>;
|
|
953
|
+
}>;
|
|
954
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
955
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
956
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
957
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
958
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
959
|
+
readonly GasCoin: null;
|
|
960
|
+
readonly Input: import("effect/Schema").Int;
|
|
961
|
+
readonly Result: import("effect/Schema").Int;
|
|
962
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
963
|
+
}>, Bcs.EnumEncoded<{
|
|
964
|
+
readonly GasCoin: null;
|
|
965
|
+
readonly Input: import("effect/Schema").Int;
|
|
966
|
+
readonly Result: import("effect/Schema").Int;
|
|
967
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
968
|
+
}>>;
|
|
969
|
+
}>;
|
|
970
|
+
}>>>;
|
|
971
|
+
}>;
|
|
972
|
+
export type ProgrammableTransaction = typeof ProgrammableTransaction.Type;
|
|
973
|
+
/**
|
|
974
|
+
* The user-facing kind. System kinds (ChangeEpoch, Genesis, ...) follow in
|
|
975
|
+
* Rust order and would be added as variants; decoding one today is a typed
|
|
976
|
+
* `BcsDecodeError`, never a guess.
|
|
977
|
+
*/
|
|
978
|
+
export declare const TransactionKind: Bcs.BcsSchema<{
|
|
979
|
+
readonly inputs: readonly Bcs.EnumType<{
|
|
980
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
981
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
982
|
+
}>;
|
|
983
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
984
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
985
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
986
|
+
readonly version: import("effect/Schema").BigInt;
|
|
987
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
988
|
+
}>;
|
|
989
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
990
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
991
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
992
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
993
|
+
readonly Immutable: null;
|
|
994
|
+
readonly Mutable: null;
|
|
995
|
+
readonly NonExclusiveWrite: null;
|
|
996
|
+
}>, Bcs.EnumEncoded<{
|
|
997
|
+
readonly Immutable: null;
|
|
998
|
+
readonly Mutable: null;
|
|
999
|
+
readonly NonExclusiveWrite: null;
|
|
1000
|
+
}>>;
|
|
1001
|
+
}>;
|
|
1002
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1003
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1004
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1005
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1006
|
+
}>;
|
|
1007
|
+
}>, Bcs.EnumEncoded<{
|
|
1008
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1009
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1010
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1011
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1012
|
+
}>;
|
|
1013
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1014
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1015
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1016
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1017
|
+
readonly Immutable: null;
|
|
1018
|
+
readonly Mutable: null;
|
|
1019
|
+
readonly NonExclusiveWrite: null;
|
|
1020
|
+
}>, Bcs.EnumEncoded<{
|
|
1021
|
+
readonly Immutable: null;
|
|
1022
|
+
readonly Mutable: null;
|
|
1023
|
+
readonly NonExclusiveWrite: null;
|
|
1024
|
+
}>>;
|
|
1025
|
+
}>;
|
|
1026
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1027
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1028
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1029
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1030
|
+
}>;
|
|
1031
|
+
}>>;
|
|
1032
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
1033
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
1034
|
+
readonly _tag: "MaxAmountU64";
|
|
1035
|
+
readonly value: bigint;
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly _tag: "MaxAmountU64";
|
|
1038
|
+
readonly value: bigint;
|
|
1039
|
+
}>;
|
|
1040
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
1041
|
+
readonly _tag: "Balance";
|
|
1042
|
+
readonly value: TypeTag;
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly _tag: "Balance";
|
|
1045
|
+
readonly value: any;
|
|
1046
|
+
}>;
|
|
1047
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1048
|
+
readonly Sender: null;
|
|
1049
|
+
readonly Sponsor: null;
|
|
1050
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1051
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1052
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1053
|
+
}>;
|
|
1054
|
+
}>, Bcs.EnumEncoded<{
|
|
1055
|
+
readonly Sender: null;
|
|
1056
|
+
readonly Sponsor: null;
|
|
1057
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1058
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1059
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1060
|
+
}>;
|
|
1061
|
+
}>>;
|
|
1062
|
+
}>;
|
|
1063
|
+
}>[];
|
|
1064
|
+
readonly commands: readonly Bcs.EnumType<{
|
|
1065
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
1066
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1067
|
+
readonly module: import("effect/Schema").String;
|
|
1068
|
+
readonly function: import("effect/Schema").String;
|
|
1069
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
1070
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1071
|
+
readonly GasCoin: null;
|
|
1072
|
+
readonly Input: import("effect/Schema").Int;
|
|
1073
|
+
readonly Result: import("effect/Schema").Int;
|
|
1074
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1075
|
+
}>, Bcs.EnumEncoded<{
|
|
1076
|
+
readonly GasCoin: null;
|
|
1077
|
+
readonly Input: import("effect/Schema").Int;
|
|
1078
|
+
readonly Result: import("effect/Schema").Int;
|
|
1079
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1080
|
+
}>>>;
|
|
1081
|
+
}>;
|
|
1082
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
1083
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1084
|
+
readonly GasCoin: null;
|
|
1085
|
+
readonly Input: import("effect/Schema").Int;
|
|
1086
|
+
readonly Result: import("effect/Schema").Int;
|
|
1087
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1088
|
+
}>, Bcs.EnumEncoded<{
|
|
1089
|
+
readonly GasCoin: null;
|
|
1090
|
+
readonly Input: import("effect/Schema").Int;
|
|
1091
|
+
readonly Result: import("effect/Schema").Int;
|
|
1092
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1093
|
+
}>>>;
|
|
1094
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1095
|
+
readonly GasCoin: null;
|
|
1096
|
+
readonly Input: import("effect/Schema").Int;
|
|
1097
|
+
readonly Result: import("effect/Schema").Int;
|
|
1098
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1099
|
+
}>, Bcs.EnumEncoded<{
|
|
1100
|
+
readonly GasCoin: null;
|
|
1101
|
+
readonly Input: import("effect/Schema").Int;
|
|
1102
|
+
readonly Result: import("effect/Schema").Int;
|
|
1103
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1104
|
+
}>>;
|
|
1105
|
+
}>;
|
|
1106
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
1107
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1108
|
+
readonly GasCoin: null;
|
|
1109
|
+
readonly Input: import("effect/Schema").Int;
|
|
1110
|
+
readonly Result: import("effect/Schema").Int;
|
|
1111
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1112
|
+
}>, Bcs.EnumEncoded<{
|
|
1113
|
+
readonly GasCoin: null;
|
|
1114
|
+
readonly Input: import("effect/Schema").Int;
|
|
1115
|
+
readonly Result: import("effect/Schema").Int;
|
|
1116
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1117
|
+
}>>;
|
|
1118
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1119
|
+
readonly GasCoin: null;
|
|
1120
|
+
readonly Input: import("effect/Schema").Int;
|
|
1121
|
+
readonly Result: import("effect/Schema").Int;
|
|
1122
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1123
|
+
}>, Bcs.EnumEncoded<{
|
|
1124
|
+
readonly GasCoin: null;
|
|
1125
|
+
readonly Input: import("effect/Schema").Int;
|
|
1126
|
+
readonly Result: import("effect/Schema").Int;
|
|
1127
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1128
|
+
}>>>;
|
|
1129
|
+
}>;
|
|
1130
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
1131
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1132
|
+
readonly GasCoin: null;
|
|
1133
|
+
readonly Input: import("effect/Schema").Int;
|
|
1134
|
+
readonly Result: import("effect/Schema").Int;
|
|
1135
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1136
|
+
}>, Bcs.EnumEncoded<{
|
|
1137
|
+
readonly GasCoin: null;
|
|
1138
|
+
readonly Input: import("effect/Schema").Int;
|
|
1139
|
+
readonly Result: import("effect/Schema").Int;
|
|
1140
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1141
|
+
}>>;
|
|
1142
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1143
|
+
readonly GasCoin: null;
|
|
1144
|
+
readonly Input: import("effect/Schema").Int;
|
|
1145
|
+
readonly Result: import("effect/Schema").Int;
|
|
1146
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1147
|
+
}>, Bcs.EnumEncoded<{
|
|
1148
|
+
readonly GasCoin: null;
|
|
1149
|
+
readonly Input: import("effect/Schema").Int;
|
|
1150
|
+
readonly Result: import("effect/Schema").Int;
|
|
1151
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1152
|
+
}>>>;
|
|
1153
|
+
}>;
|
|
1154
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
1155
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1156
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1157
|
+
}>;
|
|
1158
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
1159
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
1160
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1161
|
+
readonly GasCoin: null;
|
|
1162
|
+
readonly Input: import("effect/Schema").Int;
|
|
1163
|
+
readonly Result: import("effect/Schema").Int;
|
|
1164
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1165
|
+
}>, Bcs.EnumEncoded<{
|
|
1166
|
+
readonly GasCoin: null;
|
|
1167
|
+
readonly Input: import("effect/Schema").Int;
|
|
1168
|
+
readonly Result: import("effect/Schema").Int;
|
|
1169
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1170
|
+
}>>>;
|
|
1171
|
+
}>;
|
|
1172
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
1173
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1174
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1175
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1176
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1177
|
+
readonly GasCoin: null;
|
|
1178
|
+
readonly Input: import("effect/Schema").Int;
|
|
1179
|
+
readonly Result: import("effect/Schema").Int;
|
|
1180
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1181
|
+
}>, Bcs.EnumEncoded<{
|
|
1182
|
+
readonly GasCoin: null;
|
|
1183
|
+
readonly Input: import("effect/Schema").Int;
|
|
1184
|
+
readonly Result: import("effect/Schema").Int;
|
|
1185
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1186
|
+
}>>;
|
|
1187
|
+
}>;
|
|
1188
|
+
}>[];
|
|
1189
|
+
} & {
|
|
1190
|
+
readonly _tag: "ProgrammableTransaction";
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly inputs: readonly Bcs.EnumEncoded<{
|
|
1193
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
1194
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
1195
|
+
}>;
|
|
1196
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1197
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1198
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1199
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1200
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1201
|
+
}>;
|
|
1202
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1203
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1204
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1205
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1206
|
+
readonly Immutable: null;
|
|
1207
|
+
readonly Mutable: null;
|
|
1208
|
+
readonly NonExclusiveWrite: null;
|
|
1209
|
+
}>, Bcs.EnumEncoded<{
|
|
1210
|
+
readonly Immutable: null;
|
|
1211
|
+
readonly Mutable: null;
|
|
1212
|
+
readonly NonExclusiveWrite: null;
|
|
1213
|
+
}>>;
|
|
1214
|
+
}>;
|
|
1215
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1216
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1217
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1218
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1219
|
+
}>;
|
|
1220
|
+
}>, Bcs.EnumEncoded<{
|
|
1221
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1222
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1223
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1224
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1225
|
+
}>;
|
|
1226
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1227
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1228
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1229
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1230
|
+
readonly Immutable: null;
|
|
1231
|
+
readonly Mutable: null;
|
|
1232
|
+
readonly NonExclusiveWrite: null;
|
|
1233
|
+
}>, Bcs.EnumEncoded<{
|
|
1234
|
+
readonly Immutable: null;
|
|
1235
|
+
readonly Mutable: null;
|
|
1236
|
+
readonly NonExclusiveWrite: null;
|
|
1237
|
+
}>>;
|
|
1238
|
+
}>;
|
|
1239
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1240
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1241
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1242
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1243
|
+
}>;
|
|
1244
|
+
}>>;
|
|
1245
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
1246
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
1247
|
+
readonly _tag: "MaxAmountU64";
|
|
1248
|
+
readonly value: bigint;
|
|
1249
|
+
}, {
|
|
1250
|
+
readonly _tag: "MaxAmountU64";
|
|
1251
|
+
readonly value: bigint;
|
|
1252
|
+
}>;
|
|
1253
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
1254
|
+
readonly _tag: "Balance";
|
|
1255
|
+
readonly value: TypeTag;
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly _tag: "Balance";
|
|
1258
|
+
readonly value: any;
|
|
1259
|
+
}>;
|
|
1260
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1261
|
+
readonly Sender: null;
|
|
1262
|
+
readonly Sponsor: null;
|
|
1263
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1264
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1265
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1266
|
+
}>;
|
|
1267
|
+
}>, Bcs.EnumEncoded<{
|
|
1268
|
+
readonly Sender: null;
|
|
1269
|
+
readonly Sponsor: null;
|
|
1270
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1271
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1272
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1273
|
+
}>;
|
|
1274
|
+
}>>;
|
|
1275
|
+
}>;
|
|
1276
|
+
}>[];
|
|
1277
|
+
readonly commands: readonly Bcs.EnumEncoded<{
|
|
1278
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
1279
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1280
|
+
readonly module: import("effect/Schema").String;
|
|
1281
|
+
readonly function: import("effect/Schema").String;
|
|
1282
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
1283
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1284
|
+
readonly GasCoin: null;
|
|
1285
|
+
readonly Input: import("effect/Schema").Int;
|
|
1286
|
+
readonly Result: import("effect/Schema").Int;
|
|
1287
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1288
|
+
}>, Bcs.EnumEncoded<{
|
|
1289
|
+
readonly GasCoin: null;
|
|
1290
|
+
readonly Input: import("effect/Schema").Int;
|
|
1291
|
+
readonly Result: import("effect/Schema").Int;
|
|
1292
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1293
|
+
}>>>;
|
|
1294
|
+
}>;
|
|
1295
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
1296
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1297
|
+
readonly GasCoin: null;
|
|
1298
|
+
readonly Input: import("effect/Schema").Int;
|
|
1299
|
+
readonly Result: import("effect/Schema").Int;
|
|
1300
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1301
|
+
}>, Bcs.EnumEncoded<{
|
|
1302
|
+
readonly GasCoin: null;
|
|
1303
|
+
readonly Input: import("effect/Schema").Int;
|
|
1304
|
+
readonly Result: import("effect/Schema").Int;
|
|
1305
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1306
|
+
}>>>;
|
|
1307
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1308
|
+
readonly GasCoin: null;
|
|
1309
|
+
readonly Input: import("effect/Schema").Int;
|
|
1310
|
+
readonly Result: import("effect/Schema").Int;
|
|
1311
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1312
|
+
}>, Bcs.EnumEncoded<{
|
|
1313
|
+
readonly GasCoin: null;
|
|
1314
|
+
readonly Input: import("effect/Schema").Int;
|
|
1315
|
+
readonly Result: import("effect/Schema").Int;
|
|
1316
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1317
|
+
}>>;
|
|
1318
|
+
}>;
|
|
1319
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
1320
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1321
|
+
readonly GasCoin: null;
|
|
1322
|
+
readonly Input: import("effect/Schema").Int;
|
|
1323
|
+
readonly Result: import("effect/Schema").Int;
|
|
1324
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1325
|
+
}>, Bcs.EnumEncoded<{
|
|
1326
|
+
readonly GasCoin: null;
|
|
1327
|
+
readonly Input: import("effect/Schema").Int;
|
|
1328
|
+
readonly Result: import("effect/Schema").Int;
|
|
1329
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1330
|
+
}>>;
|
|
1331
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1332
|
+
readonly GasCoin: null;
|
|
1333
|
+
readonly Input: import("effect/Schema").Int;
|
|
1334
|
+
readonly Result: import("effect/Schema").Int;
|
|
1335
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1336
|
+
}>, Bcs.EnumEncoded<{
|
|
1337
|
+
readonly GasCoin: null;
|
|
1338
|
+
readonly Input: import("effect/Schema").Int;
|
|
1339
|
+
readonly Result: import("effect/Schema").Int;
|
|
1340
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1341
|
+
}>>>;
|
|
1342
|
+
}>;
|
|
1343
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
1344
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1345
|
+
readonly GasCoin: null;
|
|
1346
|
+
readonly Input: import("effect/Schema").Int;
|
|
1347
|
+
readonly Result: import("effect/Schema").Int;
|
|
1348
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1349
|
+
}>, Bcs.EnumEncoded<{
|
|
1350
|
+
readonly GasCoin: null;
|
|
1351
|
+
readonly Input: import("effect/Schema").Int;
|
|
1352
|
+
readonly Result: import("effect/Schema").Int;
|
|
1353
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1354
|
+
}>>;
|
|
1355
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1356
|
+
readonly GasCoin: null;
|
|
1357
|
+
readonly Input: import("effect/Schema").Int;
|
|
1358
|
+
readonly Result: import("effect/Schema").Int;
|
|
1359
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1360
|
+
}>, Bcs.EnumEncoded<{
|
|
1361
|
+
readonly GasCoin: null;
|
|
1362
|
+
readonly Input: import("effect/Schema").Int;
|
|
1363
|
+
readonly Result: import("effect/Schema").Int;
|
|
1364
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1365
|
+
}>>>;
|
|
1366
|
+
}>;
|
|
1367
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
1368
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1369
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1370
|
+
}>;
|
|
1371
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
1372
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
1373
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1374
|
+
readonly GasCoin: null;
|
|
1375
|
+
readonly Input: import("effect/Schema").Int;
|
|
1376
|
+
readonly Result: import("effect/Schema").Int;
|
|
1377
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1378
|
+
}>, Bcs.EnumEncoded<{
|
|
1379
|
+
readonly GasCoin: null;
|
|
1380
|
+
readonly Input: import("effect/Schema").Int;
|
|
1381
|
+
readonly Result: import("effect/Schema").Int;
|
|
1382
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1383
|
+
}>>>;
|
|
1384
|
+
}>;
|
|
1385
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
1386
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1387
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1388
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1389
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1390
|
+
readonly GasCoin: null;
|
|
1391
|
+
readonly Input: import("effect/Schema").Int;
|
|
1392
|
+
readonly Result: import("effect/Schema").Int;
|
|
1393
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1394
|
+
}>, Bcs.EnumEncoded<{
|
|
1395
|
+
readonly GasCoin: null;
|
|
1396
|
+
readonly Input: import("effect/Schema").Int;
|
|
1397
|
+
readonly Result: import("effect/Schema").Int;
|
|
1398
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1399
|
+
}>>;
|
|
1400
|
+
}>;
|
|
1401
|
+
}>[];
|
|
1402
|
+
} & {
|
|
1403
|
+
readonly _tag: "ProgrammableTransaction";
|
|
1404
|
+
}>;
|
|
1405
|
+
export type TransactionKind = typeof TransactionKind.Type;
|
|
1406
|
+
export declare const GasData: import("effect/Schema").Struct<{
|
|
1407
|
+
readonly payment: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1408
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1409
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1410
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1411
|
+
}>>;
|
|
1412
|
+
readonly owner: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1413
|
+
readonly price: import("effect/Schema").BigInt;
|
|
1414
|
+
readonly budget: import("effect/Schema").BigInt;
|
|
1415
|
+
}>;
|
|
1416
|
+
export type GasData = typeof GasData.Type;
|
|
1417
|
+
export declare const TransactionExpiration: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1418
|
+
readonly None: null;
|
|
1419
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
1420
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
1421
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1422
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1423
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1424
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1425
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1426
|
+
nonce: import("effect/Schema").Int;
|
|
1427
|
+
}>;
|
|
1428
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
1429
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
1430
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
1431
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
1432
|
+
}>>;
|
|
1433
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1434
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1435
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1436
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1437
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1438
|
+
readonly nonce: import("effect/Schema").Int;
|
|
1439
|
+
}>;
|
|
1440
|
+
}>, Bcs.EnumEncoded<{
|
|
1441
|
+
readonly None: null;
|
|
1442
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
1443
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
1444
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1445
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1446
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1447
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1448
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1449
|
+
nonce: import("effect/Schema").Int;
|
|
1450
|
+
}>;
|
|
1451
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
1452
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
1453
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
1454
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
1455
|
+
}>>;
|
|
1456
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1457
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1458
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1459
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1460
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1461
|
+
readonly nonce: import("effect/Schema").Int;
|
|
1462
|
+
}>;
|
|
1463
|
+
}>>;
|
|
1464
|
+
export type TransactionExpiration = typeof TransactionExpiration.Type;
|
|
1465
|
+
export declare const TransactionDataV1: import("effect/Schema").Struct<{
|
|
1466
|
+
readonly kind: Bcs.BcsSchema<{
|
|
1467
|
+
readonly inputs: readonly Bcs.EnumType<{
|
|
1468
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
1469
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
1470
|
+
}>;
|
|
1471
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1472
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1473
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1474
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1475
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1476
|
+
}>;
|
|
1477
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1478
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1479
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1480
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1481
|
+
readonly Immutable: null;
|
|
1482
|
+
readonly Mutable: null;
|
|
1483
|
+
readonly NonExclusiveWrite: null;
|
|
1484
|
+
}>, Bcs.EnumEncoded<{
|
|
1485
|
+
readonly Immutable: null;
|
|
1486
|
+
readonly Mutable: null;
|
|
1487
|
+
readonly NonExclusiveWrite: null;
|
|
1488
|
+
}>>;
|
|
1489
|
+
}>;
|
|
1490
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1491
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1492
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1493
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1494
|
+
}>;
|
|
1495
|
+
}>, Bcs.EnumEncoded<{
|
|
1496
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1497
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1498
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1499
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1500
|
+
}>;
|
|
1501
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1502
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1503
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1504
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1505
|
+
readonly Immutable: null;
|
|
1506
|
+
readonly Mutable: null;
|
|
1507
|
+
readonly NonExclusiveWrite: null;
|
|
1508
|
+
}>, Bcs.EnumEncoded<{
|
|
1509
|
+
readonly Immutable: null;
|
|
1510
|
+
readonly Mutable: null;
|
|
1511
|
+
readonly NonExclusiveWrite: null;
|
|
1512
|
+
}>>;
|
|
1513
|
+
}>;
|
|
1514
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1515
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1516
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1517
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1518
|
+
}>;
|
|
1519
|
+
}>>;
|
|
1520
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
1521
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
1522
|
+
readonly _tag: "MaxAmountU64";
|
|
1523
|
+
readonly value: bigint;
|
|
1524
|
+
}, {
|
|
1525
|
+
readonly _tag: "MaxAmountU64";
|
|
1526
|
+
readonly value: bigint;
|
|
1527
|
+
}>;
|
|
1528
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
1529
|
+
readonly _tag: "Balance";
|
|
1530
|
+
readonly value: TypeTag;
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly _tag: "Balance";
|
|
1533
|
+
readonly value: any;
|
|
1534
|
+
}>;
|
|
1535
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1536
|
+
readonly Sender: null;
|
|
1537
|
+
readonly Sponsor: null;
|
|
1538
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1539
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1540
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1541
|
+
}>;
|
|
1542
|
+
}>, Bcs.EnumEncoded<{
|
|
1543
|
+
readonly Sender: null;
|
|
1544
|
+
readonly Sponsor: null;
|
|
1545
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1546
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1547
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1548
|
+
}>;
|
|
1549
|
+
}>>;
|
|
1550
|
+
}>;
|
|
1551
|
+
}>[];
|
|
1552
|
+
readonly commands: readonly Bcs.EnumType<{
|
|
1553
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
1554
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1555
|
+
readonly module: import("effect/Schema").String;
|
|
1556
|
+
readonly function: import("effect/Schema").String;
|
|
1557
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
1558
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1559
|
+
readonly GasCoin: null;
|
|
1560
|
+
readonly Input: import("effect/Schema").Int;
|
|
1561
|
+
readonly Result: import("effect/Schema").Int;
|
|
1562
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1563
|
+
}>, Bcs.EnumEncoded<{
|
|
1564
|
+
readonly GasCoin: null;
|
|
1565
|
+
readonly Input: import("effect/Schema").Int;
|
|
1566
|
+
readonly Result: import("effect/Schema").Int;
|
|
1567
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1568
|
+
}>>>;
|
|
1569
|
+
}>;
|
|
1570
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
1571
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1572
|
+
readonly GasCoin: null;
|
|
1573
|
+
readonly Input: import("effect/Schema").Int;
|
|
1574
|
+
readonly Result: import("effect/Schema").Int;
|
|
1575
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1576
|
+
}>, Bcs.EnumEncoded<{
|
|
1577
|
+
readonly GasCoin: null;
|
|
1578
|
+
readonly Input: import("effect/Schema").Int;
|
|
1579
|
+
readonly Result: import("effect/Schema").Int;
|
|
1580
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1581
|
+
}>>>;
|
|
1582
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1583
|
+
readonly GasCoin: null;
|
|
1584
|
+
readonly Input: import("effect/Schema").Int;
|
|
1585
|
+
readonly Result: import("effect/Schema").Int;
|
|
1586
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1587
|
+
}>, Bcs.EnumEncoded<{
|
|
1588
|
+
readonly GasCoin: null;
|
|
1589
|
+
readonly Input: import("effect/Schema").Int;
|
|
1590
|
+
readonly Result: import("effect/Schema").Int;
|
|
1591
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1592
|
+
}>>;
|
|
1593
|
+
}>;
|
|
1594
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
1595
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1596
|
+
readonly GasCoin: null;
|
|
1597
|
+
readonly Input: import("effect/Schema").Int;
|
|
1598
|
+
readonly Result: import("effect/Schema").Int;
|
|
1599
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1600
|
+
}>, Bcs.EnumEncoded<{
|
|
1601
|
+
readonly GasCoin: null;
|
|
1602
|
+
readonly Input: import("effect/Schema").Int;
|
|
1603
|
+
readonly Result: import("effect/Schema").Int;
|
|
1604
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1605
|
+
}>>;
|
|
1606
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1607
|
+
readonly GasCoin: null;
|
|
1608
|
+
readonly Input: import("effect/Schema").Int;
|
|
1609
|
+
readonly Result: import("effect/Schema").Int;
|
|
1610
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1611
|
+
}>, Bcs.EnumEncoded<{
|
|
1612
|
+
readonly GasCoin: null;
|
|
1613
|
+
readonly Input: import("effect/Schema").Int;
|
|
1614
|
+
readonly Result: import("effect/Schema").Int;
|
|
1615
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1616
|
+
}>>>;
|
|
1617
|
+
}>;
|
|
1618
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
1619
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1620
|
+
readonly GasCoin: null;
|
|
1621
|
+
readonly Input: import("effect/Schema").Int;
|
|
1622
|
+
readonly Result: import("effect/Schema").Int;
|
|
1623
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1624
|
+
}>, Bcs.EnumEncoded<{
|
|
1625
|
+
readonly GasCoin: null;
|
|
1626
|
+
readonly Input: import("effect/Schema").Int;
|
|
1627
|
+
readonly Result: import("effect/Schema").Int;
|
|
1628
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1629
|
+
}>>;
|
|
1630
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1631
|
+
readonly GasCoin: null;
|
|
1632
|
+
readonly Input: import("effect/Schema").Int;
|
|
1633
|
+
readonly Result: import("effect/Schema").Int;
|
|
1634
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1635
|
+
}>, Bcs.EnumEncoded<{
|
|
1636
|
+
readonly GasCoin: null;
|
|
1637
|
+
readonly Input: import("effect/Schema").Int;
|
|
1638
|
+
readonly Result: import("effect/Schema").Int;
|
|
1639
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1640
|
+
}>>>;
|
|
1641
|
+
}>;
|
|
1642
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
1643
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1644
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1645
|
+
}>;
|
|
1646
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
1647
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
1648
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1649
|
+
readonly GasCoin: null;
|
|
1650
|
+
readonly Input: import("effect/Schema").Int;
|
|
1651
|
+
readonly Result: import("effect/Schema").Int;
|
|
1652
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1653
|
+
}>, Bcs.EnumEncoded<{
|
|
1654
|
+
readonly GasCoin: null;
|
|
1655
|
+
readonly Input: import("effect/Schema").Int;
|
|
1656
|
+
readonly Result: import("effect/Schema").Int;
|
|
1657
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1658
|
+
}>>>;
|
|
1659
|
+
}>;
|
|
1660
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
1661
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1662
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1663
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1664
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1665
|
+
readonly GasCoin: null;
|
|
1666
|
+
readonly Input: import("effect/Schema").Int;
|
|
1667
|
+
readonly Result: import("effect/Schema").Int;
|
|
1668
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1669
|
+
}>, Bcs.EnumEncoded<{
|
|
1670
|
+
readonly GasCoin: null;
|
|
1671
|
+
readonly Input: import("effect/Schema").Int;
|
|
1672
|
+
readonly Result: import("effect/Schema").Int;
|
|
1673
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1674
|
+
}>>;
|
|
1675
|
+
}>;
|
|
1676
|
+
}>[];
|
|
1677
|
+
} & {
|
|
1678
|
+
readonly _tag: "ProgrammableTransaction";
|
|
1679
|
+
}, {
|
|
1680
|
+
readonly inputs: readonly Bcs.EnumEncoded<{
|
|
1681
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
1682
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
1683
|
+
}>;
|
|
1684
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1685
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1686
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1687
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1688
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1689
|
+
}>;
|
|
1690
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1691
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1692
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1693
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1694
|
+
readonly Immutable: null;
|
|
1695
|
+
readonly Mutable: null;
|
|
1696
|
+
readonly NonExclusiveWrite: null;
|
|
1697
|
+
}>, Bcs.EnumEncoded<{
|
|
1698
|
+
readonly Immutable: null;
|
|
1699
|
+
readonly Mutable: null;
|
|
1700
|
+
readonly NonExclusiveWrite: null;
|
|
1701
|
+
}>>;
|
|
1702
|
+
}>;
|
|
1703
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1704
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1705
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1706
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1707
|
+
}>;
|
|
1708
|
+
}>, Bcs.EnumEncoded<{
|
|
1709
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1710
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1711
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1712
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1713
|
+
}>;
|
|
1714
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1715
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1716
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1717
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1718
|
+
readonly Immutable: null;
|
|
1719
|
+
readonly Mutable: null;
|
|
1720
|
+
readonly NonExclusiveWrite: null;
|
|
1721
|
+
}>, Bcs.EnumEncoded<{
|
|
1722
|
+
readonly Immutable: null;
|
|
1723
|
+
readonly Mutable: null;
|
|
1724
|
+
readonly NonExclusiveWrite: null;
|
|
1725
|
+
}>>;
|
|
1726
|
+
}>;
|
|
1727
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1728
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1729
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1730
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1731
|
+
}>;
|
|
1732
|
+
}>>;
|
|
1733
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
1734
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
1735
|
+
readonly _tag: "MaxAmountU64";
|
|
1736
|
+
readonly value: bigint;
|
|
1737
|
+
}, {
|
|
1738
|
+
readonly _tag: "MaxAmountU64";
|
|
1739
|
+
readonly value: bigint;
|
|
1740
|
+
}>;
|
|
1741
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
1742
|
+
readonly _tag: "Balance";
|
|
1743
|
+
readonly value: TypeTag;
|
|
1744
|
+
}, {
|
|
1745
|
+
readonly _tag: "Balance";
|
|
1746
|
+
readonly value: any;
|
|
1747
|
+
}>;
|
|
1748
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1749
|
+
readonly Sender: null;
|
|
1750
|
+
readonly Sponsor: null;
|
|
1751
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1752
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1753
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1754
|
+
}>;
|
|
1755
|
+
}>, Bcs.EnumEncoded<{
|
|
1756
|
+
readonly Sender: null;
|
|
1757
|
+
readonly Sponsor: null;
|
|
1758
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
1759
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1760
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1761
|
+
}>;
|
|
1762
|
+
}>>;
|
|
1763
|
+
}>;
|
|
1764
|
+
}>[];
|
|
1765
|
+
readonly commands: readonly Bcs.EnumEncoded<{
|
|
1766
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
1767
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1768
|
+
readonly module: import("effect/Schema").String;
|
|
1769
|
+
readonly function: import("effect/Schema").String;
|
|
1770
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
1771
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1772
|
+
readonly GasCoin: null;
|
|
1773
|
+
readonly Input: import("effect/Schema").Int;
|
|
1774
|
+
readonly Result: import("effect/Schema").Int;
|
|
1775
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1776
|
+
}>, Bcs.EnumEncoded<{
|
|
1777
|
+
readonly GasCoin: null;
|
|
1778
|
+
readonly Input: import("effect/Schema").Int;
|
|
1779
|
+
readonly Result: import("effect/Schema").Int;
|
|
1780
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1781
|
+
}>>>;
|
|
1782
|
+
}>;
|
|
1783
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
1784
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1785
|
+
readonly GasCoin: null;
|
|
1786
|
+
readonly Input: import("effect/Schema").Int;
|
|
1787
|
+
readonly Result: import("effect/Schema").Int;
|
|
1788
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1789
|
+
}>, Bcs.EnumEncoded<{
|
|
1790
|
+
readonly GasCoin: null;
|
|
1791
|
+
readonly Input: import("effect/Schema").Int;
|
|
1792
|
+
readonly Result: import("effect/Schema").Int;
|
|
1793
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1794
|
+
}>>>;
|
|
1795
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1796
|
+
readonly GasCoin: null;
|
|
1797
|
+
readonly Input: import("effect/Schema").Int;
|
|
1798
|
+
readonly Result: import("effect/Schema").Int;
|
|
1799
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1800
|
+
}>, Bcs.EnumEncoded<{
|
|
1801
|
+
readonly GasCoin: null;
|
|
1802
|
+
readonly Input: import("effect/Schema").Int;
|
|
1803
|
+
readonly Result: import("effect/Schema").Int;
|
|
1804
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1805
|
+
}>>;
|
|
1806
|
+
}>;
|
|
1807
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
1808
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1809
|
+
readonly GasCoin: null;
|
|
1810
|
+
readonly Input: import("effect/Schema").Int;
|
|
1811
|
+
readonly Result: import("effect/Schema").Int;
|
|
1812
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1813
|
+
}>, Bcs.EnumEncoded<{
|
|
1814
|
+
readonly GasCoin: null;
|
|
1815
|
+
readonly Input: import("effect/Schema").Int;
|
|
1816
|
+
readonly Result: import("effect/Schema").Int;
|
|
1817
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1818
|
+
}>>;
|
|
1819
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1820
|
+
readonly GasCoin: null;
|
|
1821
|
+
readonly Input: import("effect/Schema").Int;
|
|
1822
|
+
readonly Result: import("effect/Schema").Int;
|
|
1823
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1824
|
+
}>, Bcs.EnumEncoded<{
|
|
1825
|
+
readonly GasCoin: null;
|
|
1826
|
+
readonly Input: import("effect/Schema").Int;
|
|
1827
|
+
readonly Result: import("effect/Schema").Int;
|
|
1828
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1829
|
+
}>>>;
|
|
1830
|
+
}>;
|
|
1831
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
1832
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1833
|
+
readonly GasCoin: null;
|
|
1834
|
+
readonly Input: import("effect/Schema").Int;
|
|
1835
|
+
readonly Result: import("effect/Schema").Int;
|
|
1836
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1837
|
+
}>, Bcs.EnumEncoded<{
|
|
1838
|
+
readonly GasCoin: null;
|
|
1839
|
+
readonly Input: import("effect/Schema").Int;
|
|
1840
|
+
readonly Result: import("effect/Schema").Int;
|
|
1841
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1842
|
+
}>>;
|
|
1843
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1844
|
+
readonly GasCoin: null;
|
|
1845
|
+
readonly Input: import("effect/Schema").Int;
|
|
1846
|
+
readonly Result: import("effect/Schema").Int;
|
|
1847
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1848
|
+
}>, Bcs.EnumEncoded<{
|
|
1849
|
+
readonly GasCoin: null;
|
|
1850
|
+
readonly Input: import("effect/Schema").Int;
|
|
1851
|
+
readonly Result: import("effect/Schema").Int;
|
|
1852
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1853
|
+
}>>>;
|
|
1854
|
+
}>;
|
|
1855
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
1856
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1857
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1858
|
+
}>;
|
|
1859
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
1860
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
1861
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
1862
|
+
readonly GasCoin: null;
|
|
1863
|
+
readonly Input: import("effect/Schema").Int;
|
|
1864
|
+
readonly Result: import("effect/Schema").Int;
|
|
1865
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1866
|
+
}>, Bcs.EnumEncoded<{
|
|
1867
|
+
readonly GasCoin: null;
|
|
1868
|
+
readonly Input: import("effect/Schema").Int;
|
|
1869
|
+
readonly Result: import("effect/Schema").Int;
|
|
1870
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1871
|
+
}>>>;
|
|
1872
|
+
}>;
|
|
1873
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
1874
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
1875
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
1876
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1877
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1878
|
+
readonly GasCoin: null;
|
|
1879
|
+
readonly Input: import("effect/Schema").Int;
|
|
1880
|
+
readonly Result: import("effect/Schema").Int;
|
|
1881
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1882
|
+
}>, Bcs.EnumEncoded<{
|
|
1883
|
+
readonly GasCoin: null;
|
|
1884
|
+
readonly Input: import("effect/Schema").Int;
|
|
1885
|
+
readonly Result: import("effect/Schema").Int;
|
|
1886
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
1887
|
+
}>>;
|
|
1888
|
+
}>;
|
|
1889
|
+
}>[];
|
|
1890
|
+
} & {
|
|
1891
|
+
readonly _tag: "ProgrammableTransaction";
|
|
1892
|
+
}>;
|
|
1893
|
+
readonly sender: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1894
|
+
readonly gasData: import("effect/Schema").Struct<{
|
|
1895
|
+
readonly payment: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1896
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1897
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1898
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1899
|
+
}>>;
|
|
1900
|
+
readonly owner: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1901
|
+
readonly price: import("effect/Schema").BigInt;
|
|
1902
|
+
readonly budget: import("effect/Schema").BigInt;
|
|
1903
|
+
}>;
|
|
1904
|
+
readonly expiration: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1905
|
+
readonly None: null;
|
|
1906
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
1907
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
1908
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1909
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1910
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1911
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1912
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1913
|
+
nonce: import("effect/Schema").Int;
|
|
1914
|
+
}>;
|
|
1915
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
1916
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
1917
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
1918
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
1919
|
+
}>>;
|
|
1920
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1921
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1922
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1923
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1924
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1925
|
+
readonly nonce: import("effect/Schema").Int;
|
|
1926
|
+
}>;
|
|
1927
|
+
}>, Bcs.EnumEncoded<{
|
|
1928
|
+
readonly None: null;
|
|
1929
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
1930
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
1931
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1932
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1933
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1934
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1935
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1936
|
+
nonce: import("effect/Schema").Int;
|
|
1937
|
+
}>;
|
|
1938
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
1939
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
1940
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
1941
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
1942
|
+
}>>;
|
|
1943
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1944
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1945
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1946
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
1947
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1948
|
+
readonly nonce: import("effect/Schema").Int;
|
|
1949
|
+
}>;
|
|
1950
|
+
}>>;
|
|
1951
|
+
}>;
|
|
1952
|
+
export declare const TransactionData: Bcs.BcsSchema<{
|
|
1953
|
+
readonly kind: {
|
|
1954
|
+
readonly inputs: readonly Bcs.EnumType<{
|
|
1955
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
1956
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
1957
|
+
}>;
|
|
1958
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1959
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1960
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1961
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1962
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1963
|
+
}>;
|
|
1964
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1965
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1966
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1967
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1968
|
+
readonly Immutable: null;
|
|
1969
|
+
readonly Mutable: null;
|
|
1970
|
+
readonly NonExclusiveWrite: null;
|
|
1971
|
+
}>, Bcs.EnumEncoded<{
|
|
1972
|
+
readonly Immutable: null;
|
|
1973
|
+
readonly Mutable: null;
|
|
1974
|
+
readonly NonExclusiveWrite: null;
|
|
1975
|
+
}>>;
|
|
1976
|
+
}>;
|
|
1977
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
1978
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1979
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1980
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1981
|
+
}>;
|
|
1982
|
+
}>, Bcs.EnumEncoded<{
|
|
1983
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
1984
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1985
|
+
readonly version: import("effect/Schema").BigInt;
|
|
1986
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
1987
|
+
}>;
|
|
1988
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
1989
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
1990
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
1991
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
1992
|
+
readonly Immutable: null;
|
|
1993
|
+
readonly Mutable: null;
|
|
1994
|
+
readonly NonExclusiveWrite: null;
|
|
1995
|
+
}>, Bcs.EnumEncoded<{
|
|
1996
|
+
readonly Immutable: null;
|
|
1997
|
+
readonly Mutable: null;
|
|
1998
|
+
readonly NonExclusiveWrite: null;
|
|
1999
|
+
}>>;
|
|
2000
|
+
}>;
|
|
2001
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2002
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2003
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2004
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2005
|
+
}>;
|
|
2006
|
+
}>>;
|
|
2007
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
2008
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
2009
|
+
readonly _tag: "MaxAmountU64";
|
|
2010
|
+
readonly value: bigint;
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly _tag: "MaxAmountU64";
|
|
2013
|
+
readonly value: bigint;
|
|
2014
|
+
}>;
|
|
2015
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
2016
|
+
readonly _tag: "Balance";
|
|
2017
|
+
readonly value: TypeTag;
|
|
2018
|
+
}, {
|
|
2019
|
+
readonly _tag: "Balance";
|
|
2020
|
+
readonly value: any;
|
|
2021
|
+
}>;
|
|
2022
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2023
|
+
readonly Sender: null;
|
|
2024
|
+
readonly Sponsor: null;
|
|
2025
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2026
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2027
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2028
|
+
}>;
|
|
2029
|
+
}>, Bcs.EnumEncoded<{
|
|
2030
|
+
readonly Sender: null;
|
|
2031
|
+
readonly Sponsor: null;
|
|
2032
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2033
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2034
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2035
|
+
}>;
|
|
2036
|
+
}>>;
|
|
2037
|
+
}>;
|
|
2038
|
+
}>[];
|
|
2039
|
+
readonly commands: readonly Bcs.EnumType<{
|
|
2040
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
2041
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2042
|
+
readonly module: import("effect/Schema").String;
|
|
2043
|
+
readonly function: import("effect/Schema").String;
|
|
2044
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
2045
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2046
|
+
readonly GasCoin: null;
|
|
2047
|
+
readonly Input: import("effect/Schema").Int;
|
|
2048
|
+
readonly Result: import("effect/Schema").Int;
|
|
2049
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2050
|
+
}>, Bcs.EnumEncoded<{
|
|
2051
|
+
readonly GasCoin: null;
|
|
2052
|
+
readonly Input: import("effect/Schema").Int;
|
|
2053
|
+
readonly Result: import("effect/Schema").Int;
|
|
2054
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2055
|
+
}>>>;
|
|
2056
|
+
}>;
|
|
2057
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
2058
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2059
|
+
readonly GasCoin: null;
|
|
2060
|
+
readonly Input: import("effect/Schema").Int;
|
|
2061
|
+
readonly Result: import("effect/Schema").Int;
|
|
2062
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2063
|
+
}>, Bcs.EnumEncoded<{
|
|
2064
|
+
readonly GasCoin: null;
|
|
2065
|
+
readonly Input: import("effect/Schema").Int;
|
|
2066
|
+
readonly Result: import("effect/Schema").Int;
|
|
2067
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2068
|
+
}>>>;
|
|
2069
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2070
|
+
readonly GasCoin: null;
|
|
2071
|
+
readonly Input: import("effect/Schema").Int;
|
|
2072
|
+
readonly Result: import("effect/Schema").Int;
|
|
2073
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2074
|
+
}>, Bcs.EnumEncoded<{
|
|
2075
|
+
readonly GasCoin: null;
|
|
2076
|
+
readonly Input: import("effect/Schema").Int;
|
|
2077
|
+
readonly Result: import("effect/Schema").Int;
|
|
2078
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2079
|
+
}>>;
|
|
2080
|
+
}>;
|
|
2081
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
2082
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2083
|
+
readonly GasCoin: null;
|
|
2084
|
+
readonly Input: import("effect/Schema").Int;
|
|
2085
|
+
readonly Result: import("effect/Schema").Int;
|
|
2086
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2087
|
+
}>, Bcs.EnumEncoded<{
|
|
2088
|
+
readonly GasCoin: null;
|
|
2089
|
+
readonly Input: import("effect/Schema").Int;
|
|
2090
|
+
readonly Result: import("effect/Schema").Int;
|
|
2091
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2092
|
+
}>>;
|
|
2093
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2094
|
+
readonly GasCoin: null;
|
|
2095
|
+
readonly Input: import("effect/Schema").Int;
|
|
2096
|
+
readonly Result: import("effect/Schema").Int;
|
|
2097
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2098
|
+
}>, Bcs.EnumEncoded<{
|
|
2099
|
+
readonly GasCoin: null;
|
|
2100
|
+
readonly Input: import("effect/Schema").Int;
|
|
2101
|
+
readonly Result: import("effect/Schema").Int;
|
|
2102
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2103
|
+
}>>>;
|
|
2104
|
+
}>;
|
|
2105
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
2106
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2107
|
+
readonly GasCoin: null;
|
|
2108
|
+
readonly Input: import("effect/Schema").Int;
|
|
2109
|
+
readonly Result: import("effect/Schema").Int;
|
|
2110
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2111
|
+
}>, Bcs.EnumEncoded<{
|
|
2112
|
+
readonly GasCoin: null;
|
|
2113
|
+
readonly Input: import("effect/Schema").Int;
|
|
2114
|
+
readonly Result: import("effect/Schema").Int;
|
|
2115
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2116
|
+
}>>;
|
|
2117
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2118
|
+
readonly GasCoin: null;
|
|
2119
|
+
readonly Input: import("effect/Schema").Int;
|
|
2120
|
+
readonly Result: import("effect/Schema").Int;
|
|
2121
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2122
|
+
}>, Bcs.EnumEncoded<{
|
|
2123
|
+
readonly GasCoin: null;
|
|
2124
|
+
readonly Input: import("effect/Schema").Int;
|
|
2125
|
+
readonly Result: import("effect/Schema").Int;
|
|
2126
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2127
|
+
}>>>;
|
|
2128
|
+
}>;
|
|
2129
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
2130
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2131
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2132
|
+
}>;
|
|
2133
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
2134
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
2135
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2136
|
+
readonly GasCoin: null;
|
|
2137
|
+
readonly Input: import("effect/Schema").Int;
|
|
2138
|
+
readonly Result: import("effect/Schema").Int;
|
|
2139
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2140
|
+
}>, Bcs.EnumEncoded<{
|
|
2141
|
+
readonly GasCoin: null;
|
|
2142
|
+
readonly Input: import("effect/Schema").Int;
|
|
2143
|
+
readonly Result: import("effect/Schema").Int;
|
|
2144
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2145
|
+
}>>>;
|
|
2146
|
+
}>;
|
|
2147
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
2148
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2149
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2150
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2151
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2152
|
+
readonly GasCoin: null;
|
|
2153
|
+
readonly Input: import("effect/Schema").Int;
|
|
2154
|
+
readonly Result: import("effect/Schema").Int;
|
|
2155
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2156
|
+
}>, Bcs.EnumEncoded<{
|
|
2157
|
+
readonly GasCoin: null;
|
|
2158
|
+
readonly Input: import("effect/Schema").Int;
|
|
2159
|
+
readonly Result: import("effect/Schema").Int;
|
|
2160
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2161
|
+
}>>;
|
|
2162
|
+
}>;
|
|
2163
|
+
}>[];
|
|
2164
|
+
} & {
|
|
2165
|
+
readonly _tag: "ProgrammableTransaction";
|
|
2166
|
+
};
|
|
2167
|
+
readonly sender: string & import("effect/Brand").Brand<"Address">;
|
|
2168
|
+
readonly gasData: {
|
|
2169
|
+
readonly payment: readonly {
|
|
2170
|
+
readonly objectId: string & import("effect/Brand").Brand<"Address">;
|
|
2171
|
+
readonly version: bigint;
|
|
2172
|
+
readonly digest: string & import("effect/Brand").Brand<"Digest">;
|
|
2173
|
+
}[];
|
|
2174
|
+
readonly owner: string & import("effect/Brand").Brand<"Address">;
|
|
2175
|
+
readonly price: bigint;
|
|
2176
|
+
readonly budget: bigint;
|
|
2177
|
+
};
|
|
2178
|
+
readonly expiration: Bcs.EnumType<{
|
|
2179
|
+
readonly None: null;
|
|
2180
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
2181
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
2182
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2183
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2184
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2185
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2186
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2187
|
+
nonce: import("effect/Schema").Int;
|
|
2188
|
+
}>;
|
|
2189
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
2190
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
2191
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
2192
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
2193
|
+
}>>;
|
|
2194
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2195
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2196
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2197
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2198
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2199
|
+
readonly nonce: import("effect/Schema").Int;
|
|
2200
|
+
}>;
|
|
2201
|
+
}>;
|
|
2202
|
+
} & {
|
|
2203
|
+
readonly _tag: "V1";
|
|
2204
|
+
}, {
|
|
2205
|
+
readonly kind: {
|
|
2206
|
+
readonly inputs: readonly Bcs.EnumEncoded<{
|
|
2207
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
2208
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
2209
|
+
}>;
|
|
2210
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2211
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2212
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2213
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2214
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2215
|
+
}>;
|
|
2216
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
2217
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2218
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
2219
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2220
|
+
readonly Immutable: null;
|
|
2221
|
+
readonly Mutable: null;
|
|
2222
|
+
readonly NonExclusiveWrite: null;
|
|
2223
|
+
}>, Bcs.EnumEncoded<{
|
|
2224
|
+
readonly Immutable: null;
|
|
2225
|
+
readonly Mutable: null;
|
|
2226
|
+
readonly NonExclusiveWrite: null;
|
|
2227
|
+
}>>;
|
|
2228
|
+
}>;
|
|
2229
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2230
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2231
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2232
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2233
|
+
}>;
|
|
2234
|
+
}>, Bcs.EnumEncoded<{
|
|
2235
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2236
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2237
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2238
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2239
|
+
}>;
|
|
2240
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
2241
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2242
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
2243
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2244
|
+
readonly Immutable: null;
|
|
2245
|
+
readonly Mutable: null;
|
|
2246
|
+
readonly NonExclusiveWrite: null;
|
|
2247
|
+
}>, Bcs.EnumEncoded<{
|
|
2248
|
+
readonly Immutable: null;
|
|
2249
|
+
readonly Mutable: null;
|
|
2250
|
+
readonly NonExclusiveWrite: null;
|
|
2251
|
+
}>>;
|
|
2252
|
+
}>;
|
|
2253
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2254
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2255
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2256
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2257
|
+
}>;
|
|
2258
|
+
}>>;
|
|
2259
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
2260
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
2261
|
+
readonly _tag: "MaxAmountU64";
|
|
2262
|
+
readonly value: bigint;
|
|
2263
|
+
}, {
|
|
2264
|
+
readonly _tag: "MaxAmountU64";
|
|
2265
|
+
readonly value: bigint;
|
|
2266
|
+
}>;
|
|
2267
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
2268
|
+
readonly _tag: "Balance";
|
|
2269
|
+
readonly value: TypeTag;
|
|
2270
|
+
}, {
|
|
2271
|
+
readonly _tag: "Balance";
|
|
2272
|
+
readonly value: any;
|
|
2273
|
+
}>;
|
|
2274
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2275
|
+
readonly Sender: null;
|
|
2276
|
+
readonly Sponsor: null;
|
|
2277
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2278
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2279
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2280
|
+
}>;
|
|
2281
|
+
}>, Bcs.EnumEncoded<{
|
|
2282
|
+
readonly Sender: null;
|
|
2283
|
+
readonly Sponsor: null;
|
|
2284
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2285
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2286
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2287
|
+
}>;
|
|
2288
|
+
}>>;
|
|
2289
|
+
}>;
|
|
2290
|
+
}>[];
|
|
2291
|
+
readonly commands: readonly Bcs.EnumEncoded<{
|
|
2292
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
2293
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2294
|
+
readonly module: import("effect/Schema").String;
|
|
2295
|
+
readonly function: import("effect/Schema").String;
|
|
2296
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
2297
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2298
|
+
readonly GasCoin: null;
|
|
2299
|
+
readonly Input: import("effect/Schema").Int;
|
|
2300
|
+
readonly Result: import("effect/Schema").Int;
|
|
2301
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2302
|
+
}>, Bcs.EnumEncoded<{
|
|
2303
|
+
readonly GasCoin: null;
|
|
2304
|
+
readonly Input: import("effect/Schema").Int;
|
|
2305
|
+
readonly Result: import("effect/Schema").Int;
|
|
2306
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2307
|
+
}>>>;
|
|
2308
|
+
}>;
|
|
2309
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
2310
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2311
|
+
readonly GasCoin: null;
|
|
2312
|
+
readonly Input: import("effect/Schema").Int;
|
|
2313
|
+
readonly Result: import("effect/Schema").Int;
|
|
2314
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2315
|
+
}>, Bcs.EnumEncoded<{
|
|
2316
|
+
readonly GasCoin: null;
|
|
2317
|
+
readonly Input: import("effect/Schema").Int;
|
|
2318
|
+
readonly Result: import("effect/Schema").Int;
|
|
2319
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2320
|
+
}>>>;
|
|
2321
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2322
|
+
readonly GasCoin: null;
|
|
2323
|
+
readonly Input: import("effect/Schema").Int;
|
|
2324
|
+
readonly Result: import("effect/Schema").Int;
|
|
2325
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2326
|
+
}>, Bcs.EnumEncoded<{
|
|
2327
|
+
readonly GasCoin: null;
|
|
2328
|
+
readonly Input: import("effect/Schema").Int;
|
|
2329
|
+
readonly Result: import("effect/Schema").Int;
|
|
2330
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2331
|
+
}>>;
|
|
2332
|
+
}>;
|
|
2333
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
2334
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2335
|
+
readonly GasCoin: null;
|
|
2336
|
+
readonly Input: import("effect/Schema").Int;
|
|
2337
|
+
readonly Result: import("effect/Schema").Int;
|
|
2338
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2339
|
+
}>, Bcs.EnumEncoded<{
|
|
2340
|
+
readonly GasCoin: null;
|
|
2341
|
+
readonly Input: import("effect/Schema").Int;
|
|
2342
|
+
readonly Result: import("effect/Schema").Int;
|
|
2343
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2344
|
+
}>>;
|
|
2345
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2346
|
+
readonly GasCoin: null;
|
|
2347
|
+
readonly Input: import("effect/Schema").Int;
|
|
2348
|
+
readonly Result: import("effect/Schema").Int;
|
|
2349
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2350
|
+
}>, Bcs.EnumEncoded<{
|
|
2351
|
+
readonly GasCoin: null;
|
|
2352
|
+
readonly Input: import("effect/Schema").Int;
|
|
2353
|
+
readonly Result: import("effect/Schema").Int;
|
|
2354
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2355
|
+
}>>>;
|
|
2356
|
+
}>;
|
|
2357
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
2358
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2359
|
+
readonly GasCoin: null;
|
|
2360
|
+
readonly Input: import("effect/Schema").Int;
|
|
2361
|
+
readonly Result: import("effect/Schema").Int;
|
|
2362
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2363
|
+
}>, Bcs.EnumEncoded<{
|
|
2364
|
+
readonly GasCoin: null;
|
|
2365
|
+
readonly Input: import("effect/Schema").Int;
|
|
2366
|
+
readonly Result: import("effect/Schema").Int;
|
|
2367
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2368
|
+
}>>;
|
|
2369
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2370
|
+
readonly GasCoin: null;
|
|
2371
|
+
readonly Input: import("effect/Schema").Int;
|
|
2372
|
+
readonly Result: import("effect/Schema").Int;
|
|
2373
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2374
|
+
}>, Bcs.EnumEncoded<{
|
|
2375
|
+
readonly GasCoin: null;
|
|
2376
|
+
readonly Input: import("effect/Schema").Int;
|
|
2377
|
+
readonly Result: import("effect/Schema").Int;
|
|
2378
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2379
|
+
}>>>;
|
|
2380
|
+
}>;
|
|
2381
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
2382
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2383
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2384
|
+
}>;
|
|
2385
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
2386
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
2387
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2388
|
+
readonly GasCoin: null;
|
|
2389
|
+
readonly Input: import("effect/Schema").Int;
|
|
2390
|
+
readonly Result: import("effect/Schema").Int;
|
|
2391
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2392
|
+
}>, Bcs.EnumEncoded<{
|
|
2393
|
+
readonly GasCoin: null;
|
|
2394
|
+
readonly Input: import("effect/Schema").Int;
|
|
2395
|
+
readonly Result: import("effect/Schema").Int;
|
|
2396
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2397
|
+
}>>>;
|
|
2398
|
+
}>;
|
|
2399
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
2400
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2401
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2402
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2403
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2404
|
+
readonly GasCoin: null;
|
|
2405
|
+
readonly Input: import("effect/Schema").Int;
|
|
2406
|
+
readonly Result: import("effect/Schema").Int;
|
|
2407
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2408
|
+
}>, Bcs.EnumEncoded<{
|
|
2409
|
+
readonly GasCoin: null;
|
|
2410
|
+
readonly Input: import("effect/Schema").Int;
|
|
2411
|
+
readonly Result: import("effect/Schema").Int;
|
|
2412
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2413
|
+
}>>;
|
|
2414
|
+
}>;
|
|
2415
|
+
}>[];
|
|
2416
|
+
} & {
|
|
2417
|
+
readonly _tag: "ProgrammableTransaction";
|
|
2418
|
+
};
|
|
2419
|
+
readonly sender: string;
|
|
2420
|
+
readonly gasData: {
|
|
2421
|
+
readonly payment: readonly {
|
|
2422
|
+
readonly objectId: string;
|
|
2423
|
+
readonly version: bigint;
|
|
2424
|
+
readonly digest: string;
|
|
2425
|
+
}[];
|
|
2426
|
+
readonly owner: string;
|
|
2427
|
+
readonly price: bigint;
|
|
2428
|
+
readonly budget: bigint;
|
|
2429
|
+
};
|
|
2430
|
+
readonly expiration: Bcs.EnumEncoded<{
|
|
2431
|
+
readonly None: null;
|
|
2432
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
2433
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
2434
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2435
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2436
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2437
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2438
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2439
|
+
nonce: import("effect/Schema").Int;
|
|
2440
|
+
}>;
|
|
2441
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
2442
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
2443
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
2444
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
2445
|
+
}>>;
|
|
2446
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2447
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2448
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2449
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2450
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2451
|
+
readonly nonce: import("effect/Schema").Int;
|
|
2452
|
+
}>;
|
|
2453
|
+
}>;
|
|
2454
|
+
} & {
|
|
2455
|
+
readonly _tag: "V1";
|
|
2456
|
+
}>;
|
|
2457
|
+
export type TransactionData = typeof TransactionData.Type;
|
|
2458
|
+
export declare const encode: (value: {
|
|
2459
|
+
readonly kind: {
|
|
2460
|
+
readonly inputs: readonly Bcs.EnumType<{
|
|
2461
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
2462
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
2463
|
+
}>;
|
|
2464
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2465
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2466
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2467
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2468
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2469
|
+
}>;
|
|
2470
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
2471
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2472
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
2473
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2474
|
+
readonly Immutable: null;
|
|
2475
|
+
readonly Mutable: null;
|
|
2476
|
+
readonly NonExclusiveWrite: null;
|
|
2477
|
+
}>, Bcs.EnumEncoded<{
|
|
2478
|
+
readonly Immutable: null;
|
|
2479
|
+
readonly Mutable: null;
|
|
2480
|
+
readonly NonExclusiveWrite: null;
|
|
2481
|
+
}>>;
|
|
2482
|
+
}>;
|
|
2483
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2484
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2485
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2486
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2487
|
+
}>;
|
|
2488
|
+
}>, Bcs.EnumEncoded<{
|
|
2489
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2490
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2491
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2492
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2493
|
+
}>;
|
|
2494
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
2495
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2496
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
2497
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2498
|
+
readonly Immutable: null;
|
|
2499
|
+
readonly Mutable: null;
|
|
2500
|
+
readonly NonExclusiveWrite: null;
|
|
2501
|
+
}>, Bcs.EnumEncoded<{
|
|
2502
|
+
readonly Immutable: null;
|
|
2503
|
+
readonly Mutable: null;
|
|
2504
|
+
readonly NonExclusiveWrite: null;
|
|
2505
|
+
}>>;
|
|
2506
|
+
}>;
|
|
2507
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2508
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2509
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2510
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2511
|
+
}>;
|
|
2512
|
+
}>>;
|
|
2513
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
2514
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
2515
|
+
readonly _tag: "MaxAmountU64";
|
|
2516
|
+
readonly value: bigint;
|
|
2517
|
+
}, {
|
|
2518
|
+
readonly _tag: "MaxAmountU64";
|
|
2519
|
+
readonly value: bigint;
|
|
2520
|
+
}>;
|
|
2521
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
2522
|
+
readonly _tag: "Balance";
|
|
2523
|
+
readonly value: TypeTag;
|
|
2524
|
+
}, {
|
|
2525
|
+
readonly _tag: "Balance";
|
|
2526
|
+
readonly value: any;
|
|
2527
|
+
}>;
|
|
2528
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2529
|
+
readonly Sender: null;
|
|
2530
|
+
readonly Sponsor: null;
|
|
2531
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2532
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2533
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2534
|
+
}>;
|
|
2535
|
+
}>, Bcs.EnumEncoded<{
|
|
2536
|
+
readonly Sender: null;
|
|
2537
|
+
readonly Sponsor: null;
|
|
2538
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2539
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2540
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2541
|
+
}>;
|
|
2542
|
+
}>>;
|
|
2543
|
+
}>;
|
|
2544
|
+
}>[];
|
|
2545
|
+
readonly commands: readonly Bcs.EnumType<{
|
|
2546
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
2547
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2548
|
+
readonly module: import("effect/Schema").String;
|
|
2549
|
+
readonly function: import("effect/Schema").String;
|
|
2550
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
2551
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2552
|
+
readonly GasCoin: null;
|
|
2553
|
+
readonly Input: import("effect/Schema").Int;
|
|
2554
|
+
readonly Result: import("effect/Schema").Int;
|
|
2555
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2556
|
+
}>, Bcs.EnumEncoded<{
|
|
2557
|
+
readonly GasCoin: null;
|
|
2558
|
+
readonly Input: import("effect/Schema").Int;
|
|
2559
|
+
readonly Result: import("effect/Schema").Int;
|
|
2560
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2561
|
+
}>>>;
|
|
2562
|
+
}>;
|
|
2563
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
2564
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2565
|
+
readonly GasCoin: null;
|
|
2566
|
+
readonly Input: import("effect/Schema").Int;
|
|
2567
|
+
readonly Result: import("effect/Schema").Int;
|
|
2568
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2569
|
+
}>, Bcs.EnumEncoded<{
|
|
2570
|
+
readonly GasCoin: null;
|
|
2571
|
+
readonly Input: import("effect/Schema").Int;
|
|
2572
|
+
readonly Result: import("effect/Schema").Int;
|
|
2573
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2574
|
+
}>>>;
|
|
2575
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2576
|
+
readonly GasCoin: null;
|
|
2577
|
+
readonly Input: import("effect/Schema").Int;
|
|
2578
|
+
readonly Result: import("effect/Schema").Int;
|
|
2579
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2580
|
+
}>, Bcs.EnumEncoded<{
|
|
2581
|
+
readonly GasCoin: null;
|
|
2582
|
+
readonly Input: import("effect/Schema").Int;
|
|
2583
|
+
readonly Result: import("effect/Schema").Int;
|
|
2584
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2585
|
+
}>>;
|
|
2586
|
+
}>;
|
|
2587
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
2588
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2589
|
+
readonly GasCoin: null;
|
|
2590
|
+
readonly Input: import("effect/Schema").Int;
|
|
2591
|
+
readonly Result: import("effect/Schema").Int;
|
|
2592
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2593
|
+
}>, Bcs.EnumEncoded<{
|
|
2594
|
+
readonly GasCoin: null;
|
|
2595
|
+
readonly Input: import("effect/Schema").Int;
|
|
2596
|
+
readonly Result: import("effect/Schema").Int;
|
|
2597
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2598
|
+
}>>;
|
|
2599
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2600
|
+
readonly GasCoin: null;
|
|
2601
|
+
readonly Input: import("effect/Schema").Int;
|
|
2602
|
+
readonly Result: import("effect/Schema").Int;
|
|
2603
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2604
|
+
}>, Bcs.EnumEncoded<{
|
|
2605
|
+
readonly GasCoin: null;
|
|
2606
|
+
readonly Input: import("effect/Schema").Int;
|
|
2607
|
+
readonly Result: import("effect/Schema").Int;
|
|
2608
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2609
|
+
}>>>;
|
|
2610
|
+
}>;
|
|
2611
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
2612
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2613
|
+
readonly GasCoin: null;
|
|
2614
|
+
readonly Input: import("effect/Schema").Int;
|
|
2615
|
+
readonly Result: import("effect/Schema").Int;
|
|
2616
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2617
|
+
}>, Bcs.EnumEncoded<{
|
|
2618
|
+
readonly GasCoin: null;
|
|
2619
|
+
readonly Input: import("effect/Schema").Int;
|
|
2620
|
+
readonly Result: import("effect/Schema").Int;
|
|
2621
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2622
|
+
}>>;
|
|
2623
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2624
|
+
readonly GasCoin: null;
|
|
2625
|
+
readonly Input: import("effect/Schema").Int;
|
|
2626
|
+
readonly Result: import("effect/Schema").Int;
|
|
2627
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2628
|
+
}>, Bcs.EnumEncoded<{
|
|
2629
|
+
readonly GasCoin: null;
|
|
2630
|
+
readonly Input: import("effect/Schema").Int;
|
|
2631
|
+
readonly Result: import("effect/Schema").Int;
|
|
2632
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2633
|
+
}>>>;
|
|
2634
|
+
}>;
|
|
2635
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
2636
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2637
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2638
|
+
}>;
|
|
2639
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
2640
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
2641
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2642
|
+
readonly GasCoin: null;
|
|
2643
|
+
readonly Input: import("effect/Schema").Int;
|
|
2644
|
+
readonly Result: import("effect/Schema").Int;
|
|
2645
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2646
|
+
}>, Bcs.EnumEncoded<{
|
|
2647
|
+
readonly GasCoin: null;
|
|
2648
|
+
readonly Input: import("effect/Schema").Int;
|
|
2649
|
+
readonly Result: import("effect/Schema").Int;
|
|
2650
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2651
|
+
}>>>;
|
|
2652
|
+
}>;
|
|
2653
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
2654
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2655
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2656
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2657
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2658
|
+
readonly GasCoin: null;
|
|
2659
|
+
readonly Input: import("effect/Schema").Int;
|
|
2660
|
+
readonly Result: import("effect/Schema").Int;
|
|
2661
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2662
|
+
}>, Bcs.EnumEncoded<{
|
|
2663
|
+
readonly GasCoin: null;
|
|
2664
|
+
readonly Input: import("effect/Schema").Int;
|
|
2665
|
+
readonly Result: import("effect/Schema").Int;
|
|
2666
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2667
|
+
}>>;
|
|
2668
|
+
}>;
|
|
2669
|
+
}>[];
|
|
2670
|
+
} & {
|
|
2671
|
+
readonly _tag: "ProgrammableTransaction";
|
|
2672
|
+
};
|
|
2673
|
+
readonly sender: string & import("effect/Brand").Brand<"Address">;
|
|
2674
|
+
readonly gasData: {
|
|
2675
|
+
readonly payment: readonly {
|
|
2676
|
+
readonly objectId: string & import("effect/Brand").Brand<"Address">;
|
|
2677
|
+
readonly version: bigint;
|
|
2678
|
+
readonly digest: string & import("effect/Brand").Brand<"Digest">;
|
|
2679
|
+
}[];
|
|
2680
|
+
readonly owner: string & import("effect/Brand").Brand<"Address">;
|
|
2681
|
+
readonly price: bigint;
|
|
2682
|
+
readonly budget: bigint;
|
|
2683
|
+
};
|
|
2684
|
+
readonly expiration: Bcs.EnumType<{
|
|
2685
|
+
readonly None: null;
|
|
2686
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
2687
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
2688
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2689
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2690
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2691
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2692
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2693
|
+
nonce: import("effect/Schema").Int;
|
|
2694
|
+
}>;
|
|
2695
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
2696
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
2697
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
2698
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
2699
|
+
}>>;
|
|
2700
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2701
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2702
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2703
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2704
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2705
|
+
readonly nonce: import("effect/Schema").Int;
|
|
2706
|
+
}>;
|
|
2707
|
+
}>;
|
|
2708
|
+
} & {
|
|
2709
|
+
readonly _tag: "V1";
|
|
2710
|
+
}) => Uint8Array;
|
|
2711
|
+
/** Alias of `encode`, for call sites that read better as "serialize". */
|
|
2712
|
+
export declare const serialize: (value: {
|
|
2713
|
+
readonly kind: {
|
|
2714
|
+
readonly inputs: readonly Bcs.EnumType<{
|
|
2715
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
2716
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
2717
|
+
}>;
|
|
2718
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2719
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2720
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2721
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2722
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2723
|
+
}>;
|
|
2724
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
2725
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2726
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
2727
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2728
|
+
readonly Immutable: null;
|
|
2729
|
+
readonly Mutable: null;
|
|
2730
|
+
readonly NonExclusiveWrite: null;
|
|
2731
|
+
}>, Bcs.EnumEncoded<{
|
|
2732
|
+
readonly Immutable: null;
|
|
2733
|
+
readonly Mutable: null;
|
|
2734
|
+
readonly NonExclusiveWrite: null;
|
|
2735
|
+
}>>;
|
|
2736
|
+
}>;
|
|
2737
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2738
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2739
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2740
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2741
|
+
}>;
|
|
2742
|
+
}>, Bcs.EnumEncoded<{
|
|
2743
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2744
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2745
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2746
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2747
|
+
}>;
|
|
2748
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
2749
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2750
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
2751
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2752
|
+
readonly Immutable: null;
|
|
2753
|
+
readonly Mutable: null;
|
|
2754
|
+
readonly NonExclusiveWrite: null;
|
|
2755
|
+
}>, Bcs.EnumEncoded<{
|
|
2756
|
+
readonly Immutable: null;
|
|
2757
|
+
readonly Mutable: null;
|
|
2758
|
+
readonly NonExclusiveWrite: null;
|
|
2759
|
+
}>>;
|
|
2760
|
+
}>;
|
|
2761
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2762
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2763
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2764
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2765
|
+
}>;
|
|
2766
|
+
}>>;
|
|
2767
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
2768
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
2769
|
+
readonly _tag: "MaxAmountU64";
|
|
2770
|
+
readonly value: bigint;
|
|
2771
|
+
}, {
|
|
2772
|
+
readonly _tag: "MaxAmountU64";
|
|
2773
|
+
readonly value: bigint;
|
|
2774
|
+
}>;
|
|
2775
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
2776
|
+
readonly _tag: "Balance";
|
|
2777
|
+
readonly value: TypeTag;
|
|
2778
|
+
}, {
|
|
2779
|
+
readonly _tag: "Balance";
|
|
2780
|
+
readonly value: any;
|
|
2781
|
+
}>;
|
|
2782
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2783
|
+
readonly Sender: null;
|
|
2784
|
+
readonly Sponsor: null;
|
|
2785
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2786
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2787
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2788
|
+
}>;
|
|
2789
|
+
}>, Bcs.EnumEncoded<{
|
|
2790
|
+
readonly Sender: null;
|
|
2791
|
+
readonly Sponsor: null;
|
|
2792
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
2793
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2794
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2795
|
+
}>;
|
|
2796
|
+
}>>;
|
|
2797
|
+
}>;
|
|
2798
|
+
}>[];
|
|
2799
|
+
readonly commands: readonly Bcs.EnumType<{
|
|
2800
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
2801
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2802
|
+
readonly module: import("effect/Schema").String;
|
|
2803
|
+
readonly function: import("effect/Schema").String;
|
|
2804
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
2805
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2806
|
+
readonly GasCoin: null;
|
|
2807
|
+
readonly Input: import("effect/Schema").Int;
|
|
2808
|
+
readonly Result: import("effect/Schema").Int;
|
|
2809
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2810
|
+
}>, Bcs.EnumEncoded<{
|
|
2811
|
+
readonly GasCoin: null;
|
|
2812
|
+
readonly Input: import("effect/Schema").Int;
|
|
2813
|
+
readonly Result: import("effect/Schema").Int;
|
|
2814
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2815
|
+
}>>>;
|
|
2816
|
+
}>;
|
|
2817
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
2818
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2819
|
+
readonly GasCoin: null;
|
|
2820
|
+
readonly Input: import("effect/Schema").Int;
|
|
2821
|
+
readonly Result: import("effect/Schema").Int;
|
|
2822
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2823
|
+
}>, Bcs.EnumEncoded<{
|
|
2824
|
+
readonly GasCoin: null;
|
|
2825
|
+
readonly Input: import("effect/Schema").Int;
|
|
2826
|
+
readonly Result: import("effect/Schema").Int;
|
|
2827
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2828
|
+
}>>>;
|
|
2829
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2830
|
+
readonly GasCoin: null;
|
|
2831
|
+
readonly Input: import("effect/Schema").Int;
|
|
2832
|
+
readonly Result: import("effect/Schema").Int;
|
|
2833
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2834
|
+
}>, Bcs.EnumEncoded<{
|
|
2835
|
+
readonly GasCoin: null;
|
|
2836
|
+
readonly Input: import("effect/Schema").Int;
|
|
2837
|
+
readonly Result: import("effect/Schema").Int;
|
|
2838
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2839
|
+
}>>;
|
|
2840
|
+
}>;
|
|
2841
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
2842
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2843
|
+
readonly GasCoin: null;
|
|
2844
|
+
readonly Input: import("effect/Schema").Int;
|
|
2845
|
+
readonly Result: import("effect/Schema").Int;
|
|
2846
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2847
|
+
}>, Bcs.EnumEncoded<{
|
|
2848
|
+
readonly GasCoin: null;
|
|
2849
|
+
readonly Input: import("effect/Schema").Int;
|
|
2850
|
+
readonly Result: import("effect/Schema").Int;
|
|
2851
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2852
|
+
}>>;
|
|
2853
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2854
|
+
readonly GasCoin: null;
|
|
2855
|
+
readonly Input: import("effect/Schema").Int;
|
|
2856
|
+
readonly Result: import("effect/Schema").Int;
|
|
2857
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2858
|
+
}>, Bcs.EnumEncoded<{
|
|
2859
|
+
readonly GasCoin: null;
|
|
2860
|
+
readonly Input: import("effect/Schema").Int;
|
|
2861
|
+
readonly Result: import("effect/Schema").Int;
|
|
2862
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2863
|
+
}>>>;
|
|
2864
|
+
}>;
|
|
2865
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
2866
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2867
|
+
readonly GasCoin: null;
|
|
2868
|
+
readonly Input: import("effect/Schema").Int;
|
|
2869
|
+
readonly Result: import("effect/Schema").Int;
|
|
2870
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2871
|
+
}>, Bcs.EnumEncoded<{
|
|
2872
|
+
readonly GasCoin: null;
|
|
2873
|
+
readonly Input: import("effect/Schema").Int;
|
|
2874
|
+
readonly Result: import("effect/Schema").Int;
|
|
2875
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2876
|
+
}>>;
|
|
2877
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2878
|
+
readonly GasCoin: null;
|
|
2879
|
+
readonly Input: import("effect/Schema").Int;
|
|
2880
|
+
readonly Result: import("effect/Schema").Int;
|
|
2881
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2882
|
+
}>, Bcs.EnumEncoded<{
|
|
2883
|
+
readonly GasCoin: null;
|
|
2884
|
+
readonly Input: import("effect/Schema").Int;
|
|
2885
|
+
readonly Result: import("effect/Schema").Int;
|
|
2886
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2887
|
+
}>>>;
|
|
2888
|
+
}>;
|
|
2889
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
2890
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2891
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2892
|
+
}>;
|
|
2893
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
2894
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
2895
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
2896
|
+
readonly GasCoin: null;
|
|
2897
|
+
readonly Input: import("effect/Schema").Int;
|
|
2898
|
+
readonly Result: import("effect/Schema").Int;
|
|
2899
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2900
|
+
}>, Bcs.EnumEncoded<{
|
|
2901
|
+
readonly GasCoin: null;
|
|
2902
|
+
readonly Input: import("effect/Schema").Int;
|
|
2903
|
+
readonly Result: import("effect/Schema").Int;
|
|
2904
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2905
|
+
}>>>;
|
|
2906
|
+
}>;
|
|
2907
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
2908
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
2909
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
2910
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2911
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2912
|
+
readonly GasCoin: null;
|
|
2913
|
+
readonly Input: import("effect/Schema").Int;
|
|
2914
|
+
readonly Result: import("effect/Schema").Int;
|
|
2915
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2916
|
+
}>, Bcs.EnumEncoded<{
|
|
2917
|
+
readonly GasCoin: null;
|
|
2918
|
+
readonly Input: import("effect/Schema").Int;
|
|
2919
|
+
readonly Result: import("effect/Schema").Int;
|
|
2920
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
2921
|
+
}>>;
|
|
2922
|
+
}>;
|
|
2923
|
+
}>[];
|
|
2924
|
+
} & {
|
|
2925
|
+
readonly _tag: "ProgrammableTransaction";
|
|
2926
|
+
};
|
|
2927
|
+
readonly sender: string & import("effect/Brand").Brand<"Address">;
|
|
2928
|
+
readonly gasData: {
|
|
2929
|
+
readonly payment: readonly {
|
|
2930
|
+
readonly objectId: string & import("effect/Brand").Brand<"Address">;
|
|
2931
|
+
readonly version: bigint;
|
|
2932
|
+
readonly digest: string & import("effect/Brand").Brand<"Digest">;
|
|
2933
|
+
}[];
|
|
2934
|
+
readonly owner: string & import("effect/Brand").Brand<"Address">;
|
|
2935
|
+
readonly price: bigint;
|
|
2936
|
+
readonly budget: bigint;
|
|
2937
|
+
};
|
|
2938
|
+
readonly expiration: Bcs.EnumType<{
|
|
2939
|
+
readonly None: null;
|
|
2940
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
2941
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
2942
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2943
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2944
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2945
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2946
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2947
|
+
nonce: import("effect/Schema").Int;
|
|
2948
|
+
}>;
|
|
2949
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
2950
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
2951
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
2952
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
2953
|
+
}>>;
|
|
2954
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2955
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2956
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2957
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
2958
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2959
|
+
readonly nonce: import("effect/Schema").Int;
|
|
2960
|
+
}>;
|
|
2961
|
+
}>;
|
|
2962
|
+
} & {
|
|
2963
|
+
readonly _tag: "V1";
|
|
2964
|
+
}) => Uint8Array;
|
|
2965
|
+
export declare const decode: (bytes: Uint8Array) => import("effect/Result").Result<{
|
|
2966
|
+
readonly kind: {
|
|
2967
|
+
readonly inputs: readonly Bcs.EnumType<{
|
|
2968
|
+
readonly Pure: import("effect/Schema").Struct<{
|
|
2969
|
+
readonly bytes: import("effect/Schema").Uint8Array;
|
|
2970
|
+
}>;
|
|
2971
|
+
readonly Object: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2972
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2973
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2974
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2975
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2976
|
+
}>;
|
|
2977
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
2978
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2979
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
2980
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
2981
|
+
readonly Immutable: null;
|
|
2982
|
+
readonly Mutable: null;
|
|
2983
|
+
readonly NonExclusiveWrite: null;
|
|
2984
|
+
}>, Bcs.EnumEncoded<{
|
|
2985
|
+
readonly Immutable: null;
|
|
2986
|
+
readonly Mutable: null;
|
|
2987
|
+
readonly NonExclusiveWrite: null;
|
|
2988
|
+
}>>;
|
|
2989
|
+
}>;
|
|
2990
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
2991
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2992
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2993
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
2994
|
+
}>;
|
|
2995
|
+
}>, Bcs.EnumEncoded<{
|
|
2996
|
+
readonly ImmOrOwnedObject: import("effect/Schema").Struct<{
|
|
2997
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
2998
|
+
readonly version: import("effect/Schema").BigInt;
|
|
2999
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
3000
|
+
}>;
|
|
3001
|
+
readonly SharedObject: import("effect/Schema").Struct<{
|
|
3002
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3003
|
+
readonly initialSharedVersion: import("effect/Schema").BigInt;
|
|
3004
|
+
readonly mutability: Bcs.BcsSchema<Bcs.EnumType<{
|
|
3005
|
+
readonly Immutable: null;
|
|
3006
|
+
readonly Mutable: null;
|
|
3007
|
+
readonly NonExclusiveWrite: null;
|
|
3008
|
+
}>, Bcs.EnumEncoded<{
|
|
3009
|
+
readonly Immutable: null;
|
|
3010
|
+
readonly Mutable: null;
|
|
3011
|
+
readonly NonExclusiveWrite: null;
|
|
3012
|
+
}>>;
|
|
3013
|
+
}>;
|
|
3014
|
+
readonly Receiving: import("effect/Schema").Struct<{
|
|
3015
|
+
readonly objectId: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3016
|
+
readonly version: import("effect/Schema").BigInt;
|
|
3017
|
+
readonly digest: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
3018
|
+
}>;
|
|
3019
|
+
}>>;
|
|
3020
|
+
readonly FundsWithdrawal: import("effect/Schema").Struct<{
|
|
3021
|
+
readonly reservation: Bcs.BcsSchema<{
|
|
3022
|
+
readonly _tag: "MaxAmountU64";
|
|
3023
|
+
readonly value: bigint;
|
|
3024
|
+
}, {
|
|
3025
|
+
readonly _tag: "MaxAmountU64";
|
|
3026
|
+
readonly value: bigint;
|
|
3027
|
+
}>;
|
|
3028
|
+
readonly typeArg: Bcs.BcsSchema<{
|
|
3029
|
+
readonly _tag: "Balance";
|
|
3030
|
+
readonly value: TypeTag;
|
|
3031
|
+
}, {
|
|
3032
|
+
readonly _tag: "Balance";
|
|
3033
|
+
readonly value: any;
|
|
3034
|
+
}>;
|
|
3035
|
+
readonly withdrawFrom: Bcs.BcsSchema<Bcs.EnumType<{
|
|
3036
|
+
readonly Sender: null;
|
|
3037
|
+
readonly Sponsor: null;
|
|
3038
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
3039
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3040
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3041
|
+
}>;
|
|
3042
|
+
}>, Bcs.EnumEncoded<{
|
|
3043
|
+
readonly Sender: null;
|
|
3044
|
+
readonly Sponsor: null;
|
|
3045
|
+
readonly SenderAllowance: import("effect/Schema").Struct<{
|
|
3046
|
+
readonly funder: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3047
|
+
readonly allowance: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3048
|
+
}>;
|
|
3049
|
+
}>>;
|
|
3050
|
+
}>;
|
|
3051
|
+
}>[];
|
|
3052
|
+
readonly commands: readonly Bcs.EnumType<{
|
|
3053
|
+
readonly MoveCall: import("effect/Schema").Struct<{
|
|
3054
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3055
|
+
readonly module: import("effect/Schema").String;
|
|
3056
|
+
readonly function: import("effect/Schema").String;
|
|
3057
|
+
readonly typeArguments: import("effect/Schema").$Array<Bcs.BcsSchema<TypeTag, any>>;
|
|
3058
|
+
readonly arguments: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
3059
|
+
readonly GasCoin: null;
|
|
3060
|
+
readonly Input: import("effect/Schema").Int;
|
|
3061
|
+
readonly Result: import("effect/Schema").Int;
|
|
3062
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3063
|
+
}>, Bcs.EnumEncoded<{
|
|
3064
|
+
readonly GasCoin: null;
|
|
3065
|
+
readonly Input: import("effect/Schema").Int;
|
|
3066
|
+
readonly Result: import("effect/Schema").Int;
|
|
3067
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3068
|
+
}>>>;
|
|
3069
|
+
}>;
|
|
3070
|
+
readonly TransferObjects: import("effect/Schema").Struct<{
|
|
3071
|
+
readonly objects: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
3072
|
+
readonly GasCoin: null;
|
|
3073
|
+
readonly Input: import("effect/Schema").Int;
|
|
3074
|
+
readonly Result: import("effect/Schema").Int;
|
|
3075
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3076
|
+
}>, Bcs.EnumEncoded<{
|
|
3077
|
+
readonly GasCoin: null;
|
|
3078
|
+
readonly Input: import("effect/Schema").Int;
|
|
3079
|
+
readonly Result: import("effect/Schema").Int;
|
|
3080
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3081
|
+
}>>>;
|
|
3082
|
+
readonly address: Bcs.BcsSchema<Bcs.EnumType<{
|
|
3083
|
+
readonly GasCoin: null;
|
|
3084
|
+
readonly Input: import("effect/Schema").Int;
|
|
3085
|
+
readonly Result: import("effect/Schema").Int;
|
|
3086
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3087
|
+
}>, Bcs.EnumEncoded<{
|
|
3088
|
+
readonly GasCoin: null;
|
|
3089
|
+
readonly Input: import("effect/Schema").Int;
|
|
3090
|
+
readonly Result: import("effect/Schema").Int;
|
|
3091
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3092
|
+
}>>;
|
|
3093
|
+
}>;
|
|
3094
|
+
readonly SplitCoins: import("effect/Schema").Struct<{
|
|
3095
|
+
readonly coin: Bcs.BcsSchema<Bcs.EnumType<{
|
|
3096
|
+
readonly GasCoin: null;
|
|
3097
|
+
readonly Input: import("effect/Schema").Int;
|
|
3098
|
+
readonly Result: import("effect/Schema").Int;
|
|
3099
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3100
|
+
}>, Bcs.EnumEncoded<{
|
|
3101
|
+
readonly GasCoin: null;
|
|
3102
|
+
readonly Input: import("effect/Schema").Int;
|
|
3103
|
+
readonly Result: import("effect/Schema").Int;
|
|
3104
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3105
|
+
}>>;
|
|
3106
|
+
readonly amounts: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
3107
|
+
readonly GasCoin: null;
|
|
3108
|
+
readonly Input: import("effect/Schema").Int;
|
|
3109
|
+
readonly Result: import("effect/Schema").Int;
|
|
3110
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3111
|
+
}>, Bcs.EnumEncoded<{
|
|
3112
|
+
readonly GasCoin: null;
|
|
3113
|
+
readonly Input: import("effect/Schema").Int;
|
|
3114
|
+
readonly Result: import("effect/Schema").Int;
|
|
3115
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3116
|
+
}>>>;
|
|
3117
|
+
}>;
|
|
3118
|
+
readonly MergeCoins: import("effect/Schema").Struct<{
|
|
3119
|
+
readonly destination: Bcs.BcsSchema<Bcs.EnumType<{
|
|
3120
|
+
readonly GasCoin: null;
|
|
3121
|
+
readonly Input: import("effect/Schema").Int;
|
|
3122
|
+
readonly Result: import("effect/Schema").Int;
|
|
3123
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3124
|
+
}>, Bcs.EnumEncoded<{
|
|
3125
|
+
readonly GasCoin: null;
|
|
3126
|
+
readonly Input: import("effect/Schema").Int;
|
|
3127
|
+
readonly Result: import("effect/Schema").Int;
|
|
3128
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3129
|
+
}>>;
|
|
3130
|
+
readonly sources: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
3131
|
+
readonly GasCoin: null;
|
|
3132
|
+
readonly Input: import("effect/Schema").Int;
|
|
3133
|
+
readonly Result: import("effect/Schema").Int;
|
|
3134
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3135
|
+
}>, Bcs.EnumEncoded<{
|
|
3136
|
+
readonly GasCoin: null;
|
|
3137
|
+
readonly Input: import("effect/Schema").Int;
|
|
3138
|
+
readonly Result: import("effect/Schema").Int;
|
|
3139
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3140
|
+
}>>>;
|
|
3141
|
+
}>;
|
|
3142
|
+
readonly Publish: import("effect/Schema").Struct<{
|
|
3143
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
3144
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
3145
|
+
}>;
|
|
3146
|
+
readonly MakeMoveVec: import("effect/Schema").Struct<{
|
|
3147
|
+
readonly type: import("effect/Schema").Option<Bcs.BcsSchema<TypeTag, any>>;
|
|
3148
|
+
readonly elements: import("effect/Schema").$Array<Bcs.BcsSchema<Bcs.EnumType<{
|
|
3149
|
+
readonly GasCoin: null;
|
|
3150
|
+
readonly Input: import("effect/Schema").Int;
|
|
3151
|
+
readonly Result: import("effect/Schema").Int;
|
|
3152
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3153
|
+
}>, Bcs.EnumEncoded<{
|
|
3154
|
+
readonly GasCoin: null;
|
|
3155
|
+
readonly Input: import("effect/Schema").Int;
|
|
3156
|
+
readonly Result: import("effect/Schema").Int;
|
|
3157
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3158
|
+
}>>>;
|
|
3159
|
+
}>;
|
|
3160
|
+
readonly Upgrade: import("effect/Schema").Struct<{
|
|
3161
|
+
readonly modules: import("effect/Schema").$Array<import("effect/Schema").Uint8Array>;
|
|
3162
|
+
readonly dependencies: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Address">>;
|
|
3163
|
+
readonly package: import("effect/Schema").brand<import("effect/Schema").String, "Address">;
|
|
3164
|
+
readonly ticket: Bcs.BcsSchema<Bcs.EnumType<{
|
|
3165
|
+
readonly GasCoin: null;
|
|
3166
|
+
readonly Input: import("effect/Schema").Int;
|
|
3167
|
+
readonly Result: import("effect/Schema").Int;
|
|
3168
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3169
|
+
}>, Bcs.EnumEncoded<{
|
|
3170
|
+
readonly GasCoin: null;
|
|
3171
|
+
readonly Input: import("effect/Schema").Int;
|
|
3172
|
+
readonly Result: import("effect/Schema").Int;
|
|
3173
|
+
readonly NestedResult: import("effect/Schema").Tuple<readonly [import("effect/Schema").Int, import("effect/Schema").Int]>;
|
|
3174
|
+
}>>;
|
|
3175
|
+
}>;
|
|
3176
|
+
}>[];
|
|
3177
|
+
} & {
|
|
3178
|
+
readonly _tag: "ProgrammableTransaction";
|
|
3179
|
+
};
|
|
3180
|
+
readonly sender: string & import("effect/Brand").Brand<"Address">;
|
|
3181
|
+
readonly gasData: {
|
|
3182
|
+
readonly payment: readonly {
|
|
3183
|
+
readonly objectId: string & import("effect/Brand").Brand<"Address">;
|
|
3184
|
+
readonly version: bigint;
|
|
3185
|
+
readonly digest: string & import("effect/Brand").Brand<"Digest">;
|
|
3186
|
+
}[];
|
|
3187
|
+
readonly owner: string & import("effect/Brand").Brand<"Address">;
|
|
3188
|
+
readonly price: bigint;
|
|
3189
|
+
readonly budget: bigint;
|
|
3190
|
+
};
|
|
3191
|
+
readonly expiration: Bcs.EnumType<{
|
|
3192
|
+
readonly None: null;
|
|
3193
|
+
readonly Epoch: import("effect/Schema").BigInt;
|
|
3194
|
+
readonly ValidDuring: import("effect/Schema").Struct<{
|
|
3195
|
+
minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3196
|
+
maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3197
|
+
minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3198
|
+
maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3199
|
+
chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
3200
|
+
nonce: import("effect/Schema").Int;
|
|
3201
|
+
}>;
|
|
3202
|
+
readonly Validity: import("effect/Schema").Struct<{
|
|
3203
|
+
readonly allowedProposers: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
3204
|
+
readonly epoch: import("effect/Schema").BigInt;
|
|
3205
|
+
readonly proposers: import("effect/Schema").$Array<import("effect/Schema").Int>;
|
|
3206
|
+
}>>;
|
|
3207
|
+
readonly minEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3208
|
+
readonly maxEpoch: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3209
|
+
readonly minTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3210
|
+
readonly maxTimestamp: import("effect/Schema").Option<import("effect/Schema").BigInt>;
|
|
3211
|
+
readonly chain: import("effect/Schema").brand<import("effect/Schema").String, "Digest">;
|
|
3212
|
+
readonly nonce: import("effect/Schema").Int;
|
|
3213
|
+
}>;
|
|
3214
|
+
}>;
|
|
3215
|
+
} & {
|
|
3216
|
+
readonly _tag: "V1";
|
|
3217
|
+
}, Bcs.BcsDecodeError | import("effect/Schema").SchemaError>;
|
|
3218
|
+
//# sourceMappingURL=TransactionData.d.ts.map
|