@polkadot/api-augment 9.7.1 → 9.8.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/packageInfo.js +1 -1
- package/kusama/consts.d.ts +101 -14
- package/kusama/errors.d.ts +256 -29
- package/kusama/events.d.ts +297 -62
- package/kusama/query.d.ts +120 -28
- package/kusama/runtime.d.ts +2 -2
- package/kusama/tx.d.ts +718 -139
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +22 -13
- package/polkadot/errors.d.ts +33 -29
- package/polkadot/events.d.ts +45 -62
- package/polkadot/query.d.ts +17 -28
- package/polkadot/runtime.d.ts +2 -2
- package/polkadot/tx.d.ts +233 -139
- package/substrate/consts.d.ts +7 -0
- package/substrate/errors.d.ts +11 -3
- package/substrate/events.d.ts +9 -3
- package/substrate/runtime.d.ts +13 -7
- package/substrate/tx.d.ts +6 -4
package/kusama/events.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ 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 { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
-
import type { AccountId32, H256
|
|
7
|
-
import type { FrameSupportDispatchDispatchInfo,
|
|
6
|
+
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
8
|
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -256,6 +256,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
256
256
|
**/
|
|
257
257
|
[key: string]: AugmentedEvent<ApiType>;
|
|
258
258
|
};
|
|
259
|
+
convictionVoting: {
|
|
260
|
+
/**
|
|
261
|
+
* An account has delegated their vote to another account. \[who, target\]
|
|
262
|
+
**/
|
|
263
|
+
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
264
|
+
/**
|
|
265
|
+
* An \[account\] has cancelled a previous delegation operation.
|
|
266
|
+
**/
|
|
267
|
+
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
268
|
+
/**
|
|
269
|
+
* Generic event
|
|
270
|
+
**/
|
|
271
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
272
|
+
};
|
|
259
273
|
council: {
|
|
260
274
|
/**
|
|
261
275
|
* A motion was approved by the required threshold.
|
|
@@ -411,13 +425,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
411
425
|
who: AccountId32;
|
|
412
426
|
target: AccountId32;
|
|
413
427
|
}>;
|
|
414
|
-
/**
|
|
415
|
-
* A proposal has been enacted.
|
|
416
|
-
**/
|
|
417
|
-
Executed: AugmentedEvent<ApiType, [refIndex: u32, result: Result<Null, SpRuntimeDispatchError>], {
|
|
418
|
-
refIndex: u32;
|
|
419
|
-
result: Result<Null, SpRuntimeDispatchError>;
|
|
420
|
-
}>;
|
|
421
428
|
/**
|
|
422
429
|
* An external proposal has been tabled.
|
|
423
430
|
**/
|
|
@@ -434,45 +441,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
434
441
|
Passed: AugmentedEvent<ApiType, [refIndex: u32], {
|
|
435
442
|
refIndex: u32;
|
|
436
443
|
}>;
|
|
437
|
-
/**
|
|
438
|
-
* A proposal could not be executed because its preimage was invalid.
|
|
439
|
-
**/
|
|
440
|
-
PreimageInvalid: AugmentedEvent<ApiType, [proposalHash: H256, refIndex: u32], {
|
|
441
|
-
proposalHash: H256;
|
|
442
|
-
refIndex: u32;
|
|
443
|
-
}>;
|
|
444
|
-
/**
|
|
445
|
-
* A proposal could not be executed because its preimage was missing.
|
|
446
|
-
**/
|
|
447
|
-
PreimageMissing: AugmentedEvent<ApiType, [proposalHash: H256, refIndex: u32], {
|
|
448
|
-
proposalHash: H256;
|
|
449
|
-
refIndex: u32;
|
|
450
|
-
}>;
|
|
451
|
-
/**
|
|
452
|
-
* A proposal's preimage was noted, and the deposit taken.
|
|
453
|
-
**/
|
|
454
|
-
PreimageNoted: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32, deposit: u128], {
|
|
455
|
-
proposalHash: H256;
|
|
456
|
-
who: AccountId32;
|
|
457
|
-
deposit: u128;
|
|
458
|
-
}>;
|
|
459
|
-
/**
|
|
460
|
-
* A registered preimage was removed and the deposit collected by the reaper.
|
|
461
|
-
**/
|
|
462
|
-
PreimageReaped: AugmentedEvent<ApiType, [proposalHash: H256, provider: AccountId32, deposit: u128, reaper: AccountId32], {
|
|
463
|
-
proposalHash: H256;
|
|
464
|
-
provider: AccountId32;
|
|
465
|
-
deposit: u128;
|
|
466
|
-
reaper: AccountId32;
|
|
467
|
-
}>;
|
|
468
|
-
/**
|
|
469
|
-
* A proposal preimage was removed and used (the deposit was returned).
|
|
470
|
-
**/
|
|
471
|
-
PreimageUsed: AugmentedEvent<ApiType, [proposalHash: H256, provider: AccountId32, deposit: u128], {
|
|
472
|
-
proposalHash: H256;
|
|
473
|
-
provider: AccountId32;
|
|
474
|
-
deposit: u128;
|
|
475
|
-
}>;
|
|
476
444
|
/**
|
|
477
445
|
* A proposal got canceled.
|
|
478
446
|
**/
|
|
@@ -503,10 +471,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
503
471
|
/**
|
|
504
472
|
* A public proposal has been tabled for referendum vote.
|
|
505
473
|
**/
|
|
506
|
-
Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128
|
|
474
|
+
Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], {
|
|
507
475
|
proposalIndex: u32;
|
|
508
476
|
deposit: u128;
|
|
509
|
-
depositors: Vec<AccountId32>;
|
|
510
477
|
}>;
|
|
511
478
|
/**
|
|
512
479
|
* An account has cancelled a previous delegation operation.
|
|
@@ -594,12 +561,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
594
561
|
};
|
|
595
562
|
fastUnstake: {
|
|
596
563
|
/**
|
|
597
|
-
* A
|
|
564
|
+
* A batch was partially checked for the given eras, but the process did not finish.
|
|
598
565
|
**/
|
|
599
|
-
|
|
600
|
-
stash: AccountId32;
|
|
566
|
+
BatchChecked: AugmentedEvent<ApiType, [eras: Vec<u32>], {
|
|
601
567
|
eras: Vec<u32>;
|
|
602
568
|
}>;
|
|
569
|
+
/**
|
|
570
|
+
* A batch was terminated.
|
|
571
|
+
*
|
|
572
|
+
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
573
|
+
* of the batch. A new batch will be created upon next block.
|
|
574
|
+
**/
|
|
575
|
+
BatchFinished: AugmentedEvent<ApiType, []>;
|
|
603
576
|
/**
|
|
604
577
|
* Some internal error happened while migrating stash. They are removed as head as a
|
|
605
578
|
* consequence.
|
|
@@ -630,6 +603,135 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
630
603
|
**/
|
|
631
604
|
[key: string]: AugmentedEvent<ApiType>;
|
|
632
605
|
};
|
|
606
|
+
fellowshipCollective: {
|
|
607
|
+
/**
|
|
608
|
+
* A member `who` has been added.
|
|
609
|
+
**/
|
|
610
|
+
MemberAdded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
611
|
+
who: AccountId32;
|
|
612
|
+
}>;
|
|
613
|
+
/**
|
|
614
|
+
* The member `who` of given `rank` has been removed from the collective.
|
|
615
|
+
**/
|
|
616
|
+
MemberRemoved: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], {
|
|
617
|
+
who: AccountId32;
|
|
618
|
+
rank: u16;
|
|
619
|
+
}>;
|
|
620
|
+
/**
|
|
621
|
+
* The member `who`se rank has been changed to the given `rank`.
|
|
622
|
+
**/
|
|
623
|
+
RankChanged: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], {
|
|
624
|
+
who: AccountId32;
|
|
625
|
+
rank: u16;
|
|
626
|
+
}>;
|
|
627
|
+
/**
|
|
628
|
+
* The member `who` has voted for the `poll` with the given `vote` leading to an updated
|
|
629
|
+
* `tally`.
|
|
630
|
+
**/
|
|
631
|
+
Voted: AugmentedEvent<ApiType, [who: AccountId32, poll: u32, vote: PalletRankedCollectiveVoteRecord, tally: PalletRankedCollectiveTally], {
|
|
632
|
+
who: AccountId32;
|
|
633
|
+
poll: u32;
|
|
634
|
+
vote: PalletRankedCollectiveVoteRecord;
|
|
635
|
+
tally: PalletRankedCollectiveTally;
|
|
636
|
+
}>;
|
|
637
|
+
/**
|
|
638
|
+
* Generic event
|
|
639
|
+
**/
|
|
640
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
641
|
+
};
|
|
642
|
+
fellowshipReferenda: {
|
|
643
|
+
/**
|
|
644
|
+
* A referendum has been approved and its proposal has been scheduled.
|
|
645
|
+
**/
|
|
646
|
+
Approved: AugmentedEvent<ApiType, [index: u32], {
|
|
647
|
+
index: u32;
|
|
648
|
+
}>;
|
|
649
|
+
/**
|
|
650
|
+
* A referendum has been cancelled.
|
|
651
|
+
**/
|
|
652
|
+
Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
|
|
653
|
+
index: u32;
|
|
654
|
+
tally: PalletRankedCollectiveTally;
|
|
655
|
+
}>;
|
|
656
|
+
ConfirmAborted: AugmentedEvent<ApiType, [index: u32], {
|
|
657
|
+
index: u32;
|
|
658
|
+
}>;
|
|
659
|
+
/**
|
|
660
|
+
* A referendum has ended its confirmation phase and is ready for approval.
|
|
661
|
+
**/
|
|
662
|
+
Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
|
|
663
|
+
index: u32;
|
|
664
|
+
tally: PalletRankedCollectiveTally;
|
|
665
|
+
}>;
|
|
666
|
+
ConfirmStarted: AugmentedEvent<ApiType, [index: u32], {
|
|
667
|
+
index: u32;
|
|
668
|
+
}>;
|
|
669
|
+
/**
|
|
670
|
+
* The decision deposit has been placed.
|
|
671
|
+
**/
|
|
672
|
+
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
|
|
673
|
+
index: u32;
|
|
674
|
+
who: AccountId32;
|
|
675
|
+
amount: u128;
|
|
676
|
+
}>;
|
|
677
|
+
/**
|
|
678
|
+
* The decision deposit has been refunded.
|
|
679
|
+
**/
|
|
680
|
+
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
|
|
681
|
+
index: u32;
|
|
682
|
+
who: AccountId32;
|
|
683
|
+
amount: u128;
|
|
684
|
+
}>;
|
|
685
|
+
/**
|
|
686
|
+
* A referendum has moved into the deciding phase.
|
|
687
|
+
**/
|
|
688
|
+
DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletRankedCollectiveTally], {
|
|
689
|
+
index: u32;
|
|
690
|
+
track: u16;
|
|
691
|
+
proposal: FrameSupportPreimagesBounded;
|
|
692
|
+
tally: PalletRankedCollectiveTally;
|
|
693
|
+
}>;
|
|
694
|
+
/**
|
|
695
|
+
* A deposit has been slashaed.
|
|
696
|
+
**/
|
|
697
|
+
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
698
|
+
who: AccountId32;
|
|
699
|
+
amount: u128;
|
|
700
|
+
}>;
|
|
701
|
+
/**
|
|
702
|
+
* A referendum has been killed.
|
|
703
|
+
**/
|
|
704
|
+
Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
|
|
705
|
+
index: u32;
|
|
706
|
+
tally: PalletRankedCollectiveTally;
|
|
707
|
+
}>;
|
|
708
|
+
/**
|
|
709
|
+
* A proposal has been rejected by referendum.
|
|
710
|
+
**/
|
|
711
|
+
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
|
|
712
|
+
index: u32;
|
|
713
|
+
tally: PalletRankedCollectiveTally;
|
|
714
|
+
}>;
|
|
715
|
+
/**
|
|
716
|
+
* A referendum has been submitted.
|
|
717
|
+
**/
|
|
718
|
+
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
|
|
719
|
+
index: u32;
|
|
720
|
+
track: u16;
|
|
721
|
+
proposal: FrameSupportPreimagesBounded;
|
|
722
|
+
}>;
|
|
723
|
+
/**
|
|
724
|
+
* A referendum has been timed out without being decided.
|
|
725
|
+
**/
|
|
726
|
+
TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
|
|
727
|
+
index: u32;
|
|
728
|
+
tally: PalletRankedCollectiveTally;
|
|
729
|
+
}>;
|
|
730
|
+
/**
|
|
731
|
+
* Generic event
|
|
732
|
+
**/
|
|
733
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
734
|
+
};
|
|
633
735
|
gilt: {
|
|
634
736
|
/**
|
|
635
737
|
* A bid was successfully placed.
|
|
@@ -695,6 +797,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
695
797
|
* HRMP channel closed. `[by_parachain, channel_id]`
|
|
696
798
|
**/
|
|
697
799
|
ChannelClosed: AugmentedEvent<ApiType, [u32, PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
800
|
+
/**
|
|
801
|
+
* An HRMP channel was opened via Root origin.
|
|
802
|
+
* `[sender, recipient, proposed_max_capacity, proposed_max_message_size]`
|
|
803
|
+
**/
|
|
804
|
+
HrmpChannelForceOpened: AugmentedEvent<ApiType, [u32, u32, u32, u32]>;
|
|
698
805
|
/**
|
|
699
806
|
* Open HRMP channel accepted. `[sender, recipient]`
|
|
700
807
|
**/
|
|
@@ -1267,6 +1374,99 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1267
1374
|
**/
|
|
1268
1375
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1269
1376
|
};
|
|
1377
|
+
referenda: {
|
|
1378
|
+
/**
|
|
1379
|
+
* A referendum has been approved and its proposal has been scheduled.
|
|
1380
|
+
**/
|
|
1381
|
+
Approved: AugmentedEvent<ApiType, [index: u32], {
|
|
1382
|
+
index: u32;
|
|
1383
|
+
}>;
|
|
1384
|
+
/**
|
|
1385
|
+
* A referendum has been cancelled.
|
|
1386
|
+
**/
|
|
1387
|
+
Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
|
|
1388
|
+
index: u32;
|
|
1389
|
+
tally: PalletConvictionVotingTally;
|
|
1390
|
+
}>;
|
|
1391
|
+
ConfirmAborted: AugmentedEvent<ApiType, [index: u32], {
|
|
1392
|
+
index: u32;
|
|
1393
|
+
}>;
|
|
1394
|
+
/**
|
|
1395
|
+
* A referendum has ended its confirmation phase and is ready for approval.
|
|
1396
|
+
**/
|
|
1397
|
+
Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
|
|
1398
|
+
index: u32;
|
|
1399
|
+
tally: PalletConvictionVotingTally;
|
|
1400
|
+
}>;
|
|
1401
|
+
ConfirmStarted: AugmentedEvent<ApiType, [index: u32], {
|
|
1402
|
+
index: u32;
|
|
1403
|
+
}>;
|
|
1404
|
+
/**
|
|
1405
|
+
* The decision deposit has been placed.
|
|
1406
|
+
**/
|
|
1407
|
+
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
|
|
1408
|
+
index: u32;
|
|
1409
|
+
who: AccountId32;
|
|
1410
|
+
amount: u128;
|
|
1411
|
+
}>;
|
|
1412
|
+
/**
|
|
1413
|
+
* The decision deposit has been refunded.
|
|
1414
|
+
**/
|
|
1415
|
+
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
|
|
1416
|
+
index: u32;
|
|
1417
|
+
who: AccountId32;
|
|
1418
|
+
amount: u128;
|
|
1419
|
+
}>;
|
|
1420
|
+
/**
|
|
1421
|
+
* A referendum has moved into the deciding phase.
|
|
1422
|
+
**/
|
|
1423
|
+
DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletConvictionVotingTally], {
|
|
1424
|
+
index: u32;
|
|
1425
|
+
track: u16;
|
|
1426
|
+
proposal: FrameSupportPreimagesBounded;
|
|
1427
|
+
tally: PalletConvictionVotingTally;
|
|
1428
|
+
}>;
|
|
1429
|
+
/**
|
|
1430
|
+
* A deposit has been slashaed.
|
|
1431
|
+
**/
|
|
1432
|
+
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1433
|
+
who: AccountId32;
|
|
1434
|
+
amount: u128;
|
|
1435
|
+
}>;
|
|
1436
|
+
/**
|
|
1437
|
+
* A referendum has been killed.
|
|
1438
|
+
**/
|
|
1439
|
+
Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
|
|
1440
|
+
index: u32;
|
|
1441
|
+
tally: PalletConvictionVotingTally;
|
|
1442
|
+
}>;
|
|
1443
|
+
/**
|
|
1444
|
+
* A proposal has been rejected by referendum.
|
|
1445
|
+
**/
|
|
1446
|
+
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
|
|
1447
|
+
index: u32;
|
|
1448
|
+
tally: PalletConvictionVotingTally;
|
|
1449
|
+
}>;
|
|
1450
|
+
/**
|
|
1451
|
+
* A referendum has been submitted.
|
|
1452
|
+
**/
|
|
1453
|
+
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
|
|
1454
|
+
index: u32;
|
|
1455
|
+
track: u16;
|
|
1456
|
+
proposal: FrameSupportPreimagesBounded;
|
|
1457
|
+
}>;
|
|
1458
|
+
/**
|
|
1459
|
+
* A referendum has been timed out without being decided.
|
|
1460
|
+
**/
|
|
1461
|
+
TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
|
|
1462
|
+
index: u32;
|
|
1463
|
+
tally: PalletConvictionVotingTally;
|
|
1464
|
+
}>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Generic event
|
|
1467
|
+
**/
|
|
1468
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1469
|
+
};
|
|
1270
1470
|
registrar: {
|
|
1271
1471
|
Deregistered: AugmentedEvent<ApiType, [paraId: u32], {
|
|
1272
1472
|
paraId: u32;
|
|
@@ -1288,10 +1488,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1288
1488
|
/**
|
|
1289
1489
|
* The call for the provided hash was not found so the task has been aborted.
|
|
1290
1490
|
**/
|
|
1291
|
-
|
|
1491
|
+
CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
|
|
1292
1492
|
task: ITuple<[u32, u32]>;
|
|
1293
|
-
id: Option<
|
|
1294
|
-
error: FrameSupportScheduleLookupError;
|
|
1493
|
+
id: Option<U8aFixed>;
|
|
1295
1494
|
}>;
|
|
1296
1495
|
/**
|
|
1297
1496
|
* Canceled some task.
|
|
@@ -1303,11 +1502,25 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1303
1502
|
/**
|
|
1304
1503
|
* Dispatched some task.
|
|
1305
1504
|
**/
|
|
1306
|
-
Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<
|
|
1505
|
+
Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], {
|
|
1307
1506
|
task: ITuple<[u32, u32]>;
|
|
1308
|
-
id: Option<
|
|
1507
|
+
id: Option<U8aFixed>;
|
|
1309
1508
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
1310
1509
|
}>;
|
|
1510
|
+
/**
|
|
1511
|
+
* The given task was unable to be renewed since the agenda is full at that block.
|
|
1512
|
+
**/
|
|
1513
|
+
PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
|
|
1514
|
+
task: ITuple<[u32, u32]>;
|
|
1515
|
+
id: Option<U8aFixed>;
|
|
1516
|
+
}>;
|
|
1517
|
+
/**
|
|
1518
|
+
* The given task can never be executed since it is overweight.
|
|
1519
|
+
**/
|
|
1520
|
+
PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
|
|
1521
|
+
task: ITuple<[u32, u32]>;
|
|
1522
|
+
id: Option<U8aFixed>;
|
|
1523
|
+
}>;
|
|
1311
1524
|
/**
|
|
1312
1525
|
* Scheduled some task.
|
|
1313
1526
|
**/
|
|
@@ -1833,14 +2046,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1833
2046
|
*
|
|
1834
2047
|
* \[ para, id, overweight_index, required \]
|
|
1835
2048
|
**/
|
|
1836
|
-
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64,
|
|
2049
|
+
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64, SpWeightsWeightV2Weight]>;
|
|
1837
2050
|
/**
|
|
1838
2051
|
* Upward message from the overweight queue was executed with the given actual weight
|
|
1839
2052
|
* used.
|
|
1840
2053
|
*
|
|
1841
2054
|
* \[ overweight_index, used \]
|
|
1842
2055
|
**/
|
|
1843
|
-
OverweightServiced: AugmentedEvent<ApiType, [u64,
|
|
2056
|
+
OverweightServiced: AugmentedEvent<ApiType, [u64, SpWeightsWeightV2Weight]>;
|
|
1844
2057
|
/**
|
|
1845
2058
|
* Upward message is unsupported version of XCM.
|
|
1846
2059
|
* \[ id \]
|
|
@@ -1855,7 +2068,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1855
2068
|
* The weight limit for handling upward messages was reached.
|
|
1856
2069
|
* \[ id, remaining, required \]
|
|
1857
2070
|
**/
|
|
1858
|
-
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed,
|
|
2071
|
+
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;
|
|
1859
2072
|
/**
|
|
1860
2073
|
* Generic event
|
|
1861
2074
|
**/
|
|
@@ -1940,7 +2153,29 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1940
2153
|
**/
|
|
1941
2154
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1942
2155
|
};
|
|
2156
|
+
whitelist: {
|
|
2157
|
+
CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], {
|
|
2158
|
+
callHash: H256;
|
|
2159
|
+
}>;
|
|
2160
|
+
WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], {
|
|
2161
|
+
callHash: H256;
|
|
2162
|
+
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
2163
|
+
}>;
|
|
2164
|
+
WhitelistedCallRemoved: AugmentedEvent<ApiType, [callHash: H256], {
|
|
2165
|
+
callHash: H256;
|
|
2166
|
+
}>;
|
|
2167
|
+
/**
|
|
2168
|
+
* Generic event
|
|
2169
|
+
**/
|
|
2170
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2171
|
+
};
|
|
1943
2172
|
xcmPallet: {
|
|
2173
|
+
/**
|
|
2174
|
+
* Some assets have been claimed from an asset trap
|
|
2175
|
+
*
|
|
2176
|
+
* \[ hash, origin, assets \]
|
|
2177
|
+
**/
|
|
2178
|
+
AssetsClaimed: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
|
|
1944
2179
|
/**
|
|
1945
2180
|
* Some assets have been placed in an asset trap.
|
|
1946
2181
|
*
|
|
@@ -2002,7 +2237,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2002
2237
|
*
|
|
2003
2238
|
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
2004
2239
|
**/
|
|
2005
|
-
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8,
|
|
2240
|
+
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;
|
|
2006
2241
|
/**
|
|
2007
2242
|
* A given location which had a version change subscription was dropped owing to an error
|
|
2008
2243
|
* migrating the location to our new XCM format.
|