@polkadot/api-augment 8.9.2-9 → 8.11.2

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.
@@ -12,4 +12,6 @@ require("./query");
12
12
 
13
13
  require("./registry");
14
14
 
15
+ require("./runtime");
16
+
15
17
  require("./tx");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/api-augment',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '8.9.2-9'
14
+ version: '8.11.2'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
@@ -12,4 +12,6 @@ require("./query");
12
12
 
13
13
  require("./registry");
14
14
 
15
+ require("./runtime");
16
+
15
17
  require("./tx");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -12,4 +12,6 @@ require("./query");
12
12
 
13
13
  require("./registry");
14
14
 
15
+ require("./runtime");
16
+
15
17
  require("./tx");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -493,6 +493,10 @@ declare module '@polkadot/api-base/types/errors' {
493
493
  * these are removed, either through `unvote` or `reap_vote`.
494
494
  **/
495
495
  VotesExist: AugmentedError<ApiType>;
496
+ /**
497
+ * Voting period too low
498
+ **/
499
+ VotingPeriodLow: AugmentedError<ApiType>;
496
500
  /**
497
501
  * Invalid upper bound.
498
502
  **/
@@ -891,10 +895,6 @@ declare module '@polkadot/api-base/types/errors' {
891
895
  * pool at a time.
892
896
  **/
893
897
  AccountBelongsToOtherPool: AugmentedError<ApiType>;
894
- /**
895
- * The member is already unbonding in this era.
896
- **/
897
- AlreadyUnbonding: AugmentedError<ApiType>;
898
898
  /**
899
899
  * The pools state cannot be changed.
900
900
  **/
@@ -907,7 +907,7 @@ declare module '@polkadot/api-base/types/errors' {
907
907
  * Some error occurred that should never happen. This should be reported to the
908
908
  * maintainers.
909
909
  **/
910
- DefensiveError: AugmentedError<ApiType>;
910
+ Defensive: AugmentedError<ApiType>;
911
911
  /**
912
912
  * The caller does not have adequate permissions.
913
913
  **/
@@ -917,10 +917,6 @@ declare module '@polkadot/api-base/types/errors' {
917
917
  * anymore to, for example, collect rewards).
918
918
  **/
919
919
  FullyUnbonding: AugmentedError<ApiType>;
920
- /**
921
- * The pool has insufficient balance to bond as a nominator.
922
- **/
923
- InsufficientBond: AugmentedError<ApiType>;
924
920
  /**
925
921
  * Too many members in the pool or system.
926
922
  **/
@@ -1851,6 +1847,10 @@ declare module '@polkadot/api-base/types/errors' {
1851
1847
  * Not a member.
1852
1848
  **/
1853
1849
  NotMember: AugmentedError<ApiType>;
1850
+ /**
1851
+ * Too many members.
1852
+ **/
1853
+ TooManyMembers: AugmentedError<ApiType>;
1854
1854
  /**
1855
1855
  * Generic error
1856
1856
  **/
@@ -1887,6 +1887,11 @@ declare module '@polkadot/api-base/types/errors' {
1887
1887
  [key: string]: AugmentedError<ApiType>;
1888
1888
  };
1889
1889
  treasury: {
1890
+ /**
1891
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
1892
+ * amount to be spent.
1893
+ **/
1894
+ InsufficientPermission: AugmentedError<ApiType>;
1890
1895
  /**
1891
1896
  * Proposer's balance is too low.
1892
1897
  **/
@@ -471,6 +471,12 @@ declare module '@polkadot/api-base/types/events' {
471
471
  provider: AccountId32;
472
472
  deposit: u128;
473
473
  }>;
474
+ /**
475
+ * A proposal got canceled.
476
+ **/
477
+ ProposalCanceled: AugmentedEvent<ApiType, [propIndex: u32], {
478
+ propIndex: u32;
479
+ }>;
474
480
  /**
475
481
  * A motion has been proposed by a public account.
476
482
  **/
@@ -870,6 +876,13 @@ declare module '@polkadot/api-base/types/events' {
870
876
  poolId: u32;
871
877
  payout: u128;
872
878
  }>;
879
+ /**
880
+ * The active balance of pool `pool_id` has been slashed to `balance`.
881
+ **/
882
+ PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], {
883
+ poolId: u32;
884
+ balance: u128;
885
+ }>;
873
886
  /**
874
887
  * The roles of a pool have been updated to the given new roles. Note that the depositor
875
888
  * can never change.
@@ -888,19 +901,44 @@ declare module '@polkadot/api-base/types/events' {
888
901
  }>;
889
902
  /**
890
903
  * A member has unbonded from their pool.
904
+ *
905
+ * - `balance` is the corresponding balance of the number of points that has been
906
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
907
+ * pool.
908
+ * - `points` is the number of points that are issued as a result of `balance` being
909
+ * dissolved into the corresponding unbonding pool.
910
+ *
911
+ * In the absence of slashing, these values will match. In the presence of slashing, the
912
+ * number of points that are issued in the unbonding pool will be less than the amount
913
+ * requested to be unbonded.
891
914
  **/
892
- Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, amount: u128], {
915
+ Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], {
893
916
  member: AccountId32;
894
917
  poolId: u32;
895
- amount: u128;
918
+ balance: u128;
919
+ points: u128;
920
+ }>;
921
+ /**
922
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
923
+ **/
924
+ UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], {
925
+ poolId: u32;
926
+ era: u32;
927
+ balance: u128;
896
928
  }>;
897
929
  /**
898
930
  * A member has withdrawn from their pool.
931
+ *
932
+ * The given number of `points` have been dissolved in return of `balance`.
933
+ *
934
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
935
+ * will be 1.
899
936
  **/
900
- Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, amount: u128], {
937
+ Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], {
901
938
  member: AccountId32;
902
939
  poolId: u32;
903
- amount: u128;
940
+ balance: u128;
941
+ points: u128;
904
942
  }>;
905
943
  /**
906
944
  * Generic event
@@ -1626,6 +1664,21 @@ declare module '@polkadot/api-base/types/events' {
1626
1664
  **/
1627
1665
  [key: string]: AugmentedEvent<ApiType>;
1628
1666
  };
