@dedot/chaintypes 0.0.1-alpha.46 → 0.0.1-alpha.48

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.
@@ -1671,130 +1671,6 @@ export interface ChainEvents extends GenericChainEvents {
1671
1671
  **/
1672
1672
  [prop: string]: GenericPalletEvent;
1673
1673
  };
1674
- /**
1675
- * Pallet `CouncilCollective`'s events
1676
- **/
1677
- councilCollective: {
1678
- /**
1679
- * A motion (given hash) has been proposed (by given account) with a threshold (given
1680
- * `MemberCount`).
1681
- **/
1682
- Proposed: GenericPalletEvent<
1683
- 'CouncilCollective',
1684
- 'Proposed',
1685
- { account: AccountId20; proposalIndex: number; proposalHash: H256; threshold: number }
1686
- >;
1687
-
1688
- /**
1689
- * A motion (given hash) has been voted on by given account, leaving
1690
- * a tally (yes votes and no votes given respectively as `MemberCount`).
1691
- **/
1692
- Voted: GenericPalletEvent<
1693
- 'CouncilCollective',
1694
- 'Voted',
1695
- { account: AccountId20; proposalHash: H256; voted: boolean; yes: number; no: number }
1696
- >;
1697
-
1698
- /**
1699
- * A motion was approved by the required threshold.
1700
- **/
1701
- Approved: GenericPalletEvent<'CouncilCollective', 'Approved', { proposalHash: H256 }>;
1702
-
1703
- /**
1704
- * A motion was not approved by the required threshold.
1705
- **/
1706
- Disapproved: GenericPalletEvent<'CouncilCollective', 'Disapproved', { proposalHash: H256 }>;
1707
-
1708
- /**
1709
- * A motion was executed; result will be `Ok` if it returned without error.
1710
- **/
1711
- Executed: GenericPalletEvent<
1712
- 'CouncilCollective',
1713
- 'Executed',
1714
- { proposalHash: H256; result: Result<[], DispatchError> }
1715
- >;
1716
-
1717
- /**
1718
- * A single member did some action; result will be `Ok` if it returned without error.
1719
- **/
1720
- MemberExecuted: GenericPalletEvent<
1721
- 'CouncilCollective',
1722
- 'MemberExecuted',
1723
- { proposalHash: H256; result: Result<[], DispatchError> }
1724
- >;
1725
-
1726
- /**
1727
- * A proposal was closed because its threshold was reached or after its duration was up.
1728
- **/
1729
- Closed: GenericPalletEvent<'CouncilCollective', 'Closed', { proposalHash: H256; yes: number; no: number }>;
1730
-
1731
- /**
1732
- * Generic pallet event
1733
- **/
1734
- [prop: string]: GenericPalletEvent;
1735
- };
1736
- /**
1737
- * Pallet `TechCommitteeCollective`'s events
1738
- **/
1739
- techCommitteeCollective: {
1740
- /**
1741
- * A motion (given hash) has been proposed (by given account) with a threshold (given
1742
- * `MemberCount`).
1743
- **/
1744
- Proposed: GenericPalletEvent<
1745
- 'TechCommitteeCollective',
1746
- 'Proposed',
1747
- { account: AccountId20; proposalIndex: number; proposalHash: H256; threshold: number }
1748
- >;
1749
-
1750
- /**
1751
- * A motion (given hash) has been voted on by given account, leaving
1752
- * a tally (yes votes and no votes given respectively as `MemberCount`).
1753
- **/
1754
- Voted: GenericPalletEvent<
1755
- 'TechCommitteeCollective',
1756
- 'Voted',
1757
- { account: AccountId20; proposalHash: H256; voted: boolean; yes: number; no: number }
1758
- >;
1759
-
1760
- /**
1761
- * A motion was approved by the required threshold.
1762
- **/
1763
- Approved: GenericPalletEvent<'TechCommitteeCollective', 'Approved', { proposalHash: H256 }>;
1764
-
1765
- /**
1766
- * A motion was not approved by the required threshold.
1767
- **/
1768
- Disapproved: GenericPalletEvent<'TechCommitteeCollective', 'Disapproved', { proposalHash: H256 }>;
1769
-
1770
- /**
1771
- * A motion was executed; result will be `Ok` if it returned without error.
1772
- **/
1773
- Executed: GenericPalletEvent<
1774
- 'TechCommitteeCollective',
1775
- 'Executed',
1776
- { proposalHash: H256; result: Result<[], DispatchError> }
1777
- >;
1778
-
1779
- /**
1780
- * A single member did some action; result will be `Ok` if it returned without error.
1781
- **/
1782
- MemberExecuted: GenericPalletEvent<
1783
- 'TechCommitteeCollective',
1784
- 'MemberExecuted',
1785
- { proposalHash: H256; result: Result<[], DispatchError> }
1786
- >;
1787
-
1788
- /**
1789
- * A proposal was closed because its threshold was reached or after its duration was up.
1790
- **/
1791
- Closed: GenericPalletEvent<'TechCommitteeCollective', 'Closed', { proposalHash: H256; yes: number; no: number }>;
1792
-
1793
- /**
1794
- * Generic pallet event
1795
- **/
1796
- [prop: string]: GenericPalletEvent;
1797
- };
1798
1674
  /**
1799
1675
  * Pallet `TreasuryCouncilCollective`'s events
1800
1676
  **/
