@xyo-network/xl1-protocol 4.0.10 → 4.0.12
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.d.ts +4 -4
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +4 -4
- package/dist/neutral/index.mjs.map +2 -2
- package/dist/neutral/modules/network-model/icons/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/icons/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/icons/local/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/icons/local/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/icons/sequence/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/icons/sequence/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/index.d.ts +7 -0
- package/dist/neutral/modules/network-model/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts +8 -0
- package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/lib/Networks.d.ts +10 -0
- package/dist/neutral/modules/network-model/lib/Networks.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/lib/index.d.ts +3 -0
- package/dist/neutral/modules/network-model/lib/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/manifest/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/manifest/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts +4 -0
- package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/models/Bootstrap.d.ts +56 -0
- package/dist/neutral/modules/network-model/models/Bootstrap.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/models/NetworkId.d.ts +12 -0
- package/dist/neutral/modules/network-model/models/NetworkId.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/models/index.d.ts +3 -0
- package/dist/neutral/modules/network-model/models/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/modules/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts +10 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts +4 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/modules/node/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts +5 -0
- package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/index.d.ts +10 -0
- package/dist/neutral/modules/network-model/staticRest/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts +84 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts +101 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts +263 -0
- package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts +10 -0
- package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts +14 -0
- package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts +14 -0
- package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/templates.d.ts +27 -0
- package/dist/neutral/modules/network-model/staticRest/templates.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts +28 -0
- package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/utils/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/utils/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts +7 -0
- package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/address/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts +7 -0
- package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/index.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/network/Status.d.ts +26 -0
- package/dist/neutral/modules/protocol-lib/network/Status.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/network/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/network/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts +48 -0
- package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts +33 -0
- package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/permissions/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/permissions/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts +86 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts +10 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts +9 -0
- package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts +25 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts +20 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts +57 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts +7 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/index.d.ts +9 -0
- package/dist/neutral/modules/protocol-lib/providers/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts +24 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts +27 -0
- package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts +13 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/Block.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/runners/Block.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts +30 -0
- package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts +22 -0
- package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts +35 -0
- package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts +25 -0
- package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/index.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/runners/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts +84 -0
- package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/status/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/status/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts +26 -0
- package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/summary/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts +5 -0
- package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/transaction/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/transaction/script.d.ts +17 -0
- package/dist/neutral/modules/protocol-lib/transaction/script.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts +19 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts +167 -0
- package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts +13 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/error.d.ts +59 -0
- package/dist/neutral/modules/protocol-lib/validation/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/validation/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts +10 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts +12 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts +38 -0
- package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts +56 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts +56 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts +23 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts +11 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts +26 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts +31 -0
- package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts +9 -0
- package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts +31 -0
- package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts +17 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts +19 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts +20 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +10 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts +41 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts +39 -0
- package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts +45 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts +38 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts +19 -0
- package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts +22 -0
- package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts +54 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts +55 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts +30 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts +50 -0
- package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/index.d.ts +28 -0
- package/dist/neutral/modules/protocol-lib/viewers/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts +35 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts +46 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts +46 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts +19 -0
- package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/Step/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/TransferPayload.d.ts +79 -0
- package/dist/neutral/modules/protocol-model/TransferPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/amount/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/amount/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts +16 -0
- package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts +40 -0
- package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts +544 -0
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +1466 -0
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/block/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +168 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +286 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +343 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/block/signed/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +168 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/Chain.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/chain/Chain.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts +28 -0
- package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/chain/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts +25 -0
- package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/fields/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/index.d.ts +16 -0
- package/dist/neutral/modules/protocol-model/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts +42 -0
- package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/MapType.d.ts +17 -0
- package/dist/neutral/modules/protocol-model/map/MapType.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts +41 -0
- package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/map/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +122 -0
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts +18 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts +290 -0
- package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts +57 -0
- package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts +26 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts +33 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +115 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +70 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/index.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/model/Context/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts +2300 -0
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Permission.d.ts +65 -0
- package/dist/neutral/modules/protocol-model/model/Permission.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Position.d.ts +13 -0
- package/dist/neutral/modules/protocol-model/model/Position.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/PositionId.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/model/PositionId.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts +16 -0
- package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Sequence.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/model/Sequence.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Stake.d.ts +121 -0
- package/dist/neutral/modules/protocol-model/model/Stake.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +409 -0
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/addresses.d.ts +28 -0
- package/dist/neutral/modules/protocol-model/model/addresses.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/index.d.ts +28 -0
- package/dist/neutral/modules/protocol-model/model/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/rewards.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/model/rewards.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/version.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/model/version.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts +20 -0
- package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts +29 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts +47 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts +25 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts +26 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts +30 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts +27 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts +25 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts +30 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/payload/application/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts +23 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +33 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts +45 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts +31 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +33 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts +24 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts +21 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts +21 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts +22 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts +71 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts +7 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/payload/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/provider/Provider.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/provider/Provider.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/provider/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/provider/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts +169 -0
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts +205 -0
- package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/rejection/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts +2127 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts +138 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts +38 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/index.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/xl1/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts.map +1 -0
- package/dist/neutral/modules/schema/Executable.d.ts +5 -0
- package/dist/neutral/modules/schema/Executable.d.ts.map +1 -0
- package/dist/neutral/modules/schema/StorageMeta.d.ts +5 -0
- package/dist/neutral/modules/schema/StorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts +17 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts +18 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts +17 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts +17 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/index.d.ts +5 -0
- package/dist/neutral/modules/schema/boundwitness/index.d.ts.map +1 -0
- package/dist/neutral/modules/schema/index.d.ts +5 -0
- package/dist/neutral/modules/schema/index.d.ts.map +1 -0
- package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts +7 -0
- package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts +17 -0
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts +17 -0
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts +17 -0
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/index.d.ts +4 -0
- package/dist/neutral/modules/schema/payload/index.d.ts.map +1 -0
- package/dist/neutral/{test → modules/test}/buildRandomTransaction.d.ts +1 -1
- package/dist/neutral/modules/test/buildRandomTransaction.d.ts.map +1 -0
- package/dist/neutral/{test → modules/test}/buildTransaction.d.ts +1 -1
- package/dist/neutral/modules/test/buildTransaction.d.ts.map +1 -0
- package/dist/neutral/{test → modules/test}/createTransferPayload.d.ts +1 -1
- package/dist/neutral/modules/test/createTransferPayload.d.ts.map +1 -0
- package/dist/neutral/modules/test/index.d.ts +4 -0
- package/dist/neutral/modules/test/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/block/index.d.ts +2 -0
- package/dist/neutral/modules/validation/block/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts +7 -0
- package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/block/validators/index.d.ts +2 -0
- package/dist/neutral/modules/validation/block/validators/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/index.d.ts +2 -0
- package/dist/neutral/modules/validation/boundwitness/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts +5 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts +4 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts +3 -0
- package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/index.d.ts +4 -0
- package/dist/neutral/modules/validation/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/index.d.ts +3 -0
- package/dist/neutral/modules/validation/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts +48 -0
- package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts +18 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts +17 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/index.d.ts +10 -0
- package/dist/neutral/modules/validation/transaction/validators/index.d.ts.map +1 -0
- package/dist/neutral/network-model.d.ts +2 -0
- package/dist/neutral/network-model.d.ts.map +1 -0
- package/dist/neutral/network-model.mjs +431 -0
- package/dist/neutral/network-model.mjs.map +7 -0
- package/dist/neutral/protocol-lib.d.ts +2 -0
- package/dist/neutral/protocol-lib.d.ts.map +1 -0
- package/dist/neutral/protocol-lib.mjs +584 -0
- package/dist/neutral/protocol-lib.mjs.map +7 -0
- package/dist/neutral/protocol-model.d.ts +2 -0
- package/dist/neutral/protocol-model.d.ts.map +1 -0
- package/dist/neutral/protocol-model.mjs +2047 -0
- package/dist/neutral/protocol-model.mjs.map +7 -0
- package/dist/neutral/schema.d.ts +2 -0
- package/dist/neutral/schema.d.ts.map +1 -0
- package/dist/neutral/schema.mjs +259 -0
- package/dist/neutral/schema.mjs.map +7 -0
- package/dist/neutral/test.d.ts +2 -0
- package/dist/neutral/test.d.ts.map +1 -0
- package/dist/neutral/{test/index.mjs → test.mjs} +8 -8
- package/dist/neutral/test.mjs.map +7 -0
- package/dist/neutral/validation.d.ts +2 -0
- package/dist/neutral/validation.d.ts.map +1 -0
- package/dist/neutral/validation.mjs +510 -0
- package/dist/neutral/validation.mjs.map +7 -0
- package/package.json +49 -23
- package/dist/neutral/test/buildRandomTransaction.d.ts.map +0 -1
- package/dist/neutral/test/buildTransaction.d.ts.map +0 -1
- package/dist/neutral/test/createTransferPayload.d.ts.map +0 -1
- package/dist/neutral/test/index.d.ts +0 -4
- package/dist/neutral/test/index.d.ts.map +0 -1
- package/dist/neutral/test/index.mjs.map +0 -7
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { IndexSummaryFamily, IndexWatermark } from '../../../protocol-lib/index.js';
|
|
3
|
+
/** Bumped when the on-disk index layout changes shape, so readers can detect a mismatch. */
|
|
4
|
+
export declare const INDEX_LAYOUT_VERSION = 1;
|
|
5
|
+
/** Schema id for the index manifest document (the static layout descriptor). */
|
|
6
|
+
export declare const IndexManifestSchema: "network.xyo.s3.index.manifest";
|
|
7
|
+
/** Type literal for the index manifest schema. */
|
|
8
|
+
export type IndexManifestSchema = typeof IndexManifestSchema;
|
|
9
|
+
/** Schema id for the index head document (the progress watermark). */
|
|
10
|
+
export declare const IndexHeadSchema: "network.xyo.s3.index.head";
|
|
11
|
+
/** Type literal for the index head schema. */
|
|
12
|
+
export type IndexHeadSchema = typeof IndexHeadSchema;
|
|
13
|
+
/** Per-family descriptor carried in the manifest. */
|
|
14
|
+
export declare const IndexManifestFamilyZod: z.ZodObject<{
|
|
15
|
+
maxStep: z.ZodInt;
|
|
16
|
+
path: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
/** Type for one index manifest family descriptor. */
|
|
19
|
+
export type IndexManifestFamily = z.infer<typeof IndexManifestFamilyZod>;
|
|
20
|
+
/** Zod schema for the static index layout descriptor at `indexManifestPath()`. */
|
|
21
|
+
export declare const IndexManifestZod: z.ZodObject<{
|
|
22
|
+
families: z.ZodObject<{
|
|
23
|
+
balances: z.ZodObject<{
|
|
24
|
+
maxStep: z.ZodInt;
|
|
25
|
+
path: z.ZodString;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
blocks: z.ZodObject<{
|
|
28
|
+
maxStep: z.ZodInt;
|
|
29
|
+
path: z.ZodString;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
schemas: z.ZodObject<{
|
|
32
|
+
maxStep: z.ZodInt;
|
|
33
|
+
path: z.ZodString;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
transfers: z.ZodObject<{
|
|
36
|
+
maxStep: z.ZodInt;
|
|
37
|
+
path: z.ZodString;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
schema: z.ZodLiteral<"network.xyo.s3.index.manifest">;
|
|
41
|
+
version: z.ZodInt;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
/** The static index layout descriptor at `indexManifestPath()`. */
|
|
44
|
+
export type IndexManifest = z.infer<typeof IndexManifestZod>;
|
|
45
|
+
/** Type guard that checks if a value is a valid IndexManifest. */
|
|
46
|
+
export declare const isIndexManifest: <T>(value: T) => value is T & {
|
|
47
|
+
families: {
|
|
48
|
+
balances: {
|
|
49
|
+
maxStep: number;
|
|
50
|
+
path: string;
|
|
51
|
+
};
|
|
52
|
+
blocks: {
|
|
53
|
+
maxStep: number;
|
|
54
|
+
path: string;
|
|
55
|
+
};
|
|
56
|
+
schemas: {
|
|
57
|
+
maxStep: number;
|
|
58
|
+
path: string;
|
|
59
|
+
};
|
|
60
|
+
transfers: {
|
|
61
|
+
maxStep: number;
|
|
62
|
+
path: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
schema: "network.xyo.s3.index.manifest";
|
|
66
|
+
version: number;
|
|
67
|
+
};
|
|
68
|
+
/** Converts a value to IndexManifest, throwing if invalid. */
|
|
69
|
+
export declare const asIndexManifest: {
|
|
70
|
+
<T>(value: T): (T & {
|
|
71
|
+
families: {
|
|
72
|
+
balances: {
|
|
73
|
+
maxStep: number;
|
|
74
|
+
path: string;
|
|
75
|
+
};
|
|
76
|
+
blocks: {
|
|
77
|
+
maxStep: number;
|
|
78
|
+
path: string;
|
|
79
|
+
};
|
|
80
|
+
schemas: {
|
|
81
|
+
maxStep: number;
|
|
82
|
+
path: string;
|
|
83
|
+
};
|
|
84
|
+
transfers: {
|
|
85
|
+
maxStep: number;
|
|
86
|
+
path: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
schema: "network.xyo.s3.index.manifest";
|
|
90
|
+
version: number;
|
|
91
|
+
}) | undefined;
|
|
92
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
93
|
+
families: {
|
|
94
|
+
balances: {
|
|
95
|
+
maxStep: number;
|
|
96
|
+
path: string;
|
|
97
|
+
};
|
|
98
|
+
blocks: {
|
|
99
|
+
maxStep: number;
|
|
100
|
+
path: string;
|
|
101
|
+
};
|
|
102
|
+
schemas: {
|
|
103
|
+
maxStep: number;
|
|
104
|
+
path: string;
|
|
105
|
+
};
|
|
106
|
+
transfers: {
|
|
107
|
+
maxStep: number;
|
|
108
|
+
path: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
schema: "network.xyo.s3.index.manifest";
|
|
112
|
+
version: number;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
/** Non-validating cast to IndexManifest. */
|
|
116
|
+
export declare const toIndexManifest: {
|
|
117
|
+
<T>(value: T): (T & {
|
|
118
|
+
families: {
|
|
119
|
+
balances: {
|
|
120
|
+
maxStep: number;
|
|
121
|
+
path: string;
|
|
122
|
+
};
|
|
123
|
+
blocks: {
|
|
124
|
+
maxStep: number;
|
|
125
|
+
path: string;
|
|
126
|
+
};
|
|
127
|
+
schemas: {
|
|
128
|
+
maxStep: number;
|
|
129
|
+
path: string;
|
|
130
|
+
};
|
|
131
|
+
transfers: {
|
|
132
|
+
maxStep: number;
|
|
133
|
+
path: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
schema: "network.xyo.s3.index.manifest";
|
|
137
|
+
version: number;
|
|
138
|
+
}) | undefined;
|
|
139
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
140
|
+
families: {
|
|
141
|
+
balances: {
|
|
142
|
+
maxStep: number;
|
|
143
|
+
path: string;
|
|
144
|
+
};
|
|
145
|
+
blocks: {
|
|
146
|
+
maxStep: number;
|
|
147
|
+
path: string;
|
|
148
|
+
};
|
|
149
|
+
schemas: {
|
|
150
|
+
maxStep: number;
|
|
151
|
+
path: string;
|
|
152
|
+
};
|
|
153
|
+
transfers: {
|
|
154
|
+
maxStep: number;
|
|
155
|
+
path: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
schema: "network.xyo.s3.index.manifest";
|
|
159
|
+
version: number;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
/** Completed frame counts per family in the index head watermark. */
|
|
163
|
+
export declare const IndexHeadFamiliesZod: z.ZodObject<{
|
|
164
|
+
balances: z.ZodInt;
|
|
165
|
+
blocks: z.ZodInt;
|
|
166
|
+
schemas: z.ZodInt;
|
|
167
|
+
transfers: z.ZodInt;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
/** Zod schema for the index progress watermark at `indexHeadPath()`. */
|
|
170
|
+
export declare const IndexHeadZod: z.ZodObject<{
|
|
171
|
+
block: z.ZodInt;
|
|
172
|
+
families: z.ZodObject<{
|
|
173
|
+
balances: z.ZodInt;
|
|
174
|
+
blocks: z.ZodInt;
|
|
175
|
+
schemas: z.ZodInt;
|
|
176
|
+
transfers: z.ZodInt;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
hash: z.ZodString;
|
|
179
|
+
schema: z.ZodLiteral<"network.xyo.s3.index.head">;
|
|
180
|
+
updatedAt: z.ZodString;
|
|
181
|
+
version: z.ZodInt;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
/** The index progress watermark at `indexHeadPath()`. */
|
|
184
|
+
export type IndexHead = z.infer<typeof IndexHeadZod>;
|
|
185
|
+
/** Type guard that checks if a value is a valid IndexHead. */
|
|
186
|
+
export declare const isIndexHead: <T>(value: T) => value is T & {
|
|
187
|
+
block: number;
|
|
188
|
+
families: {
|
|
189
|
+
balances: number;
|
|
190
|
+
blocks: number;
|
|
191
|
+
schemas: number;
|
|
192
|
+
transfers: number;
|
|
193
|
+
};
|
|
194
|
+
hash: string;
|
|
195
|
+
schema: "network.xyo.s3.index.head";
|
|
196
|
+
updatedAt: string;
|
|
197
|
+
version: number;
|
|
198
|
+
};
|
|
199
|
+
/** Converts a value to IndexHead, throwing if invalid. */
|
|
200
|
+
export declare const asIndexHead: {
|
|
201
|
+
<T>(value: T): (T & {
|
|
202
|
+
block: number;
|
|
203
|
+
families: {
|
|
204
|
+
balances: number;
|
|
205
|
+
blocks: number;
|
|
206
|
+
schemas: number;
|
|
207
|
+
transfers: number;
|
|
208
|
+
};
|
|
209
|
+
hash: string;
|
|
210
|
+
schema: "network.xyo.s3.index.head";
|
|
211
|
+
updatedAt: string;
|
|
212
|
+
version: number;
|
|
213
|
+
}) | undefined;
|
|
214
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
215
|
+
block: number;
|
|
216
|
+
families: {
|
|
217
|
+
balances: number;
|
|
218
|
+
blocks: number;
|
|
219
|
+
schemas: number;
|
|
220
|
+
transfers: number;
|
|
221
|
+
};
|
|
222
|
+
hash: string;
|
|
223
|
+
schema: "network.xyo.s3.index.head";
|
|
224
|
+
updatedAt: string;
|
|
225
|
+
version: number;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
/** Non-validating cast to IndexHead. */
|
|
229
|
+
export declare const toIndexHead: {
|
|
230
|
+
<T>(value: T): (T & {
|
|
231
|
+
block: number;
|
|
232
|
+
families: {
|
|
233
|
+
balances: number;
|
|
234
|
+
blocks: number;
|
|
235
|
+
schemas: number;
|
|
236
|
+
transfers: number;
|
|
237
|
+
};
|
|
238
|
+
hash: string;
|
|
239
|
+
schema: "network.xyo.s3.index.head";
|
|
240
|
+
updatedAt: string;
|
|
241
|
+
version: number;
|
|
242
|
+
}) | undefined;
|
|
243
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
244
|
+
block: number;
|
|
245
|
+
families: {
|
|
246
|
+
balances: number;
|
|
247
|
+
blocks: number;
|
|
248
|
+
schemas: number;
|
|
249
|
+
transfers: number;
|
|
250
|
+
};
|
|
251
|
+
hash: string;
|
|
252
|
+
schema: "network.xyo.s3.index.head";
|
|
253
|
+
updatedAt: string;
|
|
254
|
+
version: number;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
/** Builds per-family manifest descriptors with path templates derived from the path builders. */
|
|
258
|
+
export declare function createIndexManifestFamilies(maxSteps: Record<IndexSummaryFamily, number>): Record<IndexSummaryFamily, IndexManifestFamily>;
|
|
259
|
+
/** Builds a validated index manifest with path templates derived from the path builders. */
|
|
260
|
+
export declare function createIndexManifest(maxSteps: Record<IndexSummaryFamily, number>): IndexManifest;
|
|
261
|
+
/** Builds a validated index head watermark from an indexer progress snapshot. */
|
|
262
|
+
export declare function createIndexHead(watermark: IndexWatermark, updatedAt?: string): IndexHead;
|
|
263
|
+
//# sourceMappingURL=indexManifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indexManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/indexManifest.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAIvE,4FAA4F;AAC5F,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,EAAG,+BAAwC,CAAA;AAC3E,kDAAkD;AAClD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,sEAAsE;AACtE,eAAO,MAAM,eAAe,EAAG,2BAAoC,CAAA;AACnE,8CAA8C;AAC9C,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,qDAAqD;AACrD,eAAO,MAAM,sBAAsB;;;iBAKjC,CAAA;AAEF,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AASxE,kFAAkF;AAClF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;iBAI3B,CAAA;AAEF,mEAAmE;AACnE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,kEAAkE;AAClE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAA;AAC7D,8DAA8D;AAC9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAChF,4CAA4C;AAC5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAEhF,qEAAqE;AACrE,eAAO,MAAM,oBAAoB;;;;;iBAK/B,CAAA;AAEF,wEAAwE;AACxE,eAAO,MAAM,YAAY;;;;;;;;;;;;iBAWvB,CAAA;AAEF,yDAAyD;AACzD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEpD,8DAA8D;AAC9D,eAAO,MAAM,WAAW;;;;;;;;;;;;CAA6B,CAAA;AACrD,0DAA0D;AAC1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AACpE,wCAAwC;AACxC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAEpE,iGAAiG;AACjG,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAC3C,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAOjD;AAED,4FAA4F;AAC5F,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG,aAAa,CAM/F;AAED,iFAAiF;AACjF,wBAAgB,eAAe,CAAC,SAAS,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAWxF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path builders for the chain-state (mutable) bucket.
|
|
3
|
+
*
|
|
4
|
+
* Paths are relative — no leading slash — and joined to a base URL by the consumer.
|
|
5
|
+
*/
|
|
6
|
+
/** The mutable head pointer: the current head SignedHydratedBlockWithHashMeta. */
|
|
7
|
+
export declare const headPath: () => string;
|
|
8
|
+
/** The chain-contract manifest: static per-chain config (rewards contract, staking token, fork info). Published once. */
|
|
9
|
+
export declare const chainContractPath: () => string;
|
|
10
|
+
//# sourceMappingURL=chainState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chainState.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/chainState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,kFAAkF;AAClF,eAAO,MAAM,QAAQ,QAAO,MAA2B,CAAA;AAEvD,yHAAyH;AACzH,eAAO,MAAM,iBAAiB,QAAO,MAA+B,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path builders for the finalized (immutable) bucket.
|
|
3
|
+
*
|
|
4
|
+
* Paths are relative — no leading slash — and joined to a base URL by the consumer.
|
|
5
|
+
*/
|
|
6
|
+
/** The finalized layout descriptor (path templates, encoding, version, earliest block). */
|
|
7
|
+
export declare const manifestPath: () => string;
|
|
8
|
+
/** A block by number: SignedHydratedBlockWithHashMeta. */
|
|
9
|
+
export declare const blockNumberPath: (block: number) => string;
|
|
10
|
+
/** A block by hash: the same content as its by-number twin. */
|
|
11
|
+
export declare const blockHashPath: (hash: string) => string;
|
|
12
|
+
/** A payload by hash: WithHashMeta<Payload>. */
|
|
13
|
+
export declare const payloadPath: (hash: string) => string;
|
|
14
|
+
//# sourceMappingURL=finalized.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalized.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/finalized.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,YAAY,QAAO,MAAyB,CAAA;AAEzD,0DAA0D;AAC1D,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,MAAsC,CAAA;AAEtF,+DAA+D;AAC/D,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,KAAG,MAAmC,CAAA;AAEhF,gDAAgD;AAChD,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MAAgC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IndexSummaryFamily } from '../../../protocol-lib/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Path builders for the index bucket.
|
|
4
|
+
*
|
|
5
|
+
* The index is a separate, single-writer bucket holding completed step summaries for several
|
|
6
|
+
* families. Paths are relative — no leading slash — and joined to a base URL by the consumer.
|
|
7
|
+
*/
|
|
8
|
+
/** A completed frame's summary for a family, e.g. `blocks/2/5.json`. Immutable once written. */
|
|
9
|
+
export declare const indexSummaryPath: (family: IndexSummaryFamily, stepLevel: number, stepIndex: number) => string;
|
|
10
|
+
/** The index layout descriptor (families, max step, encoding, version). */
|
|
11
|
+
export declare const indexManifestPath: () => string;
|
|
12
|
+
/** The indexer's progress watermark (highest block the index is complete through). */
|
|
13
|
+
export declare const indexHeadPath: () => string;
|
|
14
|
+
//# sourceMappingURL=indexPaths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indexPaths.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/indexPaths.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAEvD;;;;;GAKG;AAEH,gGAAgG;AAChG,eAAO,MAAM,gBAAgB,GAAI,QAAQ,kBAAkB,EAAE,WAAW,MAAM,EAAE,WAAW,MAAM,KAAG,MACxD,CAAA;AAE5C,2EAA2E;AAC3E,eAAO,MAAM,iBAAiB,QAAO,MAAyB,CAAA;AAE9D,sFAAsF;AACtF,eAAO,MAAM,aAAa,QAAO,MAAqB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { IndexSummaryFamily } from '../../protocol-lib/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Replaces concrete slot literals in a path with named `{placeholder}` segments.
|
|
4
|
+
* Used to derive manifest path templates from the path builders so the two cannot drift.
|
|
5
|
+
*/
|
|
6
|
+
export declare function toPathTemplate(path: string, slots: {
|
|
7
|
+
literal: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}[]): string;
|
|
10
|
+
/** Fills `{placeholder}` segments in a manifest path template. Used in conformance tests. */
|
|
11
|
+
export declare function interpolatePathTemplate(template: string, values: Record<string, string | number>): string;
|
|
12
|
+
/** Self-describing template for `blockNumberPath`. */
|
|
13
|
+
export declare const blockNumberPathTemplate: () => string;
|
|
14
|
+
/** Self-describing template for `blockHashPath`. */
|
|
15
|
+
export declare const blockHashPathTemplate: () => string;
|
|
16
|
+
/** Self-describing template for `payloadPath`. */
|
|
17
|
+
export declare const payloadPathTemplate: () => string;
|
|
18
|
+
/** Self-describing templates for finalized + chain-state files carried in the chain manifest. */
|
|
19
|
+
export declare function chainManifestPathTemplates(): {
|
|
20
|
+
blockByHash: string;
|
|
21
|
+
blockByNumber: string;
|
|
22
|
+
head: string;
|
|
23
|
+
payload: string;
|
|
24
|
+
};
|
|
25
|
+
/** Self-describing template for one index summary family, e.g. `blocks/{level}/{index}.json`. */
|
|
26
|
+
export declare function indexSummaryPathTemplate(family: IndexSummaryFamily): string;
|
|
27
|
+
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/staticRest/templates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAgBvD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,MAAM,CAS/F;AAED,6FAA6F;AAC7F,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,MAAM,CAMzG;AAED,sDAAsD;AACtD,eAAO,MAAM,uBAAuB,QAAO,MACwE,CAAA;AAEnH,oDAAoD;AACpD,eAAO,MAAM,qBAAqB,QAAO,MAC6D,CAAA;AAEtG,kDAAkD;AAClD,eAAO,MAAM,mBAAmB,QAAO,MAC6D,CAAA;AAEpG,iGAAiG;AACjG,wBAAgB,0BAA0B,IAAI;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB,CAOA;AAED,iGAAiG;AACjG,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAM3E"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { NetworkId } from '../models/index.js';
|
|
2
|
+
/** Builds URLs to pages on an XL1 chain explorer for a specific network. */
|
|
3
|
+
export declare class ExplorerLinks {
|
|
4
|
+
readonly explorerUrl: string;
|
|
5
|
+
readonly networkId: NetworkId;
|
|
6
|
+
constructor(explorerUrl: string, networkId: NetworkId);
|
|
7
|
+
/** `{explorerUrl}/xl1/{networkId}/address/{address}` */
|
|
8
|
+
address(address: string): string;
|
|
9
|
+
/** `{explorerUrl}/xl1/{networkId}/addresses` */
|
|
10
|
+
addresses(): string;
|
|
11
|
+
/** `{explorerUrl}/xl1/{networkId}/block/{blockHash}` */
|
|
12
|
+
block(blockHash: string): string;
|
|
13
|
+
/** `{explorerUrl}/xl1/{networkId}/block/number/{blockNumber}` */
|
|
14
|
+
blockByNumber(blockNumber: number | string): string;
|
|
15
|
+
/** `{explorerUrl}/xl1/{networkId}/block/{blockHash}/payload/{payloadHash}[/{render}]` */
|
|
16
|
+
blockPayload(blockHash: string, payloadHash: string, render?: string): string;
|
|
17
|
+
/** `{explorerUrl}/xl1/{networkId}/blocks` */
|
|
18
|
+
blocks(): string;
|
|
19
|
+
/** `{explorerUrl}/xl1/{networkId}` */
|
|
20
|
+
network(): string;
|
|
21
|
+
/** `{explorerUrl}/xl1/{networkId}/transaction/{txHash}` */
|
|
22
|
+
transaction(txHash: string): string;
|
|
23
|
+
/** `{explorerUrl}/xl1/{networkId}/transaction/{txHash}/payload/{payloadHash}[/{render}]` */
|
|
24
|
+
transactionPayload(txHash: string, payloadHash: string, render?: string): string;
|
|
25
|
+
/** `{explorerUrl}/xl1/{networkId}/transactions` */
|
|
26
|
+
transactions(): string;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=ExplorerLinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExplorerLinks.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/utils/ExplorerLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,4EAA4E;AAC5E,qBAAa,aAAa;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;gBAEjB,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS;IAKrD,wDAAwD;IACxD,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAIhC,gDAAgD;IAChD,SAAS,IAAI,MAAM;IAInB,wDAAwD;IACxD,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAIhC,iEAAiE;IACjE,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM;IAInD,yFAAyF;IACzF,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAK7E,6CAA6C;IAC7C,MAAM,IAAI,MAAM;IAIhB,sCAAsC;IACtC,OAAO,IAAI,MAAM;IAIjB,2DAA2D;IAC3D,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAInC,4FAA4F;IAC5F,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAKhF,mDAAmD;IACnD,YAAY,IAAI,MAAM;CAGvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MeterProvider, TracerProvider } from '@opentelemetry/api';
|
|
2
|
+
/** Configuration for OpenTelemetry metric and trace providers */
|
|
3
|
+
export interface OpenTelemetryProviders {
|
|
4
|
+
meterProvider?: MeterProvider;
|
|
5
|
+
traceProvider?: TracerProvider;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=OpenTelemetryProviders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenTelemetryProviders.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-lib/OpenTelemetryProviders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEvE,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,aAAa,CAAC,EAAE,cAAc,CAAA;CAC/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
2
|
+
/** Returns the deterministic derived receive address for an address and optional scope. */
|
|
3
|
+
export declare function derivedReceiveAddress(address: XyoAddress, scope?: string): XyoAddress;
|
|
4
|
+
//# sourceMappingURL=derivedReceiveAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"derivedReceiveAddress.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/derivedReceiveAddress.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,2FAA2F;AAC3F,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,UAAU,CAKrF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oCAAoC,CAAA;AAClD,cAAc,gCAAgC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
2
|
+
import { type StepIdentity } from '../../protocol-model/index.js';
|
|
3
|
+
/** Returns the deterministic reward-holder address for a completed step. */
|
|
4
|
+
export declare function rewardAddressFromStepIdentity({ block, step }: StepIdentity): XyoAddress;
|
|
5
|
+
/** @deprecated use rewardAddressFromStepIdentity instead */
|
|
6
|
+
export declare const completedStepRewardAddress: typeof rewardAddressFromStepIdentity;
|
|
7
|
+
//# sourceMappingURL=rewardAddressFromStepIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rewardAddressFromStepIdentity.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/rewardAddressFromStepIdentity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,iBAAiB,CAAA;AAE9D,4EAA4E;AAC5E,wBAAgB,6BAA6B,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,YAAY,GAAG,UAAU,CAMvF;AAED,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B,sCAAgC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
2
|
+
/**
|
|
3
|
+
* Returns a deterministic no-private-key sentinel address derived from a schema,
|
|
4
|
+
* optionally bound to a specific payload hash for per-payload burn semantics.
|
|
5
|
+
*
|
|
6
|
+
* Without `payloadHash`: produces the static protocol sentinel for the schema.
|
|
7
|
+
* Used as the destination for `Transfer` payloads accompanying app
|
|
8
|
+
* data so that `accountBalanceHistory(sentinel)` surfaces every transaction
|
|
9
|
+
* in the protocol with no global indexer required.
|
|
10
|
+
* construction: keccak256(utf8(schema)).slice(-40)
|
|
11
|
+
*
|
|
12
|
+
* With `payloadHash`: produces a per-payload derived burn address scoped to
|
|
13
|
+
* the schema. Each app payload binds dust to a unique no-key
|
|
14
|
+
* destination — verifiable real cost per operation.
|
|
15
|
+
* construction: keccak256(utf8(`${schema}|${payloadHash}`)).slice(-40)
|
|
16
|
+
*
|
|
17
|
+
* Mirrors the construction used by `rewardAddressFromStepIdentity` and
|
|
18
|
+
* `derivedReceiveAddress` for the chain's own no-key escrow accounts.
|
|
19
|
+
*/
|
|
20
|
+
export declare function sentinelAddressFromSchema(schema: string, payloadHash?: string): XyoAddress;
|
|
21
|
+
//# sourceMappingURL=sentinelAddressFromSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentinelAddressFromSchema.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/sentinelAddressFromSchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,UAAU,CAM1F"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './address/index.js';
|
|
2
|
+
export * from './network/index.js';
|
|
3
|
+
export * from './OpenTelemetryProviders.js';
|
|
4
|
+
export * from './permissions/index.js';
|
|
5
|
+
export * from './providers/index.js';
|
|
6
|
+
export * from './repository/index.js';
|
|
7
|
+
export * from './runners/index.js';
|
|
8
|
+
export * from './status/index.js';
|
|
9
|
+
export * from './summary/index.js';
|
|
10
|
+
export * from './transaction/index.js';
|
|
11
|
+
export * from './validation/index.js';
|
|
12
|
+
export * from './viewers/index.js';
|
|
13
|
+
export * from '../protocol-model/index.js';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Payload } from '@xyo-network/sdk';
|
|
2
|
+
/** Schema identifier for network status payloads. */
|
|
3
|
+
export declare const NetworkStatusSchema: "network.xyo.chain.status" & {
|
|
4
|
+
readonly __schema: true;
|
|
5
|
+
};
|
|
6
|
+
/** Schema type for NetworkStatus payloads. */
|
|
7
|
+
export type NetworkStatusSchema = typeof NetworkStatusSchema;
|
|
8
|
+
/** Possible states of the network: online, offline, degraded, or unknown. */
|
|
9
|
+
export type NetworkStatusState = 'online' | 'offline' | 'degraded' | 'unknown';
|
|
10
|
+
/** Represents a single network status update with a time range and description. */
|
|
11
|
+
export interface NetworkStatusUpdate {
|
|
12
|
+
end: number;
|
|
13
|
+
start: number;
|
|
14
|
+
update: string;
|
|
15
|
+
}
|
|
16
|
+
/** Fields describing the current network status, including state and optional updates. */
|
|
17
|
+
export interface NetworkStatusFields {
|
|
18
|
+
description: string;
|
|
19
|
+
state: NetworkStatusState;
|
|
20
|
+
updates?: NetworkStatusUpdate[];
|
|
21
|
+
}
|
|
22
|
+
/** A payload representing the current network status. */
|
|
23
|
+
export type NetworkStatus = Payload<NetworkStatusFields, NetworkStatusSchema>;
|
|
24
|
+
/** Type guard that checks whether a value is a NetworkStatus payload. */
|
|
25
|
+
export declare const isNetworkStatus: (x?: unknown) => x is NetworkStatus;
|
|
26
|
+
//# sourceMappingURL=Status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/network/Status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG/C,qDAAqD;AACrD,eAAO,MAAM,mBAAmB;;CAA6C,CAAA;AAC7E,8CAA8C;AAC9C,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,6EAA6E;AAC7E,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAA;AAE9E,mFAAmF;AACnF,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,0FAA0F;AAC1F,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,kBAAkB,CAAA;IACzB,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAChC;AAED,yDAAyD;AACzD,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAA;AAE7E,yEAAyE;AACzE,eAAO,MAAM,eAAe,qCAA4D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/network/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { JsonValue } from '@ariestools/sdk';
|
|
2
|
+
import type { CaveatTypes } from '../../protocol-model/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Modeled after EIP-2255
|
|
5
|
+
* See - https://eips.ethereum.org/EIPS/eip-2255#specification
|
|
6
|
+
*
|
|
7
|
+
* In order to send multiple permission requests at once, do not send multiple parentCapability keys.
|
|
8
|
+
* Instead, send multiple PermissionRequest objects in the params array of the rpc call.
|
|
9
|
+
*/
|
|
10
|
+
export type PermissionRequest = Record<string, Record<string, JsonValue>>;
|
|
11
|
+
/**
|
|
12
|
+
* Modeled after EIP-2255
|
|
13
|
+
* See - https://eips.ethereum.org/EIPS/eip-2255#specification
|
|
14
|
+
*/
|
|
15
|
+
export interface RequestedPermission {
|
|
16
|
+
/** Optional timestamp for when the permission was granted */
|
|
17
|
+
date?: number;
|
|
18
|
+
/** Permission identifier (i.e. RPC method, action, etc.) */
|
|
19
|
+
parentCapability: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Modeled after EIP-2255
|
|
23
|
+
* See - https://eips.ethereum.org/EIPS/eip-2255#specification
|
|
24
|
+
*/
|
|
25
|
+
export interface Caveats {
|
|
26
|
+
/** Type of caveat */
|
|
27
|
+
type: CaveatTypes;
|
|
28
|
+
/** Value for the caveat (i.e. chain id, subset of accounts, expiration, max request per minute, etc.) */
|
|
29
|
+
value: JsonValue;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Modeled after EIP-2255
|
|
33
|
+
* See - https://eips.ethereum.org/EIPS/eip-2255#specification
|
|
34
|
+
*/
|
|
35
|
+
export interface Permission {
|
|
36
|
+
/** Caveats for the permission, if applicable (i.e. allowed accounts, signing, etc.) */
|
|
37
|
+
caveats?: Caveats[];
|
|
38
|
+
/** Invoker for the given permission (URI, domain, webpage, address, etc.) */
|
|
39
|
+
invoker: string;
|
|
40
|
+
/** Permission identifier (i.e. RPC method, action, etc.) */
|
|
41
|
+
parentCapability: string;
|
|
42
|
+
}
|
|
43
|
+
/** InvokerPermission interface. */
|
|
44
|
+
export interface InvokerPermission extends Permission {
|
|
45
|
+
/** Time at which the permission was granted */
|
|
46
|
+
date?: number;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=InvokerPermission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvokerPermission.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/permissions/InvokerPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAElD;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;AAEzE;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4DAA4D;IAC5D,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAA;IACjB,yGAAyG;IACzG,KAAK,EAAE,SAAS,CAAA;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,uFAAuF;IACvF,OAAO,CAAC,EAAE,OAAO,EAAE,CAAA;IACnB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAA;IACf,4DAA4D;IAC5D,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,mCAAmC;AACnC,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACnD,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { InvokerPermission, PermissionRequest, RequestedPermission } from './InvokerPermission.js';
|
|
2
|
+
/**
|
|
3
|
+
* Handles Getting Permissions
|
|
4
|
+
*/
|
|
5
|
+
export interface PermissionsGetHandler {
|
|
6
|
+
/**
|
|
7
|
+
* Returns the permissions that are currently granted
|
|
8
|
+
*
|
|
9
|
+
* Per the spec - "The wallet_getPermissions method is used for getting an array of current permissions
|
|
10
|
+
* (empty by default). It takes no parameters and returns an array of Permission objects."
|
|
11
|
+
*
|
|
12
|
+
* See - https://eips.ethereum.org/EIPS/eip-2255#specification
|
|
13
|
+
*/
|
|
14
|
+
getPermissions(): Promise<InvokerPermission[]>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Handles Permission Requests
|
|
18
|
+
*/
|
|
19
|
+
export interface PermissionRequestsHandler {
|
|
20
|
+
requestPermissions(permissions: PermissionRequest[]): Promise<RequestedPermission[]>;
|
|
21
|
+
revokePermissions(permissions: PermissionRequest): Promise<RequestedPermission[]>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Interface for getting, requesting and revoking permissions
|
|
25
|
+
*
|
|
26
|
+
* See - https://eips.ethereum.org/EIPS/eip-2255
|
|
27
|
+
*/
|
|
28
|
+
export interface XyoPermissions extends PermissionsGetHandler, PermissionRequestsHandler {
|
|
29
|
+
}
|
|
30
|
+
/** PermissionsProvider interface. */
|
|
31
|
+
export interface PermissionsProvider extends XyoPermissions {
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=XyoPermissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XyoPermissions.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/permissions/XyoPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAC1D,MAAM,wBAAwB,CAAA;AAE/B;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;;OAOG;IACH,cAAc,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IAExC,kBAAkB,CAAC,WAAW,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAA;IAEpF,iBAAiB,CAAC,WAAW,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAA;CAClF;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAe,SAAQ,qBAAqB,EAAE,yBAAyB;CAEvF;AAGD,qCAAqC;AACrC,MAAM,WAAW,mBAAoB,SAAQ,cAAc;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/permissions/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA"}
|