@xyo-network/xl1-protocol-sdk 4.0.4 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index-node.d.ts +3 -0
- package/dist/neutral/index-node.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +0 -2
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +31 -60
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/node/Archivists/ArchivistConnectOptions.d.ts +8 -0
- package/dist/node/Archivists/ArchivistConnectOptions.d.ts.map +1 -0
- package/dist/node/Archivists/ArchivistFactory.d.ts +31 -0
- package/dist/node/Archivists/ArchivistFactory.d.ts.map +1 -0
- package/dist/node/Archivists/MemoryArchivistFactory.d.ts +19 -0
- package/dist/node/Archivists/MemoryArchivistFactory.d.ts.map +1 -0
- package/dist/node/Archivists/archivistFactoryRegistry.d.ts +9 -0
- package/dist/node/Archivists/archivistFactoryRegistry.d.ts.map +1 -0
- package/dist/node/Archivists/archivistRoles.d.ts +12 -0
- package/dist/node/Archivists/archivistRoles.d.ts.map +1 -0
- package/dist/node/Archivists/connectArchivist.d.ts +11 -0
- package/dist/node/Archivists/connectArchivist.d.ts.map +1 -0
- package/dist/node/Archivists/index.d.ts +7 -0
- package/dist/node/Archivists/index.d.ts.map +1 -0
- package/dist/node/ChainContextHelpers.d.ts +10 -0
- package/dist/node/ChainContextHelpers.d.ts.map +1 -0
- package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts +114 -0
- package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -0
- package/dist/node/CreatableProvider/CreatableProvider.d.ts +67 -0
- package/dist/node/CreatableProvider/CreatableProvider.d.ts.map +1 -0
- package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts +13 -0
- package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts.map +1 -0
- package/dist/node/CreatableProvider/GetInstanceOptions.d.ts +10 -0
- package/dist/node/CreatableProvider/GetInstanceOptions.d.ts.map +1 -0
- package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts +14 -0
- package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts.map +1 -0
- package/dist/node/CreatableProvider/ProviderFactory.d.ts +29 -0
- package/dist/node/CreatableProvider/ProviderFactory.d.ts.map +1 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts +61 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts +47 -0
- package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts.map +1 -0
- package/dist/node/CreatableProvider/index.d.ts +9 -0
- package/dist/node/CreatableProvider/index.d.ts.map +1 -0
- package/dist/node/SignedBigInt.d.ts +22 -0
- package/dist/node/SignedBigInt.d.ts.map +1 -0
- package/dist/node/_internal/context/getTestProviderContext.d.ts +4 -0
- package/dist/node/_internal/context/getTestProviderContext.d.ts.map +1 -0
- package/dist/node/_internal/context/index.d.ts +2 -0
- package/dist/node/_internal/context/index.d.ts.map +1 -0
- package/dist/node/_internal/index.d.ts +2 -0
- package/dist/node/_internal/index.d.ts.map +1 -0
- package/dist/node/amount/ShiftedBigInt.d.ts +17 -0
- package/dist/node/amount/ShiftedBigInt.d.ts.map +1 -0
- package/dist/node/amount/index.d.ts +5 -0
- package/dist/node/amount/index.d.ts.map +1 -0
- package/dist/node/amount/splitOnDecimal.d.ts +3 -0
- package/dist/node/amount/splitOnDecimal.d.ts.map +1 -0
- package/dist/node/amount/splitOnDecimalToString.d.ts +3 -0
- package/dist/node/amount/splitOnDecimalToString.d.ts.map +1 -0
- package/dist/node/amount/xl1Amount.d.ts +26 -0
- package/dist/node/amount/xl1Amount.d.ts.map +1 -0
- package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts +70 -0
- package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/allHashesPresent.d.ts +5 -0
- package/dist/node/block/hydrate/allHashesPresent.d.ts.map +1 -0
- package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts +5 -0
- package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/createBlockHydrator.d.ts +6 -0
- package/dist/node/block/hydrate/createBlockHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts +169 -0
- package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/createTransactionHydrator.d.ts +6 -0
- package/dist/node/block/hydrate/createTransactionHydrator.d.ts.map +1 -0
- package/dist/node/block/hydrate/flattenHydratedBlock.d.ts +9 -0
- package/dist/node/block/hydrate/flattenHydratedBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts +4 -0
- package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts.map +1 -0
- package/dist/node/block/hydrate/hydrateBlock.d.ts +5 -0
- package/dist/node/block/hydrate/hydrateBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/index.d.ts +12 -0
- package/dist/node/block/hydrate/index.d.ts.map +1 -0
- package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts +4 -0
- package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts.map +1 -0
- package/dist/node/block/hydrate/tryHydrateBlock.d.ts +6 -0
- package/dist/node/block/hydrate/tryHydrateBlock.d.ts.map +1 -0
- package/dist/node/block/index.d.ts +3 -0
- package/dist/node/block/index.d.ts.map +1 -0
- package/dist/node/block/primitives/blockFromBlockNumber.d.ts +5 -0
- package/dist/node/block/primitives/blockFromBlockNumber.d.ts.map +1 -0
- package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts +7 -0
- package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts.map +1 -0
- package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts +10 -0
- package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts.map +1 -0
- package/dist/node/block/primitives/frames/index.d.ts +3 -0
- package/dist/node/block/primitives/frames/index.d.ts.map +1 -0
- package/dist/node/block/primitives/hashFromBlockNumber.d.ts +5 -0
- package/dist/node/block/primitives/hashFromBlockNumber.d.ts.map +1 -0
- package/dist/node/block/primitives/index.d.ts +8 -0
- package/dist/node/block/primitives/index.d.ts.map +1 -0
- package/dist/node/block/primitives/model.d.ts +8 -0
- package/dist/node/block/primitives/model.d.ts.map +1 -0
- package/dist/node/block/primitives/payloads/ChainWindow.d.ts +7 -0
- package/dist/node/block/primitives/payloads/ChainWindow.d.ts.map +1 -0
- package/dist/node/block/primitives/payloads/index.d.ts +2 -0
- package/dist/node/block/primitives/payloads/index.d.ts.map +1 -0
- package/dist/node/block/primitives/toStepIdentityString.d.ts +4 -0
- package/dist/node/block/primitives/toStepIdentityString.d.ts.map +1 -0
- package/dist/node/block/primitives/validateTransactionOpcodes.d.ts +5 -0
- package/dist/node/block/primitives/validateTransactionOpcodes.d.ts.map +1 -0
- package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts +10 -0
- package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts.map +1 -0
- package/dist/node/boundwitness/index.d.ts +2 -0
- package/dist/node/boundwitness/index.d.ts.map +1 -0
- package/dist/node/capabilities/Backing.d.ts +52 -0
- package/dist/node/capabilities/Backing.d.ts.map +1 -0
- package/dist/node/capabilities/Capability.d.ts +32 -0
- package/dist/node/capabilities/Capability.d.ts.map +1 -0
- package/dist/node/capabilities/Provider.d.ts +31 -0
- package/dist/node/capabilities/Provider.d.ts.map +1 -0
- package/dist/node/capabilities/connectionSubsetBySurface.d.ts +17 -0
- package/dist/node/capabilities/connectionSubsetBySurface.d.ts.map +1 -0
- package/dist/node/capabilities/connectionTypes.d.ts +10 -0
- package/dist/node/capabilities/connectionTypes.d.ts.map +1 -0
- package/dist/node/capabilities/factoryBrand.d.ts +46 -0
- package/dist/node/capabilities/factoryBrand.d.ts.map +1 -0
- package/dist/node/capabilities/index.d.ts +12 -0
- package/dist/node/capabilities/index.d.ts.map +1 -0
- package/dist/node/capabilities/locatorFromConfig.d.ts +29 -0
- package/dist/node/capabilities/locatorFromConfig.d.ts.map +1 -0
- package/dist/node/capabilities/needsFromProviderBindings.d.ts +8 -0
- package/dist/node/capabilities/needsFromProviderBindings.d.ts.map +1 -0
- package/dist/node/capabilities/providerCandidateFromClass.d.ts +7 -0
- package/dist/node/capabilities/providerCandidateFromClass.d.ts.map +1 -0
- package/dist/node/capabilities/resolveProviders.d.ts +56 -0
- package/dist/node/capabilities/resolveProviders.d.ts.map +1 -0
- package/dist/node/capabilities/surfaceMap.d.ts +11 -0
- package/dist/node/capabilities/surfaceMap.d.ts.map +1 -0
- package/dist/node/config/Actor.d.ts +590 -0
- package/dist/node/config/Actor.d.ts.map +1 -0
- package/dist/node/config/Actors.d.ts +107 -0
- package/dist/node/config/Actors.d.ts.map +1 -0
- package/dist/node/config/Base.d.ts +109 -0
- package/dist/node/config/Base.d.ts.map +1 -0
- package/dist/node/config/Chain.d.ts +13 -0
- package/dist/node/config/Chain.d.ts.map +1 -0
- package/dist/node/config/Config.d.ts +396 -0
- package/dist/node/config/Config.d.ts.map +1 -0
- package/dist/node/config/DeepPartial.d.ts +5 -0
- package/dist/node/config/DeepPartial.d.ts.map +1 -0
- package/dist/node/config/HostActor.d.ts +591 -0
- package/dist/node/config/HostActor.d.ts.map +1 -0
- package/dist/node/config/LocatorConfigFields.d.ts +115 -0
- package/dist/node/config/LocatorConfigFields.d.ts.map +1 -0
- package/dist/node/config/Log.d.ts +16 -0
- package/dist/node/config/Log.d.ts.map +1 -0
- package/dist/node/config/Provider.d.ts +36 -0
- package/dist/node/config/Provider.d.ts.map +1 -0
- package/dist/node/config/ProviderBinding.d.ts +17 -0
- package/dist/node/config/ProviderBinding.d.ts.map +1 -0
- package/dist/node/config/Providers.d.ts +9 -0
- package/dist/node/config/Providers.d.ts.map +1 -0
- package/dist/node/config/ResolvedLocatorConfig.d.ts +122 -0
- package/dist/node/config/ResolvedLocatorConfig.d.ts.map +1 -0
- package/dist/node/config/Telemetry.d.ts +40 -0
- package/dist/node/config/Telemetry.d.ts.map +1 -0
- package/dist/node/config/UsageMeta.d.ts +32 -0
- package/dist/node/config/UsageMeta.d.ts.map +1 -0
- package/dist/node/config/Validation.d.ts +25 -0
- package/dist/node/config/Validation.d.ts.map +1 -0
- package/dist/node/config/connections/Connection.d.ts +147 -0
- package/dist/node/config/connections/Connection.d.ts.map +1 -0
- package/dist/node/config/connections/Mongo.d.ts +12 -0
- package/dist/node/config/connections/Mongo.d.ts.map +1 -0
- package/dist/node/config/connections/RpcRemote.d.ts +34 -0
- package/dist/node/config/connections/RpcRemote.d.ts.map +1 -0
- package/dist/node/config/connections/S3.d.ts +20 -0
- package/dist/node/config/connections/S3.d.ts.map +1 -0
- package/dist/node/config/connections/index.d.ts +5 -0
- package/dist/node/config/connections/index.d.ts.map +1 -0
- package/dist/node/config/index.d.ts +18 -0
- package/dist/node/config/index.d.ts.map +1 -0
- package/dist/node/config/normalizeConnectionsConfig.d.ts +17 -0
- package/dist/node/config/normalizeConnectionsConfig.d.ts.map +1 -0
- package/dist/node/config/resolveRestConnectionEndpoint.d.ts +5 -0
- package/dist/node/config/resolveRestConnectionEndpoint.d.ts.map +1 -0
- package/dist/node/config/synthesizeRpcConnectionBindings.d.ts +8 -0
- package/dist/node/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
- package/dist/node/constants.d.ts +5 -0
- package/dist/node/constants.d.ts.map +1 -0
- package/dist/node/context/Actor.d.ts +633 -0
- package/dist/node/context/Actor.d.ts.map +1 -0
- package/dist/node/context/HostActor.d.ts +645 -0
- package/dist/node/context/HostActor.d.ts.map +1 -0
- package/dist/node/context/index.d.ts +3 -0
- package/dist/node/context/index.d.ts.map +1 -0
- package/dist/node/createDeclarationPayload.d.ts +5 -0
- package/dist/node/createDeclarationPayload.d.ts.map +1 -0
- package/dist/node/createTransferPayload.d.ts +6 -0
- package/dist/node/createTransferPayload.d.ts.map +1 -0
- package/dist/node/eip-712/Payloads/EIP712Data.d.ts +32 -0
- package/dist/node/eip-712/Payloads/EIP712Data.d.ts.map +1 -0
- package/dist/node/eip-712/Payloads/EIP712Signature.d.ts +23 -0
- package/dist/node/eip-712/Payloads/EIP712Signature.d.ts.map +1 -0
- package/dist/node/eip-712/Payloads/index.d.ts +3 -0
- package/dist/node/eip-712/Payloads/index.d.ts.map +1 -0
- package/dist/node/eip-712/Types.d.ts +35 -0
- package/dist/node/eip-712/Types.d.ts.map +1 -0
- package/dist/node/eip-712/index.d.ts +5 -0
- package/dist/node/eip-712/index.d.ts.map +1 -0
- package/dist/node/eip-712/sign.d.ts +5 -0
- package/dist/node/eip-712/sign.d.ts.map +1 -0
- package/dist/node/eip-712/verify.d.ts +4 -0
- package/dist/node/eip-712/verify.d.ts.map +1 -0
- package/dist/node/getFileConfig.d.ts +191 -0
- package/dist/node/getFileConfig.d.ts.map +1 -0
- package/dist/node/index-node.d.ts +3 -0
- package/dist/node/index-node.d.ts.map +1 -0
- package/dist/node/index-node.mjs +8324 -0
- package/dist/node/index-node.mjs.map +7 -0
- package/dist/node/index.d.ts +30 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/instances/Address.d.ts +13 -0
- package/dist/node/instances/Address.d.ts.map +1 -0
- package/dist/node/instances/BoundWitness.d.ts +9 -0
- package/dist/node/instances/BoundWitness.d.ts.map +1 -0
- package/dist/node/instances/Data.d.ts +5 -0
- package/dist/node/instances/Data.d.ts.map +1 -0
- package/dist/node/instances/Fees.d.ts +9 -0
- package/dist/node/instances/Fees.d.ts.map +1 -0
- package/dist/node/instances/HydratedBoundWitness.d.ts +11 -0
- package/dist/node/instances/HydratedBoundWitness.d.ts.map +1 -0
- package/dist/node/instances/Object.d.ts +6 -0
- package/dist/node/instances/Object.d.ts.map +1 -0
- package/dist/node/instances/Payload.d.ts +7 -0
- package/dist/node/instances/Payload.d.ts.map +1 -0
- package/dist/node/instances/Signature.d.ts +10 -0
- package/dist/node/instances/Signature.d.ts.map +1 -0
- package/dist/node/instances/block/BlockFields.d.ts +12 -0
- package/dist/node/instances/block/BlockFields.d.ts.map +1 -0
- package/dist/node/instances/block/HydratedBlock.d.ts +9 -0
- package/dist/node/instances/block/HydratedBlock.d.ts.map +1 -0
- package/dist/node/instances/block/index.d.ts +2 -0
- package/dist/node/instances/block/index.d.ts.map +1 -0
- package/dist/node/instances/index.d.ts +11 -0
- package/dist/node/instances/index.d.ts.map +1 -0
- package/dist/node/instances/modifiers/BlockWindowInstance.d.ts +8 -0
- package/dist/node/instances/modifiers/BlockWindowInstance.d.ts.map +1 -0
- package/dist/node/instances/modifiers/BlockWindowState.d.ts +6 -0
- package/dist/node/instances/modifiers/BlockWindowState.d.ts.map +1 -0
- package/dist/node/instances/modifiers/Signed.d.ts +8 -0
- package/dist/node/instances/modifiers/Signed.d.ts.map +1 -0
- package/dist/node/instances/modifiers/Validatable.d.ts +6 -0
- package/dist/node/instances/modifiers/Validatable.d.ts.map +1 -0
- package/dist/node/instances/modifiers/index.d.ts +5 -0
- package/dist/node/instances/modifiers/index.d.ts.map +1 -0
- package/dist/node/instances/transaction/HydratedTransaction.d.ts +7 -0
- package/dist/node/instances/transaction/HydratedTransaction.d.ts.map +1 -0
- package/dist/node/instances/transaction/TransactionFields.d.ts +17 -0
- package/dist/node/instances/transaction/TransactionFields.d.ts.map +1 -0
- package/dist/node/instances/transaction/index.d.ts +2 -0
- package/dist/node/instances/transaction/index.d.ts.map +1 -0
- package/dist/node/isInternetAvailable.d.ts +3 -0
- package/dist/node/isInternetAvailable.d.ts.map +1 -0
- package/dist/node/model/ChainFork/ChainForkStatic.d.ts +9 -0
- package/dist/node/model/ChainFork/ChainForkStatic.d.ts.map +1 -0
- package/dist/node/model/ChainFork/index.d.ts +2 -0
- package/dist/node/model/ChainFork/index.d.ts.map +1 -0
- package/dist/node/model/ChainIdentity.d.ts +6 -0
- package/dist/node/model/ChainIdentity.d.ts.map +1 -0
- package/dist/node/model/ChainStore.d.ts +12 -0
- package/dist/node/model/ChainStore.d.ts.map +1 -0
- package/dist/node/model/CreatableProviderContext.d.ts +5 -0
- package/dist/node/model/CreatableProviderContext.d.ts.map +1 -0
- package/dist/node/model/CreatableProviderContext.zod.d.ts +714 -0
- package/dist/node/model/CreatableProviderContext.zod.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts +5 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts +5 -0
- package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts +5 -0
- package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts +5 -0
- package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts.map +1 -0
- package/dist/node/model/PayloadBundle/index.d.ts +5 -0
- package/dist/node/model/PayloadBundle/index.d.ts.map +1 -0
- package/dist/node/model/index.d.ts +7 -0
- package/dist/node/model/index.d.ts.map +1 -0
- package/dist/node/multipliers.d.ts +10 -0
- package/dist/node/multipliers.d.ts.map +1 -0
- package/dist/node/payloads/AddressPairPayload.d.ts +22 -0
- package/dist/node/payloads/AddressPairPayload.d.ts.map +1 -0
- package/dist/node/payloads/index.d.ts +5 -0
- package/dist/node/payloads/index.d.ts.map +1 -0
- package/dist/node/payloads/netBalancesForPayloads.d.ts +9 -0
- package/dist/node/payloads/netBalancesForPayloads.d.ts.map +1 -0
- package/dist/node/payloads/netSchemasForPayloads.d.ts +9 -0
- package/dist/node/payloads/netSchemasForPayloads.d.ts.map +1 -0
- package/dist/node/payloads/netTransfersForPayloads.d.ts +5 -0
- package/dist/node/payloads/netTransfersForPayloads.d.ts.map +1 -0
- package/dist/node/primitives/block/index.d.ts +3 -0
- package/dist/node/primitives/block/index.d.ts.map +1 -0
- package/dist/node/primitives/block/range/blockRangeSteps.d.ts +4 -0
- package/dist/node/primitives/block/range/blockRangeSteps.d.ts.map +1 -0
- package/dist/node/primitives/block/range/index.d.ts +2 -0
- package/dist/node/primitives/block/range/index.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/blockRate.d.ts +11 -0
- package/dist/node/primitives/block/rate/blockRate.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/index.d.ts +5 -0
- package/dist/node/primitives/block/rate/index.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/stepRate.d.ts +7 -0
- package/dist/node/primitives/block/rate/stepRate.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/timeHelpers.d.ts +8 -0
- package/dist/node/primitives/block/rate/timeHelpers.d.ts.map +1 -0
- package/dist/node/primitives/block/rate/timeRate.d.ts +8 -0
- package/dist/node/primitives/block/rate/timeRate.d.ts.map +1 -0
- package/dist/node/primitives/chain/getWindowedChain.d.ts +10 -0
- package/dist/node/primitives/chain/getWindowedChain.d.ts.map +1 -0
- package/dist/node/primitives/chain/index.d.ts +4 -0
- package/dist/node/primitives/chain/index.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts +5 -0
- package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/index.d.ts +5 -0
- package/dist/node/primitives/chain/step/index.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/stepRewardBlock.d.ts +4 -0
- package/dist/node/primitives/chain/step/stepRewardBlock.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/stepRewardTotal.d.ts +4 -0
- package/dist/node/primitives/chain/step/stepRewardTotal.d.ts.map +1 -0
- package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts +8 -0
- package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts +4 -0
- package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts +4 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts +4 -0
- package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts.map +1 -0
- package/dist/node/primitives/chain/time/index.d.ts +4 -0
- package/dist/node/primitives/chain/time/index.d.ts.map +1 -0
- package/dist/node/primitives/datalake/NamedDataLake.d.ts +7 -0
- package/dist/node/primitives/datalake/NamedDataLake.d.ts.map +1 -0
- package/dist/node/primitives/datalake/PayloadLocator.d.ts +55 -0
- package/dist/node/primitives/datalake/PayloadLocator.d.ts.map +1 -0
- package/dist/node/primitives/datalake/addDataLakePayloads.d.ts +5 -0
- package/dist/node/primitives/datalake/addDataLakePayloads.d.ts.map +1 -0
- package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts +9 -0
- package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -0
- package/dist/node/primitives/datalake/index.d.ts +5 -0
- package/dist/node/primitives/datalake/index.d.ts.map +1 -0
- package/dist/node/primitives/index.d.ts +13 -0
- package/dist/node/primitives/index.d.ts.map +1 -0
- package/dist/node/primitives/mapToMapType.d.ts +4 -0
- package/dist/node/primitives/mapToMapType.d.ts.map +1 -0
- package/dist/node/primitives/payload/index.d.ts +2 -0
- package/dist/node/primitives/payload/index.d.ts.map +1 -0
- package/dist/node/primitives/payload/mergeTransfers.d.ts +5 -0
- package/dist/node/primitives/payload/mergeTransfers.d.ts.map +1 -0
- package/dist/node/primitives/readPayloadMapFromStore.d.ts +7 -0
- package/dist/node/primitives/readPayloadMapFromStore.d.ts.map +1 -0
- package/dist/node/primitives/rewardFromBlockNumber.d.ts +4 -0
- package/dist/node/primitives/rewardFromBlockNumber.d.ts.map +1 -0
- package/dist/node/primitives/rewards/index.d.ts +2 -0
- package/dist/node/primitives/rewards/index.d.ts.map +1 -0
- package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts +4 -0
- package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts.map +1 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts +5 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts +4 -0
- package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts.map +1 -0
- package/dist/node/primitives/stake/allStakersForRange.d.ts +5 -0
- package/dist/node/primitives/stake/allStakersForRange.d.ts.map +1 -0
- package/dist/node/primitives/stake/allStakersForStep.d.ts +5 -0
- package/dist/node/primitives/stake/allStakersForStep.d.ts.map +1 -0
- package/dist/node/primitives/stake/index.d.ts +7 -0
- package/dist/node/primitives/stake/index.d.ts.map +1 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts +4 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts.map +1 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts +5 -0
- package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts.map +1 -0
- package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts +6 -0
- package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -0
- package/dist/node/primitives/state/findMostRecentBlock.d.ts +11 -0
- package/dist/node/primitives/state/findMostRecentBlock.d.ts.map +1 -0
- package/dist/node/primitives/state/hydratedBlockByNumber.d.ts +4 -0
- package/dist/node/primitives/state/hydratedBlockByNumber.d.ts.map +1 -0
- package/dist/node/primitives/state/index.d.ts +3 -0
- package/dist/node/primitives/state/index.d.ts.map +1 -0
- package/dist/node/primitives/step/derivedReceiveAddress.d.ts +2 -0
- package/dist/node/primitives/step/derivedReceiveAddress.d.ts.map +1 -0
- package/dist/node/primitives/step/index.d.ts +3 -0
- package/dist/node/primitives/step/index.d.ts.map +1 -0
- package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts +2 -0
- package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts.map +1 -0
- package/dist/node/primitives/step/stepBlockRange.d.ts +4 -0
- package/dist/node/primitives/step/stepBlockRange.d.ts.map +1 -0
- package/dist/node/primitives/step/stepTransferIndex.d.ts +3 -0
- package/dist/node/primitives/step/stepTransferIndex.d.ts.map +1 -0
- package/dist/node/primitives/transaction/elevatedPayloads.d.ts +2 -0
- package/dist/node/primitives/transaction/elevatedPayloads.d.ts.map +1 -0
- package/dist/node/primitives/transaction/index.d.ts +2 -0
- package/dist/node/primitives/transaction/index.d.ts.map +1 -0
- package/dist/node/primitives/uncle/findBestUncle.d.ts +17 -0
- package/dist/node/primitives/uncle/findBestUncle.d.ts.map +1 -0
- package/dist/node/primitives/uncle/findUncles.d.ts +36 -0
- package/dist/node/primitives/uncle/findUncles.d.ts.map +1 -0
- package/dist/node/primitives/uncle/getProducerKey.d.ts +4 -0
- package/dist/node/primitives/uncle/getProducerKey.d.ts.map +1 -0
- package/dist/node/primitives/uncle/index.d.ts +5 -0
- package/dist/node/primitives/uncle/index.d.ts.map +1 -0
- package/dist/node/primitives/uncle/scoreUncle.d.ts +6 -0
- package/dist/node/primitives/uncle/scoreUncle.d.ts.map +1 -0
- package/dist/node/services/AccountTransfersService.d.ts +12 -0
- package/dist/node/services/AccountTransfersService.d.ts.map +1 -0
- package/dist/node/services/BlockProducerService.d.ts +7 -0
- package/dist/node/services/BlockProducerService.d.ts.map +1 -0
- package/dist/node/services/Chain/BaseChainService.d.ts +4 -0
- package/dist/node/services/Chain/BaseChainService.d.ts.map +1 -0
- package/dist/node/services/Chain/ChainHeadService.d.ts +7 -0
- package/dist/node/services/Chain/ChainHeadService.d.ts.map +1 -0
- package/dist/node/services/Chain/ChainService.d.ts +6 -0
- package/dist/node/services/Chain/ChainService.d.ts.map +1 -0
- package/dist/node/services/Chain/index.d.ts +4 -0
- package/dist/node/services/Chain/index.d.ts.map +1 -0
- package/dist/node/services/Election.d.ts +11 -0
- package/dist/node/services/Election.d.ts.map +1 -0
- package/dist/node/services/NetworkStakeService.d.ts +5 -0
- package/dist/node/services/NetworkStakeService.d.ts.map +1 -0
- package/dist/node/services/Params.d.ts +11 -0
- package/dist/node/services/Params.d.ts.map +1 -0
- package/dist/node/services/PendingTransactionsService.d.ts +7 -0
- package/dist/node/services/PendingTransactionsService.d.ts.map +1 -0
- package/dist/node/services/SchemasService.d.ts +11 -0
- package/dist/node/services/SchemasService.d.ts.map +1 -0
- package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts +39 -0
- package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts.map +1 -0
- package/dist/node/services/StakeIntentService/StakeIntentService.d.ts +31 -0
- package/dist/node/services/StakeIntentService/StakeIntentService.d.ts.map +1 -0
- package/dist/node/services/StakeIntentService/index.d.ts +3 -0
- package/dist/node/services/StakeIntentService/index.d.ts.map +1 -0
- package/dist/node/services/index.d.ts +9 -0
- package/dist/node/services/index.d.ts.map +1 -0
- package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts +23 -0
- package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts.map +1 -0
- package/dist/node/simple/StakeEventsViewer/index.d.ts +2 -0
- package/dist/node/simple/StakeEventsViewer/index.d.ts.map +1 -0
- package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +27 -0
- package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -0
- package/dist/node/simple/StakeTotalsViewer/index.d.ts +2 -0
- package/dist/node/simple/StakeTotalsViewer/index.d.ts.map +1 -0
- package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts +42 -0
- package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -0
- package/dist/node/simple/StakeViewer/index.d.ts +2 -0
- package/dist/node/simple/StakeViewer/index.d.ts.map +1 -0
- package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts +25 -0
- package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -0
- package/dist/node/simple/TransactionViewer/index.d.ts +2 -0
- package/dist/node/simple/TransactionViewer/index.d.ts.map +1 -0
- package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +132 -0
- package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -0
- package/dist/node/simple/accountBalance/index.d.ts +2 -0
- package/dist/node/simple/accountBalance/index.d.ts.map +1 -0
- package/dist/node/simple/block/SimpleBlockViewer.d.ts +114 -0
- package/dist/node/simple/block/SimpleBlockViewer.d.ts.map +1 -0
- package/dist/node/simple/block/index.d.ts +2 -0
- package/dist/node/simple/block/index.d.ts.map +1 -0
- package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +37 -0
- package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts.map +1 -0
- package/dist/node/simple/blockInvalidation/index.d.ts +2 -0
- package/dist/node/simple/blockInvalidation/index.d.ts.map +1 -0
- package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts +18 -0
- package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -0
- package/dist/node/simple/blockReward/index.d.ts +2 -0
- package/dist/node/simple/blockReward/index.d.ts.map +1 -0
- package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts +38 -0
- package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts.map +1 -0
- package/dist/node/simple/blockValidation/index.d.ts +2 -0
- package/dist/node/simple/blockValidation/index.d.ts.map +1 -0
- package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts +47 -0
- package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -0
- package/dist/node/simple/chainContractViewer/index.d.ts +2 -0
- package/dist/node/simple/chainContractViewer/index.d.ts.map +1 -0
- package/dist/node/simple/client/SimpleXyoClient.d.ts +9 -0
- package/dist/node/simple/client/SimpleXyoClient.d.ts.map +1 -0
- package/dist/node/simple/client/index.d.ts +2 -0
- package/dist/node/simple/client/index.d.ts.map +1 -0
- package/dist/node/simple/datalake/AbstractRestDataLake.d.ts +34 -0
- package/dist/node/simple/datalake/AbstractRestDataLake.d.ts.map +1 -0
- package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts +21 -0
- package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts.map +1 -0
- package/dist/node/simple/datalake/RestDataLakeRunner.d.ts +20 -0
- package/dist/node/simple/datalake/RestDataLakeRunner.d.ts.map +1 -0
- package/dist/node/simple/datalake/RestDataLakeViewer.d.ts +16 -0
- package/dist/node/simple/datalake/RestDataLakeViewer.d.ts.map +1 -0
- package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts +23 -0
- package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -0
- package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts +17 -0
- package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -0
- package/dist/node/simple/datalake/index.d.ts +5 -0
- package/dist/node/simple/datalake/index.d.ts.map +1 -0
- package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts +30 -0
- package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -0
- package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts +75 -0
- package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -0
- package/dist/node/simple/finalization/index.d.ts +3 -0
- package/dist/node/simple/finalization/index.d.ts.map +1 -0
- package/dist/node/simple/gateway/SimpleXyoGateway.d.ts +17 -0
- package/dist/node/simple/gateway/SimpleXyoGateway.d.ts.map +1 -0
- package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts +29 -0
- package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -0
- package/dist/node/simple/gateway/index.d.ts +3 -0
- package/dist/node/simple/gateway/index.d.ts.map +1 -0
- package/dist/node/simple/index.d.ts +24 -0
- package/dist/node/simple/index.d.ts.map +1 -0
- package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts +84 -0
- package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -0
- package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts +82 -0
- package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -0
- package/dist/node/simple/mempool/index.d.ts +3 -0
- package/dist/node/simple/mempool/index.d.ts.map +1 -0
- package/dist/node/simple/network/SimpleXyoNetwork.d.ts +12 -0
- package/dist/node/simple/network/SimpleXyoNetwork.d.ts.map +1 -0
- package/dist/node/simple/network/index.d.ts +2 -0
- package/dist/node/simple/network/index.d.ts.map +1 -0
- package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts +6 -0
- package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts.map +1 -0
- package/dist/node/simple/network/lib/StatusNetworks.d.ts +15 -0
- package/dist/node/simple/network/lib/StatusNetworks.d.ts.map +1 -0
- package/dist/node/simple/network/lib/index.d.ts +3 -0
- package/dist/node/simple/network/lib/index.d.ts.map +1 -0
- package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts +17 -0
- package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts.map +1 -0
- package/dist/node/simple/permissions/index.d.ts +3 -0
- package/dist/node/simple/permissions/index.d.ts.map +1 -0
- package/dist/node/simple/permissions/store/MemoryPermissions.d.ts +16 -0
- package/dist/node/simple/permissions/store/MemoryPermissions.d.ts.map +1 -0
- package/dist/node/simple/permissions/store/PermissionsStore.d.ts +14 -0
- package/dist/node/simple/permissions/store/PermissionsStore.d.ts.map +1 -0
- package/dist/node/simple/permissions/store/index.d.ts +3 -0
- package/dist/node/simple/permissions/store/index.d.ts.map +1 -0
- package/dist/node/simple/runner/SimpleXyoRunner.d.ts +21 -0
- package/dist/node/simple/runner/SimpleXyoRunner.d.ts.map +1 -0
- package/dist/node/simple/runner/index.d.ts +2 -0
- package/dist/node/simple/runner/index.d.ts.map +1 -0
- package/dist/node/simple/signer/SimpleXyoSigner.d.ts +31 -0
- package/dist/node/simple/signer/SimpleXyoSigner.d.ts.map +1 -0
- package/dist/node/simple/signer/index.d.ts +2 -0
- package/dist/node/simple/signer/index.d.ts.map +1 -0
- package/dist/node/simple/sync/RestSyncViewer.d.ts +22 -0
- package/dist/node/simple/sync/RestSyncViewer.d.ts.map +1 -0
- package/dist/node/simple/sync/index.d.ts +2 -0
- package/dist/node/simple/sync/index.d.ts.map +1 -0
- package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts +27 -0
- package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts.map +1 -0
- package/dist/node/simple/systemStatus/index.d.ts +2 -0
- package/dist/node/simple/systemStatus/index.d.ts.map +1 -0
- package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts +27 -0
- package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -0
- package/dist/node/simple/timeSync2/index.d.ts +2 -0
- package/dist/node/simple/timeSync2/index.d.ts.map +1 -0
- package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +35 -0
- package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts.map +1 -0
- package/dist/node/simple/transactionInvalidation/index.d.ts +2 -0
- package/dist/node/simple/transactionInvalidation/index.d.ts.map +1 -0
- package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +34 -0
- package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts.map +1 -0
- package/dist/node/simple/transactionValidation/index.d.ts +2 -0
- package/dist/node/simple/transactionValidation/index.d.ts.map +1 -0
- package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts +242 -0
- package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts.map +1 -0
- package/dist/node/simple/windowedBlock/index.d.ts +2 -0
- package/dist/node/simple/windowedBlock/index.d.ts.map +1 -0
- package/dist/node/status/ServiceStatus.d.ts +9 -0
- package/dist/node/status/ServiceStatus.d.ts.map +1 -0
- package/dist/node/status/SimpleSystemStatusRunner.d.ts +35 -0
- package/dist/node/status/SimpleSystemStatusRunner.d.ts.map +1 -0
- package/dist/node/status/index.d.ts +3 -0
- package/dist/node/status/index.d.ts.map +1 -0
- package/dist/node/summary/index.d.ts +3 -0
- package/dist/node/summary/index.d.ts.map +1 -0
- package/dist/node/summary/model/BalancesStepSummary.d.ts +26 -0
- package/dist/node/summary/model/BalancesStepSummary.d.ts.map +1 -0
- package/dist/node/summary/model/SchemasStepSummary.d.ts +25 -0
- package/dist/node/summary/model/SchemasStepSummary.d.ts.map +1 -0
- package/dist/node/summary/model/TransfersSummary.d.ts +26 -0
- package/dist/node/summary/model/TransfersSummary.d.ts.map +1 -0
- package/dist/node/summary/model/index.d.ts +4 -0
- package/dist/node/summary/model/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts +9 -0
- package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts +6 -0
- package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/balancesSummary.d.ts +7 -0
- package/dist/node/summary/primitives/balances/balancesSummary.d.ts.map +1 -0
- package/dist/node/summary/primitives/balances/index.d.ts +4 -0
- package/dist/node/summary/primitives/balances/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts +13 -0
- package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts +12 -0
- package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/blocks/index.d.ts +3 -0
- package/dist/node/summary/primitives/blocks/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/index.d.ts +5 -0
- package/dist/node/summary/primitives/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/index.d.ts +4 -0
- package/dist/node/summary/primitives/schemas/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts +8 -0
- package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts +7 -0
- package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/schemas/schemasSummary.d.ts +7 -0
- package/dist/node/summary/primitives/schemas/schemasSummary.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/index.d.ts +4 -0
- package/dist/node/summary/primitives/transfers/index.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts +10 -0
- package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts +9 -0
- package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts.map +1 -0
- package/dist/node/summary/primitives/transfers/transfersSummary.d.ts +7 -0
- package/dist/node/summary/primitives/transfers/transfersSummary.d.ts.map +1 -0
- package/dist/node/test/BuildBlockOptions.d.ts +33 -0
- package/dist/node/test/BuildBlockOptions.d.ts.map +1 -0
- package/dist/node/test/buildBlock.d.ts +5 -0
- package/dist/node/test/buildBlock.d.ts.map +1 -0
- package/dist/node/test/buildGenesisBlock.d.ts +9 -0
- package/dist/node/test/buildGenesisBlock.d.ts.map +1 -0
- package/dist/node/test/buildNextBlock.d.ts +6 -0
- package/dist/node/test/buildNextBlock.d.ts.map +1 -0
- package/dist/node/test/buildRandomChain.d.ts +20 -0
- package/dist/node/test/buildRandomChain.d.ts.map +1 -0
- package/dist/node/test/buildRandomGenesisBlock.d.ts +13 -0
- package/dist/node/test/buildRandomGenesisBlock.d.ts.map +1 -0
- package/dist/node/test/buildRandomTransaction.d.ts +5 -0
- package/dist/node/test/buildRandomTransaction.d.ts.map +1 -0
- package/dist/node/test/createGenesisBlock.d.ts +5 -0
- package/dist/node/test/createGenesisBlock.d.ts.map +1 -0
- package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts +16 -0
- package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -0
- package/dist/node/test/getSimpleBlockViewerLocator.d.ts +15 -0
- package/dist/node/test/getSimpleBlockViewerLocator.d.ts.map +1 -0
- package/dist/node/test/getTestProviderContext.d.ts +5 -0
- package/dist/node/test/getTestProviderContext.d.ts.map +1 -0
- package/dist/node/test/index.d.ts +5 -0
- package/dist/node/test/index.d.ts.map +1 -0
- package/dist/node/time/index.d.ts +2 -0
- package/dist/node/time/index.d.ts.map +1 -0
- package/dist/node/time/primitives/index.d.ts +2 -0
- package/dist/node/time/primitives/index.d.ts.map +1 -0
- package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts +4 -0
- package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts.map +1 -0
- package/dist/node/transaction/TransactionBuilder.d.ts +110 -0
- package/dist/node/transaction/TransactionBuilder.d.ts.map +1 -0
- package/dist/node/transaction/buildTransaction.d.ts +5 -0
- package/dist/node/transaction/buildTransaction.d.ts.map +1 -0
- package/dist/node/transaction/buildUnsignedTransaction.d.ts +5 -0
- package/dist/node/transaction/buildUnsignedTransaction.d.ts.map +1 -0
- package/dist/node/transaction/confirmSubmittedTransaction.d.ts +11 -0
- package/dist/node/transaction/confirmSubmittedTransaction.d.ts.map +1 -0
- package/dist/node/transaction/hydrateTransaction.d.ts +21 -0
- package/dist/node/transaction/hydrateTransaction.d.ts.map +1 -0
- package/dist/node/transaction/index.d.ts +8 -0
- package/dist/node/transaction/index.d.ts.map +1 -0
- package/dist/node/transaction/primitives/index.d.ts +5 -0
- package/dist/node/transaction/primitives/index.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts +4 -0
- package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts +8 -0
- package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionOperations.d.ts +5 -0
- package/dist/node/transaction/primitives/transactionOperations.d.ts.map +1 -0
- package/dist/node/transaction/primitives/transactionRequiredGas.d.ts +7 -0
- package/dist/node/transaction/primitives/transactionRequiredGas.d.ts.map +1 -0
- package/dist/node/transaction/script.d.ts +2 -0
- package/dist/node/transaction/script.d.ts.map +1 -0
- package/dist/node/transaction/signTransaction.d.ts +19 -0
- package/dist/node/transaction/signTransaction.d.ts.map +1 -0
- package/dist/node/utils/HydratedCache.d.ts +15 -0
- package/dist/node/utils/HydratedCache.d.ts.map +1 -0
- package/dist/node/utils/index.d.ts +3 -0
- package/dist/node/utils/index.d.ts.map +1 -0
- package/dist/node/utils/isZodError.d.ts +6 -0
- package/dist/node/utils/isZodError.d.ts.map +1 -0
- package/dist/node/validation/index.d.ts +3 -0
- package/dist/node/validation/index.d.ts.map +1 -0
- package/dist/node/validation/lib/getUrl.d.ts +3 -0
- package/dist/node/validation/lib/getUrl.d.ts.map +1 -0
- package/dist/node/validation/lib/index.d.ts +3 -0
- package/dist/node/validation/lib/index.d.ts.map +1 -0
- package/dist/node/validation/lib/isLocalhost.d.ts +3 -0
- package/dist/node/validation/lib/isLocalhost.d.ts.map +1 -0
- package/dist/node/validation/schema/Address.d.ts +3 -0
- package/dist/node/validation/schema/Address.d.ts.map +1 -0
- package/dist/node/validation/schema/Mnemonic.d.ts +14 -0
- package/dist/node/validation/schema/Mnemonic.d.ts.map +1 -0
- package/dist/node/validation/schema/index.d.ts +3 -0
- package/dist/node/validation/schema/index.d.ts.map +1 -0
- package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts +7 -0
- package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts.map +1 -0
- package/dist/node/wallet/index.d.ts +3 -0
- package/dist/node/wallet/index.d.ts.map +1 -0
- package/dist/node/wallet/paths.d.ts +24 -0
- package/dist/node/wallet/paths.d.ts.map +1 -0
- package/package.json +15 -13
- package/dist/neutral/getFileConfig.mjs +0 -357
- package/dist/neutral/getFileConfig.mjs.map +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTestProviderContext.d.ts","sourceRoot":"","sources":["../../../../src/_internal/context/getTestProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAGpE,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB,CAO/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_internal/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_internal/index.ts"],"names":[],"mappings":"AACA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ShiftedBigIntConfig } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
/** Represents a bigint with a fixed decimal point shift, supporting locale-aware string formatting */
|
|
3
|
+
export declare class ShiftedBigInt {
|
|
4
|
+
static readonly defaultConfig: ShiftedBigIntConfig;
|
|
5
|
+
config: ShiftedBigIntConfig;
|
|
6
|
+
value: bigint;
|
|
7
|
+
constructor(value: bigint | ShiftedBigInt, config?: Partial<ShiftedBigIntConfig>);
|
|
8
|
+
get locale(): Intl.LocalesArgument;
|
|
9
|
+
get maxCharacters(): number;
|
|
10
|
+
get maxDecimal(): number;
|
|
11
|
+
get minDecimals(): number;
|
|
12
|
+
get places(): number;
|
|
13
|
+
toFullString(): string;
|
|
14
|
+
toShortString(): string;
|
|
15
|
+
toString(): string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=ShiftedBigInt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftedBigInt.d.ts","sourceRoot":"","sources":["../../../src/amount/ShiftedBigInt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AAIxE,sGAAsG;AACtG,qBAAa,aAAa;IACxB,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,mBAAmB,CAMjD;IAED,MAAM,EAAE,mBAAmB,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;gBAGX,KAAK,EAAE,MAAM,GAAG,aAAa,EAC7B,MAAM,GAAE,OAAO,CAAC,mBAAmB,CAAM;IAQ3C,IAAI,MAAM,IAAI,IAAI,CAAC,eAAe,CAEjC;IAED,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,YAAY,IAAI,MAAM;IAWtB,aAAa,IAAI,MAAM;IAWvB,QAAQ,IAAI,MAAM;CAGnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/amount/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitOnDecimal.d.ts","sourceRoot":"","sources":["../../../src/amount/splitOnDecimal.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,EAAE,eAAW,KAAG,CAAC,MAAM,EAAE,MAAM,CAI1E,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Formats a bigint as a locale-aware decimal string with configurable precision and character limits */
|
|
2
|
+
export declare const splitOnDecimalToString: (value: bigint, places?: number, maxDecimal?: number, maxCharacters?: number, minDecimals?: number, locale?: Intl.LocalesArgument) => string;
|
|
3
|
+
//# sourceMappingURL=splitOnDecimalToString.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitOnDecimalToString.d.ts","sourceRoot":"","sources":["../../../src/amount/splitOnDecimalToString.ts"],"names":[],"mappings":"AAEA,yGAAyG;AACzG,eAAO,MAAM,sBAAsB,GACjC,OAAO,MAAM,EACb,eAAW,EACX,mBAAmB,EACnB,sBAAiB,EACjB,oBAAe,EACf,SAAQ,IAAI,CAAC,eAAyB,KACrC,MA+BF,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ShiftedBigIntConfig, XL1AmountInstance } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
import { AttoXL1, FemtoXL1, MicroXL1, MilliXL1, NanoXL1, PicoXL1, XL1 } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
/** Represents an XL1 token amount stored in AttoXL1, with conversions to milli, micro, nano, pico, femto, and atto denominations */
|
|
4
|
+
export declare class XL1Amount implements XL1AmountInstance {
|
|
5
|
+
value: AttoXL1;
|
|
6
|
+
private locale;
|
|
7
|
+
constructor(value: bigint, locale?: Intl.LocalesArgument);
|
|
8
|
+
static from(value: bigint, places?: bigint): XL1Amount;
|
|
9
|
+
static fromMilli(value: MilliXL1): XL1Amount;
|
|
10
|
+
static fromMicro(value: MicroXL1): XL1Amount;
|
|
11
|
+
static fromNano(value: NanoXL1): XL1Amount;
|
|
12
|
+
static fromPico(value: PicoXL1): XL1Amount;
|
|
13
|
+
static fromFemto(value: FemtoXL1): XL1Amount;
|
|
14
|
+
static fromAtto(value: AttoXL1): XL1Amount;
|
|
15
|
+
static fromXL1(value: XL1): XL1Amount;
|
|
16
|
+
to(places?: number | bigint): bigint;
|
|
17
|
+
get milli(): MilliXL1;
|
|
18
|
+
get micro(): MicroXL1;
|
|
19
|
+
get nano(): NanoXL1;
|
|
20
|
+
get pico(): PicoXL1;
|
|
21
|
+
get femto(): FemtoXL1;
|
|
22
|
+
get atto(): AttoXL1;
|
|
23
|
+
get xl1(): XL1;
|
|
24
|
+
toString(places?: number, config?: Partial<ShiftedBigIntConfig>): string;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=xl1Amount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xl1Amount.d.ts","sourceRoot":"","sources":["../../../src/amount/xl1Amount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AAC3F,OAAO,EACL,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAE7D,MAAM,+BAA+B,CAAA;AAOtC,oIAAoI;AACpI,qBAAa,SAAU,YAAW,iBAAiB;IACjD,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,MAAM,CAAsB;gBAExB,KAAK,EAAE,MAAM,EAAE,MAAM,GAAE,IAAI,CAAC,eAAyB;IAKjE,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,GAAE,MAAuB;IAK1D,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,QAAQ;IAIhC,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,QAAQ;IAIhC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO;IAI9B,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO;IAI9B,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,QAAQ;IAIhC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO;IAI9B,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG;IAIzB,EAAE,CAAC,MAAM,GAAE,MAAM,GAAG,MAAuB;IAI3C,IAAI,KAAK,aAER;IAED,IAAI,KAAK,aAER;IAED,IAAI,IAAI,YAEP;IAED,IAAI,IAAI,YAEP;IAED,IAAI,KAAK,aAER;IAED,IAAI,IAAI,YAEP;IAED,IAAI,GAAG,QAEN;IAED,QAAQ,CAAC,MAAM,SAAyB,EAAE,MAAM,GAAE,OAAO,CAAC,mBAAmB,CAAM,GAAG,MAAM;CAe7F"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { BoundWitness, Payload } from '@xyo-network/sdk-js';
|
|
3
|
+
import { LRUCache } from 'lru-cache';
|
|
4
|
+
import type { NamedDataLake, PayloadLocation } from '../../primitives/datalake/index.ts';
|
|
5
|
+
import { PayloadLocator } from '../../primitives/datalake/index.ts';
|
|
6
|
+
import type { HydrateFunction } from '../../utils/index.ts';
|
|
7
|
+
/** Valid recursion depths for BoundWitness hydration. */
|
|
8
|
+
export type HydrationDepth = 0 | 1 | 2;
|
|
9
|
+
/** A function that validates and narrows an unknown value into a typed BoundWitness or hydrated tuple. */
|
|
10
|
+
export type ZodAsserter<T> = (value: unknown, assert: true) => T;
|
|
11
|
+
/** Parameters for BoundWitnessHydrator. */
|
|
12
|
+
export interface BoundWitnessHydratorParams<TBw extends BoundWitness, THydrated> {
|
|
13
|
+
asBoundWitness: ZodAsserter<TBw>;
|
|
14
|
+
asHydrated: ZodAsserter<THydrated>;
|
|
15
|
+
cacheMax?: number;
|
|
16
|
+
cacheTtl?: number;
|
|
17
|
+
datalakes: readonly NamedDataLake[];
|
|
18
|
+
/** Predicate used at maxDepth >= 2 to identify payloads that are themselves BoundWitnesses to recurse into. Defaults to isBoundWitness. */
|
|
19
|
+
isNestedBoundWitness?: (payload: Payload) => payload is BoundWitness;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Hydrates a BoundWitness (and its referenced payloads) from one or more datalakes,
|
|
23
|
+
* tracking which datalake served each hash. Supports depth-2 recursion into nested BoundWitnesses.
|
|
24
|
+
*/
|
|
25
|
+
export declare class BoundWitnessHydrator<TBw extends BoundWitness, THydrated> {
|
|
26
|
+
protected readonly asBoundWitness: ZodAsserter<TBw>;
|
|
27
|
+
protected readonly asHydrated: ZodAsserter<THydrated>;
|
|
28
|
+
protected readonly isNestedBoundWitness: (payload: Payload) => payload is BoundWitness;
|
|
29
|
+
protected readonly locator: PayloadLocator;
|
|
30
|
+
protected readonly payloadCache: LRUCache<Hash, Payload>;
|
|
31
|
+
protected readonly sourceCache: LRUCache<Hash, string>;
|
|
32
|
+
/**
|
|
33
|
+
* @throws if `params.datalakes` is empty (propagated from PayloadLocator). Required at construction
|
|
34
|
+
* to fail fast on misconfig. The only zero-datalake hydrate calls that would succeed anyway are
|
|
35
|
+
* degenerate (maxDepth=0 or a BW with empty payload_hashes) — not load-bearing enough to justify
|
|
36
|
+
* loosening the guard. If lifecycle ordering ever requires construction before sources are wired,
|
|
37
|
+
* prefer adding an `addDatalake()` mutator over removing this assertion.
|
|
38
|
+
*/
|
|
39
|
+
constructor(params: BoundWitnessHydratorParams<TBw, THydrated>);
|
|
40
|
+
hydrate(input: Hash | TBw, maxDepth?: HydrationDepth, minDepth?: HydrationDepth): Promise<THydrated>;
|
|
41
|
+
/**
|
|
42
|
+
* Like hydrateWithProvenance, but queries every datalake for every hash and returns the full
|
|
43
|
+
* list of sources per hash. Bypasses the single-source LRU caches so that a prior first-found
|
|
44
|
+
* cache hit cannot suppress discovery of additional sources.
|
|
45
|
+
*/
|
|
46
|
+
hydrateWithAllProvenance(input: Hash | TBw, maxDepth?: HydrationDepth, minDepth?: HydrationDepth): Promise<[THydrated, Map<Hash, PayloadLocation[]>]>;
|
|
47
|
+
hydrateWithProvenance(input: Hash | TBw, maxDepth?: HydrationDepth, minDepth?: HydrationDepth): Promise<[THydrated, Map<Hash, string>]>;
|
|
48
|
+
/** Returns an adapter compatible with HydratedCache. The context arg is ignored. */
|
|
49
|
+
toHydrateFunction(): HydrateFunction<THydrated>;
|
|
50
|
+
tryHydrate(input: Hash | TBw, maxDepth?: HydrationDepth): Promise<THydrated | undefined>;
|
|
51
|
+
tryHydrateWithAllProvenance(input: Hash | TBw, maxDepth?: HydrationDepth): Promise<[THydrated, Map<Hash, PayloadLocation[]>] | undefined>;
|
|
52
|
+
tryHydrateWithProvenance(input: Hash | TBw, maxDepth?: HydrationDepth): Promise<[THydrated, Map<Hash, string>] | undefined>;
|
|
53
|
+
protected appendDirectPayloads(bw: TBw, sources: Map<Hash, string>, minDepth: HydrationDepth, orderedHashes: Set<Hash>, orderedPayloads: Payload[]): Promise<void>;
|
|
54
|
+
protected appendDirectPayloadsAll(bw: TBw, sources: Map<Hash, PayloadLocation[]>, minDepth: HydrationDepth, orderedHashes: Set<Hash>, orderedPayloads: Payload[]): Promise<void>;
|
|
55
|
+
protected appendNestedPayloads(sources: Map<Hash, string>, minDepth: HydrationDepth, orderedHashes: Set<Hash>, orderedPayloads: Payload[]): Promise<void>;
|
|
56
|
+
protected appendNestedPayloadsAll(sources: Map<Hash, PayloadLocation[]>, minDepth: HydrationDepth, orderedHashes: Set<Hash>, orderedPayloads: Payload[]): Promise<void>;
|
|
57
|
+
protected fetchByHash(hash: Hash, sources: Map<Hash, string>): Promise<Payload | undefined>;
|
|
58
|
+
protected fetchByHashes(hashes: Hash[], sources: Map<Hash, string>): Promise<Map<Hash, Payload>>;
|
|
59
|
+
/**
|
|
60
|
+
* Exhaustive variant: bypasses both LRU caches and queries every datalake. The picked payload
|
|
61
|
+
* (locations[0].payload) is the first in registration order; the DataLakeViewer's content-addressed
|
|
62
|
+
* fetch guarantees all entries for a given hash are equivalent.
|
|
63
|
+
*/
|
|
64
|
+
protected fetchByHashesAll(hashes: Hash[], sources: Map<Hash, PayloadLocation[]>): Promise<Map<Hash, Payload>>;
|
|
65
|
+
protected hydrateInternal(input: Hash | TBw, maxDepth: HydrationDepth, minDepth: HydrationDepth): Promise<[THydrated, Map<Hash, string>]>;
|
|
66
|
+
protected hydrateInternalAll(input: Hash | TBw, maxDepth: HydrationDepth, minDepth: HydrationDepth): Promise<[THydrated, Map<Hash, PayloadLocation[]>]>;
|
|
67
|
+
protected resolveBoundWitness(input: Hash | TBw, sources: Map<Hash, string>): Promise<TBw>;
|
|
68
|
+
protected resolveBoundWitnessAll(input: Hash | TBw, sources: Map<Hash, PayloadLocation[]>): Promise<TBw>;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=BoundWitnessHydrator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoundWitnessHydrator.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/BoundWitnessHydrator.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { Payload, WithHashMeta } from '@xyo-network/sdk-js';
|
|
3
|
+
/** AllHashesPresent helper function. */
|
|
4
|
+
export declare function allHashesPresent(hashes: Hash[], payloads: WithHashMeta<Payload>[]): boolean;
|
|
5
|
+
//# sourceMappingURL=allHashesPresent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allHashesPresent.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/allHashesPresent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEhE,wCAAwC;AACxC,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,GAAG,OAAO,CAG3F"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithStorageMeta } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { HydratedBlockWithStorageMeta } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
/** blockPayloadsFromHydratedBlock constant. */
|
|
4
|
+
export declare const blockPayloadsFromHydratedBlock: (block: HydratedBlockWithStorageMeta) => WithStorageMeta[];
|
|
5
|
+
//# sourceMappingURL=blockPayloadsFromHydratedBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPayloadsFromHydratedBlock.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/blockPayloadsFromHydratedBlock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAA;AAGjF,+CAA+C;AAC/C,eAAO,MAAM,8BAA8B,GAAI,OAAO,4BAA4B,KAAG,eAAe,EAKnG,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BlockBoundWitnessWithStorageMeta, HydratedBlockWithStorageMeta } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
import type { BoundWitnessHydratorParams } from './BoundWitnessHydrator.ts';
|
|
3
|
+
import { BoundWitnessHydrator } from './BoundWitnessHydrator.ts';
|
|
4
|
+
/** Construct a BoundWitnessHydrator preconfigured to hydrate BlockBoundWitnesses. */
|
|
5
|
+
export declare function createBlockHydrator(params: Omit<BoundWitnessHydratorParams<BlockBoundWitnessWithStorageMeta, HydratedBlockWithStorageMeta>, 'asBoundWitness' | 'asHydrated'>): BoundWitnessHydrator<BlockBoundWitnessWithStorageMeta, HydratedBlockWithStorageMeta>;
|
|
6
|
+
//# sourceMappingURL=createBlockHydrator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createBlockHydrator.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/createBlockHydrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAA;AAGnH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAEhE,qFAAqF;AACrF,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,IAAI,CACV,0BAA0B,CAAC,gCAAgC,EAAE,4BAA4B,CAAC,EAC1F,gBAAgB,GAAG,YAAY,CAChC,GACA,oBAAoB,CAAC,gCAAgC,EAAE,4BAA4B,CAAC,CAMtF"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { z } from 'zod/mini';
|
|
2
|
+
import type { BoundWitnessHydratorParams } from './BoundWitnessHydrator.ts';
|
|
3
|
+
import { BoundWitnessHydrator } from './BoundWitnessHydrator.ts';
|
|
4
|
+
/** A plain BoundWitness with storage meta attached. */
|
|
5
|
+
export declare const BoundWitnessWithStorageMetaZod: z.ZodMiniObject<{
|
|
6
|
+
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
7
|
+
readonly __schema: true;
|
|
8
|
+
}>;
|
|
9
|
+
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
10
|
+
readonly __hex: true;
|
|
11
|
+
} & {
|
|
12
|
+
readonly __address: true;
|
|
13
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
14
|
+
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
15
|
+
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>>;
|
|
16
|
+
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
17
|
+
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
18
|
+
readonly __hex: true;
|
|
19
|
+
} & {
|
|
20
|
+
readonly __address: true;
|
|
21
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
22
|
+
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
23
|
+
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
24
|
+
_hash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
25
|
+
_dataHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
26
|
+
_sequence: z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export type BoundWitnessWithStorageMeta = z.infer<typeof BoundWitnessWithStorageMetaZod>;
|
|
29
|
+
export declare const asBoundWitnessWithStorageMeta: {
|
|
30
|
+
<T>(value: T): (T & {
|
|
31
|
+
schema: "network.xyo.boundwitness" & {
|
|
32
|
+
readonly __schema: true;
|
|
33
|
+
};
|
|
34
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
35
|
+
readonly __hex: true;
|
|
36
|
+
} & {
|
|
37
|
+
readonly __address: true;
|
|
38
|
+
}))[];
|
|
39
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
40
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
41
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
42
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
43
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
44
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
45
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
46
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
47
|
+
readonly __hex: true;
|
|
48
|
+
} & {
|
|
49
|
+
readonly __address: true;
|
|
50
|
+
}) | undefined;
|
|
51
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
52
|
+
}) | undefined;
|
|
53
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
54
|
+
schema: "network.xyo.boundwitness" & {
|
|
55
|
+
readonly __schema: true;
|
|
56
|
+
};
|
|
57
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
58
|
+
readonly __hex: true;
|
|
59
|
+
} & {
|
|
60
|
+
readonly __address: true;
|
|
61
|
+
}))[];
|
|
62
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
63
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
64
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
65
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
66
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
67
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
68
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
69
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
70
|
+
readonly __hex: true;
|
|
71
|
+
} & {
|
|
72
|
+
readonly __address: true;
|
|
73
|
+
}) | undefined;
|
|
74
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
/** A hydrated plain BoundWitness tuple [bw, payloads] where bw and each payload have storage meta. */
|
|
78
|
+
export declare const HydratedBoundWitnessWithStorageMetaZod: z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
79
|
+
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
80
|
+
readonly __schema: true;
|
|
81
|
+
}>;
|
|
82
|
+
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
83
|
+
readonly __hex: true;
|
|
84
|
+
} & {
|
|
85
|
+
readonly __address: true;
|
|
86
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
87
|
+
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
88
|
+
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>>;
|
|
89
|
+
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
90
|
+
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
91
|
+
readonly __hex: true;
|
|
92
|
+
} & {
|
|
93
|
+
readonly __address: true;
|
|
94
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
95
|
+
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
96
|
+
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
97
|
+
_hash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
98
|
+
_dataHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
99
|
+
_sequence: z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
100
|
+
}, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
101
|
+
schema: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
102
|
+
_hash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
103
|
+
_dataHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
104
|
+
_sequence: z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
105
|
+
}, z.core.$loose>>], null>;
|
|
106
|
+
export type HydratedBoundWitnessWithStorageMeta = z.infer<typeof HydratedBoundWitnessWithStorageMetaZod>;
|
|
107
|
+
export declare const asHydratedBoundWitnessWithStorageMeta: {
|
|
108
|
+
<T>(value: T): (T & [{
|
|
109
|
+
schema: "network.xyo.boundwitness" & {
|
|
110
|
+
readonly __schema: true;
|
|
111
|
+
};
|
|
112
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
113
|
+
readonly __hex: true;
|
|
114
|
+
} & {
|
|
115
|
+
readonly __address: true;
|
|
116
|
+
}))[];
|
|
117
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
118
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
119
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
120
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
121
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
122
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
123
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
124
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
125
|
+
readonly __hex: true;
|
|
126
|
+
} & {
|
|
127
|
+
readonly __address: true;
|
|
128
|
+
}) | undefined;
|
|
129
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
[x: string]: unknown;
|
|
132
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
133
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
134
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
135
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
136
|
+
}[]]) | undefined;
|
|
137
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & [{
|
|
138
|
+
schema: "network.xyo.boundwitness" & {
|
|
139
|
+
readonly __schema: true;
|
|
140
|
+
};
|
|
141
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
142
|
+
readonly __hex: true;
|
|
143
|
+
} & {
|
|
144
|
+
readonly __address: true;
|
|
145
|
+
}))[];
|
|
146
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
147
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
148
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
149
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
150
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
151
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
152
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
153
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
154
|
+
readonly __hex: true;
|
|
155
|
+
} & {
|
|
156
|
+
readonly __address: true;
|
|
157
|
+
}) | undefined;
|
|
158
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
159
|
+
}, {
|
|
160
|
+
[x: string]: unknown;
|
|
161
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
162
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
163
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
164
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
165
|
+
}[]];
|
|
166
|
+
};
|
|
167
|
+
/** Construct a BoundWitnessHydrator that accepts plain BoundWitnesses (any subtype). */
|
|
168
|
+
export declare function createBoundWitnessHydrator(params: Omit<BoundWitnessHydratorParams<BoundWitnessWithStorageMeta, HydratedBoundWitnessWithStorageMeta>, 'asBoundWitness' | 'asHydrated'>): BoundWitnessHydrator<BoundWitnessWithStorageMeta, HydratedBoundWitnessWithStorageMeta>;
|
|
169
|
+
//# sourceMappingURL=createBoundWitnessHydrator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createBoundWitnessHydrator.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/createBoundWitnessHydrator.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAE5B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAEhE,uDAAuD;AACvD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;iBAAsC,CAAA;AACjF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACxF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgF,CAAA;AAE1H,sGAAsG;AACtG,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAGjD,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AACxG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjD,CAAA;AAED,wFAAwF;AACxF,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,IAAI,CACV,0BAA0B,CAAC,2BAA2B,EAAE,mCAAmC,CAAC,EAC5F,gBAAgB,GAAG,YAAY,CAChC,GACA,oBAAoB,CAAC,2BAA2B,EAAE,mCAAmC,CAAC,CAMxF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { HydratedTransactionWithStorageMeta, TransactionBoundWitnessWithStorageMeta } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
import type { BoundWitnessHydratorParams } from './BoundWitnessHydrator.ts';
|
|
3
|
+
import { BoundWitnessHydrator } from './BoundWitnessHydrator.ts';
|
|
4
|
+
/** Construct a BoundWitnessHydrator preconfigured to hydrate TransactionBoundWitnesses. */
|
|
5
|
+
export declare function createTransactionHydrator(params: Omit<BoundWitnessHydratorParams<TransactionBoundWitnessWithStorageMeta, HydratedTransactionWithStorageMeta>, 'asBoundWitness' | 'asHydrated'>): BoundWitnessHydrator<TransactionBoundWitnessWithStorageMeta, HydratedTransactionWithStorageMeta>;
|
|
6
|
+
//# sourceMappingURL=createTransactionHydrator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTransactionHydrator.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/createTransactionHydrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,sCAAsC,EAAE,MAAM,+BAA+B,CAAA;AAG/H,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAEhE,2FAA2F;AAC3F,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,IAAI,CACV,0BAA0B,CAAC,sCAAsC,EAAE,kCAAkC,CAAC,EACtG,gBAAgB,GAAG,YAAY,CAChC,GACA,oBAAoB,CAAC,sCAAsC,EAAE,kCAAkC,CAAC,CAMlG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Payload } from '@xyo-network/sdk-js';
|
|
2
|
+
import { type BlockBoundWitness } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
/** flattenHydratedBlock constant. */
|
|
4
|
+
export declare const flattenHydratedBlock: <B extends BlockBoundWitness, P extends Payload>(hydratedBlock: [B, P[]]) => (P | B)[];
|
|
5
|
+
/** tryUnflattenHydratedBlock constant. */
|
|
6
|
+
export declare const tryUnflattenHydratedBlock: <B extends BlockBoundWitness, P extends Payload>(flattened: (P | B)[]) => [B, P[]] | undefined;
|
|
7
|
+
/** unflattenHydratedBlock constant. */
|
|
8
|
+
export declare const unflattenHydratedBlock: <B extends BlockBoundWitness, P extends Payload>(flattened: (P | B)[]) => [B, P[]];
|
|
9
|
+
//# sourceMappingURL=flattenHydratedBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flattenHydratedBlock.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/flattenHydratedBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,KAAK,iBAAiB,EAAmB,MAAM,+BAA+B,CAAA;AAEvF,qCAAqC;AACrC,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,iBAAiB,EAAE,CAAC,SAAS,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAGrH,CAAA;AAED,0CAA0C;AAC1C,eAAO,MAAM,yBAAyB,GACpC,CAAC,SAAS,iBAAiB,EAC3B,CAAC,SAAS,OAAO,EACjB,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,KAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,SAQnC,CAAA;AAED,uCAAuC;AACvC,eAAO,MAAM,sBAAsB,GACjC,CAAC,SAAS,iBAAiB,EAC3B,CAAC,SAAS,OAAO,EACjB,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,KAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAA4E,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { HydratedBlock } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
/** flattenHydratedBlocks constant. */
|
|
3
|
+
export declare const flattenHydratedBlocks: <T extends HydratedBlock>(hydratedBlocks: T[]) => (T[0] | T[1][number])[];
|
|
4
|
+
//# sourceMappingURL=flattenHydratedBlocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flattenHydratedBlocks.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/flattenHydratedBlocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAIlE,sCAAsC;AACtC,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,aAAa,EAAE,gBAAgB,CAAC,EAAE,KAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAChD,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { BlockContextRead, HydratedBlockWithStorageMeta } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
/** hydrateBlock constant. */
|
|
4
|
+
export declare const hydrateBlock: (context: BlockContextRead, hash: Hash, maxDepth?: number, minDepth?: number) => Promise<HydratedBlockWithStorageMeta>;
|
|
5
|
+
//# sourceMappingURL=hydrateBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hydrateBlock.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/hydrateBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAA;AAKnG,6BAA6B;AAC7B,eAAO,MAAM,YAAY,GACvB,SAAS,gBAAgB,EACzB,MAAM,IAAI,EACV,iBAAY,EACZ,iBAAmB,KAClB,OAAO,CAAC,4BAA4B,CA+BtC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './allHashesPresent.ts';
|
|
2
|
+
export * from './blockPayloadsFromHydratedBlock.ts';
|
|
3
|
+
export * from './BoundWitnessHydrator.ts';
|
|
4
|
+
export * from './createBlockHydrator.ts';
|
|
5
|
+
export * from './createBoundWitnessHydrator.ts';
|
|
6
|
+
export * from './createTransactionHydrator.ts';
|
|
7
|
+
export * from './flattenHydratedBlock.ts';
|
|
8
|
+
export * from './flattenHydratedBlocks.ts';
|
|
9
|
+
export * from './hydrateBlock.ts';
|
|
10
|
+
export * from './transactionsFromHydratedBlock.ts';
|
|
11
|
+
export * from './tryHydrateBlock.ts';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qCAAqC,CAAA;AACnD,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,oCAAoC,CAAA;AAClD,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { HydratedBlock, TransactionBoundWitnessWithHashMeta } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
/** transactionsFromHydratedBlock constant. */
|
|
3
|
+
export declare const transactionsFromHydratedBlock: (block: HydratedBlock) => TransactionBoundWitnessWithHashMeta[];
|
|
4
|
+
//# sourceMappingURL=transactionsFromHydratedBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactionsFromHydratedBlock.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/transactionsFromHydratedBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAA;AAGvG,8CAA8C;AAC9C,eAAO,MAAM,6BAA6B,GAAI,OAAO,aAAa,KAAG,mCAAmC,EAEvG,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { ReadArchivist } from '@xyo-network/sdk-js';
|
|
3
|
+
import type { HydratedBlock } from '@xyo-network/xl1-protocol-lib';
|
|
4
|
+
/** tryHydrateBlock constant. */
|
|
5
|
+
export declare const tryHydrateBlock: (archivist: ReadArchivist, hash: Hash, maxDepth?: number) => Promise<HydratedBlock | undefined>;
|
|
6
|
+
//# sourceMappingURL=tryHydrateBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tryHydrateBlock.d.ts","sourceRoot":"","sources":["../../../../src/block/hydrate/tryHydrateBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAGlE,gCAAgC;AAChC,eAAO,MAAM,eAAe,GAC1B,WAAW,aAAa,EACxB,MAAM,IAAI,EACV,iBAAY,KACX,OAAO,CAAC,aAAa,GAAG,SAAS,CAenC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/block/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Signed, WithHashMeta } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { BlockBoundWitness, ChainContextRead, XL1BlockNumber } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
/** BlockFromBlockNumber helper function. */
|
|
4
|
+
export declare function blockFromBlockNumber(context: ChainContextRead, blockNumber: XL1BlockNumber): Promise<WithHashMeta<Signed<BlockBoundWitness>>>;
|
|
5
|
+
//# sourceMappingURL=blockFromBlockNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockFromBlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/block/primitives/blockFromBlockNumber.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,KAAK,EACV,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,EACpD,MAAM,+BAA+B,CAAA;AAOtC,4CAA4C;AAC5C,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,gBAAgB,EACzB,WAAW,EAAE,cAAc,GAC1B,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAiDlD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { XL1BlockRange } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
/** CalculateFramesFromRange helper function. */
|
|
3
|
+
export declare function calculateFramesFromRange(range: XL1BlockRange, step: number): [
|
|
4
|
+
XL1BlockRange[],
|
|
5
|
+
XL1BlockRange[]
|
|
6
|
+
];
|
|
7
|
+
//# sourceMappingURL=calculateFramesFromRange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calculateFramesFromRange.d.ts","sourceRoot":"","sources":["../../../../../src/block/primitives/frames/calculateFramesFromRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAGlE,gDAAgD;AAChD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG;IAE5E,aAAa,EAAE;IAEf,aAAa,EAAE;CAAC,CAqBjB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { XL1BlockRange } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
/**
|
|
3
|
+
* DeepCalculateFramesFromRange helper function.
|
|
4
|
+
*
|
|
5
|
+
* `startingStep` is the largest step (frame size) the decomposition may use. It is not capped
|
|
6
|
+
* here beyond the structural maximum (`StepSizes.length - 1`); callers are expected to pass a cap
|
|
7
|
+
* appropriate to what they are summarizing (e.g. transfers cap lower than balances/schemas).
|
|
8
|
+
*/
|
|
9
|
+
export declare function deepCalculateFramesFromRange(range: XL1BlockRange, startingStep?: number): XL1BlockRange[];
|
|
10
|
+
//# sourceMappingURL=deepCalculateFramesFromRange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepCalculateFramesFromRange.d.ts","sourceRoot":"","sources":["../../../../../src/block/primitives/frames/deepCalculateFramesFromRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAKlE;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,aAAa,EAAE,YAAY,SAAuB,GAAG,aAAa,EAAE,CAuBvH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/block/primitives/frames/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { ChainContextRead, XL1BlockNumber } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
/** HashFromBlockNumber helper function. */
|
|
4
|
+
export declare function hashFromBlockNumber(context: ChainContextRead, blockNumber: XL1BlockNumber): Promise<Hash>;
|
|
5
|
+
//# sourceMappingURL=hashFromBlockNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hashFromBlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/block/primitives/hashFromBlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAIrF,2CAA2C;AAC3C,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAG/G"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './blockFromBlockNumber.ts';
|
|
2
|
+
export * from './frames/index.ts';
|
|
3
|
+
export * from './hashFromBlockNumber.ts';
|
|
4
|
+
export * from './model.ts';
|
|
5
|
+
export * from './payloads/index.ts';
|
|
6
|
+
export * from './toStepIdentityString.ts';
|
|
7
|
+
export * from './validateTransactionOpcodes.ts';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/block/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,YAAY,CAAA;AAC1B,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iCAAiC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReadArchivist, ReadWriteArchivist, WriteArchivist } from '@xyo-network/sdk-js';
|
|
2
|
+
/** Type guard that checks if a value is a valid ReadArchivist. */
|
|
3
|
+
export declare function isReadArchivist(value: unknown): value is ReadArchivist;
|
|
4
|
+
/** Type guard that checks if a value is a valid WriteArchivist. */
|
|
5
|
+
export declare function isWriteArchivist(value: unknown): value is WriteArchivist;
|
|
6
|
+
/** Type guard that checks if a value is a valid ReadWriteArchivist. */
|
|
7
|
+
export declare function isReadWriteArchivist(value: unknown): value is ReadWriteArchivist;
|
|
8
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/block/primitives/model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAAE,kBAAkB,EAAE,cAAc,EAClD,MAAM,qBAAqB,CAAA;AAE5B,kEAAkE;AAClE,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED,mEAAmE;AACnE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE;AAED,uEAAuE;AACvE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,kBAAkB,CAEhF"}
|