@@ -2873,180 +2749,6 @@ export interface ChainEvents extends GenericChainEvents {
2873
2749
  **/
2874
2750
  [prop: string]: GenericPalletEvent;
2875
2751
  };
2876
- /**
2877
- * Pallet `LocalAssets`'s events
2878
- **/
2879
- localAssets: {
2880
- /**
2881
- * Some asset class was created.
2882
- **/
2883
- Created: GenericPalletEvent<
2884
- 'LocalAssets',
2885
- 'Created',
2886
- { assetId: bigint; creator: AccountId20; owner: AccountId20 }
2887
- >;
2888
-
2889
- /**
2890
- * Some assets were issued.
2891
- **/
2892
- Issued: GenericPalletEvent<'LocalAssets', 'Issued', { assetId: bigint; owner: AccountId20; amount: bigint }>;
2893
-
2894
- /**
2895
- * Some assets were transferred.
2896
- **/
2897
- Transferred: GenericPalletEvent<
2898
- 'LocalAssets',
2899
- 'Transferred',
2900
- { assetId: bigint; from: AccountId20; to: AccountId20; amount: bigint }
2901
- >;
2902
-
2903
- /**
2904
- * Some assets were destroyed.
2905
- **/
2906
- Burned: GenericPalletEvent<'LocalAssets', 'Burned', { assetId: bigint; owner: AccountId20; balance: bigint }>;
2907
-
2908
- /**
2909
- * The management team changed.
2910
- **/
2911
- TeamChanged: GenericPalletEvent<
2912
- 'LocalAssets',
2913
- 'TeamChanged',
2914
- { assetId: bigint; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 }
2915
- >;
2916
-
2917
- /**
2918
- * The owner changed.
2919
- **/
2920
- OwnerChanged: GenericPalletEvent<'LocalAssets', 'OwnerChanged', { assetId: bigint; owner: AccountId20 }>;
2921
-
2922
- /**
2923
- * Some account `who` was frozen.
2924
- **/
2925
- Frozen: GenericPalletEvent<'LocalAssets', 'Frozen', { assetId: bigint; who: AccountId20 }>;
2926
-
2927
- /**
2928
- * Some account `who` was thawed.
2929
- **/
2930
- Thawed: GenericPalletEvent<'LocalAssets', 'Thawed', { assetId: bigint; who: AccountId20 }>;
2931
-
2932
- /**
2933
- * Some asset `asset_id` was frozen.
2934
- **/
2935
- AssetFrozen: GenericPalletEvent<'LocalAssets', 'AssetFrozen', { assetId: bigint }>;
2936
-
2937
- /**
2938
- * Some asset `asset_id` was thawed.
2939
- **/
2940
- AssetThawed: GenericPalletEvent<'LocalAssets', 'AssetThawed', { assetId: bigint }>;
2941
-
2942
- /**
2943
- * Accounts were destroyed for given asset.
2944
- **/
2945
- AccountsDestroyed: GenericPalletEvent<
2946
- 'LocalAssets',
2947
- 'AccountsDestroyed',
2948
- { assetId: bigint; accountsDestroyed: number; accountsRemaining: number }
2949
- >;
2950
-
2951
- /**
2952
- * Approvals were destroyed for given asset.
2953
- **/
2954
- ApprovalsDestroyed: GenericPalletEvent<
2955
- 'LocalAssets',
2956
- 'ApprovalsDestroyed',
2957
- { assetId: bigint; approvalsDestroyed: number; approvalsRemaining: number }
2958
- >;
2959
-
2960
- /**
2961
- * An asset class is in the process of being destroyed.
2962
- **/
2963
- DestructionStarted: GenericPalletEvent<'LocalAssets', 'DestructionStarted', { assetId: bigint }>;
2964
-
2965
- /**
2966
- * An asset class was destroyed.
2967
- **/
2968
- Destroyed: GenericPalletEvent<'LocalAssets', 'Destroyed', { assetId: bigint }>;
2969
-
2970
- /**
2971
- * Some asset class was force-created.
2972
- **/
2973
- ForceCreated: GenericPalletEvent<'LocalAssets', 'ForceCreated', { assetId: bigint; owner: AccountId20 }>;
2974
-
2975
- /**
2976
- * New metadata has been set for an asset.
2977
- **/
2978
- MetadataSet: GenericPalletEvent<
2979
- 'LocalAssets',
2980
- 'MetadataSet',
2981
- { assetId: bigint; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
2982
- >;
2983
-
2984
- /**
2985
- * Metadata has been cleared for an asset.
2986
- **/
2987
- MetadataCleared: GenericPalletEvent<'LocalAssets', 'MetadataCleared', { assetId: bigint }>;
2988
-
2989
- /**
2990
- * (Additional) funds have been approved for transfer to a destination account.
2991
- **/
2992
- ApprovedTransfer: GenericPalletEvent<
2993
- 'LocalAssets',
2994
- 'ApprovedTransfer',
2995
- { assetId: bigint; source: AccountId20; delegate: AccountId20; amount: bigint }
2996
- >;
2997
-
2998
- /**
2999
- * An approval for account `delegate` was cancelled by `owner`.
3000
- **/
3001
- ApprovalCancelled: GenericPalletEvent<
3002
- 'LocalAssets',
3003
- 'ApprovalCancelled',
3004
- { assetId: bigint; owner: AccountId20; delegate: AccountId20 }
3005
- >;
3006
-
3007
- /**
3008
- * An `amount` was transferred in its entirety from `owner` to `destination` by
3009
- * the approved `delegate`.
3010
- **/
3011
- TransferredApproved: GenericPalletEvent<
3012
- 'LocalAssets',
3013
- 'TransferredApproved',
3014
- { assetId: bigint; owner: AccountId20; delegate: AccountId20; destination: AccountId20; amount: bigint }
3015
- >;
3016
-
3017
- /**
3018
- * An asset has had its attributes changed by the `Force` origin.
3019
- **/
3020
- AssetStatusChanged: GenericPalletEvent<'LocalAssets', 'AssetStatusChanged', { assetId: bigint }>;
3021
-
3022
- /**
3023
- * The min_balance of an asset has been updated by the asset owner.
3024
- **/
3025
- AssetMinBalanceChanged: GenericPalletEvent<
3026
- 'LocalAssets',
3027
- 'AssetMinBalanceChanged',
3028
- { assetId: bigint; newMinBalance: bigint }
3029
- >;
3030
-
3031
- /**
3032
- * Some account `who` was created with a deposit from `depositor`.
3033
- **/
3034
- Touched: GenericPalletEvent<
3035
- 'LocalAssets',
3036
- 'Touched',
3037
- { assetId: bigint; who: AccountId20; depositor: AccountId20 }
3038
- >;
3039
-
3040
- /**
3041
- * Some account `who` was blocked.
3042
- **/
3043
- Blocked: GenericPalletEvent<'LocalAssets', 'Blocked', { assetId: bigint; who: AccountId20 }>;
3044
-
3045
- /**
3046
- * Generic pallet event
3047
- **/
3048
- [prop: string]: GenericPalletEvent;
3049
- };
3050
2752
  /**
3051
2753
  * Pallet `Randomness`'s events
3052
2754
  **/
@@ -783,14 +783,6 @@ export interface ChainStorage extends GenericChainStorage {
783
783
  **/
784
784
  delayedPayouts: GenericStorageQuery<(arg: number) => PalletParachainStakingDelayedPayout | undefined>;
785
785
 
786
- /**
787
- * Total counted stake for selected candidates in the round
788
- *
789
- * @param {number} arg
790
- * @param {Callback<bigint> =} callback
791
- **/
792
- staked: GenericStorageQuery<(arg: number) => bigint>;
793
-
794
786
  /**
795
787
  * Inflation configuration
796
788
  *
@@ -837,6 +829,13 @@ export interface ChainStorage extends GenericChainStorage {
837
829
  **/
838
830
  author: GenericStorageQuery<() => AccountId20 | undefined>;
839
831
 
832
+ /**
833
+ * Check if the inherent was included
834
+ *
835
+ * @param {Callback<boolean> =} callback
836
+ **/
837
+ inherentIncluded: GenericStorageQuery<() => boolean>;
838
+
840
839
  /**
841
840
  * Generic pallet storage query
842
841
  **/
@@ -1105,6 +1104,36 @@ export interface ChainStorage extends GenericChainStorage {
1105
1104
  **/
1106
1105
  [storage: string]: GenericStorageQuery;
1107
1106
  };
1107
+ /**
1108
+ * Pallet `MoonbeamLazyMigrations`'s storage queries
1109
+ **/
1110
+ moonbeamLazyMigrations: {
1111
+ /**
1112
+ * If true, it means that LocalAssets storage has been removed.
1113
+ *
1114
+ * @param {Callback<boolean> =} callback
1115
+ **/
1116
+ localAssetsMigrationCompleted: GenericStorageQuery<() => boolean>;
1117
+
1118
+ /**
1119
+ * If true, it means that Democracy funds have been unlocked.
1120
+ *
1121
+ * @param {Callback<boolean> =} callback
1122
+ **/
1123
+ democracyLocksMigrationCompleted: GenericStorageQuery<() => boolean>;
1124
+
1125
+ /**
1126
+ * The total number of suicided contracts that were removed
1127
+ *
1128
+ * @param {Callback<number> =} callback
1129
+ **/
1130
+ suicidedContractsRemoved: GenericStorageQuery<() => number>;
1131
+
1132
+ /**
1133
+ * Generic pallet storage query
1134
+ **/
1135
+ [storage: string]: GenericStorageQuery;
1136
+ };
1108
1137
  /**
1109
1138
  * Pallet `EthereumChainId`'s storage queries
1110
1139
  **/
@@ -1487,112 +1516,6 @@ export interface ChainStorage extends GenericChainStorage {
1487
1516
  **/
1488
1517
  [storage: string]: GenericStorageQuery;
1489
1518
  };
1490
- /**
1491
- * Pallet `CouncilCollective`'s storage queries
1492
- **/
1493
- councilCollective: {
1494
- /**
1495
- * The hashes of the active proposals.
1496
- *
1497
- * @param {Callback<Array<H256>> =} callback
1498
- **/
1499
- proposals: GenericStorageQuery<() => Array<H256>>;
1500
-
1501
- /**
1502
- * Actual proposal for a given hash, if it's current.
1503
- *
1504
- * @param {H256} arg
1505
- * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1506
- **/
1507
- proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1508
-
1509
- /**
1510
- * Votes on a given proposal, if it is ongoing.
1511
- *
1512
- * @param {H256} arg
1513
- * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1514
- **/
1515
- voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1516
-
1517
- /**
1518
- * Proposals so far.
1519
- *
1520
- * @param {Callback<number> =} callback
1521
- **/
1522
- proposalCount: GenericStorageQuery<() => number>;
1523
-
1524
- /**
1525
- * The current members of the collective. This is stored sorted (just by value).
1526
- *
1527
- * @param {Callback<Array<AccountId20>> =} callback
1528
- **/
1529
- members: GenericStorageQuery<() => Array<AccountId20>>;
1530
-
1531
- /**
1532
- * The prime member that helps determine the default vote behavior in case of absentations.
1533
- *
1534
- * @param {Callback<AccountId20 | undefined> =} callback
1535
- **/
1536
- prime: GenericStorageQuery<() => AccountId20 | undefined>;
1537
-
1538
- /**
1539
- * Generic pallet storage query
1540
- **/
1541
- [storage: string]: GenericStorageQuery;
1542
- };
1543
- /**
1544
- * Pallet `TechCommitteeCollective`'s storage queries
1545
- **/
1546
- techCommitteeCollective: {
1547
- /**
1548
- * The hashes of the active proposals.
1549
- *
1550
- * @param {Callback<Array<H256>> =} callback
1551
- **/
1552
- proposals: GenericStorageQuery<() => Array<H256>>;
1553
-
1554
- /**
1555
- * Actual proposal for a given hash, if it's current.
1556
- *
1557
- * @param {H256} arg
1558
- * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1559
- **/
1560
- proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1561
-
1562
- /**
1563
- * Votes on a given proposal, if it is ongoing.
1564
- *
1565
- * @param {H256} arg
1566
- * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1567
- **/
1568
- voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1569
-
1570
- /**
1571
- * Proposals so far.
1572
- *
1573
- * @param {Callback<number> =} callback
1574
- **/
1575
- proposalCount: GenericStorageQuery<() => number>;
1576
-
1577
- /**
1578
- * The current members of the collective. This is stored sorted (just by value).
1579
- *
1580
- * @param {Callback<Array<AccountId20>> =} callback
1581
- **/
1582
- members: GenericStorageQuery<() => Array<AccountId20>>;
1583
-
1584
- /**
1585
- * The prime member that helps determine the default vote behavior in case of absentations.
1586
- *
1587
- * @param {Callback<AccountId20 | undefined> =} callback
1588
- **/
1589
- prime: GenericStorageQuery<() => AccountId20 | undefined>;
1590
-
1591
- /**
1592
- * Generic pallet storage query
1593
- **/
1594
- [storage: string]: GenericStorageQuery;
1595
- };
1596
1519
  /**
1597
1520
  * Pallet `TreasuryCouncilCollective`'s storage queries
1598
1521
  **/
@@ -2251,51 +2174,6 @@ export interface ChainStorage extends GenericChainStorage {
2251
2174
  **/
2252
2175
  [storage: string]: GenericStorageQuery;
2253
2176
  };
2254
- /**
2255
- * Pallet `LocalAssets`'s storage queries
2256
- **/
2257
- localAssets: {
2258
- /**
2259
- * Details of an asset.
2260
- *
2261
- * @param {bigint} arg
2262
- * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
2263
- **/
2264
- asset: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetDetails | undefined>;
2265
-
2266
- /**
2267
- * The holdings of a specific account for a specific asset.
2268
- *
2269
- * @param {[bigint, AccountId20Like]} arg
2270
- * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
2271
- **/
2272
- account: GenericStorageQuery<(arg: [bigint, AccountId20Like]) => PalletAssetsAssetAccount | undefined>;
2273
-
2274
- /**
2275
- * Approved balance transfers. First balance is the amount approved for transfer. Second
2276
- * is the amount of `T::Currency` reserved for storing this.
2277
- * First key is the asset ID, second key is the owner and third key is the delegate.
2278
- *
2279
- * @param {[bigint, AccountId20Like, AccountId20Like]} arg
2280
- * @param {Callback<PalletAssetsApproval | undefined> =} callback
2281
- **/
2282
- approvals: GenericStorageQuery<
2283
- (arg: [bigint, AccountId20Like, AccountId20Like]) => PalletAssetsApproval | undefined
2284
- >;
2285
-
2286
- /**
2287
- * Metadata of an asset.
2288
- *
2289
- * @param {bigint} arg
2290
- * @param {Callback<PalletAssetsAssetMetadata> =} callback
2291
- **/
2292
- metadata: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetMetadata>;
2293
-
2294
- /**
2295
- * Generic pallet storage query
2296
- **/
2297
- [storage: string]: GenericStorageQuery;
2298
- };
2299
2177
  /**
2300
2178
  * Pallet `EthereumXcm`'s storage queries
2301
2179
  **/
package/moonbeam/rpc.d.ts CHANGED
@@ -307,24 +307,6 @@ export interface RpcCalls extends GenericRpcCalls {
307
307
 
308
308
  [method: string]: GenericRpcCall;
309
309
  };
310
- debug: {
311
- /**
312
- * @rpcname: debug_traceBlockByHash
313
- **/
314
- traceBlockByHash: GenericRpcCall;
315
-
316
- /**
317
- * @rpcname: debug_traceBlockByNumber
318
- **/
319
- traceBlockByNumber: GenericRpcCall;
320
-
321
- /**
322
- * @rpcname: debug_traceTransaction
323
- **/
324
- traceTransaction: GenericRpcCall;
325
-
326
- [method: string]: GenericRpcCall;
327
- };
328
310
  eth: {
329
311
  /**
330
312
  * @rpcname: eth_accounts
@@ -960,14 +942,6 @@ export interface RpcCalls extends GenericRpcCalls {
960
942
 
961
943
  [method: string]: GenericRpcCall;
962
944
  };
963
- trace: {
964
- /**
965
- * @rpcname: trace_filter
966
- **/
967
- filter: GenericRpcCall;
968
-
969
- [method: string]: GenericRpcCall;
970
- };
971
945
  transaction: {
972
946
  /**
973
947
  * @rpcname: transaction_unstable_submitAndWatch
@@ -981,24 +955,6 @@ export interface RpcCalls extends GenericRpcCalls {
981
955
 
982
956
  [method: string]: GenericRpcCall;
983
957
  };
984
- txpool: {
985
- /**
986
- * @rpcname: txpool_content
987
- **/
988
- content: GenericRpcCall;
989
-
990
- /**
991
- * @rpcname: txpool_inspect
992
- **/
993
- inspect: GenericRpcCall;
994
-
995
- /**
996
- * @rpcname: txpool_status
997
- **/
998
- status: GenericRpcCall;
999
-
1000
- [method: string]: GenericRpcCall;
1001
- };
1002
958
  web3: {
1003
959
  /**
1004
960
  * @rpcname: web3_clientVersion