@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,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { AugmentedRpc } from
|
|
3
|
-
import type { Metadata, StorageKey } from
|
|
4
|
-
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from
|
|
5
|
-
import type { AnyNumber, Codec, ITuple } from
|
|
6
|
-
import type { ExtrinsicOrHash, ExtrinsicStatus } from
|
|
7
|
-
import type { EpochAuthorship } from
|
|
8
|
-
import type { BeefyVersionedFinalityProof } from
|
|
9
|
-
import type { BlockHash } from
|
|
10
|
-
import type { PrefixedStorageKey } from
|
|
11
|
-
import type { AuthorityId } from
|
|
12
|
-
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from
|
|
13
|
-
import type { BlockStats } from
|
|
14
|
-
import type { CreatedBlock } from
|
|
15
|
-
import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from
|
|
16
|
-
import type { Extrinsic } from
|
|
17
|
-
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from
|
|
18
|
-
import type { MmrHash, MmrLeafBatchProof } from
|
|
19
|
-
import type { StorageKind } from
|
|
20
|
-
import type { FeeDetails, RuntimeDispatchInfoV1 } from
|
|
21
|
-
import type { RpcMethods } from
|
|
22
|
-
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from
|
|
23
|
-
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from
|
|
24
|
-
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from
|
|
25
|
-
import type { IExtrinsic, Observable } from
|
|
26
|
-
import type { AddFilesToForestStorageResult, CheckpointChallenge, FileMetadata, GetFileFromFileStorageResult, GetValuePropositionsResult, LoadFileInStorageResult, RemoveFilesFromForestStorageResult, RpcProviderId, SaveFileToDisk } from
|
|
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/solochain-evm/interfaces/storagehubclient";
|
|
27
27
|
export type __AugmentedRpc = AugmentedRpc<() => unknown>;
|
|
28
|
-
declare module
|
|
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> |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from
|
|
3
|
-
import type { BTreeMap, Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from
|
|
4
|
-
import type { AnyNumber, IMethod, ITuple } from
|
|
5
|
-
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from
|
|
6
|
-
import type { CheckInherentsResult, InherentData } from
|
|
7
|
-
import type { BlockHash } from
|
|
8
|
-
import type { AuthorityId } from
|
|
9
|
-
import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from
|
|
10
|
-
import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from
|
|
11
|
-
import type { Extrinsic } from
|
|
12
|
-
import type { GenesisBuildErr } from
|
|
13
|
-
import type { AuthorityList, GrandpaEquivocationProof, SetId } from
|
|
14
|
-
import type { OpaqueMetadata } from
|
|
15
|
-
import type { FeeDetails, RuntimeDispatchInfo } from
|
|
16
|
-
import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, H160, H256, Header, Index, KeyTypeId, Permill, Slot, Weight } from
|
|
17
|
-
import type { RuntimeVersion } from
|
|
18
|
-
import type { ApplyExtrinsicResult, DispatchError, Key } from
|
|
19
|
-
import type { TransactionSource, TransactionValidity } from
|
|
20
|
-
import type { IExtrinsic, Observable } from
|
|
21
|
-
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
|
|
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, U256, Vec, bool, u256, u32, u64 } from "@polkadot/types-codec";
|
|
4
|
+
import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types";
|
|
5
|
+
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from "@polkadot/types/interfaces/babe";
|
|
6
|
+
import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder";
|
|
7
|
+
import type { BlockHash } from "@polkadot/types/interfaces/chain";
|
|
8
|
+
import type { AuthorityId } from "@polkadot/types/interfaces/consensus";
|
|
9
|
+
import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from "@polkadot/types/interfaces/eth";
|
|
10
|
+
import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from "@polkadot/types/interfaces/evm";
|
|
11
|
+
import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics";
|
|
12
|
+
import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder";
|
|
13
|
+
import type { AuthorityList, GrandpaEquivocationProof, SetId } from "@polkadot/types/interfaces/grandpa";
|
|
14
|
+
import type { OpaqueMetadata } from "@polkadot/types/interfaces/metadata";
|
|
15
|
+
import type { FeeDetails, RuntimeDispatchInfo } from "@polkadot/types/interfaces/payment";
|
|
16
|
+
import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, H160, H256, Header, Index, KeyTypeId, Permill, Slot, Weight } from "@polkadot/types/interfaces/runtime";
|
|
17
|
+
import type { RuntimeVersion } from "@polkadot/types/interfaces/state";
|
|
18
|
+
import type { ApplyExtrinsicResult, DispatchError, Key } from "@polkadot/types/interfaces/system";
|
|
19
|
+
import type { TransactionSource, TransactionValidity } from "@polkadot/types/interfaces/txqueue";
|
|
20
|
+
import type { IExtrinsic, Observable } from "@polkadot/types/types";
|
|
21
|
+
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/solochain-evm/interfaces/storagehubclient";
|
|
22
22
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
23
23
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
24
|
-
declare module
|
|
24
|
+
declare module "@polkadot/api-base/types/calls" {
|
|
25
25
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
26
26
|
/** 0xbc9d89904f5b923f/1 */
|
|
27
27
|
accountNonceApi: {
|
|
@@ -162,7 +162,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
162
162
|
/**
|
|
163
163
|
* Returns a frame_ethereum::call response. If `estimate` is true,
|
|
164
164
|
**/
|
|
165
|
-
call: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> |
|
|
165
|
+
call: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> | [H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]][]) => Observable<Result<EvmCallInfoV2, DispatchError>>>;
|
|
166
166
|
/**
|
|
167
167
|
* Returns runtime defined pallet_evm::ChainId.
|
|
168
168
|
**/
|
|
@@ -170,7 +170,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
170
170
|
/**
|
|
171
171
|
* Returns a frame_ethereum::call response. If `estimate` is true,
|
|
172
172
|
**/
|
|
173
|
-
create: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> |
|
|
173
|
+
create: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> | [H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]][]) => Observable<Result<EvmCreateInfoV2, DispatchError>>>;
|
|
174
174
|
/**
|
|
175
175
|
* Return all the current data for a block in a single runtime call.
|
|
176
176
|
**/
|
|
@@ -214,6 +214,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
214
214
|
* Decodes the BucketId expected to be found in the event info of a generic apply delta.
|
|
215
215
|
**/
|
|
216
216
|
decodeGenericApplyDeltaEventInfo: AugmentedCall<ApiType, (encodedEventInfo: Bytes | string | Uint8Array) => Observable<Result<BucketId, GenericApplyDeltaEventInfoError>>>;
|
|
217
|
+
/**
|
|
218
|
+
* Get the maximum batch size for confirm storage requests.
|
|
219
|
+
**/
|
|
220
|
+
getMaxBatchConfirmStorageRequests: AugmentedCall<ApiType, () => Observable<u32>>;
|
|
217
221
|
/**
|
|
218
222
|
* Check if a storage request is open to volunteers.
|
|
219
223
|
**/
|
|
@@ -246,6 +250,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
246
250
|
* Query the chunks that a MSP needs to prove to confirm that it is storing a file.
|
|
247
251
|
**/
|
|
248
252
|
queryMspConfirmChunksToProveForFile: AugmentedCall<ApiType, (mspId: MainStorageProviderId | string | Uint8Array, fileKey: H256 | string | Uint8Array) => Observable<Result<Vec<ChunkId>, QueryMspConfirmChunksToProveForFileError>>>;
|
|
253
|
+
/**
|
|
254
|
+
* Query the file keys that a BSP still needs to confirm storing after volunteering.
|
|
255
|
+
**/
|
|
256
|
+
queryPendingBspConfirmStorageRequests: AugmentedCall<ApiType, (bspId: BackupStorageProviderId | string | Uint8Array, fileKeys: Vec<H256> | (H256 | string | Uint8Array)[]) => Observable<Vec<H256>>>;
|
|
249
257
|
/**
|
|
250
258
|
* Get the storage requests for a given MSP.
|
|
251
259
|
**/
|
|
@@ -489,7 +497,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
489
497
|
/**
|
|
490
498
|
* Validate the transaction.
|
|
491
499
|
**/
|
|
492
|
-
validateTransaction: AugmentedCall<ApiType, (source: TransactionSource |
|
|
500
|
+
validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | "InBlock" | "Local" | "External" | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
|
|
493
501
|
/**
|
|
494
502
|
* Generic call
|
|
495
503
|
**/
|