@polkadot/api-augment 9.2.2 → 9.2.3
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/consts.d.ts +15 -0
- package/kusama/runtime.d.ts +17 -2
- package/kusama/tx.d.ts +478 -38
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -0
- package/polkadot/errors.d.ts +98 -0
- package/polkadot/events.d.ts +111 -1
- package/polkadot/query.d.ts +93 -1
- package/polkadot/runtime.d.ts +17 -2
- package/polkadot/tx.d.ts +569 -25
- package/substrate/consts.d.ts +15 -0
- package/substrate/errors.d.ts +0 -6
- package/substrate/events.d.ts +0 -6
- package/substrate/query.d.ts +0 -5
- package/substrate/tx.d.ts +561 -63
package/cjs/packageInfo.js
CHANGED
package/kusama/consts.d.ts
CHANGED
|
@@ -498,6 +498,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
498
498
|
* Number of runners_up to keep.
|
|
499
499
|
**/
|
|
500
500
|
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
|
501
|
+
/**
|
|
502
|
+
* The maximum number of candidates in a phragmen election.
|
|
503
|
+
*
|
|
504
|
+
* Warning: The election happens onchain, and this value will determine
|
|
505
|
+
* the size of the election. When this limit is reached no more
|
|
506
|
+
* candidates are accepted in the election.
|
|
507
|
+
**/
|
|
508
|
+
maxCandidates: u32 & AugmentedConst<ApiType>;
|
|
509
|
+
/**
|
|
510
|
+
* The maximum number of voters to allow in a phragmen election.
|
|
511
|
+
*
|
|
512
|
+
* Warning: This impacts the size of the election which is run onchain.
|
|
513
|
+
* When the limit is reached the new voters are ignored.
|
|
514
|
+
**/
|
|
515
|
+
maxVoters: u32 & AugmentedConst<ApiType>;
|
|
501
516
|
/**
|
|
502
517
|
* Identifier for the elections-phragmen pallet's lock
|
|
503
518
|
**/
|
package/kusama/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/calls';
|
|
2
2
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
4
|
+
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
6
6
|
import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
|
|
7
7
|
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
|
@@ -14,7 +14,7 @@ import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, Mmr
|
|
|
14
14
|
import type { NpApiError } from '@polkadot/types/interfaces/nompools';
|
|
15
15
|
import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
|
16
16
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
17
|
-
import type { AccountId, Balance, Block, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
|
17
|
+
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
|
18
18
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
|
19
19
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
20
20
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
@@ -399,5 +399,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
399
399
|
**/
|
|
400
400
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
401
401
|
};
|
|
402
|
+
/** 0xf3ff14d5ab527059/1 */
|
|
403
|
+
transactionPaymentCallApi: {
|
|
404
|
+
/**
|
|
405
|
+
* The call fee details
|
|
406
|
+
**/
|
|
407
|
+
queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
|
408
|
+
/**
|
|
409
|
+
* The call info
|
|
410
|
+
**/
|
|
411
|
+
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
412
|
+
/**
|
|
413
|
+
* Generic call
|
|
414
|
+
**/
|
|
415
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
416
|
+
};
|
|
402
417
|
}
|
|
403
418
|
}
|