1667
+ transactionPayment: {
1668
+ /**
1669
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1670
+ * has been paid by `who`.
1671
+ **/
1672
+ TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], {
1673
+ who: AccountId32;
1674
+ actualFee: u128;
1675
+ tip: u128;
1676
+ }>;
1677
+ /**
1678
+ * Generic event
1679
+ **/
1680
+ [key: string]: AugmentedEvent<ApiType>;
1681
+ };
1629
1682
  treasury: {
1630
1683
  /**
1631
1684
  * Some funds have been allocated.
@@ -1666,6 +1719,14 @@ declare module '@polkadot/api-base/types/events' {
1666
1719
  Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], {
1667
1720
  rolloverBalance: u128;
1668
1721
  }>;
1722
+ /**
1723
+ * A new spend proposal has been approved.
1724
+ **/
1725
+ SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], {
1726
+ proposalIndex: u32;
1727
+ amount: u128;
1728
+ beneficiary: AccountId32;
1729
+ }>;
1669
1730
  /**
1670
1731
  * We have ended a spend period and will now allocate funds.
1671
1732
  **/
package/kusama/index.d.ts CHANGED
@@ -4,4 +4,5 @@ import './errors';
4
4
  import './events';
5
5
  import './query';
6
6
  import './registry';
7
+ import './runtime';
7
8
  import './tx';
package/kusama/index.js CHANGED
@@ -6,4 +6,5 @@ import "./errors.js";
6
6
  import "./events.js";
7
7
  import "./query.js";
8
8
  import "./registry.js";
9
+ import "./runtime.js";
9
10
  import "./tx.js";
