@xyo-network/xl1-protocol 4.0.10 → 4.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +4 -4
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +4 -4
- package/dist/neutral/index.mjs.map +2 -2
- package/dist/neutral/modules/network-model/icons/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/icons/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/icons/local/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/icons/local/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/icons/sequence/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/icons/sequence/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/index.d.ts +7 -0
- package/dist/neutral/modules/network-model/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts +8 -0
- package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/lib/Networks.d.ts +10 -0
- package/dist/neutral/modules/network-model/lib/Networks.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/lib/index.d.ts +3 -0
- package/dist/neutral/modules/network-model/lib/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/manifest/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/manifest/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts +4 -0
- package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/models/Bootstrap.d.ts +56 -0
- package/dist/neutral/modules/network-model/models/Bootstrap.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/models/NetworkId.d.ts +12 -0
- package/dist/neutral/modules/network-model/models/NetworkId.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/models/index.d.ts +3 -0
- package/dist/neutral/modules/network-model/models/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/modules/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts +10 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts +4 -0
- package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/modules/node/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts +5 -0
- package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/index.d.ts +10 -0
- package/dist/neutral/modules/network-model/staticRest/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts +84 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts +101 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts +263 -0
- package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts +10 -0
- package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts +14 -0
- package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts +4 -0
- package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts +14 -0
- package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/staticRest/templates.d.ts +27 -0
- package/dist/neutral/modules/network-model/staticRest/templates.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts +28 -0
- package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts.map +1 -0
- package/dist/neutral/modules/network-model/utils/index.d.ts +2 -0
- package/dist/neutral/modules/network-model/utils/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts +7 -0
- package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/address/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts +7 -0
- package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/index.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/network/Status.d.ts +26 -0
- package/dist/neutral/modules/protocol-lib/network/Status.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/network/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/network/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts +48 -0
- package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts +33 -0
- package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/permissions/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/permissions/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts +86 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts +10 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts +9 -0
- package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts +25 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts +20 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts +57 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts +7 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/index.d.ts +9 -0
- package/dist/neutral/modules/protocol-lib/providers/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts +24 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts +27 -0
- package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts +13 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/repository/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/repository/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/Block.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/runners/Block.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts +30 -0
- package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts +22 -0
- package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts +35 -0
- package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts +25 -0
- package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/runners/index.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/runners/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts +84 -0
- package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/status/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-lib/status/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts +26 -0
- package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/summary/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts +5 -0
- package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/transaction/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/transaction/script.d.ts +17 -0
- package/dist/neutral/modules/protocol-lib/transaction/script.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts +19 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts +167 -0
- package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts +13 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/error.d.ts +59 -0
- package/dist/neutral/modules/protocol-lib/validation/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/validation/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts +10 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts +12 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts +38 -0
- package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts +56 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts +56 -0
- package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts +23 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts +11 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts +26 -0
- package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts +31 -0
- package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts +9 -0
- package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts +31 -0
- package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts +17 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts +19 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts +14 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts +20 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts +8 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +6 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +10 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts +41 -0
- package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts +39 -0
- package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts +45 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts +16 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts +15 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts +38 -0
- package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts +19 -0
- package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts +21 -0
- package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts +22 -0
- package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts +54 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts +55 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts +30 -0
- package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts +18 -0
- package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts +50 -0
- package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-lib/viewers/index.d.ts +28 -0
- package/dist/neutral/modules/protocol-lib/viewers/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts +35 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts +46 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts +46 -0
- package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts +19 -0
- package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/Step/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/Step/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/TransferPayload.d.ts +79 -0
- package/dist/neutral/modules/protocol-model/TransferPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/amount/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/amount/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts +16 -0
- package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts +40 -0
- package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts +544 -0
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +1466 -0
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/block/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +168 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +286 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +343 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/signed/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/block/signed/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +168 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts +2 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/Chain.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/chain/Chain.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts +28 -0
- package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/chain/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/chain/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts +25 -0
- package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/fields/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/fields/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/index.d.ts +16 -0
- package/dist/neutral/modules/protocol-model/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts +42 -0
- package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/MapType.d.ts +17 -0
- package/dist/neutral/modules/protocol-model/map/MapType.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts +41 -0
- package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/map/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/map/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +122 -0
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts +18 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts +32 -0
- package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts +290 -0
- package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts +57 -0
- package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts +26 -0
- package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts +33 -0
- package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +115 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts +5 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +70 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Context/index.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/model/Context/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts +2300 -0
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Permission.d.ts +65 -0
- package/dist/neutral/modules/protocol-model/model/Permission.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Position.d.ts +13 -0
- package/dist/neutral/modules/protocol-model/model/Position.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/PositionId.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/model/PositionId.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts +16 -0
- package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Sequence.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/model/Sequence.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/Stake.d.ts +121 -0
- package/dist/neutral/modules/protocol-model/model/Stake.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +409 -0
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/addresses.d.ts +28 -0
- package/dist/neutral/modules/protocol-model/model/addresses.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/index.d.ts +28 -0
- package/dist/neutral/modules/protocol-model/model/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/rewards.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/model/rewards.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/version.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/model/version.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts +20 -0
- package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts +29 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts +47 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts +25 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts +26 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts +30 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts +27 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts +25 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts +30 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/application/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/payload/application/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts +23 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +33 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts +45 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts +31 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +33 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts +24 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts +21 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts +21 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts +22 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts +71 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts +7 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/payload/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/payload/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/provider/Provider.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/provider/Provider.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/provider/index.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/provider/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts +169 -0
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts +205 -0
- package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/rejection/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/rejection/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts +2127 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts +138 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts +38 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/transaction/index.d.ts +4 -0
- package/dist/neutral/modules/protocol-model/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/index.d.ts +9 -0
- package/dist/neutral/modules/protocol-model/xl1/index.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts +15 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts.map +1 -0
- package/dist/neutral/modules/schema/Executable.d.ts +5 -0
- package/dist/neutral/modules/schema/Executable.d.ts.map +1 -0
- package/dist/neutral/modules/schema/StorageMeta.d.ts +5 -0
- package/dist/neutral/modules/schema/StorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts +17 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts +18 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts +17 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts +17 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/index.d.ts +5 -0
- package/dist/neutral/modules/schema/boundwitness/index.d.ts.map +1 -0
- package/dist/neutral/modules/schema/index.d.ts +5 -0
- package/dist/neutral/modules/schema/index.d.ts.map +1 -0
- package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts +7 -0
- package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts +17 -0
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts +17 -0
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts +17 -0
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts.map +1 -0
- package/dist/neutral/modules/schema/payload/index.d.ts +4 -0
- package/dist/neutral/modules/schema/payload/index.d.ts.map +1 -0
- package/dist/neutral/{test → modules/test}/buildRandomTransaction.d.ts +1 -1
- package/dist/neutral/modules/test/buildRandomTransaction.d.ts.map +1 -0
- package/dist/neutral/{test → modules/test}/buildTransaction.d.ts +1 -1
- package/dist/neutral/modules/test/buildTransaction.d.ts.map +1 -0
- package/dist/neutral/{test → modules/test}/createTransferPayload.d.ts +1 -1
- package/dist/neutral/modules/test/createTransferPayload.d.ts.map +1 -0
- package/dist/neutral/modules/test/index.d.ts +4 -0
- package/dist/neutral/modules/test/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/block/index.d.ts +2 -0
- package/dist/neutral/modules/validation/block/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts +7 -0
- package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/block/validators/index.d.ts +2 -0
- package/dist/neutral/modules/validation/block/validators/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/index.d.ts +2 -0
- package/dist/neutral/modules/validation/boundwitness/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts +5 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts +4 -0
- package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts.map +1 -0
- package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts +3 -0
- package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/index.d.ts +4 -0
- package/dist/neutral/modules/validation/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/index.d.ts +3 -0
- package/dist/neutral/modules/validation/transaction/index.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts +48 -0
- package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts +18 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts +4 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts +17 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts.map +1 -0
- package/dist/neutral/modules/validation/transaction/validators/index.d.ts +10 -0
- package/dist/neutral/modules/validation/transaction/validators/index.d.ts.map +1 -0
- package/dist/neutral/network-model.d.ts +2 -0
- package/dist/neutral/network-model.d.ts.map +1 -0
- package/dist/neutral/network-model.mjs +431 -0
- package/dist/neutral/network-model.mjs.map +7 -0
- package/dist/neutral/protocol-lib.d.ts +2 -0
- package/dist/neutral/protocol-lib.d.ts.map +1 -0
- package/dist/neutral/protocol-lib.mjs +584 -0
- package/dist/neutral/protocol-lib.mjs.map +7 -0
- package/dist/neutral/protocol-model.d.ts +2 -0
- package/dist/neutral/protocol-model.d.ts.map +1 -0
- package/dist/neutral/protocol-model.mjs +2047 -0
- package/dist/neutral/protocol-model.mjs.map +7 -0
- package/dist/neutral/schema.d.ts +2 -0
- package/dist/neutral/schema.d.ts.map +1 -0
- package/dist/neutral/schema.mjs +259 -0
- package/dist/neutral/schema.mjs.map +7 -0
- package/dist/neutral/test.d.ts +2 -0
- package/dist/neutral/test.d.ts.map +1 -0
- package/dist/neutral/{test/index.mjs → test.mjs} +8 -8
- package/dist/neutral/test.mjs.map +7 -0
- package/dist/neutral/validation.d.ts +2 -0
- package/dist/neutral/validation.d.ts.map +1 -0
- package/dist/neutral/validation.mjs +510 -0
- package/dist/neutral/validation.mjs.map +7 -0
- package/package.json +49 -23
- package/dist/neutral/test/buildRandomTransaction.d.ts.map +0 -1
- package/dist/neutral/test/buildTransaction.d.ts.map +0 -1
- package/dist/neutral/test/createTransferPayload.d.ts.map +0 -1
- package/dist/neutral/test/index.d.ts +0 -4
- package/dist/neutral/test/index.d.ts.map +0 -1
- package/dist/neutral/test/index.mjs.map +0 -7
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { Provider, ProviderMoniker } from '../../protocol-model/index.js';
|
|
3
|
+
import type { IndexSummaryFamily } from '../runners/IndexPublish.js';
|
|
4
|
+
/** IndexViewerMethods interface. */
|
|
5
|
+
export interface IndexViewerMethods {
|
|
6
|
+
/** The published summary for a completed step in the given family, or null when not (yet) published. */
|
|
7
|
+
stepSummary<T = unknown>(family: IndexSummaryFamily, stepLevel: number, stepIndex: number): Promisable<T | null>;
|
|
8
|
+
}
|
|
9
|
+
/** Moniker identifier for the IndexViewer provider. */
|
|
10
|
+
export declare const IndexViewerMoniker: "IndexViewer";
|
|
11
|
+
/** Type literal for the IndexViewer provider moniker. */
|
|
12
|
+
export type IndexViewerMoniker = typeof IndexViewerMoniker;
|
|
13
|
+
/** Viewer interface for reading published step summaries (the chain index). */
|
|
14
|
+
export interface IndexViewer<TMoniker extends ProviderMoniker = IndexViewerMoniker> extends IndexViewerMethods, Provider<TMoniker> {
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=IndexViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndexViewer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/IndexViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAEpE,oCAAoC;AACpC,MAAM,WAAW,kBAAkB;IACjC,wGAAwG;IACxG,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;CACjH;AAED,uDAAuD;AACvD,eAAO,MAAM,kBAAkB,EAAG,aAAsB,CAAA;AACxD,yDAAyD;AACzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,+EAA+E;AAC/E,MAAM,WAAW,WAAW,CAAC,QAAQ,SAAS,eAAe,GAAG,kBAAkB,CAChF,SAAQ,kBAAkB,EAAE,QAAQ,CAAC,QAAQ,CAAC;CAAG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from 'zod/mini';
|
|
2
|
+
import type { Provider, SignedHydratedBlockWithHashMeta, SignedHydratedTransactionWithHashMeta } from '../../protocol-model/index.js';
|
|
3
|
+
/** PendingTransactionsOptionsZod constant. */
|
|
4
|
+
export declare const PendingTransactionsOptionsZod: z.ZodMiniObject<{
|
|
5
|
+
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
6
|
+
limit: z.ZodMiniOptional<z.ZodMiniNumberFormat>;
|
|
7
|
+
window: z.ZodMiniOptional<import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>, import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>], null>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
/** PendingTransactionsOptions type. */
|
|
10
|
+
export type PendingTransactionsOptions = z.infer<typeof PendingTransactionsOptionsZod>;
|
|
11
|
+
/** PendingBlocksOptionsZod constant. */
|
|
12
|
+
export declare const PendingBlocksOptionsZod: z.ZodMiniObject<{
|
|
13
|
+
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
14
|
+
limit: z.ZodMiniOptional<z.ZodMiniNumberFormat>;
|
|
15
|
+
window: z.ZodMiniOptional<import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>, import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>], null>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
/** PendingBlocksOptions type. */
|
|
18
|
+
export type PendingBlocksOptions = z.infer<typeof PendingBlocksOptionsZod>;
|
|
19
|
+
/** MempoolViewerMethods interface. */
|
|
20
|
+
export interface MempoolViewerMethods {
|
|
21
|
+
pendingBlocks(options?: PendingBlocksOptions): Promise<SignedHydratedBlockWithHashMeta[]>;
|
|
22
|
+
pendingTransactions(options?: PendingTransactionsOptions): Promise<SignedHydratedTransactionWithHashMeta[]>;
|
|
23
|
+
}
|
|
24
|
+
/** Moniker identifier for the MempoolViewer provider. */
|
|
25
|
+
export declare const MempoolViewerMoniker: "MempoolViewer";
|
|
26
|
+
/** Type literal for the MempoolViewer provider moniker. */
|
|
27
|
+
export type MempoolViewerMoniker = typeof MempoolViewerMoniker;
|
|
28
|
+
/** Viewer interface for reading Mempool data. */
|
|
29
|
+
export interface MempoolViewer extends MempoolViewerMethods, Provider<MempoolViewerMoniker> {
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=Mempool.d.ts.map
|
|
@@ -0,0 +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,8CAA8C;AAC9C,eAAO,MAAM,6BAA6B;;;;iBAIxC,CAAA;AAEF,uCAAuC;AACvC,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEtF,wCAAwC;AACxC,eAAO,MAAM,uBAAuB;;;;iBAIlC,CAAA;AAEF,iCAAiC;AACjC,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE1E,sCAAsC;AACtC,MAAM,WAAW,oBAAoB;IACnC,aAAa,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,EAAE,CAAC,CAAA;IACzF,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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { Provider } from '../../../protocol-model/index.js';
|
|
3
|
+
import type { NetworkStakeStepRewardsViewer } from './Rewards/index.js';
|
|
4
|
+
/** NetworkStakeViewerMethods interface. */
|
|
5
|
+
export interface NetworkStakeViewerMethods {
|
|
6
|
+
/** @returns the active stake and the number of active validators [active, block] */
|
|
7
|
+
active(blockNumber?: number): Promisable<[bigint, number]>;
|
|
8
|
+
}
|
|
9
|
+
/** Moniker identifier for the NetworkStakeViewer provider. */
|
|
10
|
+
export declare const NetworkStakeViewerMoniker: "NetworkStakeViewer";
|
|
11
|
+
/** Type literal for the NetworkStakeViewer provider moniker. */
|
|
12
|
+
export type NetworkStakeViewerMoniker = typeof NetworkStakeViewerMoniker;
|
|
13
|
+
/** Viewer interface for reading NetworkStake data. */
|
|
14
|
+
export interface NetworkStakeViewer extends NetworkStakeViewerMethods, Provider<NetworkStakeViewerMoniker> {
|
|
15
|
+
stepRewards?: NetworkStakeStepRewardsViewer;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=NetworkStakeViewer.d.ts.map
|
|
@@ -0,0 +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,2CAA2C;AAC3C,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,WAAW,CAAC,EAAE,6BAA6B,CAAA;CAC5C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Provider } from '../../../../protocol-model/index.js';
|
|
2
|
+
import type { NetworkStakeStepRewardsByPositionViewerOptions } from './Options.js';
|
|
3
|
+
import type { NetworkStakeStepRewardsByIndexViewerMethodsTemplate } from './templates/index.js';
|
|
4
|
+
/** NetworkStakeStepRewardsByPositionViewerMethods interface. */
|
|
5
|
+
export interface NetworkStakeStepRewardsByPositionViewerMethods extends NetworkStakeStepRewardsByIndexViewerMethodsTemplate<NetworkStakeStepRewardsByPositionViewerOptions, number> {
|
|
6
|
+
}
|
|
7
|
+
/** Moniker identifier for the NetworkStakeStepRewardsByPositionViewer provider. */
|
|
8
|
+
export declare const NetworkStakeStepRewardsByPositionViewerMoniker: "NetworkStakeStepRewardsByPositionViewer";
|
|
9
|
+
/** Type literal for the NetworkStakeStepRewardsByPositionViewer provider moniker. */
|
|
10
|
+
export type NetworkStakeStepRewardsByPositionViewerMoniker = typeof NetworkStakeStepRewardsByPositionViewerMoniker;
|
|
11
|
+
/** Viewer interface for reading NetworkStakeStepRewardsByPosition data. */
|
|
12
|
+
export interface NetworkStakeStepRewardsByPositionViewer extends NetworkStakeStepRewardsByPositionViewerMethods, Provider<NetworkStakeStepRewardsByPositionViewerMoniker> {
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=ByPositionViewer.d.ts.map
|
package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map
ADDED
|
@@ -0,0 +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,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAA;AAClF,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,sBAAsB,CAAA;AAI/F,gEAAgE;AAChE,MAAM,WAAW,8CAA+C,SAC9D,mDAAmD,CAAC,8CAA8C,EAAE,MAAM,CAAC;CAAG;AAEhH,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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
2
|
+
import type { Provider } from '../../../../protocol-model/index.js';
|
|
3
|
+
import type { NetworkStakeStepRewardsByStakerViewerOptions } from './Options.js';
|
|
4
|
+
import type { NetworkStakeStepRewardsByIndexViewerMethodsTemplate } from './templates/index.js';
|
|
5
|
+
/** NetworkStakeStepRewardsByStakerViewerMethods interface. */
|
|
6
|
+
export interface NetworkStakeStepRewardsByStakerViewerMethods extends NetworkStakeStepRewardsByIndexViewerMethodsTemplate<NetworkStakeStepRewardsByStakerViewerOptions, XyoAddress> {
|
|
7
|
+
}
|
|
8
|
+
/** Moniker identifier for the NetworkStakeStepRewardsByStakerViewer provider. */
|
|
9
|
+
export declare const NetworkStakeStepRewardsByStakerViewerMoniker: "NetworkStakeStepRewardsByStakerViewer";
|
|
10
|
+
/** Type literal for the NetworkStakeStepRewardsByStakerViewer provider moniker. */
|
|
11
|
+
export type NetworkStakeStepRewardsByStakerViewerMoniker = typeof NetworkStakeStepRewardsByStakerViewerMoniker;
|
|
12
|
+
/** Viewer interface for reading NetworkStakeStepRewardsByStaker data. */
|
|
13
|
+
export interface NetworkStakeStepRewardsByStakerViewer extends NetworkStakeStepRewardsByStakerViewerMethods, Provider<NetworkStakeStepRewardsByStakerViewerMoniker> {
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=ByStakerViewer.d.ts.map
|
package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map
ADDED
|
@@ -0,0 +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,8DAA8D;AAC9D,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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Provider, StepIdentityString } from '../../../../protocol-model/index.js';
|
|
2
|
+
import type { NetworkStakeStepRewardsByStepViewerOptions } from './Options.js';
|
|
3
|
+
import type { NetworkStakeStepRewardsByIndexViewerMethodsTemplate } from './templates/index.js';
|
|
4
|
+
/** NetworkStakeStepRewardsByStepViewerMethods interface. */
|
|
5
|
+
export interface NetworkStakeStepRewardsByStepViewerMethods extends NetworkStakeStepRewardsByIndexViewerMethodsTemplate<NetworkStakeStepRewardsByStepViewerOptions, StepIdentityString> {
|
|
6
|
+
}
|
|
7
|
+
/** Moniker identifier for the NetworkStakeStepRewardsByStepViewer provider. */
|
|
8
|
+
export declare const NetworkStakeStepRewardsByStepViewerMoniker: "NetworkStakeStepRewardsByStepViewer";
|
|
9
|
+
/** Type literal for the NetworkStakeStepRewardsByStepViewer provider moniker. */
|
|
10
|
+
export type NetworkStakeStepRewardsByStepViewerMoniker = typeof NetworkStakeStepRewardsByStepViewerMoniker;
|
|
11
|
+
/** Viewer interface for reading NetworkStakeStepRewardsByStep data. */
|
|
12
|
+
export interface NetworkStakeStepRewardsByStepViewer extends NetworkStakeStepRewardsByStepViewerMethods, Provider<NetworkStakeStepRewardsByStepViewerMoniker> {
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=ByStepViewer.d.ts.map
|
|
@@ -0,0 +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,4DAA4D;AAC5D,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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
2
|
+
import type { BlockRange, StepIdentity } from '../../../../protocol-model/index.js';
|
|
3
|
+
/** Options for NetworkStakeStepRewardsRange. */
|
|
4
|
+
export interface NetworkStakeStepRewardsRangeOptions {
|
|
5
|
+
range?: BlockRange;
|
|
6
|
+
}
|
|
7
|
+
/** Options for NetworkStakeStepRewardsByStepViewer. */
|
|
8
|
+
export interface NetworkStakeStepRewardsByStepViewerOptions extends NetworkStakeStepRewardsRangeOptions {
|
|
9
|
+
steps?: StepIdentity[];
|
|
10
|
+
}
|
|
11
|
+
/** Options for NetworkStakeStepRewardsByStakerViewer. */
|
|
12
|
+
export interface NetworkStakeStepRewardsByStakerViewerOptions extends NetworkStakeStepRewardsRangeOptions {
|
|
13
|
+
stakers?: XyoAddress[];
|
|
14
|
+
}
|
|
15
|
+
/** Options for NetworkStakeStepRewardsByPositionViewer. */
|
|
16
|
+
export interface NetworkStakeStepRewardsByPositionViewerOptions extends NetworkStakeStepRewardsRangeOptions {
|
|
17
|
+
positions?: number[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=Options.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AttoXL1, Provider } from '../../../../protocol-model/index.js';
|
|
2
|
+
import type { NetworkStakeStepRewardsRangeOptions } from './Options.js';
|
|
3
|
+
import type { NetworkStakeStepRewardsViewerMethodsTemplate } from './templates/index.js';
|
|
4
|
+
/** NetworkStakeStepRewardsTotalViewerMethods interface. */
|
|
5
|
+
export interface NetworkStakeStepRewardsTotalViewerMethods extends NetworkStakeStepRewardsViewerMethodsTemplate<NetworkStakeStepRewardsRangeOptions, AttoXL1> {
|
|
6
|
+
}
|
|
7
|
+
/** Moniker identifier for the NetworkStakeStepRewardsTotalViewer provider. */
|
|
8
|
+
export declare const NetworkStakeStepRewardsTotalViewerMoniker: "NetworkStakeStepRewardsTotalViewer";
|
|
9
|
+
/** Type literal for the NetworkStakeStepRewardsTotalViewer provider moniker. */
|
|
10
|
+
export type NetworkStakeStepRewardsTotalViewerMoniker = typeof NetworkStakeStepRewardsTotalViewerMoniker;
|
|
11
|
+
/** Viewer interface for reading NetworkStakeStepRewardsTotal data. */
|
|
12
|
+
export interface NetworkStakeStepRewardsTotalViewer extends NetworkStakeStepRewardsTotalViewerMethods, Provider<NetworkStakeStepRewardsTotalViewerMoniker> {
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=TotalViewer.d.ts.map
|
|
@@ -0,0 +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,2DAA2D;AAC3D,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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Provider } from '../../../../protocol-model/index.js';
|
|
2
|
+
import type { NetworkStakeStepRewardsByPositionViewer } from './ByPositionViewer.js';
|
|
3
|
+
import type { NetworkStakeStepRewardsByStakerViewer } from './ByStakerViewer.js';
|
|
4
|
+
import type { NetworkStakeStepRewardsByStepViewer } from './ByStepViewer.js';
|
|
5
|
+
import type { NetworkStakeStepRewardsTotalViewer } from './TotalViewer.js';
|
|
6
|
+
/** NetworkStakeStepRewardsViewerMethods interface. */
|
|
7
|
+
export interface NetworkStakeStepRewardsViewerMethods {
|
|
8
|
+
}
|
|
9
|
+
/** Moniker identifier for the NetworkStakeStepRewardsViewer provider. */
|
|
10
|
+
export declare const NetworkStakeStepRewardsViewerMoniker: "NetworkStakeStepRewardsViewer";
|
|
11
|
+
/** Type literal for the NetworkStakeStepRewardsViewer provider moniker. */
|
|
12
|
+
export type NetworkStakeStepRewardsViewerMoniker = typeof NetworkStakeStepRewardsViewerMoniker;
|
|
13
|
+
/** Viewer interface for reading NetworkStakeStepRewards data. */
|
|
14
|
+
export interface NetworkStakeStepRewardsViewer extends NetworkStakeStepRewardsViewerMethods, Provider<NetworkStakeStepRewardsViewerMoniker> {
|
|
15
|
+
position?: NetworkStakeStepRewardsByPositionViewer;
|
|
16
|
+
staker?: NetworkStakeStepRewardsByStakerViewer;
|
|
17
|
+
step?: NetworkStakeStepRewardsByStepViewer;
|
|
18
|
+
total?: NetworkStakeStepRewardsTotalViewer;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=Viewer.d.ts.map
|
|
@@ -0,0 +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,sDAAsD;AACtD,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,QAAQ,CAAC,EAAE,uCAAuC,CAAA;IAClD,MAAM,CAAC,EAAE,qCAAqC,CAAA;IAC9C,IAAI,CAAC,EAAE,mCAAmC,CAAA;IAC1C,KAAK,CAAC,EAAE,kCAAkC,CAAA;CAC3C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './ByPositionViewer.js';
|
|
2
|
+
export * from './ByStakerViewer.js';
|
|
3
|
+
export * from './ByStepViewer.js';
|
|
4
|
+
export * from './Options.js';
|
|
5
|
+
export * from './templates/index.js';
|
|
6
|
+
export * from './TotalViewer.js';
|
|
7
|
+
export * from './Viewer.js';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AttoXL1, RecordKeyType } from '../../../../../protocol-model/index.js';
|
|
2
|
+
import type { NetworkStakeStepRewardsViewerMethodsTemplate } from './MethodsTemplate.js';
|
|
3
|
+
/** NetworkStakeStepRewardsByIndexViewerMethodsTemplate interface. */
|
|
4
|
+
export interface NetworkStakeStepRewardsByIndexViewerMethodsTemplate<TOptions, TResultIndex extends RecordKeyType> extends NetworkStakeStepRewardsViewerMethodsTemplate<TOptions, Record<TResultIndex, AttoXL1>> {
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=ByIndexMethodsTemplate.d.ts.map
|
|
@@ -0,0 +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,qEAAqE;AACrE,MAAM,WAAW,mDAAmD,CAAC,QAAQ,EAAE,YAAY,SAAS,aAAa,CAC/G,SAAQ,4CAA4C,CAAC,QAAQ,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;CAAG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
/** NetworkStakeStepRewardsViewerMethodsTemplate interface. */
|
|
3
|
+
export interface NetworkStakeStepRewardsViewerMethodsTemplate<TOptions, TResult> {
|
|
4
|
+
bonus(options?: TOptions): Promisable<TResult>;
|
|
5
|
+
claimed(options?: TOptions): Promisable<TResult>;
|
|
6
|
+
earned(options?: TOptions): Promisable<TResult>;
|
|
7
|
+
total(options?: TOptions): Promisable<TResult>;
|
|
8
|
+
unclaimed(options?: TOptions): Promisable<TResult>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=MethodsTemplate.d.ts.map
|
|
@@ -0,0 +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,8DAA8D;AAC9D,MAAM,WAAW,4CAA4C,CAAC,QAAQ,EAAE,OAAO;IAC7E,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAC9C,OAAO,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAChD,MAAM,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/C,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAC9C,SAAS,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;CACnD"}
|
package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/protocol-lib/viewers/NetworkStake/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { AttoXL1, Provider, StepIdentity, StepIdentityString } from '../../protocol-model/index.js';
|
|
4
|
+
/** NetworkStakeStepAddressRewardViewerMethods interface. */
|
|
5
|
+
export interface NetworkStakeStepAddressRewardViewerMethods {
|
|
6
|
+
networkStakeStepRewardAddressHistory(address: XyoAddress): Promisable<Record<XyoAddress, AttoXL1>>;
|
|
7
|
+
networkStakeStepRewardAddressReward(context: StepIdentity, address: XyoAddress): Promisable<Record<XyoAddress, AttoXL1>>;
|
|
8
|
+
networkStakeStepRewardAddressShare(context: StepIdentity, address: XyoAddress): Promisable<[/* address shares */ bigint, /* total shares */ bigint]>;
|
|
9
|
+
networkStakeStepRewardWeightForAddress(context: StepIdentity, address: XyoAddress): Promisable<bigint>;
|
|
10
|
+
}
|
|
11
|
+
/** NetworkStakeStepPoolRewardViewerMethods interface. */
|
|
12
|
+
export interface NetworkStakeStepPoolRewardViewerMethods {
|
|
13
|
+
networkStakeStepRewardPoolRewards(context: StepIdentity): Promisable<Record<XyoAddress, AttoXL1>>;
|
|
14
|
+
networkStakeStepRewardPoolShares(context: StepIdentity): Promisable<Record<XyoAddress, bigint>>;
|
|
15
|
+
}
|
|
16
|
+
/** NetworkStakeStepRewardPositionViewerMethods interface. */
|
|
17
|
+
export interface NetworkStakeStepRewardPositionViewerMethods {
|
|
18
|
+
networkStakeStepRewardPositionWeight(context: StepIdentity, position: number): Promisable<bigint>;
|
|
19
|
+
networkStakeStepRewardPotentialPositionLoss(context: StepIdentity, position: number): Promisable<AttoXL1>;
|
|
20
|
+
}
|
|
21
|
+
/** NetworkStakeStepRewardViewerMethods interface. */
|
|
22
|
+
export interface NetworkStakeStepRewardViewerMethods extends NetworkStakeStepPoolRewardViewerMethods, NetworkStakeStepAddressRewardViewerMethods, NetworkStakeStepRewardPositionViewerMethods {
|
|
23
|
+
networkStakeStepRewardClaimedByAddress(address: XyoAddress): Promisable<AttoXL1>;
|
|
24
|
+
networkStakeStepRewardForPosition(position: number, range: [number, number]): Promisable<[AttoXL1, AttoXL1]>;
|
|
25
|
+
networkStakeStepRewardForStep(context: StepIdentity): Promisable<AttoXL1>;
|
|
26
|
+
networkStakeStepRewardForStepForPosition(context: StepIdentity, position: number): Promisable<[AttoXL1, AttoXL1]>;
|
|
27
|
+
networkStakeStepRewardRandomizer(context: StepIdentity): Promisable<AttoXL1>;
|
|
28
|
+
networkStakeStepRewardStakerCount(context: StepIdentity): Promisable<number>;
|
|
29
|
+
networkStakeStepRewardUnclaimedByAddress(address: XyoAddress): Promisable<AttoXL1>;
|
|
30
|
+
networkStakeStepRewardsForPosition(position: number, range: [number, number]): Promisable<Record<StepIdentityString, [AttoXL1, AttoXL1]>>;
|
|
31
|
+
networkStakeStepRewardsForRange(range: [number, number]): Promisable<AttoXL1>;
|
|
32
|
+
networkStakeStepRewardsForStepLevel(stepLevel: number, range: [number, number]): Promisable<AttoXL1>;
|
|
33
|
+
}
|
|
34
|
+
/** Moniker identifier for the NetworkStakeStepRewardViewer provider. */
|
|
35
|
+
export declare const NetworkStakeStepRewardViewerMoniker: "NetworkStakeStepRewardViewer";
|
|
36
|
+
/** Type literal for the NetworkStakeStepRewardViewer provider moniker. */
|
|
37
|
+
export type NetworkStakeStepRewardViewerMoniker = typeof NetworkStakeStepRewardViewerMoniker;
|
|
38
|
+
/** Viewer interface for reading NetworkStakeStepReward data. */
|
|
39
|
+
export interface NetworkStakeStepRewardViewer extends NetworkStakeStepRewardViewerMethods, Provider<NetworkStakeStepRewardViewerMoniker> {
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=NetworkStakeStepReward.d.ts.map
|
|
@@ -0,0 +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,4DAA4D;AAC5D,MAAM,WAAW,0CAA0C;IAEzD,oCAAoC,CAAC,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAA;IAGlG,mCAAmC,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAA;IAGxH,kCAAkC,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC,oBAAoB,CAAA,MAAM,EAAE,kBAAkB,CAAA,MAAM,CAAC,CAAC,CAAA;IAGlJ,sCAAsC,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;CACvG;AAED,yDAAyD;AACzD,MAAM,WAAW,uCAAuC;IAGtD,iCAAiC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAA;IAGjG,gCAAgC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAA;CAChG;AAED,6DAA6D;AAC7D,MAAM,WAAW,2CAA2C;IAE1D,oCAAoC,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAGjG,2CAA2C,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;CAC1G;AAED,qDAAqD;AACrD,MAAM,WAAW,mCAAoC,SACnD,uCAAuC,EACvC,0CAA0C,EAC1C,2CAA2C;IAE3C,sCAAsC,CAAC,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAGhF,iCAAiC,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;IAG5G,6BAA6B,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAGzE,wCAAwC,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;IAGjH,gCAAgC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAG5E,iCAAiC,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAE5E,wCAAwC,CAAC,OAAO,EAAE,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAGlF,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,+BAA+B,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAG7E,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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { Position, Provider } from '../../protocol-model/index.js';
|
|
4
|
+
import type { StakeEventsViewer } from './StakeEvents.js';
|
|
5
|
+
/** StakeViewerProperties interface. */
|
|
6
|
+
export interface StakeViewerProperties {
|
|
7
|
+
stakeEvents: StakeEventsViewer;
|
|
8
|
+
}
|
|
9
|
+
/** StakeViewerMethods interface. */
|
|
10
|
+
export interface StakeViewerMethods {
|
|
11
|
+
minWithdrawalBlocks(): Promisable<number>;
|
|
12
|
+
rewardsContract(): Promisable<XyoAddress>;
|
|
13
|
+
stakeById(id: number): Promisable<Position>;
|
|
14
|
+
stakeByStaker(staker: XyoAddress, slot: number): Promisable<Position>;
|
|
15
|
+
stakesByStaked(staked: XyoAddress): Promisable<Position[]>;
|
|
16
|
+
stakesByStaker(staker: XyoAddress): Promisable<Position[]>;
|
|
17
|
+
stakingTokenAddress(): Promisable<XyoAddress>;
|
|
18
|
+
}
|
|
19
|
+
/** Moniker identifier for the StakeViewer provider. */
|
|
20
|
+
export declare const StakeViewerMoniker: "StakeViewer";
|
|
21
|
+
/** Type literal for the StakeViewer provider moniker. */
|
|
22
|
+
export type StakeViewerMoniker = typeof StakeViewerMoniker;
|
|
23
|
+
/** Viewer interface for reading Stake data. */
|
|
24
|
+
export interface StakeViewer extends StakeViewerMethods, StakeViewerProperties, Provider<StakeViewerMoniker> {
|
|
25
|
+
activeStakes(): Promisable<Position[]>;
|
|
26
|
+
removedStakes(): Promisable<Position[]>;
|
|
27
|
+
withdrawnStakes(): Promisable<Position[]>;
|
|
28
|
+
}
|
|
29
|
+
/** Moniker identifier for the StakeRunner provider. */
|
|
30
|
+
export declare const StakeRunnerMoniker: "StakeRunner";
|
|
31
|
+
/** Type literal for the StakeRunner provider moniker. */
|
|
32
|
+
export type StakeRunnerMoniker = typeof StakeRunnerMoniker;
|
|
33
|
+
/** Runner interface for executing Stake operations. */
|
|
34
|
+
export interface StakeRunner extends Provider<StakeRunnerMoniker> {
|
|
35
|
+
addStake(staked: string, amount: bigint): Promise<boolean>;
|
|
36
|
+
removeStake(slot: bigint): Promise<boolean>;
|
|
37
|
+
withdrawStake(slot: bigint): Promise<boolean>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=Stake.d.ts.map
|
|
@@ -0,0 +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,uCAAuC;AACvC,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,iBAAiB,CAAA;CAC/B;AAED,oCAAoC;AACpC,MAAM,WAAW,kBAAkB;IACjC,mBAAmB,IAAI,UAAU,CAAC,MAAM,CAAC,CAAA;IACzC,eAAe,IAAI,UAAU,CAAC,UAAU,CAAC,CAAA;IACzC,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAA;IAC3C,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAA;IACrE,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IAC1D,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IAC1D,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,YAAY,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IACtC,aAAa,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IACvC,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,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC1D,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC3C,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;CAC9C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { JsonObject, Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { Provider } from '../../protocol-model/index.js';
|
|
4
|
+
/** StakeEventNames constant. */
|
|
5
|
+
export declare const StakeEventNames: readonly ["StakeAdded", "StakeRemoved", "StakeWithdrawn"];
|
|
6
|
+
/** StakeEventName type. */
|
|
7
|
+
export type StakeEventName = typeof StakeEventNames[number];
|
|
8
|
+
/** ExternalEvent interface. */
|
|
9
|
+
export interface ExternalEvent<TName extends string = string, TArgs extends JsonObject = {}> {
|
|
10
|
+
args: TArgs;
|
|
11
|
+
name: TName;
|
|
12
|
+
time: number;
|
|
13
|
+
}
|
|
14
|
+
/** EventFilter interface. */
|
|
15
|
+
export interface EventFilter<TName extends string = string> {
|
|
16
|
+
name?: TName;
|
|
17
|
+
time?: [number, number];
|
|
18
|
+
}
|
|
19
|
+
/** StakeEventArgs interface. */
|
|
20
|
+
export interface StakeEventArgs {
|
|
21
|
+
amount: bigint;
|
|
22
|
+
id: number;
|
|
23
|
+
staked: XyoAddress;
|
|
24
|
+
staker: XyoAddress;
|
|
25
|
+
}
|
|
26
|
+
/** StakeEventFilterArgs type. */
|
|
27
|
+
export type StakeEventFilterArgs = Partial<Pick<StakeEventArgs, 'staker' | 'staked' | 'id'>>;
|
|
28
|
+
/** StakeEventFilter interface. */
|
|
29
|
+
export interface StakeEventFilter<TName extends StakeEventName = StakeEventName> extends EventFilter<TName> {
|
|
30
|
+
args?: StakeEventFilterArgs;
|
|
31
|
+
}
|
|
32
|
+
/** StakeEvent interface. */
|
|
33
|
+
export interface StakeEvent<TName extends StakeEventName = StakeEventName> extends ExternalEvent<TName> {
|
|
34
|
+
args: StakeEventArgs;
|
|
35
|
+
}
|
|
36
|
+
/** Moniker identifier for the StakeEventsViewer provider. */
|
|
37
|
+
export declare const StakeEventsViewerMoniker: "StakeEventsViewer";
|
|
38
|
+
/** Type literal for the StakeEventsViewer provider moniker. */
|
|
39
|
+
export type StakeEventsViewerMoniker = typeof StakeEventsViewerMoniker;
|
|
40
|
+
/** Viewer interface for reading StakeEvents data. */
|
|
41
|
+
export interface StakeEventsViewer extends Provider<StakeEventsViewerMoniker> {
|
|
42
|
+
positionCount(range: [number, number | 'latest']): Promisable<number>;
|
|
43
|
+
stakeEvents<TName extends StakeEventName>(range: [number, number | 'latest'], filter?: StakeEventFilter<TName>): Promisable<StakeEvent<TName>[]>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=StakeEvents.d.ts.map
|
|
@@ -0,0 +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,gCAAgC;AAChC,eAAO,MAAM,eAAe,2DAA4D,CAAA;AACxF,2BAA2B;AAC3B,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;AAE3D,+BAA+B;AAC/B,MAAM,WAAW,aAAa,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,SAAS,UAAU,GAAG,EAAE;IACzF,IAAI,EAAE,KAAK,CAAA;IACX,IAAI,EAAE,KAAK,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,6BAA6B;AAC7B,MAAM,WAAW,WAAW,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM;IACxD,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACxB;AAED,gCAAgC;AAChC,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,UAAU,CAAA;IAClB,MAAM,EAAE,UAAU,CAAA;CACnB;AAED,iCAAiC;AACjC,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAA;AAE5F,kCAAkC;AAClC,MAAM,WAAW,gBAAgB,CAAC,KAAK,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,WAAW,CAAC,KAAK,CAAC;IACzG,IAAI,CAAC,EAAE,oBAAoB,CAAA;CAC5B;AAED,4BAA4B;AAC5B,MAAM,WAAW,UAAU,CAAC,KAAK,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,aAAa,CAAC,KAAK,CAAC;IACrG,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,aAAa,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACrE,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Hash, Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { ChainQualified, ChainStakeIntent, Provider, XL1BlockRange } from '../../protocol-model/index.js';
|
|
4
|
+
/** StakeIntentViewerMethods interface. */
|
|
5
|
+
export interface StakeIntentViewerMethods {
|
|
6
|
+
qualifiedIntentByAddress(address: XyoAddress, headOrRange?: Hash | XL1BlockRange): Promisable<ChainQualified<ChainStakeIntent | null>>;
|
|
7
|
+
}
|
|
8
|
+
/** Moniker identifier for the StakeIntentViewer provider. */
|
|
9
|
+
export declare const StakeIntentViewerMoniker: "StakeIntentViewer";
|
|
10
|
+
/** Type literal for the StakeIntentViewer provider moniker. */
|
|
11
|
+
export type StakeIntentViewerMoniker = typeof StakeIntentViewerMoniker;
|
|
12
|
+
/** Viewer interface for reading StakeIntent data. */
|
|
13
|
+
export interface StakeIntentViewer extends StakeIntentViewerMethods, Provider<StakeIntentViewerMoniker> {
|
|
14
|
+
intentByAddress(address: XyoAddress, headOrRange?: Hash | XL1BlockRange): Promisable<ChainStakeIntent | null>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=StakeIntent.d.ts.map
|
|
@@ -0,0 +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,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC,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,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,IAAI,GAAG,aAAa,GAAG,UAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAC9G"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { Provider } from '../../protocol-model/index.js';
|
|
4
|
+
/** StakeTotalsViewerMethods interface. */
|
|
5
|
+
export interface StakeTotalsViewerMethods {
|
|
6
|
+
active(time?: number): Promisable<bigint>;
|
|
7
|
+
activeByStaked(staked: XyoAddress, time?: number): Promisable<bigint>;
|
|
8
|
+
activeByStaker(address: XyoAddress, time?: number): Promisable<bigint>;
|
|
9
|
+
pending(time?: number): Promisable<bigint>;
|
|
10
|
+
pendingByStaker(staker: XyoAddress, time?: number): Promisable<bigint>;
|
|
11
|
+
withdrawn(time?: number): Promisable<bigint>;
|
|
12
|
+
withdrawnByStaker(staker: XyoAddress, time?: number): Promisable<bigint>;
|
|
13
|
+
}
|
|
14
|
+
/** Moniker identifier for the StakeTotalsViewer provider. */
|
|
15
|
+
export declare const StakeTotalsViewerMoniker: "StakeTotalsViewer";
|
|
16
|
+
/** Type literal for the StakeTotalsViewer provider moniker. */
|
|
17
|
+
export type StakeTotalsViewerMoniker = typeof StakeTotalsViewerMoniker;
|
|
18
|
+
/** Viewer interface for reading StakeTotals data. */
|
|
19
|
+
export interface StakeTotalsViewer extends StakeTotalsViewerMethods, Provider<StakeTotalsViewerMoniker> {
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=StakeTotals.d.ts.map
|
|
@@ -0,0 +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,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACzC,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACrE,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACtE,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAC1C,eAAe,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IACtE,SAAS,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAC5C,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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { Provider, StepIdentity } from '../../protocol-model/index.js';
|
|
4
|
+
/** StepStakeViewerMethods interface. */
|
|
5
|
+
export interface StepStakeViewerMethods {
|
|
6
|
+
stepStake: (step: StepIdentity) => Promisable<Record<XyoAddress, bigint>>;
|
|
7
|
+
stepStakeForAddress: (address: XyoAddress, step: StepIdentity) => Promisable<bigint>;
|
|
8
|
+
}
|
|
9
|
+
export declare const StepStakeViewerMoniker: "StepStakeViewer";
|
|
10
|
+
/** Type literal for the StepStakeViewer provider moniker. */
|
|
11
|
+
export type StepStakeViewerMoniker = typeof StepStakeViewerMoniker;
|
|
12
|
+
/** Viewer interface for reading StepStake data. */
|
|
13
|
+
export interface StepStakeViewer extends StepStakeViewerMethods, Provider<StepStakeViewerMoniker> {
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=StepStake.d.ts.map
|
|
@@ -0,0 +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,wCAAwC;AACxC,MAAM,WAAW,sBAAsB;IAErC,SAAS,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAA;IAGzE,mBAAmB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,KAAK,UAAU,CAAC,MAAM,CAAC,CAAA;CACrF;AAUD,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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk';
|
|
3
|
+
import type { Position, PositionId, Provider, StepIdentity } from '../../protocol-model/index.js';
|
|
4
|
+
import type { NetworkStakeStepRewardsViewer } from './NetworkStake/index.js';
|
|
5
|
+
/** Options for PagedPositions. */
|
|
6
|
+
export interface PagedPositionsOptions {
|
|
7
|
+
cursor?: PositionId;
|
|
8
|
+
limit?: number;
|
|
9
|
+
}
|
|
10
|
+
/** Options for PagedStakers. */
|
|
11
|
+
export interface PagedStakersOptions {
|
|
12
|
+
cursor?: XyoAddress;
|
|
13
|
+
limit?: number;
|
|
14
|
+
}
|
|
15
|
+
/** StepStatistics interface. */
|
|
16
|
+
export interface StepStatistics {
|
|
17
|
+
endTime: number;
|
|
18
|
+
startTime: number;
|
|
19
|
+
}
|
|
20
|
+
/** StepViewerMethods interface. */
|
|
21
|
+
export interface StepViewerMethods {
|
|
22
|
+
positionCount(step: StepIdentity): Promisable<number>;
|
|
23
|
+
positions(step: StepIdentity, options?: PagedPositionsOptions): Promisable<Position[]>;
|
|
24
|
+
randomizer(step: StepIdentity): Promisable<bigint>;
|
|
25
|
+
stake(step: StepIdentity): Promisable<bigint>;
|
|
26
|
+
stakerCount(step: StepIdentity): Promisable<number>;
|
|
27
|
+
stakers(step: StepIdentity, options?: PagedStakersOptions): Promisable<XyoAddress[]>;
|
|
28
|
+
weight(step: StepIdentity, positionId?: PositionId): Promisable<bigint>;
|
|
29
|
+
}
|
|
30
|
+
/** Moniker identifier for the StepViewer provider. */
|
|
31
|
+
export declare const StepViewerMoniker: "StepViewer";
|
|
32
|
+
/** Type literal for the StepViewer provider moniker. */
|
|
33
|
+
export type StepViewerMoniker = typeof StepViewerMoniker;
|
|
34
|
+
/** Viewer interface for reading Step data. */
|
|
35
|
+
export interface StepViewer extends StepViewerMethods, Provider<StepViewerMoniker> {
|
|
36
|
+
rewards?: NetworkStakeStepRewardsViewer;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=StepViewer.d.ts.map
|
|
@@ -0,0 +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,gCAAgC;AAChC,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,mCAAmC;AACnC,MAAM,WAAW,iBAAiB;IAGhC,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAErD,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IAGtF,UAAU,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAGlD,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAG7C,WAAW,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAEnD,OAAO,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC,CAAA;IAGpF,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,OAAO,CAAC,EAAE,6BAA6B,CAAA;CACxC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { Provider, SignedHydratedBlockWithHashMeta, SyncStepSummaryMetadata, SyncStepSummaryStatus, XL1BlockNumber } from '../../protocol-model/index.js';
|
|
3
|
+
/** SyncViewerMethods interface. */
|
|
4
|
+
export interface SyncViewerMethods {
|
|
5
|
+
/** Get the indexed step summary blocks for a completed step boundary. */
|
|
6
|
+
stepSummary(step: number, block: XL1BlockNumber): Promisable<SignedHydratedBlockWithHashMeta[] | null>;
|
|
7
|
+
/** Get metadata for an indexed step summary. */
|
|
8
|
+
stepSummaryMetadata(step: number, block: XL1BlockNumber): Promisable<SyncStepSummaryMetadata | null>;
|
|
9
|
+
/** Get the current sync indexer status. */
|
|
10
|
+
stepSummaryStatus(): Promisable<SyncStepSummaryStatus>;
|
|
11
|
+
}
|
|
12
|
+
/** Moniker identifier for the SyncViewer provider. */
|
|
13
|
+
export declare const SyncViewerMoniker: "SyncViewer";
|
|
14
|
+
/** Type literal for the SyncViewer provider moniker. */
|
|
15
|
+
export type SyncViewerMoniker = typeof SyncViewerMoniker;
|
|
16
|
+
/** Viewer interface for reading sync data. */
|
|
17
|
+
export interface SyncViewer extends SyncViewerMethods, Provider<SyncViewerMoniker> {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=Sync.d.ts.map
|
|
@@ -0,0 +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,mCAAmC;AACnC,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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Promisable } from '@ariestools/sdk';
|
|
2
|
+
import type { Provider, TimeDomain, TimePayload } from '../../protocol-model/index.js';
|
|
3
|
+
/** TimeSyncViewerMethods interface. */
|
|
4
|
+
export interface TimeSyncViewerMethods {
|
|
5
|
+
/** Convert time between different domains */
|
|
6
|
+
convertTime(fromDomain: TimeDomain, toDomain: TimeDomain, from: number): Promisable<number>;
|
|
7
|
+
/** Get the current time for a given domain. Returns the resolved domain and time. */
|
|
8
|
+
currentTime(domain: TimeDomain): Promisable<[TimeDomain, number]>;
|
|
9
|
+
/** Get the current time for a given domain */
|
|
10
|
+
currentTimeAndHash(domain: TimeDomain): Promisable<[number, string | null]>;
|
|
11
|
+
/** Create a TimePayload with the current time from all configured domains */
|
|
12
|
+
currentTimePayload(): Promisable<TimePayload>;
|
|
13
|
+
}
|
|
14
|
+
/** Moniker identifier for the TimeSyncViewer provider. */
|
|
15
|
+
export declare const TimeSyncViewerMoniker: "TimeSyncViewer";
|
|
16
|
+
/** Type literal for the TimeSyncViewer provider moniker. */
|
|
17
|
+
export type TimeSyncViewerMoniker = typeof TimeSyncViewerMoniker;
|
|
18
|
+
/** Viewer interface for reading TimeSync data. */
|
|
19
|
+
export interface TimeSyncViewer extends TimeSyncViewerMethods, Provider<TimeSyncViewerMoniker> {
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=TimeSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeSync.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/viewers/TimeSync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EACV,QAAQ,EAAE,UAAU,EAAE,WAAW,EAClC,MAAM,iBAAiB,CAAA;AAExB,uCAAuC;AACvC,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,WAAW,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAE3F,qFAAqF;IACrF,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAA;IAEjE,8CAA8C;IAC9C,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC,CAAA;IAE3E,6EAA6E;IAC7E,kBAAkB,IAAI,UAAU,CAAC,WAAW,CAAC,CAAA;CAC9C;AAED,0DAA0D;AAC1D,eAAO,MAAM,qBAAqB,EAAG,gBAAyB,CAAA;AAC9D,4DAA4D;AAC5D,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAEhE,kDAAkD;AAClD,MAAM,WAAW,cAAe,SAAQ,qBAAqB,EAAE,QAAQ,CAAC,qBAAqB,CAAC;CAAG"}
|