@dedot/chaintypes 0.33.0 → 0.34.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@coongcrafts.io>",
6
6
  "main": "",
@@ -19,7 +19,7 @@
19
19
  "directory": "dist"
20
20
  },
21
21
  "license": "Apache-2.0",
22
- "gitHead": "e0e11e70e46a362d520c53417db80e73f5d6fc53",
22
+ "gitHead": "b37dee7a08991967df7891c4e887b40f883fd991",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts"
25
25
  }
@@ -1,7 +1,7 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion, Bytes, Permill } from 'dedot/codecs';
4
+ import type { RuntimeVersion, Bytes, Permill, Perbill } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
7
7
  FrameSystemLimitsBlockLength,
@@ -823,6 +823,63 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
823
823
  **/
824
824
  [name: string]: any;
825
825
  };
826
+ /**
827
+ * Pallet `Revive`'s constants
828
+ **/
829
+ revive: {
830
+ /**
831
+ * The amount of balance a caller has to pay for each byte of storage.
832
+ *
833
+ * # Note
834
+ *
835
+ * It is safe to change this value on a live chain as all refunds are pro rata.
836
+ **/
837
+ depositPerByte: bigint;
838
+
839
+ /**
840
+ * The amount of balance a caller has to pay for each storage item.
841
+ *
842
+ * # Note
843
+ *
844
+ * It is safe to change this value on a live chain as all refunds are pro rata.
845
+ **/
846
+ depositPerItem: bigint;
847
+
848
+ /**
849
+ * The percentage of the storage deposit that should be held for using a code hash.
850
+ * Instantiating a contract, or calling [`chain_extension::Ext::lock_delegate_dependency`]
851
+ * protects the code from being removed. In order to prevent abuse these actions are
852
+ * protected with a percentage of the code deposit.
853
+ **/
854
+ codeHashLockupDepositPercent: Perbill;
855
+
856
+ /**
857
+ * Make contract callable functions marked as `#[unstable]` available.
858
+ *
859
+ * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
860
+ * this is set to `true`. This is only meant for testnets and dev nodes in order to
861
+ * experiment with new features.
862
+ *
863
+ * # Warning
864
+ *
865
+ * Do **not** set to `true` on productions chains.
866
+ **/
867
+ unsafeUnstableInterface: boolean;
868
+
869
+ /**
870
+ * The [EIP-155](https://eips.ethereum.org/EIPS/eip-155) chain ID.
871
+ *
872
+ * This is a unique identifier assigned to each blockchain network,
873
+ * preventing replay attacks.
874
+ **/
875
+ chainId: bigint;
876
+ apiVersion: number;
877
+
878
+ /**
879
+ * Generic pallet constant
880
+ **/
881
+ [name: string]: any;
882
+ };
826
883
  /**
827
884
  * Pallet `StateTrieMigration`'s constants
828
885
  **/
@@ -1558,6 +1558,247 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1558
1558
  **/
1559
1559
  [error: string]: GenericPalletError<Rv>;
1560
1560
  };
