@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.
Files changed (85) hide show
  1. package/dist/parachain/interfaces/augment-api-consts.js +1 -1
  2. package/dist/parachain/interfaces/augment-api-errors.js +1 -1
  3. package/dist/parachain/interfaces/augment-api-events.js +1 -1
  4. package/dist/parachain/interfaces/augment-api-query.js +1 -1
  5. package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
  6. package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
  7. package/dist/parachain/interfaces/augment-api-tx.js +1 -1
  8. package/dist/parachain/interfaces/augment-api.js +7 -7
  9. package/dist/parachain/interfaces/augment-types.js +1 -1
  10. package/dist/parachain/interfaces/index.js +1 -1
  11. package/dist/parachain/interfaces/lookup.js +2785 -2373
  12. package/dist/parachain/interfaces/lookup.js.map +1 -1
  13. package/dist/parachain/interfaces/registry.js +1 -1
  14. package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
  15. package/dist/parachain/interfaces/storagehubclient/runtime.js +5 -0
  16. package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -1
  17. package/dist/parachain/interfaces/types-lookup.js +1 -1
  18. package/dist/parachain/interfaces/types.js +1 -1
  19. package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
  20. package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
  21. package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
  22. package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
  23. package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
  24. package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
  25. package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
  26. package/dist/solochain-evm/interfaces/augment-api.js +7 -7
  27. package/dist/solochain-evm/interfaces/augment-types.js +1 -1
  28. package/dist/solochain-evm/interfaces/index.js +1 -1
  29. package/dist/solochain-evm/interfaces/lookup.js +2029 -1659
  30. package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
  31. package/dist/solochain-evm/interfaces/registry.js +1 -1
  32. package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
  33. package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
  34. package/dist/solochain-evm/interfaces/types.js +1 -1
  35. package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
  36. package/dist/types/parachain/interfaces/augment-api-errors.d.ts +7 -3
  37. package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
  38. package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
  39. package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
  40. package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
  41. package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
  42. package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
  43. package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
  44. package/dist/types/parachain/interfaces/index.d.ts +1 -1
  45. package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
  46. package/dist/types/parachain/interfaces/registry.d.ts +3 -3
  47. package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
  48. package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
  49. package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
  50. package/dist/types/parachain/interfaces/types.d.ts +1 -1
  51. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
  52. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +7 -3
  53. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
  54. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
  55. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
  56. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
  57. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
  58. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
  59. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
  60. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
  61. package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
  62. package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
  63. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
  64. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
  65. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
  66. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
  67. package/metadata-sh-parachain.json +1 -1
  68. package/metadata-sh-solochain-evm.json +1 -1
  69. package/package.json +2 -2
  70. package/src/parachain/interfaces/augment-api-errors.ts +4 -0
  71. package/src/parachain/interfaces/augment-api-events.ts +8 -0
  72. package/src/parachain/interfaces/augment-api-query.ts +12 -0
  73. package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
  74. package/src/parachain/interfaces/augment-api-tx.ts +13 -0
  75. package/src/parachain/interfaces/lookup.ts +233 -222
  76. package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
  77. package/src/parachain/interfaces/types-lookup.ts +237 -224
  78. package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
  79. package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
  80. package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
  81. package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
  82. package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
  83. package/src/solochain-evm/interfaces/lookup.ts +189 -178
  84. package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
  85. package/storagehub-api-augment-0.2.14.tgz +0 -0
