@storagehub/api-augment 0.1.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/README.md +54 -0
- package/biome.json +10 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/augment-api-consts.js +6 -0
- package/dist/interfaces/augment-api-consts.js.map +1 -0
- package/dist/interfaces/augment-api-errors.js +6 -0
- package/dist/interfaces/augment-api-errors.js.map +1 -0
- package/dist/interfaces/augment-api-events.js +6 -0
- package/dist/interfaces/augment-api-events.js.map +1 -0
- package/dist/interfaces/augment-api-query.js +6 -0
- package/dist/interfaces/augment-api-query.js.map +1 -0
- package/dist/interfaces/augment-api-rpc.js +6 -0
- package/dist/interfaces/augment-api-rpc.js.map +1 -0
- package/dist/interfaces/augment-api-runtime.js +6 -0
- package/dist/interfaces/augment-api-runtime.js.map +1 -0
- package/dist/interfaces/augment-api-tx.js +6 -0
- package/dist/interfaces/augment-api-tx.js.map +1 -0
- package/dist/interfaces/augment-api.js +10 -0
- package/dist/interfaces/augment-api.js.map +1 -0
- package/dist/interfaces/augment-types.js +6 -0
- package/dist/interfaces/augment-types.js.map +1 -0
- package/dist/interfaces/definitions.js +2 -0
- package/dist/interfaces/definitions.js.map +1 -0
- package/dist/interfaces/index.js +4 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/lookup.js +4504 -0
- package/dist/interfaces/lookup.js.map +1 -0
- package/dist/interfaces/registry.js +6 -0
- package/dist/interfaces/registry.js.map +1 -0
- package/dist/interfaces/storagehubclient/definitions.js +7 -0
- package/dist/interfaces/storagehubclient/definitions.js.map +1 -0
- package/dist/interfaces/storagehubclient/index.js +4 -0
- package/dist/interfaces/storagehubclient/index.js.map +1 -0
- package/dist/interfaces/storagehubclient/runtime.js +152 -0
- package/dist/interfaces/storagehubclient/runtime.js.map +1 -0
- package/dist/interfaces/storagehubclient/types.js +4 -0
- package/dist/interfaces/storagehubclient/types.js.map +1 -0
- package/dist/interfaces/types-lookup.js +6 -0
- package/dist/interfaces/types-lookup.js.map +1 -0
- package/dist/interfaces/types.js +4 -0
- package/dist/interfaces/types.js.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/interfaces/augment-api-consts.d.ts +556 -0
- package/dist/types/interfaces/augment-api-errors.d.ts +1195 -0
- package/dist/types/interfaces/augment-api-events.d.ts +2070 -0
- package/dist/types/interfaces/augment-api-query.d.ts +1439 -0
- package/dist/types/interfaces/augment-api-rpc.d.ts +718 -0
- package/dist/types/interfaces/augment-api-runtime.d.ts +441 -0
- package/dist/types/interfaces/augment-api-tx.d.ts +3039 -0
- package/dist/types/interfaces/augment-api.d.ts +7 -0
- package/dist/types/interfaces/augment-types.d.ts +1285 -0
- package/dist/types/interfaces/definitions.d.ts +1 -0
- package/dist/types/interfaces/index.d.ts +1 -0
- package/dist/types/interfaces/lookup.d.ts +4179 -0
- package/dist/types/interfaces/registry.d.ts +272 -0
- package/dist/types/interfaces/storagehubclient/definitions.d.ts +6 -0
- package/dist/types/interfaces/storagehubclient/index.d.ts +1 -0
- package/dist/types/interfaces/storagehubclient/runtime.d.ts +2 -0
- package/dist/types/interfaces/storagehubclient/types.d.ts +198 -0
- package/dist/types/interfaces/types-lookup.d.ts +4457 -0
- package/dist/types/interfaces/types.d.ts +1 -0
- package/package.json +38 -0
- package/scripts/scrapeMetadata.ts +77 -0
- package/src/index.ts +3 -0
- package/src/interfaces/augment-api-consts.ts +570 -0
- package/src/interfaces/augment-api-errors.ts +1203 -0
- package/src/interfaces/augment-api-events.ts +1836 -0
- package/src/interfaces/augment-api-query.ts +1975 -0
- package/src/interfaces/augment-api-rpc.ts +1201 -0
- package/src/interfaces/augment-api-runtime.ts +707 -0
- package/src/interfaces/augment-api-tx.ts +3418 -0
- package/src/interfaces/augment-api.ts +10 -0
- package/src/interfaces/augment-types.ts +2508 -0
- package/src/interfaces/definitions.ts +1 -0
- package/src/interfaces/index.ts +4 -0
- package/src/interfaces/lookup.ts +4511 -0
- package/src/interfaces/registry.ts +546 -0
- package/src/interfaces/storagehubclient/definitions.ts +7 -0
- package/src/interfaces/storagehubclient/index.ts +4 -0
- package/src/interfaces/storagehubclient/runtime.ts +156 -0
- package/src/interfaces/storagehubclient/types.ts +241 -0
- package/src/interfaces/types-lookup.ts +5623 -0
- package/src/interfaces/types.ts +4 -0
- package/storagehub.json +1 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,272 @@
|
|
|
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, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, 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, PalletFileSystemAcceptedStorageRequestParameters, PalletFileSystemBatchResponses, PalletFileSystemBucketMoveRequestResponse, PalletFileSystemCall, PalletFileSystemEitherAccountIdOrMspId, PalletFileSystemError, PalletFileSystemEvent, PalletFileSystemMoveBucketRequestMetadata, PalletFileSystemMspAcceptedBatchStorageRequests, PalletFileSystemMspFailedBatchStorageRequests, PalletFileSystemMspRejectedBatchStorageRequests, PalletFileSystemMspRespondStorageRequestsResult, PalletFileSystemMspStorageRequestResponse, PalletFileSystemRejectedStorageRequestReason, PalletFileSystemStorageRequestBspsMetadata, PalletFileSystemStorageRequestMetadata, 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, PalletProofsDealerError, PalletProofsDealerEvent, PalletProofsDealerKeyProof, PalletProofsDealerProof, PalletRandomnessCall, PalletRandomnessEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStorageProvidersBackupStorageProvider, PalletStorageProvidersBucket, PalletStorageProvidersCall, PalletStorageProvidersError, PalletStorageProvidersEvent, PalletStorageProvidersHoldReason, PalletStorageProvidersMainStorageProvider, PalletStorageProvidersStorageProvider, PalletStorageProvidersStorageProviderId, PalletStorageProvidersValueProposition, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV7AbridgedHostConfiguration, PolkadotPrimitivesV7AbridgedHrmpChannel, PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, PolkadotPrimitivesV7PersistedValidationData, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, ShpFileKeyVerifierFileKeyProof, ShpFileMetadataFileMetadata, ShpFileMetadataFingerprint, ShpTraitsTrieRemoveMutation, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, 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, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod, StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod, StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters, StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey, StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue, StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize, StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod, StorageHubRuntimeConfigsRuntimeParamsRuntimeParameters, StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey, StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue, StorageHubRuntimeRuntime, StorageHubRuntimeRuntimeHoldReason, StorageHubRuntimeSessionKeys, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from "@polkadot/types/lookup";
|
|
3
|
+
declare module "@polkadot/types/types/registry" {
|
|
4
|
+
interface InterfaceTypes {
|
|
5
|
+
CumulusPalletParachainSystemCall: CumulusPalletParachainSystemCall;
|
|
6
|
+
CumulusPalletParachainSystemError: CumulusPalletParachainSystemError;
|
|
7
|
+
CumulusPalletParachainSystemEvent: CumulusPalletParachainSystemEvent;
|
|
8
|
+
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot;
|
|
9
|
+
CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
10
|
+
CumulusPalletParachainSystemUnincludedSegmentAncestor: CumulusPalletParachainSystemUnincludedSegmentAncestor;
|
|
11
|
+
CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate;
|
|
12
|
+
CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: CumulusPalletParachainSystemUnincludedSegmentSegmentTracker;
|
|
13
|
+
CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
14
|
+
CumulusPalletXcmCall: CumulusPalletXcmCall;
|
|
15
|
+
CumulusPalletXcmEvent: CumulusPalletXcmEvent;
|
|
16
|
+
CumulusPalletXcmpQueueCall: CumulusPalletXcmpQueueCall;
|
|
17
|
+
CumulusPalletXcmpQueueError: CumulusPalletXcmpQueueError;
|
|
18
|
+
CumulusPalletXcmpQueueEvent: CumulusPalletXcmpQueueEvent;
|
|
19
|
+
CumulusPalletXcmpQueueOutboundChannelDetails: CumulusPalletXcmpQueueOutboundChannelDetails;
|
|
20
|
+
CumulusPalletXcmpQueueOutboundState: CumulusPalletXcmpQueueOutboundState;
|
|
21
|
+
CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData;
|
|
22
|
+
CumulusPrimitivesCoreAggregateMessageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
23
|
+
CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData;
|
|
24
|
+
CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim: CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim;
|
|
25
|
+
FrameMetadataHashExtensionCheckMetadataHash: FrameMetadataHashExtensionCheckMetadataHash;
|
|
26
|
+
FrameMetadataHashExtensionMode: FrameMetadataHashExtensionMode;
|
|
27
|
+
FrameSupportDispatchDispatchClass: FrameSupportDispatchDispatchClass;
|
|
28
|
+
FrameSupportDispatchDispatchInfo: FrameSupportDispatchDispatchInfo;
|
|
29
|
+
FrameSupportDispatchPays: FrameSupportDispatchPays;
|
|
30
|
+
FrameSupportDispatchPerDispatchClassU32: FrameSupportDispatchPerDispatchClassU32;
|
|
31
|
+
FrameSupportDispatchPerDispatchClassWeight: FrameSupportDispatchPerDispatchClassWeight;
|
|
32
|
+
FrameSupportDispatchPerDispatchClassWeightsPerClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
|
|
33
|
+
FrameSupportMessagesProcessMessageError: FrameSupportMessagesProcessMessageError;
|
|
34
|
+
FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus;
|
|
35
|
+
FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount;
|
|
36
|
+
FrameSystemAccountInfo: FrameSystemAccountInfo;
|
|
37
|
+
FrameSystemCall: FrameSystemCall;
|
|
38
|
+
FrameSystemCodeUpgradeAuthorization: FrameSystemCodeUpgradeAuthorization;
|
|
39
|
+
FrameSystemError: FrameSystemError;
|
|
40
|
+
FrameSystemEvent: FrameSystemEvent;
|
|
41
|
+
FrameSystemEventRecord: FrameSystemEventRecord;
|
|
42
|
+
FrameSystemExtensionsCheckGenesis: FrameSystemExtensionsCheckGenesis;
|
|
43
|
+
FrameSystemExtensionsCheckNonZeroSender: FrameSystemExtensionsCheckNonZeroSender;
|
|
44
|
+
FrameSystemExtensionsCheckNonce: FrameSystemExtensionsCheckNonce;
|
|
45
|
+
FrameSystemExtensionsCheckSpecVersion: FrameSystemExtensionsCheckSpecVersion;
|
|
46
|
+
FrameSystemExtensionsCheckTxVersion: FrameSystemExtensionsCheckTxVersion;
|
|
47
|
+
FrameSystemExtensionsCheckWeight: FrameSystemExtensionsCheckWeight;
|
|
48
|
+
FrameSystemLastRuntimeUpgradeInfo: FrameSystemLastRuntimeUpgradeInfo;
|
|
49
|
+
FrameSystemLimitsBlockLength: FrameSystemLimitsBlockLength;
|
|
50
|
+
FrameSystemLimitsBlockWeights: FrameSystemLimitsBlockWeights;
|
|
51
|
+
FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;
|
|
52
|
+
FrameSystemPhase: FrameSystemPhase;
|
|
53
|
+
PalletBalancesAccountData: PalletBalancesAccountData;
|
|
54
|
+
PalletBalancesAdjustmentDirection: PalletBalancesAdjustmentDirection;
|
|
55
|
+
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
|
|
56
|
+
PalletBalancesCall: PalletBalancesCall;
|
|
57
|
+
PalletBalancesError: PalletBalancesError;
|
|
58
|
+
PalletBalancesEvent: PalletBalancesEvent;
|
|
59
|
+
PalletBalancesReasons: PalletBalancesReasons;
|
|
60
|
+
PalletBalancesReserveData: PalletBalancesReserveData;
|
|
61
|
+
PalletBucketNftsCall: PalletBucketNftsCall;
|
|
62
|
+
PalletBucketNftsError: PalletBucketNftsError;
|
|
63
|
+
PalletBucketNftsEvent: PalletBucketNftsEvent;
|
|
64
|
+
PalletCollatorSelectionCall: PalletCollatorSelectionCall;
|
|
65
|
+
PalletCollatorSelectionCandidateInfo: PalletCollatorSelectionCandidateInfo;
|
|
66
|
+
PalletCollatorSelectionError: PalletCollatorSelectionError;
|
|
67
|
+
PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
|
|
68
|
+
PalletFileSystemAcceptedStorageRequestParameters: PalletFileSystemAcceptedStorageRequestParameters;
|
|
69
|
+
PalletFileSystemBatchResponses: PalletFileSystemBatchResponses;
|
|
70
|
+
PalletFileSystemBucketMoveRequestResponse: PalletFileSystemBucketMoveRequestResponse;
|
|
71
|
+
PalletFileSystemCall: PalletFileSystemCall;
|
|
72
|
+
PalletFileSystemEitherAccountIdOrMspId: PalletFileSystemEitherAccountIdOrMspId;
|
|
73
|
+
PalletFileSystemError: PalletFileSystemError;
|
|
74
|
+
PalletFileSystemEvent: PalletFileSystemEvent;
|
|
75
|
+
PalletFileSystemMoveBucketRequestMetadata: PalletFileSystemMoveBucketRequestMetadata;
|
|
76
|
+
PalletFileSystemMspAcceptedBatchStorageRequests: PalletFileSystemMspAcceptedBatchStorageRequests;
|
|
77
|
+
PalletFileSystemMspFailedBatchStorageRequests: PalletFileSystemMspFailedBatchStorageRequests;
|
|
78
|
+
PalletFileSystemMspRejectedBatchStorageRequests: PalletFileSystemMspRejectedBatchStorageRequests;
|
|
79
|
+
PalletFileSystemMspRespondStorageRequestsResult: PalletFileSystemMspRespondStorageRequestsResult;
|
|
80
|
+
PalletFileSystemMspStorageRequestResponse: PalletFileSystemMspStorageRequestResponse;
|
|
81
|
+
PalletFileSystemRejectedStorageRequestReason: PalletFileSystemRejectedStorageRequestReason;
|
|
82
|
+
PalletFileSystemStorageRequestBspsMetadata: PalletFileSystemStorageRequestBspsMetadata;
|
|
83
|
+
PalletFileSystemStorageRequestMetadata: PalletFileSystemStorageRequestMetadata;
|
|
84
|
+
PalletMessageQueueBookState: PalletMessageQueueBookState;
|
|
85
|
+
PalletMessageQueueCall: PalletMessageQueueCall;
|
|
86
|
+
PalletMessageQueueError: PalletMessageQueueError;
|
|
87
|
+
PalletMessageQueueEvent: PalletMessageQueueEvent;
|
|
88
|
+
PalletMessageQueueNeighbours: PalletMessageQueueNeighbours;
|
|
89
|
+
PalletMessageQueuePage: PalletMessageQueuePage;
|
|
90
|
+
PalletNftsAttributeDeposit: PalletNftsAttributeDeposit;
|
|
91
|
+
PalletNftsAttributeNamespace: PalletNftsAttributeNamespace;
|
|
92
|
+
PalletNftsCall: PalletNftsCall;
|
|
93
|
+
PalletNftsCancelAttributesApprovalWitness: PalletNftsCancelAttributesApprovalWitness;
|
|
94
|
+
PalletNftsCollectionConfig: PalletNftsCollectionConfig;
|
|
95
|
+
PalletNftsCollectionDetails: PalletNftsCollectionDetails;
|
|
96
|
+
PalletNftsCollectionMetadata: PalletNftsCollectionMetadata;
|
|
97
|
+
PalletNftsCollectionRole: PalletNftsCollectionRole;
|
|
98
|
+
PalletNftsCollectionSetting: PalletNftsCollectionSetting;
|
|
99
|
+
PalletNftsDestroyWitness: PalletNftsDestroyWitness;
|
|
100
|
+
PalletNftsError: PalletNftsError;
|
|
101
|
+
PalletNftsEvent: PalletNftsEvent;
|
|
102
|
+
PalletNftsItemConfig: PalletNftsItemConfig;
|
|
103
|
+
PalletNftsItemDeposit: PalletNftsItemDeposit;
|
|
104
|
+
PalletNftsItemDetails: PalletNftsItemDetails;
|
|
105
|
+
PalletNftsItemMetadata: PalletNftsItemMetadata;
|
|
106
|
+
PalletNftsItemMetadataDeposit: PalletNftsItemMetadataDeposit;
|
|
107
|
+
PalletNftsItemSetting: PalletNftsItemSetting;
|
|
108
|
+
PalletNftsItemTip: PalletNftsItemTip;
|
|
109
|
+
PalletNftsMintSettings: PalletNftsMintSettings;
|
|
110
|
+
PalletNftsMintType: PalletNftsMintType;
|
|
111
|
+
PalletNftsMintWitness: PalletNftsMintWitness;
|
|
112
|
+
PalletNftsPalletAttributes: PalletNftsPalletAttributes;
|
|
113
|
+
PalletNftsPalletFeature: PalletNftsPalletFeature;
|
|
114
|
+
PalletNftsPendingSwap: PalletNftsPendingSwap;
|
|
115
|
+
PalletNftsPreSignedAttributes: PalletNftsPreSignedAttributes;
|
|
116
|
+
PalletNftsPreSignedMint: PalletNftsPreSignedMint;
|
|
117
|
+
PalletNftsPriceDirection: PalletNftsPriceDirection;
|
|
118
|
+
PalletNftsPriceWithDirection: PalletNftsPriceWithDirection;
|
|
119
|
+
PalletParametersCall: PalletParametersCall;
|
|
120
|
+
PalletParametersEvent: PalletParametersEvent;
|
|
121
|
+
PalletPaymentStreamsCall: PalletPaymentStreamsCall;
|
|
122
|
+
PalletPaymentStreamsDynamicRatePaymentStream: PalletPaymentStreamsDynamicRatePaymentStream;
|
|
123
|
+
PalletPaymentStreamsError: PalletPaymentStreamsError;
|
|
124
|
+
PalletPaymentStreamsEvent: PalletPaymentStreamsEvent;
|
|
125
|
+
PalletPaymentStreamsFixedRatePaymentStream: PalletPaymentStreamsFixedRatePaymentStream;
|
|
126
|
+
PalletPaymentStreamsHoldReason: PalletPaymentStreamsHoldReason;
|
|
127
|
+
PalletPaymentStreamsProviderLastChargeableInfo: PalletPaymentStreamsProviderLastChargeableInfo;
|
|
128
|
+
PalletProofsDealerCall: PalletProofsDealerCall;
|
|
129
|
+
PalletProofsDealerError: PalletProofsDealerError;
|
|
130
|
+
PalletProofsDealerEvent: PalletProofsDealerEvent;
|
|
131
|
+
PalletProofsDealerKeyProof: PalletProofsDealerKeyProof;
|
|
132
|
+
PalletProofsDealerProof: PalletProofsDealerProof;
|
|
133
|
+
PalletRandomnessCall: PalletRandomnessCall;
|
|
134
|
+
PalletRandomnessEvent: PalletRandomnessEvent;
|
|
135
|
+
PalletSessionCall: PalletSessionCall;
|
|
136
|
+
PalletSessionError: PalletSessionError;
|
|
137
|
+
PalletSessionEvent: PalletSessionEvent;
|
|
138
|
+
PalletStorageProvidersBackupStorageProvider: PalletStorageProvidersBackupStorageProvider;
|
|
139
|
+
PalletStorageProvidersBucket: PalletStorageProvidersBucket;
|
|
140
|
+
PalletStorageProvidersCall: PalletStorageProvidersCall;
|
|
141
|
+
PalletStorageProvidersError: PalletStorageProvidersError;
|
|
142
|
+
PalletStorageProvidersEvent: PalletStorageProvidersEvent;
|
|
143
|
+
PalletStorageProvidersHoldReason: PalletStorageProvidersHoldReason;
|
|
144
|
+
PalletStorageProvidersMainStorageProvider: PalletStorageProvidersMainStorageProvider;
|
|
145
|
+
PalletStorageProvidersStorageProvider: PalletStorageProvidersStorageProvider;
|
|
146
|
+
PalletStorageProvidersStorageProviderId: PalletStorageProvidersStorageProviderId;
|
|
147
|
+
PalletStorageProvidersValueProposition: PalletStorageProvidersValueProposition;
|
|
148
|
+
PalletSudoCall: PalletSudoCall;
|
|
149
|
+
PalletSudoError: PalletSudoError;
|
|
150
|
+
PalletSudoEvent: PalletSudoEvent;
|
|
151
|
+
PalletTimestampCall: PalletTimestampCall;
|
|
152
|
+
PalletTransactionPaymentChargeTransactionPayment: PalletTransactionPaymentChargeTransactionPayment;
|
|
153
|
+
PalletTransactionPaymentEvent: PalletTransactionPaymentEvent;
|
|
154
|
+
PalletTransactionPaymentReleases: PalletTransactionPaymentReleases;
|
|
155
|
+
PalletXcmCall: PalletXcmCall;
|
|
156
|
+
PalletXcmError: PalletXcmError;
|
|
157
|
+
PalletXcmEvent: PalletXcmEvent;
|
|
158
|
+
PalletXcmQueryStatus: PalletXcmQueryStatus;
|
|
159
|
+
PalletXcmRemoteLockedFungibleRecord: PalletXcmRemoteLockedFungibleRecord;
|
|
160
|
+
PalletXcmVersionMigrationStage: PalletXcmVersionMigrationStage;
|
|
161
|
+
PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage;
|
|
162
|
+
PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage;
|
|
163
|
+
PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage;
|
|
164
|
+
PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration;
|
|
165
|
+
PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel;
|
|
166
|
+
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
|
|
167
|
+
PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData;
|
|
168
|
+
PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead;
|
|
169
|
+
PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction;
|
|
170
|
+
ShpFileKeyVerifierFileKeyProof: ShpFileKeyVerifierFileKeyProof;
|
|
171
|
+
ShpFileMetadataFileMetadata: ShpFileMetadataFileMetadata;
|
|
172
|
+
ShpFileMetadataFingerprint: ShpFileMetadataFingerprint;
|
|
173
|
+
ShpTraitsTrieRemoveMutation: ShpTraitsTrieRemoveMutation;
|
|
174
|
+
SpArithmeticArithmeticError: SpArithmeticArithmeticError;
|
|
175
|
+
SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
|
|
176
|
+
SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
|
|
177
|
+
SpRuntimeDigest: SpRuntimeDigest;
|
|
178
|
+
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
|
|
179
|
+
SpRuntimeDispatchError: SpRuntimeDispatchError;
|
|
180
|
+
SpRuntimeModuleError: SpRuntimeModuleError;
|
|
181
|
+
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
|
|
182
|
+
SpRuntimeTokenError: SpRuntimeTokenError;
|
|
183
|
+
SpRuntimeTransactionalError: SpRuntimeTransactionalError;
|
|
184
|
+
SpTrieStorageProof: SpTrieStorageProof;
|
|
185
|
+
SpTrieStorageProofCompactProof: SpTrieStorageProofCompactProof;
|
|
186
|
+
SpVersionRuntimeVersion: SpVersionRuntimeVersion;
|
|
187
|
+
SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight;
|
|
188
|
+
SpWeightsWeightV2Weight: SpWeightsWeightV2Weight;
|
|
189
|
+
StagingParachainInfoCall: StagingParachainInfoCall;
|
|
190
|
+
StagingXcmExecutorAssetTransferTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
191
|
+
StagingXcmV3MultiLocation: StagingXcmV3MultiLocation;
|
|
192
|
+
StagingXcmV4Asset: StagingXcmV4Asset;
|
|
193
|
+
StagingXcmV4AssetAssetFilter: StagingXcmV4AssetAssetFilter;
|
|
194
|
+
StagingXcmV4AssetAssetId: StagingXcmV4AssetAssetId;
|
|
195
|
+
StagingXcmV4AssetAssetInstance: StagingXcmV4AssetAssetInstance;
|
|
196
|
+
StagingXcmV4AssetAssets: StagingXcmV4AssetAssets;
|
|
197
|
+
StagingXcmV4AssetFungibility: StagingXcmV4AssetFungibility;
|
|
198
|
+
StagingXcmV4AssetWildAsset: StagingXcmV4AssetWildAsset;
|
|
199
|
+
StagingXcmV4AssetWildFungibility: StagingXcmV4AssetWildFungibility;
|
|
200
|
+
StagingXcmV4Instruction: StagingXcmV4Instruction;
|
|
201
|
+
StagingXcmV4Junction: StagingXcmV4Junction;
|
|
202
|
+
StagingXcmV4JunctionNetworkId: StagingXcmV4JunctionNetworkId;
|
|
203
|
+
StagingXcmV4Junctions: StagingXcmV4Junctions;
|
|
204
|
+
StagingXcmV4Location: StagingXcmV4Location;
|
|
205
|
+
StagingXcmV4PalletInfo: StagingXcmV4PalletInfo;
|
|
206
|
+
StagingXcmV4QueryResponseInfo: StagingXcmV4QueryResponseInfo;
|
|
207
|
+
StagingXcmV4Response: StagingXcmV4Response;
|
|
208
|
+
StagingXcmV4TraitsOutcome: StagingXcmV4TraitsOutcome;
|
|
209
|
+
StagingXcmV4Xcm: StagingXcmV4Xcm;
|
|
210
|
+
StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod;
|
|
211
|
+
StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod;
|
|
212
|
+
StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters;
|
|
213
|
+
StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey;
|
|
214
|
+
StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue;
|
|
215
|
+
StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize;
|
|
216
|
+
StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod: StorageHubRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod;
|
|
217
|
+
StorageHubRuntimeConfigsRuntimeParamsRuntimeParameters: StorageHubRuntimeConfigsRuntimeParamsRuntimeParameters;
|
|
218
|
+
StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey: StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey;
|
|
219
|
+
StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue: StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue;
|
|
220
|
+
StorageHubRuntimeRuntime: StorageHubRuntimeRuntime;
|
|
221
|
+
StorageHubRuntimeRuntimeHoldReason: StorageHubRuntimeRuntimeHoldReason;
|
|
222
|
+
StorageHubRuntimeSessionKeys: StorageHubRuntimeSessionKeys;
|
|
223
|
+
XcmDoubleEncoded: XcmDoubleEncoded;
|
|
224
|
+
XcmV2BodyId: XcmV2BodyId;
|
|
225
|
+
XcmV2BodyPart: XcmV2BodyPart;
|
|
226
|
+
XcmV2Instruction: XcmV2Instruction;
|
|
227
|
+
XcmV2Junction: XcmV2Junction;
|
|
228
|
+
XcmV2MultiAsset: XcmV2MultiAsset;
|
|
229
|
+
XcmV2MultiLocation: XcmV2MultiLocation;
|
|
230
|
+
XcmV2MultiassetAssetId: XcmV2MultiassetAssetId;
|
|
231
|
+
XcmV2MultiassetAssetInstance: XcmV2MultiassetAssetInstance;
|
|
232
|
+
XcmV2MultiassetFungibility: XcmV2MultiassetFungibility;
|
|
233
|
+
XcmV2MultiassetMultiAssetFilter: XcmV2MultiassetMultiAssetFilter;
|
|
234
|
+
XcmV2MultiassetMultiAssets: XcmV2MultiassetMultiAssets;
|
|
235
|
+
XcmV2MultiassetWildFungibility: XcmV2MultiassetWildFungibility;
|
|
236
|
+
XcmV2MultiassetWildMultiAsset: XcmV2MultiassetWildMultiAsset;
|
|
237
|
+
XcmV2MultilocationJunctions: XcmV2MultilocationJunctions;
|
|
238
|
+
XcmV2NetworkId: XcmV2NetworkId;
|
|
239
|
+
XcmV2OriginKind: XcmV2OriginKind;
|
|
240
|
+
XcmV2Response: XcmV2Response;
|
|
241
|
+
XcmV2TraitsError: XcmV2TraitsError;
|
|
242
|
+
XcmV2WeightLimit: XcmV2WeightLimit;
|
|
243
|
+
XcmV2Xcm: XcmV2Xcm;
|
|
244
|
+
XcmV3Instruction: XcmV3Instruction;
|
|
245
|
+
XcmV3Junction: XcmV3Junction;
|
|
246
|
+
XcmV3JunctionBodyId: XcmV3JunctionBodyId;
|
|
247
|
+
XcmV3JunctionBodyPart: XcmV3JunctionBodyPart;
|
|
248
|
+
XcmV3JunctionNetworkId: XcmV3JunctionNetworkId;
|
|
249
|
+
XcmV3Junctions: XcmV3Junctions;
|
|
250
|
+
XcmV3MaybeErrorCode: XcmV3MaybeErrorCode;
|
|
251
|
+
XcmV3MultiAsset: XcmV3MultiAsset;
|
|
252
|
+
XcmV3MultiassetAssetId: XcmV3MultiassetAssetId;
|
|
253
|
+
XcmV3MultiassetAssetInstance: XcmV3MultiassetAssetInstance;
|
|
254
|
+
XcmV3MultiassetFungibility: XcmV3MultiassetFungibility;
|
|
255
|
+
XcmV3MultiassetMultiAssetFilter: XcmV3MultiassetMultiAssetFilter;
|
|
256
|
+
XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets;
|
|
257
|
+
XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility;
|
|
258
|
+
XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset;
|
|
259
|
+
XcmV3OriginKind: XcmV3OriginKind;
|
|
260
|
+
XcmV3PalletInfo: XcmV3PalletInfo;
|
|
261
|
+
XcmV3QueryResponseInfo: XcmV3QueryResponseInfo;
|
|
262
|
+
XcmV3Response: XcmV3Response;
|
|
263
|
+
XcmV3TraitsError: XcmV3TraitsError;
|
|
264
|
+
XcmV3WeightLimit: XcmV3WeightLimit;
|
|
265
|
+
XcmV3Xcm: XcmV3Xcm;
|
|
266
|
+
XcmVersionedAssetId: XcmVersionedAssetId;
|
|
267
|
+
XcmVersionedAssets: XcmVersionedAssets;
|
|
268
|
+
XcmVersionedLocation: XcmVersionedLocation;
|
|
269
|
+
XcmVersionedResponse: XcmVersionedResponse;
|
|
270
|
+
XcmVersionedXcm: XcmVersionedXcm;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
types: import("@polkadot/types-codec/types").RegistryTypes | undefined;
|
|
3
|
+
runtime: import("@polkadot/types/types").DefinitionsCall | undefined;
|
|
4
|
+
rpc: Record<string, import("@polkadot/types/types").DefinitionRpc | import("@polkadot/types/types").DefinitionRpcSub> | undefined;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types.js";
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import type { Bytes, Enum, Struct, U8aFixed, u32, u64 } from "@polkadot/types-codec";
|
|
2
|
+
import type { AccountId, BlockNumber, H256 } from "@polkadot/types/interfaces/runtime";
|
|
3
|
+
/** @name BackupStorageProvider */
|
|
4
|
+
export interface BackupStorageProvider extends Struct {
|
|
5
|
+
readonly capacity: StorageData;
|
|
6
|
+
readonly data_used: StorageData;
|
|
7
|
+
readonly multiaddresses: Bytes;
|
|
8
|
+
readonly root: MerklePatriciaRoot;
|
|
9
|
+
readonly last_capacity_change: BlockNumber;
|
|
10
|
+
readonly owner_account: AccountId;
|
|
11
|
+
readonly payment_account: AccountId;
|
|
12
|
+
}
|
|
13
|
+
/** @name BackupStorageProviderId */
|
|
14
|
+
export interface BackupStorageProviderId extends H256 {
|
|
15
|
+
}
|
|
16
|
+
/** @name ChunkId */
|
|
17
|
+
export interface ChunkId extends u64 {
|
|
18
|
+
}
|
|
19
|
+
/** @name FileMetadata */
|
|
20
|
+
export interface FileMetadata extends Struct {
|
|
21
|
+
readonly owner: Bytes;
|
|
22
|
+
readonly bucket_id: Bytes;
|
|
23
|
+
readonly location: Bytes;
|
|
24
|
+
readonly file_size: u64;
|
|
25
|
+
readonly fingerprint: U8aFixed;
|
|
26
|
+
}
|
|
27
|
+
/** @name GetBspInfoError */
|
|
28
|
+
export interface GetBspInfoError extends Enum {
|
|
29
|
+
readonly isBspNotRegistered: boolean;
|
|
30
|
+
readonly isInternalApiError: boolean;
|
|
31
|
+
readonly type: "BspNotRegistered" | "InternalApiError";
|
|
32
|
+
}
|
|
33
|
+
/** @name GetChallengePeriodError */
|
|
34
|
+
export interface GetChallengePeriodError extends Enum {
|
|
35
|
+
readonly isProviderNotRegistered: boolean;
|
|
36
|
+
readonly isInternalApiError: boolean;
|
|
37
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
38
|
+
}
|
|
39
|
+
/** @name GetChallengeSeedError */
|
|
40
|
+
export interface GetChallengeSeedError extends Enum {
|
|
41
|
+
readonly isTickBeyondLastSeedStored: boolean;
|
|
42
|
+
readonly isTickIsInTheFuture: boolean;
|
|
43
|
+
readonly isInternalApiError: boolean;
|
|
44
|
+
readonly type: "TickBeyondLastSeedStored" | "TickIsInTheFuture" | "InternalApiError";
|
|
45
|
+
}
|
|
46
|
+
/** @name GetCheckpointChallengesError */
|
|
47
|
+
export interface GetCheckpointChallengesError extends Enum {
|
|
48
|
+
readonly isTickGreaterThanLastCheckpointTick: boolean;
|
|
49
|
+
readonly isNoCheckpointChallengesInTick: boolean;
|
|
50
|
+
readonly isInternalApiError: boolean;
|
|
51
|
+
readonly type: "TickGreaterThanLastCheckpointTick" | "NoCheckpointChallengesInTick" | "InternalApiError";
|
|
52
|
+
}
|
|
53
|
+
/** @name GetFileFromFileStorageResult */
|
|
54
|
+
export interface GetFileFromFileStorageResult extends Enum {
|
|
55
|
+
readonly isFileNotFound: boolean;
|
|
56
|
+
readonly isFileFound: boolean;
|
|
57
|
+
readonly asFileFound: FileMetadata;
|
|
58
|
+
readonly isIncompleteFile: boolean;
|
|
59
|
+
readonly asIncompleteFile: IncompleteFileStatus;
|
|
60
|
+
readonly isFileFoundWithInconsistency: boolean;
|
|
61
|
+
readonly asFileFoundWithInconsistency: FileMetadata;
|
|
62
|
+
readonly type: "FileNotFound" | "FileFound" | "IncompleteFile" | "FileFoundWithInconsistency";
|
|
63
|
+
}
|
|
64
|
+
/** @name GetLastTickProviderSubmittedProofError */
|
|
65
|
+
export interface GetLastTickProviderSubmittedProofError extends Enum {
|
|
66
|
+
readonly isProviderNotRegistered: boolean;
|
|
67
|
+
readonly isProviderNeverSubmittedProof: boolean;
|
|
68
|
+
readonly isInternalApiError: boolean;
|
|
69
|
+
readonly type: "ProviderNotRegistered" | "ProviderNeverSubmittedProof" | "InternalApiError";
|
|
70
|
+
}
|
|
71
|
+
/** @name GetNextDeadlineTickError */
|
|
72
|
+
export interface GetNextDeadlineTickError extends Enum {
|
|
73
|
+
readonly isProviderNotRegistered: boolean;
|
|
74
|
+
readonly isProviderNotInitialised: boolean;
|
|
75
|
+
readonly isArithmeticOverflow: boolean;
|
|
76
|
+
readonly isInternalApiError: boolean;
|
|
77
|
+
readonly type: "ProviderNotRegistered" | "ProviderNotInitialised" | "ArithmeticOverflow" | "InternalApiError";
|
|
78
|
+
}
|
|
79
|
+
/** @name GetUsersWithDebtOverThresholdError */
|
|
80
|
+
export interface GetUsersWithDebtOverThresholdError extends Enum {
|
|
81
|
+
readonly isProviderNotRegistered: boolean;
|
|
82
|
+
readonly isProviderWithoutPaymentStreams: boolean;
|
|
83
|
+
readonly isAmountToChargeOverflow: boolean;
|
|
84
|
+
readonly isDebtOverflow: boolean;
|
|
85
|
+
readonly isInternalApiError: boolean;
|
|
86
|
+
readonly type: "ProviderNotRegistered" | "ProviderWithoutPaymentStreams" | "AmountToChargeOverflow" | "DebtOverflow" | "InternalApiError";
|
|
87
|
+
}
|
|
88
|
+
/** @name IncompleteFileStatus */
|
|
89
|
+
export interface IncompleteFileStatus extends Struct {
|
|
90
|
+
readonly file_metadata: FileMetadata;
|
|
91
|
+
readonly stored_chunks: u64;
|
|
92
|
+
readonly total_chunks: u64;
|
|
93
|
+
}
|
|
94
|
+
/** @name Key */
|
|
95
|
+
export interface Key extends H256 {
|
|
96
|
+
}
|
|
97
|
+
/** @name MainStorageProviderId */
|
|
98
|
+
export interface MainStorageProviderId extends H256 {
|
|
99
|
+
}
|
|
100
|
+
/** @name MerklePatriciaRoot */
|
|
101
|
+
export interface MerklePatriciaRoot extends H256 {
|
|
102
|
+
}
|
|
103
|
+
/** @name Multiaddresses */
|
|
104
|
+
export interface Multiaddresses extends Bytes {
|
|
105
|
+
}
|
|
106
|
+
/** @name ProviderId */
|
|
107
|
+
export interface ProviderId extends H256 {
|
|
108
|
+
}
|
|
109
|
+
/** @name QueryAvailableStorageCapacityError */
|
|
110
|
+
export interface QueryAvailableStorageCapacityError extends Enum {
|
|
111
|
+
readonly isProviderNotRegistered: boolean;
|
|
112
|
+
readonly isInternalApiError: boolean;
|
|
113
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
114
|
+
}
|
|
115
|
+
/** @name QueryBspConfirmChunksToProveForFileError */
|
|
116
|
+
export interface QueryBspConfirmChunksToProveForFileError extends Enum {
|
|
117
|
+
readonly isStorageRequestNotFound: boolean;
|
|
118
|
+
readonly isConfirmChunks: boolean;
|
|
119
|
+
readonly asConfirmChunks: QueryConfirmChunksToProveForFileError;
|
|
120
|
+
readonly isInternalError: boolean;
|
|
121
|
+
readonly type: "StorageRequestNotFound" | "ConfirmChunks" | "InternalError";
|
|
122
|
+
}
|
|
123
|
+
/** @name QueryConfirmChunksToProveForFileError */
|
|
124
|
+
export interface QueryConfirmChunksToProveForFileError extends Enum {
|
|
125
|
+
readonly isChallengedChunkToChunkIdError: boolean;
|
|
126
|
+
readonly type: "ChallengedChunkToChunkIdError";
|
|
127
|
+
}
|
|
128
|
+
/** @name QueryEarliestChangeCapacityBlockError */
|
|
129
|
+
export interface QueryEarliestChangeCapacityBlockError extends Enum {
|
|
130
|
+
readonly isProviderNotRegistered: boolean;
|
|
131
|
+
readonly isInternalApiError: boolean;
|
|
132
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
133
|
+
}
|
|
134
|
+
/** @name QueryFileEarliestVolunteerBlockError */
|
|
135
|
+
export interface QueryFileEarliestVolunteerBlockError extends Enum {
|
|
136
|
+
readonly isFailedToEncodeFingerprint: boolean;
|
|
137
|
+
readonly isFailedToEncodeBsp: boolean;
|
|
138
|
+
readonly isThresholdArithmeticError: boolean;
|
|
139
|
+
readonly isStorageRequestNotFound: boolean;
|
|
140
|
+
readonly isInternalError: boolean;
|
|
141
|
+
readonly type: "FailedToEncodeFingerprint" | "FailedToEncodeBsp" | "ThresholdArithmeticError" | "StorageRequestNotFound" | "InternalError";
|
|
142
|
+
}
|
|
143
|
+
/** @name QueryMspConfirmChunksToProveForFileError */
|
|
144
|
+
export interface QueryMspConfirmChunksToProveForFileError extends Enum {
|
|
145
|
+
readonly isStorageRequestNotFound: boolean;
|
|
146
|
+
readonly isConfirmChunks: boolean;
|
|
147
|
+
readonly asConfirmChunks: QueryConfirmChunksToProveForFileError;
|
|
148
|
+
readonly isInternalError: boolean;
|
|
149
|
+
readonly type: "StorageRequestNotFound" | "ConfirmChunks" | "InternalError";
|
|
150
|
+
}
|
|
151
|
+
/** @name QueryMspIdOfBucketIdError */
|
|
152
|
+
export interface QueryMspIdOfBucketIdError extends Enum {
|
|
153
|
+
readonly isBucketNotFound: boolean;
|
|
154
|
+
readonly isInternalApiError: boolean;
|
|
155
|
+
readonly type: "BucketNotFound" | "InternalApiError";
|
|
156
|
+
}
|
|
157
|
+
/** @name QueryProviderMultiaddressesError */
|
|
158
|
+
export interface QueryProviderMultiaddressesError extends Enum {
|
|
159
|
+
readonly isProviderNotRegistered: boolean;
|
|
160
|
+
readonly isInternalApiError: boolean;
|
|
161
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
162
|
+
}
|
|
163
|
+
/** @name QueryStorageProviderCapacityError */
|
|
164
|
+
export interface QueryStorageProviderCapacityError extends Enum {
|
|
165
|
+
readonly isProviderNotRegistered: boolean;
|
|
166
|
+
readonly isInternalApiError: boolean;
|
|
167
|
+
readonly type: "ProviderNotRegistered" | "InternalApiError";
|
|
168
|
+
}
|
|
169
|
+
/** @name RandomnessOutput */
|
|
170
|
+
export interface RandomnessOutput extends H256 {
|
|
171
|
+
}
|
|
172
|
+
/** @name SaveFileToDisk */
|
|
173
|
+
export interface SaveFileToDisk extends Enum {
|
|
174
|
+
readonly isFileNotFound: boolean;
|
|
175
|
+
readonly isSuccess: boolean;
|
|
176
|
+
readonly asSuccess: FileMetadata;
|
|
177
|
+
readonly isIncompleteFile: boolean;
|
|
178
|
+
readonly asIncompleteFile: IncompleteFileStatus;
|
|
179
|
+
readonly type: "FileNotFound" | "Success" | "IncompleteFile";
|
|
180
|
+
}
|
|
181
|
+
/** @name StorageData */
|
|
182
|
+
export interface StorageData extends u32 {
|
|
183
|
+
}
|
|
184
|
+
/** @name StorageDataUnit */
|
|
185
|
+
export interface StorageDataUnit extends u32 {
|
|
186
|
+
}
|
|
187
|
+
/** @name StorageProviderId */
|
|
188
|
+
export interface StorageProviderId extends Enum {
|
|
189
|
+
readonly isBackupStorageProvider: boolean;
|
|
190
|
+
readonly asBackupStorageProvider: BackupStorageProviderId;
|
|
191
|
+
readonly isMainStorageProvider: boolean;
|
|
192
|
+
readonly asMainStorageProvider: MainStorageProviderId;
|
|
193
|
+
readonly type: "BackupStorageProvider" | "MainStorageProvider";
|
|
194
|
+
}
|
|
195
|
+
/** @name TrieRemoveMutation */
|
|
196
|
+
export interface TrieRemoveMutation extends Struct {
|
|
197
|
+
}
|
|
198
|
+
export type PHANTOM_STORAGEHUBCLIENT = "storagehubclient";
|