@xyo-network/xl1-protocol 4.0.11 → 4.0.14
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/README.md +57 -62
- 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 +6 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/isSchemaAllowed.d.ts +7 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/isSchemaAllowed.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/DataLakePublish.d.ts +27 -0
- package/dist/neutral/modules/protocol-lib/runners/DataLakePublish.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 +9 -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 +53 -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 +600 -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
package/README.md
CHANGED
|
@@ -5,29 +5,17 @@
|
|
|
5
5
|
[![npm-badge][]][npm-link]
|
|
6
6
|
[![license-badge][]][license-link]
|
|
7
7
|
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
## Table of Contents
|
|
11
|
-
|
|
12
|
-
- [Description](#description)
|
|
13
|
-
- [Install](#install)
|
|
14
|
-
- [Subpath Exports](#subpath-exports)
|
|
15
|
-
- [What's Inside](#whats-inside)
|
|
16
|
-
- [Building Locally](#building-locally)
|
|
17
|
-
- [Maintainers](#maintainers)
|
|
18
|
-
- [License](#license)
|
|
19
|
-
- [Credits](#credits)
|
|
8
|
+
> XL1 protocol models, interfaces, schemas, and validation in one package.
|
|
20
9
|
|
|
21
10
|
## Description
|
|
22
11
|
|
|
23
|
-
|
|
12
|
+
XL1 is the XYO Layer One blockchain protocol. This package is the protocol
|
|
13
|
+
surface for XL1: data models, provider and viewer contracts, network metadata,
|
|
14
|
+
JSON schema exports, and validation utilities.
|
|
24
15
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- `@xyo-network/xl1-validation` — block/bound-witness/transaction validators
|
|
29
|
-
|
|
30
|
-
If you're building a node, indexer, or any tool that needs the raw protocol primitives without RPC plumbing, this is your entry point. If you also want gateways, providers, RPC, and wrappers, use [`@xyo-network/xl1-sdk`](https://www.npmjs.com/package/@xyo-network/xl1-sdk) — it re-exports this package alongside two more SDK-tier packages.
|
|
16
|
+
Use it when you need protocol-level types or runtime validation without pulling
|
|
17
|
+
in gateway construction, JSON-RPC transports, storage drivers, or React bindings.
|
|
18
|
+
For application and service development, start with `@xyo-network/xl1-sdk`.
|
|
31
19
|
|
|
32
20
|
## Install
|
|
33
21
|
|
|
@@ -55,63 +43,70 @@ Using bun:
|
|
|
55
43
|
bun add @xyo-network/xl1-protocol
|
|
56
44
|
```
|
|
57
45
|
|
|
58
|
-
##
|
|
46
|
+
## Usage
|
|
47
|
+
|
|
48
|
+
Import the protocol layer from its explicit subpaths:
|
|
59
49
|
|
|
60
|
-
|
|
61
|
-
|
|
50
|
+
```ts
|
|
51
|
+
import { DefaultNetworks } from '@xyo-network/xl1-protocol/network-model'
|
|
52
|
+
import { BlockViewerMoniker } from '@xyo-network/xl1-protocol/protocol-lib'
|
|
53
|
+
import { asXL1BlockNumber } from '@xyo-network/xl1-protocol/protocol-model'
|
|
62
54
|
|
|
63
|
-
|
|
55
|
+
const sequence = DefaultNetworks.find(network => network.id === 'sequence')
|
|
56
|
+
const genesis = asXL1BlockNumber(0, true)
|
|
64
57
|
|
|
65
|
-
|
|
58
|
+
console.log(sequence?.name, BlockViewerMoniker, genesis)
|
|
59
|
+
```
|
|
66
60
|
|
|
67
|
-
|
|
61
|
+
Available subpaths:
|
|
68
62
|
|
|
69
|
-
|
|
63
|
+
- `@xyo-network/xl1-protocol`
|
|
64
|
+
- `@xyo-network/xl1-protocol/network-model`
|
|
65
|
+
- `@xyo-network/xl1-protocol/protocol-lib`
|
|
66
|
+
- `@xyo-network/xl1-protocol/protocol-model`
|
|
67
|
+
- `@xyo-network/xl1-protocol/schema`
|
|
68
|
+
- `@xyo-network/xl1-protocol/validation`
|
|
69
|
+
- `@xyo-network/xl1-protocol/test`
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
## Documentation
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
- Use `protocol-model` for Zod-first XL1 data structures and value guards.
|
|
74
|
+
- Use `protocol-lib` for provider, viewer, runner, gateway, and status contracts.
|
|
75
|
+
- Use `network-model` for network metadata and static REST path helpers.
|
|
76
|
+
- Use `schema` and `validation` at serialization, storage, and chain-validation boundaries.
|
|
77
|
+
- Use `@xyo-network/xl1-sdk` when you need concrete gateway, RPC, or provider implementations.
|
|
78
|
+
|
|
79
|
+
## AI Agent Skills
|
|
80
|
+
|
|
81
|
+
Install the recommended XL1/XYO skills with [Skills.sh](https://skills.sh):
|
|
74
82
|
|
|
75
|
-
|
|
83
|
+
```sh
|
|
84
|
+
npx skills add XYOracleNetwork/xyo-skills --all
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
In XY toolchain repos, the equivalent convenience command is:
|
|
76
88
|
|
|
77
89
|
```sh
|
|
78
|
-
xy
|
|
79
|
-
xy
|
|
80
|
-
xy lint # eslint
|
|
90
|
+
pnpm xy skills defaults
|
|
91
|
+
pnpm xy skills lint --fix
|
|
81
92
|
```
|
|
82
93
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<br />
|
|
95
|
-
<a href="https://arietrouw.com">arietrouw.com</a>
|
|
96
|
-
</td>
|
|
97
|
-
<td align="center" valign="top" width="120">
|
|
98
|
-
<a href="https://github.com/jonesmac">
|
|
99
|
-
<img src="https://github.com/jonesmac.png" width="80" height="80" alt="Matt Jones" /><br />
|
|
100
|
-
<sub><b>Matt Jones</b></sub>
|
|
101
|
-
</a>
|
|
102
|
-
</td>
|
|
103
|
-
<td align="center" valign="top" width="120">
|
|
104
|
-
<a href="https://github.com/JoelBCarter">
|
|
105
|
-
<img src="https://github.com/JoelBCarter.png" width="80" height="80" alt="Joel Carter" /><br />
|
|
106
|
-
<sub><b>Joel Carter</b></sub>
|
|
107
|
-
</a>
|
|
108
|
-
</td>
|
|
109
|
-
</tr>
|
|
110
|
-
</table>
|
|
94
|
+
For XL1 work, ask your agent to use `xyo-knowledge`, `xl1-knowledge`, and
|
|
95
|
+
`xl1-patterns`. These skills cover XYO primitives, XL1 chain and gateway APIs,
|
|
96
|
+
and application patterns for XL1 dApps.
|
|
97
|
+
|
|
98
|
+
## Building Locally
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
pnpm xy build @xyo-network/xl1-protocol
|
|
102
|
+
pnpm xy test @xyo-network/xl1-protocol
|
|
103
|
+
pnpm xy lint @xyo-network/xl1-protocol
|
|
104
|
+
```
|
|
111
105
|
|
|
112
106
|
## License
|
|
113
107
|
|
|
114
|
-
See the [LICENSE](
|
|
108
|
+
See the repository [LICENSE](../../LICENSE) file for license rights and
|
|
109
|
+
limitations (LGPL-3.0-only).
|
|
115
110
|
|
|
116
111
|
## Credits
|
|
117
112
|
|
|
@@ -120,5 +115,5 @@ See the [LICENSE](./LICENSE) file for license rights and limitations (LGPL-3.0-o
|
|
|
120
115
|
[npm-badge]: https://img.shields.io/npm/v/@xyo-network/xl1-protocol.svg
|
|
121
116
|
[npm-link]: https://www.npmjs.com/package/@xyo-network/xl1-protocol
|
|
122
117
|
[license-badge]: https://img.shields.io/npm/l/@xyo-network/xl1-protocol.svg
|
|
123
|
-
[license-link]:
|
|
118
|
+
[license-link]: ../../LICENSE
|
|
124
119
|
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
1
|
+
export * from './modules/network-model/index.js';
|
|
2
|
+
export * from './modules/protocol-lib/index.js';
|
|
3
|
+
export * from './modules/schema/index.js';
|
|
4
|
+
export * from './modules/validation/index.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
export * from "
|
|
3
|
-
export * from "
|
|
4
|
-
export * from "
|
|
5
|
-
export * from "
|
|
2
|
+
export * from "#network-model";
|
|
3
|
+
export * from "#protocol-lib";
|
|
4
|
+
export * from "#schema";
|
|
5
|
+
export * from "#validation";
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["// Generated by xy monolith layout sync (package-sync-layout) \u2014 do not edit by hand.\nexport * from '#network-model'\nexport * from '#protocol-lib'\nexport * from '#schema'\nexport * from '#validation'\n"],
|
|
5
|
+
"mappings": ";AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/icons/local/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/icons/mainnet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/icons/sequence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/network-model/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LocalNetwork, MainNetwork, SequenceNetwork } from './Networks.js';
|
|
2
|
+
/** Map of network IDs to their corresponding Data Lake API URLs. */
|
|
3
|
+
export declare const NetworkDataLakeUrls: {
|
|
4
|
+
readonly [MainNetwork.id]: "https://api.archivist.xyo.network/dataLake";
|
|
5
|
+
readonly [SequenceNetwork.id]: "https://beta.api.archivist.xyo.network/dataLake";
|
|
6
|
+
readonly [LocalNetwork.id]: "http://localhost:8080/dataLake";
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=NetworkDataLakeUrls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkDataLakeUrls.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/lib/NetworkDataLakeUrls.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EAAE,WAAW,EAAE,eAAe,EAC3C,MAAM,eAAe,CAAA;AAEtB,oEAAoE;AACpE,eAAO,MAAM,mBAAmB;IAC9B,SAAA,CAAC,WAAW,CAAC,EAAE,CAAC,+CAA8C;IAC9D,SAAA,CAAC,eAAe,CAAC,EAAE,CAAC,oDAAmD;IACvE,SAAA,CAAC,YAAY,CAAC,EAAE,CAAC,mCAAkC;CACL,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { NetworkBootstrap } from '../models/index.js';
|
|
2
|
+
/** Bootstrap configuration for the XYO Layer 1 mainnet. */
|
|
3
|
+
export declare const MainNetwork: NetworkBootstrap;
|
|
4
|
+
/** Bootstrap configuration for the XYO Layer 1 sequence (test) network. */
|
|
5
|
+
export declare const SequenceNetwork: NetworkBootstrap;
|
|
6
|
+
/** Bootstrap configuration for a local development network. */
|
|
7
|
+
export declare const LocalNetwork: NetworkBootstrap;
|
|
8
|
+
/** Default set of available XYO Layer 1 networks (mainnet, sequence, local). */
|
|
9
|
+
export declare const DefaultNetworks: NetworkBootstrap[];
|
|
10
|
+
//# sourceMappingURL=Networks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Networks.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/lib/Networks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAa,MAAM,oBAAoB,CAAA;AAGrE,2DAA2D;AAC3D,eAAO,MAAM,WAAW,EAAE,gBAUzB,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,gBAU7B,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,YAAY,EAAE,gBAS1B,CAAA;AAED,gFAAgF;AAChF,eAAO,MAAM,eAAe,EAAE,gBAAgB,EAAiD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/manifest/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PackageManifestPayload } from '@xyo-network/sdk';
|
|
2
|
+
/** @deprecated XYO Node manifest bootstrap is no longer used; wire providers via archivist bindings or JsonRpc instead. */
|
|
3
|
+
export declare const NetworkNodeManifest: PackageManifestPayload;
|
|
4
|
+
//# sourceMappingURL=networkManifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkManifest.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/manifest/networkManifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAI9D,2HAA2H;AAC3H,eAAO,MAAM,mBAAmB,EAAsB,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Address } from '@ariestools/sdk';
|
|
2
|
+
import type { Payload } from '@xyo-network/sdk';
|
|
3
|
+
import type { ChainId } from '../../protocol-lib/index.js';
|
|
4
|
+
import type { NetworkId } from './NetworkId.js';
|
|
5
|
+
/** Connection details for accessing a chain endpoint. */
|
|
6
|
+
export interface ChainConnection {
|
|
7
|
+
/** Chain Identifier - can be a hex (eth contract address) or a string */
|
|
8
|
+
chain?: ChainId;
|
|
9
|
+
/** Name of the chain */
|
|
10
|
+
name: string;
|
|
11
|
+
/** URL for accessing the network */
|
|
12
|
+
url: string;
|
|
13
|
+
}
|
|
14
|
+
/** Schema identifier for network bootstrap payloads. */
|
|
15
|
+
export declare const NetworkBootstrapSchema: "network.xyo.network.bootstrap" & {
|
|
16
|
+
readonly __schema: true;
|
|
17
|
+
};
|
|
18
|
+
/** Schema type for network bootstrap payloads. */
|
|
19
|
+
export type NetworkBootstrapSchema = typeof NetworkBootstrapSchema;
|
|
20
|
+
/** Fields describing a chain fork origin. */
|
|
21
|
+
export interface ChainForkFields {
|
|
22
|
+
/** Block Number at which the chain was forked from */
|
|
23
|
+
forkedAtLastBlockNumber?: string;
|
|
24
|
+
/** Hash in the last block the chain was forked from */
|
|
25
|
+
forkedAtLastHash?: string;
|
|
26
|
+
/** Address of the forked chain */
|
|
27
|
+
forkedChainId?: Address;
|
|
28
|
+
}
|
|
29
|
+
/** Core fields describing an XYO network. */
|
|
30
|
+
export interface NetworkFields {
|
|
31
|
+
/** Description of the network */
|
|
32
|
+
description: string;
|
|
33
|
+
/** URL for accessing the network explorer */
|
|
34
|
+
explorerUrl?: string;
|
|
35
|
+
/** string representation of the icon (SVG) */
|
|
36
|
+
icon?: string;
|
|
37
|
+
/** Machine-readable identifier */
|
|
38
|
+
id: NetworkId;
|
|
39
|
+
schema: NetworkBootstrapSchema;
|
|
40
|
+
/** Symbol of the network */
|
|
41
|
+
symbol?: string;
|
|
42
|
+
}
|
|
43
|
+
/** Optional Properties can be found walking the chain to the genesis block */
|
|
44
|
+
export interface NetworkBootstrapFields extends NetworkFields, ChainForkFields, ChainConnection {
|
|
45
|
+
}
|
|
46
|
+
/** A network bootstrap extended with a flag indicating whether it is a custom network. */
|
|
47
|
+
export interface Network extends NetworkBootstrap {
|
|
48
|
+
custom: boolean;
|
|
49
|
+
}
|
|
50
|
+
/** Payload type containing all network bootstrap configuration fields. */
|
|
51
|
+
export type NetworkBootstrap = Payload<NetworkBootstrapFields, NetworkBootstrapSchema>;
|
|
52
|
+
/** Type guard that checks whether a payload is a NetworkBootstrap. */
|
|
53
|
+
export declare const isNetworkBootstrap: (x?: unknown) => x is NetworkBootstrap;
|
|
54
|
+
/** Optionally casts a value to a Network if it is a valid NetworkBootstrap. */
|
|
55
|
+
export declare const asOptionalNetwork: (value: import("@ariestools/sdk").AnyNonPromise) => NetworkBootstrap | undefined;
|
|
56
|
+
//# sourceMappingURL=Bootstrap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bootstrap.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/models/Bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAE5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,yDAAyD;AACzD,MAAM,WAAW,eAAe;IAC9B,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,oCAAoC;IACpC,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,wDAAwD;AACxD,eAAO,MAAM,sBAAsB;;CAAkD,CAAA;AACrF,kDAAkD;AAClD,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAElE,6CAA6C;AAC7C,MAAM,WAAW,eAAe;IAC9B,sDAAsD;IACtD,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,uDAAuD;IACvD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,kCAAkC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,6CAA6C;AAC7C,MAAM,WAAW,aAAa;IAC5B,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kCAAkC;IAClC,EAAE,EAAE,SAAS,CAAA;IACb,MAAM,EAAE,sBAAsB,CAAA;IAC9B,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,8EAA8E;AAC9E,MAAM,WAAW,sBAAuB,SAAQ,aAAa,EAAE,eAAe,EAAE,eAAe;CAAG;AAElG,0FAA0F;AAC1F,MAAM,WAAW,OAAQ,SAAQ,gBAAgB;IAC/C,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,0EAA0E;AAC1E,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,CAAA;AAEtF,sEAAsE;AACtE,eAAO,MAAM,kBAAkB,wCAAkE,CAAA;AAEjG,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB,kFAAqD,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GatewayName } from '../../protocol-lib/index.js';
|
|
2
|
+
/** Default network identifiers for mainnet, sequence, and local environments. */
|
|
3
|
+
export type DefaultNetworkIds = ('mainnet' & {
|
|
4
|
+
__gatewayName: true;
|
|
5
|
+
}) | ('sequence' & {
|
|
6
|
+
__gatewayName: true;
|
|
7
|
+
}) | ('local' & {
|
|
8
|
+
__gatewayName: true;
|
|
9
|
+
});
|
|
10
|
+
/** A network identifier, either a custom gateway name or one of the default network IDs. */
|
|
11
|
+
export type NetworkId<T extends GatewayName | void = void> = T extends void ? DefaultNetworkIds : T | DefaultNetworkIds;
|
|
12
|
+
//# sourceMappingURL=NetworkId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkId.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/models/NetworkId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEhD,iFAAiF;AACjF,MAAM,MAAM,iBAAiB,GAAG,CAAC,SAAS,GAAG;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,GAAG,CAAC,UAAU,GAAG;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,GAAG,CAAC,OAAO,GAAG;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AACpJ,4FAA4F;AAC5F,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IAAM,CAAC,SAAS,IAAI,GAAG,iBAAiB,GAAG,CAAC,GAAG,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AttachableNodeInstance, WalletInstance } from '@xyo-network/sdk';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a network node from the network manifest using the provided wallet.
|
|
4
|
+
*
|
|
5
|
+
* @deprecated Bootstrapping an XYO `NodeInstance` via manifest is no longer supported.
|
|
6
|
+
* Use `connectArchivist` from `@xyo-network/xl1-protocol-sdk` for co-located archivist
|
|
7
|
+
* access, or `GatewayBuilder` from `@xyo-network/xl1-gateway` for remote RPC access.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getNetworkNode(wallet: WalletInstance): Promise<AttachableNodeInstance>;
|
|
10
|
+
//# sourceMappingURL=getNetworkNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetworkNode.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/getNetworkNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAK9E;;;;;;GAMG;AACH,wBAAsB,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAI5F"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AttachableNodeInstance } from '@xyo-network/sdk';
|
|
2
|
+
/** @deprecated Internal cache for deprecated `initNetworkNode`; do not use. */
|
|
3
|
+
export declare const getNetworkNodes: () => Map<string, AttachableNodeInstance<import("@xyo-network/sdk").NodeParams<import("@xyo-network/sdk").AnyConfigSchema<import("@xyo-network/sdk").NodeConfig>>, import("@xyo-network/sdk").NodeModuleEventData>>;
|
|
4
|
+
//# sourceMappingURL=getNetworkNodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetworkNodes.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/getNetworkNodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAI9D,+EAA+E;AAC/E,eAAO,MAAM,eAAe,qNAE3B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AttachableNodeInstance, WalletInstance } from '@xyo-network/sdk';
|
|
2
|
+
import type { NetworkBootstrap } from '../../models/index.js';
|
|
3
|
+
/** @deprecated Use `connectArchivist` archivist bindings (`@xyo-network/xl1-protocol-sdk`) or `GatewayBuilder` (`@xyo-network/xl1-gateway`) instead of bootstrapping an XYO NodeInstance. */
|
|
4
|
+
export declare const initNetworkNode: (activeNetwork: NetworkBootstrap, wallet: WalletInstance) => Promise<AttachableNodeInstance>;
|
|
5
|
+
//# sourceMappingURL=initNetworkNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initNetworkNode.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/initNetworkNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAE9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D,6LAA6L;AAC7L,eAAO,MAAM,eAAe,GAAU,eAAe,gBAAgB,EAAE,QAAQ,cAAc,KAAG,OAAO,CAAC,sBAAsB,CAQ7H,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static REST layout protocol for XL1 chain data.
|
|
3
|
+
*
|
|
4
|
+
* Path builders, manifest schemas, and derived path templates shared by static file publishers
|
|
5
|
+
* (S3 runners) and HTTP readers (Rest viewers). See `packages/protocol/STATIC_REST_LAYOUT.md`.
|
|
6
|
+
*/
|
|
7
|
+
export * from './layout/index.js';
|
|
8
|
+
export * from './paths/index.js';
|
|
9
|
+
export * from './templates.js';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/staticRest/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Schema id for the chain-contract manifest document. */
|
|
3
|
+
export declare const ChainContractManifestSchema: "network.xyo.s3.chain.contract";
|
|
4
|
+
/** Type literal for the chain-contract manifest schema. */
|
|
5
|
+
export type ChainContractManifestSchema = typeof ChainContractManifestSchema;
|
|
6
|
+
/** Bumped when the manifest shape changes, so readers can detect a mismatch. */
|
|
7
|
+
export declare const CHAIN_CONTRACT_MANIFEST_VERSION = 1;
|
|
8
|
+
/**
|
|
9
|
+
* Zod schema for the static per-chain config at `chainContractPath()`: the reward contract,
|
|
10
|
+
* staking token, minimum withdrawal window, and (optional) fork lineage. Published once —
|
|
11
|
+
* this data doesn't change per block, unlike `chain/head.json`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ChainContractManifestZod: z.ZodObject<{
|
|
14
|
+
forkedAtBlockNumber: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodInt, z.ZodTransform<import('../../../protocol-lib/index.js').XL1BlockNumber, number>>>>;
|
|
15
|
+
forkedAtHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
forkedChainId: z.ZodOptional<z.ZodNullable<import("zod/mini").ZodMiniPipe<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniTransform<import("@ariestools/sdk").BrandedHex, string>>>>;
|
|
17
|
+
minWithdrawalBlocks: z.ZodInt;
|
|
18
|
+
rewardsContract: z.ZodString;
|
|
19
|
+
schema: z.ZodLiteral<"network.xyo.s3.chain.contract">;
|
|
20
|
+
stakingTokenAddress: z.ZodString;
|
|
21
|
+
version: z.ZodInt;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
/** The static per-chain contract config at `chainContractPath()`. */
|
|
24
|
+
export type ChainContractManifest = z.infer<typeof ChainContractManifestZod>;
|
|
25
|
+
/** Type guard that checks if a value is a valid ChainContractManifest. */
|
|
26
|
+
export declare const isChainContractManifest: <T>(value: T) => value is T & {
|
|
27
|
+
minWithdrawalBlocks: number;
|
|
28
|
+
rewardsContract: string;
|
|
29
|
+
schema: "network.xyo.s3.chain.contract";
|
|
30
|
+
stakingTokenAddress: string;
|
|
31
|
+
version: number;
|
|
32
|
+
forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
|
|
33
|
+
forkedAtHash?: string | null | undefined;
|
|
34
|
+
forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
|
|
35
|
+
};
|
|
36
|
+
/** Converts a value to ChainContractManifest, throwing if invalid. */
|
|
37
|
+
export declare const asChainContractManifest: {
|
|
38
|
+
<T>(value: T): (T & {
|
|
39
|
+
minWithdrawalBlocks: number;
|
|
40
|
+
rewardsContract: string;
|
|
41
|
+
schema: "network.xyo.s3.chain.contract";
|
|
42
|
+
stakingTokenAddress: string;
|
|
43
|
+
version: number;
|
|
44
|
+
forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
|
|
45
|
+
forkedAtHash?: string | null | undefined;
|
|
46
|
+
forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
|
|
47
|
+
}) | undefined;
|
|
48
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
49
|
+
minWithdrawalBlocks: number;
|
|
50
|
+
rewardsContract: string;
|
|
51
|
+
schema: "network.xyo.s3.chain.contract";
|
|
52
|
+
stakingTokenAddress: string;
|
|
53
|
+
version: number;
|
|
54
|
+
forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
|
|
55
|
+
forkedAtHash?: string | null | undefined;
|
|
56
|
+
forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
/** Non-validating cast to ChainContractManifest. */
|
|
60
|
+
export declare const toChainContractManifest: {
|
|
61
|
+
<T>(value: T): (T & {
|
|
62
|
+
minWithdrawalBlocks: number;
|
|
63
|
+
rewardsContract: string;
|
|
64
|
+
schema: "network.xyo.s3.chain.contract";
|
|
65
|
+
stakingTokenAddress: string;
|
|
66
|
+
version: number;
|
|
67
|
+
forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
|
|
68
|
+
forkedAtHash?: string | null | undefined;
|
|
69
|
+
forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
|
|
70
|
+
}) | undefined;
|
|
71
|
+
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
72
|
+
minWithdrawalBlocks: number;
|
|
73
|
+
rewardsContract: string;
|
|
74
|
+
schema: "network.xyo.s3.chain.contract";
|
|
75
|
+
stakingTokenAddress: string;
|
|
76
|
+
version: number;
|
|
77
|
+
forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
|
|
78
|
+
forkedAtHash?: string | null | undefined;
|
|
79
|
+
forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
/** Builds a validated chain-contract manifest. */
|
|
83
|
+
export declare function createChainContractManifest(config: Omit<ChainContractManifest, 'schema' | 'version'>): ChainContractManifest;
|
|
84
|
+
//# sourceMappingURL=chainContractManifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chainContractManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/chainContractManifest.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,0DAA0D;AAC1D,eAAO,MAAM,2BAA2B,EAAG,+BAAwC,CAAA;AACnF,2DAA2D;AAC3D,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,gFAAgF;AAChF,eAAO,MAAM,+BAA+B,IAAI,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;iBASnC,CAAA;AAEF,qEAAqE;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE5E,0EAA0E;AAC1E,eAAO,MAAM,uBAAuB;;;;;;;;;CAAyC,CAAA;AAC7E,sEAAsE;AACtE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;CAAoE,CAAA;AACxG,oDAAoD;AACpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;CAAoE,CAAA;AAExG,kDAAkD;AAClD,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,IAAI,CAAC,qBAAqB,EAAE,QAAQ,GAAG,SAAS,CAAC,GACxD,qBAAqB,CAMvB"}
|