1561
+ /**
1562
+ * Pallet `Revive`'s errors
1563
+ **/
1564
+ revive: {
1565
+ /**
1566
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
1567
+ **/
1568
+ InvalidSchedule: GenericPalletError<Rv>;
1569
+
1570
+ /**
1571
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
1572
+ **/
1573
+ InvalidCallFlags: GenericPalletError<Rv>;
1574
+
1575
+ /**
1576
+ * The executed contract exhausted its gas limit.
1577
+ **/
1578
+ OutOfGas: GenericPalletError<Rv>;
1579
+
1580
+ /**
1581
+ * Performing the requested transfer failed. Probably because there isn't enough
1582
+ * free balance in the sender's account.
1583
+ **/
1584
+ TransferFailed: GenericPalletError<Rv>;
1585
+
1586
+ /**
1587
+ * Performing a call was denied because the calling depth reached the limit
1588
+ * of what is specified in the schedule.
1589
+ **/
1590
+ MaxCallDepthReached: GenericPalletError<Rv>;
1591
+
1592
+ /**
1593
+ * No contract was found at the specified address.
1594
+ **/
1595
+ ContractNotFound: GenericPalletError<Rv>;
1596
+
1597
+ /**
1598
+ * No code could be found at the supplied code hash.
1599
+ **/
1600
+ CodeNotFound: GenericPalletError<Rv>;
1601
+
1602
+ /**
1603
+ * No code info could be found at the supplied code hash.
1604
+ **/
1605
+ CodeInfoNotFound: GenericPalletError<Rv>;
1606
+
1607
+ /**
1608
+ * A buffer outside of sandbox memory was passed to a contract API function.
1609
+ **/
1610
+ OutOfBounds: GenericPalletError<Rv>;
1611
+
1612
+ /**
1613
+ * Input passed to a contract API function failed to decode as expected type.
1614
+ **/
1615
+ DecodingFailed: GenericPalletError<Rv>;
1616
+
1617
+ /**
1618
+ * Contract trapped during execution.
1619
+ **/
1620
+ ContractTrapped: GenericPalletError<Rv>;
1621
+
1622
+ /**
1623
+ * The size defined in `T::MaxValueSize` was exceeded.
1624
+ **/
1625
+ ValueTooLarge: GenericPalletError<Rv>;
1626
+
1627
+ /**
1628
+ * Termination of a contract is not allowed while the contract is already
1629
+ * on the call stack. Can be triggered by `seal_terminate`.
1630
+ **/
1631
+ TerminatedWhileReentrant: GenericPalletError<Rv>;
1632
+
1633
+ /**
1634
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
1635
+ **/
1636
+ InputForwarded: GenericPalletError<Rv>;
1637
+
1638
+ /**
1639
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
1640
+ **/
1641
+ TooManyTopics: GenericPalletError<Rv>;
1642
+
1643
+ /**
1644
+ * The chain does not provide a chain extension. Calling the chain extension results
1645
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
1646
+ * is rejected.
1647
+ **/
1648
+ NoChainExtension: GenericPalletError<Rv>;
1649
+
1650
+ /**
1651
+ * Failed to decode the XCM program.
1652
+ **/
1653
+ XcmDecodeFailed: GenericPalletError<Rv>;
1654
+
1655
+ /**
1656
+ * A contract with the same AccountId already exists.
1657
+ **/
1658
+ DuplicateContract: GenericPalletError<Rv>;
1659
+
1660
+ /**
1661
+ * A contract self destructed in its constructor.
1662
+ *
1663
+ * This can be triggered by a call to `seal_terminate`.
1664
+ **/
1665
+ TerminatedInConstructor: GenericPalletError<Rv>;
1666
+
1667
+ /**
1668
+ * A call tried to invoke a contract that is flagged as non-reentrant.
1669
+ **/
1670
+ ReentranceDenied: GenericPalletError<Rv>;
1671
+
1672
+ /**
1673
+ * A contract called into the runtime which then called back into this pallet.
1674
+ **/
1675
+ ReenteredPallet: GenericPalletError<Rv>;
1676
+
1677
+ /**
1678
+ * A contract attempted to invoke a state modifying API while being in read-only mode.
1679
+ **/
1680
+ StateChangeDenied: GenericPalletError<Rv>;
1681
+
1682
+ /**
1683
+ * Origin doesn't have enough balance to pay the required storage deposits.
1684
+ **/
1685
+ StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
1686
+
1687
+ /**
1688
+ * More storage was created than allowed by the storage deposit limit.
1689
+ **/
1690
+ StorageDepositLimitExhausted: GenericPalletError<Rv>;
1691
+
1692
+ /**
1693
+ * Code removal was denied because the code is still in use by at least one contract.
1694
+ **/
1695
+ CodeInUse: GenericPalletError<Rv>;
1696
+
1697
+ /**
1698
+ * The contract ran to completion but decided to revert its storage changes.
1699
+ * Please note that this error is only returned from extrinsics. When called directly
1700
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
1701
+ * to determine whether a reversion has taken place.
1702
+ **/
1703
+ ContractReverted: GenericPalletError<Rv>;
1704
+
1705
+ /**
1706
+ * The contract failed to compile or is missing the correct entry points.
1707
+ *
1708
+ * A more detailed error can be found on the node console if debug messages are enabled
1709
+ * by supplying `-lruntime::revive=debug`.
1710
+ **/
1711
+ CodeRejected: GenericPalletError<Rv>;
1712
+
1713
+ /**
1714
+ * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
1715
+ **/
1716
+ BlobTooLarge: GenericPalletError<Rv>;
1717
+
1718
+ /**
1719
+ * The static memory consumption of the blob will be larger than
1720
+ * [`limits::code::STATIC_MEMORY_BYTES`].
1721
+ **/
1722
+ StaticMemoryTooLarge: GenericPalletError<Rv>;
1723
+
1724
+ /**
1725
+ * The program contains a basic block that is larger than allowed.
1726
+ **/
1727
+ BasicBlockTooLarge: GenericPalletError<Rv>;
1728
+
1729
+ /**
1730
+ * The program contains an invalid instruction.
1731
+ **/
1732
+ InvalidInstruction: GenericPalletError<Rv>;
1733
+
1734
+ /**
1735
+ * The contract has reached its maximum number of delegate dependencies.
1736
+ **/
1737
+ MaxDelegateDependenciesReached: GenericPalletError<Rv>;
1738
+
1739
+ /**
1740
+ * The dependency was not found in the contract's delegate dependencies.
1741
+ **/
1742
+ DelegateDependencyNotFound: GenericPalletError<Rv>;
1743
+
1744
+ /**
1745
+ * The contract already depends on the given delegate dependency.
1746
+ **/
1747
+ DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
1748
+
1749
+ /**
1750
+ * Can not add a delegate dependency to the code hash of the contract itself.
1751
+ **/
1752
+ CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
1753
+
1754
+ /**
1755
+ * Can not add more data to transient storage.
1756
+ **/
1757
+ OutOfTransientStorage: GenericPalletError<Rv>;
1758
+
1759
+ /**
1760
+ * The contract tried to call a syscall which does not exist (at its current api level).
1761
+ **/
1762
+ InvalidSyscall: GenericPalletError<Rv>;
1763
+
1764
+ /**
1765
+ * Invalid storage flags were passed to one of the storage syscalls.
1766
+ **/
1767
+ InvalidStorageFlags: GenericPalletError<Rv>;
1768
+
1769
+ /**
1770
+ * PolkaVM failed during code execution. Probably due to a malformed program.
1771
+ **/
1772
+ ExecutionFailed: GenericPalletError<Rv>;
1773
+
1774
+ /**
1775
+ * Failed to convert a U256 to a Balance.
1776
+ **/
1777
+ BalanceConversionFailed: GenericPalletError<Rv>;
1778
+
1779
+ /**
1780
+ * Immutable data can only be set during deploys and only be read during calls.
1781
+ * Additionally, it is only valid to set the data once and it must not be empty.
1782
+ **/
1783
+ InvalidImmutableAccess: GenericPalletError<Rv>;
1784
+
1785
+ /**
1786
+ * An `AccountID32` account tried to interact with the pallet without having a mapping.
1787
+ *
1788
+ * Call [`Pallet::map_account`] in order to create a mapping for the account.
1789
+ **/
1790
+ AccountUnmapped: GenericPalletError<Rv>;
1791
+
1792
+ /**
1793
+ * Tried to map an account that is already mapped.
1794
+ **/
1795
+ AccountAlreadyMapped: GenericPalletError<Rv>;
1796
+
1797
+ /**
1798
+ * Generic pallet error
1799
+ **/
1800
+ [error: string]: GenericPalletError<Rv>;
1801
+ };
1561
1802
  /**
1562
1803
  * Pallet `StateTrieMigration`'s errors
1563
1804
  **/
