@xyo-network/xl1-protocol 1.25.26 → 1.25.28
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/BlockNumber/BlockNumber.d.ts +7 -0
- package/dist/neutral/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/BlockNumber/EthBlockNumber.d.ts +7 -0
- package/dist/neutral/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/BlockNumber/Numberish.d.ts +2 -0
- package/dist/neutral/BlockNumber/Numberish.d.ts.map +1 -1
- package/dist/neutral/BlockNumber/XL1BlockNumber.d.ts +7 -0
- package/dist/neutral/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/Initializable.d.ts +1 -0
- package/dist/neutral/Initializable.d.ts.map +1 -1
- package/dist/neutral/OpenTelemetryProviders.d.ts +1 -0
- package/dist/neutral/OpenTelemetryProviders.d.ts.map +1 -1
- package/dist/neutral/RecordKeyType.d.ts +2 -0
- package/dist/neutral/RecordKeyType.d.ts.map +1 -1
- package/dist/neutral/Step/StepHash.d.ts +2 -0
- package/dist/neutral/Step/StepHash.d.ts.map +1 -1
- package/dist/neutral/Step/StepIdentity.d.ts +4 -0
- package/dist/neutral/Step/StepIdentity.d.ts.map +1 -1
- package/dist/neutral/Step/StepSizes.d.ts +5 -0
- package/dist/neutral/Step/StepSizes.d.ts.map +1 -1
- package/dist/neutral/TransferPayload.d.ts +7 -0
- package/dist/neutral/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/amount/ShiftedBigIntConfig.d.ts +1 -0
- package/dist/neutral/amount/ShiftedBigIntConfig.d.ts.map +1 -1
- package/dist/neutral/amount/XL1AmountInstance.d.ts +16 -0
- package/dist/neutral/amount/XL1AmountInstance.d.ts.map +1 -0
- package/dist/neutral/amount/index.d.ts +2 -4
- package/dist/neutral/amount/index.d.ts.map +1 -1
- package/dist/neutral/block/AllowedBlockPayload.d.ts +7 -0
- package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/block/BlockBoundWitness.d.ts +15 -0
- package/dist/neutral/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/block/HydratedBlock.d.ts +37 -0
- package/dist/neutral/block/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/block/signed/SignedBlockBoundWitness.d.ts +5 -0
- package/dist/neutral/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +7 -0
- package/dist/neutral/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
- package/dist/neutral/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +7 -0
- package/dist/neutral/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/block/unsigned/UnsignedBlockBoundWitness.d.ts +5 -0
- package/dist/neutral/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/chain/Chain.d.ts +1 -0
- package/dist/neutral/chain/Chain.d.ts.map +1 -1
- package/dist/neutral/chain/ChainAnalyzer.d.ts +1 -0
- package/dist/neutral/chain/ChainAnalyzer.d.ts.map +1 -1
- package/dist/neutral/chain/ChainId.d.ts +1 -0
- package/dist/neutral/chain/ChainId.d.ts.map +1 -1
- package/dist/neutral/fields/Addressable.d.ts +1 -0
- package/dist/neutral/fields/Addressable.d.ts.map +1 -1
- package/dist/neutral/fields/BlockDuration.d.ts +2 -0
- package/dist/neutral/fields/BlockDuration.d.ts.map +1 -1
- package/dist/neutral/fields/BlockNumber.d.ts +5 -0
- package/dist/neutral/fields/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/index.mjs +152 -319
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/map/AsyncMap.d.ts +6 -0
- package/dist/neutral/map/AsyncMap.d.ts.map +1 -1
- package/dist/neutral/map/MapType.d.ts +7 -0
- package/dist/neutral/map/MapType.d.ts.map +1 -1
- package/dist/neutral/map/SyncMap.d.ts +6 -0
- package/dist/neutral/map/SyncMap.d.ts.map +1 -1
- package/dist/neutral/model/AccountBalance.d.ts +12 -0
- package/dist/neutral/model/AccountBalance.d.ts.map +1 -1
- package/dist/neutral/model/ArrayBuffer.d.ts +2 -0
- package/dist/neutral/model/ArrayBuffer.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +10 -0
- package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +10 -0
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Numberish.d.ts +1 -0
- package/dist/neutral/model/BlockRange/Numberish.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts +5 -0
- package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +10 -0
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRate.d.ts +27 -0
- package/dist/neutral/model/BlockRate.d.ts.map +1 -1
- package/dist/neutral/model/ChainQualification.d.ts +15 -0
- package/dist/neutral/model/ChainQualification.d.ts.map +1 -1
- package/dist/neutral/model/Context/BaseContext.d.ts +1 -0
- package/dist/neutral/model/Context/BaseContext.d.ts.map +1 -1
- package/dist/neutral/model/Context/BaseContext.zod.d.ts +7 -0
- package/dist/neutral/model/Context/BaseContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/Context/BlockContext.d.ts +3 -0
- package/dist/neutral/model/Context/BlockContext.d.ts.map +1 -1
- package/dist/neutral/model/Context/BlockContext.zod.d.ts +3 -0
- package/dist/neutral/model/Context/BlockContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/Context/CachingContext.d.ts +1 -0
- package/dist/neutral/model/Context/CachingContext.d.ts.map +1 -1
- package/dist/neutral/model/Context/CachingContext.zod.d.ts +1 -0
- package/dist/neutral/model/Context/CachingContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/Context/ChainContext.d.ts +3 -0
- package/dist/neutral/model/Context/ChainContext.d.ts.map +1 -1
- package/dist/neutral/model/Context/ChainContext.zod.d.ts +3 -0
- package/dist/neutral/model/Context/ChainContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/Context/HeadContext.d.ts +1 -0
- package/dist/neutral/model/Context/HeadContext.d.ts.map +1 -1
- package/dist/neutral/model/Context/HeadContext.zod.d.ts +2 -0
- package/dist/neutral/model/Context/HeadContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/GatewayName.d.ts +1 -0
- package/dist/neutral/model/GatewayName.d.ts.map +1 -1
- package/dist/neutral/model/HydratedTransaction.d.ts +45 -0
- package/dist/neutral/model/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/model/OpCodes.d.ts +1 -0
- package/dist/neutral/model/OpCodes.d.ts.map +1 -1
- package/dist/neutral/model/PayloadMap.d.ts +3 -0
- package/dist/neutral/model/PayloadMap.d.ts.map +1 -1
- package/dist/neutral/model/Permission.d.ts +6 -0
- package/dist/neutral/model/Permission.d.ts.map +1 -1
- package/dist/neutral/model/Position.d.ts +1 -0
- package/dist/neutral/model/Position.d.ts.map +1 -1
- package/dist/neutral/model/PositionId.d.ts +1 -0
- package/dist/neutral/model/PositionId.d.ts.map +1 -1
- package/dist/neutral/model/RangeMultipliers.d.ts +4 -0
- package/dist/neutral/model/RangeMultipliers.d.ts.map +1 -1
- package/dist/neutral/model/RewardShare.d.ts +1 -0
- package/dist/neutral/model/RewardShare.d.ts.map +1 -1
- package/dist/neutral/model/RewardsRangeOptions.d.ts +1 -0
- package/dist/neutral/model/RewardsRangeOptions.d.ts.map +1 -1
- package/dist/neutral/model/Sequence.d.ts +6 -0
- package/dist/neutral/model/Sequence.d.ts.map +1 -1
- package/dist/neutral/model/Stake.d.ts +3 -0
- package/dist/neutral/model/Stake.d.ts.map +1 -1
- package/dist/neutral/model/StakeShare.d.ts +1 -0
- package/dist/neutral/model/StakeShare.d.ts.map +1 -1
- package/dist/neutral/model/TimeDomain.d.ts +1 -0
- package/dist/neutral/model/TimeDomain.d.ts.map +1 -1
- package/dist/neutral/model/TransferPair.d.ts +1 -0
- package/dist/neutral/model/TransferPair.d.ts.map +1 -1
- package/dist/neutral/model/addresses.d.ts +5 -0
- package/dist/neutral/model/addresses.d.ts.map +1 -1
- package/dist/neutral/model/defaultRewardRatio.d.ts +1 -0
- package/dist/neutral/model/defaultRewardRatio.d.ts.map +1 -1
- package/dist/neutral/model/defaultTransactionFees.d.ts +1 -0
- package/dist/neutral/model/defaultTransactionFees.d.ts.map +1 -1
- package/dist/neutral/model/minTransactionFees.d.ts +1 -0
- package/dist/neutral/model/minTransactionFees.d.ts.map +1 -1
- package/dist/neutral/model/rewards.d.ts +7 -0
- package/dist/neutral/model/rewards.d.ts.map +1 -1
- package/dist/neutral/model/version.d.ts +5 -0
- package/dist/neutral/model/version.d.ts.map +1 -1
- package/dist/neutral/network/NetworkId.d.ts +2 -0
- package/dist/neutral/network/NetworkId.d.ts.map +1 -1
- package/dist/neutral/network/Status.d.ts +7 -0
- package/dist/neutral/network/Status.d.ts.map +1 -1
- package/dist/neutral/payload/StepIdentityPayload.d.ts +5 -0
- package/dist/neutral/payload/StepIdentityPayload.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +5 -0
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +6 -0
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +5 -0
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/ChainStakeIntent.d.ts +8 -0
- package/dist/neutral/payload/elevatable/ChainStakeIntent.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Executable.d.ts +7 -0
- package/dist/neutral/payload/elevatable/Executable.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Hash.d.ts +7 -0
- package/dist/neutral/payload/elevatable/Hash.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/StepComplete.d.ts +5 -0
- package/dist/neutral/payload/elevatable/StepComplete.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Time.d.ts +13 -0
- package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
- package/dist/neutral/permissions/InvokerPermission.d.ts +2 -0
- package/dist/neutral/permissions/InvokerPermission.d.ts.map +1 -1
- package/dist/neutral/permissions/XyoPermissions.d.ts +1 -0
- package/dist/neutral/permissions/XyoPermissions.d.ts.map +1 -1
- package/dist/neutral/provider/Provider.d.ts +1 -0
- package/dist/neutral/provider/Provider.d.ts.map +1 -1
- package/dist/neutral/provider/ProviderMoniker.d.ts +4 -0
- package/dist/neutral/provider/ProviderMoniker.d.ts.map +1 -1
- package/dist/neutral/providers/DataLake/Provider.d.ts +2 -0
- package/dist/neutral/providers/DataLake/Provider.d.ts.map +1 -1
- package/dist/neutral/providers/DataLake/Runner.d.ts +4 -0
- package/dist/neutral/providers/DataLake/Runner.d.ts.map +1 -1
- package/dist/neutral/providers/DataLake/Viewer.d.ts +4 -0
- package/dist/neutral/providers/DataLake/Viewer.d.ts.map +1 -1
- package/dist/neutral/providers/TransactionHelper.d.ts +1 -0
- package/dist/neutral/providers/TransactionHelper.d.ts.map +1 -1
- package/dist/neutral/providers/XyoClient.d.ts +1 -0
- package/dist/neutral/providers/XyoClient.d.ts.map +1 -1
- package/dist/neutral/providers/XyoConnection.d.ts +3 -0
- package/dist/neutral/providers/XyoConnection.d.ts.map +1 -1
- package/dist/neutral/providers/XyoGateway.d.ts +5 -0
- package/dist/neutral/providers/XyoGateway.d.ts.map +1 -1
- package/dist/neutral/providers/XyoGatewayRunner.d.ts +6 -0
- package/dist/neutral/providers/XyoGatewayRunner.d.ts.map +1 -1
- package/dist/neutral/providers/XyoNetwork.d.ts +1 -0
- package/dist/neutral/providers/XyoNetwork.d.ts.map +1 -1
- package/dist/neutral/providers/XyoRunner.d.ts +4 -0
- package/dist/neutral/providers/XyoRunner.d.ts.map +1 -1
- package/dist/neutral/providers/signer/XyoSigner.d.ts +5 -0
- package/dist/neutral/providers/signer/XyoSigner.d.ts.map +1 -1
- package/dist/neutral/repository/Repository.d.ts +7 -0
- package/dist/neutral/repository/Repository.d.ts.map +1 -1
- package/dist/neutral/repository/TransactionReadRepository.d.ts +1 -0
- package/dist/neutral/repository/TransactionReadRepository.d.ts.map +1 -1
- package/dist/neutral/repository/TransactionRepository.d.ts +3 -0
- package/dist/neutral/repository/TransactionRepository.d.ts.map +1 -1
- package/dist/neutral/repository/TransactionRepositoryIterator.d.ts +1 -0
- package/dist/neutral/repository/TransactionRepositoryIterator.d.ts.map +1 -1
- package/dist/neutral/repository/TransactionWriteRepository.d.ts +1 -0
- package/dist/neutral/repository/TransactionWriteRepository.d.ts.map +1 -1
- package/dist/neutral/runners/Block.d.ts +4 -0
- package/dist/neutral/runners/Block.d.ts.map +1 -1
- package/dist/neutral/runners/Finalization.d.ts +4 -0
- package/dist/neutral/runners/Finalization.d.ts.map +1 -1
- package/dist/neutral/runners/Mempool.d.ts +6 -0
- package/dist/neutral/runners/Mempool.d.ts.map +1 -1
- package/dist/neutral/transaction/TransactionBoundWitness.d.ts +53 -0
- package/dist/neutral/transaction/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/transaction/TransactionFees.d.ts +18 -1
- package/dist/neutral/transaction/TransactionFees.d.ts.map +1 -1
- package/dist/neutral/transaction/TransactionGasCosts.d.ts +1 -0
- package/dist/neutral/transaction/TransactionGasCosts.d.ts.map +1 -1
- package/dist/neutral/validation/block/BlockValidationFunction.d.ts +1 -0
- package/dist/neutral/validation/block/BlockValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/block/HydratedBlockStateValidationFunction.d.ts +2 -0
- package/dist/neutral/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/block/HydratedBlockValidationFunction.d.ts +1 -0
- package/dist/neutral/validation/block/HydratedBlockValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/block/error.d.ts +6 -0
- package/dist/neutral/validation/block/error.d.ts.map +1 -1
- package/dist/neutral/validation/boundwitness/BoundWitnessValidationFunction.d.ts +1 -0
- package/dist/neutral/validation/boundwitness/BoundWitnessValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts +2 -0
- package/dist/neutral/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/boundwitness/error.d.ts +4 -0
- package/dist/neutral/validation/boundwitness/error.d.ts.map +1 -1
- package/dist/neutral/validation/error.d.ts +2 -0
- package/dist/neutral/validation/error.d.ts.map +1 -1
- package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts +2 -0
- package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/payload/error.d.ts +2 -0
- package/dist/neutral/validation/payload/error.d.ts.map +1 -1
- package/dist/neutral/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +1 -0
- package/dist/neutral/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/transaction/HydratedTransactionValidationFunction.d.ts +1 -0
- package/dist/neutral/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -1
- package/dist/neutral/validation/transaction/error.d.ts +2 -0
- package/dist/neutral/validation/transaction/error.d.ts.map +1 -1
- package/dist/neutral/viewers/Block.d.ts +4 -0
- package/dist/neutral/viewers/Block.d.ts.map +1 -1
- package/dist/neutral/viewers/BlockInvalidation.d.ts +10 -0
- package/dist/neutral/viewers/BlockInvalidation.d.ts.map +1 -1
- package/dist/neutral/viewers/BlockReward.d.ts +4 -0
- package/dist/neutral/viewers/BlockReward.d.ts.map +1 -1
- package/dist/neutral/viewers/BlockValidation.d.ts +10 -0
- package/dist/neutral/viewers/BlockValidation.d.ts.map +1 -1
- package/dist/neutral/viewers/ChainContract.d.ts +4 -0
- package/dist/neutral/viewers/ChainContract.d.ts.map +1 -1
- package/dist/neutral/viewers/ChainStakeViewer.d.ts +3 -0
- package/dist/neutral/viewers/ChainStakeViewer.d.ts.map +1 -1
- package/dist/neutral/viewers/Finalization.d.ts +4 -0
- package/dist/neutral/viewers/Finalization.d.ts.map +1 -1
- package/dist/neutral/viewers/Fork.d.ts +2 -0
- package/dist/neutral/viewers/Fork.d.ts.map +1 -1
- package/dist/neutral/viewers/Mempool.d.ts +8 -0
- package/dist/neutral/viewers/Mempool.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/NetworkStakeViewer.d.ts +4 -0
- package/dist/neutral/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +4 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +4 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +4 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/Options.d.ts +4 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/Options.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/TotalViewer.d.ts +4 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/Viewer.d.ts +4 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/Viewer.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +1 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +1 -0
- package/dist/neutral/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +1 -1
- package/dist/neutral/viewers/NetworkStakeStepReward.d.ts +7 -0
- package/dist/neutral/viewers/NetworkStakeStepReward.d.ts.map +1 -1
- package/dist/neutral/viewers/Stake.d.ts +8 -0
- package/dist/neutral/viewers/Stake.d.ts.map +1 -1
- package/dist/neutral/viewers/StakeEvents.d.ts +11 -0
- package/dist/neutral/viewers/StakeEvents.d.ts.map +1 -1
- package/dist/neutral/viewers/StakeIntent.d.ts +4 -0
- package/dist/neutral/viewers/StakeIntent.d.ts.map +1 -1
- package/dist/neutral/viewers/StakeTotals.d.ts +4 -0
- package/dist/neutral/viewers/StakeTotals.d.ts.map +1 -1
- package/dist/neutral/viewers/StepStake.d.ts +3 -0
- package/dist/neutral/viewers/StepStake.d.ts.map +1 -1
- package/dist/neutral/viewers/StepViewer.d.ts +7 -0
- package/dist/neutral/viewers/StepViewer.d.ts.map +1 -1
- package/dist/neutral/viewers/TimeSync.d.ts +4 -0
- package/dist/neutral/viewers/TimeSync.d.ts.map +1 -1
- package/dist/neutral/viewers/Transaction.d.ts +4 -0
- package/dist/neutral/viewers/Transaction.d.ts.map +1 -1
- package/dist/neutral/viewers/TransactionInvalidation.d.ts +10 -0
- package/dist/neutral/viewers/TransactionInvalidation.d.ts.map +1 -1
- package/dist/neutral/viewers/TransactionValidation.d.ts +10 -0
- package/dist/neutral/viewers/TransactionValidation.d.ts.map +1 -1
- package/dist/neutral/viewers/TransferBalance.d.ts +6 -0
- package/dist/neutral/viewers/TransferBalance.d.ts.map +1 -1
- package/dist/neutral/viewers/WindowedBlock.d.ts +4 -0
- package/dist/neutral/viewers/WindowedBlock.d.ts.map +1 -1
- package/dist/neutral/viewers/XyoViewer.d.ts +6 -0
- package/dist/neutral/viewers/XyoViewer.d.ts.map +1 -1
- package/dist/neutral/xl1/AttoXL1.d.ts +6 -0
- package/dist/neutral/xl1/AttoXL1.d.ts.map +1 -1
- package/dist/neutral/xl1/FemtoXL1.d.ts +6 -0
- package/dist/neutral/xl1/FemtoXL1.d.ts.map +1 -1
- package/dist/neutral/xl1/MicroXL1.d.ts +6 -0
- package/dist/neutral/xl1/MicroXL1.d.ts.map +1 -1
- package/dist/neutral/xl1/MilliXL1.d.ts +6 -0
- package/dist/neutral/xl1/MilliXL1.d.ts.map +1 -1
- package/dist/neutral/xl1/NanoXL1.d.ts +6 -0
- package/dist/neutral/xl1/NanoXL1.d.ts.map +1 -1
- package/dist/neutral/xl1/PicoXL1.d.ts +6 -0
- package/dist/neutral/xl1/PicoXL1.d.ts.map +1 -1
- package/dist/neutral/xl1/XL1.d.ts +6 -0
- package/dist/neutral/xl1/XL1.d.ts.map +1 -1
- package/dist/neutral/xl1/XL1Units.d.ts +1 -0
- package/dist/neutral/xl1/XL1Units.d.ts.map +1 -1
- package/dist/neutral/xl1/isXL1Factory.d.ts +5 -0
- package/dist/neutral/xl1/isXL1Factory.d.ts.map +1 -1
- package/dist/neutral/xl1/xl1MaxValue.d.ts +1 -0
- package/dist/neutral/xl1/xl1MaxValue.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/BlockNumber/BlockNumber.ts +7 -0
- package/src/BlockNumber/EthBlockNumber.ts +7 -0
- package/src/BlockNumber/Numberish.ts +2 -0
- package/src/BlockNumber/XL1BlockNumber.ts +7 -0
- package/src/Initializable.ts +2 -1
- package/src/OpenTelemetryProviders.ts +1 -0
- package/src/RecordKeyType.ts +4 -1
- package/src/Step/StepHash.ts +2 -1
- package/src/Step/StepIdentity.ts +4 -1
- package/src/Step/StepSizes.ts +5 -0
- package/src/TransferPayload.ts +7 -0
- package/src/amount/ShiftedBigIntConfig.ts +1 -0
- package/src/amount/XL1AmountInstance.ts +19 -0
- package/src/amount/index.ts +2 -4
- package/src/block/AllowedBlockPayload.ts +7 -0
- package/src/block/BlockBoundWitness.ts +17 -2
- package/src/block/HydratedBlock.ts +37 -0
- package/src/block/signed/SignedBlockBoundWitness.ts +5 -0
- package/src/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +7 -0
- package/src/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +7 -0
- package/src/block/unsigned/UnsignedBlockBoundWitness.ts +5 -0
- package/src/chain/Chain.ts +1 -0
- package/src/chain/ChainAnalyzer.ts +1 -0
- package/src/chain/ChainId.ts +1 -0
- package/src/fields/Addressable.ts +1 -0
- package/src/fields/BlockDuration.ts +2 -0
- package/src/fields/BlockNumber.ts +5 -0
- package/src/map/AsyncMap.ts +6 -0
- package/src/map/MapType.ts +7 -0
- package/src/map/SyncMap.ts +6 -0
- package/src/model/AccountBalance.ts +12 -0
- package/src/model/ArrayBuffer.ts +2 -0
- package/src/model/BlockRange/BlockRange.ts +11 -0
- package/src/model/BlockRange/EthBlockRange.ts +11 -0
- package/src/model/BlockRange/Numberish.ts +1 -0
- package/src/model/BlockRange/Range.ts +5 -0
- package/src/model/BlockRange/XL1BlockRange.ts +11 -0
- package/src/model/BlockRate.ts +27 -0
- package/src/model/ChainQualification.ts +15 -0
- package/src/model/Context/BaseContext.ts +1 -0
- package/src/model/Context/BaseContext.zod.ts +7 -0
- package/src/model/Context/BlockContext.ts +3 -0
- package/src/model/Context/BlockContext.zod.ts +3 -0
- package/src/model/Context/CachingContext.ts +1 -0
- package/src/model/Context/CachingContext.zod.ts +1 -0
- package/src/model/Context/ChainContext.ts +3 -0
- package/src/model/Context/ChainContext.zod.ts +3 -0
- package/src/model/Context/HeadContext.ts +1 -0
- package/src/model/Context/HeadContext.zod.ts +2 -0
- package/src/model/GatewayName.ts +1 -0
- package/src/model/HydratedTransaction.ts +45 -0
- package/src/model/OpCodes.ts +1 -0
- package/src/model/PayloadMap.ts +3 -0
- package/src/model/Permission.ts +6 -0
- package/src/model/Position.ts +1 -0
- package/src/model/PositionId.ts +1 -0
- package/src/model/RangeMultipliers.ts +4 -0
- package/src/model/RewardShare.ts +1 -0
- package/src/model/RewardsRangeOptions.ts +1 -0
- package/src/model/Sequence.ts +6 -0
- package/src/model/Stake.ts +3 -0
- package/src/model/StakeShare.ts +1 -0
- package/src/model/TimeDomain.ts +1 -0
- package/src/model/TransferPair.ts +1 -0
- package/src/model/addresses.ts +5 -0
- package/src/model/defaultRewardRatio.ts +1 -0
- package/src/model/defaultTransactionFees.ts +1 -0
- package/src/model/minTransactionFees.ts +1 -0
- package/src/model/rewards.ts +7 -0
- package/src/model/version.ts +5 -0
- package/src/network/NetworkId.ts +2 -0
- package/src/network/Status.ts +7 -0
- package/src/payload/StepIdentityPayload.ts +5 -0
- package/src/payload/elevatable/Bridge/BridgeDestinationObservation.ts +5 -0
- package/src/payload/elevatable/Bridge/BridgeIntent.ts +6 -0
- package/src/payload/elevatable/Bridge/BridgeSourceObservation.ts +5 -0
- package/src/payload/elevatable/ChainStakeIntent.ts +8 -0
- package/src/payload/elevatable/Executable.ts +7 -0
- package/src/payload/elevatable/Hash.ts +7 -0
- package/src/payload/elevatable/StepComplete.ts +5 -0
- package/src/payload/elevatable/Time.ts +13 -0
- package/src/permissions/InvokerPermission.ts +2 -0
- package/src/permissions/XyoPermissions.ts +1 -0
- package/src/provider/Provider.ts +1 -0
- package/src/provider/ProviderMoniker.ts +4 -0
- package/src/providers/DataLake/Provider.ts +2 -0
- package/src/providers/DataLake/Runner.ts +4 -0
- package/src/providers/DataLake/Viewer.ts +4 -0
- package/src/providers/TransactionHelper.ts +1 -0
- package/src/providers/XyoClient.ts +1 -0
- package/src/providers/XyoConnection.ts +3 -0
- package/src/providers/XyoGateway.ts +5 -0
- package/src/providers/XyoGatewayRunner.ts +6 -0
- package/src/providers/XyoNetwork.ts +1 -0
- package/src/providers/XyoRunner.ts +4 -0
- package/src/providers/signer/XyoSigner.ts +5 -0
- package/src/repository/Repository.ts +7 -0
- package/src/repository/TransactionReadRepository.ts +1 -0
- package/src/repository/TransactionRepository.ts +3 -0
- package/src/repository/TransactionRepositoryIterator.ts +1 -0
- package/src/repository/TransactionWriteRepository.ts +1 -0
- package/src/runners/Block.ts +4 -0
- package/src/runners/Finalization.ts +4 -0
- package/src/runners/Mempool.ts +6 -0
- package/src/transaction/TransactionBoundWitness.ts +53 -0
- package/src/transaction/TransactionFees.ts +20 -2
- package/src/transaction/TransactionGasCosts.ts +1 -0
- package/src/validation/block/BlockValidationFunction.ts +1 -0
- package/src/validation/block/HydratedBlockStateValidationFunction.ts +2 -0
- package/src/validation/block/HydratedBlockValidationFunction.ts +1 -0
- package/src/validation/block/error.ts +6 -0
- package/src/validation/boundwitness/BoundWitnessValidationFunction.ts +1 -0
- package/src/validation/boundwitness/HydratedBoundWitnessValidationFunction.ts +2 -0
- package/src/validation/boundwitness/error.ts +4 -0
- package/src/validation/error.ts +2 -0
- package/src/validation/payload/InBlockPayloadValidationFunction.ts +2 -0
- package/src/validation/payload/error.ts +2 -0
- package/src/validation/transaction/HydratedTransactionStateValidationFunction.ts +1 -0
- package/src/validation/transaction/HydratedTransactionValidationFunction.ts +1 -0
- package/src/validation/transaction/error.ts +2 -0
- package/src/viewers/Block.ts +4 -0
- package/src/viewers/BlockInvalidation.ts +10 -0
- package/src/viewers/BlockReward.ts +4 -0
- package/src/viewers/BlockValidation.ts +10 -0
- package/src/viewers/ChainContract.ts +4 -0
- package/src/viewers/ChainStakeViewer.ts +3 -0
- package/src/viewers/Finalization.ts +4 -0
- package/src/viewers/Fork.ts +2 -0
- package/src/viewers/Mempool.ts +8 -0
- package/src/viewers/NetworkStake/NetworkStakeViewer.ts +4 -0
- package/src/viewers/NetworkStake/Rewards/ByPositionViewer.ts +4 -0
- package/src/viewers/NetworkStake/Rewards/ByStakerViewer.ts +4 -0
- package/src/viewers/NetworkStake/Rewards/ByStepViewer.ts +4 -0
- package/src/viewers/NetworkStake/Rewards/Options.ts +4 -0
- package/src/viewers/NetworkStake/Rewards/TotalViewer.ts +4 -0
- package/src/viewers/NetworkStake/Rewards/Viewer.ts +4 -0
- package/src/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.ts +1 -0
- package/src/viewers/NetworkStake/Rewards/templates/MethodsTemplate.ts +1 -0
- package/src/viewers/NetworkStakeStepReward.ts +7 -0
- package/src/viewers/Stake.ts +8 -0
- package/src/viewers/StakeEvents.ts +11 -0
- package/src/viewers/StakeIntent.ts +4 -0
- package/src/viewers/StakeTotals.ts +4 -0
- package/src/viewers/StepStake.ts +3 -0
- package/src/viewers/StepViewer.ts +7 -0
- package/src/viewers/TimeSync.ts +4 -0
- package/src/viewers/Transaction.ts +4 -0
- package/src/viewers/TransactionInvalidation.ts +10 -0
- package/src/viewers/TransactionValidation.ts +10 -0
- package/src/viewers/TransferBalance.ts +6 -0
- package/src/viewers/WindowedBlock.ts +4 -0
- package/src/viewers/XyoViewer.ts +6 -0
- package/src/xl1/AttoXL1.ts +6 -0
- package/src/xl1/FemtoXL1.ts +6 -0
- package/src/xl1/MicroXL1.ts +6 -0
- package/src/xl1/MilliXL1.ts +6 -0
- package/src/xl1/NanoXL1.ts +6 -0
- package/src/xl1/PicoXL1.ts +6 -0
- package/src/xl1/XL1.ts +6 -0
- package/src/xl1/XL1Units.ts +1 -0
- package/src/xl1/isXL1Factory.ts +5 -0
- package/src/xl1/xl1MaxValue.ts +1 -0
- package/dist/neutral/amount/ShiftedBigInt.d.ts +0 -16
- package/dist/neutral/amount/ShiftedBigInt.d.ts.map +0 -1
- package/dist/neutral/amount/XL1Amount.d.ts +0 -37
- package/dist/neutral/amount/XL1Amount.d.ts.map +0 -1
- package/dist/neutral/amount/splitOnDecimal.d.ts +0 -2
- package/dist/neutral/amount/splitOnDecimal.d.ts.map +0 -1
- package/dist/neutral/amount/splitOnDecimalToString.d.ts +0 -2
- package/dist/neutral/amount/splitOnDecimalToString.d.ts.map +0 -1
- package/src/amount/ShiftedBigInt.ts +0 -71
- package/src/amount/XL1Amount.ts +0 -124
- package/src/amount/splitOnDecimal.ts +0 -5
- package/src/amount/splitOnDecimalToString.ts +0 -39
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,288 +1,3 @@
|
|
|
1
|
-
// src/amount/splitOnDecimal.ts
|
|
2
|
-
var splitOnDecimal = (value, places = 18) => {
|
|
3
|
-
const whole = value / BigInt(10 ** places);
|
|
4
|
-
const decimal = value % BigInt(10 ** places);
|
|
5
|
-
return [whole, decimal];
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
// src/amount/splitOnDecimalToString.ts
|
|
9
|
-
var splitOnDecimalToString = (value, places = 18, maxDecimal = places, maxCharacters = 9, minDecimals = 1, locale = "en-US") => {
|
|
10
|
-
const [whole, decimal] = splitOnDecimal(value, places);
|
|
11
|
-
const remainderLength = decimal.toString().length;
|
|
12
|
-
const precedingZerosInDecimal = places - remainderLength;
|
|
13
|
-
if (whole === 0n && precedingZerosInDecimal >= maxDecimal && decimal !== 0n) return "< 0.".padEnd(maxDecimal + 5, "0") + "1";
|
|
14
|
-
const wholeCharacters = whole.toString(10).length;
|
|
15
|
-
const calcMaxDecimalCharacters = maxCharacters === -1 ? places : wholeCharacters > maxCharacters ? 0 : maxCharacters - wholeCharacters;
|
|
16
|
-
const maxDecimalCharacters = Math.min(maxDecimal, calcMaxDecimalCharacters);
|
|
17
|
-
const formattedWhole = new Intl.NumberFormat(locale, {
|
|
18
|
-
maximumFractionDigits: 0,
|
|
19
|
-
useGrouping: true
|
|
20
|
-
}).format(whole);
|
|
21
|
-
const decimalSeparator = new Intl.NumberFormat(locale).formatToParts(1.1).find((part) => part.type === "decimal")?.value ?? ".";
|
|
22
|
-
let paddedDecimal = decimal.toString().padStart(places, "0").slice(0, maxDecimalCharacters);
|
|
23
|
-
while (paddedDecimal.length > minDecimals && paddedDecimal.endsWith("0")) {
|
|
24
|
-
paddedDecimal = paddedDecimal.slice(0, -1);
|
|
25
|
-
}
|
|
26
|
-
return `${formattedWhole}${paddedDecimal.length > 0 ? decimalSeparator : ""}${paddedDecimal}`;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
// src/amount/ShiftedBigInt.ts
|
|
30
|
-
var ShiftedBigInt = class _ShiftedBigInt {
|
|
31
|
-
static defaultConfig = {
|
|
32
|
-
places: 18,
|
|
33
|
-
maxDecimal: 18,
|
|
34
|
-
maxCharacters: 9,
|
|
35
|
-
minDecimals: 1,
|
|
36
|
-
locale: "en-US"
|
|
37
|
-
};
|
|
38
|
-
config;
|
|
39
|
-
value;
|
|
40
|
-
constructor(value, config = {}) {
|
|
41
|
-
this.value = typeof value === "bigint" ? value : value.value;
|
|
42
|
-
this.config = {
|
|
43
|
-
..._ShiftedBigInt.defaultConfig,
|
|
44
|
-
...typeof value === "bigint" ? {} : value.config,
|
|
45
|
-
...config
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
get locale() {
|
|
49
|
-
return this.config.locale ?? "en-US";
|
|
50
|
-
}
|
|
51
|
-
get maxCharacters() {
|
|
52
|
-
return this.config.maxCharacters ?? 9;
|
|
53
|
-
}
|
|
54
|
-
get maxDecimal() {
|
|
55
|
-
return this.config.maxDecimal ?? this.places;
|
|
56
|
-
}
|
|
57
|
-
get minDecimals() {
|
|
58
|
-
return this.config.minDecimals ?? 1;
|
|
59
|
-
}
|
|
60
|
-
get places() {
|
|
61
|
-
return this.config.places ?? 18;
|
|
62
|
-
}
|
|
63
|
-
toFullString() {
|
|
64
|
-
return splitOnDecimalToString(
|
|
65
|
-
this.value,
|
|
66
|
-
this.places,
|
|
67
|
-
this.places,
|
|
68
|
-
Infinity,
|
|
69
|
-
this.places,
|
|
70
|
-
this.locale
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
toShortString() {
|
|
74
|
-
return splitOnDecimalToString(
|
|
75
|
-
this.value,
|
|
76
|
-
this.places,
|
|
77
|
-
this.maxDecimal,
|
|
78
|
-
this.maxCharacters,
|
|
79
|
-
this.minDecimals,
|
|
80
|
-
this.locale
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
toString() {
|
|
84
|
-
return this.toFullString();
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
// src/amount/XL1Amount.ts
|
|
89
|
-
import { assertEx } from "@xylabs/sdk-js";
|
|
90
|
-
|
|
91
|
-
// src/xl1/isXL1Factory.ts
|
|
92
|
-
import { z } from "zod";
|
|
93
|
-
|
|
94
|
-
// src/xl1/xl1MaxValue.ts
|
|
95
|
-
var xl1MaxValue = (places) => 10n ** (32n - places) - 1n;
|
|
96
|
-
|
|
97
|
-
// src/xl1/isXL1Factory.ts
|
|
98
|
-
var isXL1Factory = (places) => (val) => {
|
|
99
|
-
if (typeof val !== "bigint") return false;
|
|
100
|
-
return val >= 0n && val <= xl1MaxValue(places);
|
|
101
|
-
};
|
|
102
|
-
var XL1ZodFactory = (places, name) => {
|
|
103
|
-
const is = isXL1Factory(places);
|
|
104
|
-
const message = `Invalid value for ${name}, must be between 0 and ${xl1MaxValue(places)}`;
|
|
105
|
-
return z.bigint().refine(
|
|
106
|
-
(x) => {
|
|
107
|
-
const result = is(x);
|
|
108
|
-
return result;
|
|
109
|
-
},
|
|
110
|
-
{ message }
|
|
111
|
-
);
|
|
112
|
-
};
|
|
113
|
-
var XL1TransformZodFactory = (places, name) => {
|
|
114
|
-
const is = isXL1Factory(places);
|
|
115
|
-
const message = `Invalid value for ${name}, must be between 0 and ${xl1MaxValue(places)}`;
|
|
116
|
-
return z.union([z.bigint(), z.number(), z.string(), z.boolean()]).transform((val) => BigInt(val)).refine(
|
|
117
|
-
(x) => {
|
|
118
|
-
const result = is(x);
|
|
119
|
-
return result;
|
|
120
|
-
},
|
|
121
|
-
{ message }
|
|
122
|
-
);
|
|
123
|
-
};
|
|
124
|
-
var asXL1Factory = (places) => {
|
|
125
|
-
const zod = XL1ZodFactory(places, "local");
|
|
126
|
-
return (val) => {
|
|
127
|
-
const result = zod.safeParse(val);
|
|
128
|
-
if (result.success) {
|
|
129
|
-
return result.data;
|
|
130
|
-
}
|
|
131
|
-
throw result.error;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
var toXL1Factory = (places) => {
|
|
135
|
-
const zod = XL1TransformZodFactory(places, "local");
|
|
136
|
-
return (val) => {
|
|
137
|
-
const result = zod.safeParse(val);
|
|
138
|
-
return result.success ? result.data : void 0;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
// src/xl1/XL1Units.ts
|
|
143
|
-
var XL1Places = {
|
|
144
|
-
xl1: 18n,
|
|
145
|
-
milli: 15n,
|
|
146
|
-
micro: 12n,
|
|
147
|
-
nano: 9n,
|
|
148
|
-
pico: 6n,
|
|
149
|
-
femto: 3n,
|
|
150
|
-
atto: 0n
|
|
151
|
-
};
|
|
152
|
-
var AttoXL1ConvertFactor = {
|
|
153
|
-
xl1: 10n ** XL1Places.xl1,
|
|
154
|
-
milli: 10n ** XL1Places.milli,
|
|
155
|
-
micro: 10n ** XL1Places.micro,
|
|
156
|
-
nano: 10n ** XL1Places.nano,
|
|
157
|
-
pico: 10n ** XL1Places.pico,
|
|
158
|
-
femto: 10n ** XL1Places.femto,
|
|
159
|
-
atto: 10n ** XL1Places.atto
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
// src/xl1/AttoXL1.ts
|
|
163
|
-
var AttoXL1MaxValue = xl1MaxValue(XL1Places.atto);
|
|
164
|
-
var isAttoXL1 = isXL1Factory(XL1Places.atto);
|
|
165
|
-
var asAttoXL1 = asXL1Factory(XL1Places.atto);
|
|
166
|
-
var toAttoXL1 = toXL1Factory(XL1Places.atto);
|
|
167
|
-
var AttoXL1 = asAttoXL1;
|
|
168
|
-
|
|
169
|
-
// src/xl1/FemtoXL1.ts
|
|
170
|
-
var FemtoXL1MaxValue = xl1MaxValue(XL1Places.femto);
|
|
171
|
-
var isFemtoXL1 = isXL1Factory(XL1Places.femto);
|
|
172
|
-
var asFemtoXL1 = asXL1Factory(XL1Places.femto);
|
|
173
|
-
var toFemtoXL1 = toXL1Factory(XL1Places.femto);
|
|
174
|
-
var FemtoXL1 = asFemtoXL1;
|
|
175
|
-
|
|
176
|
-
// src/xl1/MicroXL1.ts
|
|
177
|
-
var MicroXL1MaxValue = xl1MaxValue(XL1Places.micro);
|
|
178
|
-
var isMicroXL1 = isXL1Factory(XL1Places.micro);
|
|
179
|
-
var asMicroXL1 = asXL1Factory(XL1Places.micro);
|
|
180
|
-
var toMicroXL1 = toXL1Factory(XL1Places.micro);
|
|
181
|
-
var MicroXL1 = asMicroXL1;
|
|
182
|
-
|
|
183
|
-
// src/xl1/MilliXL1.ts
|
|
184
|
-
var MilliXL1MaxValue = xl1MaxValue(XL1Places.milli);
|
|
185
|
-
var isMilliXL1 = isXL1Factory(XL1Places.milli);
|
|
186
|
-
var asMilliXL1 = asXL1Factory(XL1Places.milli);
|
|
187
|
-
var toMilliXL1 = toXL1Factory(XL1Places.milli);
|
|
188
|
-
var MilliXL1 = asMilliXL1;
|
|
189
|
-
|
|
190
|
-
// src/xl1/NanoXL1.ts
|
|
191
|
-
var NanoXL1MaxValue = xl1MaxValue(XL1Places.nano);
|
|
192
|
-
var isNanoXL1 = isXL1Factory(XL1Places.nano);
|
|
193
|
-
var asNanoXL1 = asXL1Factory(XL1Places.nano);
|
|
194
|
-
var toNanoXL1 = toXL1Factory(XL1Places.nano);
|
|
195
|
-
var NanoXL1 = asNanoXL1;
|
|
196
|
-
|
|
197
|
-
// src/xl1/PicoXL1.ts
|
|
198
|
-
var PicoXL1MaxValue = xl1MaxValue(XL1Places.pico);
|
|
199
|
-
var isPicoXL1 = isXL1Factory(XL1Places.pico);
|
|
200
|
-
var asPicoXL1 = asXL1Factory(XL1Places.pico);
|
|
201
|
-
var toPicoXL1 = toXL1Factory(XL1Places.pico);
|
|
202
|
-
var PicoXL1 = asPicoXL1;
|
|
203
|
-
|
|
204
|
-
// src/xl1/XL1.ts
|
|
205
|
-
var XL1MaxValue = xl1MaxValue(XL1Places.xl1);
|
|
206
|
-
var isXL1 = isXL1Factory(XL1Places.xl1);
|
|
207
|
-
var asXL1 = asXL1Factory(XL1Places.xl1);
|
|
208
|
-
var toXL1 = toXL1Factory(XL1Places.xl1);
|
|
209
|
-
var XL1 = asXL1;
|
|
210
|
-
|
|
211
|
-
// src/amount/XL1Amount.ts
|
|
212
|
-
var MAX_XL1_AMOUNT = 2n ** 256n - 1n;
|
|
213
|
-
var allowedPlaces = Object.values(XL1Places);
|
|
214
|
-
var XL1Amount = class _XL1Amount {
|
|
215
|
-
value;
|
|
216
|
-
locale;
|
|
217
|
-
constructor(value, locale = "en-US") {
|
|
218
|
-
this.locale = locale;
|
|
219
|
-
this.value = AttoXL1(value > MAX_XL1_AMOUNT ? MAX_XL1_AMOUNT : value < 0n ? 0n : value);
|
|
220
|
-
}
|
|
221
|
-
static from(value, places = XL1Places.atto) {
|
|
222
|
-
assertEx(allowedPlaces.includes(places), () => `Invalid conversion places (${places} not in ${allowedPlaces})`);
|
|
223
|
-
return new _XL1Amount(value * 10n ** BigInt(places));
|
|
224
|
-
}
|
|
225
|
-
static fromMilli(value) {
|
|
226
|
-
return this.from(value, XL1Places.milli);
|
|
227
|
-
}
|
|
228
|
-
static fromMicro(value) {
|
|
229
|
-
return this.from(value, XL1Places.micro);
|
|
230
|
-
}
|
|
231
|
-
static fromNano(value) {
|
|
232
|
-
return this.from(value, XL1Places.nano);
|
|
233
|
-
}
|
|
234
|
-
static fromPico(value) {
|
|
235
|
-
return this.from(value, XL1Places.pico);
|
|
236
|
-
}
|
|
237
|
-
static fromFemto(value) {
|
|
238
|
-
return this.from(value, XL1Places.femto);
|
|
239
|
-
}
|
|
240
|
-
static fromAtto(value) {
|
|
241
|
-
return this.from(value, XL1Places.atto);
|
|
242
|
-
}
|
|
243
|
-
static fromXL1(value) {
|
|
244
|
-
return this.from(value, XL1Places.xl1);
|
|
245
|
-
}
|
|
246
|
-
to(places = XL1Places.atto) {
|
|
247
|
-
return this.value / 10n ** BigInt(places);
|
|
248
|
-
}
|
|
249
|
-
get milli() {
|
|
250
|
-
return MilliXL1(this.to(XL1Places.milli));
|
|
251
|
-
}
|
|
252
|
-
get micro() {
|
|
253
|
-
return MicroXL1(this.to(XL1Places.micro));
|
|
254
|
-
}
|
|
255
|
-
get nano() {
|
|
256
|
-
return NanoXL1(this.to(XL1Places.nano));
|
|
257
|
-
}
|
|
258
|
-
get pico() {
|
|
259
|
-
return PicoXL1(this.to(XL1Places.pico));
|
|
260
|
-
}
|
|
261
|
-
get femto() {
|
|
262
|
-
return FemtoXL1(this.to(XL1Places.femto));
|
|
263
|
-
}
|
|
264
|
-
get atto() {
|
|
265
|
-
return AttoXL1(this.to(XL1Places.atto));
|
|
266
|
-
}
|
|
267
|
-
get xl1() {
|
|
268
|
-
return XL1(this.to(XL1Places.xl1));
|
|
269
|
-
}
|
|
270
|
-
toString(places = Number(XL1Places.atto), config = {}) {
|
|
271
|
-
assertEx(allowedPlaces.includes(BigInt(places)), () => `Invalid conversion places (${places} not in ${allowedPlaces})`);
|
|
272
|
-
return new ShiftedBigInt(
|
|
273
|
-
this.value,
|
|
274
|
-
{
|
|
275
|
-
places,
|
|
276
|
-
locale: this.locale,
|
|
277
|
-
maxDecimal: places,
|
|
278
|
-
minDecimals: 0,
|
|
279
|
-
maxCharacters: places,
|
|
280
|
-
...config
|
|
281
|
-
}
|
|
282
|
-
).toShortString();
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
|
|
286
1
|
// src/block/AllowedBlockPayload.ts
|
|
287
2
|
import { zodIsFactory as zodIsFactory3 } from "@xylabs/sdk-js";
|
|
288
3
|
import {
|
|
@@ -299,8 +14,8 @@ import { asSchema, isPayloadOfZodType } from "@xyo-network/sdk-js";
|
|
|
299
14
|
|
|
300
15
|
// src/payload/elevatable/Bridge/BridgeDetails.ts
|
|
301
16
|
import { HexZod } from "@xylabs/sdk-js";
|
|
302
|
-
import { z
|
|
303
|
-
var BridgeDetailsDestinationFieldsZod =
|
|
17
|
+
import { z } from "zod";
|
|
18
|
+
var BridgeDetailsDestinationFieldsZod = z.object({
|
|
304
19
|
/**
|
|
305
20
|
* Destination network
|
|
306
21
|
*/
|
|
@@ -318,7 +33,7 @@ var BridgeDetailsDestinationFieldsZod = z2.object({
|
|
|
318
33
|
*/
|
|
319
34
|
destToken: HexZod.describe("The token being bridged to")
|
|
320
35
|
});
|
|
321
|
-
var BridgeDetailsSourceFieldsZod =
|
|
36
|
+
var BridgeDetailsSourceFieldsZod = z.object({
|
|
322
37
|
/**
|
|
323
38
|
* Source network
|
|
324
39
|
*/
|
|
@@ -357,13 +72,13 @@ var asBridgeDestinationObservation = AsObjectFactory.create(isBridgeDestinationO
|
|
|
357
72
|
// src/payload/elevatable/Bridge/BridgeIntent.ts
|
|
358
73
|
import { AsObjectFactory as AsObjectFactory2 } from "@xylabs/sdk-js";
|
|
359
74
|
import { asSchema as asSchema2, isPayloadOfZodType as isPayloadOfZodType2 } from "@xyo-network/sdk-js";
|
|
360
|
-
import { z as
|
|
75
|
+
import { z as z2 } from "zod";
|
|
361
76
|
var BridgeIntentSchema = asSchema2("network.xyo.chain.bridge.intent", true);
|
|
362
77
|
var BridgeIntentFieldsZod = BridgeDetailsFieldsZod.extend({
|
|
363
78
|
/**
|
|
364
79
|
* Unique identifier for replay protection
|
|
365
80
|
*/
|
|
366
|
-
nonce:
|
|
81
|
+
nonce: z2.string().describe("Unique identifier for replay protection")
|
|
367
82
|
});
|
|
368
83
|
var isBridgeIntent = isPayloadOfZodType2(
|
|
369
84
|
BridgeIntentFieldsZod,
|
|
@@ -440,23 +155,23 @@ import {
|
|
|
440
155
|
isPayloadOfSchemaType as isPayloadOfSchemaType4,
|
|
441
156
|
PayloadZodOfSchema
|
|
442
157
|
} from "@xyo-network/sdk-js";
|
|
443
|
-
import { z as
|
|
158
|
+
import { z as z3 } from "zod";
|
|
444
159
|
var TimeSchema = asSchema7("network.xyo.time", true);
|
|
445
|
-
var XL1TimeFieldsZod =
|
|
160
|
+
var XL1TimeFieldsZod = z3.object({
|
|
446
161
|
// block number
|
|
447
|
-
xl1:
|
|
162
|
+
xl1: z3.number().optional(),
|
|
448
163
|
// block hash
|
|
449
164
|
xl1Hash: HashZod.optional()
|
|
450
165
|
});
|
|
451
|
-
var EthereumTimeFieldsZod =
|
|
166
|
+
var EthereumTimeFieldsZod = z3.object({
|
|
452
167
|
// block number
|
|
453
|
-
ethereum:
|
|
168
|
+
ethereum: z3.number().optional(),
|
|
454
169
|
// block hash
|
|
455
170
|
ethereumHash: HashZod.optional()
|
|
456
171
|
});
|
|
457
|
-
var EpochTimeFieldsZod =
|
|
172
|
+
var EpochTimeFieldsZod = z3.object({
|
|
458
173
|
// in milliseconds
|
|
459
|
-
epoch:
|
|
174
|
+
epoch: z3.number()
|
|
460
175
|
});
|
|
461
176
|
var TimeFieldsZod = XL1TimeFieldsZod.extend(XL1TimeFieldsZod.shape).extend(EthereumTimeFieldsZod.shape).extend(EpochTimeFieldsZod.shape);
|
|
462
177
|
var TimePayloadZod = PayloadZodOfSchema(TimeSchema).extend(TimeFieldsZod.shape);
|
|
@@ -475,18 +190,18 @@ import { asSchema as asSchema8, isPayloadOfZodType as isPayloadOfZodType4 } from
|
|
|
475
190
|
|
|
476
191
|
// src/Step/StepIdentity.ts
|
|
477
192
|
import { isUndefined } from "@xylabs/sdk-js";
|
|
478
|
-
import { z as
|
|
193
|
+
import { z as z8 } from "zod";
|
|
479
194
|
|
|
480
195
|
// src/BlockNumber/BlockNumber.ts
|
|
481
196
|
import { zodAsFactory, zodToFactory } from "@xylabs/sdk-js";
|
|
482
|
-
import { z as
|
|
197
|
+
import { z as z5 } from "zod";
|
|
483
198
|
|
|
484
199
|
// src/BlockNumber/Numberish.ts
|
|
485
|
-
import { z as
|
|
486
|
-
var NumberishZod =
|
|
200
|
+
import { z as z4 } from "zod";
|
|
201
|
+
var NumberishZod = z4.union([z4.number(), z4.string(), z4.bigint()]).transform((v) => typeof v === "bigint" ? Number(v) : typeof v === "string" ? Number(v) : v).pipe(z4.number());
|
|
487
202
|
|
|
488
203
|
// src/BlockNumber/BlockNumber.ts
|
|
489
|
-
var BlockNumberZod =
|
|
204
|
+
var BlockNumberZod = z5.number().transform((v) => v);
|
|
490
205
|
var BlockNumberishZod = NumberishZod.transform((v) => v);
|
|
491
206
|
var asBlockNumber = zodAsFactory(BlockNumberZod, "asBlockNumber");
|
|
492
207
|
var toBlockNumber = zodToFactory(BlockNumberishZod, "toBlockNumber");
|
|
@@ -494,8 +209,8 @@ var BLOCK_NUMBER_ZERO = asBlockNumber(0);
|
|
|
494
209
|
|
|
495
210
|
// src/BlockNumber/EthBlockNumber.ts
|
|
496
211
|
import { zodAsFactory as zodAsFactory2, zodToFactory as zodToFactory2 } from "@xylabs/sdk-js";
|
|
497
|
-
import { z as
|
|
498
|
-
var EthBlockNumberZod =
|
|
212
|
+
import { z as z6 } from "zod";
|
|
213
|
+
var EthBlockNumberZod = z6.number().transform((v) => v);
|
|
499
214
|
var EthBlockNumberishZod = BlockNumberishZod.transform((v) => v);
|
|
500
215
|
var asEthBlockNumber = zodAsFactory2(EthBlockNumberZod, "asEthBlockNumber");
|
|
501
216
|
var toEthBlockNumber = zodToFactory2(EthBlockNumberishZod, "toEthBlockNumber");
|
|
@@ -503,17 +218,17 @@ var ETH_BLOCK_NUMBER_ZERO = asEthBlockNumber(0);
|
|
|
503
218
|
|
|
504
219
|
// src/BlockNumber/XL1BlockNumber.ts
|
|
505
220
|
import { zodAsFactory as zodAsFactory3, zodToFactory as zodToFactory3 } from "@xylabs/sdk-js";
|
|
506
|
-
import { z as
|
|
507
|
-
var XL1BlockNumberZod =
|
|
221
|
+
import { z as z7 } from "zod";
|
|
222
|
+
var XL1BlockNumberZod = z7.number().transform((v) => v);
|
|
508
223
|
var XL1BlockNumberishZod = BlockNumberishZod.transform((v) => v);
|
|
509
224
|
var asXL1BlockNumber = zodAsFactory3(XL1BlockNumberZod, "asXL1BlockNumber");
|
|
510
225
|
var toXL1BlockNumber = zodToFactory3(XL1BlockNumberishZod, "toXL1BlockNumber");
|
|
511
226
|
var XL1_BLOCK_NUMBER_ZERO = asXL1BlockNumber(0);
|
|
512
227
|
|
|
513
228
|
// src/Step/StepIdentity.ts
|
|
514
|
-
var StepIdentityZod =
|
|
229
|
+
var StepIdentityZod = z8.object({
|
|
515
230
|
block: XL1BlockNumberZod.describe("The block number at which the step occurs"),
|
|
516
|
-
step:
|
|
231
|
+
step: z8.number().int().nonnegative().describe("The index of the step into the StepSize array")
|
|
517
232
|
});
|
|
518
233
|
function tryParseInt(value) {
|
|
519
234
|
if (value === "") return void 0;
|
|
@@ -603,8 +318,8 @@ import { z as z12 } from "zod";
|
|
|
603
318
|
|
|
604
319
|
// src/chain/Chain.ts
|
|
605
320
|
import { AddressRegEx, toAddress } from "@xylabs/sdk-js";
|
|
606
|
-
import { z as
|
|
607
|
-
var ChainZod =
|
|
321
|
+
import { z as z9 } from "zod";
|
|
322
|
+
var ChainZod = z9.string().toLowerCase().regex(AddressRegEx).transform((v) => toAddress(v));
|
|
608
323
|
|
|
609
324
|
// src/transaction/TransactionFees.ts
|
|
610
325
|
import {
|
|
@@ -616,9 +331,131 @@ import {
|
|
|
616
331
|
zodToFactory as zodToFactory4
|
|
617
332
|
} from "@xylabs/sdk-js";
|
|
618
333
|
import { z as z11 } from "zod";
|
|
334
|
+
|
|
335
|
+
// src/xl1/isXL1Factory.ts
|
|
336
|
+
import { z as z10 } from "zod";
|
|
337
|
+
|
|
338
|
+
// src/xl1/xl1MaxValue.ts
|
|
339
|
+
var xl1MaxValue = (places) => 10n ** (32n - places) - 1n;
|
|
340
|
+
|
|
341
|
+
// src/xl1/isXL1Factory.ts
|
|
342
|
+
var isXL1Factory = (places) => (val) => {
|
|
343
|
+
if (typeof val !== "bigint") return false;
|
|
344
|
+
return val >= 0n && val <= xl1MaxValue(places);
|
|
345
|
+
};
|
|
346
|
+
var XL1ZodFactory = (places, name) => {
|
|
347
|
+
const is = isXL1Factory(places);
|
|
348
|
+
const message = `Invalid value for ${name}, must be between 0 and ${xl1MaxValue(places)}`;
|
|
349
|
+
return z10.bigint().refine(
|
|
350
|
+
(x) => {
|
|
351
|
+
const result = is(x);
|
|
352
|
+
return result;
|
|
353
|
+
},
|
|
354
|
+
{ message }
|
|
355
|
+
);
|
|
356
|
+
};
|
|
357
|
+
var XL1TransformZodFactory = (places, name) => {
|
|
358
|
+
const is = isXL1Factory(places);
|
|
359
|
+
const message = `Invalid value for ${name}, must be between 0 and ${xl1MaxValue(places)}`;
|
|
360
|
+
return z10.union([z10.bigint(), z10.number(), z10.string(), z10.boolean()]).transform((val) => BigInt(val)).refine(
|
|
361
|
+
(x) => {
|
|
362
|
+
const result = is(x);
|
|
363
|
+
return result;
|
|
364
|
+
},
|
|
365
|
+
{ message }
|
|
366
|
+
);
|
|
367
|
+
};
|
|
368
|
+
var asXL1Factory = (places) => {
|
|
369
|
+
const zod = XL1ZodFactory(places, "local");
|
|
370
|
+
return (val) => {
|
|
371
|
+
const result = zod.safeParse(val);
|
|
372
|
+
if (result.success) {
|
|
373
|
+
return result.data;
|
|
374
|
+
}
|
|
375
|
+
throw result.error;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
var toXL1Factory = (places) => {
|
|
379
|
+
const zod = XL1TransformZodFactory(places, "local");
|
|
380
|
+
return (val) => {
|
|
381
|
+
const result = zod.safeParse(val);
|
|
382
|
+
return result.success ? result.data : void 0;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
// src/xl1/XL1Units.ts
|
|
387
|
+
var XL1Places = {
|
|
388
|
+
xl1: 18n,
|
|
389
|
+
milli: 15n,
|
|
390
|
+
micro: 12n,
|
|
391
|
+
nano: 9n,
|
|
392
|
+
pico: 6n,
|
|
393
|
+
femto: 3n,
|
|
394
|
+
atto: 0n
|
|
395
|
+
};
|
|
396
|
+
var AttoXL1ConvertFactor = {
|
|
397
|
+
xl1: 10n ** XL1Places.xl1,
|
|
398
|
+
milli: 10n ** XL1Places.milli,
|
|
399
|
+
micro: 10n ** XL1Places.micro,
|
|
400
|
+
nano: 10n ** XL1Places.nano,
|
|
401
|
+
pico: 10n ** XL1Places.pico,
|
|
402
|
+
femto: 10n ** XL1Places.femto,
|
|
403
|
+
atto: 10n ** XL1Places.atto
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
// src/xl1/AttoXL1.ts
|
|
407
|
+
var AttoXL1MaxValue = xl1MaxValue(XL1Places.atto);
|
|
408
|
+
var isAttoXL1 = isXL1Factory(XL1Places.atto);
|
|
409
|
+
var asAttoXL1 = asXL1Factory(XL1Places.atto);
|
|
410
|
+
var toAttoXL1 = toXL1Factory(XL1Places.atto);
|
|
411
|
+
var AttoXL1 = asAttoXL1;
|
|
412
|
+
|
|
413
|
+
// src/xl1/FemtoXL1.ts
|
|
414
|
+
var FemtoXL1MaxValue = xl1MaxValue(XL1Places.femto);
|
|
415
|
+
var isFemtoXL1 = isXL1Factory(XL1Places.femto);
|
|
416
|
+
var asFemtoXL1 = asXL1Factory(XL1Places.femto);
|
|
417
|
+
var toFemtoXL1 = toXL1Factory(XL1Places.femto);
|
|
418
|
+
var FemtoXL1 = asFemtoXL1;
|
|
419
|
+
|
|
420
|
+
// src/xl1/MicroXL1.ts
|
|
421
|
+
var MicroXL1MaxValue = xl1MaxValue(XL1Places.micro);
|
|
422
|
+
var isMicroXL1 = isXL1Factory(XL1Places.micro);
|
|
423
|
+
var asMicroXL1 = asXL1Factory(XL1Places.micro);
|
|
424
|
+
var toMicroXL1 = toXL1Factory(XL1Places.micro);
|
|
425
|
+
var MicroXL1 = asMicroXL1;
|
|
426
|
+
|
|
427
|
+
// src/xl1/MilliXL1.ts
|
|
428
|
+
var MilliXL1MaxValue = xl1MaxValue(XL1Places.milli);
|
|
429
|
+
var isMilliXL1 = isXL1Factory(XL1Places.milli);
|
|
430
|
+
var asMilliXL1 = asXL1Factory(XL1Places.milli);
|
|
431
|
+
var toMilliXL1 = toXL1Factory(XL1Places.milli);
|
|
432
|
+
var MilliXL1 = asMilliXL1;
|
|
433
|
+
|
|
434
|
+
// src/xl1/NanoXL1.ts
|
|
435
|
+
var NanoXL1MaxValue = xl1MaxValue(XL1Places.nano);
|
|
436
|
+
var isNanoXL1 = isXL1Factory(XL1Places.nano);
|
|
437
|
+
var asNanoXL1 = asXL1Factory(XL1Places.nano);
|
|
438
|
+
var toNanoXL1 = toXL1Factory(XL1Places.nano);
|
|
439
|
+
var NanoXL1 = asNanoXL1;
|
|
440
|
+
|
|
441
|
+
// src/xl1/PicoXL1.ts
|
|
442
|
+
var PicoXL1MaxValue = xl1MaxValue(XL1Places.pico);
|
|
443
|
+
var isPicoXL1 = isXL1Factory(XL1Places.pico);
|
|
444
|
+
var asPicoXL1 = asXL1Factory(XL1Places.pico);
|
|
445
|
+
var toPicoXL1 = toXL1Factory(XL1Places.pico);
|
|
446
|
+
var PicoXL1 = asPicoXL1;
|
|
447
|
+
|
|
448
|
+
// src/xl1/XL1.ts
|
|
449
|
+
var XL1MaxValue = xl1MaxValue(XL1Places.xl1);
|
|
450
|
+
var isXL1 = isXL1Factory(XL1Places.xl1);
|
|
451
|
+
var asXL1 = asXL1Factory(XL1Places.xl1);
|
|
452
|
+
var toXL1 = toXL1Factory(XL1Places.xl1);
|
|
453
|
+
var XL1 = asXL1;
|
|
454
|
+
|
|
455
|
+
// src/transaction/TransactionFees.ts
|
|
456
|
+
import { BigIntToJsonZod as BigIntToJsonZod2 } from "@xylabs/sdk-js";
|
|
619
457
|
var AttoZod = z11.bigint();
|
|
620
458
|
var JsonToAttoZod = JsonToBigIntZod.transform((v) => asAttoXL1(v));
|
|
621
|
-
var AttoToJsonZod = BigIntToJsonZod;
|
|
622
459
|
var TransactionFeesHexZod = z11.object({
|
|
623
460
|
base: HexZod4,
|
|
624
461
|
gasLimit: HexZod4,
|
|
@@ -1418,7 +1255,7 @@ var StakeZod = z32.object({
|
|
|
1418
1255
|
});
|
|
1419
1256
|
var StakeToJsonZod = StakeZod.transform((val) => ({
|
|
1420
1257
|
addBlock: val.addBlock,
|
|
1421
|
-
amount:
|
|
1258
|
+
amount: BigIntToJsonZod2.parse(val.amount),
|
|
1422
1259
|
id: val.id,
|
|
1423
1260
|
removeBlock: val.removeBlock,
|
|
1424
1261
|
staked: AddressZod4.parse(val.staked),
|
|
@@ -1464,10 +1301,10 @@ var NetworkStatusSchema = asSchema11("network.xyo.chain.status", true);
|
|
|
1464
1301
|
var isNetworkStatus = isPayloadOfSchemaType7(NetworkStatusSchema);
|
|
1465
1302
|
|
|
1466
1303
|
// src/provider/ProviderMoniker.ts
|
|
1467
|
-
import { assertEx
|
|
1304
|
+
import { assertEx, isString } from "@xylabs/sdk-js";
|
|
1468
1305
|
var asProviderMoniker = (value) => {
|
|
1469
1306
|
const moniker = isString(value) ? value : void 0;
|
|
1470
|
-
return
|
|
1307
|
+
return assertEx(moniker);
|
|
1471
1308
|
};
|
|
1472
1309
|
var DefaultProviderMoniker = "Provider";
|
|
1473
1310
|
|
|
@@ -1742,7 +1579,7 @@ export {
|
|
|
1742
1579
|
AllowedBlockPayloadSchemaZod,
|
|
1743
1580
|
AllowedBlockPayloadSchemas,
|
|
1744
1581
|
ArrayBufferToJsonZod,
|
|
1745
|
-
AttoToJsonZod,
|
|
1582
|
+
BigIntToJsonZod2 as AttoToJsonZod,
|
|
1746
1583
|
AttoXL1,
|
|
1747
1584
|
AttoXL1ConvertFactor,
|
|
1748
1585
|
AttoXL1MaxValue,
|
|
@@ -1875,7 +1712,6 @@ export {
|
|
|
1875
1712
|
RewardsRangeOptionsZod,
|
|
1876
1713
|
SequenceFromStringZod,
|
|
1877
1714
|
SequenceToStringZod,
|
|
1878
|
-
ShiftedBigInt,
|
|
1879
1715
|
SignedBlockBoundWitnessWithHashMetaZod,
|
|
1880
1716
|
SignedBlockBoundWitnessWithHashMetaishZod,
|
|
1881
1717
|
SignedBlockBoundWitnessWithStorageMetaZod,
|
|
@@ -1954,7 +1790,6 @@ export {
|
|
|
1954
1790
|
ValidationError,
|
|
1955
1791
|
WindowedBlockViewerMoniker,
|
|
1956
1792
|
XL1,
|
|
1957
|
-
XL1Amount,
|
|
1958
1793
|
XL1BlockNumberZod,
|
|
1959
1794
|
XL1BlockNumberishZod,
|
|
1960
1795
|
XL1BlockRangeZod,
|
|
@@ -2153,8 +1988,6 @@ export {
|
|
|
2153
1988
|
isValidationError,
|
|
2154
1989
|
isXL1,
|
|
2155
1990
|
minTransactionFees,
|
|
2156
|
-
splitOnDecimal,
|
|
2157
|
-
splitOnDecimalToString,
|
|
2158
1991
|
stepSize,
|
|
2159
1992
|
toAttoXL1,
|
|
2160
1993
|
toBlockBoundWitness,
|