@xyo-network/xl1-protocol 4.5.1 → 4.5.3
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 +15 -2
- 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 +16 -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 +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mempool.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/Mempool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAE5B,OAAO,KAAK,EACV,QAAQ,EAAE,+BAA+B,EAAE,qCAAqC,EACjF,MAAM,iBAAiB,CAAA;AAGxB,
|
|
1
|
+
{"version":3,"file":"Mempool.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/Mempool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAE5B,OAAO,KAAK,EACV,QAAQ,EAAE,+BAA+B,EAAE,qCAAqC,EACjF,MAAM,iBAAiB,CAAA;AAGxB,qEAAqE;AACrE,eAAO,MAAM,6BAA6B;;;;iBAIxC,CAAA;AAEF,mDAAmD;AACnD,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEtF,+DAA+D;AAC/D,eAAO,MAAM,uBAAuB;;;;iBAIlC,CAAA;AAEF,6CAA6C;AAC7C,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE1E,yDAAyD;AACzD,MAAM,WAAW,oBAAoB;IACnC,sDAAsD;IACtD,aAAa,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,EAAE,CAAC,CAAA;IACzF,4DAA4D;IAC5D,mBAAmB,CAAC,OAAO,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,qCAAqC,EAAE,CAAC,CAAA;CAC5G;AAED,yDAAyD;AACzD,eAAO,MAAM,oBAAoB,EAAG,eAAwB,CAAA;AAC5D,2DAA2D;AAC3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAA;AAE9D,iDAAiD;AACjD,MAAM,WAAW,aAAc,SAAQ,oBAAoB,EAAE,QAAQ,CAAC,oBAAoB,CAAC;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Promisable } from '@ariestools/sdk';
|
|
2
2
|
import type { Provider } from '../../../protocol-model/index.js';
|
|
3
3
|
import type { NetworkStakeStepRewardsViewer } from './Rewards/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Operations exposed by the Network Stake Viewer contract. */
|
|
5
5
|
export interface NetworkStakeViewerMethods {
|
|
6
6
|
/** @returns the active stake and the number of active validators [active, block] */
|
|
7
7
|
active(blockNumber?: number): Promisable<[bigint, number]>;
|
|
@@ -12,6 +12,7 @@ export declare const NetworkStakeViewerMoniker: "NetworkStakeViewer";
|
|
|
12
12
|
export type NetworkStakeViewerMoniker = typeof NetworkStakeViewerMoniker;
|
|
13
13
|
/** Viewer interface for reading NetworkStake data. */
|
|
14
14
|
export interface NetworkStakeViewer extends NetworkStakeViewerMethods, Provider<NetworkStakeViewerMoniker> {
|
|
15
|
+
/** `stepRewards` value exposed by this contract. */
|
|
15
16
|
stepRewards?: NetworkStakeStepRewardsViewer;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=NetworkStakeViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkStakeViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAEvE
|
|
1
|
+
{"version":3,"file":"NetworkStakeViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAEvE,+DAA+D;AAC/D,MAAM,WAAW,yBAAyB;IACxC,oFAAoF;IACpF,MAAM,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;CAC3D;AAED,8DAA8D;AAC9D,eAAO,MAAM,yBAAyB,EAAG,oBAA6B,CAAA;AACtE,gEAAgE;AAChE,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAA;AAExE,sDAAsD;AACtD,MAAM,WAAW,kBAAmB,SAAQ,yBAAyB,EAAE,QAAQ,CAAC,yBAAyB,CAAC;IACxG,oDAAoD;IACpD,WAAW,CAAC,EAAE,6BAA6B,CAAA;CAC5C"}
|
package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Promisable } from '@ariestools/sdk';
|
|
|
2
2
|
import type { AttoXL1, Provider, StepIdentity, XL1BlockRange } from '../../../../protocol-model/index.js';
|
|
3
3
|
import type { NetworkStakeStepRewardsByPositionViewerOptions } from './Options.js';
|
|
4
4
|
import type { NetworkStakeStepRewardsByIndexViewerMethodsTemplate } from './templates/index.js';
|
|
5
|
-
/**
|
|
5
|
+
/** Operations exposed by the Network Stake Step Rewards By Position Viewer contract. */
|
|
6
6
|
export interface NetworkStakeStepRewardsByPositionViewerMethods extends NetworkStakeStepRewardsByIndexViewerMethodsTemplate<NetworkStakeStepRewardsByPositionViewerOptions, number> {
|
|
7
7
|
/** One position's reward summed over every completed step in the range, with multipliers applied: [positionReward, rangeTotalReward]. */
|
|
8
8
|
totalForPosition(position: number, range: XL1BlockRange): Promisable<[AttoXL1, AttoXL1]>;
|
package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ByPositionViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EACV,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAC/C,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAA;AAClF,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,sBAAsB,CAAA;AAI/F,
|
|
1
|
+
{"version":3,"file":"ByPositionViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EACV,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAC/C,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAA;AAClF,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,sBAAsB,CAAA;AAI/F,wFAAwF;AACxF,MAAM,WAAW,8CAA+C,SAC9D,mDAAmD,CAAC,8CAA8C,EAAE,MAAM,CAAC;IAC3G,yIAAyI;IACzI,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;IACxF,kFAAkF;IAClF,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IACrD,gHAAgH;IAChH,uBAAuB,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;CAC9F;AAED,mFAAmF;AACnF,eAAO,MAAM,8CAA8C,EAAG,yCAAkD,CAAA;AAChH,qFAAqF;AACrF,MAAM,MAAM,8CAA8C,GAAG,OAAO,8CAA8C,CAAA;AAElH,2EAA2E;AAC3E,MAAM,WAAW,uCAAwC,SAAQ,8CAA8C,EAC7G,QAAQ,CAAC,8CAA8C,CAAC;CAAG"}
|
|
@@ -2,7 +2,7 @@ import type { XyoAddress } from '@xyo-network/sdk';
|
|
|
2
2
|
import type { Provider } from '../../../../protocol-model/index.js';
|
|
3
3
|
import type { NetworkStakeStepRewardsByStakerViewerOptions } from './Options.js';
|
|
4
4
|
import type { NetworkStakeStepRewardsByIndexViewerMethodsTemplate } from './templates/index.js';
|
|
5
|
-
/**
|
|
5
|
+
/** Operations exposed by the Network Stake Step Rewards By Staker Viewer contract. */
|
|
6
6
|
export interface NetworkStakeStepRewardsByStakerViewerMethods extends NetworkStakeStepRewardsByIndexViewerMethodsTemplate<NetworkStakeStepRewardsByStakerViewerOptions, XyoAddress> {
|
|
7
7
|
}
|
|
8
8
|
/** Moniker identifier for the NetworkStakeStepRewardsByStakerViewer provider. */
|
package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ByStakerViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,cAAc,CAAA;AAChF,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,sBAAsB,CAAA;AAI/F,
|
|
1
|
+
{"version":3,"file":"ByStakerViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,cAAc,CAAA;AAChF,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,sBAAsB,CAAA;AAI/F,sFAAsF;AACtF,MAAM,WAAW,4CACf,SAAQ,mDAAmD,CAAC,4CAA4C,EAAE,UAAU,CAAC;CAAG;AAE1H,iFAAiF;AACjF,eAAO,MAAM,4CAA4C,EAAG,uCAAgD,CAAA;AAC5G,mFAAmF;AACnF,MAAM,MAAM,4CAA4C,GAAG,OAAO,4CAA4C,CAAA;AAE9G,yEAAyE;AACzE,MAAM,WAAW,qCAAsC,SAAQ,4CAA4C,EACzG,QAAQ,CAAC,4CAA4C,CAAC;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Provider, StepIdentityString } from '../../../../protocol-model/index.js';
|
|
2
2
|
import type { NetworkStakeStepRewardsByStepViewerOptions } from './Options.js';
|
|
3
3
|
import type { NetworkStakeStepRewardsByIndexViewerMethodsTemplate } from './templates/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Operations exposed by the Network Stake Step Rewards By Step Viewer contract. */
|
|
5
5
|
export interface NetworkStakeStepRewardsByStepViewerMethods extends NetworkStakeStepRewardsByIndexViewerMethodsTemplate<NetworkStakeStepRewardsByStepViewerOptions, StepIdentityString> {
|
|
6
6
|
}
|
|
7
7
|
/** Moniker identifier for the NetworkStakeStepRewardsByStepViewer provider. */
|
package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ByStepViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEnE,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,cAAc,CAAA;AAC9E,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,sBAAsB,CAAA;AAI/F,
|
|
1
|
+
{"version":3,"file":"ByStepViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEnE,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,cAAc,CAAA;AAC9E,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,sBAAsB,CAAA;AAI/F,oFAAoF;AACpF,MAAM,WAAW,0CAA2C,SAC1D,mDAAmD,CAAC,0CAA0C,EAAE,kBAAkB,CAAC;CAAG;AAExH,+EAA+E;AAC/E,eAAO,MAAM,0CAA0C,EAAG,qCAA8C,CAAA;AACxG,iFAAiF;AACjF,MAAM,MAAM,0CAA0C,GAAG,OAAO,0CAA0C,CAAA;AAE1G,uEAAuE;AACvE,MAAM,WAAW,mCAAoC,SAAQ,0CAA0C,EAAE,QAAQ,CAAC,0CAA0C,CAAC;CAAG"}
|
|
@@ -2,18 +2,22 @@ import type { XyoAddress } from '@xyo-network/sdk';
|
|
|
2
2
|
import type { BlockRange, StepIdentity } from '../../../../protocol-model/index.js';
|
|
3
3
|
/** Options for NetworkStakeStepRewardsRange. */
|
|
4
4
|
export interface NetworkStakeStepRewardsRangeOptions {
|
|
5
|
+
/** `range` value exposed by this contract. */
|
|
5
6
|
range?: BlockRange;
|
|
6
7
|
}
|
|
7
8
|
/** Options for NetworkStakeStepRewardsByStepViewer. */
|
|
8
9
|
export interface NetworkStakeStepRewardsByStepViewerOptions extends NetworkStakeStepRewardsRangeOptions {
|
|
10
|
+
/** `steps` value exposed by this contract. */
|
|
9
11
|
steps?: StepIdentity[];
|
|
10
12
|
}
|
|
11
13
|
/** Options for NetworkStakeStepRewardsByStakerViewer. */
|
|
12
14
|
export interface NetworkStakeStepRewardsByStakerViewerOptions extends NetworkStakeStepRewardsRangeOptions {
|
|
15
|
+
/** `stakers` value exposed by this contract. */
|
|
13
16
|
stakers?: XyoAddress[];
|
|
14
17
|
}
|
|
15
18
|
/** Options for NetworkStakeStepRewardsByPositionViewer. */
|
|
16
19
|
export interface NetworkStakeStepRewardsByPositionViewerOptions extends NetworkStakeStepRewardsRangeOptions {
|
|
20
|
+
/** `positions` value exposed by this contract. */
|
|
17
21
|
positions?: number[];
|
|
18
22
|
}
|
|
19
23
|
//# sourceMappingURL=Options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE/D,gDAAgD;AAChD,MAAM,WAAW,mCAAmC;IAClD,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;AAED,uDAAuD;AACvD,MAAM,WAAW,0CAA2C,SAAQ,mCAAmC;IACrG,KAAK,CAAC,EAAE,YAAY,EAAE,CAAA;CACvB;AAED,yDAAyD;AACzD,MAAM,WAAW,4CAA6C,SAAQ,mCAAmC;IACvG,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;CACvB;AAED,2DAA2D;AAC3D,MAAM,WAAW,8CAA+C,SAAQ,mCAAmC;IACzG,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB"}
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE/D,gDAAgD;AAChD,MAAM,WAAW,mCAAmC;IAClD,8CAA8C;IAC9C,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;AAED,uDAAuD;AACvD,MAAM,WAAW,0CAA2C,SAAQ,mCAAmC;IACrG,8CAA8C;IAC9C,KAAK,CAAC,EAAE,YAAY,EAAE,CAAA;CACvB;AAED,yDAAyD;AACzD,MAAM,WAAW,4CAA6C,SAAQ,mCAAmC;IACvG,gDAAgD;IAChD,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;CACvB;AAED,2DAA2D;AAC3D,MAAM,WAAW,8CAA+C,SAAQ,mCAAmC;IACzG,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AttoXL1, Provider } from '../../../../protocol-model/index.js';
|
|
2
2
|
import type { NetworkStakeStepRewardsRangeOptions } from './Options.js';
|
|
3
3
|
import type { NetworkStakeStepRewardsViewerMethodsTemplate } from './templates/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Operations exposed by the Network Stake Step Rewards Total Viewer contract. */
|
|
5
5
|
export interface NetworkStakeStepRewardsTotalViewerMethods extends NetworkStakeStepRewardsViewerMethodsTemplate<NetworkStakeStepRewardsRangeOptions, AttoXL1> {
|
|
6
6
|
}
|
|
7
7
|
/** Moniker identifier for the NetworkStakeStepRewardsTotalViewer provider. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TotalViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAExD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,sBAAsB,CAAA;AAIxF,
|
|
1
|
+
{"version":3,"file":"TotalViewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAExD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,sBAAsB,CAAA;AAIxF,kFAAkF;AAClF,MAAM,WAAW,yCAA0C,SAAQ,4CAA4C,CAAC,mCAAmC,EAAE,OAAO,CAAC;CAAG;AAEhK,8EAA8E;AAC9E,eAAO,MAAM,yCAAyC,EAAG,oCAA6C,CAAA;AACtG,gFAAgF;AAChF,MAAM,MAAM,yCAAyC,GAAG,OAAO,yCAAyC,CAAA;AAExG,sEAAsE;AACtE,MAAM,WAAW,kCAAmC,SAAQ,yCAAyC,EAAE,QAAQ,CAAC,yCAAyC,CAAC;CAAG"}
|
|
@@ -3,7 +3,7 @@ import type { NetworkStakeStepRewardsByPositionViewer } from './ByPositionViewer
|
|
|
3
3
|
import type { NetworkStakeStepRewardsByStakerViewer } from './ByStakerViewer.js';
|
|
4
4
|
import type { NetworkStakeStepRewardsByStepViewer } from './ByStepViewer.js';
|
|
5
5
|
import type { NetworkStakeStepRewardsTotalViewer } from './TotalViewer.js';
|
|
6
|
-
/**
|
|
6
|
+
/** Operations exposed by the Network Stake Step Rewards Viewer contract. */
|
|
7
7
|
export interface NetworkStakeStepRewardsViewerMethods {
|
|
8
8
|
}
|
|
9
9
|
/** Moniker identifier for the NetworkStakeStepRewardsViewer provider. */
|
|
@@ -12,9 +12,13 @@ export declare const NetworkStakeStepRewardsViewerMoniker: "NetworkStakeStepRewa
|
|
|
12
12
|
export type NetworkStakeStepRewardsViewerMoniker = typeof NetworkStakeStepRewardsViewerMoniker;
|
|
13
13
|
/** Viewer interface for reading NetworkStakeStepRewards data. */
|
|
14
14
|
export interface NetworkStakeStepRewardsViewer extends NetworkStakeStepRewardsViewerMethods, Provider<NetworkStakeStepRewardsViewerMoniker> {
|
|
15
|
+
/** `position` value exposed by this contract. */
|
|
15
16
|
position?: NetworkStakeStepRewardsByPositionViewer;
|
|
17
|
+
/** `staker` value exposed by this contract. */
|
|
16
18
|
staker?: NetworkStakeStepRewardsByStakerViewer;
|
|
19
|
+
/** `step` value exposed by this contract. */
|
|
17
20
|
step?: NetworkStakeStepRewardsByStepViewer;
|
|
21
|
+
/** `total` value exposed by this contract. */
|
|
18
22
|
total?: NetworkStakeStepRewardsTotalViewer;
|
|
19
23
|
}
|
|
20
24
|
//# sourceMappingURL=Viewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Viewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,uBAAuB,CAAA;AACpF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,mBAAmB,CAAA;AAC5E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,kBAAkB,CAAA;AAE1E,
|
|
1
|
+
{"version":3,"file":"Viewer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,uBAAuB,CAAA;AACpF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,mBAAmB,CAAA;AAC5E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,kBAAkB,CAAA;AAE1E,4EAA4E;AAC5E,MAAM,WAAW,oCAAoC;CAAG;AAExD,yEAAyE;AACzE,eAAO,MAAM,oCAAoC,EAAG,+BAAwC,CAAA;AAC5F,2EAA2E;AAC3E,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,iEAAiE;AACjE,MAAM,WAAW,6BAA8B,SAAQ,oCAAoC,EAAE,QAAQ,CAAC,oCAAoC,CAAC;IACzI,iDAAiD;IACjD,QAAQ,CAAC,EAAE,uCAAuC,CAAA;IAClD,+CAA+C;IAC/C,MAAM,CAAC,EAAE,qCAAqC,CAAA;IAC9C,6CAA6C;IAC7C,IAAI,CAAC,EAAE,mCAAmC,CAAA;IAC1C,8CAA8C;IAC9C,KAAK,CAAC,EAAE,kCAAkC,CAAA;CAC3C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AttoXL1, RecordKeyType } from '../../../../../protocol-model/index.js';
|
|
2
2
|
import type { NetworkStakeStepRewardsViewerMethodsTemplate } from './MethodsTemplate.js';
|
|
3
|
-
/**
|
|
3
|
+
/** Public contract for Network Stake Step Rewards By Index Viewer Methods Template. */
|
|
4
4
|
export interface NetworkStakeStepRewardsByIndexViewerMethodsTemplate<TOptions, TResultIndex extends RecordKeyType> extends NetworkStakeStepRewardsViewerMethodsTemplate<TOptions, Record<TResultIndex, AttoXL1>> {
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=ByIndexMethodsTemplate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ByIndexMethodsTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE7D,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,sBAAsB,CAAA;AAExF,
|
|
1
|
+
{"version":3,"file":"ByIndexMethodsTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE7D,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,sBAAsB,CAAA;AAExF,uFAAuF;AACvF,MAAM,WAAW,mDAAmD,CAAC,QAAQ,EAAE,YAAY,SAAS,aAAa,CAC/G,SAAQ,4CAA4C,CAAC,QAAQ,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;CAAG"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
-
/**
|
|
2
|
+
/** Public contract for Network Stake Step Rewards Viewer Methods Template. */
|
|
3
3
|
export interface NetworkStakeStepRewardsViewerMethodsTemplate<TOptions, TResult> {
|
|
4
|
+
/** Returns the result of the bonus query. */
|
|
4
5
|
bonus(options?: TOptions): Promisable<TResult>;
|
|
6
|
+
/** Returns the result of the claimed query. */
|
|
5
7
|
claimed(options?: TOptions): Promisable<TResult>;
|
|
8
|
+
/** Returns the result of the earned query. */
|
|
6
9
|
earned(options?: TOptions): Promisable<TResult>;
|
|
10
|
+
/** Returns the result of the total query. */
|
|
7
11
|
total(options?: TOptions): Promisable<TResult>;
|
|
12
|
+
/** Returns the result of the unclaimed query. */
|
|
8
13
|
unclaimed(options?: TOptions): Promisable<TResult>;
|
|
9
14
|
}
|
|
10
15
|
//# sourceMappingURL=MethodsTemplate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MethodsTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,
|
|
1
|
+
{"version":3,"file":"MethodsTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,8EAA8E;AAC9E,MAAM,WAAW,4CAA4C,CAAC,QAAQ,EAAE,OAAO;IAC7E,6CAA6C;IAC7C,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAC9C,+CAA+C;IAC/C,OAAO,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAChD,8CAA8C;IAC9C,MAAM,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/C,6CAA6C;IAC7C,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAC9C,iDAAiD;IACjD,SAAS,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;CACnD"}
|
|
@@ -1,34 +1,52 @@
|
|
|
1
1
|
import type { Promisable } from '@ariestools/sdk';
|
|
2
2
|
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
3
|
import type { AttoXL1, Provider, StepIdentity, StepIdentityString } from '../../protocol-model/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Operations exposed by the Network Stake Step Address Reward Viewer contract. */
|
|
5
5
|
export interface NetworkStakeStepAddressRewardViewerMethods {
|
|
6
|
+
/** Returns the result of the network stake step reward address history query. */
|
|
6
7
|
networkStakeStepRewardAddressHistory(address: XyoAddress): Promisable<Record<XyoAddress, AttoXL1>>;
|
|
8
|
+
/** Returns the result of the network stake step reward address reward query. */
|
|
7
9
|
networkStakeStepRewardAddressReward(context: StepIdentity, address: XyoAddress): Promisable<Record<XyoAddress, AttoXL1>>;
|
|
10
|
+
/** Returns the result of the network stake step reward address share query. */
|
|
8
11
|
networkStakeStepRewardAddressShare(context: StepIdentity, address: XyoAddress): Promisable<[/* address shares */ bigint, /* total shares */ bigint]>;
|
|
12
|
+
/** Returns the result of the network stake step reward weight for address query. */
|
|
9
13
|
networkStakeStepRewardWeightForAddress(context: StepIdentity, address: XyoAddress): Promisable<bigint>;
|
|
10
14
|
}
|
|
11
|
-
/**
|
|
15
|
+
/** Operations exposed by the Network Stake Step Pool Reward Viewer contract. */
|
|
12
16
|
export interface NetworkStakeStepPoolRewardViewerMethods {
|
|
17
|
+
/** Returns the result of the network stake step reward pool rewards query. */
|
|
13
18
|
networkStakeStepRewardPoolRewards(context: StepIdentity): Promisable<Record<XyoAddress, AttoXL1>>;
|
|
19
|
+
/** Returns the result of the network stake step reward pool shares query. */
|
|
14
20
|
networkStakeStepRewardPoolShares(context: StepIdentity): Promisable<Record<XyoAddress, bigint>>;
|
|
15
21
|
}
|
|
16
|
-
/**
|
|
22
|
+
/** Operations exposed by the Network Stake Step Reward Position Viewer contract. */
|
|
17
23
|
export interface NetworkStakeStepRewardPositionViewerMethods {
|
|
24
|
+
/** Returns the result of the network stake step reward position weight query. */
|
|
18
25
|
networkStakeStepRewardPositionWeight(context: StepIdentity, position: number): Promisable<bigint>;
|
|
26
|
+
/** Returns the result of the network stake step reward potential position loss query. */
|
|
19
27
|
networkStakeStepRewardPotentialPositionLoss(context: StepIdentity, position: number): Promisable<AttoXL1>;
|
|
20
28
|
}
|
|
21
|
-
/**
|
|
29
|
+
/** Operations exposed by the Network Stake Step Reward Viewer contract. */
|
|
22
30
|
export interface NetworkStakeStepRewardViewerMethods extends NetworkStakeStepPoolRewardViewerMethods, NetworkStakeStepAddressRewardViewerMethods, NetworkStakeStepRewardPositionViewerMethods {
|
|
31
|
+
/** Returns the result of the network stake step reward claimed by address query. */
|
|
23
32
|
networkStakeStepRewardClaimedByAddress(address: XyoAddress): Promisable<AttoXL1>;
|
|
33
|
+
/** Returns the result of the network stake step reward for position query. */
|
|
24
34
|
networkStakeStepRewardForPosition(position: number, range: [number, number]): Promisable<[AttoXL1, AttoXL1]>;
|
|
35
|
+
/** Returns the result of the network stake step reward for step query. */
|
|
25
36
|
networkStakeStepRewardForStep(context: StepIdentity): Promisable<AttoXL1>;
|
|
37
|
+
/** Returns the result of the network stake step reward for step for position query. */
|
|
26
38
|
networkStakeStepRewardForStepForPosition(context: StepIdentity, position: number): Promisable<[AttoXL1, AttoXL1]>;
|
|
39
|
+
/** Returns the result of the network stake step reward randomizer query. */
|
|
27
40
|
networkStakeStepRewardRandomizer(context: StepIdentity): Promisable<AttoXL1>;
|
|
41
|
+
/** Returns the result of the network stake step reward staker count query. */
|
|
28
42
|
networkStakeStepRewardStakerCount(context: StepIdentity): Promisable<number>;
|
|
43
|
+
/** Returns the result of the network stake step reward unclaimed by address query. */
|
|
29
44
|
networkStakeStepRewardUnclaimedByAddress(address: XyoAddress): Promisable<AttoXL1>;
|
|
45
|
+
/** Returns the result of the network stake step rewards for position query. */
|
|
30
46
|
networkStakeStepRewardsForPosition(position: number, range: [number, number]): Promisable<Record<StepIdentityString, [AttoXL1, AttoXL1]>>;
|
|
47
|
+
/** Returns the result of the network stake step rewards for range query. */
|
|
31
48
|
networkStakeStepRewardsForRange(range: [number, number]): Promisable<AttoXL1>;
|
|
49
|
+
/** Returns the result of the network stake step rewards for step level query. */
|
|
32
50
|
networkStakeStepRewardsForStepLevel(stepLevel: number, range: [number, number]): Promisable<AttoXL1>;
|
|
33
51
|
}
|
|
34
52
|
/** Moniker identifier for the NetworkStakeStepRewardViewer provider. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkStakeStepReward.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/NetworkStakeStepReward.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EACV,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,kBAAkB,EACpD,MAAM,iBAAiB,CAAA;AAExB,
|
|
1
|
+
{"version":3,"file":"NetworkStakeStepReward.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/NetworkStakeStepReward.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EACV,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,kBAAkB,EACpD,MAAM,iBAAiB,CAAA;AAExB,mFAAmF;AACnF,MAAM,WAAW,0CAA0C;IAEzD,iFAAiF;IACjF,oCAAoC,CAAC,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAA;IAGlG,gFAAgF;IAChF,mCAAmC,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAA;IAGxH,+EAA+E;IAC/E,kCAAkC,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC,oBAAoB,CAAA,MAAM,EAAE,kBAAkB,CAAA,MAAM,CAAC,CAAC,CAAA;IAGlJ,oFAAoF;IACpF,sCAAsC,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;CACvG;AAED,gFAAgF;AAChF,MAAM,WAAW,uCAAuC;IAGtD,8EAA8E;IAC9E,iCAAiC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAA;IAGjG,6EAA6E;IAC7E,gCAAgC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAA;CAChG;AAED,oFAAoF;AACpF,MAAM,WAAW,2CAA2C;IAE1D,iFAAiF;IACjF,oCAAoC,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAGjG,yFAAyF;IACzF,2CAA2C,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;CAC1G;AAED,2EAA2E;AAC3E,MAAM,WAAW,mCAAoC,SACnD,uCAAuC,EACvC,0CAA0C,EAC1C,2CAA2C;IAE3C,oFAAoF;IACpF,sCAAsC,CAAC,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAGhF,8EAA8E;IAC9E,iCAAiC,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;IAG5G,0EAA0E;IAC1E,6BAA6B,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAGzE,uFAAuF;IACvF,wCAAwC,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;IAGjH,4EAA4E;IAC5E,gCAAgC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAG5E,8EAA8E;IAC9E,iCAAiC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAE5E,sFAAsF;IACtF,wCAAwC,CAAC,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAGlF,+EAA+E;IAC/E,kCAAkC,CAAC,QAAQ,EAAE,MAAM,EACjD,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,kBAAkB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;IAGtF,4EAA4E;IAC5E,+BAA+B,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAG7E,iFAAiF;IACjF,mCAAmC,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;CACrG;AAED,wEAAwE;AACxE,eAAO,MAAM,mCAAmC,EAAG,8BAAuC,CAAA;AAC1F,0EAA0E;AAC1E,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAA;AAE5F,gEAAgE;AAChE,MAAM,WAAW,4BAA6B,SAAQ,mCAAmC,EAAE,QAAQ,CAAC,mCAAmC,CAAC;CAAG"}
|
|
@@ -2,18 +2,26 @@ import type { Promisable } from '@ariestools/sdk';
|
|
|
2
2
|
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
3
|
import type { Position, Provider } from '../../protocol-model/index.js';
|
|
4
4
|
import type { StakeEventsViewer } from './StakeEvents.js';
|
|
5
|
-
/**
|
|
5
|
+
/** Public contract for Stake Viewer Properties. */
|
|
6
6
|
export interface StakeViewerProperties {
|
|
7
|
+
/** `stakeEvents` value exposed by this contract. */
|
|
7
8
|
stakeEvents: StakeEventsViewer;
|
|
8
9
|
}
|
|
9
|
-
/**
|
|
10
|
+
/** Operations exposed by the Stake Viewer contract. */
|
|
10
11
|
export interface StakeViewerMethods {
|
|
12
|
+
/** Returns the result of the min withdrawal blocks query. */
|
|
11
13
|
minWithdrawalBlocks(): Promisable<number>;
|
|
14
|
+
/** Returns the result of the rewards contract query. */
|
|
12
15
|
rewardsContract(): Promisable<XyoAddress>;
|
|
16
|
+
/** Returns the result of the stake by id query. */
|
|
13
17
|
stakeById(id: number): Promisable<Position>;
|
|
18
|
+
/** Returns the result of the stake by staker query. */
|
|
14
19
|
stakeByStaker(staker: XyoAddress, slot: number): Promisable<Position>;
|
|
20
|
+
/** Returns the result of the stakes by staked query. */
|
|
15
21
|
stakesByStaked(staked: XyoAddress): Promisable<Position[]>;
|
|
22
|
+
/** Returns the result of the stakes by staker query. */
|
|
16
23
|
stakesByStaker(staker: XyoAddress): Promisable<Position[]>;
|
|
24
|
+
/** Returns the result of the staking token address query. */
|
|
17
25
|
stakingTokenAddress(): Promisable<XyoAddress>;
|
|
18
26
|
}
|
|
19
27
|
/** Moniker identifier for the StakeViewer provider. */
|
|
@@ -22,8 +30,11 @@ export declare const StakeViewerMoniker: "StakeViewer";
|
|
|
22
30
|
export type StakeViewerMoniker = typeof StakeViewerMoniker;
|
|
23
31
|
/** Viewer interface for reading Stake data. */
|
|
24
32
|
export interface StakeViewer extends StakeViewerMethods, StakeViewerProperties, Provider<StakeViewerMoniker> {
|
|
33
|
+
/** Returns the result of the active stakes query. */
|
|
25
34
|
activeStakes(): Promisable<Position[]>;
|
|
35
|
+
/** Returns the result of the removed stakes query. */
|
|
26
36
|
removedStakes(): Promisable<Position[]>;
|
|
37
|
+
/** Returns the result of the withdrawn stakes query. */
|
|
27
38
|
withdrawnStakes(): Promisable<Position[]>;
|
|
28
39
|
}
|
|
29
40
|
/** Moniker identifier for the StakeRunner provider. */
|
|
@@ -32,8 +43,11 @@ export declare const StakeRunnerMoniker: "StakeRunner";
|
|
|
32
43
|
export type StakeRunnerMoniker = typeof StakeRunnerMoniker;
|
|
33
44
|
/** Runner interface for executing Stake operations. */
|
|
34
45
|
export interface StakeRunner extends Provider<StakeRunnerMoniker> {
|
|
46
|
+
/** Adds stake through the backing provider. */
|
|
35
47
|
addStake(staked: string, amount: bigint): Promise<boolean>;
|
|
48
|
+
/** Returns the result of the remove stake query. */
|
|
36
49
|
removeStake(slot: bigint): Promise<boolean>;
|
|
50
|
+
/** Returns the result of the withdraw stake query. */
|
|
37
51
|
withdrawStake(slot: bigint): Promise<boolean>;
|
|
38
52
|
}
|
|
39
53
|
//# sourceMappingURL=Stake.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stake.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/Stake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,
|
|
1
|
+
{"version":3,"file":"Stake.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/Stake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,mDAAmD;AACnD,MAAM,WAAW,qBAAqB;IACpC,oDAAoD;IACpD,WAAW,EAAE,iBAAiB,CAAA;CAC/B;AAED,uDAAuD;AACvD,MAAM,WAAW,kBAAkB;IACjC,6DAA6D;IAC7D,mBAAmB,IAAI,UAAU,CAAC,MAAM,CAAC,CAAA;IACzC,wDAAwD;IACxD,eAAe,IAAI,UAAU,CAAC,UAAU,CAAC,CAAA;IACzC,mDAAmD;IACnD,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAA;IAC3C,uDAAuD;IACvD,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAA;IACrE,wDAAwD;IACxD,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IAC1D,wDAAwD;IACxD,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IAC1D,6DAA6D;IAC7D,mBAAmB,IAAI,UAAU,CAAC,UAAU,CAAC,CAAA;CAC9C;AAED,uDAAuD;AACvD,eAAO,MAAM,kBAAkB,EAAG,aAAsB,CAAA;AACxD,yDAAyD;AACzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,+CAA+C;AAC/C,MAAM,WAAW,WAAY,SAAQ,kBAAkB,EAAE,qBAAqB,EAAE,QAAQ,CAAC,kBAAkB,CAAC;IAC1G,qDAAqD;IACrD,YAAY,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IACtC,sDAAsD;IACtD,aAAa,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IACvC,wDAAwD;IACxD,eAAe,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;CAC1C;AAED,uDAAuD;AACvD,eAAO,MAAM,kBAAkB,EAAG,aAAsB,CAAA;AACxD,yDAAyD;AACzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,uDAAuD;AACvD,MAAM,WAAW,WAAY,SAAQ,QAAQ,CAAC,kBAAkB,CAAC;IAC/D,+CAA+C;IAC/C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC1D,oDAAoD;IACpD,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC3C,sDAAsD;IACtD,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;CAC9C"}
|
|
@@ -1,36 +1,47 @@
|
|
|
1
1
|
import type { JsonObject, Promisable } from '@ariestools/sdk';
|
|
2
2
|
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
3
|
import type { Provider } from '../../protocol-model/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Protocol constant defining stake event names. */
|
|
5
5
|
export declare const StakeEventNames: readonly ["StakeAdded", "StakeRemoved", "StakeWithdrawn"];
|
|
6
|
-
/**
|
|
6
|
+
/** Validated Stake Event Name data. */
|
|
7
7
|
export type StakeEventName = typeof StakeEventNames[number];
|
|
8
|
-
/**
|
|
8
|
+
/** Public contract for External Event. */
|
|
9
9
|
export interface ExternalEvent<TName extends string = string, TArgs extends JsonObject = {}> {
|
|
10
|
+
/** `args` value exposed by this contract. */
|
|
10
11
|
args: TArgs;
|
|
12
|
+
/** Stable human-readable name for this value. */
|
|
11
13
|
name: TName;
|
|
14
|
+
/** `time` value exposed by this contract. */
|
|
12
15
|
time: number;
|
|
13
16
|
}
|
|
14
|
-
/**
|
|
17
|
+
/** Public contract for Event Filter. */
|
|
15
18
|
export interface EventFilter<TName extends string = string> {
|
|
19
|
+
/** Stable human-readable name for this value. */
|
|
16
20
|
name?: TName;
|
|
21
|
+
/** `time` value exposed by this contract. */
|
|
17
22
|
time?: [number, number];
|
|
18
23
|
}
|
|
19
|
-
/**
|
|
24
|
+
/** Public contract for Stake Event Args. */
|
|
20
25
|
export interface StakeEventArgs {
|
|
26
|
+
/** `amount` value exposed by this contract. */
|
|
21
27
|
amount: bigint;
|
|
28
|
+
/** `id` value exposed by this contract. */
|
|
22
29
|
id: number;
|
|
30
|
+
/** `staked` value exposed by this contract. */
|
|
23
31
|
staked: XyoAddress;
|
|
32
|
+
/** `staker` value exposed by this contract. */
|
|
24
33
|
staker: XyoAddress;
|
|
25
34
|
}
|
|
26
|
-
/**
|
|
35
|
+
/** Validated Stake Event Filter Args data. */
|
|
27
36
|
export type StakeEventFilterArgs = Partial<Pick<StakeEventArgs, 'staker' | 'staked' | 'id'>>;
|
|
28
|
-
/**
|
|
37
|
+
/** Public contract for Stake Event Filter. */
|
|
29
38
|
export interface StakeEventFilter<TName extends StakeEventName = StakeEventName> extends EventFilter<TName> {
|
|
39
|
+
/** `args` value exposed by this contract. */
|
|
30
40
|
args?: StakeEventFilterArgs;
|
|
31
41
|
}
|
|
32
|
-
/**
|
|
42
|
+
/** Public contract for Stake Event. */
|
|
33
43
|
export interface StakeEvent<TName extends StakeEventName = StakeEventName> extends ExternalEvent<TName> {
|
|
44
|
+
/** `args` value exposed by this contract. */
|
|
34
45
|
args: StakeEventArgs;
|
|
35
46
|
}
|
|
36
47
|
/** Moniker identifier for the StakeEventsViewer provider. */
|
|
@@ -39,7 +50,9 @@ export declare const StakeEventsViewerMoniker: "StakeEventsViewer";
|
|
|
39
50
|
export type StakeEventsViewerMoniker = typeof StakeEventsViewerMoniker;
|
|
40
51
|
/** Viewer interface for reading StakeEvents data. */
|
|
41
52
|
export interface StakeEventsViewer extends Provider<StakeEventsViewerMoniker> {
|
|
53
|
+
/** Returns the result of the position count query. */
|
|
42
54
|
positionCount(range: [number, number | 'latest']): Promisable<number>;
|
|
55
|
+
/** Returns the result of the stake events query. */
|
|
43
56
|
stakeEvents<TName extends StakeEventName>(range: [number, number | 'latest'], filter?: StakeEventFilter<TName>): Promisable<StakeEvent<TName>[]>;
|
|
44
57
|
}
|
|
45
58
|
//# sourceMappingURL=StakeEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StakeEvents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StakeEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,
|
|
1
|
+
{"version":3,"file":"StakeEvents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StakeEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,oDAAoD;AACpD,eAAO,MAAM,eAAe,2DAA4D,CAAA;AACxF,uCAAuC;AACvC,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;AAE3D,0CAA0C;AAC1C,MAAM,WAAW,aAAa,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,SAAS,UAAU,GAAG,EAAE;IACzF,6CAA6C;IAC7C,IAAI,EAAE,KAAK,CAAA;IACX,iDAAiD;IACjD,IAAI,EAAE,KAAK,CAAA;IACX,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wCAAwC;AACxC,MAAM,WAAW,WAAW,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM;IACxD,iDAAiD;IACjD,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,6CAA6C;IAC7C,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACxB;AAED,4CAA4C;AAC5C,MAAM,WAAW,cAAc;IAC7B,+CAA+C;IAC/C,MAAM,EAAE,MAAM,CAAA;IACd,2CAA2C;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,+CAA+C;IAC/C,MAAM,EAAE,UAAU,CAAA;IAClB,+CAA+C;IAC/C,MAAM,EAAE,UAAU,CAAA;CACnB;AAED,8CAA8C;AAC9C,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAA;AAE5F,8CAA8C;AAC9C,MAAM,WAAW,gBAAgB,CAAC,KAAK,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,WAAW,CAAC,KAAK,CAAC;IACzG,6CAA6C;IAC7C,IAAI,CAAC,EAAE,oBAAoB,CAAA;CAC5B;AAED,uCAAuC;AACvC,MAAM,WAAW,UAAU,CAAC,KAAK,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,aAAa,CAAC,KAAK,CAAC;IACrG,6CAA6C;IAC7C,IAAI,EAAE,cAAc,CAAA;CACrB;AAED,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,EAAG,mBAA4B,CAAA;AACpE,+DAA+D;AAC/D,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,qDAAqD;AACrD,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,CAAC,wBAAwB,CAAC;IAC3E,sDAAsD;IACtD,aAAa,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACrE,oDAAoD;IACpD,WAAW,CAAC,KAAK,SAAS,cAAc,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC,EAAE,MAAM,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;CACjJ"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { Hash, Promisable } from '@ariestools/sdk';
|
|
2
2
|
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
3
|
import type { ChainQualified, ChainStakeIntent, Provider, XL1BlockRange } from '../../protocol-model/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Operations exposed by the Stake Intent Viewer contract. */
|
|
5
5
|
export interface StakeIntentViewerMethods {
|
|
6
|
+
/** Returns the result of the qualified intent by address query. */
|
|
6
7
|
qualifiedIntentByAddress(address: XyoAddress, headOrRange?: Hash | XL1BlockRange): Promisable<ChainQualified<ChainStakeIntent | null>>;
|
|
7
8
|
}
|
|
8
9
|
/** Moniker identifier for the StakeIntentViewer provider. */
|
|
@@ -11,6 +12,7 @@ export declare const StakeIntentViewerMoniker: "StakeIntentViewer";
|
|
|
11
12
|
export type StakeIntentViewerMoniker = typeof StakeIntentViewerMoniker;
|
|
12
13
|
/** Viewer interface for reading StakeIntent data. */
|
|
13
14
|
export interface StakeIntentViewer extends StakeIntentViewerMethods, Provider<StakeIntentViewerMoniker> {
|
|
15
|
+
/** Returns the result of the intent by address query. */
|
|
14
16
|
intentByAddress(address: XyoAddress, headOrRange?: Hash | XL1BlockRange): Promisable<ChainStakeIntent | null>;
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=StakeIntent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StakeIntent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StakeIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EACV,cAAc,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,EAC1D,MAAM,iBAAiB,CAAA;AAExB,
|
|
1
|
+
{"version":3,"file":"StakeIntent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StakeIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EACV,cAAc,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,EAC1D,MAAM,iBAAiB,CAAA;AAExB,8DAA8D;AAC9D,MAAM,WAAW,wBAAwB;IACvC,mEAAmE;IACnE,wBAAwB,CAAC,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,IAAI,GAAG,aAAa,GAAG,UAAU,CAAC,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC,CAAA;CACvI;AAED,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,EAAG,mBAA4B,CAAA;AACpE,+DAA+D;AAC/D,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,qDAAqD;AACrD,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB,EAAE,QAAQ,CAAC,wBAAwB,CAAC;IACrG,yDAAyD;IACzD,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,IAAI,GAAG,aAAa,GAAG,UAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAC9G"}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import type { Promisable } from '@ariestools/sdk';
|
|
2
2
|
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
3
|
import type { Provider } from '../../protocol-model/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Operations exposed by the Stake Totals Viewer contract. */
|
|
5
5
|
export interface StakeTotalsViewerMethods {
|
|
6
|
+
/** Returns the result of the active query. */
|
|
6
7
|
active(time?: number): Promisable<bigint>;
|
|
8
|
+
/** Returns the result of the active by staked query. */
|
|
7
9
|
activeByStaked(staked: XyoAddress, time?: number): Promisable<bigint>;
|
|
10
|
+
/** Returns the result of the active by staker query. */
|
|
8
11
|
activeByStaker(address: XyoAddress, time?: number): Promisable<bigint>;
|
|
12
|
+
/** Returns the result of the pending query. */
|
|
9
13
|
pending(time?: number): Promisable<bigint>;
|
|
14
|
+
/** Returns the result of the pending by staker query. */
|
|
10
15
|
pendingByStaker(staker: XyoAddress, time?: number): Promisable<bigint>;
|
|
16
|
+
/** Returns the result of the withdrawn query. */
|
|
11
17
|
withdrawn(time?: number): Promisable<bigint>;
|
|
18
|
+
/** Returns the result of the withdrawn by staker query. */
|
|
12
19
|
withdrawnByStaker(staker: XyoAddress, time?: number): Promisable<bigint>;
|
|
13
20
|
}
|
|
14
21
|
/** Moniker identifier for the StakeTotalsViewer provider. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StakeTotals.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StakeTotals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,
|
|
1
|
+
{"version":3,"file":"StakeTotals.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StakeTotals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,8DAA8D;AAC9D,MAAM,WAAW,wBAAwB;IACvC,8CAA8C;IAC9C,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACzC,wDAAwD;IACxD,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACrE,wDAAwD;IACxD,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACtE,+CAA+C;IAC/C,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAC1C,yDAAyD;IACzD,eAAe,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACtE,iDAAiD;IACjD,SAAS,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAC5C,2DAA2D;IAC3D,iBAAiB,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;CACzE;AAED,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,EAAG,mBAA4B,CAAA;AACpE,+DAA+D;AAC/D,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,qDAAqD;AACrD,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB,EAAE,QAAQ,CAAC,wBAAwB,CAAC;CAAG"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { Promisable } from '@ariestools/sdk';
|
|
2
2
|
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
3
|
import type { Provider, StepIdentity } from '../../protocol-model/index.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Operations exposed by the Step Stake Viewer contract. */
|
|
5
5
|
export interface StepStakeViewerMethods {
|
|
6
|
+
/** `stepStake` value exposed by this contract. */
|
|
6
7
|
stepStake: (step: StepIdentity) => Promisable<Record<XyoAddress, bigint>>;
|
|
8
|
+
/** `stepStakeForAddress` value exposed by this contract. */
|
|
7
9
|
stepStakeForAddress: (address: XyoAddress, step: StepIdentity) => Promisable<bigint>;
|
|
8
10
|
}
|
|
11
|
+
/** Protocol-defined value for step stake viewer moniker. */
|
|
9
12
|
export declare const StepStakeViewerMoniker: "StepStakeViewer";
|
|
10
13
|
/** Type literal for the StepStakeViewer provider moniker. */
|
|
11
14
|
export type StepStakeViewerMoniker = typeof StepStakeViewerMoniker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepStake.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StepStake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE7D,
|
|
1
|
+
{"version":3,"file":"StepStake.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StepStake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE7D,4DAA4D;AAC5D,MAAM,WAAW,sBAAsB;IAErC,kDAAkD;IAClD,SAAS,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAA;IAGzE,4DAA4D;IAC5D,mBAAmB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,KAAK,UAAU,CAAC,MAAM,CAAC,CAAA;CACrF;AAUD,4DAA4D;AAC5D,eAAO,MAAM,sBAAsB,EAAG,iBAA0B,CAAA;AAChE,6DAA6D;AAC7D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAElE,mDAAmD;AACnD,MAAM,WAAW,eAAgB,SAAQ,sBAAsB,EAAE,QAAQ,CAAC,sBAAsB,CAAC;CAAG"}
|
|
@@ -4,27 +4,40 @@ import type { Position, PositionId, Provider, StepIdentity } from '../../protoco
|
|
|
4
4
|
import type { NetworkStakeStepRewardsViewer } from './NetworkStake/index.js';
|
|
5
5
|
/** Options for PagedPositions. */
|
|
6
6
|
export interface PagedPositionsOptions {
|
|
7
|
+
/** `cursor` value exposed by this contract. */
|
|
7
8
|
cursor?: PositionId;
|
|
9
|
+
/** `limit` value exposed by this contract. */
|
|
8
10
|
limit?: number;
|
|
9
11
|
}
|
|
10
12
|
/** Options for PagedStakers. */
|
|
11
13
|
export interface PagedStakersOptions {
|
|
14
|
+
/** `cursor` value exposed by this contract. */
|
|
12
15
|
cursor?: XyoAddress;
|
|
16
|
+
/** `limit` value exposed by this contract. */
|
|
13
17
|
limit?: number;
|
|
14
18
|
}
|
|
15
|
-
/**
|
|
19
|
+
/** Public contract for Step Statistics. */
|
|
16
20
|
export interface StepStatistics {
|
|
21
|
+
/** `endTime` value exposed by this contract. */
|
|
17
22
|
endTime: number;
|
|
23
|
+
/** `startTime` value exposed by this contract. */
|
|
18
24
|
startTime: number;
|
|
19
25
|
}
|
|
20
|
-
/**
|
|
26
|
+
/** Operations exposed by the Step Viewer contract. */
|
|
21
27
|
export interface StepViewerMethods {
|
|
28
|
+
/** Returns the result of the position count query. */
|
|
22
29
|
positionCount(step: StepIdentity): Promisable<number>;
|
|
30
|
+
/** Returns the result of the positions query. */
|
|
23
31
|
positions(step: StepIdentity, options?: PagedPositionsOptions): Promisable<Position[]>;
|
|
32
|
+
/** Returns the result of the randomizer query. */
|
|
24
33
|
randomizer(step: StepIdentity): Promisable<bigint>;
|
|
34
|
+
/** Returns the result of the stake query. */
|
|
25
35
|
stake(step: StepIdentity): Promisable<bigint>;
|
|
36
|
+
/** Returns the result of the staker count query. */
|
|
26
37
|
stakerCount(step: StepIdentity): Promisable<number>;
|
|
38
|
+
/** Returns the result of the stakers query. */
|
|
27
39
|
stakers(step: StepIdentity, options?: PagedStakersOptions): Promisable<XyoAddress[]>;
|
|
40
|
+
/** Returns the result of the weight query. */
|
|
28
41
|
weight(step: StepIdentity, positionId?: PositionId): Promisable<bigint>;
|
|
29
42
|
}
|
|
30
43
|
/** Moniker identifier for the StepViewer provider. */
|
|
@@ -33,6 +46,7 @@ export declare const StepViewerMoniker: "StepViewer";
|
|
|
33
46
|
export type StepViewerMoniker = typeof StepViewerMoniker;
|
|
34
47
|
/** Viewer interface for reading Step data. */
|
|
35
48
|
export interface StepViewer extends StepViewerMethods, Provider<StepViewerMoniker> {
|
|
49
|
+
/** `rewards` value exposed by this contract. */
|
|
36
50
|
rewards?: NetworkStakeStepRewardsViewer;
|
|
37
51
|
}
|
|
38
52
|
//# sourceMappingURL=StepViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepViewer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StepViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EACV,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAC7C,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAA;AAE5E,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,gCAAgC;AAChC,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,
|
|
1
|
+
{"version":3,"file":"StepViewer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/StepViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,KAAK,EACV,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAC7C,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAA;AAE5E,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,gCAAgC;AAChC,MAAM,WAAW,mBAAmB;IAClC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,2CAA2C;AAC3C,MAAM,WAAW,cAAc;IAC7B,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAA;IACf,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,sDAAsD;AACtD,MAAM,WAAW,iBAAiB;IAGhC,sDAAsD;IACtD,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAErD,iDAAiD;IACjD,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IAGtF,kDAAkD;IAClD,UAAU,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAGlD,6CAA6C;IAC7C,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAG7C,oDAAoD;IACpD,WAAW,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAEnD,+CAA+C;IAC/C,OAAO,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC,CAAA;IAGpF,8CAA8C;IAC9C,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;CACxE;AAED,sDAAsD;AACtD,eAAO,MAAM,iBAAiB,EAAG,YAAqB,CAAA;AACtD,wDAAwD;AACxD,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA;AAExD,8CAA8C;AAC9C,MAAM,WAAW,UAAW,SAAQ,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,CAAC;IAChF,gDAAgD;IAChD,OAAO,CAAC,EAAE,6BAA6B,CAAA;CACxC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Promisable } from '@ariestools/sdk';
|
|
2
2
|
import type { Provider, SignedHydratedBlockWithHashMeta, SyncStepSummaryMetadata, SyncStepSummaryStatus, XL1BlockNumber } from '../../protocol-model/index.js';
|
|
3
|
-
/**
|
|
3
|
+
/** Operations exposed by the Sync Viewer contract. */
|
|
4
4
|
export interface SyncViewerMethods {
|
|
5
5
|
/** Get the indexed step summary blocks for a completed step boundary. */
|
|
6
6
|
stepSummary(step: number, block: XL1BlockNumber): Promisable<SignedHydratedBlockWithHashMeta[] | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sync.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/Sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EACV,QAAQ,EAAE,+BAA+B,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,cAAc,EAC1G,MAAM,iBAAiB,CAAA;AAExB,
|
|
1
|
+
{"version":3,"file":"Sync.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/Sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EACV,QAAQ,EAAE,+BAA+B,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,cAAc,EAC1G,MAAM,iBAAiB,CAAA;AAExB,sDAAsD;AACtD,MAAM,WAAW,iBAAiB;IAChC,yEAAyE;IACzE,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,EAAE,GAAG,IAAI,CAAC,CAAA;IAEtG,gDAAgD;IAChD,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;IAEpG,2CAA2C;IAC3C,iBAAiB,IAAI,UAAU,CAAC,qBAAqB,CAAC,CAAA;CACvD;AAED,sDAAsD;AACtD,eAAO,MAAM,iBAAiB,EAAG,YAAqB,CAAA;AACtD,wDAAwD;AACxD,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA;AAExD,8CAA8C;AAC9C,MAAM,WAAW,UAAW,SAAQ,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,CAAC;CAAG"}
|