@xyo-network/xl1-protocol 4.5.1 → 4.5.2
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/modules/network-model/models/Bootstrap.d.ts +2 -0
- package/dist/neutral/modules/network-model/models/Bootstrap.d.ts.map +1 -1
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts +10 -4
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts.map +1 -1
- package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts +6 -2
- package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts.map +1 -1
- package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts +8 -0
- package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/network/Status.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/network/Status.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts +3 -1
- package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts +4 -2
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts +4 -1
- package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts +7 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts +6 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts +3 -3
- package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts +13 -2
- package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts +2 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts +3 -1
- package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts +2 -1
- package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts +10 -7
- package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts +3 -3
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/Block.d.ts +4 -1
- package/dist/neutral/modules/protocol-lib/runners/Block.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts +8 -1
- package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts +8 -1
- package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/EvmEventIndexPublish.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/runners/EvmEventIndexPublish.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts +3 -1
- package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts +9 -2
- package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts +24 -0
- package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts +3 -2
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/validation/error.d.ts +9 -0
- package/dist/neutral/modules/protocol-lib/validation/error.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts +4 -1
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts +33 -1
- package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts +9 -3
- package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts +2 -1
- package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts +10 -4
- package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts +10 -1
- package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts +6 -1
- package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts +7 -5
- package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/EvmChain.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/EvmChain.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts +6 -1
- package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts +3 -2
- package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts +7 -5
- package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts +2 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts +5 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +6 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts +22 -4
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts +16 -2
- package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts +21 -8
- package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts +3 -1
- package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts +8 -1
- package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts +4 -1
- package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts +16 -2
- package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts +4 -1
- package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts +7 -3
- package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts +8 -4
- package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts +11 -3
- package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts +3 -1
- package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts +23 -3
- package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts +4 -2
- package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts +9 -1
- package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts +28 -1
- package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts +9 -9
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +16 -16
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +5 -5
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +5 -5
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/chain/Chain.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/chain/Chain.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts +9 -1
- package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts +2 -2
- package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts +2 -1
- package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts +2 -2
- package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts +13 -6
- package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/map/MapType.d.ts +7 -7
- package/dist/neutral/modules/protocol-model/map/MapType.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts +13 -6
- package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +11 -5
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts +2 -2
- package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts +7 -7
- package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts +7 -7
- package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts +7 -7
- package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts +19 -19
- package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts +11 -11
- package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts +7 -7
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +2 -2
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts +18 -18
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Permission.d.ts +6 -6
- package/dist/neutral/modules/protocol-model/model/Permission.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Position.d.ts +8 -1
- package/dist/neutral/modules/protocol-model/model/Position.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/PositionId.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/PositionId.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts +4 -4
- package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Sequence.d.ts +6 -6
- package/dist/neutral/modules/protocol-model/model/Sequence.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Stake.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/Stake.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +9 -9
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/addresses.d.ts +5 -5
- package/dist/neutral/modules/protocol-model/model/addresses.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/rewards.d.ts +7 -7
- package/dist/neutral/modules/protocol-model/model/rewards.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/version.d.ts +5 -5
- package/dist/neutral/modules/protocol-model/model/version.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/StepWitness.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/StepWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts +2 -2
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts +2 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts +10 -5
- package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts +6 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/provider/Provider.d.ts +2 -1
- package/dist/neutral/modules/protocol-model/provider/Provider.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts +35 -35
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts +13 -13
- package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts +15 -6
- package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts +15 -6
- package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts +38 -5
- package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts +15 -6
- package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts +15 -6
- package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts +15 -6
- package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts +15 -6
- package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts +15 -6
- package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts +6 -1
- package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts +6 -3
- package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts.map +1 -1
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts +6 -0
- package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts.map +1 -1
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts +1 -0
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts.map +1 -1
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts +1 -0
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts.map +1 -1
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts +1 -0
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/modules/test/buildRandomTransaction.d.ts +7 -0
- package/dist/neutral/modules/test/buildRandomTransaction.d.ts.map +1 -1
- package/dist/neutral/modules/test/buildTransaction.d.ts +8 -0
- package/dist/neutral/modules/test/buildTransaction.d.ts.map +1 -1
- package/dist/neutral/modules/test/createTransferPayload.d.ts +1 -0
- package/dist/neutral/modules/test/createTransferPayload.d.ts.map +1 -1
- package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts +3 -0
- package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts.map +1 -1
- package/dist/neutral/network-model.mjs +12 -2
- package/dist/neutral/network-model.mjs.map +2 -2
- package/dist/neutral/protocol-lib.mjs +11 -1
- package/dist/neutral/protocol-lib.mjs.map +2 -2
- package/dist/neutral/protocol-model.mjs +1 -1
- package/dist/neutral/protocol-model.mjs.map +2 -2
- package/dist/neutral/schema.mjs.map +2 -2
- package/dist/neutral/test.mjs.map +2 -2
- package/dist/neutral/validation.mjs +2 -2
- package/dist/neutral/validation.mjs.map +2 -2
- package/package.json +3 -3
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Largest milliXL1 amount whose attoXL1 representation fits the 32-digit amount range. */
|
|
2
2
|
export declare const MilliXL1MaxValue: bigint;
|
|
3
|
-
/**
|
|
3
|
+
/** Non-negative XL1 amount expressed in milliXL1, where one milliXL1 equals `10^15` attoXL1. */
|
|
4
4
|
export type MilliXL1 = bigint & {
|
|
5
5
|
readonly _tag: 'MilliXL1';
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
7
|
+
/** Returns whether a value is a bigint in the inclusive range `0` through {@link MilliXL1MaxValue}. */
|
|
8
8
|
export declare const isMilliXL1: (val: unknown) => val is MilliXL1;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Validates and brands an existing bigint as a {@link MilliXL1} amount.
|
|
11
|
+
*
|
|
12
|
+
* @throws A Zod validation error when the value is not a bigint or is outside the supported range.
|
|
13
|
+
*/
|
|
10
14
|
export declare const asMilliXL1: (val: unknown) => MilliXL1;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Coerces a bigint, integer number, numeric string, or boolean to {@link MilliXL1}, then validates its range.
|
|
17
|
+
*
|
|
18
|
+
* @returns The branded amount, or `undefined` when input type or range validation fails.
|
|
19
|
+
* @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
|
|
20
|
+
*/
|
|
12
21
|
export declare const toMilliXL1: (val: unknown) => MilliXL1 | undefined;
|
|
13
|
-
/**
|
|
22
|
+
/** Strict constructor alias for {@link asMilliXL1}. */
|
|
14
23
|
export declare const MilliXL1: (val: unknown) => MilliXL1;
|
|
15
24
|
//# sourceMappingURL=milliXl1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"milliXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/milliXl1.ts"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"milliXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/milliXl1.ts"],"names":[],"mappings":"AAMA,2FAA2F;AAC3F,eAAO,MAAM,gBAAgB,QAA+B,CAAA;AAC5D,gGAAgG;AAChG,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CAAA;AAC7D,uGAAuG;AACvG,eAAO,MAAM,UAAU,mCAA0C,CAAA;AACjE;;;;GAIG;AACH,eAAO,MAAM,UAAU,4BAA0C,CAAA;AAEjE;;;;;GAKG;AACH,eAAO,MAAM,UAAU,wCAA0C,CAAA;AAEjE,uDAAuD;AACvD,eAAO,MAAM,QAAQ,4BAAa,CAAA"}
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Largest nanoXL1 amount whose attoXL1 representation fits the 32-digit amount range. */
|
|
2
2
|
export declare const NanoXL1MaxValue: bigint;
|
|
3
|
-
/**
|
|
3
|
+
/** Non-negative XL1 amount expressed in nanoXL1, where one nanoXL1 equals `10^9` attoXL1. */
|
|
4
4
|
export type NanoXL1 = bigint & {
|
|
5
5
|
readonly _tag: 'NanoXL1';
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
7
|
+
/** Returns whether a value is a bigint in the inclusive range `0` through {@link NanoXL1MaxValue}. */
|
|
8
8
|
export declare const isNanoXL1: (val: unknown) => val is NanoXL1;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Validates and brands an existing bigint as a {@link NanoXL1} amount.
|
|
11
|
+
*
|
|
12
|
+
* @throws A Zod validation error when the value is not a bigint or is outside the supported range.
|
|
13
|
+
*/
|
|
10
14
|
export declare const asNanoXL1: (val: unknown) => NanoXL1;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Coerces a bigint, integer number, numeric string, or boolean to {@link NanoXL1}, then validates its range.
|
|
17
|
+
*
|
|
18
|
+
* @returns The branded amount, or `undefined` when input type or range validation fails.
|
|
19
|
+
* @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
|
|
20
|
+
*/
|
|
12
21
|
export declare const toNanoXL1: (val: unknown) => NanoXL1 | undefined;
|
|
13
|
-
/**
|
|
22
|
+
/** Strict constructor alias for {@link asNanoXL1}. */
|
|
14
23
|
export declare const NanoXL1: (val: unknown) => NanoXL1;
|
|
15
24
|
//# sourceMappingURL=nanoXl1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nanoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/nanoXl1.ts"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"nanoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/nanoXl1.ts"],"names":[],"mappings":"AAMA,0FAA0F;AAC1F,eAAO,MAAM,eAAe,QAA8B,CAAA;AAC1D,6FAA6F;AAC7F,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAC3D,sGAAsG;AACtG,eAAO,MAAM,SAAS,kCAAwC,CAAA;AAC9D;;;;GAIG;AACH,eAAO,MAAM,SAAS,2BAAwC,CAAA;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,SAAS,uCAAwC,CAAA;AAE9D,sDAAsD;AACtD,eAAO,MAAM,OAAO,2BAAY,CAAA"}
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Largest picoXL1 amount whose attoXL1 representation fits the 32-digit amount range. */
|
|
2
2
|
export declare const PicoXL1MaxValue: bigint;
|
|
3
|
-
/**
|
|
3
|
+
/** Non-negative XL1 amount expressed in picoXL1, where one picoXL1 equals `10^6` attoXL1. */
|
|
4
4
|
export type PicoXL1 = bigint & {
|
|
5
5
|
readonly _tag: 'PicoXL1';
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
7
|
+
/** Returns whether a value is a bigint in the inclusive range `0` through {@link PicoXL1MaxValue}. */
|
|
8
8
|
export declare const isPicoXL1: (val: unknown) => val is PicoXL1;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Validates and brands an existing bigint as a {@link PicoXL1} amount.
|
|
11
|
+
*
|
|
12
|
+
* @throws A Zod validation error when the value is not a bigint or is outside the supported range.
|
|
13
|
+
*/
|
|
10
14
|
export declare const asPicoXL1: (val: unknown) => PicoXL1;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Coerces a bigint, integer number, numeric string, or boolean to {@link PicoXL1}, then validates its range.
|
|
17
|
+
*
|
|
18
|
+
* @returns The branded amount, or `undefined` when input type or range validation fails.
|
|
19
|
+
* @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
|
|
20
|
+
*/
|
|
12
21
|
export declare const toPicoXL1: (val: unknown) => PicoXL1 | undefined;
|
|
13
|
-
/**
|
|
22
|
+
/** Strict constructor alias for {@link asPicoXL1}. */
|
|
14
23
|
export declare const PicoXL1: (val: unknown) => PicoXL1;
|
|
15
24
|
//# sourceMappingURL=picoXl1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"picoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/picoXl1.ts"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"picoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/picoXl1.ts"],"names":[],"mappings":"AAMA,0FAA0F;AAC1F,eAAO,MAAM,eAAe,QAA8B,CAAA;AAC1D,6FAA6F;AAC7F,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAC3D,sGAAsG;AACtG,eAAO,MAAM,SAAS,kCAAwC,CAAA;AAC9D;;;;GAIG;AACH,eAAO,MAAM,SAAS,2BAAwC,CAAA;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,SAAS,uCAAwC,CAAA;AAE9D,sDAAsD;AACtD,eAAO,MAAM,OAAO,2BAAY,CAAA"}
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Largest whole-XL1 amount whose attoXL1 representation fits the 32-digit amount range. */
|
|
2
2
|
export declare const XL1MaxValue: bigint;
|
|
3
|
-
/** XL1
|
|
3
|
+
/** Non-negative amount expressed in whole XL1, where one XL1 equals `10^18` attoXL1. */
|
|
4
4
|
export type XL1 = bigint & {
|
|
5
5
|
readonly _tag: 'XL1';
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
7
|
+
/** Returns whether a value is a bigint in the inclusive range `0` through {@link XL1MaxValue}. */
|
|
8
8
|
export declare const isXL1: (val: unknown) => val is XL1;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Validates and brands an existing bigint as a whole-{@link XL1} amount.
|
|
11
|
+
*
|
|
12
|
+
* @throws A Zod validation error when the value is not a bigint or is outside the supported range.
|
|
13
|
+
*/
|
|
10
14
|
export declare const asXL1: (val: unknown) => XL1;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Coerces a bigint, integer number, numeric string, or boolean to whole {@link XL1}, then validates its range.
|
|
17
|
+
*
|
|
18
|
+
* @returns The branded amount, or `undefined` when input type or range validation fails.
|
|
19
|
+
* @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
|
|
20
|
+
*/
|
|
12
21
|
export declare const toXL1: (val: unknown) => XL1 | undefined;
|
|
13
|
-
/**
|
|
22
|
+
/** Strict constructor alias for {@link asXL1}. */
|
|
14
23
|
export declare const XL1: (val: unknown) => XL1;
|
|
15
24
|
//# sourceMappingURL=xl1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1.ts"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"xl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1.ts"],"names":[],"mappings":"AAMA,4FAA4F;AAC5F,eAAO,MAAM,WAAW,QAA6B,CAAA;AACrD,wFAAwF;AACxF,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAA;CAAE,CAAA;AACnD,kGAAkG;AAClG,eAAO,MAAM,KAAK,8BAAmC,CAAA;AACrD;;;;GAIG;AACH,eAAO,MAAM,KAAK,uBAAmC,CAAA;AAErD;;;;;GAKG;AACH,eAAO,MAAM,KAAK,mCAAmC,CAAA;AAErD,kDAAkD;AAClD,eAAO,MAAM,GAAG,uBAAQ,CAAA"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Computes the largest count of a denomination that fits the 32-decimal-digit XL1 amount range.
|
|
3
|
+
*
|
|
4
|
+
* @param places The denomination's decimal places relative to attoXL1.
|
|
5
|
+
* @returns `10 ** (32 - places) - 1`.
|
|
6
|
+
*/
|
|
2
7
|
export declare const xl1MaxValue: (places: bigint) => bigint;
|
|
3
8
|
//# sourceMappingURL=xl1MaxValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xl1MaxValue.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1MaxValue.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"xl1MaxValue.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1MaxValue.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,WAA+B,CAAA"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
type XL1Units = 'xl1' | 'milli' | 'micro' | 'nano' | 'pico' | 'femto' | 'atto';
|
|
2
|
-
/** Decimal
|
|
2
|
+
/** Decimal exponent used to convert each XL1 denomination to atomic attoXL1 units. */
|
|
3
3
|
export declare const XL1Places: Record<XL1Units, bigint>;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Number of attoXL1 in one unit of each denomination.
|
|
6
|
+
*
|
|
7
|
+
* Multiply a denomination value by its factor to obtain attoXL1; divide an
|
|
8
|
+
* attoXL1 value by the factor to obtain that denomination, subject to integer
|
|
9
|
+
* truncation by the caller's arithmetic.
|
|
7
10
|
*/
|
|
8
11
|
export declare const AttoXL1ConvertFactor: Record<XL1Units, bigint>;
|
|
9
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xl1Units.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1Units.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAE9E,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAQrC,CAAA;AAEV
|
|
1
|
+
{"version":3,"file":"xl1Units.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1Units.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAE9E,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAQrC,CAAA;AAEV;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAQhD,CAAA"}
|
|
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
|
|
|
2
2
|
import type { BlockBoundWitness } from '../../protocol-lib/index.js';
|
|
3
3
|
/** JSON schema for validating BlockBoundWitness payloads. */
|
|
4
4
|
export declare const BlockBoundWitnessJsonSchema: JSONSchemaType<BlockBoundWitness>;
|
|
5
|
+
/** Schema payload that publishes {@link BlockBoundWitnessJsonSchema} for registry-based validation. */
|
|
5
6
|
export declare const BlockBoundWitnessSchemaPayload: {
|
|
6
7
|
schema: "network.xyo.schema" & {
|
|
7
8
|
readonly __schema: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAItD,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAoBhE,CAAA;AAIV,eAAO,MAAM,8BAA8B;;;;;;;;;;;CACmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAItD,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAoBhE,CAAA;AAIV,uGAAuG;AACvG,eAAO,MAAM,8BAA8B;;;;;;;;;;;CACmB,CAAA"}
|
|
@@ -3,6 +3,7 @@ import type { JSONSchemaType } from 'ajv';
|
|
|
3
3
|
import type { BlockBoundWitness } from '../../protocol-lib/index.js';
|
|
4
4
|
/** JSON schema for validating BlockBoundWitness payloads including storage metadata. */
|
|
5
5
|
export declare const BlockBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<WithStorageMeta<BlockBoundWitness>>;
|
|
6
|
+
/** Schema payload that publishes the storage-meta block definition for registry-based validation. */
|
|
6
7
|
export declare const BlockBoundWitnessWithStorageMetaSchemaPayload: {
|
|
7
8
|
schema: "network.xyo.schema" & {
|
|
8
9
|
readonly __schema: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAKtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAMtD,wFAAwF;AACxF,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAehG,CAAA;AAIV,eAAO,MAAM,6CAA6C;;;;;;;;;;;CACmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAKtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAMtD,wFAAwF;AACxF,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAehG,CAAA;AAIV,qGAAqG;AACrG,eAAO,MAAM,6CAA6C;;;;;;;;;;;CACmB,CAAA"}
|
|
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
|
|
|
2
2
|
import type { TransactionBoundWitness } from '../../protocol-lib/index.js';
|
|
3
3
|
/** JSON schema for validating TransactionBoundWitness payloads. */
|
|
4
4
|
export declare const TransactionBoundWitnessJsonSchema: JSONSchemaType<TransactionBoundWitness>;
|
|
5
|
+
/** Schema payload that publishes {@link TransactionBoundWitnessJsonSchema} for registry-based validation. */
|
|
5
6
|
export declare const TransactionBoundWitnessSchemaPayload: {
|
|
6
7
|
schema: "network.xyo.schema" & {
|
|
7
8
|
readonly __schema: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,mEAAmE;AACnE,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA2B5E,CAAA;AAIV,eAAO,MAAM,oCAAoC;;;;;;;;;;;CACmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,mEAAmE;AACnE,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA2B5E,CAAA;AAIV,6GAA6G;AAC7G,eAAO,MAAM,oCAAoC;;;;;;;;;;;CACmB,CAAA"}
|
package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
|
|
|
2
2
|
import type { TransactionBoundWitness } from '../../protocol-lib/index.js';
|
|
3
3
|
/** JSON schema for validating TransactionBoundWitness payloads including storage metadata. */
|
|
4
4
|
export declare const TransactionBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<TransactionBoundWitness>;
|
|
5
|
+
/** Schema payload that publishes the storage-meta transaction definition for registry-based validation. */
|
|
5
6
|
export declare const TransactionBoundWitnessWithStorageMetaSchemaPayload: {
|
|
6
7
|
schema: "network.xyo.schema" & {
|
|
7
8
|
readonly __schema: true;
|
package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,8FAA8F;AAC9F,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAgB3F,CAAA;AAIV,eAAO,MAAM,mDAAmD;;;;;;;;;;;CACmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,8FAA8F;AAC9F,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAgB3F,CAAA;AAIV,2GAA2G;AAC3G,eAAO,MAAM,mDAAmD;;;;;;;;;;;CACmB,CAAA"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { JSONSchemaType } from 'ajv';
|
|
2
|
+
/**
|
|
3
|
+
* Normalizes an AJV `required` value to a readonly string array.
|
|
4
|
+
*
|
|
5
|
+
* @param required Candidate value from a JSON-schema definition.
|
|
6
|
+
* @returns The string itself as one item, its string array items, or an empty array.
|
|
7
|
+
*/
|
|
2
8
|
export declare const asRequiredStrings: (required: unknown) => readonly string[];
|
|
3
9
|
/** Merge JSON schema `required` arrays without spreading untyped sdk-js values. */
|
|
4
10
|
export declare const mergeJsonSchemaRequired: <T>(...groups: readonly unknown[]) => JSONSchemaType<T> extends {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeJsonSchemaRequired.d.ts","sourceRoot":"","sources":["../../../../src/modules/schema/mergeJsonSchemaRequired.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,iBAAiB,GAAI,UAAU,OAAO,KAAG,SAAS,MAAM,EAIpE,CAAA;AAED,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,GAAI,CAAC,EACvC,GAAG,QAAQ,SAAS,OAAO,EAAE,KAC5B,cAAc,CAAC,CAAC,CAAC,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAExD,CAAA"}
|
|
1
|
+
{"version":3,"file":"mergeJsonSchemaRequired.d.ts","sourceRoot":"","sources":["../../../../src/modules/schema/mergeJsonSchemaRequired.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAU,OAAO,KAAG,SAAS,MAAM,EAIpE,CAAA;AAED,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,GAAI,CAAC,EACvC,GAAG,QAAQ,SAAS,OAAO,EAAE,KAC5B,cAAc,CAAC,CAAC,CAAC,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAExD,CAAA"}
|
|
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
|
|
|
2
2
|
import type { ChainStakeIntent } from '../../protocol-lib/index.js';
|
|
3
3
|
/** JSON schema for validating ChainStakeIntent payloads. */
|
|
4
4
|
export declare const ChainStakeIntentPayloadJsonSchema: JSONSchemaType<ChainStakeIntent>;
|
|
5
|
+
/** Schema payload that publishes {@link ChainStakeIntentPayloadJsonSchema} for registry-based validation. */
|
|
5
6
|
export declare const ChainStakeIntentPayloadJsonSchemaPayload: {
|
|
6
7
|
schema: "network.xyo.schema" & {
|
|
7
8
|
readonly __schema: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAKrD,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAa9E,CAAA;AAID,eAAO,MAAM,wCAAwC;;;;;;;;;;;CACe,CAAA"}
|
|
1
|
+
{"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAKrD,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAa9E,CAAA;AAID,6GAA6G;AAC7G,eAAO,MAAM,wCAAwC;;;;;;;;;;;CACe,CAAA"}
|
|
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
|
|
|
2
2
|
import type { HashPayload } from '../../protocol-lib/index.js';
|
|
3
3
|
/** JSON schema for validating Hash payloads. */
|
|
4
4
|
export declare const HashPayloadJsonSchema: JSONSchemaType<HashPayload>;
|
|
5
|
+
/** Schema payload that publishes {@link HashPayloadJsonSchema} for registry-based validation. */
|
|
5
6
|
export declare const HashPayloadJsonSchemaPayload: {
|
|
6
7
|
schema: "network.xyo.schema" & {
|
|
7
8
|
readonly __schema: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HashPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/HashPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAY7D,CAAA;AAID,eAAO,MAAM,4BAA4B;;;;;;;;;;;CACe,CAAA"}
|
|
1
|
+
{"version":3,"file":"HashPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/HashPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAY7D,CAAA;AAID,iGAAiG;AACjG,eAAO,MAAM,4BAA4B;;;;;;;;;;;CACe,CAAA"}
|
|
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
|
|
|
2
2
|
import type { Transfer } from '../../protocol-lib/index.js';
|
|
3
3
|
/** JSON schema for validating Transfer payloads. */
|
|
4
4
|
export declare const TransferPayloadJsonSchema: JSONSchemaType<Transfer>;
|
|
5
|
+
/** Schema payload that publishes {@link TransferPayloadJsonSchema} for registry-based validation. */
|
|
5
6
|
export declare const TransferPayloadJsonSchemaPayload: {
|
|
6
7
|
schema: "network.xyo.schema" & {
|
|
7
8
|
readonly __schema: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/TransferPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAkB9D,CAAA;AAID,eAAO,MAAM,gCAAgC;;;;;;;;;;;CACe,CAAA"}
|
|
1
|
+
{"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/TransferPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAkB9D,CAAA;AAID,qGAAqG;AACrG,eAAO,MAAM,gCAAgC;;;;;;;;;;;CACe,CAAA"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { AccountInstance, Payload, Schema, XyoAddress } from '@xyo-network/sdk';
|
|
2
2
|
import type { ChainId, SignedHydratedTransactionWithHashMeta, XL1BlockNumber } from '../protocol-lib/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Builds a signed test transaction, creating a random sender and minimal
|
|
5
|
+
* transfer payload when the caller does not supply them.
|
|
6
|
+
*
|
|
7
|
+
* Payloads with schemas listed in `privatePayloadSchemas` are omitted from the
|
|
8
|
+
* returned hydrated payload array after signing.
|
|
9
|
+
*/
|
|
3
10
|
export declare const buildRandomTransaction: (chain: ChainId, payloads?: Payload[], account?: AccountInstance, nbf?: XL1BlockNumber, exp?: XL1BlockNumber, privatePayloadSchemas?: Schema[], receiverAddress?: XyoAddress) => Promise<SignedHydratedTransactionWithHashMeta>;
|
|
4
11
|
//# sourceMappingURL=buildRandomTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildRandomTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildRandomTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAC7C,MAAM,kBAAkB,CAAA;AAGzB,OAAO,KAAK,EAEV,OAAO,EACP,qCAAqC,EACrC,cAAc,EACf,MAAM,eAAe,CAAA;AAMtB,eAAO,MAAM,sBAAsB,GACjC,OAAO,OAAO,EACd,WAAW,OAAO,EAAE,EACpB,UAAU,eAAe,EACzB,MAAK,cAA0C,EAC/C,MAAK,cAAmD,EACxD,wBAAuB,MAAM,EAAO,EACpC,kBAAkB,UAAU,KAC3B,OAAO,CAAC,qCAAqC,CAgB/C,CAAA"}
|
|
1
|
+
{"version":3,"file":"buildRandomTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildRandomTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAC7C,MAAM,kBAAkB,CAAA;AAGzB,OAAO,KAAK,EAEV,OAAO,EACP,qCAAqC,EACrC,cAAc,EACf,MAAM,eAAe,CAAA;AAMtB;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GACjC,OAAO,OAAO,EACd,WAAW,OAAO,EAAE,EACpB,UAAU,eAAe,EACzB,MAAK,cAA0C,EAC/C,MAAK,cAAmD,EACxD,wBAAuB,MAAM,EAAO,EACpC,kBAAkB,UAAU,KAC3B,OAAO,CAAC,qCAAqC,CAgB/C,CAAA"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { AccountInstance, Payload, XyoAddress } from '@xyo-network/sdk';
|
|
2
2
|
import type { AllowedBlockPayload, ChainId, SignedHydratedTransactionWithHashMeta, TransactionFeesBigInt, XL1BlockNumber } from '../protocol-lib/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and signs a hydrated XL1 transaction for protocol tests.
|
|
5
|
+
*
|
|
6
|
+
* On-chain payload hashes are added to the elevation script; off-chain payloads
|
|
7
|
+
* remain referenced by the bound witness without elevation.
|
|
8
|
+
*
|
|
9
|
+
* @throws When multiple signers are supplied without an explicit source address.
|
|
10
|
+
*/
|
|
3
11
|
export declare function buildTransaction(chain: ChainId, onChainPayloads: AllowedBlockPayload[], offChainPayloads: Payload[], signer: AccountInstance | AccountInstance[], nbf: XL1BlockNumber, exp: XL1BlockNumber, from?: XyoAddress, fees?: TransactionFeesBigInt): Promise<SignedHydratedTransactionWithHashMeta>;
|
|
4
12
|
//# sourceMappingURL=buildTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,UAAU,EACrC,MAAM,kBAAkB,CAAA;AAKzB,OAAO,KAAK,EACV,mBAAmB,EACnB,OAAO,EAGP,qCAAqC,EAGrC,qBAAqB,EACrB,cAAc,EACf,MAAM,eAAe,CAAA;AAGtB,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,OAAO,EACd,eAAe,EAAE,mBAAmB,EAAE,EACtC,gBAAgB,EAAE,OAAO,EAAE,EAC3B,MAAM,EAAE,eAAe,GAAG,eAAe,EAAE,EAC3C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,cAAc,EACnB,IAAI,CAAC,EAAE,UAAU,EACjB,IAAI,GAAE,qBAA8C,GACnD,OAAO,CAAC,qCAAqC,CAAC,CAsChD"}
|
|
1
|
+
{"version":3,"file":"buildTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,UAAU,EACrC,MAAM,kBAAkB,CAAA;AAKzB,OAAO,KAAK,EACV,mBAAmB,EACnB,OAAO,EAGP,qCAAqC,EAGrC,qBAAqB,EACrB,cAAc,EACf,MAAM,eAAe,CAAA;AAGtB;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,OAAO,EACd,eAAe,EAAE,mBAAmB,EAAE,EACtC,gBAAgB,EAAE,OAAO,EAAE,EAC3B,MAAM,EAAE,eAAe,GAAG,eAAe,EAAE,EAC3C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,cAAc,EACnB,IAAI,CAAC,EAAE,UAAU,EACjB,IAAI,GAAE,qBAA8C,GACnD,OAAO,CAAC,qCAAqC,CAAC,CAsChD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { JsonObject } from '@ariestools/sdk';
|
|
2
2
|
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
3
|
import type { Transfer } from '../protocol-lib/index.js';
|
|
4
|
+
/** Creates an XL1 transfer payload with hex-encoded attoXL1 amounts and the current epoch timestamp. */
|
|
4
5
|
export declare function createTransferPayload(from: XyoAddress, transfers: Record<XyoAddress, bigint>, context?: JsonObject): Transfer;
|
|
5
6
|
//# sourceMappingURL=createTransferPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAQ7H"}
|
|
1
|
+
{"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,wGAAwG;AACxG,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAQ7H"}
|
|
@@ -36,8 +36,11 @@ export declare const SignerAuthorizationZod: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
36
36
|
readonly __address: true;
|
|
37
37
|
}, string>>, import("zod/mini").ZodMiniPipe<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniTransform<import("@xyo-network/sdk").XyoQuantAddress, string>>]>>;
|
|
38
38
|
}, z.core.$strip>], "type">;
|
|
39
|
+
/** Type-level representation of Completed Step Reward Authorization. */
|
|
39
40
|
export type CompletedStepRewardAuthorization = z.infer<typeof CompletedStepRewardAuthorizationZod>;
|
|
41
|
+
/** Type-level representation of Derived Receive Authorization. */
|
|
40
42
|
export type DerivedReceiveAuthorization = z.infer<typeof DerivedReceiveAuthorizationZod>;
|
|
43
|
+
/** Type-level representation of Signer Authorization. */
|
|
41
44
|
export type SignerAuthorization = z.infer<typeof SignerAuthorizationZod>;
|
|
42
45
|
/**
|
|
43
46
|
* Builds the `SignerValidator[]` consumed by `TransactionTransfersValidatorFactory` from a list
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignerAuthorization.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/validation/transaction/validators/SignerAuthorization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAKzE,iFAAiF;AACjF,eAAO,MAAM,mCAAmC;;;;;;;iBAGqB,CAAA;AAErE,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;;;;iBAImC,CAAA;AAE9E,+FAA+F;AAC/F,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;2BAGjC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAClG,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACxF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAkBxE;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,cAAc,GAAE,mBAAmB,EAAO,GAAG,eAAe,EAAE,CAEhH"}
|
|
1
|
+
{"version":3,"file":"SignerAuthorization.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/validation/transaction/validators/SignerAuthorization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAKzE,iFAAiF;AACjF,eAAO,MAAM,mCAAmC;;;;;;;iBAGqB,CAAA;AAErE,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;;;;iBAImC,CAAA;AAE9E,+FAA+F;AAC/F,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;2BAGjC,CAAA;AAEF,wEAAwE;AACxE,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAClG,kEAAkE;AAClE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACxF,yDAAyD;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAkBxE;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,cAAc,GAAE,mBAAmB,EAAO,GAAG,eAAe,EAAE,CAEhH"}
|
|
@@ -121,6 +121,8 @@ var ChainContractBlockNumberZod = NumberishZod.pipe(z.int().nonnegative()).trans
|
|
|
121
121
|
var ChainContractManifestSchema = "network.xyo.s3.chain.contract";
|
|
122
122
|
var CHAIN_CONTRACT_MANIFEST_VERSION = 1;
|
|
123
123
|
var ChainContractManifestZod = z.object({
|
|
124
|
+
/** Self-identifying chain id (matches the path key). Optional for older fixtures. */
|
|
125
|
+
chainId: z.optional(ChainIdZod),
|
|
124
126
|
forkedAtBlockNumber: ChainContractBlockNumberZod.nullable().optional(),
|
|
125
127
|
forkedAtHash: z.string().nullable().optional(),
|
|
126
128
|
forkedChainId: z.nullable(ChainIdZod).optional(),
|
|
@@ -151,7 +153,7 @@ import { z as z2 } from "zod";
|
|
|
151
153
|
|
|
152
154
|
// src/modules/network-model/staticRest/paths/chainState.ts
|
|
153
155
|
var headPath = () => "chain/head.json";
|
|
154
|
-
var
|
|
156
|
+
var chainContractByIdPath = (chainId) => `chain/contracts/${chainId.toLowerCase()}.json`;
|
|
155
157
|
|
|
156
158
|
// src/modules/network-model/staticRest/paths/finalized.ts
|
|
157
159
|
var manifestPath = () => "manifest.json";
|
|
@@ -377,8 +379,16 @@ function evmEventIndexTailPath(address) {
|
|
|
377
379
|
|
|
378
380
|
// src/modules/network-model/utils/ExplorerLinks.ts
|
|
379
381
|
var ExplorerLinks = class {
|
|
382
|
+
/** Explorer origin with trailing slashes removed. */
|
|
380
383
|
explorerUrl;
|
|
384
|
+
/** Network identifier included in generated links. */
|
|
381
385
|
networkId;
|
|
386
|
+
/**
|
|
387
|
+
* Creates a link builder for one explorer deployment and network.
|
|
388
|
+
*
|
|
389
|
+
* @param explorerUrl Base explorer URL, with or without trailing slashes.
|
|
390
|
+
* @param networkId Network segment included in every generated URL.
|
|
391
|
+
*/
|
|
382
392
|
constructor(explorerUrl, networkId) {
|
|
383
393
|
this.explorerUrl = explorerUrl.replace(/\/+$/, "");
|
|
384
394
|
this.networkId = networkId;
|
|
@@ -467,7 +477,7 @@ export {
|
|
|
467
477
|
blockHashPathTemplate,
|
|
468
478
|
blockNumberPath,
|
|
469
479
|
blockNumberPathTemplate,
|
|
470
|
-
|
|
480
|
+
chainContractByIdPath,
|
|
471
481
|
chainManifestPathTemplates,
|
|
472
482
|
createChainContractManifest,
|
|
473
483
|
createChainManifest,
|