@polkadot/api-augment 16.2.2 → 16.4.1

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 (41) hide show
  1. package/assetHubKusama/consts.d.ts +95 -2
  2. package/assetHubKusama/errors.d.ts +254 -10
  3. package/assetHubKusama/events.d.ts +103 -3
  4. package/assetHubKusama/query.d.ts +72 -6
  5. package/assetHubKusama/runtime.d.ts +113 -4
  6. package/assetHubKusama/tx.d.ts +278 -1
  7. package/cjs/assetHubKusama/consts.d.ts +95 -2
  8. package/cjs/assetHubKusama/errors.d.ts +254 -10
  9. package/cjs/assetHubKusama/events.d.ts +103 -3
  10. package/cjs/assetHubKusama/query.d.ts +72 -6
  11. package/cjs/assetHubKusama/runtime.d.ts +113 -4
  12. package/cjs/assetHubKusama/tx.d.ts +278 -1
  13. package/cjs/kusama/consts.d.ts +31 -7
  14. package/cjs/kusama/errors.d.ts +41 -2
  15. package/cjs/kusama/events.d.ts +167 -4
  16. package/cjs/kusama/query.d.ts +31 -12
  17. package/cjs/kusama/runtime.d.ts +10 -2
  18. package/cjs/kusama/tx.d.ts +205 -26
  19. package/cjs/packageInfo.js +1 -1
  20. package/cjs/polkadot/consts.d.ts +27 -5
  21. package/cjs/polkadot/errors.d.ts +41 -2
  22. package/cjs/polkadot/events.d.ts +167 -4
  23. package/cjs/polkadot/query.d.ts +31 -12
  24. package/cjs/polkadot/runtime.d.ts +10 -2
  25. package/cjs/polkadot/tx.d.ts +204 -25
  26. package/cjs/substrate/runtime.d.ts +7 -7
  27. package/kusama/consts.d.ts +31 -7
  28. package/kusama/errors.d.ts +41 -2
  29. package/kusama/events.d.ts +167 -4
  30. package/kusama/query.d.ts +31 -12
  31. package/kusama/runtime.d.ts +10 -2
  32. package/kusama/tx.d.ts +205 -26
  33. package/package.json +7 -7
  34. package/packageInfo.js +1 -1
  35. package/polkadot/consts.d.ts +27 -5
  36. package/polkadot/errors.d.ts +41 -2
  37. package/polkadot/events.d.ts +167 -4
  38. package/polkadot/query.d.ts +31 -12
  39. package/polkadot/runtime.d.ts +10 -2
  40. package/polkadot/tx.d.ts +204 -25
  41. package/substrate/runtime.d.ts +7 -7
@@ -2,8 +2,8 @@ import '@polkadot/api-base/types/storage';
2
2
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
3
  import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