@@ -1,31 +1,31 @@
1
- import '@polkadot/rpc-core/types/jsonrpc';
2
- import type { AugmentedRpc } from '@polkadot/rpc-core/types';
3
- import type { Metadata, StorageKey } from '@polkadot/types';
4
- import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';
5
- import type { AnyNumber, Codec, ITuple } from '@polkadot/types-codec/types';
6
- import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
7
- import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
8
- import type { BeefyVersionedFinalityProof } from '@polkadot/types/interfaces/beefy';
9
- import type { BlockHash } from '@polkadot/types/interfaces/chain';
10
- import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
11
- import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
12
- import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from '@polkadot/types/interfaces/contracts';
13
- import type { BlockStats } from '@polkadot/types/interfaces/dev';
14
- import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
15
- import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
16
- import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
17
- import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
18
- import type { MmrHash, MmrLeafBatchProof } from '@polkadot/types/interfaces/mmr';
19
- import type { StorageKind } from '@polkadot/types/interfaces/offchain';
20
- import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
21
- import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
22
- import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
23
- import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
24
- import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
25
- import type { IExtrinsic, Observable } from '@polkadot/types/types';
26
- import type { AddFilesToForestStorageResult, CheckpointChallenge, FileMetadata, GetFileFromFileStorageResult, GetValuePropositionsResult, LoadFileInStorageResult, RemoveFilesFromForestStorageResult, RpcProviderId, SaveFileToDisk } from '@storagehub/api-augment/parachain/interfaces/storagehubclient';
1
+ import "@polkadot/rpc-core/types/jsonrpc";
2
+ import type { AugmentedRpc } from "@polkadot/rpc-core/types";
3
+ import type { Metadata, StorageKey } from "@polkadot/types";
4
+ import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from "@polkadot/types-codec";
5
+ import type { AnyNumber, Codec, ITuple } from "@polkadot/types-codec/types";
6
+ import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author";
7
+ import type { EpochAuthorship } from "@polkadot/types/interfaces/babe";
8
+ import type { BeefyVersionedFinalityProof } from "@polkadot/types/interfaces/beefy";
9
+ import type { BlockHash } from "@polkadot/types/interfaces/chain";
10
+ import type { PrefixedStorageKey } from "@polkadot/types/interfaces/childstate";
11
+ import type { AuthorityId } from "@polkadot/types/interfaces/consensus";
12
+ import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts";
13
+ import type { BlockStats } from "@polkadot/types/interfaces/dev";
14
+ import type { CreatedBlock } from "@polkadot/types/interfaces/engine";
15
+ import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from "@polkadot/types/interfaces/eth";
16
+ import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics";
17
+ import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from "@polkadot/types/interfaces/grandpa";
18
+ import type { MmrHash, MmrLeafBatchProof } from "@polkadot/types/interfaces/mmr";
19
+ import type { StorageKind } from "@polkadot/types/interfaces/offchain";
20
+ import type { FeeDetails, RuntimeDispatchInfoV1 } from "@polkadot/types/interfaces/payment";
21
+ import type { RpcMethods } from "@polkadot/types/interfaces/rpc";
22
+ import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from "@polkadot/types/interfaces/runtime";
23
+ import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from "@polkadot/types/interfaces/state";
24
+ import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from "@polkadot/types/interfaces/system";
25
+ import type { IExtrinsic, Observable } from "@polkadot/types/types";
26
+ import type { AddFilesToForestStorageResult, CheckpointChallenge, FileMetadata, GetFileFromFileStorageResult, GetValuePropositionsResult, LoadFileInStorageResult, RemoveFilesFromForestStorageResult, RpcProviderId, SaveFileToDisk } from "@storagehub/api-augment/parachain/interfaces/storagehubclient";
27
27
  export type __AugmentedRpc = AugmentedRpc<() => unknown>;
