@xyo-network/xl1-protocol 4.0.11 → 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,22 @@
|
|
|
1
|
+
import type { Hash, Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { Provider, ProviderMoniker, SignedHydratedTransaction, SignedHydratedTransactionWithHashMeta } from '../../protocol-model/index.js';
|
|
3
|
+
/** TransactionViewerMethods interface. */
|
|
4
|
+
export interface TransactionViewerMethods {
|
|
5
|
+
byHash(transactionHash: Hash): Promisable<SignedHydratedTransactionWithHashMeta | null>;
|
|
6
|
+
/** @deprecated use .byBlockHashAndIndex instead */
|
|
7
|
+
transactionByBlockHashAndIndex(blockHash: Hash, transactionIndex: number): Promisable<SignedHydratedTransaction | null>;
|
|
8
|
+
/** @deprecated use .byBlockNumberAndIndex instead */
|
|
9
|
+
transactionByBlockNumberAndIndex(blockNumber: number, transactionIndex: number): Promisable<SignedHydratedTransaction | null>;
|
|
10
|
+
/** @deprecated use .byHash instead */
|
|
11
|
+
transactionByHash(transactionHash: Hash): Promisable<SignedHydratedTransaction | null>;
|
|
12
|
+
}
|
|
13
|
+
/** Moniker identifier for the TransactionViewer provider. */
|
|
14
|
+
export declare const TransactionViewerMoniker: "TransactionViewer";
|
|
15
|
+
/** Type literal for the TransactionViewer provider moniker. */
|
|
16
|
+
export type TransactionViewerMoniker = typeof TransactionViewerMoniker;
|
|
17
|
+
/** Viewer interface for reading Transaction data. */
|
|
18
|
+
export interface TransactionViewer<TMoniker extends ProviderMoniker = TransactionViewerMoniker> extends TransactionViewerMethods, Provider<TMoniker> {
|
|
19
|
+
byBlockHashAndIndex(blockHash: Hash, transactionIndex: number): Promisable<SignedHydratedTransactionWithHashMeta | null>;
|
|
20
|
+
byBlockNumberAndIndex(blockNumber: number, transactionIndex: number): Promisable<SignedHydratedTransactionWithHashMeta | null>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=Transaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEvD,OAAO,KAAK,EACV,QAAQ,EAAE,eAAe,EAAE,yBAAyB,EAAE,qCAAqC,EAC5F,MAAM,iBAAiB,CAAA;AAExB,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,eAAe,EAAE,IAAI,GAAG,UAAU,CAAC,qCAAqC,GAAG,IAAI,CAAC,CAAA;IAEvF,mDAAmD;IACnD,8BAA8B,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;IACvH,qDAAqD;IACrD,gCAAgC,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;IAC7H,sCAAsC;IACtC,iBAAiB,CAAC,eAAe,EAAE,IAAI,GAAG,UAAU,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;CACvF;AAED,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,EAAG,mBAA4B,CAAA;AACpE,+DAA+D;AAC/D,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,qDAAqD;AACrD,MAAM,WAAW,iBAAiB,CAAC,QAAQ,SAAS,eAAe,GAAG,wBAAwB,CAAE,SAAQ,wBAAwB,EAAE,QAAQ,CAAC,QAAQ,CAAC;IAClJ,mBAAmB,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,qCAAqC,GAAG,IAAI,CAAC,CAAA;IACxH,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,qCAAqC,GAAG,IAAI,CAAC,CAAA;CAC/H"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type Promisable } from '@ariestools/sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import type { ChainQualified, Provider, SignedHydratedTransaction, SignedHydratedTransactionWithHashMeta } from '../../protocol-model/index.js';
|
|
4
|
+
import type { HydratedTransactionValidationError } from '../validation/index.js';
|
|
5
|
+
/** TransactionInvalidationConfigFieldsZod constant. */
|
|
6
|
+
export declare const TransactionInvalidationConfigFieldsZod: z.ZodObject<{
|
|
7
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
/** TransactionInvalidationConfigZod constant. */
|
|
11
|
+
export declare const TransactionInvalidationConfigZod: z.ZodUnion<readonly [z.ZodObject<{
|
|
12
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
head: import("zod/mini").ZodMiniPipe<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>;
|
|
15
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
range: z.ZodTuple<[z.ZodPipe<z.ZodInt, z.ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>, z.ZodPipe<z.ZodInt, z.ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>], null>;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>;
|
|
23
|
+
/** TransactionInvalidationConfig type. */
|
|
24
|
+
export type TransactionInvalidationConfig = z.infer<typeof TransactionInvalidationConfigZod>;
|
|
25
|
+
/** Type guard that checks if a value is a valid TransactionInvalidationConfig. */
|
|
26
|
+
export declare const isTransactionInvalidationConfig: <T>(value: T) => value is T & (Record<string, never> | {
|
|
27
|
+
state?: boolean | undefined;
|
|
28
|
+
value?: boolean | undefined;
|
|
29
|
+
} | {
|
|
30
|
+
head: import("@ariestools/sdk").BrandedHash;
|
|
31
|
+
state?: boolean | undefined;
|
|
32
|
+
value?: boolean | undefined;
|
|
33
|
+
} | {
|
|
34
|
+
range: [import('../../protocol-model/index.js').XL1BlockNumber, import('../../protocol-model/index.js').XL1BlockNumber];
|
|
35
|
+
state?: boolean | undefined;
|
|
36
|
+
value?: boolean | undefined;
|
|
37
|
+
});
|
|
38
|
+
/**
|
|
39
|
+
* Checks if transactions are invalid (impossible to ever become valid) according to protocol rules.
|
|
40
|
+
*/
|
|
41
|
+
export interface TransactionInvalidationViewerMethods {
|
|
42
|
+
qualifiedInvalidateTransactions(blocks: SignedHydratedTransaction[], config?: TransactionInvalidationConfig): Promisable<ChainQualified<(HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta)[]>>;
|
|
43
|
+
}
|
|
44
|
+
/** Moniker identifier for the TransactionInvalidationViewer provider. */
|
|
45
|
+
export declare const TransactionInvalidationViewerMoniker: "TransactionInvalidationViewer";
|
|
46
|
+
/** Type literal for the TransactionInvalidationViewer provider moniker. */
|
|
47
|
+
export type TransactionInvalidationViewerMoniker = typeof TransactionInvalidationViewerMoniker;
|
|
48
|
+
/** Viewer interface for reading TransactionInvalidation data. */
|
|
49
|
+
export interface TransactionInvalidationViewer extends TransactionInvalidationViewerMethods, Provider<TransactionInvalidationViewerMoniker> {
|
|
50
|
+
invalidateTransaction(block: SignedHydratedTransaction, config?: TransactionInvalidationConfig): Promisable<HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta>;
|
|
51
|
+
invalidateTransactions(blocks: SignedHydratedTransaction[], config?: TransactionInvalidationConfig): Promisable<(HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta)[]>;
|
|
52
|
+
qualifiedInvalidateTransaction(block: SignedHydratedTransaction, config?: TransactionInvalidationConfig): Promisable<ChainQualified<HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta>>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=TransactionInvalidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionInvalidation.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/TransactionInvalidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EAAE,yBAAyB,EAAE,qCAAqC,EAC3E,MAAM,iBAAiB,CAAA;AAGxB,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAA;AAEhF,uDAAuD;AACvD,eAAO,MAAM,sCAAsC;;;iBAGjD,CAAA;AAEF,iDAAiD;AACjD,eAAO,MAAM,gCAAgC;;;;;;;;;;;mDAK3C,CAAA;AAEF,0CAA0C;AAC1C,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAC5F,kFAAkF;AAClF,eAAO,MAAM,+BAA+B;;;;;;;;;;;EAAiD,CAAA;AAE7F;;GAEG;AAEH,MAAM,WAAW,oCAAoC;IACnD,+BAA+B,CAC7B,MAAM,EAAE,yBAAyB,EAAE,EACnC,MAAM,CAAC,EAAE,6BAA6B,GACrC,UAAU,CAAC,cAAc,CAAC,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC,CAAA;CAChH;AAED,yEAAyE;AACzE,eAAO,MAAM,oCAAoC,EAAG,+BAAwC,CAAA;AAC5F,2EAA2E;AAC3E,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,iEAAiE;AACjE,MAAM,WAAW,6BAA8B,SAAQ,oCAAoC,EAAE,QAAQ,CAAC,oCAAoC,CAAC;IACzI,qBAAqB,CACnB,KAAK,EAAE,yBAAyB,EAChC,MAAM,CAAC,EAAE,6BAA6B,GACrC,UAAU,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,CAAA;IAE3F,sBAAsB,CACpB,MAAM,EAAE,yBAAyB,EAAE,EACnC,MAAM,CAAC,EAAE,6BAA6B,GACrC,UAAU,CAAC,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAA;IAE/F,8BAA8B,CAC5B,KAAK,EAAE,yBAAyB,EAChC,MAAM,CAAC,EAAE,6BAA6B,GACrC,UAAU,CAAC,cAAc,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,CAAC,CAAA;CAC5G"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type Promisable } from '@ariestools/sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import type { ChainQualified, Provider, SignedHydratedTransaction, SignedHydratedTransactionWithHashMeta } from '../../protocol-model/index.js';
|
|
4
|
+
import type { HydratedTransactionValidationError } from '../validation/index.js';
|
|
5
|
+
/** TransactionValidationConfigFieldsZod constant. */
|
|
6
|
+
export declare const TransactionValidationConfigFieldsZod: z.ZodObject<{
|
|
7
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
/** TransactionValidationConfigZod constant. */
|
|
11
|
+
export declare const TransactionValidationConfigZod: z.ZodUnion<readonly [z.ZodObject<{
|
|
12
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
head: import("zod/mini").ZodMiniPipe<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>;
|
|
15
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
range: z.ZodTuple<[z.ZodPipe<z.ZodInt, z.ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>, z.ZodPipe<z.ZodInt, z.ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>], null>;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
value: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
state: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>;
|
|
23
|
+
/** TransactionValidationConfig type. */
|
|
24
|
+
export type TransactionValidationConfig = z.infer<typeof TransactionValidationConfigZod>;
|
|
25
|
+
/** Type guard that checks if a value is a valid TransactionValidationConfig. */
|
|
26
|
+
export declare const isTransactionValidationConfig: <T>(value: T) => value is T & (Record<string, never> | {
|
|
27
|
+
value?: boolean | undefined;
|
|
28
|
+
state?: boolean | undefined;
|
|
29
|
+
} | {
|
|
30
|
+
head: import("@ariestools/sdk").BrandedHash;
|
|
31
|
+
value?: boolean | undefined;
|
|
32
|
+
state?: boolean | undefined;
|
|
33
|
+
} | {
|
|
34
|
+
range: [import('../../protocol-model/index.js').XL1BlockNumber, import('../../protocol-model/index.js').XL1BlockNumber];
|
|
35
|
+
value?: boolean | undefined;
|
|
36
|
+
state?: boolean | undefined;
|
|
37
|
+
});
|
|
38
|
+
/** TransactionValidationViewerMethods interface. */
|
|
39
|
+
export interface TransactionValidationViewerMethods {
|
|
40
|
+
qualifiedValidateTransactions(blocks: SignedHydratedTransaction[], config?: TransactionValidationConfig): Promisable<ChainQualified<(HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta)[]>>;
|
|
41
|
+
}
|
|
42
|
+
/** Moniker identifier for the TransactionValidationViewer provider. */
|
|
43
|
+
export declare const TransactionValidationViewerMoniker: "TransactionValidationViewer";
|
|
44
|
+
/** Type literal for the TransactionValidationViewer provider moniker. */
|
|
45
|
+
export type TransactionValidationViewerMoniker = typeof TransactionValidationViewerMoniker;
|
|
46
|
+
/**
|
|
47
|
+
* Checks if transactions are valid (currently valid) according to protocol rules.
|
|
48
|
+
* In the case that they are not valid, they may still become valid in the future.
|
|
49
|
+
*/
|
|
50
|
+
export interface TransactionValidationViewer extends TransactionValidationViewerMethods, Provider<TransactionValidationViewerMoniker> {
|
|
51
|
+
qualifiedValidateTransaction(block: SignedHydratedTransaction, config?: TransactionValidationConfig): Promisable<ChainQualified<HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta>>;
|
|
52
|
+
validateTransaction(block: SignedHydratedTransaction, config?: TransactionValidationConfig): Promisable<HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta>;
|
|
53
|
+
validateTransactions(blocks: SignedHydratedTransaction[], config?: TransactionValidationConfig): Promisable<(HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta)[]>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=TransactionValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionValidation.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/TransactionValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EAAE,yBAAyB,EAAE,qCAAqC,EAC3E,MAAM,iBAAiB,CAAA;AAGxB,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAA;AAEhF,qDAAqD;AACrD,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAA;AAEF,+CAA+C;AAC/C,eAAO,MAAM,8BAA8B;;;;;;;;;;;mDAKzC,CAAA;AAEF,wCAAwC;AACxC,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACxF,gFAAgF;AAChF,eAAO,MAAM,6BAA6B;;;;;;;;;;;EAA+C,CAAA;AAEzF,oDAAoD;AACpD,MAAM,WAAW,kCAAkC;IACjD,6BAA6B,CAC3B,MAAM,EAAE,yBAAyB,EAAE,EACnC,MAAM,CAAC,EAAE,2BAA2B,GACnC,UAAU,CAAC,cAAc,CAAC,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC,CAAA;CAChH;AAED,uEAAuE;AACvE,eAAO,MAAM,kCAAkC,EAAG,6BAAsC,CAAA;AACxF,yEAAyE;AACzE,MAAM,MAAM,kCAAkC,GAAG,OAAO,kCAAkC,CAAA;AAE1F;;;GAGG;AAEH,MAAM,WAAW,2BAA4B,SAAQ,kCAAkC,EAAE,QAAQ,CAAC,kCAAkC,CAAC;IACnI,4BAA4B,CAC1B,KAAK,EAAE,yBAAyB,EAChC,MAAM,CAAC,EAAE,2BAA2B,GACnC,UAAU,CAAC,cAAc,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,CAAC,CAAA;IAE3G,mBAAmB,CACjB,KAAK,EAAE,yBAAyB,EAChC,MAAM,CAAC,EAAE,2BAA2B,GACnC,UAAU,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,CAAA;IAE3F,oBAAoB,CAClB,MAAM,EAAE,yBAAyB,EAAE,EACnC,MAAM,CAAC,EAAE,2BAA2B,GACnC,UAAU,CAAC,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAA;CAChG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { Signed, XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { AttoXL1, BlockBoundWitness, Provider, TransactionBoundWitness, Transfer, XL1BlockRange } from '../../protocol-model/index.js';
|
|
4
|
+
/** TransferBalanceHistoryItem type. */
|
|
5
|
+
export type TransferBalanceHistoryItem = [
|
|
6
|
+
Signed<BlockBoundWitness>,
|
|
7
|
+
Signed<TransactionBoundWitness> | null,
|
|
8
|
+
Transfer
|
|
9
|
+
];
|
|
10
|
+
/** TransferPair type. */
|
|
11
|
+
export type TransferPair = [XyoAddress, XyoAddress];
|
|
12
|
+
/** TransferBalancesViewerMethods interface. */
|
|
13
|
+
export interface TransferBalancesViewerMethods {
|
|
14
|
+
transferBalances(address: XyoAddress[]): Promisable<Partial<Record<XyoAddress, Record<XyoAddress, AttoXL1>>>>;
|
|
15
|
+
transferBalancesHistories(address: XyoAddress[]): Promisable<Partial<Record<XyoAddress, Record<XyoAddress, TransferBalanceHistoryItem[]>>>>;
|
|
16
|
+
transferPairBalances(address: TransferPair[]): Promisable<Partial<Record<XyoAddress, Record<XyoAddress, AttoXL1>>>>;
|
|
17
|
+
transferPairBalancesHistories(address: TransferPair[]): Promisable<Partial<Record<XyoAddress, Record<XyoAddress, TransferBalanceHistoryItem[]>>>>;
|
|
18
|
+
}
|
|
19
|
+
/** Moniker identifier for the TransferBalanceViewer provider. */
|
|
20
|
+
export declare const TransferBalanceViewerMoniker: "TransferBalanceViewer";
|
|
21
|
+
/** Type literal for the TransferBalanceViewer provider moniker. */
|
|
22
|
+
export type TransferBalanceViewerMoniker = typeof TransferBalanceViewerMoniker;
|
|
23
|
+
/** Viewer interface for reading TransferBalance data. */
|
|
24
|
+
export interface TransferBalanceViewer extends TransferBalancesViewerMethods, Provider<TransferBalanceViewerMoniker> {
|
|
25
|
+
transferBalance(address: XyoAddress): Promisable<AttoXL1>;
|
|
26
|
+
transferBalanceHistory(address: XyoAddress, range?: XL1BlockRange): Promisable<TransferBalanceHistoryItem[]>;
|
|
27
|
+
transferPairBalance(address: TransferPair): Promisable<AttoXL1>;
|
|
28
|
+
transferPairBalanceHistory(address: TransferPair): Promisable<TransferBalanceHistoryItem[]>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=TransferBalance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransferBalance.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/TransferBalance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,KAAK,EACV,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,uBAAuB,EAAE,QAAQ,EAAE,aAAa,EACvF,MAAM,iBAAiB,CAAA;AAExB,uCAAuC;AACvC,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,CAAC,iBAAiB,CAAC;IACzB,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;IACtC,QAAQ;CACT,CAAA;AACD,yBAAyB;AACzB,MAAM,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;AAEnD,+CAA+C;AAC/C,MAAM,WAAW,6BAA6B;IAC5C,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IAC7G,yBAAyB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,0BAA0B,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3I,oBAAoB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IACnH,6BAA6B,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,0BAA0B,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;CAClJ;AAED,iEAAiE;AACjE,eAAO,MAAM,4BAA4B,EAAG,uBAAgC,CAAA;AAC5E,mEAAmE;AACnE,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAA;AAE9E,yDAAyD;AACzD,MAAM,WAAW,qBAAsB,SAAQ,6BAA6B,EAAE,QAAQ,CAAC,4BAA4B,CAAC;IAClH,eAAe,CAAC,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IACzD,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,aAAa,GAAG,UAAU,CAAC,0BAA0B,EAAE,CAAC,CAAA;IAC5G,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/D,0BAA0B,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,0BAA0B,EAAE,CAAC,CAAA;CAC5F"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Hash, Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { HydratedBlockWithHashMeta, Provider, ProviderMoniker } from '../../protocol-model/index.js';
|
|
3
|
+
import type { BlockViewerMethods } from './Block.js';
|
|
4
|
+
type ExtendableBlockViewerMethods = Omit<BlockViewerMethods, 'rate' | 'stepSizeRate' | 'timeDurationRate'>;
|
|
5
|
+
/** WindowedBlockViewerMethods interface. */
|
|
6
|
+
export interface WindowedBlockViewerMethods extends ExtendableBlockViewerMethods {
|
|
7
|
+
blocksByTransactionHashes(hashes: Hash[]): Promisable<HydratedBlockWithHashMeta[]>;
|
|
8
|
+
}
|
|
9
|
+
/** Moniker identifier for the WindowedBlockViewer provider. */
|
|
10
|
+
export declare const WindowedBlockViewerMoniker: "WindowedBlockViewer";
|
|
11
|
+
/** Type literal for the WindowedBlockViewer provider moniker. */
|
|
12
|
+
export type WindowedBlockViewerMoniker = typeof WindowedBlockViewerMoniker;
|
|
13
|
+
/** Viewer interface for reading WindowedBlock data. */
|
|
14
|
+
export interface WindowedBlockViewer<TMoniker extends ProviderMoniker = WindowedBlockViewerMoniker> extends WindowedBlockViewerMethods, Provider<TMoniker> {
|
|
15
|
+
blockByTransactionHash(hash: Hash): Promisable<HydratedBlockWithHashMeta | null>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=WindowedBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WindowedBlock.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/WindowedBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEvD,OAAO,KAAK,EACV,yBAAyB,EAAE,QAAQ,EAAE,eAAe,EACrD,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,KAAK,4BAA4B,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,cAAc,GAAG,kBAAkB,CAAC,CAAA;AAE1G,4CAA4C;AAC5C,MAAM,WAAW,0BAA2B,SAAQ,4BAA4B;IAC9E,yBAAyB,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,yBAAyB,EAAE,CAAC,CAAA;CACnF;AAED,+DAA+D;AAC/D,eAAO,MAAM,0BAA0B,EAAG,qBAA8B,CAAA;AACxE,iEAAiE;AACjE,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAA;AAE1E,uDAAuD;AACvD,MAAM,WAAW,mBAAmB,CAAC,QAAQ,SAAS,eAAe,GAAG,0BAA0B,CAAE,SAAQ,0BAA0B,EAAE,QAAQ,CAAC,QAAQ,CAAC;IACxJ,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,UAAU,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;CACjF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { AccountBalanceViewer, Provider } from '../../protocol-model/index.js';
|
|
2
|
+
import type { BlockViewer, BlockViewerMethods } from './Block.js';
|
|
3
|
+
import type { FinalizationViewer } from './Finalization.js';
|
|
4
|
+
import type { ForkViewerMethods } from './Fork.js';
|
|
5
|
+
import type { MempoolViewer } from './Mempool.js';
|
|
6
|
+
import type { NetworkStakeViewer } from './NetworkStake/index.js';
|
|
7
|
+
import type { NetworkStakeStepRewardViewerMethods } from './NetworkStakeStepReward.js';
|
|
8
|
+
import type { StakeViewer, StakeViewerMethods } from './Stake.js';
|
|
9
|
+
import type { StepViewer } from './StepViewer.js';
|
|
10
|
+
import type { TimeSyncViewer } from './TimeSync.js';
|
|
11
|
+
import type { TransactionViewer, TransactionViewerMethods } from './Transaction.js';
|
|
12
|
+
/** XyoViewerMethods interface. */
|
|
13
|
+
export interface XyoViewerMethods extends NetworkStakeStepRewardViewerMethods, BlockViewerMethods, Omit<TransactionViewerMethods, 'byHash'>, Omit<StakeViewerMethods, 'minWithdrawalBlocks' | 'rewardsContract' | 'stakingTokenAddress' | 'active' | 'activeByAddressStaked' | 'activeByStaker' | 'pending' | 'pendingByStaker' | 'withdrawn' | 'withdrawnByStaker'>, ForkViewerMethods {
|
|
14
|
+
}
|
|
15
|
+
/** XyoViewerMethodsV2 interface. */
|
|
16
|
+
export interface XyoViewerMethodsV2 {
|
|
17
|
+
}
|
|
18
|
+
/** Moniker identifier for the XyoViewer provider. */
|
|
19
|
+
export declare const XyoViewerMoniker: "XyoViewer";
|
|
20
|
+
/** Type literal for the XyoViewer provider moniker. */
|
|
21
|
+
export type XyoViewerMoniker = typeof XyoViewerMoniker;
|
|
22
|
+
/** Viewer interface for reading Xyo data. */
|
|
23
|
+
export interface XyoViewer extends Omit<BlockViewer, 'moniker'>, XyoViewerMethods, Omit<StakeViewerMethods, 'moniker' | 'minWithdrawalBlocks' | 'rewardsContract' | 'stakingTokenAddress' | 'active' | 'activeByAddressStaked' | 'activeByStaker' | 'pending' | 'pendingByStaker' | 'withdrawn' | 'withdrawnByStaker'>, Provider<XyoViewerMoniker> {
|
|
24
|
+
account: {
|
|
25
|
+
balance: AccountBalanceViewer;
|
|
26
|
+
};
|
|
27
|
+
block: BlockViewer;
|
|
28
|
+
finalization: FinalizationViewer;
|
|
29
|
+
mempool: MempoolViewer;
|
|
30
|
+
networkStake: NetworkStakeViewer;
|
|
31
|
+
stake: StakeViewer;
|
|
32
|
+
step: StepViewer;
|
|
33
|
+
time: TimeSyncViewer;
|
|
34
|
+
transaction: TransactionViewer;
|
|
35
|
+
}
|
|
36
|
+
/** XyoViewerV2 interface. */
|
|
37
|
+
export interface XyoViewerV2 extends XyoViewerMethodsV2, Provider<XyoViewerMoniker> {
|
|
38
|
+
account: {
|
|
39
|
+
balance: AccountBalanceViewer;
|
|
40
|
+
};
|
|
41
|
+
block: BlockViewer;
|
|
42
|
+
finalization: FinalizationViewer;
|
|
43
|
+
mempool: MempoolViewer;
|
|
44
|
+
networkStake: NetworkStakeViewer;
|
|
45
|
+
stake: StakeViewer;
|
|
46
|
+
step: StepViewer;
|
|
47
|
+
time: TimeSyncViewer;
|
|
48
|
+
transaction: TransactionViewer;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=XyoViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XyoViewer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/XyoViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,QAAQ,EACT,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAA;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAA;AAEnF,kCAAkC;AAClC,MAAM,WAAW,gBAAiB,SAChC,mCAAmC,EAAE,kBAAkB,EACvD,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,EAAE,IAAI,CAC5C,kBAAkB,EAAE,qBAAqB,GAAG,iBAAiB,GAAG,qBAAqB,GAAG,QAAQ,GAC9F,uBAAuB,GAAG,gBAAgB,GAAG,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,mBAAmB,CACjH,EAAE,iBAAiB;CACrB;AAED,oCAAoC;AACpC,MAAM,WAAW,kBAAkB;CAElC;AAED,qDAAqD;AACrD,eAAO,MAAM,gBAAgB,EAAG,WAAoB,CAAA;AACpD,uDAAuD;AACvD,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAA;AAEtD,6CAA6C;AAC7C,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,gBAAgB,EAC/E,IAAI,CACF,kBAAkB,EAAE,SAAS,GAAG,qBAAqB,GAAG,iBAAiB,GAAG,qBAAqB,GAAG,QAAQ,GAC1G,uBAAuB,GAAG,gBAAgB,GAAG,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,mBAAmB,CACjH,EAAE,QAAQ,CAAC,gBAAgB,CAAC;IAC7B,OAAO,EAAE;QACP,OAAO,EAAE,oBAAoB,CAAA;KAC9B,CAAA;IACD,KAAK,EAAE,WAAW,CAAA;IAClB,YAAY,EAAE,kBAAkB,CAAA;IAChC,OAAO,EAAE,aAAa,CAAA;IACtB,YAAY,EAAE,kBAAkB,CAAA;IAChC,KAAK,EAAE,WAAW,CAAA;IAClB,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,cAAc,CAAA;IACpB,WAAW,EAAE,iBAAiB,CAAA;CAC/B;AAED,6BAA6B;AAC7B,MAAM,WAAW,WAAY,SAAQ,kBAAkB,EAAE,QAAQ,CAAC,gBAAgB,CAAC;IACjF,OAAO,EAAE;QACP,OAAO,EAAE,oBAAoB,CAAA;KAC9B,CAAA;IACD,KAAK,EAAE,WAAW,CAAA;IAClB,YAAY,EAAE,kBAAkB,CAAA;IAChC,OAAO,EAAE,aAAa,CAAA;IACtB,YAAY,EAAE,kBAAkB,CAAA;IAChC,KAAK,EAAE,WAAW,CAAA;IAClB,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,cAAc,CAAA;IACpB,WAAW,EAAE,iBAAiB,CAAA;CAC/B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from './Block.js';
|
|
2
|
+
export * from './BlockInvalidation.js';
|
|
3
|
+
export * from './BlockReward.js';
|
|
4
|
+
export * from './BlockValidation.js';
|
|
5
|
+
export * from './ChainContract.js';
|
|
6
|
+
export * from './ChainStakeViewer.js';
|
|
7
|
+
export * from './ChainState.js';
|
|
8
|
+
export * from './DeadLetterQueue.js';
|
|
9
|
+
export * from './Finalization.js';
|
|
10
|
+
export * from './Fork.js';
|
|
11
|
+
export * from './IndexViewer.js';
|
|
12
|
+
export * from './Mempool.js';
|
|
13
|
+
export * from './NetworkStake/index.js';
|
|
14
|
+
export * from './NetworkStakeStepReward.js';
|
|
15
|
+
export * from './Stake.js';
|
|
16
|
+
export * from './StakeEvents.js';
|
|
17
|
+
export * from './StakeTotals.js';
|
|
18
|
+
export * from './StepStake.js';
|
|
19
|
+
export * from './StepViewer.js';
|
|
20
|
+
export * from './Sync.js';
|
|
21
|
+
export * from './TimeSync.js';
|
|
22
|
+
export * from './Transaction.js';
|
|
23
|
+
export * from './TransactionInvalidation.js';
|
|
24
|
+
export * from './TransactionValidation.js';
|
|
25
|
+
export * from './TransferBalance.js';
|
|
26
|
+
export * from './WindowedBlock.js';
|
|
27
|
+
export * from './XyoViewer.js';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Brand } from '@ariestools/sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
/** Branded number type representing a generic block number */
|
|
4
|
+
export type BlockNumber = Brand<number, {
|
|
5
|
+
readonly __blockNumber: true;
|
|
6
|
+
}>;
|
|
7
|
+
/** Zod schema that validates and brands a number as a BlockNumber */
|
|
8
|
+
export declare const BlockNumberZod: z.ZodPipe<z.ZodInt, z.ZodTransform<BlockNumber, number>>;
|
|
9
|
+
/** Zod schema that coerces a Numberish value into a BlockNumber */
|
|
10
|
+
export declare const BlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>;
|
|
11
|
+
/** Input type for BlockNumberishZod, accepting number, string, or bigint */
|
|
12
|
+
export type BlockNumberish = z.input<typeof BlockNumberishZod>;
|
|
13
|
+
/** Casts a number to BlockNumber, returning undefined if validation fails */
|
|
14
|
+
export declare const asBlockNumber: {
|
|
15
|
+
<T>(value: T): (T & number & {
|
|
16
|
+
readonly __blockNumber: true;
|
|
17
|
+
}) | undefined;
|
|
18
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & number & {
|
|
19
|
+
readonly __blockNumber: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
/** Coerces a Numberish value to BlockNumber, returning undefined if conversion fails */
|
|
23
|
+
export declare const toBlockNumber: {
|
|
24
|
+
<T>(value: T): (T & number & {
|
|
25
|
+
readonly __blockNumber: true;
|
|
26
|
+
}) | undefined;
|
|
27
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & number & {
|
|
28
|
+
readonly __blockNumber: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/** The zero block number constant */
|
|
32
|
+
export declare const BLOCK_NUMBER_ZERO: (0 & {
|
|
33
|
+
readonly __blockNumber: true;
|
|
34
|
+
}) | undefined;
|
|
35
|
+
//# sourceMappingURL=BlockNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockNumber.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/BlockNumber/BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAE5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,8DAA8D;AAC9D,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEzE,qEAAqE;AACrE,eAAO,MAAM,cAAc,0DAAyD,CAAA;AACpF,mEAAmE;AACnE,eAAO,MAAM,iBAAiB,mMAAgD,CAAA;AAE9E,4EAA4E;AAC5E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9D,6EAA6E;AAC7E,eAAO,MAAM,aAAa;;gCAXwC,IAAI;;;gCAAJ,IAAI;;CAWiB,CAAA;AACvF,wFAAwF;AACxF,eAAO,MAAM,aAAa;;gCAbwC,IAAI;;;gCAAJ,IAAI;;CAaoB,CAAA;AAE1F,qCAAqC;AACrC,eAAO,MAAM,iBAAiB;4BAhBoC,IAAI;cAgBrB,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type Brand } from '@ariestools/sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import type { BlockNumber } from './BlockNumber.js';
|
|
4
|
+
/** Branded type representing a block number on the Ethereum chain */
|
|
5
|
+
export type EthBlockNumber = Brand<BlockNumber, {
|
|
6
|
+
readonly __ethBlockNumber: true;
|
|
7
|
+
}>;
|
|
8
|
+
/** Zod schema that validates and brands a number as an EthBlockNumber */
|
|
9
|
+
export declare const EthBlockNumberZod: z.ZodPipe<z.ZodInt, z.ZodTransform<EthBlockNumber, number>>;
|
|
10
|
+
/** Zod schema that coerces a Numberish value into an EthBlockNumber */
|
|
11
|
+
export declare const EthBlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>, z.ZodTransform<EthBlockNumber, BlockNumber>>;
|
|
12
|
+
/** Input type for EthBlockNumberishZod, accepting number, string, or bigint */
|
|
13
|
+
export type EthBlockNumberish = z.input<typeof EthBlockNumberishZod>;
|
|
14
|
+
/** Casts a number to EthBlockNumber, returning undefined if validation fails */
|
|
15
|
+
export declare const asEthBlockNumber: {
|
|
16
|
+
<T>(value: T): (T & number & {
|
|
17
|
+
readonly __blockNumber: true;
|
|
18
|
+
} & {
|
|
19
|
+
readonly __ethBlockNumber: true;
|
|
20
|
+
}) | undefined;
|
|
21
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & number & {
|
|
22
|
+
readonly __blockNumber: true;
|
|
23
|
+
} & {
|
|
24
|
+
readonly __ethBlockNumber: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
/** Coerces a Numberish value to EthBlockNumber, returning undefined if conversion fails */
|
|
28
|
+
export declare const toEthBlockNumber: {
|
|
29
|
+
<T>(value: T): (T & number & {
|
|
30
|
+
readonly __blockNumber: true;
|
|
31
|
+
} & {
|
|
32
|
+
readonly __ethBlockNumber: true;
|
|
33
|
+
}) | undefined;
|
|
34
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & number & {
|
|
35
|
+
readonly __blockNumber: true;
|
|
36
|
+
} & {
|
|
37
|
+
readonly __ethBlockNumber: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/** The zero block number constant for the Ethereum chain */
|
|
41
|
+
export declare const ETH_BLOCK_NUMBER_ZERO: (0 & {
|
|
42
|
+
readonly __blockNumber: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly __ethBlockNumber: true;
|
|
45
|
+
}) | undefined;
|
|
46
|
+
//# sourceMappingURL=EthBlockNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EthBlockNumber.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/BlockNumber/EthBlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAE5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,qEAAqE;AACrE,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,yEAAyE;AACzE,eAAO,MAAM,iBAAiB,6DAA4D,CAAA;AAC1F,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,gFAAgF;AAChF,eAAO,MAAM,gBAAgB;;;;mCAXgD,IAAI;;;;;mCAAJ,IAAI;;CAWkB,CAAA;AACnG,2FAA2F;AAC3F,eAAO,MAAM,gBAAgB;;;;mCAbgD,IAAI;;;;;mCAAJ,IAAI;;CAaqB,CAAA;AAEtG,4DAA4D;AAC5D,eAAO,MAAM,qBAAqB;;;+BAhB2C,IAAI;cAgBzB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Zod schema that accepts number, string, or bigint and coerces to number */
|
|
3
|
+
export declare const NumberishZod: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>;
|
|
4
|
+
/** A value that can be coerced to a number: number, string, or bigint */
|
|
5
|
+
export type Numberish = z.input<typeof NumberishZod>;
|
|
6
|
+
//# sourceMappingURL=Numberish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Numberish.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/BlockNumber/Numberish.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,8EAA8E;AAC9E,eAAO,MAAM,YAAY,mJAEN,CAAA;AAEnB,yEAAyE;AACzE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/BlockNumber/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type Brand } from '@ariestools/sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import type { BlockNumber } from './BlockNumber.js';
|
|
4
|
+
/** Branded type representing a block number on the XL1 chain */
|
|
5
|
+
export type XL1BlockNumber = Brand<BlockNumber, {
|
|
6
|
+
readonly __xl1BlockNumber: true;
|
|
7
|
+
}>;
|
|
8
|
+
/** Zod schema that validates and brands a number as an XL1BlockNumber */
|
|
9
|
+
export declare const XL1BlockNumberZod: z.ZodPipe<z.ZodInt, z.ZodTransform<XL1BlockNumber, number>>;
|
|
10
|
+
/** Zod schema that coerces a Numberish value into an XL1BlockNumber */
|
|
11
|
+
export declare const XL1BlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>, z.ZodTransform<XL1BlockNumber, BlockNumber>>;
|
|
12
|
+
/** Input type for XL1BlockNumberishZod, accepting number, string, or bigint */
|
|
13
|
+
export type XL1BlockNumberish = z.input<typeof XL1BlockNumberishZod>;
|
|
14
|
+
/** Casts a number to XL1BlockNumber, returning undefined if validation fails */
|
|
15
|
+
export declare const asXL1BlockNumber: {
|
|
16
|
+
<T>(value: T): (T & number & {
|
|
17
|
+
readonly __blockNumber: true;
|
|
18
|
+
} & {
|
|
19
|
+
readonly __xl1BlockNumber: true;
|
|
20
|
+
}) | undefined;
|
|
21
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & number & {
|
|
22
|
+
readonly __blockNumber: true;
|
|
23
|
+
} & {
|
|
24
|
+
readonly __xl1BlockNumber: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
/** Coerces a Numberish value to XL1BlockNumber, returning undefined if conversion fails */
|
|
28
|
+
export declare const toXL1BlockNumber: {
|
|
29
|
+
<T>(value: T): (T & number & {
|
|
30
|
+
readonly __blockNumber: true;
|
|
31
|
+
} & {
|
|
32
|
+
readonly __xl1BlockNumber: true;
|
|
33
|
+
}) | undefined;
|
|
34
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & number & {
|
|
35
|
+
readonly __blockNumber: true;
|
|
36
|
+
} & {
|
|
37
|
+
readonly __xl1BlockNumber: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/** The zero block number constant for the XL1 chain */
|
|
41
|
+
export declare const XL1_BLOCK_NUMBER_ZERO: (0 & {
|
|
42
|
+
readonly __blockNumber: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly __xl1BlockNumber: true;
|
|
45
|
+
}) | undefined;
|
|
46
|
+
//# sourceMappingURL=xl1BlockNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xl1BlockNumber.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/BlockNumber/xl1BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAE5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,gEAAgE;AAChE,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,yEAAyE;AACzE,eAAO,MAAM,iBAAiB,6DAA4D,CAAA;AAC1F,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,gFAAgF;AAChF,eAAO,MAAM,gBAAgB;;;;mCAXgD,IAAI;;;;;mCAAJ,IAAI;;CAWkB,CAAA;AACnG,2FAA2F;AAC3F,eAAO,MAAM,gBAAgB;;;;mCAbgD,IAAI;;;;;mCAAJ,IAAI;;CAaqB,CAAA;AAEtG,uDAAuD;AACvD,eAAO,MAAM,qBAAqB;;;+BAhB2C,IAAI;cAgBzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordKeyType.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-model/RecordKeyType.ts"],"names":[],"mappings":"AACA,2FAA2F;AAE3F,0BAA0B;AAC1B,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,SAAS,MAAM,GAAG,GAAG,CAAC,GAAG,KAAK,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Brand, Hash } from '@ariestools/sdk';
|
|
2
|
+
/** A block hash paired with its step index */
|
|
3
|
+
export interface StepHash {
|
|
4
|
+
block: Hash;
|
|
5
|
+
step: number;
|
|
6
|
+
}
|
|
7
|
+
/** Branded string representing a hash and step index separated by a pipe character */
|
|
8
|
+
export type StepHashString = Brand<string, {
|
|
9
|
+
readonly __stepHashString: true;
|
|
10
|
+
}>;
|
|
11
|
+
//# sourceMappingURL=StepHash.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepHash.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/Step/StepHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAElD,8CAA8C;AAC9C,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,sFAAsF;AACtF,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Brand } from '@ariestools/sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
/** Zod schema for a step identity combining a block number and step index */
|
|
4
|
+
export declare const StepIdentityZod: z.ZodObject<{
|
|
5
|
+
block: z.ZodPipe<z.ZodInt, z.ZodTransform<import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber, number>>;
|
|
6
|
+
step: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
/** Identifies a specific step by its block number and step index */
|
|
9
|
+
export type StepIdentity = z.infer<typeof StepIdentityZod>;
|
|
10
|
+
/** @deprecated use StepIdentity instead */
|
|
11
|
+
export interface StepContext extends StepIdentity {
|
|
12
|
+
}
|
|
13
|
+
/** Branded string representing a block number and step index separated by a pipe character */
|
|
14
|
+
export type StepIdentityString = Brand<string, {
|
|
15
|
+
readonly __stepIdentityString: true;
|
|
16
|
+
}>;
|
|
17
|
+
/** Parses a pipe-separated string into a StepIdentity, returning undefined if invalid */
|
|
18
|
+
export declare const asStepIdentity: (stepIdentityString: string) => StepIdentity | undefined;
|
|
19
|
+
//# sourceMappingURL=StepIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepIdentity.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/Step/StepIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,6EAA6E;AAC7E,eAAO,MAAM,eAAe;;;iBAG1B,CAAA;AACF,oEAAoE;AACpE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE1D,2CAA2C;AAC3C,MAAM,WAAW,WAAY,SAAQ,YAAY;CAAG;AAEpD,8FAA8F;AAC9F,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,oBAAoB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAWvF,yFAAyF;AACzF,eAAO,MAAM,cAAc,GAAI,oBAAoB,MAAM,KAAG,YAAY,GAAG,SAgB1E,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type XL1BlockNumber } from '../BlockNumber/index.js';
|
|
2
|
+
/** Array of step sizes based on primorial(n+2) + 1, defining the block intervals for each step level */
|
|
3
|
+
export declare const StepSizes: XL1BlockNumber[];
|
|
4
|
+
/** Type guard that checks if a value is a valid step index within the StepSizes array */
|
|
5
|
+
export declare function isValidStep(step: unknown): step is number;
|
|
6
|
+
/** Casts a value to a valid step index, returning undefined if invalid */
|
|
7
|
+
export declare const asValidStep: import("@ariestools/sdk").AsTypeFunction<number>;
|
|
8
|
+
/** Returns the block interval size for a given step index */
|
|
9
|
+
export declare function stepSize(step: number): number;
|
|
10
|
+
/** Fraction of block rewards allocated at each step level, expressed as [numerator, denominator] pairs */
|
|
11
|
+
export declare const StepRewardFractions: readonly [readonly [0n, 1n], readonly [0n, 1n], readonly [0n, 1n], readonly [1n, 10000n], readonly [2n, 1000n], readonly [3n, 100n], readonly [45n, 100n]];
|
|
12
|
+
//# sourceMappingURL=StepSizes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepSizes.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/Step/StepSizes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAK/E,wGAAwG;AACxG,eAAO,MAAM,SAAS,EAAE,cAAc,EAUrC,CAAA;AAED,yFAAyF;AACzF,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAKzD;AAED,0EAA0E;AAC1E,eAAO,MAAM,WAAW,kDAA4C,CAAA;AAEpE,6DAA6D;AAC7D,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAG7C;AAED,0GAA0G;AAC1G,eAAO,MAAM,mBAAmB,4JAQtB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/Step/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA"}
|