@@ -2,7 +2,6 @@
2
2
 
3
3
  import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
4
  import type {
5
- DispatchInfo,
6
5
  DispatchError,
7
6
  AccountId32,
8
7
  H256,
@@ -11,8 +10,10 @@ import type {
11
10
  Result,
12
11
  Bytes,
13
12
  Permill,
13
+ H160,
14
14
  } from 'dedot/codecs';
15
15
  import type {
16
+ FrameSystemDispatchEventInfo,
16
17
  SpWeightsWeightV2Weight,
17
18
  FrameSupportTokensMiscBalanceStatus,
18
19
  StagingXcmV4Location,
@@ -30,6 +31,7 @@ import type {
30
31
  PalletNftsAttributeNamespace,
31
32
  PalletNftsPriceWithDirection,
32
33
  PalletNftsPalletAttributes,
34
+ PalletReviveExecOrigin,
33
35
  PalletStateTrieMigrationMigrationCompute,
34
36
  PalletStateTrieMigrationError,
35
37
  } from './types';
@@ -42,7 +44,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
42
44
  /**
43
45
  * An extrinsic completed successfully.
44
46
  **/
45
- ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
47
+ ExtrinsicSuccess: GenericPalletEvent<
48
+ Rv,
49
+ 'System',
50
+ 'ExtrinsicSuccess',
51
+ { dispatchInfo: FrameSystemDispatchEventInfo }
52
+ >;
46
53
 
47
54
  /**
48
55
  * An extrinsic failed.
@@ -51,7 +58,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
51
58
  Rv,
52
59
  'System',
53
60
  'ExtrinsicFailed',
54
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
61
+ { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
55
62
  >;
56
63
 
57
64
  /**
@@ -2545,6 +2552,185 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2545
2552
  **/
2546
2553
  [prop: string]: GenericPalletEvent<Rv>;
2547
2554
  };
2555
+ /**
2556
+ * Pallet `Revive`'s events
2557
+ **/
2558
+ revive: {
2559
+ /**
2560
+ * Contract deployed by address at the specified address.
2561
+ **/
2562
+ Instantiated: GenericPalletEvent<Rv, 'Revive', 'Instantiated', { deployer: H160; contract: H160 }>;
2563
+
2564
+ /**
2565
+ * Contract has been removed.
2566
+ *
2567
+ * # Note
2568
+ *
2569
+ * The only way for a contract to be removed and emitting this event is by calling
2570
+ * `seal_terminate`.
2571
+ **/
2572
+ Terminated: GenericPalletEvent<
2573
+ Rv,
2574
+ 'Revive',
2575
+ 'Terminated',
2576
+ {
2577
+ /**
2578
+ * The contract that was terminated.
2579
+ **/
2580
+ contract: H160;
2581
+
2582
+ /**
2583
+ * The account that received the contracts remaining balance
2584
+ **/
2585
+ beneficiary: H160;
2586
+ }
2587
+ >;
2588
+
2589
+ /**
2590
+ * Code with the specified hash has been stored.
2591
+ **/
2592
+ CodeStored: GenericPalletEvent<Rv, 'Revive', 'CodeStored', { codeHash: H256; depositHeld: bigint; uploader: H160 }>;
2593
+
2594
+ /**
2595
+ * A custom event emitted by the contract.
2596
+ **/
2597
+ ContractEmitted: GenericPalletEvent<
2598
+ Rv,
2599
+ 'Revive',
2600
+ 'ContractEmitted',
2601
+ {
2602
+ /**
2603
+ * The contract that emitted the event.
2604
+ **/
2605
+ contract: H160;
2606
+
2607
+ /**
2608
+ * Data supplied by the contract. Metadata generated during contract compilation
2609
+ * is needed to decode it.
2610
+ **/
2611
+ data: Bytes;
2612
+
2613
+ /**
2614
+ * A list of topics used to index the event.
2615
+ * Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
2616
+ **/
2617
+ topics: Array<H256>;
2618
+ }
2619
+ >;
2620
+
2621
+ /**
2622
+ * A code with the specified hash was removed.
2623
+ **/
2624
+ CodeRemoved: GenericPalletEvent<
2625
+ Rv,
2626
+ 'Revive',
2627
+ 'CodeRemoved',
2628
+ { codeHash: H256; depositReleased: bigint; remover: H160 }
2629
+ >;
2630
+
2631
+ /**
2632
+ * A contract's code was updated.
2633
+ **/
2634
+ ContractCodeUpdated: GenericPalletEvent<
2635
+ Rv,
2636
+ 'Revive',
2637
+ 'ContractCodeUpdated',
2638
+ {
2639
+ /**
2640
+ * The contract that has been updated.
2641
+ **/
2642
+ contract: H160;
2643
+
2644
+ /**
2645
+ * New code hash that was set for the contract.
2646
+ **/
2647
+ newCodeHash: H256;
2648
+
2649
+ /**
2650
+ * Previous code hash of the contract.
2651
+ **/
2652
+ oldCodeHash: H256;
2653
+ }
2654
+ >;
2655
+
2656
+ /**
2657
+ * A contract was called either by a plain account or another contract.
2658
+ *
2659
+ * # Note
2660
+ *
2661
+ * Please keep in mind that like all events this is only emitted for successful
2662
+ * calls. This is because on failure all storage changes including events are
2663
+ * rolled back.
2664
+ **/
2665
+ Called: GenericPalletEvent<
2666
+ Rv,
2667
+ 'Revive',
2668
+ 'Called',
2669
+ {
2670
+ /**
2671
+ * The caller of the `contract`.
2672
+ **/
2673
+ caller: PalletReviveExecOrigin;
2674
+
2675
+ /**
2676
+ * The contract that was called.
2677
+ **/
2678
+ contract: H160;
2679
+ }
2680
+ >;
2681
+
2682
+ /**
2683
+ * A contract delegate called a code hash.
2684
+ *
2685
+ * # Note
2686
+ *
2687
+ * Please keep in mind that like all events this is only emitted for successful
2688
+ * calls. This is because on failure all storage changes including events are
2689
+ * rolled back.
2690
+ **/
2691
+ DelegateCalled: GenericPalletEvent<
2692
+ Rv,
2693
+ 'Revive',
2694
+ 'DelegateCalled',
2695
+ {
2696
+ /**
2697
+ * The contract that performed the delegate call and hence in whose context
2698
+ * the `code_hash` is executed.
2699
+ **/
2700
+ contract: H160;
2701
+
2702
+ /**
2703
+ * The code hash that was delegate called.
2704
+ **/
2705
+ codeHash: H256;
2706
+ }
2707
+ >;
2708
+
2709
+ /**
2710
+ * Some funds have been transferred and held as storage deposit.
2711
+ **/
2712
+ StorageDepositTransferredAndHeld: GenericPalletEvent<
2713
+ Rv,
2714
+ 'Revive',
2715
+ 'StorageDepositTransferredAndHeld',
2716
+ { from: H160; to: H160; amount: bigint }
2717
+ >;
2718
+
2719
+ /**
2720
+ * Some storage deposit funds have been transferred and released.
2721
+ **/
2722
+ StorageDepositTransferredAndReleased: GenericPalletEvent<
2723
+ Rv,
2724
+ 'Revive',
2725
+ 'StorageDepositTransferredAndReleased',
2726
+ { from: H160; to: H160; amount: bigint }
2727
+ >;
2728
+
2729
+ /**
2730
+ * Generic pallet event
2731
+ **/
2732
+ [prop: string]: GenericPalletEvent<Rv>;
2733
+ };
2548
2734
  /**
2549
2735
  * Pallet `StateTrieMigration`'s events
2550
2736
  **/
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
23
23
 
24
24
  /**
25
25
  * @name: WestendAssetHubApi
26
- * @specVersion: 1016002
26
+ * @specVersion: 1016003
27
27
  **/
28
28
  export interface WestendAssetHubApi {
29
29
  legacy: VersionedWestendAssetHubApi<RpcLegacy>;
@@ -11,6 +11,7 @@ import type {
11
11
  FixedU128,
12
12
  BytesLike,
13
13
  FixedBytes,
14
+ H160,
14
15
  } from 'dedot/codecs';
15
16
  import type {
16
17
  FrameSystemAccountInfo,
@@ -77,6 +78,9 @@ import type {
77
78
  PalletNftFractionalizationDetails,
78
79
  PalletAssetConversionPoolInfo,
79
80
  FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
81
+ PalletReviveWasmCodeInfo,
82
+ PalletReviveStorageContractInfo,
83
+ PalletReviveStorageDeletionQueueManager,
80
84
  PalletStateTrieMigrationMigrationTask,
81
85
  PalletStateTrieMigrationMigrationLimits,
82
86
  } from './types';
@@ -1840,6 +1844,78 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1840
1844
  **/
1841
1845
  [storage: string]: GenericStorageQuery<Rv>;
1842
1846
  };
1847
+ /**
1848
+ * Pallet `Revive`'s storage queries
1849
+ **/
1850
+ revive: {
1851
+ /**
1852
+ * A mapping from a contract's code hash to its code.
1853
+ *
1854
+ * @param {H256} arg
1855
+ * @param {Callback<Bytes | undefined> =} callback
1856
+ **/
1857
+ pristineCode: GenericStorageQuery<Rv, (arg: H256) => Bytes | undefined, H256>;
1858
+
1859
+ /**
1860
+ * A mapping from a contract's code hash to its code info.
1861
+ *
1862
+ * @param {H256} arg
1863
+ * @param {Callback<PalletReviveWasmCodeInfo | undefined> =} callback
1864
+ **/
1865
+ codeInfoOf: GenericStorageQuery<Rv, (arg: H256) => PalletReviveWasmCodeInfo | undefined, H256>;
1866
+
1867
+ /**
1868
+ * The code associated with a given account.
1869
+ *
1870
+ * @param {H160} arg
1871
+ * @param {Callback<PalletReviveStorageContractInfo | undefined> =} callback
1872
+ **/
1873
+ contractInfoOf: GenericStorageQuery<Rv, (arg: H160) => PalletReviveStorageContractInfo | undefined, H160>;
1874
+
1875
+ /**
1876
+ * The immutable data associated with a given account.
1877
+ *
1878
+ * @param {H160} arg
1879
+ * @param {Callback<Bytes | undefined> =} callback
1880
+ **/
1881
+ immutableDataOf: GenericStorageQuery<Rv, (arg: H160) => Bytes | undefined, H160>;
1882
+
1883
+ /**
1884
+ * Evicted contracts that await child trie deletion.
1885
+ *
1886
+ * Child trie deletion is a heavy operation depending on the amount of storage items
1887
+ * stored in said trie. Therefore this operation is performed lazily in `on_idle`.
1888
+ *
1889
+ * @param {number} arg
1890
+ * @param {Callback<Bytes | undefined> =} callback
1891
+ **/
1892
+ deletionQueue: GenericStorageQuery<Rv, (arg: number) => Bytes | undefined, number>;
1893
+
1894
+ /**
1895
+ * A pair of monotonic counters used to track the latest contract marked for deletion
1896
+ * and the latest deleted contract in queue.
1897
+ *
1898
+ * @param {Callback<PalletReviveStorageDeletionQueueManager> =} callback
1899
+ **/
1900
+ deletionQueueCounter: GenericStorageQuery<Rv, () => PalletReviveStorageDeletionQueueManager>;
1901
+
1902
+ /**
1903
+ * Map a Ethereum address to its original `AccountId32`.
1904
+ *
1905
+ * Stores the last 12 byte for addresses that were originally an `AccountId32` instead
1906
+ * of an `H160`. Register your `AccountId32` using [`Pallet::map_account`] in order to
1907
+ * use it with this pallet.
1908
+ *
1909
+ * @param {H160} arg
1910
+ * @param {Callback<FixedBytes<12> | undefined> =} callback
1911
+ **/
1912
+ addressSuffix: GenericStorageQuery<Rv, (arg: H160) => FixedBytes<12> | undefined, H160>;
1913
+
1914
+ /**
1915
+ * Generic pallet storage query
1916
+ **/
1917
+ [storage: string]: GenericStorageQuery<Rv>;
1918
+ };
1843
1919
  /**
1844
1920
  * Pallet `StateTrieMigration`'s storage queries
1845
1921
  **/