28
- declare module '@polkadot/rpc-core/types/jsonrpc' {
28
+ declare module "@polkadot/rpc-core/types/jsonrpc" {
29
29
  interface RpcInterface {
30
30
  author: {
31
31
  /**
@@ -242,7 +242,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
242
242
  /**
243
243
  * Returns fee history for given block count & reward percentiles
244
244
  **/
245
- feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | (f64)[]) => Observable<EthFeeHistory>>;
245
+ feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | f64[]) => Observable<EthFeeHistory>>;
246
246
  /**
247
247
  * Returns current gas price.
248
248
  **/
@@ -398,7 +398,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
398
398
  /**
399
399
  * Subscribe to Eth subscription.
400
400
  **/
401
- subscribe: AugmentedRpc<(kind: EthSubKind | 'newHeads' | 'logs' | 'newPendingTransactions' | 'syncing' | number | Uint8Array, params?: EthSubParams | {
401
+ subscribe: AugmentedRpc<(kind: EthSubKind | "newHeads" | "logs" | "newPendingTransactions" | "syncing" | number | Uint8Array, params?: EthSubParams | {
402
402
  None: any;
403
403
  } | {
404
404
  Logs: any;
@@ -470,15 +470,15 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
470
470
  /**
471
471
  * Clear offchain local storage under given key and prefix
472
472
  **/
473
- localStorageClear: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Null>>;
473
+ localStorageClear: AugmentedRpc<(kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Null>>;
474
474
  /**
475
475
  * Get offchain local storage under given key and prefix
476
476
  **/
477
- localStorageGet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
477
+ localStorageGet: AugmentedRpc<(kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
478
478
  /**
479
479
  * Set offchain local storage under given key and prefix
480
480
  **/
481
- localStorageSet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => Observable<Null>>;
481
+ localStorageSet: AugmentedRpc<(kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => Observable<Null>>;
482
482
  };
483
483
  payment: {
484
484
  /**
@@ -1,29 +1,29 @@
1
- import '@polkadot/api-base/types/calls';
2
- import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
3
- import type { BTreeMap, Bytes, Null, Option, Result, Vec, bool, u128, u32 } from '@polkadot/types-codec';
4
- import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
- import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
6
- import type { BlockHash } from '@polkadot/types/interfaces/chain';
7
- import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
8
- import type { CollationInfo } from '@polkadot/types/interfaces/cumulus';
9
- import type { CallDryRunEffects, XcmDryRunApiError, XcmDryRunEffects } from '@polkadot/types/interfaces/dryRunApi';
10
- import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
11
- import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder';
12
- import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
13
- import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
14
- import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, H256, Header, Index, KeyTypeId, OriginCaller, RuntimeCall, Slot, SlotDuration, Weight, WeightV2 } from '@polkadot/types/interfaces/runtime';
15
- import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
16
- import type { ApplyExtrinsicResult, Key } from '@polkadot/types/interfaces/system';
17
- import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
18
- import type { VersionedMultiLocation, VersionedXcm } from '@polkadot/types/interfaces/xcm';
19
- import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi';
20
- import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi';
21
- import type { XcmVersionedAssetId, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
22
- import type { IExtrinsic, Observable } from '@polkadot/types/types';
23
- import type { BackupStorageProvider, BackupStorageProviderId, BucketId, ChunkId, GenericApplyDeltaEventInfoError, GetBspInfoError, GetChallengePeriodError, GetChallengeSeedError, GetCheckpointChallengesError, GetNextDeadlineTickError, GetProofSubmissionRecordError, GetStakeError, GetUsersWithDebtOverThresholdError, IncompleteStorageRequestMetadataResponse, IsStorageRequestOpenToVolunteersError, MainStorageProviderId, Multiaddresses, ProviderId, QueryAvailableStorageCapacityError, QueryBspConfirmChunksToProveForFileError, QueryBspsVolunteeredForFileError, QueryBucketsForMspError, QueryBucketsOfUserStoredByMspError, QueryEarliestChangeCapacityBlockError, QueryFileEarliestVolunteerBlockError, QueryIncompleteStorageRequestMetadataError, QueryMspConfirmChunksToProveForFileError, QueryMspIdOfBucketIdError, QueryProviderMultiaddressesError, QueryStorageProviderCapacityError, RandomnessOutput, StorageDataUnit, StorageProviderId, StorageRequestMetadata, TrieRemoveMutation, ValuePropositionWithId } from '@storagehub/api-augment/parachain/interfaces/storagehubclient';
1
+ import "@polkadot/api-base/types/calls";
2
+ import type { ApiTypes, AugmentedCall, DecoratedCallBase } from "@polkadot/api-base/types";
3
+ import type { BTreeMap, Bytes, Null, Option, Result, Vec, bool, u128, u32 } from "@polkadot/types-codec";
4
+ import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types";
5
+ import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder";
6
+ import type { BlockHash } from "@polkadot/types/interfaces/chain";
7
+ import type { AuthorityId } from "@polkadot/types/interfaces/consensus";
8
+ import type { CollationInfo } from "@polkadot/types/interfaces/cumulus";
9
+ import type { CallDryRunEffects, XcmDryRunApiError, XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi";
10
+ import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics";
11
+ import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder";
12
+ import type { OpaqueMetadata } from "@polkadot/types/interfaces/metadata";
13
+ import type { FeeDetails, RuntimeDispatchInfo } from "@polkadot/types/interfaces/payment";
14
+ import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, H256, Header, Index, KeyTypeId, OriginCaller, RuntimeCall, Slot, SlotDuration, Weight, WeightV2 } from "@polkadot/types/interfaces/runtime";
15
+ import type { RuntimeVersion } from "@polkadot/types/interfaces/state";
16
+ import type { ApplyExtrinsicResult, Key } from "@polkadot/types/interfaces/system";
17
+ import type { TransactionSource, TransactionValidity } from "@polkadot/types/interfaces/txqueue";
18
+ import type { VersionedMultiLocation, VersionedXcm } from "@polkadot/types/interfaces/xcm";
19
+ import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi";
20
+ import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi";
21
+ import type { XcmVersionedAssetId, XcmVersionedLocation, XcmVersionedXcm } from "@polkadot/types/lookup";
22
+ import type { IExtrinsic, Observable } from "@polkadot/types/types";
23
+ import type { BackupStorageProvider, BackupStorageProviderId, BucketId, ChunkId, GenericApplyDeltaEventInfoError, GetBspInfoError, GetChallengePeriodError, GetChallengeSeedError, GetCheckpointChallengesError, GetNextDeadlineTickError, GetProofSubmissionRecordError, GetStakeError, GetUsersWithDebtOverThresholdError, IncompleteStorageRequestMetadataResponse, IsStorageRequestOpenToVolunteersError, MainStorageProviderId, Multiaddresses, ProviderId, QueryAvailableStorageCapacityError, QueryBspConfirmChunksToProveForFileError, QueryBspsVolunteeredForFileError, QueryBucketsForMspError, QueryBucketsOfUserStoredByMspError, QueryEarliestChangeCapacityBlockError, QueryFileEarliestVolunteerBlockError, QueryIncompleteStorageRequestMetadataError, QueryMspConfirmChunksToProveForFileError, QueryMspIdOfBucketIdError, QueryProviderMultiaddressesError, QueryStorageProviderCapacityError, RandomnessOutput, StorageDataUnit, StorageProviderId, StorageRequestMetadata, TrieRemoveMutation, ValuePropositionWithId } from "@storagehub/api-augment/parachain/interfaces/storagehubclient";
24
24
  export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
25
25
  export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
26
- declare module '@polkadot/api-base/types/calls' {
26
+ declare module "@polkadot/api-base/types/calls" {
27
27
  interface AugmentedCalls<ApiType extends ApiTypes> {
28
28
  /** 0xbc9d89904f5b923f/1 */
29
29
  accountNonceApi: {
@@ -184,6 +184,10 @@ declare module '@polkadot/api-base/types/calls' {
184
184
  * Decodes the BucketId expected to be found in the event info of a generic apply delta.
185
185
  **/
186
186
  decodeGenericApplyDeltaEventInfo: AugmentedCall<ApiType, (encodedEventInfo: Bytes | string | Uint8Array) => Observable<Result<BucketId, GenericApplyDeltaEventInfoError>>>;
187
+ /**
188
+ * Get the maximum batch size for confirm storage requests.
189
+ **/
190
+ getMaxBatchConfirmStorageRequests: AugmentedCall<ApiType, () => Observable<u32>>;
187
191
  /**
188
192
  * Check if a storage request is open to volunteers.
189
193
  **/
@@ -216,6 +220,10 @@ declare module '@polkadot/api-base/types/calls' {
216
220
  * Query the chunks that a MSP needs to prove to confirm that it is storing a file.
217
221
  **/
218
222
  queryMspConfirmChunksToProveForFile: AugmentedCall<ApiType, (mspId: MainStorageProviderId | string | Uint8Array, fileKey: H256 | string | Uint8Array) => Observable<Result<Vec<ChunkId>, QueryMspConfirmChunksToProveForFileError>>>;
223
+ /**
224
+ * Query the file keys that a BSP still needs to confirm storing after volunteering.
225
+ **/
226
+ queryPendingBspConfirmStorageRequests: AugmentedCall<ApiType, (bspId: BackupStorageProviderId | string | Uint8Array, fileKeys: Vec<H256> | (H256 | string | Uint8Array)[]) => Observable<Vec<H256>>>;
219
227
  /**
220
228
  * Get the storage requests for a given MSP.
221
229
  **/
@@ -450,7 +458,7 @@ declare module '@polkadot/api-base/types/calls' {
450
458
  /**
451
459
  * Validate the transaction.
452
460
  **/
453
- validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
461
+ validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | "InBlock" | "Local" | "External" | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
454
462
  /**
455
463
  * Generic call
456
464
  **/