package/kusama/query.d.ts CHANGED
@@ -857,6 +857,9 @@ declare module '@polkadot/api-base/types/storage' {
857
857
  *
858
858
  * This is the amount that the depositor must put as their initial stake in the pool, as an
859
859
  * indication of "skin in the game".
860
+ *
861
+ * This is the value that will always exist in the staking ledger of the pool bonded account
862
+ * while all other accounts leave.
860
863
  **/
861
864
  minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
862
865
  /**
@@ -0,0 +1,388 @@
1
+ import type { ApiTypes } from '@polkadot/api-base/types';
2
+ import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
3
+ import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
4
+ import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
5
+ import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
6
+ import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
7
+ import type { BlockHash } from '@polkadot/types/interfaces/chain';
8
+ import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
9
+ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
10
+ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
11
+ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
12
+ import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
13
+ import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
14
+ import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
15
+ import type { AccountId, Block, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
16
+ import type { SessionIndex } from '@polkadot/types/interfaces/session';
17
+ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
18
+ import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
19
+ import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
20
+ import type { IExtrinsic, Observable } from '@polkadot/types/types';
21
+ declare module '@polkadot/api-base/types/calls' {
22
+ interface AugmentedCalls<ApiType extends ApiTypes> {
23
+ /** 0xbc9d89904f5b923f/1 */
24
+ accountNonceApi: {
25
+ /**
26
+ * The API to query account nonce (aka transaction index)
27
+ **/
28
+ accountNonce: AugmentedCall<ApiType, (accountId: AccountId | string | Uint8Array) => Observable<Index>>;
29
+ /**
30
+ * Generic call
31
+ **/
32
+ [key: string]: DecoratedCallBase<ApiType>;
33
+ };
34
+ /** 0x687ad44ad37f03c2/1 */
35
+ authorityDiscoveryApi: {
36
+ /**
37
+ * Retrieve authority identifiers of the current and next authority set.
38
+ **/
39
+ authorities: AugmentedCall<ApiType, () => Observable<Vec<AuthorityId>>>;
40
+ /**
41
+ * Generic call
42
+ **/
43
+ [key: string]: DecoratedCallBase<ApiType>;
44
+ };
45
+ /** 0xcbca25e39f142387/2 */
46
+ babeApi: {
47
+ /**
48
+ * Return the genesis configuration for BABE. The configuration is only read on genesis.
49
+ **/
50
+ configuration: AugmentedCall<ApiType, () => Observable<BabeGenesisConfiguration>>;
51
+ /**
52
+ * Returns information regarding the current epoch.
53
+ **/
54
+ currentEpoch: AugmentedCall<ApiType, () => Observable<Epoch>>;
55
+ /**
56
+ * Returns the slot that started the current epoch.
57
+ **/
58
+ currentEpochStart: AugmentedCall<ApiType, () => Observable<Slot>>;
59
+ /**
60
+ * Generates a proof of key ownership for the given authority in the current epoch.
61
+ **/
62
+ generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
63
+ /**
64
+ * Returns information regarding the next epoch (which was already previously announced).
65
+ **/
66
+ nextEpoch: AugmentedCall<ApiType, () => Observable<Epoch>>;
67
+ /**
68
+ * Submits an unsigned extrinsic to report an equivocation.
69
+ **/
70
+ submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: BabeEquivocationProof | {
71
+ offender?: any;
72
+ slotNumber?: any;
73
+ firstHeader?: any;
74
+ secondHeader?: any;
75
+ } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
76
+ /**
77
+ * Generic call
78
+ **/
79
+ [key: string]: DecoratedCallBase<ApiType>;
80
+ };
81
+ /** 0x49eaaf1b548a0cb0/1 */
82
+ beefyApi: {
83
+ /**
84
+ * Return the current active BEEFY validator set
85
+ **/
86
+ validatorSet: AugmentedCall<ApiType, () => Observable<Option<ValidatorSet>>>;
87
+ /**
88
+ * Generic call
89
+ **/
90
+ [key: string]: DecoratedCallBase<ApiType>;
91
+ };
92
+ /** 0x40fe3ad401f8959a/6 */
93
+ blockBuilder: {
94
+ /**
95
+ * Apply the given extrinsic.
96
+ **/
97
+ applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<ApplyExtrinsicResult>>;
98
+ /**
99
+ * Check that the inherents are valid.
100
+ **/
101
+ checkInherents: AugmentedCall<ApiType, (block: Block | {
102
+ header?: any;
103
+ extrinsics?: any;
104
+ } | string | Uint8Array, data: InherentData | {
105
+ data?: any;
106
+ } | string | Uint8Array) => Observable<CheckInherentsResult>>;
107
+ /**
108
+ * Finish the current block.
109
+ **/
110
+ finalizeBlock: AugmentedCall<ApiType, () => Observable<Header>>;
111
+ /**
112
+ * Generate inherent extrinsics.
113
+ **/
114
+ inherentExtrinsics: AugmentedCall<ApiType, (inherent: InherentData | {
115
+ data?: any;
116
+ } | string | Uint8Array) => Observable<Vec<Extrinsic>>>;
117
+ /**
118
+ * Generic call
119
+ **/
120
+ [key: string]: DecoratedCallBase<ApiType>;
121
+ };
122
+ /** 0xdf6acb689907609b/4 */
123
+ core: {
124
+ /**
125
+ * Execute the given block.
126
+ **/
127
+ executeBlock: AugmentedCall<ApiType, (block: Block | {
128
+ header?: any;
129
+ extrinsics?: any;
130
+ } | string | Uint8Array) => Observable<Null>>;
131
+ /**
132
+ * Initialize a block with the given header.
133
+ **/
134
+ initializeBlock: AugmentedCall<ApiType, (header: Header | {
135
+ parentHash?: any;
136
+ number?: any;
137
+ stateRoot?: any;
138
+ extrinsicsRoot?: any;
139
+ digest?: any;
140
+ } | string | Uint8Array) => Observable<Null>>;
141
+ /**
142
+ * Returns the version of the runtime.
143
+ **/
144
+ version: AugmentedCall<ApiType, () => Observable<RuntimeVersion>>;
145
+ /**
146
+ * Generic call
147
+ **/
148
+ [key: string]: DecoratedCallBase<ApiType>;
149
+ };
150
+ /** 0xed99c5acb25eedf5/3 */
151
+ grandpaApi: {
152
+ /**
153
+ * Get current GRANDPA authority set id.
154
+ **/
155
+ currentSetId: AugmentedCall<ApiType, () => Observable<SetId>>;
156
+ /**
157
+ * Generates a proof of key ownership for the given authority in the given set.
158
+ **/
159
+ generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: SetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
160
+ /**
161
+ * Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed.
162
+ **/
163
+ grandpaAuthorities: AugmentedCall<ApiType, () => Observable<AuthorityList>>;
164
+ /**
165
+ * Submits an unsigned extrinsic to report an equivocation.
166
+ **/
167
+ submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: GrandpaEquivocationProof | {
168
+ setId?: any;
169
+ equivocation?: any;
170
+ } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
171
+ /**
172
+ * Generic call
173
+ **/
174
+ [key: string]: DecoratedCallBase<ApiType>;
175
+ };
176
+ /** 0x37e397fc7c91f5e4/1 */
177
+ metadata: {
178
+ /**
179
+ * Returns the metadata of a runtime
180
+ **/
181
+ metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
182
+ /**
183
+ * Generic call
184
+ **/
185
+ [key: string]: DecoratedCallBase<ApiType>;
186
+ };
187
+ /** 0x91d5df18b0d2cf58/1 */
188
+ mmrApi: {
189
+ /**
190
+ * Generate MMR proof for a series of leaves under given indices.
191
+ **/
192
+ generateBatchProof: AugmentedCall<ApiType, (leafIndices: Vec<MmrLeafIndex> | (MmrLeafIndex | AnyNumber | Uint8Array)[]) => Observable<Result<ITuple<[Vec<MmrEncodableOpaqueLeaf>, MmrBatchProof]>, MmrError>>>;
193
+ /**
194
+ * Generate MMR proof for a leaf under given index.
195
+ **/
196
+ generateProof: AugmentedCall<ApiType, (leafIndex: MmrLeafIndex | AnyNumber | Uint8Array) => Observable<Result<ITuple<[MmrEncodableOpaqueLeaf, MmrProof]>, MmrError>>>;
197
+ /**
198
+ * Return the on-chain MMR root hash.
199
+ **/
200
+ mmrRoot: AugmentedCall<ApiType, () => Observable<Result<Hash, MmrError>>>;
201
+ /**
202
+ * Verify MMR proof against on-chain MMR for a batch of leaves.
203
+ **/
204
+ verifyBatchProof: AugmentedCall<ApiType, (leaves: Vec<MmrEncodableOpaqueLeaf> | (MmrEncodableOpaqueLeaf | string | Uint8Array)[], proof: MmrBatchProof | {
205
+ leafIndices?: any;
206
+ leafCount?: any;
207
+ items?: any;
208
+ } | string | Uint8Array) => Observable<Result<ITuple<[]>, MmrError>>>;
209
+ /**
210
+ * Verify MMR proof against given root hash or a batch of leaves.
211
+ **/
212
+ verifyBatchProofStateless: AugmentedCall<ApiType, (root: Hash | string | Uint8Array, leaves: Vec<MmrEncodableOpaqueLeaf> | (MmrEncodableOpaqueLeaf | string | Uint8Array)[], proof: MmrBatchProof | {
213
+ leafIndices?: any;
214
+ leafCount?: any;
215
+ items?: any;
216
+ } | string | Uint8Array) => Observable<Result<ITuple<[]>, MmrError>>>;
217
+ /**
218
+ * Verify MMR proof against on-chain MMR.
219
+ **/
220
+ verifyProof: AugmentedCall<ApiType, (leaf: MmrEncodableOpaqueLeaf | string | Uint8Array, proof: MmrProof | {
221
+ leafIndex?: any;
222
+ leafCount?: any;
223
+ items?: any;
224
+ } | string | Uint8Array) => Observable<Result<ITuple<[]>, MmrError>>>;
225
+ /**
226
+ * Verify MMR proof against given root hash.
227
+ **/
228
+ verifyProofStateless: AugmentedCall<ApiType, (root: Hash | string | Uint8Array, leaf: MmrEncodableOpaqueLeaf | string | Uint8Array, proof: MmrProof | {
229
+ leafIndex?: any;
230
+ leafCount?: any;
231
+ items?: any;
232
+ } | string | Uint8Array) => Observable<Result<ITuple<[]>, MmrError>>>;
233
+ /**
234
+ * Generic call
235
+ **/
236
+ [key: string]: DecoratedCallBase<ApiType>;
237
+ };
238
+ /** 0xf78b278be53f454c/2 */
239
+ offchainWorkerApi: {
240
+ /**
241
+ * Starts the off-chain task for given block header.
242
+ **/
243
+ offchainWorker: AugmentedCall<ApiType, (header: Header | {
244
+ parentHash?: any;
245
+ number?: any;
246
+ stateRoot?: any;
247
+ extrinsicsRoot?: any;
248
+ digest?: any;
249
+ } | string | Uint8Array) => Observable<Null>>;
250
+ /**
251
+ * Generic call
252
+ **/
253
+ [key: string]: DecoratedCallBase<ApiType>;
254
+ };
255
+ /** 0xaf2c0297a23e6d3d/2 */
256
+ parachainHost: {
257
+ /**
258
+ * Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash.
259
+ **/
260
+ assumedValidationData: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, hash: Hash | string | Uint8Array) => Observable<Option<ITuple<[PersistedValidationData, ValidationCodeHash]>>>>;
261
+ /**
262
+ * Yields information on all availability cores as relevant to the child block.
263
+ **/
264
+ availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<CoreState>>>;
265
+ /**
266
+ * Get a vector of events concerning candidates that occurred within a block.
267
+ **/
268
+ candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<CandidateEvent>>>;
269
+ /**
270
+ * Get the receipt of a candidate pending availability.
271
+ **/
272
+ candidatePendingAvailability: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Option<CommittedCandidateReceipt>>>;
273
+ /**
274
+ * Checks if the given validation outputs pass the acceptance criteria.
275
+ **/
276
+ checkValidationOutputs: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, outputs: CandidateCommitments | {
277
+ upwardMessages?: any;
278
+ horizontalMessages?: any;
279
+ newValidationCode?: any;
280
+ headData?: any;
281
+ processedDownwardMessages?: any;
282
+ hrmpWatermark?: any;
283
+ } | string | Uint8Array) => Observable<bool>>;
284
+ /**
285
+ * Get all the pending inbound messages in the downward message queue for a para.
286
+ **/
287
+ dmqContents: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Vec<InboundDownwardMessage>>>;
288
+ /**
289
+ * Get the contents of all channels addressed to the given recipient.
290
+ **/
291
+ inboundHrmpChannelsContents: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Vec<InboundHrmpMessage>>>;
292
+ /**
293
+ * Scrape dispute relevant from on-chain, backing votes and resolved disputes.
294
+ **/
295
+ onChainVotes: AugmentedCall<ApiType, () => Observable<Option<ScrapedOnChainVotes>>>;
296
+ /**
297
+ * Yields the persisted validation data for the given `ParaId` along with an assumption that should be used if the para currently occupies a core.
298
+ **/
299
+ persistedValidationData: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<PersistedValidationData>>>;
300
+ /**
301
+ * Returns code hashes of PVFs that require pre-checking by validators in the active set.
302
+ **/
303
+ pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<ValidationCodeHash>>>;
304
+ /**
305
+ * Returns the session index expected at a child of the block.
306
+ **/
307
+ sessionIndexForChild: AugmentedCall<ApiType, () => Observable<SessionIndex>>;
308
+ /**
309
+ * Get the session info for the given session, if stored.
310
+ **/
311
+ sessionInfo: AugmentedCall<ApiType, (index: SessionIndex | AnyNumber | Uint8Array) => Observable<Option<SessionInfo>>>;
312
+ /**
313
+ * Submits a PVF pre-checking statement into the transaction pool.
314
+ **/
315
+ submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PvfCheckStatement | {
316
+ accept?: any;
317
+ subject?: any;
318
+ sessionIndex?: any;
319
+ validatorIndex?: any;
320
+ } | string | Uint8Array, signature: ValidatorSignature | string | Uint8Array) => Observable<Null>>;
321
+ /**
322
+ * Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
323
+ **/
324
+ validationCode: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<ValidationCode>>;
325
+ /**
326
+ * Get the validation code from its hash.
327
+ **/
328
+ validationCodeByHash: AugmentedCall<ApiType, (hash: ValidationCodeHash | string | Uint8Array) => Observable<Option<ValidationCode>>>;
329
+ /**
330
+ * Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.
331
+ **/
332
+ validationCodeHash: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<ValidationCodeHash>>>;
333
+ /**
334
+ * Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on
335
+ **/
336
+ validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<ParaValidatorIndex>>, GroupRotationInfo]>>>;
337
+ /**
338
+ * Get the current validators.
339
+ **/
340
+ validators: AugmentedCall<ApiType, () => Observable<Vec<ValidatorId>>>;
341
+ /**
342
+ * Generic call
343
+ **/
344
+ [key: string]: DecoratedCallBase<ApiType>;
345
+ };
346
+ /** 0xab3c0572291feb8b/1 */
347
+ sessionKeys: {
348
+ /**
349
+ * Decode the given public session keys.
350
+ **/
351
+ decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, KeyTypeId]>>>>>;
352
+ /**
353
+ * Generate a set of session keys with optionally using the given seed.
354
+ **/
355
+ generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | object | string | Uint8Array) => Observable<Bytes>>;
356
+ /**
357
+ * Generic call
358
+ **/
359
+ [key: string]: DecoratedCallBase<ApiType>;
360
+ };
361
+ /** 0xd2bc9897eed08f15/3 */
362
+ taggedTransactionQueue: {
363
+ /**
364
+ * Validate the transaction.
365
+ **/
366
+ validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
367
+ /**
368
+ * Generic call
369
+ **/
370
+ [key: string]: DecoratedCallBase<ApiType>;
371
+ };
372
+ /** 0x37c8bb1350a9a2a8/1 */
373
+ transactionPaymentApi: {
374
+ /**
375
+ * The transaction fee details
376
+ **/
377
+ queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
378
+ /**
379
+ * The transaction info
380
+ **/
381
+ queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
382
+ /**
383
+ * Generic call
384
+ **/
385
+ [key: string]: DecoratedCallBase<ApiType>;
386
+ };
387
+ }
388
+ }
@@ -0,0 +1 @@
1
+ export {};