@xyo-network/xl1-protocol-sdk 4.0.3 → 4.0.5
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/capabilities/locatorFromConfig.d.ts +3 -3
- package/dist/neutral/capabilities/locatorFromConfig.d.ts.map +1 -1
- package/dist/neutral/config/LocatorConfigFields.d.ts +6 -0
- package/dist/neutral/config/LocatorConfigFields.d.ts.map +1 -1
- 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 -1
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +44 -57
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/neutral/test/index.mjs +1 -0
- package/dist/neutral/test/index.mjs.map +2 -2
- 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 +9031 -0
- package/dist/node/index-node.mjs.map +7 -0
- package/dist/node/index.d.ts +31 -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 -356
- package/dist/neutral/getFileConfig.mjs.map +0 -7
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { type Hash, type Promisable } from '@xylabs/sdk';
|
|
2
|
+
import type { Payload, WithHashMeta } from '@xyo-network/sdk-js';
|
|
3
|
+
import type { BlockViewer, ChainId, HydratedBlockWithHashMeta, SignedHydratedBlockWithHashMeta, WindowedBlockViewer, XL1BlockNumber } from '@xyo-network/xl1-protocol-lib';
|
|
4
|
+
import { AbstractCreatableProvider, type CreatableProviderParams } from '../../CreatableProvider/index.ts';
|
|
5
|
+
/** Parameters for SimpleWindowedBlockViewer. */
|
|
6
|
+
export interface SimpleWindowedBlockViewerParams extends CreatableProviderParams {
|
|
7
|
+
blockViewer?: BlockViewer;
|
|
8
|
+
maxWindowSize: number;
|
|
9
|
+
syncInterval: number;
|
|
10
|
+
}
|
|
11
|
+
/** SimpleWindowedBlockViewer implementation. */
|
|
12
|
+
export declare class SimpleWindowedBlockViewer extends AbstractCreatableProvider<SimpleWindowedBlockViewerParams> implements WindowedBlockViewer {
|
|
13
|
+
static readonly connectionTypes: readonly ["lmdb", "mongo", "memory", "rpc"];
|
|
14
|
+
static readonly defaultMoniker: "WindowedBlockViewer";
|
|
15
|
+
static readonly dependencies: "BlockViewer"[];
|
|
16
|
+
static readonly monikers: "WindowedBlockViewer"[];
|
|
17
|
+
static readonly surface: "node";
|
|
18
|
+
moniker: "WindowedBlockViewer";
|
|
19
|
+
private _blockHashMap;
|
|
20
|
+
private _blockNumberMap;
|
|
21
|
+
private _blockViewer;
|
|
22
|
+
private _chain;
|
|
23
|
+
private _syncMutex;
|
|
24
|
+
private _timerId;
|
|
25
|
+
private _transactionHashMap;
|
|
26
|
+
protected get maxWindowSize(): number;
|
|
27
|
+
protected get syncInterval(): number;
|
|
28
|
+
static paramsHandler(params?: Partial<SimpleWindowedBlockViewerParams>): Promise<SimpleWindowedBlockViewerParams>;
|
|
29
|
+
blockByHash(hash: Hash): [{
|
|
30
|
+
schema: "network.xyo.boundwitness" & {
|
|
31
|
+
readonly __schema: true;
|
|
32
|
+
};
|
|
33
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
34
|
+
readonly __hex: true;
|
|
35
|
+
} & {
|
|
36
|
+
readonly __address: true;
|
|
37
|
+
}))[];
|
|
38
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
39
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
40
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
41
|
+
$signatures: import("@xylabs/sdk").BrandedHex[];
|
|
42
|
+
block: XL1BlockNumber;
|
|
43
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
44
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
45
|
+
$epoch: number;
|
|
46
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
47
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
48
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
49
|
+
readonly __hex: true;
|
|
50
|
+
} & {
|
|
51
|
+
readonly __address: true;
|
|
52
|
+
}) | undefined;
|
|
53
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
54
|
+
protocol?: number | undefined;
|
|
55
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
59
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
60
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
61
|
+
}[]] | null;
|
|
62
|
+
blockByNumber(blockNumber: XL1BlockNumber): [{
|
|
63
|
+
schema: "network.xyo.boundwitness" & {
|
|
64
|
+
readonly __schema: true;
|
|
65
|
+
};
|
|
66
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
67
|
+
readonly __hex: true;
|
|
68
|
+
} & {
|
|
69
|
+
readonly __address: true;
|
|
70
|
+
}))[];
|
|
71
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
72
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
73
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
74
|
+
$signatures: import("@xylabs/sdk").BrandedHex[];
|
|
75
|
+
block: XL1BlockNumber;
|
|
76
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
77
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
78
|
+
$epoch: number;
|
|
79
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
80
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
81
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
82
|
+
readonly __hex: true;
|
|
83
|
+
} & {
|
|
84
|
+
readonly __address: true;
|
|
85
|
+
}) | undefined;
|
|
86
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
87
|
+
protocol?: number | undefined;
|
|
88
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
[x: string]: unknown;
|
|
91
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
92
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
93
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
94
|
+
}[]] | null;
|
|
95
|
+
blockByTransactionHash(hash: Hash): Promise<[{
|
|
96
|
+
$epoch: number;
|
|
97
|
+
block: XL1BlockNumber;
|
|
98
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
99
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
100
|
+
schema: "network.xyo.boundwitness" & {
|
|
101
|
+
readonly __schema: true;
|
|
102
|
+
};
|
|
103
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
104
|
+
readonly __hex: true;
|
|
105
|
+
} & {
|
|
106
|
+
readonly __address: true;
|
|
107
|
+
}))[];
|
|
108
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
109
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
110
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
111
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
112
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
113
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
114
|
+
protocol?: number | undefined;
|
|
115
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
116
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
117
|
+
readonly __hex: true;
|
|
118
|
+
} & {
|
|
119
|
+
readonly __address: true;
|
|
120
|
+
}) | undefined;
|
|
121
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
122
|
+
}, {
|
|
123
|
+
[x: string]: unknown;
|
|
124
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
125
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
126
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
127
|
+
}[]] | null>;
|
|
128
|
+
blocksByHash(hash: Hash, limit?: number): [{
|
|
129
|
+
schema: "network.xyo.boundwitness" & {
|
|
130
|
+
readonly __schema: true;
|
|
131
|
+
};
|
|
132
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
133
|
+
readonly __hex: true;
|
|
134
|
+
} & {
|
|
135
|
+
readonly __address: true;
|
|
136
|
+
}))[];
|
|
137
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
138
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
139
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
140
|
+
$signatures: import("@xylabs/sdk").BrandedHex[];
|
|
141
|
+
block: XL1BlockNumber;
|
|
142
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
143
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
144
|
+
$epoch: number;
|
|
145
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
146
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
147
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
148
|
+
readonly __hex: true;
|
|
149
|
+
} & {
|
|
150
|
+
readonly __address: true;
|
|
151
|
+
}) | undefined;
|
|
152
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
153
|
+
protocol?: number | undefined;
|
|
154
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
[x: string]: unknown;
|
|
157
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
158
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
159
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
160
|
+
}[]][];
|
|
161
|
+
blocksByNumber(blockNumber: XL1BlockNumber, limit?: number): [{
|
|
162
|
+
schema: "network.xyo.boundwitness" & {
|
|
163
|
+
readonly __schema: true;
|
|
164
|
+
};
|
|
165
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
166
|
+
readonly __hex: true;
|
|
167
|
+
} & {
|
|
168
|
+
readonly __address: true;
|
|
169
|
+
}))[];
|
|
170
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
171
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
172
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
173
|
+
$signatures: import("@xylabs/sdk").BrandedHex[];
|
|
174
|
+
block: XL1BlockNumber;
|
|
175
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
176
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
177
|
+
$epoch: number;
|
|
178
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
179
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
180
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
181
|
+
readonly __hex: true;
|
|
182
|
+
} & {
|
|
183
|
+
readonly __address: true;
|
|
184
|
+
}) | undefined;
|
|
185
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
186
|
+
protocol?: number | undefined;
|
|
187
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
[x: string]: unknown;
|
|
190
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
191
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
192
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
193
|
+
}[]][];
|
|
194
|
+
blocksByStep(stepLevel: number, stepIndex: number): [{
|
|
195
|
+
schema: "network.xyo.boundwitness" & {
|
|
196
|
+
readonly __schema: true;
|
|
197
|
+
};
|
|
198
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
199
|
+
readonly __hex: true;
|
|
200
|
+
} & {
|
|
201
|
+
readonly __address: true;
|
|
202
|
+
}))[];
|
|
203
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
204
|
+
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
205
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
206
|
+
$signatures: import("@xylabs/sdk").BrandedHex[];
|
|
207
|
+
block: XL1BlockNumber;
|
|
208
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
209
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
210
|
+
$epoch: number;
|
|
211
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
212
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
213
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
214
|
+
readonly __hex: true;
|
|
215
|
+
} & {
|
|
216
|
+
readonly __address: true;
|
|
217
|
+
}) | undefined;
|
|
218
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
219
|
+
protocol?: number | undefined;
|
|
220
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
221
|
+
}, {
|
|
222
|
+
[x: string]: unknown;
|
|
223
|
+
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
224
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
225
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
226
|
+
}[]][];
|
|
227
|
+
blocksByTransactionHashes(hashes: Hash[]): Promisable<HydratedBlockWithHashMeta[]>;
|
|
228
|
+
chainId(_blockNumber?: unknown): Promisable<ChainId>;
|
|
229
|
+
createHandler(): Promise<void>;
|
|
230
|
+
currentBlock(): Promisable<SignedHydratedBlockWithHashMeta>;
|
|
231
|
+
currentBlockHash(): Promisable<Hash>;
|
|
232
|
+
currentBlockNumber(): Promisable<XL1BlockNumber>;
|
|
233
|
+
payloadByHash(hash: Hash): Promise<WithHashMeta<Payload> | null>;
|
|
234
|
+
payloadsByHash(_hashes: Hash[]): Promisable<WithHashMeta<Payload>[]>;
|
|
235
|
+
startHandler(): Promise<void>;
|
|
236
|
+
stopHandler(): Promise<void>;
|
|
237
|
+
private addBlock;
|
|
238
|
+
private startPoll;
|
|
239
|
+
private stopPoll;
|
|
240
|
+
private sync;
|
|
241
|
+
}
|
|
242
|
+
//# sourceMappingURL=SimpleWindowedBlockViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleWindowedBlockViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/windowedBlock/SimpleWindowedBlockViewer.ts"],"names":[],"mappings":"AAAA,OAAO,EACa,KAAK,IAAI,EAAU,KAAK,UAAU,EACrD,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEhE,OAAO,KAAK,EACV,WAAW,EACX,OAAO,EAAE,yBAAyB,EAAE,+BAA+B,EAAW,mBAAmB,EAAE,cAAc,EAClH,MAAM,+BAA+B,CAAA;AAOtC,OAAO,EACL,yBAAyB,EAAqB,KAAK,uBAAuB,EAC3E,MAAM,kCAAkC,CAAA;AAEzC,gDAAgD;AAChD,MAAM,WAAW,+BAAgC,SAAQ,uBAAuB;IAC9E,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,gDAAgD;AAChD,qBACa,yBAA0B,SAAQ,yBAAyB,CAAC,+BAA+B,CAAE,YAAW,mBAAmB;IACtI,MAAM,CAAC,QAAQ,CAAC,eAAe,8CAA8C;IAC7E,MAAM,CAAC,QAAQ,CAAC,cAAc,wBAA6B;IAC3D,MAAM,CAAC,QAAQ,CAAC,YAAY,kBAAuB;IACnD,MAAM,CAAC,QAAQ,CAAC,QAAQ,0BAA+B;IACvD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,wBAA6B;IAEpC,OAAO,CAAC,aAAa,CAAiD;IACtE,OAAO,CAAC,eAAe,CAA2D;IAElF,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,MAAM,CAAwC;IACtD,OAAO,CAAC,UAAU,CAAc;IAChC,OAAO,CAAC,QAAQ,CAA8C;IAC9D,OAAO,CAAC,mBAAmB,CAAiD;IAE5E,SAAS,KAAK,aAAa,WAE1B;IAED,SAAS,KAAK,YAAY,WAEzB;WAEqB,aAAa,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,+BAA+B,CAAC,GAAG,OAAO,CAAC,+BAA+B,CAAC;IAQhI,WAAW,CAAC,IAAI,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAItB,aAAa,CAAC,WAAW,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAInC,sBAAsB,CAAC,IAAI,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKvC,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWvC,cAAc,CAAC,WAAW,EAAE,cAAc,EAAE,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAW1D,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYjD,yBAAyB,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,yBAAyB,EAAE,CAAC;IAIlF,OAAO,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IAIrC,aAAa;IAY5B,YAAY,IAAI,UAAU,CAAC,+BAA+B,CAAC;IAI3D,gBAAgB,IAAI,UAAU,CAAC,IAAI,CAAC;IAIpC,kBAAkB,IAAI,UAAU,CAAC,cAAc,CAAC;IAI1C,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAKtE,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;IAIrD,YAAY;IAOZ,WAAW;IAK1B,OAAO,CAAC,QAAQ;IAwBhB,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,QAAQ;YAOF,IAAI;CAsBnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/windowedBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CreatableName, CreatableStatus, CreatableStatusReporter, Logger } from '@xylabs/sdk';
|
|
2
|
+
/** Status reporter that logs status changes and tracks service status counts */
|
|
3
|
+
export declare class LoggerStatusReporter implements CreatableStatusReporter {
|
|
4
|
+
protected logger: Logger;
|
|
5
|
+
protected statusMap: Record<CreatableName, CreatableStatus>;
|
|
6
|
+
constructor(logger: Logger);
|
|
7
|
+
report(name: CreatableName, status: CreatableStatus, progress?: number | Error): void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ServiceStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceStatus.d.ts","sourceRoot":"","sources":["../../../src/status/ServiceStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,EAChE,MAAM,aAAa,CAAA;AAEpB,gFAAgF;AAChF,qBAAa,oBAAqB,YAAW,uBAAuB;IAClE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAA;IAExB,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,aAAa,EAAE,eAAe,CAAC,CAAK;gBAEpD,MAAM,EAAE,MAAM;IAI1B,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;CAMtF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CreatableName, CreatableStatus } from '@xylabs/sdk';
|
|
2
|
+
import type { SystemReadyState, SystemStatusGlobalTransitionMatch, SystemStatusRunner, SystemStatusSnapshot, SystemStatusTransitionListener, SystemStatusTransitionMatch } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
import { LoggerStatusReporter } from './ServiceStatus.ts';
|
|
4
|
+
/**
|
|
5
|
+
* The process-wide status hub. Replaces the former `RuntimeStatusMonitor`:
|
|
6
|
+
* it collects lifecycle reports (`report`) and readiness reports
|
|
7
|
+
* (`reportReady`) from every actor/provider, computes the global status,
|
|
8
|
+
* fires transition callbacks, and answers readiness / snapshot queries.
|
|
9
|
+
*
|
|
10
|
+
* It is a plain class (not a `CreatableProvider`) because it must be
|
|
11
|
+
* constructed before the provider locator exists — it is wired into the
|
|
12
|
+
* context as `statusReporter` so `AbstractCreatable` can report into it.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SimpleSystemStatusRunner extends LoggerStatusReporter implements SystemStatusRunner {
|
|
15
|
+
readonly moniker: "SystemStatusRunner";
|
|
16
|
+
private globalTransitions;
|
|
17
|
+
private progressMap;
|
|
18
|
+
private readinessMap;
|
|
19
|
+
private reportErrorMap;
|
|
20
|
+
private shuttingDown;
|
|
21
|
+
private transitions;
|
|
22
|
+
private updatedAtMap;
|
|
23
|
+
getGlobalStatus(): CreatableStatus;
|
|
24
|
+
getStatus(name: CreatableName): CreatableStatus | undefined;
|
|
25
|
+
isReady(): boolean;
|
|
26
|
+
isShuttingDown(): boolean;
|
|
27
|
+
onGlobalTransition(match: SystemStatusGlobalTransitionMatch, handler: SystemStatusTransitionListener): void;
|
|
28
|
+
onTransition(match: SystemStatusTransitionMatch, handler: SystemStatusTransitionListener): void;
|
|
29
|
+
report(name: CreatableName, status: CreatableStatus, progress?: Error | number): void;
|
|
30
|
+
reportReady(name: CreatableName, readiness: SystemReadyState, error?: Error | string): void;
|
|
31
|
+
setShuttingDown(shuttingDown: boolean): void;
|
|
32
|
+
snapshot(): SystemStatusSnapshot;
|
|
33
|
+
private runTransitions;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=SimpleSystemStatusRunner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleSystemStatusRunner.d.ts","sourceRoot":"","sources":["../../../src/status/SimpleSystemStatusRunner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACjE,OAAO,KAAK,EACV,gBAAgB,EAChB,iCAAiC,EAEjC,kBAAkB,EAClB,oBAAoB,EACpB,8BAA8B,EAC9B,2BAA2B,EAC5B,MAAM,+BAA+B,CAAA;AAKtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AA2DzD;;;;;;;;;GASG;AACH,qBAAa,wBAAyB,SAAQ,oBAAqB,YAAW,kBAAkB;IAC9F,QAAQ,CAAC,OAAO,uBAA4B;IAE5C,OAAO,CAAC,iBAAiB,CAA8B;IACvD,OAAO,CAAC,WAAW,CAAyC;IAC5D,OAAO,CAAC,YAAY,CAAiD;IACrE,OAAO,CAAC,cAAc,CAAyC;IAC/D,OAAO,CAAC,YAAY,CAAQ;IAC5B,OAAO,CAAC,WAAW,CAAwB;IAC3C,OAAO,CAAC,YAAY,CAA6B;IAEjD,eAAe,IAAI,eAAe;IAQlC,SAAS,CAAC,IAAI,EAAE,aAAa,GAAG,eAAe,GAAG,SAAS;IAI3D,OAAO,IAAI,OAAO;IAOlB,cAAc,IAAI,OAAO;IAIzB,kBAAkB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,EAAE,8BAA8B,GAAG,IAAI;IAI3G,YAAY,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,EAAE,8BAA8B,GAAG,IAAI;IAItF,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI;IAoB9F,WAAW,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI;IAM3F,eAAe,CAAC,YAAY,EAAE,OAAO,GAAG,IAAI;IAI5C,QAAQ,IAAI,oBAAoB;IAoBhC,OAAO,CAAC,cAAc;CAgBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/status/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/summary/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { WithStorageMeta, XyoAddress } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { StepSummary } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
import type { SignedBigInt } from '../../SignedBigInt.ts';
|
|
4
|
+
/** Schema identifier for balances step summary payloads */
|
|
5
|
+
export declare const BalancesStepSummarySchema: "network.xyo.step.summary.balances" & {
|
|
6
|
+
readonly __schema: true;
|
|
7
|
+
};
|
|
8
|
+
/** Schema type for BalancesStepSummary payloads. */
|
|
9
|
+
export type BalancesStepSummarySchema = typeof BalancesStepSummarySchema;
|
|
10
|
+
/** Step summary payload containing net balance changes per address */
|
|
11
|
+
export type BalancesStepSummary = StepSummary<{
|
|
12
|
+
balances: Record<XyoAddress, SignedBigInt>;
|
|
13
|
+
}, BalancesStepSummarySchema>;
|
|
14
|
+
/**
|
|
15
|
+
* Identity function for determining if an object is an BalancesStepSummary
|
|
16
|
+
*/
|
|
17
|
+
export declare const isBalancesStepSummary: (x?: unknown) => x is BalancesStepSummary;
|
|
18
|
+
/** Type assertion factory for BalancesStepSummary payloads */
|
|
19
|
+
export declare const asBalancesStepSummary: import("@xylabs/sdk").AsTypeFunction<BalancesStepSummary>;
|
|
20
|
+
/**
|
|
21
|
+
* Identity function for determining if an object is an BalancesStepSummary with Storage Meta
|
|
22
|
+
*/
|
|
23
|
+
export declare const isBalancesStepSummaryWithStorageMeta: (value: unknown) => value is WithStorageMeta<BalancesStepSummary>;
|
|
24
|
+
/** Type assertion factory for BalancesStepSummary with storage metadata */
|
|
25
|
+
export declare const asBalancesStepSummaryWithStorageMeta: import("@xylabs/sdk").AsTypeFunction<WithStorageMeta<BalancesStepSummary>>;
|
|
26
|
+
//# sourceMappingURL=BalancesStepSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalancesStepSummary.d.ts","sourceRoot":"","sources":["../../../../src/summary/model/BalancesStepSummary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAItE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,2DAA2D;AAC3D,eAAO,MAAM,yBAAyB;;CAAsD,CAAA;AAC5F,oDAAoD;AACpD,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAA;AAExE,sEAAsE;AACtE,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE,YAAY,CAAC,CAAA;CAC3C,EAAE,yBAAyB,CAAC,CAAA;AAE7B;;GAEG;AACH,eAAO,MAAM,qBAAqB,2CAAwE,CAAA;AAC1G,8DAA8D;AAC9D,eAAO,MAAM,qBAAqB,2DAAqE,CAAA;AAEvG;;GAEG;AACH,eAAO,MAAM,oCAAoC,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eAAe,CAAC,mBAAmB,CAEjH,CAAA;AACD,2EAA2E;AAC3E,eAAO,MAAM,oCAAoC,4EAAqG,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Schema, WithStorageMeta } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { StepSummary } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
/** Schema identifier for schemas step summary payloads */
|
|
4
|
+
export declare const SchemasStepSummarySchema: "network.xyo.step.summary.schemas" & {
|
|
5
|
+
readonly __schema: true;
|
|
6
|
+
};
|
|
7
|
+
/** Schema type for sStepSummary payloads. */
|
|
8
|
+
export type SchemasStepSummarySchema = typeof SchemasStepSummarySchema;
|
|
9
|
+
/** Step summary payload containing schema occurrence counts */
|
|
10
|
+
export type SchemasStepSummary = StepSummary<{
|
|
11
|
+
schemas: Record<Schema, number>;
|
|
12
|
+
}, SchemasStepSummarySchema>;
|
|
13
|
+
/**
|
|
14
|
+
* Identity function for determining if an object is an SchemasStepSummary
|
|
15
|
+
*/
|
|
16
|
+
export declare const isSchemasStepSummary: (x?: unknown) => x is SchemasStepSummary;
|
|
17
|
+
/** Type assertion factory for SchemasStepSummary payloads */
|
|
18
|
+
export declare const asSchemasStepSummary: import("@xylabs/sdk").AsTypeFunction<SchemasStepSummary>;
|
|
19
|
+
/**
|
|
20
|
+
* Identity function for determining if an object is an SchemasStepSummary with Storage Meta
|
|
21
|
+
*/
|
|
22
|
+
export declare const isSchemasStepSummaryWithStorageMeta: (value: unknown) => value is WithStorageMeta<SchemasStepSummary>;
|
|
23
|
+
/** Type assertion factory for SchemasStepSummary with storage metadata */
|
|
24
|
+
export declare const asSchemasStepSummaryWithStorageMeta: import("@xylabs/sdk").AsTypeFunction<WithStorageMeta<SchemasStepSummary>>;
|
|
25
|
+
//# sourceMappingURL=SchemasStepSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemasStepSummary.d.ts","sourceRoot":"","sources":["../../../../src/summary/model/SchemasStepSummary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAIlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEhE,0DAA0D;AAC1D,eAAO,MAAM,wBAAwB;;CAAqD,CAAA;AAC1F,6CAA6C;AAC7C,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,+DAA+D;AAC/D,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAChC,EAAE,wBAAwB,CAAC,CAAA;AAE5B;;GAEG;AACH,eAAO,MAAM,oBAAoB,0CAAsE,CAAA;AACvG,6DAA6D;AAC7D,eAAO,MAAM,oBAAoB,0DAAmE,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,mCAAmC,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eAAe,CAAC,kBAAkB,CAE/G,CAAA;AACD,0EAA0E;AAC1E,eAAO,MAAM,mCAAmC,2EAAmG,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { WithStorageMeta, XyoAddress } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { StepSummary } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
import type { SignedBigInt } from '../../SignedBigInt.ts';
|
|
4
|
+
/** Schema identifier for transfers step summary payloads */
|
|
5
|
+
export declare const TransfersStepSummarySchema: "network.xyo.step.summary.transfer" & {
|
|
6
|
+
readonly __schema: true;
|
|
7
|
+
};
|
|
8
|
+
/** Schema type for TransfersStepSummary payloads. */
|
|
9
|
+
export type TransfersStepSummarySchema = typeof TransfersStepSummarySchema;
|
|
10
|
+
/** Step summary payload containing transfer amounts between address pairs */
|
|
11
|
+
export type TransfersStepSummary = StepSummary<{
|
|
12
|
+
transfers: Record<XyoAddress, Record<XyoAddress, SignedBigInt>>;
|
|
13
|
+
}, TransfersStepSummarySchema>;
|
|
14
|
+
/**
|
|
15
|
+
* Identity function for determining if an object is an TransfersStepSummary
|
|
16
|
+
*/
|
|
17
|
+
export declare const isTransfersStepSummary: (x?: unknown) => x is TransfersStepSummary;
|
|
18
|
+
/** Type assertion factory for TransfersStepSummary payloads */
|
|
19
|
+
export declare const asTransfersStepSummary: import("@xylabs/sdk").AsTypeFunction<TransfersStepSummary>;
|
|
20
|
+
/**
|
|
21
|
+
* Identity function for determining if an object is an TransfersStepSummary with Storage Meta
|
|
22
|
+
*/
|
|
23
|
+
export declare const isTransfersStepSummaryWithStorageMeta: (value: unknown) => value is WithStorageMeta<TransfersStepSummary>;
|
|
24
|
+
/** Type assertion factory for TransfersStepSummary with storage metadata */
|
|
25
|
+
export declare const asTransfersStepSummaryWithStorageMeta: import("@xylabs/sdk").AsTypeFunction<WithStorageMeta<TransfersStepSummary>>;
|
|
26
|
+
//# sourceMappingURL=TransfersSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransfersSummary.d.ts","sourceRoot":"","sources":["../../../../src/summary/model/TransfersSummary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAItE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B;;CAAsD,CAAA;AAC7F,qDAAqD;AACrD,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAA;AAE1E,6EAA6E;AAC7E,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAA;CAChE,EAAE,0BAA0B,CAAC,CAAA;AAE9B;;GAEG;AACH,eAAO,MAAM,sBAAsB,4CAA0E,CAAA;AAC7G,+DAA+D;AAC/D,eAAO,MAAM,sBAAsB,4DAAuE,CAAA;AAE1G;;GAEG;AACH,eAAO,MAAM,qCAAqC,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eAAe,CAAC,oBAAoB,CAEnH,CAAA;AACD,4EAA4E;AAC5E,eAAO,MAAM,qCAAqC,6EACsD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/summary/model/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Largest step (frame size) used when fanning a range out into balance summaries.
|
|
3
|
+
*
|
|
4
|
+
* Balance summaries are `Record<address, amount>` — linear in the number of active addresses, not
|
|
5
|
+
* the O(addresses²) pair-explosion transfers have — so they tolerate larger frames. Step 5 is
|
|
6
|
+
* ~510,511 blocks per frame.
|
|
7
|
+
*/
|
|
8
|
+
export declare const balancesMaxStep = 5;
|
|
9
|
+
//# sourceMappingURL=balancesMaxStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balancesMaxStep.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/balances/balancesMaxStep.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BlockViewer, CachingContext, MapType, XL1BlockRange } from '@xyo-network/xl1-protocol-lib';
|
|
2
|
+
import type { Semaphore } from 'async-mutex';
|
|
3
|
+
import type { BalancesStepSummary } from '../../model/index.ts';
|
|
4
|
+
/** BalancesStepSummaryFromRange helper function. */
|
|
5
|
+
export declare function balancesStepSummaryFromRange(context: CachingContext, semaphores: Semaphore[], blockViewer: BlockViewer, summaryMap: MapType<string, BalancesStepSummary>, range: XL1BlockRange): Promise<BalancesStepSummary>;
|
|
6
|
+
//# sourceMappingURL=balancesStepSummaryFromRange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balancesStepSummaryFromRange.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/balances/balancesStepSummaryFromRange.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EACpD,MAAM,+BAA+B,CAAA;AAEtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAQ5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAG/D,oDAAoD;AACpD,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,SAAS,EAAE,EACvB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,OAAO,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAChD,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC,mBAAmB,CAAC,CAmE9B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type XyoAddress } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { BlockViewer, CachingContext, ChainQualified, ChainQualifiedConfig, MapType } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
import type { Semaphore } from 'async-mutex';
|
|
4
|
+
import type { BalancesStepSummary } from '../../model/index.ts';
|
|
5
|
+
/** BalancesSummary helper function. */
|
|
6
|
+
export declare function balancesSummary(context: CachingContext, semaphores: Semaphore[], blockViewer: BlockViewer, summaryMap: MapType<string, BalancesStepSummary>, config?: ChainQualifiedConfig): Promise<ChainQualified<Record<XyoAddress, bigint>>>;
|
|
7
|
+
//# sourceMappingURL=balancesSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balancesSummary.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/balances/balancesSummary.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EAAE,cAAc,EAAE,oBAAoB,EACpD,OAAO,EACR,MAAM,+BAA+B,CAAA;AAKtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAI5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D,uCAAuC;AACvC,wBAAsB,eAAe,CACnC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,SAAS,EAAE,EACvB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,OAAO,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAChD,MAAM,CAAC,EAAE,oBAAoB,GAC5B,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CAoBrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/balances/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,mCAAmC,CAAA;AACjD,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Largest step level that `blocksByStep` will serve, and the largest frame size used when building
|
|
3
|
+
* block summaries.
|
|
4
|
+
*
|
|
5
|
+
* A block summary stores every `SignedHydratedBlockWithHashMeta` in its frame, so its size grows
|
|
6
|
+
* linearly with the frame's block count. `StepSizes[blocksMaxStep]` is therefore the size of the
|
|
7
|
+
* largest single cached summary object. `blocksByStep` rejects requests for step levels above this
|
|
8
|
+
* cap so that no response can exceed that largest single summary.
|
|
9
|
+
*
|
|
10
|
+
* Tune this as the large-object storage backing the summary map matures.
|
|
11
|
+
*/
|
|
12
|
+
export declare const blocksMaxStep = 3;
|
|
13
|
+
//# sourceMappingURL=blocksMaxStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blocksMaxStep.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/blocks/blocksMaxStep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,IAAI,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { BlocksStepSummary, BlockViewer, CachingContext, MapType, XL1BlockRange } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
import type { Semaphore } from 'async-mutex';
|
|
4
|
+
/** BlocksStepSummaryKey helper function. */
|
|
5
|
+
export declare function blocksStepSummaryKey(frameHeadHash: Hash, frameSize: number): string;
|
|
6
|
+
/**
|
|
7
|
+
* Builds (and caches) the BlocksStepSummary for an aligned step frame, holding every block in the
|
|
8
|
+
* frame. A frame larger than a single block is composed of its step-(N-1) sub-frame summaries, so
|
|
9
|
+
* a completed step's summary is keyed by its last block hash and never recomputed once cached.
|
|
10
|
+
*/
|
|
11
|
+
export declare function blocksStepSummaryFromRange(context: CachingContext, semaphores: Semaphore[], blockViewer: BlockViewer, summaryMap: MapType<string, BlocksStepSummary>, range: XL1BlockRange): Promise<BlocksStepSummary>;
|
|
12
|
+
//# sourceMappingURL=blocksStepSummaryFromRange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blocksStepSummaryFromRange.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/blocks/blocksStepSummaryFromRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGvC,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EAAE,cAAc,EAAE,OAAO,EAAmC,aAAa,EACrF,MAAM,+BAA+B,CAAA;AAItC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAK5C,4CAA4C;AAC5C,wBAAgB,oBAAoB,CAAC,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,UAE1E;AAED;;;;GAIG;AACH,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,SAAS,EAAE,EACvB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAC9C,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC,iBAAiB,CAAC,CAmD5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/blocks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,iCAAiC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/summary/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,kCAAkC,CAAA;AAChD,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Largest step (frame size) used when fanning a range out into schema summaries.
|
|
3
|
+
*
|
|
4
|
+
* Schema summaries are `Record<schema, count>` — bounded by the number of distinct schemas — so the
|
|
5
|
+
* payload stays tiny regardless of frame size. Use full depth for the best caching reuse.
|
|
6
|
+
*/
|
|
7
|
+
export declare const schemasMaxStep = 5;
|
|
8
|
+
//# sourceMappingURL=schemasMaxStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemasMaxStep.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/schemas/schemasMaxStep.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,IAAI,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { WithHashMeta } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { BlockViewer, CachingContext, MapType, XL1BlockRange } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
import type { Semaphore } from 'async-mutex';
|
|
4
|
+
import { type SchemasStepSummary } from '../../model/index.ts';
|
|
5
|
+
/** SchemasStepSummaryFromRange helper function. */
|
|
6
|
+
export declare function schemasStepSummaryFromRange(context: CachingContext, semaphores: Semaphore[], blockViewer: BlockViewer, summaryMap: MapType<string, WithHashMeta<SchemasStepSummary>>, range: XL1BlockRange): Promise<WithHashMeta<SchemasStepSummary>>;
|
|
7
|
+
//# sourceMappingURL=schemasStepSummaryFromRange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemasStepSummaryFromRange.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/schemas/schemasStepSummaryFromRange.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAU,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAK/D,OAAO,KAAK,EACV,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EACpD,MAAM,+BAA+B,CAAA;AAEtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAG5C,OAAO,EAAE,KAAK,kBAAkB,EAA4B,MAAM,sBAAsB,CAAA;AAExF,mDAAmD;AACnD,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,SAAS,EAAE,EACvB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC,EAC7D,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,CA8D3C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Schema, WithHashMeta } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { BlockViewer, CachingContext, ChainQualified, ChainQualifiedConfig, MapType } from '@xyo-network/xl1-protocol-lib';
|
|
3
|
+
import type { Semaphore } from 'async-mutex';
|
|
4
|
+
import type { SchemasStepSummary } from '../../model/index.ts';
|
|
5
|
+
/** SchemasSummary helper function. */
|
|
6
|
+
export declare function schemasSummary(context: CachingContext, semaphores: Semaphore[], blockViewer: BlockViewer, summaryMap: MapType<string, WithHashMeta<SchemasStepSummary>>, config?: ChainQualifiedConfig): Promise<ChainQualified<Record<Schema, number>>>;
|
|
7
|
+
//# sourceMappingURL=schemasSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemasSummary.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/schemas/schemasSummary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,KAAK,EACV,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,oBAAoB,EACjE,OAAO,EACR,MAAM,+BAA+B,CAAA;AAKtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAG5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAI9D,sCAAsC;AACtC,wBAAsB,cAAc,CAClC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,SAAS,EAAE,EACvB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC,EAC7D,MAAM,CAAC,EAAE,oBAAoB,GAC5B,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAoBjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/summary/primitives/transfers/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,oCAAoC,CAAA;AAClD,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Largest step (frame size) used when fanning a range out into transfer summaries.
|
|
3
|
+
*
|
|
4
|
+
* Transfer summaries are `Record<from, Record<to, amount>>` — roughly O(addresses²) in the number
|
|
5
|
+
* of distinct address pairs active in a frame — so they grow too large above step 4 (30,031 blocks).
|
|
6
|
+
* Keep this in sync on both sides: the fan-out that requests frames and, via it, the generation
|
|
7
|
+
* that builds & caches them.
|
|
8
|
+
*/
|
|
9
|
+
export declare const transfersMaxStep = 4;
|
|
10
|
+
//# sourceMappingURL=transfersMaxStep.d.ts.map
|