@polkadot/api-augment 10.4.1 → 10.6.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.
- package/cjs/packageInfo.js +1 -1
- package/kusama/errors.d.ts +1 -1
- package/kusama/events.d.ts +4 -0
- package/kusama/query.d.ts +6 -9
- package/kusama/tx.d.ts +11 -4
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/errors.d.ts +32 -1
- package/polkadot/events.d.ts +4 -0
- package/polkadot/query.d.ts +21 -10
- package/polkadot/tx.d.ts +28 -5
- package/substrate/consts.d.ts +34 -0
- package/substrate/events.d.ts +16 -3
- package/substrate/query.d.ts +2 -9
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.6.1' };
|
package/kusama/errors.d.ts
CHANGED
|
@@ -2095,7 +2095,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2095
2095
|
**/
|
|
2096
2096
|
Filtered: AugmentedError<ApiType>;
|
|
2097
2097
|
/**
|
|
2098
|
-
* The unlock operation cannot succeed because there are still
|
|
2098
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
2099
2099
|
**/
|
|
2100
2100
|
InUse: AugmentedError<ApiType>;
|
|
2101
2101
|
/**
|
package/kusama/events.d.ts
CHANGED
|
@@ -1578,6 +1578,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1578
1578
|
paraId: u32;
|
|
1579
1579
|
who: AccountId32;
|
|
1580
1580
|
}>;
|
|
1581
|
+
Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], {
|
|
1582
|
+
paraId: u32;
|
|
1583
|
+
otherId: u32;
|
|
1584
|
+
}>;
|
|
1581
1585
|
/**
|
|
1582
1586
|
* Generic event
|
|
1583
1587
|
**/
|
package/kusama/query.d.ts
CHANGED
|
@@ -405,6 +405,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
405
405
|
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
406
406
|
/**
|
|
407
407
|
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
408
|
+
*
|
|
409
|
+
* Always sorted by score.
|
|
408
410
|
**/
|
|
409
411
|
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
410
412
|
/**
|
|
@@ -1002,15 +1004,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1002
1004
|
* The primary structure that holds all offence records keyed by report identifiers.
|
|
1003
1005
|
**/
|
|
1004
1006
|
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1005
|
-
/**
|
|
1006
|
-
* Enumerates all reports of a kind along with the time they happened.
|
|
1007
|
-
*
|
|
1008
|
-
* All reports are sorted by the time of offence.
|
|
1009
|
-
*
|
|
1010
|
-
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
1011
|
-
* different types are not supported at the moment so we are doing the manual serialization.
|
|
1012
|
-
**/
|
|
1013
|
-
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
1014
1007
|
/**
|
|
1015
1008
|
* Generic query
|
|
1016
1009
|
**/
|
|
@@ -2133,6 +2126,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2133
2126
|
} | {
|
|
2134
2127
|
V3: any;
|
|
2135
2128
|
} | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Global suspension state of the XCM executor.
|
|
2131
|
+
**/
|
|
2132
|
+
xcmExecutionSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2136
2133
|
/**
|
|
2137
2134
|
* Generic query
|
|
2138
2135
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -5089,14 +5089,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5089
5089
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
5090
5090
|
* version a destination can accept is unknown).
|
|
5091
5091
|
*
|
|
5092
|
-
* - `origin`: Must be
|
|
5092
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5093
5093
|
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
5094
5094
|
**/
|
|
5095
5095
|
forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
5096
5096
|
/**
|
|
5097
5097
|
* Ask a location to notify us regarding their XCM version and any changes to it.
|
|
5098
5098
|
*
|
|
5099
|
-
* - `origin`: Must be
|
|
5099
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5100
5100
|
* - `location`: The location to which we should subscribe for XCM version notifications.
|
|
5101
5101
|
**/
|
|
5102
5102
|
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
|
|
@@ -5104,11 +5104,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5104
5104
|
} | {
|
|
5105
5105
|
V3: any;
|
|
5106
5106
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
|
|
5107
|
+
/**
|
|
5108
|
+
* Set or unset the global suspension state of the XCM executor.
|
|
5109
|
+
*
|
|
5110
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5111
|
+
* - `suspended`: `true` to suspend, `false` to resume.
|
|
5112
|
+
**/
|
|
5113
|
+
forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
5107
5114
|
/**
|
|
5108
5115
|
* Require that a particular destination should no longer notify us regarding any XCM
|
|
5109
5116
|
* version changes.
|
|
5110
5117
|
*
|
|
5111
|
-
* - `origin`: Must be
|
|
5118
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5112
5119
|
* - `location`: The location to which we are currently subscribed for XCM version
|
|
5113
5120
|
* notifications which we no longer desire.
|
|
5114
5121
|
**/
|
|
@@ -5121,7 +5128,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5121
5128
|
* Extoll that a particular destination can be communicated with through a particular
|
|
5122
5129
|
* version of XCM.
|
|
5123
5130
|
*
|
|
5124
|
-
* - `origin`: Must be
|
|
5131
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5125
5132
|
* - `location`: The destination that is being described.
|
|
5126
5133
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5127
5134
|
**/
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/detectPackage.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "10.
|
|
21
|
+
"version": "10.6.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -186,12 +186,12 @@
|
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
"dependencies": {
|
|
189
|
-
"@polkadot/api-base": "10.
|
|
190
|
-
"@polkadot/rpc-augment": "10.
|
|
191
|
-
"@polkadot/types": "10.
|
|
192
|
-
"@polkadot/types-augment": "10.
|
|
193
|
-
"@polkadot/types-codec": "10.
|
|
194
|
-
"@polkadot/util": "^12.
|
|
189
|
+
"@polkadot/api-base": "10.6.1",
|
|
190
|
+
"@polkadot/rpc-augment": "10.6.1",
|
|
191
|
+
"@polkadot/types": "10.6.1",
|
|
192
|
+
"@polkadot/types-augment": "10.6.1",
|
|
193
|
+
"@polkadot/types-codec": "10.6.1",
|
|
194
|
+
"@polkadot/util": "^12.1.2",
|
|
195
195
|
"tslib": "^2.5.0"
|
|
196
196
|
}
|
|
197
197
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.6.1' };
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -1300,6 +1300,37 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1300
1300
|
**/
|
|
1301
1301
|
[key: string]: AugmentedError<ApiType>;
|
|
1302
1302
|
};
|
|
1303
|
+
parasSlashing: {
|
|
1304
|
+
/**
|
|
1305
|
+
* The given slashing report is valid but already previously reported.
|
|
1306
|
+
**/
|
|
1307
|
+
DuplicateSlashingReport: AugmentedError<ApiType>;
|
|
1308
|
+
/**
|
|
1309
|
+
* The candidate hash is invalid.
|
|
1310
|
+
**/
|
|
1311
|
+
InvalidCandidateHash: AugmentedError<ApiType>;
|
|
1312
|
+
/**
|
|
1313
|
+
* The key ownership proof is invalid.
|
|
1314
|
+
**/
|
|
1315
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
1316
|
+
/**
|
|
1317
|
+
* The session index is too old or invalid.
|
|
1318
|
+
**/
|
|
1319
|
+
InvalidSessionIndex: AugmentedError<ApiType>;
|
|
1320
|
+
/**
|
|
1321
|
+
* There is no pending slash for the given validator index and time
|
|
1322
|
+
* slot.
|
|
1323
|
+
**/
|
|
1324
|
+
InvalidValidatorIndex: AugmentedError<ApiType>;
|
|
1325
|
+
/**
|
|
1326
|
+
* The validator index does not match the validator id.
|
|
1327
|
+
**/
|
|
1328
|
+
ValidatorIndexIdMismatch: AugmentedError<ApiType>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Generic error
|
|
1331
|
+
**/
|
|
1332
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1333
|
+
};
|
|
1303
1334
|
phragmenElection: {
|
|
1304
1335
|
/**
|
|
1305
1336
|
* Duplicated candidate submission.
|
|
@@ -2020,7 +2051,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2020
2051
|
**/
|
|
2021
2052
|
Filtered: AugmentedError<ApiType>;
|
|
2022
2053
|
/**
|
|
2023
|
-
* The unlock operation cannot succeed because there are still
|
|
2054
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
2024
2055
|
**/
|
|
2025
2056
|
InUse: AugmentedError<ApiType>;
|
|
2026
2057
|
/**
|
package/polkadot/events.d.ts
CHANGED
|
@@ -1396,6 +1396,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1396
1396
|
paraId: u32;
|
|
1397
1397
|
who: AccountId32;
|
|
1398
1398
|
}>;
|
|
1399
|
+
Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], {
|
|
1400
|
+
paraId: u32;
|
|
1401
|
+
otherId: u32;
|
|
1402
|
+
}>;
|
|
1399
1403
|
/**
|
|
1400
1404
|
* Generic event
|
|
1401
1405
|
**/
|
package/polkadot/query.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool,
|
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
7
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4AssignmentAppPublic, PolkadotPrimitivesV4CandidateCommitments, PolkadotPrimitivesV4CoreOccupied, PolkadotPrimitivesV4DisputeState, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4ScrapedOnChainVotes, PolkadotPrimitivesV4SessionInfo, PolkadotPrimitivesV4UpgradeGoAhead, PolkadotPrimitivesV4UpgradeRestriction, PolkadotPrimitivesV4ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4AssignmentAppPublic, PolkadotPrimitivesV4CandidateCommitments, PolkadotPrimitivesV4CoreOccupied, PolkadotPrimitivesV4DisputeState, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4ScrapedOnChainVotes, PolkadotPrimitivesV4SessionInfo, PolkadotPrimitivesV4UpgradeGoAhead, PolkadotPrimitivesV4UpgradeRestriction, PolkadotPrimitivesV4ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsDisputesSlashingPendingSlashes, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
9
9
|
import type { Observable } from '@polkadot/types/types';
|
|
10
10
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
11
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -510,6 +510,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
510
510
|
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
511
511
|
/**
|
|
512
512
|
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
513
|
+
*
|
|
514
|
+
* Always sorted by score.
|
|
513
515
|
**/
|
|
514
516
|
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
515
517
|
/**
|
|
@@ -960,15 +962,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
960
962
|
* The primary structure that holds all offence records keyed by report identifiers.
|
|
961
963
|
**/
|
|
962
964
|
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
963
|
-
/**
|
|
964
|
-
* Enumerates all reports of a kind along with the time they happened.
|
|
965
|
-
*
|
|
966
|
-
* All reports are sorted by the time of offence.
|
|
967
|
-
*
|
|
968
|
-
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
969
|
-
* different types are not supported at the moment so we are doing the manual serialization.
|
|
970
|
-
**/
|
|
971
|
-
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
972
965
|
/**
|
|
973
966
|
* Generic query
|
|
974
967
|
**/
|
|
@@ -1281,6 +1274,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1281
1274
|
**/
|
|
1282
1275
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1283
1276
|
};
|
|
1277
|
+
parasSlashing: {
|
|
1278
|
+
/**
|
|
1279
|
+
* Validators pending dispute slashes.
|
|
1280
|
+
**/
|
|
1281
|
+
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsDisputesSlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1282
|
+
/**
|
|
1283
|
+
* `ValidatorSetCount` per session.
|
|
1284
|
+
**/
|
|
1285
|
+
validatorSetCounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Generic query
|
|
1288
|
+
**/
|
|
1289
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1290
|
+
};
|
|
1284
1291
|
phragmenElection: {
|
|
1285
1292
|
/**
|
|
1286
1293
|
* The present candidate list. A current member or runner-up can never enter this vector
|
|
@@ -2082,6 +2089,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2082
2089
|
} | {
|
|
2083
2090
|
V3: any;
|
|
2084
2091
|
} | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
2092
|
+
/**
|
|
2093
|
+
* Global suspension state of the XCM executor.
|
|
2094
|
+
**/
|
|
2095
|
+
xcmExecutionSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2085
2096
|
/**
|
|
2086
2097
|
* Generic query
|
|
2087
2098
|
**/
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
|
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
7
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
8
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsDisputesSlashingDisputeProof, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
9
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
10
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
11
11
|
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -3031,6 +3031,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3031
3031
|
**/
|
|
3032
3032
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3033
3033
|
};
|
|
3034
|
+
parasSlashing: {
|
|
3035
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotRuntimeParachainsDisputesSlashingDisputeProof | {
|
|
3036
|
+
timeSlot?: any;
|
|
3037
|
+
kind?: any;
|
|
3038
|
+
validatorIndex?: any;
|
|
3039
|
+
validatorId?: any;
|
|
3040
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
3041
|
+
session?: any;
|
|
3042
|
+
trieNodes?: any;
|
|
3043
|
+
validatorCount?: any;
|
|
3044
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsDisputesSlashingDisputeProof, SpSessionMembershipProof]>;
|
|
3045
|
+
/**
|
|
3046
|
+
* Generic tx
|
|
3047
|
+
**/
|
|
3048
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3049
|
+
};
|
|
3034
3050
|
phragmenElection: {
|
|
3035
3051
|
/**
|
|
3036
3052
|
* Clean all voters who are defunct (i.e. they do not serve any purpose at all). The
|
|
@@ -5076,14 +5092,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5076
5092
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
5077
5093
|
* version a destination can accept is unknown).
|
|
5078
5094
|
*
|
|
5079
|
-
* - `origin`: Must be
|
|
5095
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5080
5096
|
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
5081
5097
|
**/
|
|
5082
5098
|
forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
5083
5099
|
/**
|
|
5084
5100
|
* Ask a location to notify us regarding their XCM version and any changes to it.
|
|
5085
5101
|
*
|
|
5086
|
-
* - `origin`: Must be
|
|
5102
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5087
5103
|
* - `location`: The location to which we should subscribe for XCM version notifications.
|
|
5088
5104
|
**/
|
|
5089
5105
|
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
|
|
@@ -5091,11 +5107,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5091
5107
|
} | {
|
|
5092
5108
|
V3: any;
|
|
5093
5109
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
|
|
5110
|
+
/**
|
|
5111
|
+
* Set or unset the global suspension state of the XCM executor.
|
|
5112
|
+
*
|
|
5113
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5114
|
+
* - `suspended`: `true` to suspend, `false` to resume.
|
|
5115
|
+
**/
|
|
5116
|
+
forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
5094
5117
|
/**
|
|
5095
5118
|
* Require that a particular destination should no longer notify us regarding any XCM
|
|
5096
5119
|
* version changes.
|
|
5097
5120
|
*
|
|
5098
|
-
* - `origin`: Must be
|
|
5121
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5099
5122
|
* - `location`: The location to which we are currently subscribed for XCM version
|
|
5100
5123
|
* notifications which we no longer desire.
|
|
5101
5124
|
**/
|
|
@@ -5108,7 +5131,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5108
5131
|
* Extoll that a particular destination can be communicated with through a particular
|
|
5109
5132
|
* version of XCM.
|
|
5110
5133
|
*
|
|
5111
|
-
* - `origin`: Must be
|
|
5134
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5112
5135
|
* - `location`: The destination that is being described.
|
|
5113
5136
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5114
5137
|
**/
|
package/substrate/consts.d.ts
CHANGED
|
@@ -201,6 +201,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
201
201
|
[key: string]: Codec;
|
|
202
202
|
};
|
|
203
203
|
contracts: {
|
|
204
|
+
/**
|
|
205
|
+
* Fallback value to limit the storage deposit if it's not being set by the caller.
|
|
206
|
+
**/
|
|
207
|
+
defaultDepositLimit: u128 & AugmentedConst<ApiType>;
|
|
204
208
|
/**
|
|
205
209
|
* The amount of balance a caller has to pay for each byte of storage.
|
|
206
210
|
*
|
|
@@ -1133,6 +1137,36 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1133
1137
|
**/
|
|
1134
1138
|
[key: string]: Codec;
|
|
1135
1139
|
};
|
|
1140
|
+
statement: {
|
|
1141
|
+
/**
|
|
1142
|
+
* Cost of data byte used for priority calculation.
|
|
1143
|
+
**/
|
|
1144
|
+
byteCost: u128 & AugmentedConst<ApiType>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Maximum data bytes allowed per account.
|
|
1147
|
+
**/
|
|
1148
|
+
maxAllowedBytes: u32 & AugmentedConst<ApiType>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Maximum number of statements allowed per account.
|
|
1151
|
+
**/
|
|
1152
|
+
maxAllowedStatements: u32 & AugmentedConst<ApiType>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Minimum data bytes allowed per account.
|
|
1155
|
+
**/
|
|
1156
|
+
minAllowedBytes: u32 & AugmentedConst<ApiType>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Minimum number of statements allowed per account.
|
|
1159
|
+
**/
|
|
1160
|
+
minAllowedStatements: u32 & AugmentedConst<ApiType>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Min balance for priority statements.
|
|
1163
|
+
**/
|
|
1164
|
+
statementCost: u128 & AugmentedConst<ApiType>;
|
|
1165
|
+
/**
|
|
1166
|
+
* Generic const
|
|
1167
|
+
**/
|
|
1168
|
+
[key: string]: Codec;
|
|
1169
|
+
};
|
|
1136
1170
|
stateTrieMigration: {
|
|
1137
1171
|
/**
|
|
1138
1172
|
* Maximal number of bytes that a key can have.
|
package/substrate/events.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -620,8 +620,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
620
620
|
* calls. This is because on failure all storage changes including events are
|
|
621
621
|
* rolled back.
|
|
622
622
|
**/
|
|
623
|
-
Called: AugmentedEvent<ApiType, [caller:
|
|
624
|
-
caller:
|
|
623
|
+
Called: AugmentedEvent<ApiType, [caller: PalletContractsOrigin, contract: AccountId32], {
|
|
624
|
+
caller: PalletContractsOrigin;
|
|
625
625
|
contract: AccountId32;
|
|
626
626
|
}>;
|
|
627
627
|
/**
|
|
@@ -2660,6 +2660,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2660
2660
|
**/
|
|
2661
2661
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2662
2662
|
};
|
|
2663
|
+
statement: {
|
|
2664
|
+
/**
|
|
2665
|
+
* A new statement is submitted
|
|
2666
|
+
**/
|
|
2667
|
+
NewStatement: AugmentedEvent<ApiType, [account: AccountId32, statement: SpStatementStoreStatement], {
|
|
2668
|
+
account: AccountId32;
|
|
2669
|
+
statement: SpStatementStoreStatement;
|
|
2670
|
+
}>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Generic event
|
|
2673
|
+
**/
|
|
2674
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2675
|
+
};
|
|
2663
2676
|
stateTrieMigration: {
|
|
2664
2677
|
/**
|
|
2665
2678
|
* The auto migration task finished.
|
package/substrate/query.d.ts
CHANGED
|
@@ -584,6 +584,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
584
584
|
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
585
585
|
/**
|
|
586
586
|
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
587
|
+
*
|
|
588
|
+
* Always sorted by score.
|
|
587
589
|
**/
|
|
588
590
|
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
589
591
|
/**
|
|
@@ -1156,15 +1158,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1156
1158
|
* The primary structure that holds all offence records keyed by report identifiers.
|
|
1157
1159
|
**/
|
|
1158
1160
|
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1159
|
-
/**
|
|
1160
|
-
* Enumerates all reports of a kind along with the time they happened.
|
|
1161
|
-
*
|
|
1162
|
-
* All reports are sorted by the time of offence.
|
|
1163
|
-
*
|
|
1164
|
-
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
1165
|
-
* different types are not supported at the moment so we are doing the manual serialization.
|
|
1166
|
-
**/
|
|
1167
|
-
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
1168
1161
|
/**
|
|
1169
1162
|
* Generic query
|
|
1170
1163
|
**/
|