@polkadot/api-augment 15.6.1 → 15.7.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.
- package/cjs/kusama/consts.d.ts +14 -0
- package/cjs/kusama/errors.d.ts +76 -10
- package/cjs/kusama/events.d.ts +60 -5
- package/cjs/kusama/query.d.ts +40 -13
- package/cjs/kusama/runtime.d.ts +54 -28
- package/cjs/kusama/tx.d.ts +97 -26
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +14 -0
- package/cjs/polkadot/errors.d.ts +76 -10
- package/cjs/polkadot/events.d.ts +60 -21
- package/cjs/polkadot/query.d.ts +38 -25
- package/cjs/polkadot/runtime.d.ts +54 -28
- package/cjs/polkadot/tx.d.ts +95 -41
- package/kusama/consts.d.ts +14 -0
- package/kusama/errors.d.ts +76 -10
- package/kusama/events.d.ts +60 -5
- package/kusama/query.d.ts +40 -13
- package/kusama/runtime.d.ts +54 -28
- package/kusama/tx.d.ts +97 -26
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +14 -0
- package/polkadot/errors.d.ts +76 -10
- package/polkadot/events.d.ts +60 -21
- package/polkadot/query.d.ts +38 -25
- package/polkadot/runtime.d.ts +54 -28
- package/polkadot/tx.d.ts +95 -41
package/cjs/kusama/runtime.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
|
7
7
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
8
8
|
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
|
9
9
|
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
|
10
|
-
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage,
|
|
10
|
+
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8AsyncBackingBackingState, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8CandidateEvent, PolkadotPrimitivesV8CommittedCandidateReceipt, PolkadotPrimitivesV8CoreState, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8ScrapedOnChainVotes, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
11
11
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
12
12
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
13
13
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
@@ -77,17 +77,35 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
77
77
|
* Return the block number where BEEFY consensus is enabled/started
|
|
78
78
|
**/
|
|
79
79
|
beefyGenesis: AugmentedCall<ApiType, () => Observable<Option<u32>>>;
|
|
80
|
+
/**
|
|
81
|
+
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
|
|
82
|
+
**/
|
|
83
|
+
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<Bytes>>>;
|
|
80
84
|
/**
|
|
81
85
|
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
|
|
82
86
|
**/
|
|
83
87
|
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: SpConsensusBeefyEcdsaCryptoPublic | string | Uint8Array) => Observable<Option<Bytes>>>;
|
|
84
88
|
/**
|
|
85
|
-
* Submits an unsigned extrinsic to report
|
|
89
|
+
* Submits an unsigned extrinsic to report a double voting equivocation. The caller, must provide the double voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
|
86
90
|
**/
|
|
87
|
-
|
|
91
|
+
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: SpConsensusBeefyDoubleVotingProof | {
|
|
88
92
|
first?: any;
|
|
89
93
|
second?: any;
|
|
90
94
|
} | string | Uint8Array, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
95
|
+
/**
|
|
96
|
+
* Submits an unsigned extrinsic to report a fork voting equivocation. The caller, must provide the fork voting proof (the ancestry proof should be obtained using, `generate_ancestry_proof`) and a key ownership proof (should be obtained using, `generate_key_ownership_proof`). The extrinsic will be unsigned and should only, be accepted for local authorship (not to be broadcast to the network). This method, returns `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
|
97
|
+
**/
|
|
98
|
+
submitReportForkVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: SpConsensusBeefyForkVotingProofOpaqueValue | {
|
|
99
|
+
vote?: any;
|
|
100
|
+
ancestryProof?: any;
|
|
101
|
+
header?: any;
|
|
102
|
+
} | string | Uint8Array, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
103
|
+
/**
|
|
104
|
+
* Submits an unsigned extrinsic to report a future block voting equivocation. The caller, must provide the future block voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`)., The extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
|
105
|
+
**/
|
|
106
|
+
submitReportFutureBlockVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: SpConsensusBeefyFutureBlockVotingProof | {
|
|
107
|
+
vote?: any;
|
|
108
|
+
} | string | Uint8Array, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
91
109
|
/**
|
|
92
110
|
* Return the current active BEEFY validator set
|
|
93
111
|
**/
|
|
@@ -214,7 +232,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
214
232
|
**/
|
|
215
233
|
buildState: AugmentedCall<ApiType, (json: Bytes | string | Uint8Array) => Observable<Result<Null, Text>>>;
|
|
216
234
|
/**
|
|
217
|
-
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function returns JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not,
|
|
235
|
+
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function returns JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
|
|
218
236
|
**/
|
|
219
237
|
getPreset: AugmentedCall<ApiType, (id: Option<Text> | null | Uint8Array | Text | string) => Observable<Option<Bytes>>>;
|
|
220
238
|
/**
|
|
@@ -345,9 +363,13 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
345
363
|
**/
|
|
346
364
|
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
|
347
365
|
/**
|
|
348
|
-
* Returns the pending slash for a given pool member.
|
|
366
|
+
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
|
349
367
|
**/
|
|
350
368
|
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
|
369
|
+
/**
|
|
370
|
+
* Returns the total contribution of a pool member including any balance that is unbonding.
|
|
371
|
+
**/
|
|
372
|
+
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
|
351
373
|
/**
|
|
352
374
|
* Returns the pending rewards for the member that the AccountId was given for.
|
|
353
375
|
**/
|
|
@@ -356,6 +378,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
356
378
|
* Returns the equivalent balance of `points` for a given pool.
|
|
357
379
|
**/
|
|
358
380
|
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
|
381
|
+
/**
|
|
382
|
+
* Total balance contributed to the pool.
|
|
383
|
+
**/
|
|
384
|
+
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
|
359
385
|
/**
|
|
360
386
|
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
|
361
387
|
**/
|
|
@@ -391,35 +417,35 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
391
417
|
/**
|
|
392
418
|
* Approval voting configuration parameters
|
|
393
419
|
**/
|
|
394
|
-
approvalVotingParams: AugmentedCall<ApiType, () => Observable<
|
|
420
|
+
approvalVotingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV8ApprovalVotingParams>>;
|
|
395
421
|
/**
|
|
396
422
|
* Returns the persisted validation data for the given `ParaId` along with the corresponding, validation code hash. Instead of accepting assumption about the para, matches the validation, data hash against an expected one and yields `None` if they're not equal.
|
|
397
423
|
**/
|
|
398
|
-
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[
|
|
424
|
+
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[PolkadotPrimitivesV8PersistedValidationData, H256]>>>>;
|
|
399
425
|
/**
|
|
400
426
|
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent.
|
|
401
427
|
**/
|
|
402
|
-
asyncBackingParams: AugmentedCall<ApiType, () => Observable<
|
|
428
|
+
asyncBackingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV8AsyncBackingAsyncBackingParams>>;
|
|
403
429
|
/**
|
|
404
430
|
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
|
405
431
|
**/
|
|
406
|
-
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<
|
|
432
|
+
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV8CoreState>>>;
|
|
407
433
|
/**
|
|
408
434
|
* Get a vector of events concerning candidates that occurred within a block.
|
|
409
435
|
**/
|
|
410
|
-
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<
|
|
436
|
+
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV8CandidateEvent>>>;
|
|
411
437
|
/**
|
|
412
438
|
* Get the receipt of a candidate pending availability. This returns `Some` for any paras, assigned to occupied cores in `availability_cores` and `None` otherwise.
|
|
413
439
|
**/
|
|
414
|
-
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<
|
|
440
|
+
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8CommittedCandidateReceipt>>>;
|
|
415
441
|
/**
|
|
416
442
|
* Elastic scaling support
|
|
417
443
|
**/
|
|
418
|
-
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<
|
|
444
|
+
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PolkadotPrimitivesV8CommittedCandidateReceipt>>>;
|
|
419
445
|
/**
|
|
420
446
|
* Checks if the given validation outputs pass the acceptance criteria.
|
|
421
447
|
**/
|
|
422
|
-
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs:
|
|
448
|
+
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs: PolkadotPrimitivesV8CandidateCommitments | {
|
|
423
449
|
upwardMessages?: any;
|
|
424
450
|
horizontalMessages?: any;
|
|
425
451
|
newValidationCode?: any;
|
|
@@ -438,7 +464,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
438
464
|
/**
|
|
439
465
|
* Returns all onchain disputes.
|
|
440
466
|
**/
|
|
441
|
-
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256,
|
|
467
|
+
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV8DisputeState]>>>>;
|
|
442
468
|
/**
|
|
443
469
|
* Get all the pending inbound messages in the downward message queue for a para.
|
|
444
470
|
**/
|
|
@@ -450,7 +476,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
450
476
|
/**
|
|
451
477
|
* Returns a merkle proof of a validator session key., NOTE: This function is only available since parachain host version 5.
|
|
452
478
|
**/
|
|
453
|
-
keyOwnershipProof: AugmentedCall<ApiType, (validator_id:
|
|
479
|
+
keyOwnershipProof: AugmentedCall<ApiType, (validator_id: PolkadotPrimitivesV8ValidatorAppPublic | string | Uint8Array) => Observable<Option<Bytes>>>;
|
|
454
480
|
/**
|
|
455
481
|
* Get the minimum number of backing votes for a parachain candidate., This is a staging method! Do not use on production runtimes!
|
|
456
482
|
**/
|
|
@@ -462,15 +488,15 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
462
488
|
/**
|
|
463
489
|
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
|
|
464
490
|
**/
|
|
465
|
-
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<
|
|
491
|
+
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PolkadotPrimitivesV8ScrapedOnChainVotes>>>;
|
|
466
492
|
/**
|
|
467
493
|
* Returns the state of parachain backing for a given para.
|
|
468
494
|
**/
|
|
469
|
-
paraBackingState: AugmentedCall<ApiType, (_: ParaId | AnyNumber | Uint8Array) => Observable<Option<
|
|
495
|
+
paraBackingState: AugmentedCall<ApiType, (_: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8AsyncBackingBackingState>>>;
|
|
470
496
|
/**
|
|
471
497
|
* Yields the persisted validation data for the given `ParaId` along with an assumption that, should be used if the para currently occupies a core.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
|
|
472
498
|
**/
|
|
473
|
-
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption:
|
|
499
|
+
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>>;
|
|
474
500
|
/**
|
|
475
501
|
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
|
|
476
502
|
**/
|
|
@@ -478,7 +504,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
478
504
|
/**
|
|
479
505
|
* Returns execution parameters for the session.
|
|
480
506
|
**/
|
|
481
|
-
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
507
|
+
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8ExecutorParams>>>;
|
|
482
508
|
/**
|
|
483
509
|
* Returns the session index expected at a child of the block.,, This can be used to instantiate a `SigningContext`.
|
|
484
510
|
**/
|
|
@@ -486,20 +512,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
486
512
|
/**
|
|
487
513
|
* Get the session info for the given session, if stored.,, NOTE: This function is only available since parachain host version 2.
|
|
488
514
|
**/
|
|
489
|
-
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
515
|
+
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SessionInfo>>>;
|
|
490
516
|
/**
|
|
491
517
|
* Submits a PVF pre-checking statement into the transaction pool.,, NOTE: This function is only available since parachain host version 2.
|
|
492
518
|
**/
|
|
493
|
-
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt:
|
|
519
|
+
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PolkadotPrimitivesV8PvfCheckStatement | {
|
|
494
520
|
accept?: any;
|
|
495
521
|
subject?: any;
|
|
496
522
|
sessionIndex?: any;
|
|
497
523
|
validatorIndex?: any;
|
|
498
|
-
} | string | Uint8Array, signature:
|
|
524
|
+
} | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => Observable<Null>>;
|
|
499
525
|
/**
|
|
500
526
|
* Submit an unsigned extrinsic to slash validators who lost a dispute about, a candidate of a past session., NOTE: This function is only available since parachain host version 5.
|
|
501
527
|
**/
|
|
502
|
-
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof:
|
|
528
|
+
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof: PolkadotPrimitivesV8SlashingDisputeProof | {
|
|
503
529
|
timeSlot?: any;
|
|
504
530
|
kind?: any;
|
|
505
531
|
validatorIndex?: any;
|
|
@@ -508,11 +534,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
508
534
|
/**
|
|
509
535
|
* Returns a list of validators that lost a past session dispute and need to be slashed., NOTE: This function is only available since parachain host version 5.
|
|
510
536
|
**/
|
|
511
|
-
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256,
|
|
537
|
+
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV8SlashingPendingSlashes]>>>>;
|
|
512
538
|
/**
|
|
513
539
|
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
|
|
514
540
|
**/
|
|
515
|
-
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption:
|
|
541
|
+
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<Bytes>>>;
|
|
516
542
|
/**
|
|
517
543
|
* Get the validation code from its hash.
|
|
518
544
|
**/
|
|
@@ -520,15 +546,15 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
520
546
|
/**
|
|
521
547
|
* Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.,, NOTE: This function is only available since parachain host version 2.
|
|
522
548
|
**/
|
|
523
|
-
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption:
|
|
549
|
+
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<H256>>>;
|
|
524
550
|
/**
|
|
525
551
|
* Returns the validator groups and rotation info localized based on the hypothetical child, of a block whose state this is invoked on. Note that `now` in the `GroupRotationInfo`, should be the successor of the number of the block.
|
|
526
552
|
**/
|
|
527
|
-
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>,
|
|
553
|
+
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>, PolkadotPrimitivesV8GroupRotationInfo]>>>;
|
|
528
554
|
/**
|
|
529
555
|
* Get the current validators.
|
|
530
556
|
**/
|
|
531
|
-
validators: AugmentedCall<ApiType, () => Observable<Vec<
|
|
557
|
+
validators: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV8ValidatorAppPublic>>>;
|
|
532
558
|
/**
|
|
533
559
|
* Generic call
|
|
534
560
|
**/
|
package/cjs/kusama/tx.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
|
|
|
4
4
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
6
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8InherentData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
8
8
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
9
9
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
10
10
|
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -305,7 +305,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
305
305
|
* against the extracted offender. If both are valid, the offence
|
|
306
306
|
* will be reported.
|
|
307
307
|
**/
|
|
308
|
-
|
|
308
|
+
reportDoubleVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | {
|
|
309
309
|
first?: any;
|
|
310
310
|
second?: any;
|
|
311
311
|
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
@@ -324,7 +324,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
324
324
|
* if the block author is defined it will be defined as the equivocation
|
|
325
325
|
* reporter.
|
|
326
326
|
**/
|
|
327
|
-
|
|
327
|
+
reportDoubleVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | {
|
|
328
328
|
first?: any;
|
|
329
329
|
second?: any;
|
|
330
330
|
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
@@ -332,6 +332,68 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
332
332
|
trieNodes?: any;
|
|
333
333
|
validatorCount?: any;
|
|
334
334
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
|
|
335
|
+
/**
|
|
336
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
337
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
338
|
+
* If both are valid, the offence will be reported.
|
|
339
|
+
**/
|
|
340
|
+
reportForkVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProofAncestryProof | {
|
|
341
|
+
vote?: any;
|
|
342
|
+
ancestryProof?: any;
|
|
343
|
+
header?: any;
|
|
344
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
345
|
+
session?: any;
|
|
346
|
+
trieNodes?: any;
|
|
347
|
+
validatorCount?: any;
|
|
348
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProofAncestryProof, SpSessionMembershipProof]>;
|
|
349
|
+
/**
|
|
350
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
351
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
352
|
+
* If both are valid, the offence will be reported.
|
|
353
|
+
*
|
|
354
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
355
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
356
|
+
* if the block author is defined it will be defined as the equivocation
|
|
357
|
+
* reporter.
|
|
358
|
+
**/
|
|
359
|
+
reportForkVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProofAncestryProof | {
|
|
360
|
+
vote?: any;
|
|
361
|
+
ancestryProof?: any;
|
|
362
|
+
header?: any;
|
|
363
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
364
|
+
session?: any;
|
|
365
|
+
trieNodes?: any;
|
|
366
|
+
validatorCount?: any;
|
|
367
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProofAncestryProof, SpSessionMembershipProof]>;
|
|
368
|
+
/**
|
|
369
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
370
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
371
|
+
* If both are valid, the offence will be reported.
|
|
372
|
+
**/
|
|
373
|
+
reportFutureBlockVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | {
|
|
374
|
+
vote?: any;
|
|
375
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
376
|
+
session?: any;
|
|
377
|
+
trieNodes?: any;
|
|
378
|
+
validatorCount?: any;
|
|
379
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
|
|
380
|
+
/**
|
|
381
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
382
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
383
|
+
* If both are valid, the offence will be reported.
|
|
384
|
+
*
|
|
385
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
386
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
387
|
+
* if the block author is defined it will be defined as the equivocation
|
|
388
|
+
* reporter.
|
|
389
|
+
**/
|
|
390
|
+
reportFutureBlockVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | {
|
|
391
|
+
vote?: any;
|
|
392
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
393
|
+
session?: any;
|
|
394
|
+
trieNodes?: any;
|
|
395
|
+
validatorCount?: any;
|
|
396
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
|
|
335
397
|
/**
|
|
336
398
|
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
|
|
337
399
|
* future.
|
|
@@ -779,16 +841,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
779
841
|
/**
|
|
780
842
|
* Set approval-voting-params.
|
|
781
843
|
**/
|
|
782
|
-
setApprovalVotingParams: AugmentedSubmittable<(updated:
|
|
844
|
+
setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ApprovalVotingParams | {
|
|
783
845
|
maxApprovalCoalesceCount?: any;
|
|
784
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
846
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ApprovalVotingParams]>;
|
|
785
847
|
/**
|
|
786
848
|
* Set the asynchronous backing parameters.
|
|
787
849
|
**/
|
|
788
|
-
setAsyncBackingParams: AugmentedSubmittable<(updated:
|
|
850
|
+
setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams | {
|
|
789
851
|
maxCandidateDepth?: any;
|
|
790
852
|
allowedAncestryLen?: any;
|
|
791
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
853
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8AsyncBackingAsyncBackingParams]>;
|
|
792
854
|
/**
|
|
793
855
|
* Setting this to true will disable consistency checks for the configuration setters.
|
|
794
856
|
* Use with caution.
|
|
@@ -816,7 +878,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
816
878
|
/**
|
|
817
879
|
* Set PVF executor parameters.
|
|
818
880
|
**/
|
|
819
|
-
setExecutorParams: AugmentedSubmittable<(updated:
|
|
881
|
+
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ExecutorParams]>;
|
|
820
882
|
/**
|
|
821
883
|
* Set the parachain validator-group rotation frequency
|
|
822
884
|
**/
|
|
@@ -966,7 +1028,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
966
1028
|
/**
|
|
967
1029
|
* Set scheduler-params.
|
|
968
1030
|
**/
|
|
969
|
-
setSchedulerParams: AugmentedSubmittable<(updated:
|
|
1031
|
+
setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8SchedulerParams | {
|
|
970
1032
|
groupRotationFrequency?: any;
|
|
971
1033
|
parasAvailabilityPeriod?: any;
|
|
972
1034
|
maxValidatorsPerCore?: any;
|
|
@@ -978,7 +1040,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
978
1040
|
onDemandFeeVariability?: any;
|
|
979
1041
|
onDemandBaseFee?: any;
|
|
980
1042
|
ttl?: any;
|
|
981
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1043
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SchedulerParams]>;
|
|
982
1044
|
/**
|
|
983
1045
|
* Set the scheduling lookahead, in expected number of blocks at peak throughput.
|
|
984
1046
|
**/
|
|
@@ -2410,8 +2472,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2410
2472
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
2411
2473
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
2412
2474
|
*
|
|
2413
|
-
*
|
|
2414
|
-
*
|
|
2475
|
+
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
|
2476
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
|
|
2477
|
+
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
|
2478
|
+
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
|
2415
2479
|
**/
|
|
2416
2480
|
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
2417
2481
|
Id: any;
|
|
@@ -2599,8 +2663,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2599
2663
|
Address20: any;
|
|
2600
2664
|
} | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
|
2601
2665
|
/**
|
|
2602
|
-
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
2603
|
-
*
|
|
2666
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
|
2667
|
+
* account and immediately increases the pools bond.
|
|
2668
|
+
*
|
|
2669
|
+
* The method of transferring the amount to the pool account is determined by
|
|
2670
|
+
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
2671
|
+
* [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
|
|
2672
|
+
* the `origin`, while the pool gains the right to use these funds for staking.
|
|
2604
2673
|
*
|
|
2605
2674
|
* # Note
|
|
2606
2675
|
*
|
|
@@ -2950,12 +3019,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2950
3019
|
/**
|
|
2951
3020
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
2952
3021
|
**/
|
|
2953
|
-
enter: AugmentedSubmittable<(data:
|
|
3022
|
+
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV8InherentData | {
|
|
2954
3023
|
bitfields?: any;
|
|
2955
3024
|
backedCandidates?: any;
|
|
2956
3025
|
disputes?: any;
|
|
2957
3026
|
parentHeader?: any;
|
|
2958
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3027
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8InherentData]>;
|
|
2959
3028
|
/**
|
|
2960
3029
|
* Generic tx
|
|
2961
3030
|
**/
|
|
@@ -2970,6 +3039,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2970
3039
|
**/
|
|
2971
3040
|
setParameter: AugmentedSubmittable<(keyValue: StagingKusamaRuntimeRuntimeParameters | {
|
|
2972
3041
|
Inflation: any;
|
|
3042
|
+
} | {
|
|
3043
|
+
Treasury: any;
|
|
2973
3044
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeRuntimeParameters]>;
|
|
2974
3045
|
/**
|
|
2975
3046
|
* Generic tx
|
|
@@ -3024,12 +3095,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3024
3095
|
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
|
3025
3096
|
* enacts the results if that was the last vote before achieving the supermajority.
|
|
3026
3097
|
**/
|
|
3027
|
-
includePvfCheckStatement: AugmentedSubmittable<(stmt:
|
|
3098
|
+
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV8PvfCheckStatement | {
|
|
3028
3099
|
accept?: any;
|
|
3029
3100
|
subject?: any;
|
|
3030
3101
|
sessionIndex?: any;
|
|
3031
3102
|
validatorIndex?: any;
|
|
3032
|
-
} | string | Uint8Array, signature:
|
|
3103
|
+
} | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8ValidatorAppSignature]>;
|
|
3033
3104
|
/**
|
|
3034
3105
|
* Remove the validation code from the storage iff the reference count is 0.
|
|
3035
3106
|
*
|
|
@@ -3057,7 +3128,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3057
3128
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3058
3129
|
};
|
|
3059
3130
|
parasSlashing: {
|
|
3060
|
-
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof:
|
|
3131
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV8SlashingDisputeProof | {
|
|
3061
3132
|
timeSlot?: any;
|
|
3062
3133
|
kind?: any;
|
|
3063
3134
|
validatorIndex?: any;
|
|
@@ -3066,7 +3137,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3066
3137
|
session?: any;
|
|
3067
3138
|
trieNodes?: any;
|
|
3068
3139
|
validatorCount?: any;
|
|
3069
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3140
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SlashingDisputeProof, SpSessionMembershipProof]>;
|
|
3070
3141
|
/**
|
|
3071
3142
|
* Generic tx
|
|
3072
3143
|
**/
|
|
@@ -3135,7 +3206,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3135
3206
|
Address32: any;
|
|
3136
3207
|
} | {
|
|
3137
3208
|
Address20: any;
|
|
3138
|
-
} | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
|
|
3209
|
+
} | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
|
|
3139
3210
|
/**
|
|
3140
3211
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
3141
3212
|
*
|
|
@@ -3184,7 +3255,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3184
3255
|
*
|
|
3185
3256
|
* Fails if there are insufficient funds to pay for deposit.
|
|
3186
3257
|
**/
|
|
3187
|
-
createPure: AugmentedSubmittable<(proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeProxyType, u32, u16]>;
|
|
3258
|
+
createPure: AugmentedSubmittable<(proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeProxyType, u32, u16]>;
|
|
3188
3259
|
/**
|
|
3189
3260
|
* Removes a previously spawned pure proxy.
|
|
3190
3261
|
*
|
|
@@ -3213,7 +3284,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3213
3284
|
Address32: any;
|
|
3214
3285
|
} | {
|
|
3215
3286
|
Address20: any;
|
|
3216
|
-
} | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
3287
|
+
} | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
3217
3288
|
/**
|
|
3218
3289
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
3219
3290
|
* `add_proxy`.
|
|
@@ -3235,7 +3306,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3235
3306
|
Address32: any;
|
|
3236
3307
|
} | {
|
|
3237
3308
|
Address20: any;
|
|
3238
|
-
} | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
|
|
3309
|
+
} | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
|
|
3239
3310
|
/**
|
|
3240
3311
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
3241
3312
|
* `add_proxy`.
|
|
@@ -3269,7 +3340,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3269
3340
|
Address32: any;
|
|
3270
3341
|
} | {
|
|
3271
3342
|
Address20: any;
|
|
3272
|
-
} | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
|
|
3343
|
+
} | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
|
|
3273
3344
|
/**
|
|
3274
3345
|
* Remove the given announcement of a delegate.
|
|
3275
3346
|
*
|
|
@@ -3344,7 +3415,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3344
3415
|
Address32: any;
|
|
3345
3416
|
} | {
|
|
3346
3417
|
Address20: any;
|
|
3347
|
-
} | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
|
|
3418
|
+
} | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
|
|
3348
3419
|
/**
|
|
3349
3420
|
* Generic tx
|
|
3350
3421
|
**/
|
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: '15.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '15.7.2' };
|
package/cjs/polkadot/consts.d.ts
CHANGED
|
@@ -232,6 +232,20 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
232
232
|
**/
|
|
233
233
|
[key: string]: Codec;
|
|
234
234
|
};
|
|
235
|
+
delegatedStaking: {
|
|
236
|
+
/**
|
|
237
|
+
* Injected identifier for the pallet.
|
|
238
|
+
**/
|
|
239
|
+
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
|
240
|
+
/**
|
|
241
|
+
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
|
242
|
+
**/
|
|
243
|
+
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
|
244
|
+
/**
|
|
245
|
+
* Generic const
|
|
246
|
+
**/
|
|
247
|
+
[key: string]: Codec;
|
|
248
|
+
};
|
|
235
249
|
electionProviderMultiPhase: {
|
|
236
250
|
/**
|
|
237
251
|
* The minimum amount of improvement to the solution score that defines a solution as
|