@storagehub/api-augment 0.2.14 → 0.4.0
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 +2785 -2373
- 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/storagehubclient/runtime.js +5 -0
- package/dist/parachain/interfaces/storagehubclient/runtime.js.map +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 +2029 -1659
- 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 +7 -3
- package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
- package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
- package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
- package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
- package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
- package/dist/types/parachain/interfaces/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
- package/dist/types/parachain/interfaces/registry.d.ts +3 -3
- package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
- package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
- 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 +7 -3
- package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
- package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
- package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
- package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
- package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
- package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
- package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
- package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
- package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
- 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 +4 -0
- package/src/parachain/interfaces/augment-api-events.ts +8 -0
- package/src/parachain/interfaces/augment-api-query.ts +12 -0
- package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
- package/src/parachain/interfaces/augment-api-tx.ts +13 -0
- package/src/parachain/interfaces/lookup.ts +233 -222
- package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
- package/src/parachain/interfaces/types-lookup.ts +237 -224
- package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
- package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
- package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
- package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
- package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
- package/src/solochain-evm/interfaces/lookup.ts +189 -178
- package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
- 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, 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
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./types.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Bytes, Enum, Null, Struct, U8aFixed, Vec, bool, u32, u64 } from
|
|
2
|
-
import type { AccountId, BalanceOf, BlockNumber, H256 } from
|
|
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";
|
|
3
3
|
/** @name AddFilesToForestStorageResult */
|
|
4
4
|
export interface AddFilesToForestStorageResult extends Enum {
|
|
5
5
|
readonly isSuccess: boolean;
|
|
6
6
|
readonly isForestNotFound: boolean;
|
|
7
|
-
readonly type:
|
|
7
|
+
readonly type: "Success" | "ForestNotFound";
|
|
8
8
|
}
|
|
9
9
|
/** @name BackupStorageProvider */
|
|
10
10
|
export interface BackupStorageProvider extends Struct {
|
|
@@ -43,33 +43,33 @@ export interface FileMetadata extends Struct {
|
|
|
43
43
|
/** @name GenericApplyDeltaEventInfoError */
|
|
44
44
|
export interface GenericApplyDeltaEventInfoError extends Enum {
|
|
45
45
|
readonly isDecodeError: boolean;
|
|
46
|
-
readonly type:
|
|
46
|
+
readonly type: "DecodeError";
|
|
47
47
|
}
|
|
48
48
|
/** @name GetBspInfoError */
|
|
49
49
|
export interface GetBspInfoError extends Enum {
|
|
50
50
|
readonly isBspNotRegistered: boolean;
|
|
51
51
|
readonly isInternalApiError: boolean;
|
|
52
|
-
readonly type:
|
|
52
|
+
readonly type: "BspNotRegistered" | "InternalApiError";
|
|
53
53
|
}
|
|
54
54
|
/** @name GetChallengePeriodError */
|
|
55
55
|
export interface GetChallengePeriodError extends Enum {
|
|
56
56
|
readonly isProviderNotRegistered: boolean;
|
|
57
57
|
readonly isInternalApiError: boolean;
|
|
58
|
-
readonly type:
|
|
58
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
59
59
|
}
|
|
60
60
|
/** @name GetChallengeSeedError */
|
|
61
61
|
export interface GetChallengeSeedError extends Enum {
|
|
62
62
|
readonly isTickBeyondLastSeedStored: boolean;
|
|
63
63
|
readonly isTickIsInTheFuture: boolean;
|
|
64
64
|
readonly isInternalApiError: boolean;
|
|
65
|
-
readonly type:
|
|
65
|
+
readonly type: "TickBeyondLastSeedStored" | "TickIsInTheFuture" | "InternalApiError";
|
|
66
66
|
}
|
|
67
67
|
/** @name GetCheckpointChallengesError */
|
|
68
68
|
export interface GetCheckpointChallengesError extends Enum {
|
|
69
69
|
readonly isTickGreaterThanLastCheckpointTick: boolean;
|
|
70
70
|
readonly isNoCheckpointChallengesInTick: boolean;
|
|
71
71
|
readonly isInternalApiError: boolean;
|
|
72
|
-
readonly type:
|
|
72
|
+
readonly type: "TickGreaterThanLastCheckpointTick" | "NoCheckpointChallengesInTick" | "InternalApiError";
|
|
73
73
|
}
|
|
74
74
|
/** @name GetFileFromFileStorageResult */
|
|
75
75
|
export interface GetFileFromFileStorageResult extends Enum {
|
|
@@ -80,7 +80,7 @@ export interface GetFileFromFileStorageResult extends Enum {
|
|
|
80
80
|
readonly asIncompleteFile: IncompleteFileStatus;
|
|
81
81
|
readonly isFileFoundWithInconsistency: boolean;
|
|
82
82
|
readonly asFileFoundWithInconsistency: FileMetadata;
|
|
83
|
-
readonly type:
|
|
83
|
+
readonly type: "FileNotFound" | "FileFound" | "IncompleteFile" | "FileFoundWithInconsistency";
|
|
84
84
|
}
|
|
85
85
|
/** @name GetNextDeadlineTickError */
|
|
86
86
|
export interface GetNextDeadlineTickError extends Enum {
|
|
@@ -88,20 +88,20 @@ export interface GetNextDeadlineTickError extends Enum {
|
|
|
88
88
|
readonly isProviderNotInitialised: boolean;
|
|
89
89
|
readonly isArithmeticOverflow: boolean;
|
|
90
90
|
readonly isInternalApiError: boolean;
|
|
91
|
-
readonly type:
|
|
91
|
+
readonly type: "ProviderNotRegistered" | "ProviderNotInitialised" | "ArithmeticOverflow" | "InternalApiError";
|
|
92
92
|
}
|
|
93
93
|
/** @name GetProofSubmissionRecordError */
|
|
94
94
|
export interface GetProofSubmissionRecordError extends Enum {
|
|
95
95
|
readonly isProviderNotRegistered: boolean;
|
|
96
96
|
readonly isProviderNeverSubmittedProof: boolean;
|
|
97
97
|
readonly isInternalApiError: boolean;
|
|
98
|
-
readonly type:
|
|
98
|
+
readonly type: "ProviderNotRegistered" | "ProviderNeverSubmittedProof" | "InternalApiError";
|
|
99
99
|
}
|
|
100
100
|
/** @name GetStakeError */
|
|
101
101
|
export interface GetStakeError extends Enum {
|
|
102
102
|
readonly isProviderNotRegistered: boolean;
|
|
103
103
|
readonly isInternalError: boolean;
|
|
104
|
-
readonly type:
|
|
104
|
+
readonly type: "ProviderNotRegistered" | "InternalError";
|
|
105
105
|
}
|
|
106
106
|
/** @name GetUsersWithDebtOverThresholdError */
|
|
107
107
|
export interface GetUsersWithDebtOverThresholdError extends Enum {
|
|
@@ -111,14 +111,14 @@ export interface GetUsersWithDebtOverThresholdError extends Enum {
|
|
|
111
111
|
readonly isAmountToChargeUnderflow: boolean;
|
|
112
112
|
readonly isDebtOverflow: boolean;
|
|
113
113
|
readonly isInternalApiError: boolean;
|
|
114
|
-
readonly type:
|
|
114
|
+
readonly type: "ProviderNotRegistered" | "ProviderWithoutPaymentStreams" | "AmountToChargeOverflow" | "AmountToChargeUnderflow" | "DebtOverflow" | "InternalApiError";
|
|
115
115
|
}
|
|
116
116
|
/** @name GetValuePropositionsResult */
|
|
117
117
|
export interface GetValuePropositionsResult extends Enum {
|
|
118
118
|
readonly isSuccess: boolean;
|
|
119
119
|
readonly asSuccess: Vec<Bytes>;
|
|
120
120
|
readonly isNotAnMsp: boolean;
|
|
121
|
-
readonly type:
|
|
121
|
+
readonly type: "Success" | "NotAnMsp";
|
|
122
122
|
}
|
|
123
123
|
/** @name IncompleteFileStatus */
|
|
124
124
|
export interface IncompleteFileStatus extends Struct {
|
|
@@ -140,7 +140,7 @@ export interface IncompleteStorageRequestMetadataResponse extends Struct {
|
|
|
140
140
|
export interface IsStorageRequestOpenToVolunteersError extends Enum {
|
|
141
141
|
readonly isStorageRequestNotFound: boolean;
|
|
142
142
|
readonly isInternalApiError: boolean;
|
|
143
|
-
readonly type:
|
|
143
|
+
readonly type: "StorageRequestNotFound" | "InternalApiError";
|
|
144
144
|
}
|
|
145
145
|
/** @name Key */
|
|
146
146
|
export interface Key extends H256 {
|
|
@@ -165,7 +165,7 @@ export interface MspStorageRequestStatus extends Enum {
|
|
|
165
165
|
readonly asAcceptedNewFile: ProviderId;
|
|
166
166
|
readonly isAcceptedExistingFile: boolean;
|
|
167
167
|
readonly asAcceptedExistingFile: ProviderId;
|
|
168
|
-
readonly type:
|
|
168
|
+
readonly type: "None" | "Pending" | "AcceptedNewFile" | "AcceptedExistingFile";
|
|
169
169
|
}
|
|
170
170
|
/** @name Multiaddresses */
|
|
171
171
|
export interface Multiaddresses extends Vec<Bytes> {
|
|
@@ -177,7 +177,7 @@ export interface ProviderId extends H256 {
|
|
|
177
177
|
export interface QueryAvailableStorageCapacityError extends Enum {
|
|
178
178
|
readonly isProviderNotRegistered: boolean;
|
|
179
179
|
readonly isInternalApiError: boolean;
|
|
180
|
-
readonly type:
|
|
180
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
181
181
|
}
|
|
182
182
|
/** @name QueryBspConfirmChunksToProveForFileError */
|
|
183
183
|
export interface QueryBspConfirmChunksToProveForFileError extends Enum {
|
|
@@ -185,38 +185,38 @@ export interface QueryBspConfirmChunksToProveForFileError extends Enum {
|
|
|
185
185
|
readonly isConfirmChunks: boolean;
|
|
186
186
|
readonly asConfirmChunks: QueryConfirmChunksToProveForFileError;
|
|
187
187
|
readonly isInternalError: boolean;
|
|
188
|
-
readonly type:
|
|
188
|
+
readonly type: "StorageRequestNotFound" | "ConfirmChunks" | "InternalError";
|
|
189
189
|
}
|
|
190
190
|
/** @name QueryBspsVolunteeredForFileError */
|
|
191
191
|
export interface QueryBspsVolunteeredForFileError extends Enum {
|
|
192
192
|
readonly isStorageRequestNotFound: boolean;
|
|
193
193
|
readonly isInternalError: boolean;
|
|
194
|
-
readonly type:
|
|
194
|
+
readonly type: "StorageRequestNotFound" | "InternalError";
|
|
195
195
|
}
|
|
196
196
|
/** @name QueryBucketsForMspError */
|
|
197
197
|
export interface QueryBucketsForMspError extends Enum {
|
|
198
198
|
readonly isProviderNotRegistered: boolean;
|
|
199
199
|
readonly isInternalError: boolean;
|
|
200
|
-
readonly type:
|
|
200
|
+
readonly type: "ProviderNotRegistered" | "InternalError";
|
|
201
201
|
}
|
|
202
202
|
/** @name QueryBucketsOfUserStoredByMspError */
|
|
203
203
|
export interface QueryBucketsOfUserStoredByMspError extends Enum {
|
|
204
204
|
readonly isNotAnMsp: boolean;
|
|
205
205
|
readonly isInternalError: boolean;
|
|
206
|
-
readonly type:
|
|
206
|
+
readonly type: "NotAnMsp" | "InternalError";
|
|
207
207
|
}
|
|
208
208
|
/** @name QueryConfirmChunksToProveForFileError */
|
|
209
209
|
export interface QueryConfirmChunksToProveForFileError extends Enum {
|
|
210
210
|
readonly isChallengedChunkToChunkIdError: boolean;
|
|
211
211
|
readonly isFailedToCreateFileMetadata: boolean;
|
|
212
212
|
readonly isFailedToGenerateChunkChallenges: boolean;
|
|
213
|
-
readonly type:
|
|
213
|
+
readonly type: "ChallengedChunkToChunkIdError" | "FailedToCreateFileMetadata" | "FailedToGenerateChunkChallenges";
|
|
214
214
|
}
|
|
215
215
|
/** @name QueryEarliestChangeCapacityBlockError */
|
|
216
216
|
export interface QueryEarliestChangeCapacityBlockError extends Enum {
|
|
217
217
|
readonly isProviderNotRegistered: boolean;
|
|
218
218
|
readonly isInternalApiError: boolean;
|
|
219
|
-
readonly type:
|
|
219
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
220
220
|
}
|
|
221
221
|
/** @name QueryFileEarliestVolunteerBlockError */
|
|
222
222
|
export interface QueryFileEarliestVolunteerBlockError extends Enum {
|
|
@@ -225,13 +225,13 @@ export interface QueryFileEarliestVolunteerBlockError extends Enum {
|
|
|
225
225
|
readonly isThresholdArithmeticError: boolean;
|
|
226
226
|
readonly isStorageRequestNotFound: boolean;
|
|
227
227
|
readonly isInternalError: boolean;
|
|
228
|
-
readonly type:
|
|
228
|
+
readonly type: "FailedToEncodeFingerprint" | "FailedToEncodeBsp" | "ThresholdArithmeticError" | "StorageRequestNotFound" | "InternalError";
|
|
229
229
|
}
|
|
230
230
|
/** @name QueryIncompleteStorageRequestMetadataError */
|
|
231
231
|
export interface QueryIncompleteStorageRequestMetadataError extends Enum {
|
|
232
232
|
readonly isStorageNotFound: boolean;
|
|
233
233
|
readonly isInternalError: boolean;
|
|
234
|
-
readonly type:
|
|
234
|
+
readonly type: "StorageNotFound" | "InternalError";
|
|
235
235
|
}
|
|
236
236
|
/** @name QueryMspConfirmChunksToProveForFileError */
|
|
237
237
|
export interface QueryMspConfirmChunksToProveForFileError extends Enum {
|
|
@@ -239,25 +239,25 @@ export interface QueryMspConfirmChunksToProveForFileError extends Enum {
|
|
|
239
239
|
readonly isConfirmChunks: boolean;
|
|
240
240
|
readonly asConfirmChunks: QueryConfirmChunksToProveForFileError;
|
|
241
241
|
readonly isInternalError: boolean;
|
|
242
|
-
readonly type:
|
|
242
|
+
readonly type: "StorageRequestNotFound" | "ConfirmChunks" | "InternalError";
|
|
243
243
|
}
|
|
244
244
|
/** @name QueryMspIdOfBucketIdError */
|
|
245
245
|
export interface QueryMspIdOfBucketIdError extends Enum {
|
|
246
246
|
readonly isBucketNotFound: boolean;
|
|
247
247
|
readonly isInternalApiError: boolean;
|
|
248
|
-
readonly type:
|
|
248
|
+
readonly type: "BucketNotFound" | "InternalApiError";
|
|
249
249
|
}
|
|
250
250
|
/** @name QueryProviderMultiaddressesError */
|
|
251
251
|
export interface QueryProviderMultiaddressesError extends Enum {
|
|
252
252
|
readonly isProviderNotRegistered: boolean;
|
|
253
253
|
readonly isInternalApiError: boolean;
|
|
254
|
-
readonly type:
|
|
254
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
255
255
|
}
|
|
256
256
|
/** @name QueryStorageProviderCapacityError */
|
|
257
257
|
export interface QueryStorageProviderCapacityError extends Enum {
|
|
258
258
|
readonly isProviderNotRegistered: boolean;
|
|
259
259
|
readonly isInternalApiError: boolean;
|
|
260
|
-
readonly type:
|
|
260
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
261
261
|
}
|
|
262
262
|
/** @name RandomnessOutput */
|
|
263
263
|
export interface RandomnessOutput extends H256 {
|
|
@@ -266,7 +266,7 @@ export interface RandomnessOutput extends H256 {
|
|
|
266
266
|
export interface RemoveFilesFromForestStorageResult extends Enum {
|
|
267
267
|
readonly isSuccess: boolean;
|
|
268
268
|
readonly isForestNotFound: boolean;
|
|
269
|
-
readonly type:
|
|
269
|
+
readonly type: "Success" | "ForestNotFound";
|
|
270
270
|
}
|
|
271
271
|
/** @name ReputationWeightType */
|
|
272
272
|
export interface ReputationWeightType extends u32 {
|
|
@@ -278,7 +278,7 @@ export interface RpcProviderId extends Enum {
|
|
|
278
278
|
readonly asBsp: H256;
|
|
279
279
|
readonly isMsp: boolean;
|
|
280
280
|
readonly asMsp: H256;
|
|
281
|
-
readonly type:
|
|
281
|
+
readonly type: "NotAProvider" | "Bsp" | "Msp";
|
|
282
282
|
}
|
|
283
283
|
/** @name SaveFileToDisk */
|
|
284
284
|
export interface SaveFileToDisk extends Enum {
|
|
@@ -287,7 +287,7 @@ export interface SaveFileToDisk extends Enum {
|
|
|
287
287
|
readonly asSuccess: FileMetadata;
|
|
288
288
|
readonly isIncompleteFile: boolean;
|
|
289
289
|
readonly asIncompleteFile: IncompleteFileStatus;
|
|
290
|
-
readonly type:
|
|
290
|
+
readonly type: "FileNotFound" | "Success" | "IncompleteFile";
|
|
291
291
|
}
|
|
292
292
|
/** @name ShouldRemoveFile */
|
|
293
293
|
export interface ShouldRemoveFile extends bool {
|
|
@@ -304,7 +304,7 @@ export interface StorageProviderId extends Enum {
|
|
|
304
304
|
readonly asBackupStorageProvider: BackupStorageProviderId;
|
|
305
305
|
readonly isMainStorageProvider: boolean;
|
|
306
306
|
readonly asMainStorageProvider: MainStorageProviderId;
|
|
307
|
-
readonly type:
|
|
307
|
+
readonly type: "BackupStorageProvider" | "MainStorageProvider";
|
|
308
308
|
}
|
|
309
309
|
/** @name StorageRequestMetadata */
|
|
310
310
|
export interface StorageRequestMetadata extends Struct {
|
|
@@ -338,4 +338,4 @@ export interface ValuePropositionWithId extends Struct {
|
|
|
338
338
|
readonly id: ValuePropId;
|
|
339
339
|
readonly value_prop: ValueProposition;
|
|
340
340
|
}
|
|
341
|
-
export type PHANTOM_STORAGEHUBCLIENT =
|
|
341
|
+
export type PHANTOM_STORAGEHUBCLIENT = "storagehubclient";
|