@dedot/chaintypes 0.42.0 → 0.44.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/astar/consts.d.ts +350 -2
- package/astar/errors.d.ts +661 -5
- package/astar/events.d.ts +949 -4
- package/astar/index.d.ts +1 -1
- package/astar/query.d.ts +662 -42
- package/astar/runtime.d.ts +60 -8
- package/astar/tx.d.ts +3136 -88
- package/astar/types.d.ts +2650 -242
- package/package.json +3 -3
- package/paseo/index.d.ts +1 -1
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/runtime.d.ts +6 -14
- package/westend-asset-hub/tx.d.ts +1 -1
- package/westend-asset-hub/types.d.ts +34 -5
package/astar/query.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ import type {
|
|
|
27
27
|
PalletMultisigMultisig,
|
|
28
28
|
PalletProxyProxyDefinition,
|
|
29
29
|
PalletProxyAnnouncement,
|
|
30
|
+
PalletSchedulerScheduled,
|
|
31
|
+
PalletSchedulerRetryConfig,
|
|
30
32
|
CumulusPalletParachainSystemUnincludedSegmentAncestor,
|
|
31
33
|
CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
|
|
32
34
|
PolkadotPrimitivesV7PersistedValidationData,
|
|
@@ -43,25 +45,25 @@ import type {
|
|
|
43
45
|
PalletBalancesAccountData,
|
|
44
46
|
PalletBalancesBalanceLock,
|
|
45
47
|
PalletBalancesReserveData,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
FrameSupportTokensMiscIdAmount,
|
|
49
|
+
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
48
50
|
PalletVestingVestingInfo,
|
|
49
51
|
PalletVestingReleases,
|
|
50
52
|
PalletInflationInflationConfiguration,
|
|
51
53
|
PalletInflationInflationParameters,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
PalletDappStakingProtocolState,
|
|
55
|
+
PalletDappStakingDAppInfo,
|
|
54
56
|
AstarPrimitivesDappStakingSmartContract,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
PalletDappStakingAccountLedger,
|
|
58
|
+
PalletDappStakingSingularStakingInfo,
|
|
59
|
+
PalletDappStakingContractStakeAmount,
|
|
60
|
+
PalletDappStakingEraInfo,
|
|
61
|
+
PalletDappStakingEraRewardSpan,
|
|
62
|
+
PalletDappStakingPeriodEndInfo,
|
|
63
|
+
PalletDappStakingTierParameters,
|
|
64
|
+
PalletDappStakingTiersConfiguration,
|
|
65
|
+
PalletDappStakingDAppTierRewards,
|
|
66
|
+
PalletDappStakingCleanupMarker,
|
|
65
67
|
PalletAssetsAssetDetails,
|
|
66
68
|
PalletAssetsAssetAccount,
|
|
67
69
|
PalletAssetsApproval,
|
|
@@ -83,6 +85,7 @@ import type {
|
|
|
83
85
|
PalletXcmVersionMigrationStage,
|
|
84
86
|
PalletXcmRemoteLockedFungibleRecord,
|
|
85
87
|
XcmVersionedAssetId,
|
|
88
|
+
StagingXcmV4Xcm,
|
|
86
89
|
PalletMessageQueueBookState,
|
|
87
90
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
88
91
|
PalletMessageQueuePage,
|
|
@@ -94,6 +97,18 @@ import type {
|
|
|
94
97
|
PalletContractsWasmCodeInfo,
|
|
95
98
|
PalletContractsStorageContractInfo,
|
|
96
99
|
PalletContractsStorageDeletionQueueManager,
|
|
100
|
+
PalletPreimageOldRequestStatus,
|
|
101
|
+
PalletPreimageRequestStatus,
|
|
102
|
+
AstarRuntimeRuntimeCall,
|
|
103
|
+
PalletCollectiveVotes,
|
|
104
|
+
FrameSupportPreimagesBounded,
|
|
105
|
+
PalletDemocracyReferendumInfo,
|
|
106
|
+
PalletDemocracyVoteVoting,
|
|
107
|
+
PalletDemocracyVoteThreshold,
|
|
108
|
+
PalletDemocracyMetadataOwner,
|
|
109
|
+
PalletTreasuryProposal,
|
|
110
|
+
PalletTreasurySpendStatus,
|
|
111
|
+
PalletMigrationsMigrationCursor,
|
|
97
112
|
} from './types';
|
|
98
113
|
|
|
99
114
|
export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
|
|
@@ -425,6 +440,52 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
425
440
|
**/
|
|
426
441
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
427
442
|
};
|
|
443
|
+
/**
|
|
444
|
+
* Pallet `Scheduler`'s storage queries
|
|
445
|
+
**/
|
|
446
|
+
scheduler: {
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @param {Callback<number | undefined> =} callback
|
|
450
|
+
**/
|
|
451
|
+
incompleteSince: GenericStorageQuery<Rv, () => number | undefined>;
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Items to be executed, indexed by the block number that they should be executed on.
|
|
455
|
+
*
|
|
456
|
+
* @param {number} arg
|
|
457
|
+
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
458
|
+
**/
|
|
459
|
+
agenda: GenericStorageQuery<Rv, (arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Retry configurations for items to be executed, indexed by task address.
|
|
463
|
+
*
|
|
464
|
+
* @param {[number, number]} arg
|
|
465
|
+
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
466
|
+
**/
|
|
467
|
+
retries: GenericStorageQuery<
|
|
468
|
+
Rv,
|
|
469
|
+
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
470
|
+
[number, number]
|
|
471
|
+
>;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Lookup from a name to the block number and index of the task.
|
|
475
|
+
*
|
|
476
|
+
* For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
|
|
477
|
+
* identities.
|
|
478
|
+
*
|
|
479
|
+
* @param {FixedBytes<32>} arg
|
|
480
|
+
* @param {Callback<[number, number] | undefined> =} callback
|
|
481
|
+
**/
|
|
482
|
+
lookup: GenericStorageQuery<Rv, (arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Generic pallet storage query
|
|
486
|
+
**/
|
|
487
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
488
|
+
};
|
|
428
489
|
/**
|
|
429
490
|
* Pallet `ParachainSystem`'s storage queries
|
|
430
491
|
**/
|
|
@@ -786,19 +847,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
786
847
|
* Holds on account balances.
|
|
787
848
|
*
|
|
788
849
|
* @param {AccountId32Like} arg
|
|
789
|
-
* @param {Callback<Array<
|
|
850
|
+
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
790
851
|
**/
|
|
791
|
-
holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<
|
|
852
|
+
holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
792
853
|
|
|
793
854
|
/**
|
|
794
855
|
* Freeze locks on account balances.
|
|
795
856
|
*
|
|
796
857
|
* @param {AccountId32Like} arg
|
|
797
|
-
* @param {Callback<Array<
|
|
858
|
+
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
798
859
|
**/
|
|
799
860
|
freezes: GenericStorageQuery<
|
|
800
861
|
Rv,
|
|
801
|
-
(arg: AccountId32Like) => Array<
|
|
862
|
+
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
802
863
|
AccountId32
|
|
803
864
|
>;
|
|
804
865
|
|
|
@@ -875,9 +936,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
875
936
|
/**
|
|
876
937
|
* General information about dApp staking protocol state.
|
|
877
938
|
*
|
|
878
|
-
* @param {Callback<
|
|
939
|
+
* @param {Callback<PalletDappStakingProtocolState> =} callback
|
|
879
940
|
**/
|
|
880
|
-
activeProtocolState: GenericStorageQuery<Rv, () =>
|
|
941
|
+
activeProtocolState: GenericStorageQuery<Rv, () => PalletDappStakingProtocolState>;
|
|
881
942
|
|
|
882
943
|
/**
|
|
883
944
|
* Counter for unique dApp identifiers.
|
|
@@ -893,11 +954,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
893
954
|
* It might have been unregistered at some point in history.
|
|
894
955
|
*
|
|
895
956
|
* @param {AstarPrimitivesDappStakingSmartContract} arg
|
|
896
|
-
* @param {Callback<
|
|
957
|
+
* @param {Callback<PalletDappStakingDAppInfo | undefined> =} callback
|
|
897
958
|
**/
|
|
898
959
|
integratedDApps: GenericStorageQuery<
|
|
899
960
|
Rv,
|
|
900
|
-
(arg: AstarPrimitivesDappStakingSmartContract) =>
|
|
961
|
+
(arg: AstarPrimitivesDappStakingSmartContract) => PalletDappStakingDAppInfo | undefined,
|
|
901
962
|
AstarPrimitivesDappStakingSmartContract
|
|
902
963
|
>;
|
|
903
964
|
|
|
@@ -912,21 +973,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
912
973
|
* General locked/staked information for each account.
|
|
913
974
|
*
|
|
914
975
|
* @param {AccountId32Like} arg
|
|
915
|
-
* @param {Callback<
|
|
976
|
+
* @param {Callback<PalletDappStakingAccountLedger> =} callback
|
|
916
977
|
**/
|
|
917
|
-
ledger: GenericStorageQuery<Rv, (arg: AccountId32Like) =>
|
|
978
|
+
ledger: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletDappStakingAccountLedger, AccountId32>;
|
|
918
979
|
|
|
919
980
|
/**
|
|
920
981
|
* Information about how much each staker has staked for each smart contract in some period.
|
|
921
982
|
*
|
|
922
983
|
* @param {[AccountId32Like, AstarPrimitivesDappStakingSmartContract]} arg
|
|
923
|
-
* @param {Callback<
|
|
984
|
+
* @param {Callback<PalletDappStakingSingularStakingInfo | undefined> =} callback
|
|
924
985
|
**/
|
|
925
986
|
stakerInfo: GenericStorageQuery<
|
|
926
987
|
Rv,
|
|
927
988
|
(
|
|
928
989
|
arg: [AccountId32Like, AstarPrimitivesDappStakingSmartContract],
|
|
929
|
-
) =>
|
|
990
|
+
) => PalletDappStakingSingularStakingInfo | undefined,
|
|
930
991
|
[AccountId32, AstarPrimitivesDappStakingSmartContract]
|
|
931
992
|
>;
|
|
932
993
|
|
|
@@ -934,16 +995,16 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
934
995
|
* Information about how much has been staked on a smart contract in some era or period.
|
|
935
996
|
*
|
|
936
997
|
* @param {number} arg
|
|
937
|
-
* @param {Callback<
|
|
998
|
+
* @param {Callback<PalletDappStakingContractStakeAmount> =} callback
|
|
938
999
|
**/
|
|
939
|
-
contractStake: GenericStorageQuery<Rv, (arg: number) =>
|
|
1000
|
+
contractStake: GenericStorageQuery<Rv, (arg: number) => PalletDappStakingContractStakeAmount, number>;
|
|
940
1001
|
|
|
941
1002
|
/**
|
|
942
1003
|
* General information about the current era.
|
|
943
1004
|
*
|
|
944
|
-
* @param {Callback<
|
|
1005
|
+
* @param {Callback<PalletDappStakingEraInfo> =} callback
|
|
945
1006
|
**/
|
|
946
|
-
currentEraInfo: GenericStorageQuery<Rv, () =>
|
|
1007
|
+
currentEraInfo: GenericStorageQuery<Rv, () => PalletDappStakingEraInfo>;
|
|
947
1008
|
|
|
948
1009
|
/**
|
|
949
1010
|
* Information about rewards for each era.
|
|
@@ -957,46 +1018,46 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
957
1018
|
* Eras 1-7 will be stored in the same entry as era 0, eras 9-15 will be stored in the same entry as era 8, etc.
|
|
958
1019
|
*
|
|
959
1020
|
* @param {number} arg
|
|
960
|
-
* @param {Callback<
|
|
1021
|
+
* @param {Callback<PalletDappStakingEraRewardSpan | undefined> =} callback
|
|
961
1022
|
**/
|
|
962
|
-
eraRewards: GenericStorageQuery<Rv, (arg: number) =>
|
|
1023
|
+
eraRewards: GenericStorageQuery<Rv, (arg: number) => PalletDappStakingEraRewardSpan | undefined, number>;
|
|
963
1024
|
|
|
964
1025
|
/**
|
|
965
1026
|
* Information about period's end.
|
|
966
1027
|
*
|
|
967
1028
|
* @param {number} arg
|
|
968
|
-
* @param {Callback<
|
|
1029
|
+
* @param {Callback<PalletDappStakingPeriodEndInfo | undefined> =} callback
|
|
969
1030
|
**/
|
|
970
|
-
periodEnd: GenericStorageQuery<Rv, (arg: number) =>
|
|
1031
|
+
periodEnd: GenericStorageQuery<Rv, (arg: number) => PalletDappStakingPeriodEndInfo | undefined, number>;
|
|
971
1032
|
|
|
972
1033
|
/**
|
|
973
1034
|
* Static tier parameters used to calculate tier configuration.
|
|
974
1035
|
*
|
|
975
|
-
* @param {Callback<
|
|
1036
|
+
* @param {Callback<PalletDappStakingTierParameters> =} callback
|
|
976
1037
|
**/
|
|
977
|
-
staticTierParams: GenericStorageQuery<Rv, () =>
|
|
1038
|
+
staticTierParams: GenericStorageQuery<Rv, () => PalletDappStakingTierParameters>;
|
|
978
1039
|
|
|
979
1040
|
/**
|
|
980
1041
|
* Tier configuration user for current & preceding eras.
|
|
981
1042
|
*
|
|
982
|
-
* @param {Callback<
|
|
1043
|
+
* @param {Callback<PalletDappStakingTiersConfiguration> =} callback
|
|
983
1044
|
**/
|
|
984
|
-
tierConfig: GenericStorageQuery<Rv, () =>
|
|
1045
|
+
tierConfig: GenericStorageQuery<Rv, () => PalletDappStakingTiersConfiguration>;
|
|
985
1046
|
|
|
986
1047
|
/**
|
|
987
1048
|
* Information about which tier a dApp belonged to in a specific era.
|
|
988
1049
|
*
|
|
989
1050
|
* @param {number} arg
|
|
990
|
-
* @param {Callback<
|
|
1051
|
+
* @param {Callback<PalletDappStakingDAppTierRewards | undefined> =} callback
|
|
991
1052
|
**/
|
|
992
|
-
dAppTiers: GenericStorageQuery<Rv, (arg: number) =>
|
|
1053
|
+
dAppTiers: GenericStorageQuery<Rv, (arg: number) => PalletDappStakingDAppTierRewards | undefined, number>;
|
|
993
1054
|
|
|
994
1055
|
/**
|
|
995
1056
|
* History cleanup marker - holds information about which DB entries should be cleaned up next, when applicable.
|
|
996
1057
|
*
|
|
997
|
-
* @param {Callback<
|
|
1058
|
+
* @param {Callback<PalletDappStakingCleanupMarker> =} callback
|
|
998
1059
|
**/
|
|
999
|
-
historyCleanupMarker: GenericStorageQuery<Rv, () =>
|
|
1060
|
+
historyCleanupMarker: GenericStorageQuery<Rv, () => PalletDappStakingCleanupMarker>;
|
|
1000
1061
|
|
|
1001
1062
|
/**
|
|
1002
1063
|
* Safeguard to prevent unwanted operations in production.
|
|
@@ -1058,6 +1119,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1058
1119
|
**/
|
|
1059
1120
|
metadata: GenericStorageQuery<Rv, (arg: bigint) => PalletAssetsAssetMetadata, bigint>;
|
|
1060
1121
|
|
|
1122
|
+
/**
|
|
1123
|
+
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
1124
|
+
* item has no effect.
|
|
1125
|
+
*
|
|
1126
|
+
* This can be useful for setting up constraints for IDs of the new assets. For example, by
|
|
1127
|
+
* providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
|
|
1128
|
+
* auto-increment model can be applied to all new asset IDs.
|
|
1129
|
+
*
|
|
1130
|
+
* The initial next asset ID can be set using the [`GenesisConfig`] or the
|
|
1131
|
+
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
|
|
1132
|
+
*
|
|
1133
|
+
* @param {Callback<bigint | undefined> =} callback
|
|
1134
|
+
**/
|
|
1135
|
+
nextAssetId: GenericStorageQuery<Rv, () => bigint | undefined>;
|
|
1136
|
+
|
|
1061
1137
|
/**
|
|
1062
1138
|
* Generic pallet storage query
|
|
1063
1139
|
**/
|
|
@@ -1567,6 +1643,31 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1567
1643
|
**/
|
|
1568
1644
|
xcmExecutionSuspended: GenericStorageQuery<Rv, () => boolean>;
|
|
1569
1645
|
|
|
1646
|
+
/**
|
|
1647
|
+
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
1648
|
+
* Only one XCM program will be recorded at a time.
|
|
1649
|
+
* This is meant to be used in runtime APIs, and it's advised it stays false
|
|
1650
|
+
* for all other use cases, so as to not degrade regular performance.
|
|
1651
|
+
*
|
|
1652
|
+
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
|
1653
|
+
* implementation in the XCM executor configuration.
|
|
1654
|
+
*
|
|
1655
|
+
* @param {Callback<boolean> =} callback
|
|
1656
|
+
**/
|
|
1657
|
+
shouldRecordXcm: GenericStorageQuery<Rv, () => boolean>;
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
1661
|
+
* will be stored here.
|
|
1662
|
+
* Runtime APIs can fetch the XCM that was executed by accessing this value.
|
|
1663
|
+
*
|
|
1664
|
+
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
|
1665
|
+
* implementation in the XCM executor configuration.
|
|
1666
|
+
*
|
|
1667
|
+
* @param {Callback<StagingXcmV4Xcm | undefined> =} callback
|
|
1668
|
+
**/
|
|
1669
|
+
recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV4Xcm | undefined>;
|
|
1670
|
+
|
|
1570
1671
|
/**
|
|
1571
1672
|
* Generic pallet storage query
|
|
1572
1673
|
**/
|
|
@@ -1849,6 +1950,38 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1849
1950
|
**/
|
|
1850
1951
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
1851
1952
|
};
|
|
1953
|
+
/**
|
|
1954
|
+
* Pallet `Preimage`'s storage queries
|
|
1955
|
+
**/
|
|
1956
|
+
preimage: {
|
|
1957
|
+
/**
|
|
1958
|
+
* The request status of a given hash.
|
|
1959
|
+
*
|
|
1960
|
+
* @param {H256} arg
|
|
1961
|
+
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
1962
|
+
**/
|
|
1963
|
+
statusFor: GenericStorageQuery<Rv, (arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* The request status of a given hash.
|
|
1967
|
+
*
|
|
1968
|
+
* @param {H256} arg
|
|
1969
|
+
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
1970
|
+
**/
|
|
1971
|
+
requestStatusFor: GenericStorageQuery<Rv, (arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
*
|
|
1975
|
+
* @param {[H256, number]} arg
|
|
1976
|
+
* @param {Callback<Bytes | undefined> =} callback
|
|
1977
|
+
**/
|
|
1978
|
+
preimageFor: GenericStorageQuery<Rv, (arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* Generic pallet storage query
|
|
1982
|
+
**/
|
|
1983
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
1984
|
+
};
|
|
1852
1985
|
/**
|
|
1853
1986
|
* Pallet `Sudo`'s storage queries
|
|
1854
1987
|
**/
|
|
@@ -1860,6 +1993,493 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1860
1993
|
**/
|
|
1861
1994
|
key: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
1862
1995
|
|
|
1996
|
+
/**
|
|
1997
|
+
* Generic pallet storage query
|
|
1998
|
+
**/
|
|
1999
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2000
|
+
};
|
|
2001
|
+
/**
|
|
2002
|
+
* Pallet `CouncilMembership`'s storage queries
|
|
2003
|
+
**/
|
|
2004
|
+
councilMembership: {
|
|
2005
|
+
/**
|
|
2006
|
+
* The current membership, stored as an ordered Vec.
|
|
2007
|
+
*
|
|
2008
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
2009
|
+
**/
|
|
2010
|
+
members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* The current prime member, if one exists.
|
|
2014
|
+
*
|
|
2015
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2016
|
+
**/
|
|
2017
|
+
prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* Generic pallet storage query
|
|
2021
|
+
**/
|
|
2022
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2023
|
+
};
|
|
2024
|
+
/**
|
|
2025
|
+
* Pallet `TechnicalCommitteeMembership`'s storage queries
|
|
2026
|
+
**/
|
|
2027
|
+
technicalCommitteeMembership: {
|
|
2028
|
+
/**
|
|
2029
|
+
* The current membership, stored as an ordered Vec.
|
|
2030
|
+
*
|
|
2031
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
2032
|
+
**/
|
|
2033
|
+
members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* The current prime member, if one exists.
|
|
2037
|
+
*
|
|
2038
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2039
|
+
**/
|
|
2040
|
+
prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
* Generic pallet storage query
|
|
2044
|
+
**/
|
|
2045
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2046
|
+
};
|
|
2047
|
+
/**
|
|
2048
|
+
* Pallet `CommunityCouncilMembership`'s storage queries
|
|
2049
|
+
**/
|
|
2050
|
+
communityCouncilMembership: {
|
|
2051
|
+
/**
|
|
2052
|
+
* The current membership, stored as an ordered Vec.
|
|
2053
|
+
*
|
|
2054
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
2055
|
+
**/
|
|
2056
|
+
members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* The current prime member, if one exists.
|
|
2060
|
+
*
|
|
2061
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2062
|
+
**/
|
|
2063
|
+
prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* Generic pallet storage query
|
|
2067
|
+
**/
|
|
2068
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2069
|
+
};
|
|
2070
|
+
/**
|
|
2071
|
+
* Pallet `Council`'s storage queries
|
|
2072
|
+
**/
|
|
2073
|
+
council: {
|
|
2074
|
+
/**
|
|
2075
|
+
* The hashes of the active proposals.
|
|
2076
|
+
*
|
|
2077
|
+
* @param {Callback<Array<H256>> =} callback
|
|
2078
|
+
**/
|
|
2079
|
+
proposals: GenericStorageQuery<Rv, () => Array<H256>>;
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* Actual proposal for a given hash, if it's current.
|
|
2083
|
+
*
|
|
2084
|
+
* @param {H256} arg
|
|
2085
|
+
* @param {Callback<AstarRuntimeRuntimeCall | undefined> =} callback
|
|
2086
|
+
**/
|
|
2087
|
+
proposalOf: GenericStorageQuery<Rv, (arg: H256) => AstarRuntimeRuntimeCall | undefined, H256>;
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* Votes on a given proposal, if it is ongoing.
|
|
2091
|
+
*
|
|
2092
|
+
* @param {H256} arg
|
|
2093
|
+
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
2094
|
+
**/
|
|
2095
|
+
voting: GenericStorageQuery<Rv, (arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* Proposals so far.
|
|
2099
|
+
*
|
|
2100
|
+
* @param {Callback<number> =} callback
|
|
2101
|
+
**/
|
|
2102
|
+
proposalCount: GenericStorageQuery<Rv, () => number>;
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
2106
|
+
*
|
|
2107
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
2108
|
+
**/
|
|
2109
|
+
members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
2113
|
+
*
|
|
2114
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2115
|
+
**/
|
|
2116
|
+
prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* Generic pallet storage query
|
|
2120
|
+
**/
|
|
2121
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2122
|
+
};
|
|
2123
|
+
/**
|
|
2124
|
+
* Pallet `TechnicalCommittee`'s storage queries
|
|
2125
|
+
**/
|
|
2126
|
+
technicalCommittee: {
|
|
2127
|
+
/**
|
|
2128
|
+
* The hashes of the active proposals.
|
|
2129
|
+
*
|
|
2130
|
+
* @param {Callback<Array<H256>> =} callback
|
|
2131
|
+
**/
|
|
2132
|
+
proposals: GenericStorageQuery<Rv, () => Array<H256>>;
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Actual proposal for a given hash, if it's current.
|
|
2136
|
+
*
|
|
2137
|
+
* @param {H256} arg
|
|
2138
|
+
* @param {Callback<AstarRuntimeRuntimeCall | undefined> =} callback
|
|
2139
|
+
**/
|
|
2140
|
+
proposalOf: GenericStorageQuery<Rv, (arg: H256) => AstarRuntimeRuntimeCall | undefined, H256>;
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* Votes on a given proposal, if it is ongoing.
|
|
2144
|
+
*
|
|
2145
|
+
* @param {H256} arg
|
|
2146
|
+
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
2147
|
+
**/
|
|
2148
|
+
voting: GenericStorageQuery<Rv, (arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* Proposals so far.
|
|
2152
|
+
*
|
|
2153
|
+
* @param {Callback<number> =} callback
|
|
2154
|
+
**/
|
|
2155
|
+
proposalCount: GenericStorageQuery<Rv, () => number>;
|
|
2156
|
+
|
|
2157
|
+
/**
|
|
2158
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
2159
|
+
*
|
|
2160
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
2161
|
+
**/
|
|
2162
|
+
members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
2166
|
+
*
|
|
2167
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2168
|
+
**/
|
|
2169
|
+
prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* Generic pallet storage query
|
|
2173
|
+
**/
|
|
2174
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2175
|
+
};
|
|
2176
|
+
/**
|
|
2177
|
+
* Pallet `CommunityCouncil`'s storage queries
|
|
2178
|
+
**/
|
|
2179
|
+
communityCouncil: {
|
|
2180
|
+
/**
|
|
2181
|
+
* The hashes of the active proposals.
|
|
2182
|
+
*
|
|
2183
|
+
* @param {Callback<Array<H256>> =} callback
|
|
2184
|
+
**/
|
|
2185
|
+
proposals: GenericStorageQuery<Rv, () => Array<H256>>;
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* Actual proposal for a given hash, if it's current.
|
|
2189
|
+
*
|
|
2190
|
+
* @param {H256} arg
|
|
2191
|
+
* @param {Callback<AstarRuntimeRuntimeCall | undefined> =} callback
|
|
2192
|
+
**/
|
|
2193
|
+
proposalOf: GenericStorageQuery<Rv, (arg: H256) => AstarRuntimeRuntimeCall | undefined, H256>;
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* Votes on a given proposal, if it is ongoing.
|
|
2197
|
+
*
|
|
2198
|
+
* @param {H256} arg
|
|
2199
|
+
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
2200
|
+
**/
|
|
2201
|
+
voting: GenericStorageQuery<Rv, (arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
2202
|
+
|
|
2203
|
+
/**
|
|
2204
|
+
* Proposals so far.
|
|
2205
|
+
*
|
|
2206
|
+
* @param {Callback<number> =} callback
|
|
2207
|
+
**/
|
|
2208
|
+
proposalCount: GenericStorageQuery<Rv, () => number>;
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
2212
|
+
*
|
|
2213
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
2214
|
+
**/
|
|
2215
|
+
members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
2219
|
+
*
|
|
2220
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2221
|
+
**/
|
|
2222
|
+
prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* Generic pallet storage query
|
|
2226
|
+
**/
|
|
2227
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2228
|
+
};
|
|
2229
|
+
/**
|
|
2230
|
+
* Pallet `Democracy`'s storage queries
|
|
2231
|
+
**/
|
|
2232
|
+
democracy: {
|
|
2233
|
+
/**
|
|
2234
|
+
* The number of (public) proposals that have been made so far.
|
|
2235
|
+
*
|
|
2236
|
+
* @param {Callback<number> =} callback
|
|
2237
|
+
**/
|
|
2238
|
+
publicPropCount: GenericStorageQuery<Rv, () => number>;
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* The public proposals. Unsorted. The second item is the proposal.
|
|
2242
|
+
*
|
|
2243
|
+
* @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId32]>> =} callback
|
|
2244
|
+
**/
|
|
2245
|
+
publicProps: GenericStorageQuery<Rv, () => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Those who have locked a deposit.
|
|
2249
|
+
*
|
|
2250
|
+
* TWOX-NOTE: Safe, as increasing integer keys are safe.
|
|
2251
|
+
*
|
|
2252
|
+
* @param {number} arg
|
|
2253
|
+
* @param {Callback<[Array<AccountId32>, bigint] | undefined> =} callback
|
|
2254
|
+
**/
|
|
2255
|
+
depositOf: GenericStorageQuery<Rv, (arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* The next free referendum index, aka the number of referenda started so far.
|
|
2259
|
+
*
|
|
2260
|
+
* @param {Callback<number> =} callback
|
|
2261
|
+
**/
|
|
2262
|
+
referendumCount: GenericStorageQuery<Rv, () => number>;
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
2266
|
+
* `ReferendumCount` if there isn't a unbaked referendum.
|
|
2267
|
+
*
|
|
2268
|
+
* @param {Callback<number> =} callback
|
|
2269
|
+
**/
|
|
2270
|
+
lowestUnbaked: GenericStorageQuery<Rv, () => number>;
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* Information concerning any given referendum.
|
|
2274
|
+
*
|
|
2275
|
+
* TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
|
|
2276
|
+
*
|
|
2277
|
+
* @param {number} arg
|
|
2278
|
+
* @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
|
|
2279
|
+
**/
|
|
2280
|
+
referendumInfoOf: GenericStorageQuery<Rv, (arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
2284
|
+
* have recorded. The second item is the total amount of delegations, that will be added.
|
|
2285
|
+
*
|
|
2286
|
+
* TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
|
|
2287
|
+
*
|
|
2288
|
+
* @param {AccountId32Like} arg
|
|
2289
|
+
* @param {Callback<PalletDemocracyVoteVoting> =} callback
|
|
2290
|
+
**/
|
|
2291
|
+
votingOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
2295
|
+
* proposal.
|
|
2296
|
+
*
|
|
2297
|
+
* @param {Callback<boolean> =} callback
|
|
2298
|
+
**/
|
|
2299
|
+
lastTabledWasExternal: GenericStorageQuery<Rv, () => boolean>;
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
2303
|
+
* This happens when a referendum needs to be tabled and one of two conditions are met:
|
|
2304
|
+
* - `LastTabledWasExternal` is `false`; or
|
|
2305
|
+
* - `PublicProps` is empty.
|
|
2306
|
+
*
|
|
2307
|
+
* @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
|
|
2308
|
+
**/
|
|
2309
|
+
nextExternal: GenericStorageQuery<
|
|
2310
|
+
Rv,
|
|
2311
|
+
() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined
|
|
2312
|
+
>;
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
2316
|
+
* (until when it may not be resubmitted) and who vetoed it.
|
|
2317
|
+
*
|
|
2318
|
+
* @param {H256} arg
|
|
2319
|
+
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
2320
|
+
**/
|
|
2321
|
+
blacklist: GenericStorageQuery<Rv, (arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* Record of all proposals that have been subject to emergency cancellation.
|
|
2325
|
+
*
|
|
2326
|
+
* @param {H256} arg
|
|
2327
|
+
* @param {Callback<boolean> =} callback
|
|
2328
|
+
**/
|
|
2329
|
+
cancellations: GenericStorageQuery<Rv, (arg: H256) => boolean, H256>;
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* General information concerning any proposal or referendum.
|
|
2333
|
+
* The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
|
|
2334
|
+
* dump or IPFS hash of a JSON file.
|
|
2335
|
+
*
|
|
2336
|
+
* Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
|
|
2337
|
+
* large preimages.
|
|
2338
|
+
*
|
|
2339
|
+
* @param {PalletDemocracyMetadataOwner} arg
|
|
2340
|
+
* @param {Callback<H256 | undefined> =} callback
|
|
2341
|
+
**/
|
|
2342
|
+
metadataOf: GenericStorageQuery<
|
|
2343
|
+
Rv,
|
|
2344
|
+
(arg: PalletDemocracyMetadataOwner) => H256 | undefined,
|
|
2345
|
+
PalletDemocracyMetadataOwner
|
|
2346
|
+
>;
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* Generic pallet storage query
|
|
2350
|
+
**/
|
|
2351
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2352
|
+
};
|
|
2353
|
+
/**
|
|
2354
|
+
* Pallet `Treasury`'s storage queries
|
|
2355
|
+
**/
|
|
2356
|
+
treasury: {
|
|
2357
|
+
/**
|
|
2358
|
+
* Number of proposals that have been made.
|
|
2359
|
+
*
|
|
2360
|
+
* @param {Callback<number> =} callback
|
|
2361
|
+
**/
|
|
2362
|
+
proposalCount: GenericStorageQuery<Rv, () => number>;
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Proposals that have been made.
|
|
2366
|
+
*
|
|
2367
|
+
* @param {number} arg
|
|
2368
|
+
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
2369
|
+
**/
|
|
2370
|
+
proposals: GenericStorageQuery<Rv, (arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* The amount which has been reported as inactive to Currency.
|
|
2374
|
+
*
|
|
2375
|
+
* @param {Callback<bigint> =} callback
|
|
2376
|
+
**/
|
|
2377
|
+
deactivated: GenericStorageQuery<Rv, () => bigint>;
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Proposal indices that have been approved but not yet awarded.
|
|
2381
|
+
*
|
|
2382
|
+
* @param {Callback<Array<number>> =} callback
|
|
2383
|
+
**/
|
|
2384
|
+
approvals: GenericStorageQuery<Rv, () => Array<number>>;
|
|
2385
|
+
|
|
2386
|
+
/**
|
|
2387
|
+
* The count of spends that have been made.
|
|
2388
|
+
*
|
|
2389
|
+
* @param {Callback<number> =} callback
|
|
2390
|
+
**/
|
|
2391
|
+
spendCount: GenericStorageQuery<Rv, () => number>;
|
|
2392
|
+
|
|
2393
|
+
/**
|
|
2394
|
+
* Spends that have been approved and being processed.
|
|
2395
|
+
*
|
|
2396
|
+
* @param {number} arg
|
|
2397
|
+
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
2398
|
+
**/
|
|
2399
|
+
spends: GenericStorageQuery<Rv, (arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* Generic pallet storage query
|
|
2403
|
+
**/
|
|
2404
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2405
|
+
};
|
|
2406
|
+
/**
|
|
2407
|
+
* Pallet `CommunityTreasury`'s storage queries
|
|
2408
|
+
**/
|
|
2409
|
+
communityTreasury: {
|
|
2410
|
+
/**
|
|
2411
|
+
* Number of proposals that have been made.
|
|
2412
|
+
*
|
|
2413
|
+
* @param {Callback<number> =} callback
|
|
2414
|
+
**/
|
|
2415
|
+
proposalCount: GenericStorageQuery<Rv, () => number>;
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* Proposals that have been made.
|
|
2419
|
+
*
|
|
2420
|
+
* @param {number} arg
|
|
2421
|
+
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
2422
|
+
**/
|
|
2423
|
+
proposals: GenericStorageQuery<Rv, (arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* The amount which has been reported as inactive to Currency.
|
|
2427
|
+
*
|
|
2428
|
+
* @param {Callback<bigint> =} callback
|
|
2429
|
+
**/
|
|
2430
|
+
deactivated: GenericStorageQuery<Rv, () => bigint>;
|
|
2431
|
+
|
|
2432
|
+
/**
|
|
2433
|
+
* Proposal indices that have been approved but not yet awarded.
|
|
2434
|
+
*
|
|
2435
|
+
* @param {Callback<Array<number>> =} callback
|
|
2436
|
+
**/
|
|
2437
|
+
approvals: GenericStorageQuery<Rv, () => Array<number>>;
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* The count of spends that have been made.
|
|
2441
|
+
*
|
|
2442
|
+
* @param {Callback<number> =} callback
|
|
2443
|
+
**/
|
|
2444
|
+
spendCount: GenericStorageQuery<Rv, () => number>;
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Spends that have been approved and being processed.
|
|
2448
|
+
*
|
|
2449
|
+
* @param {number} arg
|
|
2450
|
+
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
2451
|
+
**/
|
|
2452
|
+
spends: GenericStorageQuery<Rv, (arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* Generic pallet storage query
|
|
2456
|
+
**/
|
|
2457
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2458
|
+
};
|
|
2459
|
+
/**
|
|
2460
|
+
* Pallet `MultiBlockMigrations`'s storage queries
|
|
2461
|
+
**/
|
|
2462
|
+
multiBlockMigrations: {
|
|
2463
|
+
/**
|
|
2464
|
+
* The currently active migration to run and its cursor.
|
|
2465
|
+
*
|
|
2466
|
+
* `None` indicates that no migration is running.
|
|
2467
|
+
*
|
|
2468
|
+
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
2469
|
+
**/
|
|
2470
|
+
cursor: GenericStorageQuery<Rv, () => PalletMigrationsMigrationCursor | undefined>;
|
|
2471
|
+
|
|
2472
|
+
/**
|
|
2473
|
+
* Set of all successfully executed migrations.
|
|
2474
|
+
*
|
|
2475
|
+
* This is used as blacklist, to not re-execute migrations that have not been removed from the
|
|
2476
|
+
* codebase yet. Governance can regularly clear this out via `clear_historic`.
|
|
2477
|
+
*
|
|
2478
|
+
* @param {BytesLike} arg
|
|
2479
|
+
* @param {Callback<[] | undefined> =} callback
|
|
2480
|
+
**/
|
|
2481
|
+
historic: GenericStorageQuery<Rv, (arg: BytesLike) => [] | undefined, Bytes>;
|
|
2482
|
+
|
|
1863
2483
|
/**
|
|
1864
2484
|
* Generic pallet storage query
|
|
1865
2485
|
**/
|