@storagehub/api-augment 0.2.11 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/parachain/interfaces/augment-api-consts.js +1 -1
- package/dist/parachain/interfaces/augment-api-errors.js +1 -1
- package/dist/parachain/interfaces/augment-api-events.js +1 -1
- package/dist/parachain/interfaces/augment-api-query.js +1 -1
- package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
- package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
- package/dist/parachain/interfaces/augment-api-tx.js +1 -1
- package/dist/parachain/interfaces/augment-api.js +7 -7
- package/dist/parachain/interfaces/augment-types.js +1 -1
- package/dist/parachain/interfaces/index.js +1 -1
- package/dist/parachain/interfaces/lookup.js +2406 -2871
- package/dist/parachain/interfaces/lookup.js.map +1 -1
- package/dist/parachain/interfaces/registry.js +1 -1
- package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
- package/dist/parachain/interfaces/types-lookup.js +1 -1
- package/dist/parachain/interfaces/types.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api.js +7 -7
- package/dist/solochain-evm/interfaces/augment-types.js +1 -1
- package/dist/solochain-evm/interfaces/index.js +1 -1
- package/dist/solochain-evm/interfaces/lookup.js +1686 -2109
- package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
- package/dist/solochain-evm/interfaces/registry.js +1 -1
- package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
- package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
- package/dist/solochain-evm/interfaces/types.js +1 -1
- package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-api-errors.d.ts +3 -111
- package/dist/types/parachain/interfaces/augment-api-events.d.ts +185 -917
- package/dist/types/parachain/interfaces/augment-api-query.d.ts +112 -319
- package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +25 -25
- package/dist/types/parachain/interfaces/augment-api-tx.d.ts +212 -637
- package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-types.d.ts +76 -75
- package/dist/types/parachain/interfaces/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/lookup.d.ts +289 -326
- package/dist/types/parachain/interfaces/registry.d.ts +4 -4
- package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +46 -36
- package/dist/types/parachain/interfaces/types-lookup.d.ts +525 -714
- package/dist/types/parachain/interfaces/types.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +3 -111
- package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +150 -763
- package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +100 -291
- package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +25 -25
- package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +195 -582
- package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-types.d.ts +76 -75
- package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/lookup.d.ts +239 -276
- package/dist/types/solochain-evm/interfaces/registry.d.ts +4 -4
- package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +47 -37
- package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +425 -584
- package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
- package/metadata-sh-parachain.json +1 -1
- package/metadata-sh-solochain-evm.json +1 -1
- package/package.json +2 -2
- package/src/parachain/interfaces/augment-api-errors.ts +0 -108
- package/src/parachain/interfaces/augment-api-events.ts +14 -113
- package/src/parachain/interfaces/augment-api-tx.ts +63 -10
- package/src/parachain/interfaces/augment-types.ts +2 -0
- package/src/parachain/interfaces/lookup.ts +326 -390
- package/src/parachain/interfaces/registry.ts +2 -2
- package/src/parachain/interfaces/storagehubclient/types.ts +14 -4
- package/src/parachain/interfaces/types-lookup.ts +388 -490
- package/src/solochain-evm/interfaces/augment-api-errors.ts +0 -108
- package/src/solochain-evm/interfaces/augment-api-events.ts +14 -113
- package/src/solochain-evm/interfaces/augment-api-tx.ts +63 -10
- package/src/solochain-evm/interfaces/augment-types.ts +2 -0
- package/src/solochain-evm/interfaces/lookup.ts +276 -340
- package/src/solochain-evm/interfaces/registry.ts +2 -2
- package/src/solochain-evm/interfaces/storagehubclient/types.ts +14 -4
- package/src/solochain-evm/interfaces/types-lookup.ts +338 -440
- package/storagehub-api-augment-0.2.14.tgz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonZeroSender, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBucketNftsCall, PalletBucketNftsError, PalletBucketNftsEvent, PalletCollatorSelectionCall, PalletCollatorSelectionCandidateInfo, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletFileSystemBucketMoveRequestResponse, PalletFileSystemCall, PalletFileSystemEitherAccountIdOrMspId, PalletFileSystemError, PalletFileSystemEvent, PalletFileSystemFileDeletionRequest, PalletFileSystemFileKeyWithProof, PalletFileSystemFileOperation, PalletFileSystemFileOperationIntention, PalletFileSystemHoldReason, PalletFileSystemIncompleteStorageRequestMetadata, PalletFileSystemMoveBucketRequestMetadata, PalletFileSystemPendingFileDeletionRequest, PalletFileSystemPendingStopStoringRequest, PalletFileSystemRejectedStorageRequest, PalletFileSystemRejectedStorageRequestReason, PalletFileSystemReplicationTarget, PalletFileSystemStorageRequestBspsMetadata, PalletFileSystemStorageRequestMetadata, PalletFileSystemStorageRequestMspAcceptedFileKeys, PalletFileSystemStorageRequestMspBucketResponse, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCall, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsCollectionRole, PalletNftsCollectionSetting, PalletNftsDestroyWitness, PalletNftsError, PalletNftsEvent, PalletNftsItemConfig, PalletNftsItemDeposit, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsItemMetadataDeposit, PalletNftsItemSetting, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintType, PalletNftsMintWitness, PalletNftsPalletAttributes, PalletNftsPalletFeature, PalletNftsPendingSwap, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceDirection, PalletNftsPriceWithDirection, PalletParametersCall, PalletParametersEvent, PalletPaymentStreamsCall, PalletPaymentStreamsDynamicRatePaymentStream, PalletPaymentStreamsError, PalletPaymentStreamsEvent, PalletPaymentStreamsFixedRatePaymentStream, PalletPaymentStreamsHoldReason, PalletPaymentStreamsProviderLastChargeableInfo, PalletProofsDealerCall, PalletProofsDealerCustomChallenge, PalletProofsDealerError, PalletProofsDealerEvent, PalletProofsDealerKeyProof, PalletProofsDealerProof, PalletProofsDealerProofSubmissionRecord, PalletRandomnessCall, PalletRandomnessEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStorageProvidersBackupStorageProvider, PalletStorageProvidersBucket, PalletStorageProvidersCall, PalletStorageProvidersError, PalletStorageProvidersEvent, PalletStorageProvidersHoldReason, PalletStorageProvidersMainStorageProvider, PalletStorageProvidersMainStorageProviderSignUpRequest, PalletStorageProvidersSignUpRequest, PalletStorageProvidersSignUpRequestSpParams, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBasicReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBspStopStoringFilePenalty, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigDecayRate, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigHighSecurityReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigIdealUtilisationRate, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigLowerExponentFactor, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxPrice, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaximumTreasuryCut, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinPrice, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinSeedPeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinWaitForStopStoring, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinimumTreasuryCut, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMostlyStablePrice, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigProviderTopUpTtl, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToSeedPeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStandardReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStorageRequestTtl, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSuperHighSecurityReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationLowerThresholdPercentage, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationUpperThresholdPercentage, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigTickRangeToMaximumThreshold, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUltraHighSecurityReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpfrontTicksToPay, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpperExponentFactor, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigZeroSizeBucketFixedRate, ShParachainRuntimeConfigsRuntimeParamsRuntimeParameters, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShParachainRuntimeRuntime, ShParachainRuntimeRuntimeHoldReason, ShParachainRuntimeSessionKeys, ShpFileKeyVerifierFileKeyProof, ShpFileMetadataFileMetadata, ShpFileMetadataFingerprint, ShpTraitsTrieAddMutation, ShpTraitsTrieMutation, ShpTraitsTrieRemoveMutation, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpTrieStorageProofCompactProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmDoubleEncoded, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from "@polkadot/types/lookup";
|
|
3
|
-
declare module
|
|
1
|
+
import '@polkadot/types/types/registry';
|
|
2
|
+
import type { CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonZeroSender, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBucketNftsCall, PalletBucketNftsError, PalletBucketNftsEvent, PalletCollatorSelectionCall, PalletCollatorSelectionCandidateInfo, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletFileSystemBucketMoveRequestResponse, PalletFileSystemCall, PalletFileSystemError, PalletFileSystemEvent, PalletFileSystemFileDeletionRequest, PalletFileSystemFileKeyWithProof, PalletFileSystemFileOperation, PalletFileSystemFileOperationIntention, PalletFileSystemHoldReason, PalletFileSystemIncompleteStorageRequestMetadata, PalletFileSystemMoveBucketRequestMetadata, PalletFileSystemMspStorageRequestStatus, PalletFileSystemPendingFileDeletionRequest, PalletFileSystemPendingStopStoringRequest, PalletFileSystemRejectedStorageRequest, PalletFileSystemRejectedStorageRequestReason, PalletFileSystemReplicationTarget, PalletFileSystemStorageRequestBspsMetadata, PalletFileSystemStorageRequestMetadata, PalletFileSystemStorageRequestMspAcceptedFileKeys, PalletFileSystemStorageRequestMspBucketResponse, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCall, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsCollectionRole, PalletNftsCollectionSetting, PalletNftsDestroyWitness, PalletNftsError, PalletNftsEvent, PalletNftsItemConfig, PalletNftsItemDeposit, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsItemMetadataDeposit, PalletNftsItemSetting, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintType, PalletNftsMintWitness, PalletNftsPalletAttributes, PalletNftsPalletFeature, PalletNftsPendingSwap, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceDirection, PalletNftsPriceWithDirection, PalletParametersCall, PalletParametersEvent, PalletPaymentStreamsCall, PalletPaymentStreamsDynamicRatePaymentStream, PalletPaymentStreamsError, PalletPaymentStreamsEvent, PalletPaymentStreamsFixedRatePaymentStream, PalletPaymentStreamsHoldReason, PalletPaymentStreamsProviderLastChargeableInfo, PalletProofsDealerCall, PalletProofsDealerCustomChallenge, PalletProofsDealerError, PalletProofsDealerEvent, PalletProofsDealerKeyProof, PalletProofsDealerProof, PalletProofsDealerProofSubmissionRecord, PalletRandomnessCall, PalletRandomnessEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStorageProvidersBackupStorageProvider, PalletStorageProvidersBucket, PalletStorageProvidersCall, PalletStorageProvidersError, PalletStorageProvidersEvent, PalletStorageProvidersHoldReason, PalletStorageProvidersMainStorageProvider, PalletStorageProvidersMainStorageProviderSignUpRequest, PalletStorageProvidersSignUpRequest, PalletStorageProvidersSignUpRequestSpParams, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBasicReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBspStopStoringFilePenalty, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigDecayRate, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigHighSecurityReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigIdealUtilisationRate, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigLowerExponentFactor, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxPrice, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaximumTreasuryCut, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinPrice, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinSeedPeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinWaitForStopStoring, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinimumTreasuryCut, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMostlyStablePrice, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigProviderTopUpTtl, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToSeedPeriod, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStandardReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStorageRequestTtl, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSuperHighSecurityReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationLowerThresholdPercentage, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationUpperThresholdPercentage, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigTickRangeToMaximumThreshold, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUltraHighSecurityReplicationTarget, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpfrontTicksToPay, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpperExponentFactor, ShParachainRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigZeroSizeBucketFixedRate, ShParachainRuntimeConfigsRuntimeParamsRuntimeParameters, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShParachainRuntimeRuntime, ShParachainRuntimeRuntimeHoldReason, ShParachainRuntimeSessionKeys, ShpFileKeyVerifierFileKeyProof, ShpFileMetadataFileMetadata, ShpFileMetadataFingerprint, ShpTraitsTrieAddMutation, ShpTraitsTrieMutation, ShpTraitsTrieRemoveMutation, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpTrieStorageProofCompactProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmDoubleEncoded, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
3
|
+
declare module '@polkadot/types/types/registry' {
|
|
4
4
|
interface InterfaceTypes {
|
|
5
5
|
CumulusPalletParachainSystemCall: CumulusPalletParachainSystemCall;
|
|
6
6
|
CumulusPalletParachainSystemError: CumulusPalletParachainSystemError;
|
|
@@ -67,7 +67,6 @@ declare module "@polkadot/types/types/registry" {
|
|
|
67
67
|
PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
|
|
68
68
|
PalletFileSystemBucketMoveRequestResponse: PalletFileSystemBucketMoveRequestResponse;
|
|
69
69
|
PalletFileSystemCall: PalletFileSystemCall;
|
|
70
|
-
PalletFileSystemEitherAccountIdOrMspId: PalletFileSystemEitherAccountIdOrMspId;
|
|
71
70
|
PalletFileSystemError: PalletFileSystemError;
|
|
72
71
|
PalletFileSystemEvent: PalletFileSystemEvent;
|
|
73
72
|
PalletFileSystemFileDeletionRequest: PalletFileSystemFileDeletionRequest;
|
|
@@ -77,6 +76,7 @@ declare module "@polkadot/types/types/registry" {
|
|
|
77
76
|
PalletFileSystemHoldReason: PalletFileSystemHoldReason;
|
|
78
77
|
PalletFileSystemIncompleteStorageRequestMetadata: PalletFileSystemIncompleteStorageRequestMetadata;
|
|
79
78
|
PalletFileSystemMoveBucketRequestMetadata: PalletFileSystemMoveBucketRequestMetadata;
|
|
79
|
+
PalletFileSystemMspStorageRequestStatus: PalletFileSystemMspStorageRequestStatus;
|
|
80
80
|
PalletFileSystemPendingFileDeletionRequest: PalletFileSystemPendingFileDeletionRequest;
|
|
81
81
|
PalletFileSystemPendingStopStoringRequest: PalletFileSystemPendingStopStoringRequest;
|
|
82
82
|
PalletFileSystemRejectedStorageRequest: PalletFileSystemRejectedStorageRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './types.js';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { Bytes, Enum, Null,
|
|
2
|
-
import type {
|
|
3
|
-
import type { AccountId, BalanceOf, BlockNumber, H256 } from "@polkadot/types/interfaces/runtime";
|
|
1
|
+
import type { Bytes, Enum, Null, Struct, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types-codec';
|
|
2
|
+
import type { AccountId, BalanceOf, BlockNumber, H256 } from '@polkadot/types/interfaces/runtime';
|
|
4
3
|
/** @name AddFilesToForestStorageResult */
|
|
5
4
|
export interface AddFilesToForestStorageResult extends Enum {
|
|
6
5
|
readonly isSuccess: boolean;
|
|
7
6
|
readonly isForestNotFound: boolean;
|
|
8
|
-
readonly type:
|
|
7
|
+
readonly type: 'Success' | 'ForestNotFound';
|
|
9
8
|
}
|
|
10
9
|
/** @name BackupStorageProvider */
|
|
11
10
|
export interface BackupStorageProvider extends Struct {
|
|
@@ -44,33 +43,33 @@ export interface FileMetadata extends Struct {
|
|
|
44
43
|
/** @name GenericApplyDeltaEventInfoError */
|
|
45
44
|
export interface GenericApplyDeltaEventInfoError extends Enum {
|
|
46
45
|
readonly isDecodeError: boolean;
|
|
47
|
-
readonly type:
|
|
46
|
+
readonly type: 'DecodeError';
|
|
48
47
|
}
|
|
49
48
|
/** @name GetBspInfoError */
|
|
50
49
|
export interface GetBspInfoError extends Enum {
|
|
51
50
|
readonly isBspNotRegistered: boolean;
|
|
52
51
|
readonly isInternalApiError: boolean;
|
|
53
|
-
readonly type:
|
|
52
|
+
readonly type: 'BspNotRegistered' | 'InternalApiError';
|
|
54
53
|
}
|
|
55
54
|
/** @name GetChallengePeriodError */
|
|
56
55
|
export interface GetChallengePeriodError extends Enum {
|
|
57
56
|
readonly isProviderNotRegistered: boolean;
|
|
58
57
|
readonly isInternalApiError: boolean;
|
|
59
|
-
readonly type:
|
|
58
|
+
readonly type: 'ProviderNotRegistered' | 'InternalApiError';
|
|
60
59
|
}
|
|
61
60
|
/** @name GetChallengeSeedError */
|
|
62
61
|
export interface GetChallengeSeedError extends Enum {
|
|
63
62
|
readonly isTickBeyondLastSeedStored: boolean;
|
|
64
63
|
readonly isTickIsInTheFuture: boolean;
|
|
65
64
|
readonly isInternalApiError: boolean;
|
|
66
|
-
readonly type:
|
|
65
|
+
readonly type: 'TickBeyondLastSeedStored' | 'TickIsInTheFuture' | 'InternalApiError';
|
|
67
66
|
}
|
|
68
67
|
/** @name GetCheckpointChallengesError */
|
|
69
68
|
export interface GetCheckpointChallengesError extends Enum {
|
|
70
69
|
readonly isTickGreaterThanLastCheckpointTick: boolean;
|
|
71
70
|
readonly isNoCheckpointChallengesInTick: boolean;
|
|
72
71
|
readonly isInternalApiError: boolean;
|
|
73
|
-
readonly type:
|
|
72
|
+
readonly type: 'TickGreaterThanLastCheckpointTick' | 'NoCheckpointChallengesInTick' | 'InternalApiError';
|
|
74
73
|
}
|
|
75
74
|
/** @name GetFileFromFileStorageResult */
|
|
76
75
|
export interface GetFileFromFileStorageResult extends Enum {
|
|
@@ -81,7 +80,7 @@ export interface GetFileFromFileStorageResult extends Enum {
|
|
|
81
80
|
readonly asIncompleteFile: IncompleteFileStatus;
|
|
82
81
|
readonly isFileFoundWithInconsistency: boolean;
|
|
83
82
|
readonly asFileFoundWithInconsistency: FileMetadata;
|
|
84
|
-
readonly type:
|
|
83
|
+
readonly type: 'FileNotFound' | 'FileFound' | 'IncompleteFile' | 'FileFoundWithInconsistency';
|
|
85
84
|
}
|
|
86
85
|
/** @name GetNextDeadlineTickError */
|
|
87
86
|
export interface GetNextDeadlineTickError extends Enum {
|
|
@@ -89,20 +88,20 @@ export interface GetNextDeadlineTickError extends Enum {
|
|
|
89
88
|
readonly isProviderNotInitialised: boolean;
|
|
90
89
|
readonly isArithmeticOverflow: boolean;
|
|
91
90
|
readonly isInternalApiError: boolean;
|
|
92
|
-
readonly type:
|
|
91
|
+
readonly type: 'ProviderNotRegistered' | 'ProviderNotInitialised' | 'ArithmeticOverflow' | 'InternalApiError';
|
|
93
92
|
}
|
|
94
93
|
/** @name GetProofSubmissionRecordError */
|
|
95
94
|
export interface GetProofSubmissionRecordError extends Enum {
|
|
96
95
|
readonly isProviderNotRegistered: boolean;
|
|
97
96
|
readonly isProviderNeverSubmittedProof: boolean;
|
|
98
97
|
readonly isInternalApiError: boolean;
|
|
99
|
-
readonly type:
|
|
98
|
+
readonly type: 'ProviderNotRegistered' | 'ProviderNeverSubmittedProof' | 'InternalApiError';
|
|
100
99
|
}
|
|
101
100
|
/** @name GetStakeError */
|
|
102
101
|
export interface GetStakeError extends Enum {
|
|
103
102
|
readonly isProviderNotRegistered: boolean;
|
|
104
103
|
readonly isInternalError: boolean;
|
|
105
|
-
readonly type:
|
|
104
|
+
readonly type: 'ProviderNotRegistered' | 'InternalError';
|
|
106
105
|
}
|
|
107
106
|
/** @name GetUsersWithDebtOverThresholdError */
|
|
108
107
|
export interface GetUsersWithDebtOverThresholdError extends Enum {
|
|
@@ -112,14 +111,14 @@ export interface GetUsersWithDebtOverThresholdError extends Enum {
|
|
|
112
111
|
readonly isAmountToChargeUnderflow: boolean;
|
|
113
112
|
readonly isDebtOverflow: boolean;
|
|
114
113
|
readonly isInternalApiError: boolean;
|
|
115
|
-
readonly type:
|
|
114
|
+
readonly type: 'ProviderNotRegistered' | 'ProviderWithoutPaymentStreams' | 'AmountToChargeOverflow' | 'AmountToChargeUnderflow' | 'DebtOverflow' | 'InternalApiError';
|
|
116
115
|
}
|
|
117
116
|
/** @name GetValuePropositionsResult */
|
|
118
117
|
export interface GetValuePropositionsResult extends Enum {
|
|
119
118
|
readonly isSuccess: boolean;
|
|
120
119
|
readonly asSuccess: Vec<Bytes>;
|
|
121
120
|
readonly isNotAnMsp: boolean;
|
|
122
|
-
readonly type:
|
|
121
|
+
readonly type: 'Success' | 'NotAnMsp';
|
|
123
122
|
}
|
|
124
123
|
/** @name IncompleteFileStatus */
|
|
125
124
|
export interface IncompleteFileStatus extends Struct {
|
|
@@ -141,7 +140,7 @@ export interface IncompleteStorageRequestMetadataResponse extends Struct {
|
|
|
141
140
|
export interface IsStorageRequestOpenToVolunteersError extends Enum {
|
|
142
141
|
readonly isStorageRequestNotFound: boolean;
|
|
143
142
|
readonly isInternalApiError: boolean;
|
|
144
|
-
readonly type:
|
|
143
|
+
readonly type: 'StorageRequestNotFound' | 'InternalApiError';
|
|
145
144
|
}
|
|
146
145
|
/** @name Key */
|
|
147
146
|
export interface Key extends H256 {
|
|
@@ -157,6 +156,17 @@ export interface MainStorageProviderId extends H256 {
|
|
|
157
156
|
/** @name MerklePatriciaRoot */
|
|
158
157
|
export interface MerklePatriciaRoot extends H256 {
|
|
159
158
|
}
|
|
159
|
+
/** @name MspStorageRequestStatus */
|
|
160
|
+
export interface MspStorageRequestStatus extends Enum {
|
|
161
|
+
readonly isNone: boolean;
|
|
162
|
+
readonly isPending: boolean;
|
|
163
|
+
readonly asPending: ProviderId;
|
|
164
|
+
readonly isAcceptedNewFile: boolean;
|
|
165
|
+
readonly asAcceptedNewFile: ProviderId;
|
|
166
|
+
readonly isAcceptedExistingFile: boolean;
|
|
167
|
+
readonly asAcceptedExistingFile: ProviderId;
|
|
168
|
+
readonly type: 'None' | 'Pending' | 'AcceptedNewFile' | 'AcceptedExistingFile';
|
|
169
|
+
}
|
|
160
170
|
/** @name Multiaddresses */
|
|
161
171
|
export interface Multiaddresses extends Vec<Bytes> {
|
|
162
172
|
}
|
|
@@ -167,7 +177,7 @@ export interface ProviderId extends H256 {
|
|
|
167
177
|
export interface QueryAvailableStorageCapacityError extends Enum {
|
|
168
178
|
readonly isProviderNotRegistered: boolean;
|
|
169
179
|
readonly isInternalApiError: boolean;
|
|
170
|
-
readonly type:
|
|
180
|
+
readonly type: 'ProviderNotRegistered' | 'InternalApiError';
|
|
171
181
|
}
|
|
172
182
|
/** @name QueryBspConfirmChunksToProveForFileError */
|
|
173
183
|
export interface QueryBspConfirmChunksToProveForFileError extends Enum {
|
|
@@ -175,38 +185,38 @@ export interface QueryBspConfirmChunksToProveForFileError extends Enum {
|
|
|
175
185
|
readonly isConfirmChunks: boolean;
|
|
176
186
|
readonly asConfirmChunks: QueryConfirmChunksToProveForFileError;
|
|
177
187
|
readonly isInternalError: boolean;
|
|
178
|
-
readonly type:
|
|
188
|
+
readonly type: 'StorageRequestNotFound' | 'ConfirmChunks' | 'InternalError';
|
|
179
189
|
}
|
|
180
190
|
/** @name QueryBspsVolunteeredForFileError */
|
|
181
191
|
export interface QueryBspsVolunteeredForFileError extends Enum {
|
|
182
192
|
readonly isStorageRequestNotFound: boolean;
|
|
183
193
|
readonly isInternalError: boolean;
|
|
184
|
-
readonly type:
|
|
194
|
+
readonly type: 'StorageRequestNotFound' | 'InternalError';
|
|
185
195
|
}
|
|
186
196
|
/** @name QueryBucketsForMspError */
|
|
187
197
|
export interface QueryBucketsForMspError extends Enum {
|
|
188
198
|
readonly isProviderNotRegistered: boolean;
|
|
189
199
|
readonly isInternalError: boolean;
|
|
190
|
-
readonly type:
|
|
200
|
+
readonly type: 'ProviderNotRegistered' | 'InternalError';
|
|
191
201
|
}
|
|
192
202
|
/** @name QueryBucketsOfUserStoredByMspError */
|
|
193
203
|
export interface QueryBucketsOfUserStoredByMspError extends Enum {
|
|
194
204
|
readonly isNotAnMsp: boolean;
|
|
195
205
|
readonly isInternalError: boolean;
|
|
196
|
-
readonly type:
|
|
206
|
+
readonly type: 'NotAnMsp' | 'InternalError';
|
|
197
207
|
}
|
|
198
208
|
/** @name QueryConfirmChunksToProveForFileError */
|
|
199
209
|
export interface QueryConfirmChunksToProveForFileError extends Enum {
|
|
200
210
|
readonly isChallengedChunkToChunkIdError: boolean;
|
|
201
211
|
readonly isFailedToCreateFileMetadata: boolean;
|
|
202
212
|
readonly isFailedToGenerateChunkChallenges: boolean;
|
|
203
|
-
readonly type:
|
|
213
|
+
readonly type: 'ChallengedChunkToChunkIdError' | 'FailedToCreateFileMetadata' | 'FailedToGenerateChunkChallenges';
|
|
204
214
|
}
|
|
205
215
|
/** @name QueryEarliestChangeCapacityBlockError */
|
|
206
216
|
export interface QueryEarliestChangeCapacityBlockError extends Enum {
|
|
207
217
|
readonly isProviderNotRegistered: boolean;
|
|
208
218
|
readonly isInternalApiError: boolean;
|
|
209
|
-
readonly type:
|
|
219
|
+
readonly type: 'ProviderNotRegistered' | 'InternalApiError';
|
|
210
220
|
}
|
|
211
221
|
/** @name QueryFileEarliestVolunteerBlockError */
|
|
212
222
|
export interface QueryFileEarliestVolunteerBlockError extends Enum {
|
|
@@ -215,13 +225,13 @@ export interface QueryFileEarliestVolunteerBlockError extends Enum {
|
|
|
215
225
|
readonly isThresholdArithmeticError: boolean;
|
|
216
226
|
readonly isStorageRequestNotFound: boolean;
|
|
217
227
|
readonly isInternalError: boolean;
|
|
218
|
-
readonly type:
|
|
228
|
+
readonly type: 'FailedToEncodeFingerprint' | 'FailedToEncodeBsp' | 'ThresholdArithmeticError' | 'StorageRequestNotFound' | 'InternalError';
|
|
219
229
|
}
|
|
220
230
|
/** @name QueryIncompleteStorageRequestMetadataError */
|
|
221
231
|
export interface QueryIncompleteStorageRequestMetadataError extends Enum {
|
|
222
232
|
readonly isStorageNotFound: boolean;
|
|
223
233
|
readonly isInternalError: boolean;
|
|
224
|
-
readonly type:
|
|
234
|
+
readonly type: 'StorageNotFound' | 'InternalError';
|
|
225
235
|
}
|
|
226
236
|
/** @name QueryMspConfirmChunksToProveForFileError */
|
|
227
237
|
export interface QueryMspConfirmChunksToProveForFileError extends Enum {
|
|
@@ -229,25 +239,25 @@ export interface QueryMspConfirmChunksToProveForFileError extends Enum {
|
|
|
229
239
|
readonly isConfirmChunks: boolean;
|
|
230
240
|
readonly asConfirmChunks: QueryConfirmChunksToProveForFileError;
|
|
231
241
|
readonly isInternalError: boolean;
|
|
232
|
-
readonly type:
|
|
242
|
+
readonly type: 'StorageRequestNotFound' | 'ConfirmChunks' | 'InternalError';
|
|
233
243
|
}
|
|
234
244
|
/** @name QueryMspIdOfBucketIdError */
|
|
235
245
|
export interface QueryMspIdOfBucketIdError extends Enum {
|
|
236
246
|
readonly isBucketNotFound: boolean;
|
|
237
247
|
readonly isInternalApiError: boolean;
|
|
238
|
-
readonly type:
|
|
248
|
+
readonly type: 'BucketNotFound' | 'InternalApiError';
|
|
239
249
|
}
|
|
240
250
|
/** @name QueryProviderMultiaddressesError */
|
|
241
251
|
export interface QueryProviderMultiaddressesError extends Enum {
|
|
242
252
|
readonly isProviderNotRegistered: boolean;
|
|
243
253
|
readonly isInternalApiError: boolean;
|
|
244
|
-
readonly type:
|
|
254
|
+
readonly type: 'ProviderNotRegistered' | 'InternalApiError';
|
|
245
255
|
}
|
|
246
256
|
/** @name QueryStorageProviderCapacityError */
|
|
247
257
|
export interface QueryStorageProviderCapacityError extends Enum {
|
|
248
258
|
readonly isProviderNotRegistered: boolean;
|
|
249
259
|
readonly isInternalApiError: boolean;
|
|
250
|
-
readonly type:
|
|
260
|
+
readonly type: 'ProviderNotRegistered' | 'InternalApiError';
|
|
251
261
|
}
|
|
252
262
|
/** @name RandomnessOutput */
|
|
253
263
|
export interface RandomnessOutput extends H256 {
|
|
@@ -256,7 +266,7 @@ export interface RandomnessOutput extends H256 {
|
|
|
256
266
|
export interface RemoveFilesFromForestStorageResult extends Enum {
|
|
257
267
|
readonly isSuccess: boolean;
|
|
258
268
|
readonly isForestNotFound: boolean;
|
|
259
|
-
readonly type:
|
|
269
|
+
readonly type: 'Success' | 'ForestNotFound';
|
|
260
270
|
}
|
|
261
271
|
/** @name ReputationWeightType */
|
|
262
272
|
export interface ReputationWeightType extends u32 {
|
|
@@ -268,7 +278,7 @@ export interface RpcProviderId extends Enum {
|
|
|
268
278
|
readonly asBsp: H256;
|
|
269
279
|
readonly isMsp: boolean;
|
|
270
280
|
readonly asMsp: H256;
|
|
271
|
-
readonly type:
|
|
281
|
+
readonly type: 'NotAProvider' | 'Bsp' | 'Msp';
|
|
272
282
|
}
|
|
273
283
|
/** @name SaveFileToDisk */
|
|
274
284
|
export interface SaveFileToDisk extends Enum {
|
|
@@ -277,7 +287,7 @@ export interface SaveFileToDisk extends Enum {
|
|
|
277
287
|
readonly asSuccess: FileMetadata;
|
|
278
288
|
readonly isIncompleteFile: boolean;
|
|
279
289
|
readonly asIncompleteFile: IncompleteFileStatus;
|
|
280
|
-
readonly type:
|
|
290
|
+
readonly type: 'FileNotFound' | 'Success' | 'IncompleteFile';
|
|
281
291
|
}
|
|
282
292
|
/** @name ShouldRemoveFile */
|
|
283
293
|
export interface ShouldRemoveFile extends bool {
|
|
@@ -294,7 +304,7 @@ export interface StorageProviderId extends Enum {
|
|
|
294
304
|
readonly asBackupStorageProvider: BackupStorageProviderId;
|
|
295
305
|
readonly isMainStorageProvider: boolean;
|
|
296
306
|
readonly asMainStorageProvider: MainStorageProviderId;
|
|
297
|
-
readonly type:
|
|
307
|
+
readonly type: 'BackupStorageProvider' | 'MainStorageProvider';
|
|
298
308
|
}
|
|
299
309
|
/** @name StorageRequestMetadata */
|
|
300
310
|
export interface StorageRequestMetadata extends Struct {
|
|
@@ -305,8 +315,8 @@ export interface StorageRequestMetadata extends Struct {
|
|
|
305
315
|
readonly location: Bytes;
|
|
306
316
|
readonly fingerprint: U8aFixed;
|
|
307
317
|
readonly file_size: StorageDataUnit;
|
|
308
|
-
readonly
|
|
309
|
-
readonly user_peer_ids: Vec<
|
|
318
|
+
readonly msp_status: MspStorageRequestStatus;
|
|
319
|
+
readonly user_peer_ids: Vec<Bytes>;
|
|
310
320
|
readonly bsps_required: u32;
|
|
311
321
|
readonly bsps_confirmed: u32;
|
|
312
322
|
readonly bsps_volunteered: u32;
|
|
@@ -328,4 +338,4 @@ export interface ValuePropositionWithId extends Struct {
|
|
|
328
338
|
readonly id: ValuePropId;
|
|
329
339
|
readonly value_prop: ValueProposition;
|
|
330
340
|
}
|
|
331
|
-
export type PHANTOM_STORAGEHUBCLIENT =
|
|
341
|
+
export type PHANTOM_STORAGEHUBCLIENT = 'storagehubclient';
|