5
+ import type { AccountId32, H160, H256, Perbill } from '@polkadot/types/interfaces/runtime';
6
+ import type { AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReviveStorageContractInfo, PalletReviveStorageDeletionQueueManager, PalletReviveWasmCodeInfo, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
7
  import type { Observable } from '@polkadot/types/types';
8
8
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
9
9
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -99,11 +99,12 @@ declare module '@polkadot/api-base/types/storage' {
99
99
  **/
100
100
  authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
101
101
  /**
102
- * Current slot paired with a number of authored blocks.
102
+ * Current relay chain slot paired with a number of authored blocks.
103
103
  *
104
- * Updated on each block initialization.
104
+ * This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay
105
+ * chain slot as provided by the relay chain state proof.
105
106
  **/
106
- slotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
107
+ relaySlotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
107
108
  /**
108
109
  * Generic query
109
110
  **/
@@ -582,6 +583,18 @@ declare module '@polkadot/api-base/types/storage' {
582
583
  * times this pair has been trapped (usually just 1 if it exists at all).
583
584
  **/
584
585
  assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
586
+ /**
587
+ * Map of authorized aliasers of local origins. Each local location can authorize a list of
588
+ * other locations to alias into it. Each aliaser is only valid until its inner `expiry`
589
+ * block number.
590
+ **/
591
+ authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | {
592
+ V3: any;
593
+ } | {
594
+ V4: any;
595
+ } | {
596
+ V5: any;
597
+ } | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
585
598
  /**
586
599
  * The current migration's stage, if any.
587
600
  **/
@@ -740,6 +753,49 @@ declare module '@polkadot/api-base/types/storage' {
740
753
  **/
741
754
  [key: string]: QueryableStorageEntry<ApiType>;
742
755
  };
756
+ revive: {
757
+ /**
758
+ * A mapping from a contract's code hash to its code info.
759
+ **/
760
+ codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveWasmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
761
+ /**
762
+ * The code associated with a given account.
763
+ **/
764
+ contractInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageContractInfo>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
765
+ /**
766
+ * Evicted contracts that await child trie deletion.
767
+ *
768
+ * Child trie deletion is a heavy operation depending on the amount of storage items
769
+ * stored in said trie. Therefore this operation is performed lazily in `on_idle`.
770
+ **/
771
+ deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
772
+ /**
773
+ * A pair of monotonic counters used to track the latest contract marked for deletion
774
+ * and the latest deleted contract in queue.
775
+ **/
776
+ deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
777
+ /**
778
+ * The immutable data associated with a given account.
779
+ **/
780
+ immutableDataOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Bytes>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
781
+ /**
782
+ * Map a Ethereum address to its original `AccountId32`.
783
+ *
784
+ * When deriving a `H160` from an `AccountId32` we use a hash function. In order to
785
+ * reconstruct the original account we need to store the reverse mapping here.
786
+ * Register your `AccountId32` using [`Pallet::map_account`] in order to
787
+ * use it with this pallet.
788
+ **/
789
+ originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
790
+ /**
791
+ * A mapping from a contract's code hash to its code.
792
+ **/
793
+ pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
794
+ /**
795
+ * Generic query
796
+ **/
797
+ [key: string]: QueryableStorageEntry<ApiType>;
798
+ };
743
799
  session: {
744
800
  /**
745
801
  * Current index of the session.
@@ -752,7 +808,7 @@ declare module '@polkadot/api-base/types/storage' {
752
808
  * disabled using binary search. It gets cleared when `on_session_ending` returns
753
809
  * a new set of identities.
754
810
  **/
755
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
811
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
756
812
  /**
757
813
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
758
814
  **/
@@ -869,6 +925,16 @@ declare module '@polkadot/api-base/types/storage' {
869
925
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
870
926
  **/
871
927
  extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
928
+ /**
929
+ * The weight reclaimed for the extrinsic.
930
+ *
931
+ * This information is available until the end of the extrinsic execution.
932
+ * More precisely this information is removed in `note_applied_extrinsic`.
933
+ *
934
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
935
+ * reduction.
936
+ **/
937
+ extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
872
938
  /**
873
939
  * Whether all inherents have been applied.
874
940
  **/
@@ -1,11 +1,11 @@
1
1
  import '@polkadot/api-base/types/calls';
2
2
  import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
3
- import type { Bytes, Null, Option, Result, Text, Vec, bool, u128, u32 } from '@polkadot/types-codec';
3
+ import type { Bytes, Null, Option, Result, Text, U256, U8aFixed, Vec, bool, u128, u32 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
6
6
  import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
7
- import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
8
- import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
7
+ import type { AccountId32, H160, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
8
+ import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
9
9
  import type { IExtrinsic, Observable } from '@polkadot/types/types';
10
10
  export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
11
11
  export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
@@ -77,7 +77,7 @@ declare module '@polkadot/api-base/types/calls' {
77
77
  /** 0xd7bdd8a272ca0d65/ */
78
78
  auraUnincludedSegmentApi: {
79
79
  /**
80
- * Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
80
+ * Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
81
81
  **/
82
82
  canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
83
83
  /**
@@ -276,6 +276,115 @@ declare module '@polkadot/api-base/types/calls' {
276
276
  **/
277
277
  [key: string]: DecoratedCallBase<ApiType>;
278
278
  };
279
+ /** 0x8c403e5c4a9fd442/ */
280
+ reviveApi: {
281
+ /**
282
+ * Returns the free balance of the given `[H160]` address, using EVM decimals.
283
+ **/
284
+ balance: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<U256>>;
285
+ /**
286
+ * Returns the block gas limit.
287
+ **/
288
+ blockGasLimit: AugmentedCall<ApiType, () => Observable<U256>>;
289
+ /**
290
+ * Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`].
291
+ **/
292
+ call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | {
293
+ refTime?: any;
294
+ proofSize?: any;
295
+ } | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PalletRevivePrimitivesContractResultExecReturnValue>>;
296
+ /**
297
+ * Perform an Ethereum call.,, See [`crate::Pallet::bare_eth_transact`]
298
+ **/
299
+ ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
300
+ accessList?: any;
301
+ blobVersionedHashes?: any;
302
+ blobs?: any;
303
+ chainId?: any;
304
+ from?: any;
305
+ gas?: any;
306
+ gasPrice?: any;
307
+ input?: any;
308
+ maxFeePerBlobGas?: any;
309
+ maxFeePerGas?: any;
310
+ maxPriorityFeePerGas?: any;
311
+ nonce?: any;
312
+ to?: any;
313
+ r_type?: any;
314
+ value?: any;
315
+ } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
316
+ /**
317
+ * Returns the gas price.
318
+ **/
319
+ gasPrice: AugmentedCall<ApiType, () => Observable<U256>>;
320
+ /**
321
+ * Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
322
+ **/
323
+ getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
324
+ /**
325
+ * Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
326
+ **/
327
+ instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | {
328
+ refTime?: any;
329
+ proofSize?: any;
330
+ } | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PalletRevivePrimitivesCode | {
331
+ Upload: any;
332
+ } | {
333
+ Existing: any;
334
+ } | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => Observable<PalletRevivePrimitivesContractResultInstantiateReturnValue>>;
335
+ /**
336
+ * Returns the nonce of the given `[H160]` address.
337
+ **/
338
+ nonce: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<u32>>;
339
+ /**
340
+ * Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
341
+ **/
342
+ traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | {
343
+ header?: any;
344
+ extrinsics?: any;
345
+ } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
346
+ CallTracer: any;
347
+ } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
348
+ /**
349
+ * Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
350
+ **/
351
+ traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
352
+ accessList?: any;
353
+ blobVersionedHashes?: any;
354
+ blobs?: any;
355
+ chainId?: any;
356
+ from?: any;
357
+ gas?: any;
358
+ gasPrice?: any;
359
+ input?: any;
360
+ maxFeePerBlobGas?: any;
361
+ maxFeePerGas?: any;
362
+ maxPriorityFeePerGas?: any;
363
+ nonce?: any;
364
+ to?: any;
365
+ r_type?: any;
366
+ value?: any;
367
+ } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
368
+ CallTracer: any;
369
+ } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
370
+ /**
371
+ * Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
372
+ **/
373
+ traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | {
374
+ header?: any;
375
+ extrinsics?: any;
376
+ } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
377
+ CallTracer: any;
378
+ } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
379
+ /**
380
+ * Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
381
+ **/
382
+ uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber) => Observable<Result<PalletRevivePrimitivesCodeUploadReturnValue, SpRuntimeDispatchError>>>;
383
+ /**
384
+ * Generic call
385
+ **/
386
+ [key: string]: DecoratedCallBase<ApiType>;
387
+ };
279
388
  /** 0xab3c0572291feb8b/ */
280
389
  sessionKeys: {
281
390
  /**