@dedot/chaintypes 0.53.0 → 0.55.0

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.
@@ -2,7 +2,6 @@
2
2
 
3
3
  import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
4
  import type {
5
- DispatchInfo,
6
5
  DispatchError,
7
6
  AccountId32,
8
7
  H256,
@@ -14,9 +13,12 @@ import type {
14
13
  FixedU64,
15
14
  Perquintill,
16
15
  Permill,
16
+ H160,
17
17
  } from 'dedot/codecs';
18
18
  import type {
19
+ FrameSystemDispatchEventInfo,
19
20
  FrameSupportTokensMiscBalanceStatus,
21
+ FrameSupportTokensFungibleUnionOfNativeOrWithId,
20
22
  PalletElectionProviderMultiPhaseElectionCompute,
21
23
  SpNposElectionsElectionScore,
22
24
  PalletElectionProviderMultiPhasePhase,
@@ -42,6 +44,7 @@ import type {
42
44
  PalletStateTrieMigrationError,
43
45
  FrameSupportPreimagesBounded,
44
46
  PalletConvictionVotingTally,
47
+ PalletConvictionVotingVoteAccountVote,
45
48
  FrameSupportDispatchPostDispatchInfo,
46
49
  SpRuntimeDispatchErrorWithPostInfo,
47
50
  PalletAllianceCid,
@@ -51,7 +54,6 @@ import type {
51
54
  PalletNominationPoolsCommissionClaimPermission,
52
55
  PalletRankedCollectiveTally,
53
56
  PalletRankedCollectiveVoteRecord,
54
- FrameSupportTokensFungibleUnionOfNativeOrWithId,
55
57
  FrameSupportMessagesProcessMessageError,
56
58
  SpWeightsWeightV2Weight,
57
59
  PalletSafeModeExitReason,
@@ -61,6 +63,8 @@ import type {
61
63
  PalletBrokerCoretimeInterfaceCoreAssignment,
62
64
  KitchensinkRuntimeRuntimeParametersKey,
63
65
  KitchensinkRuntimeRuntimeParametersValue,
66
+ KitchensinkRuntimeOriginCaller,
67
+ PalletReviveExecOrigin,
64
68
  } from './types';
65
69
 
66
70
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
@@ -71,7 +75,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
71
75
  /**
72
76
  * An extrinsic completed successfully.
73
77
  **/
74
- ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
78
+ ExtrinsicSuccess: GenericPalletEvent<
79
+ Rv,
80
+ 'System',
81
+ 'ExtrinsicSuccess',
82
+ { dispatchInfo: FrameSystemDispatchEventInfo }
83
+ >;
75
84
 
76
85
  /**
77
86
  * An extrinsic failed.
@@ -80,7 +89,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
80
89
  Rv,
81
90
  'System',
82
91
  'ExtrinsicFailed',
83
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
92
+ { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
84
93
  >;
85
94
 
86
95
  /**
@@ -323,26 +332,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
323
332
  **/
324
333
  [prop: string]: GenericPalletEvent<Rv>;
325
334
  };
326
- /**
327
- * Pallet `AssetTxPayment`'s events
328
- **/
329
- assetTxPayment: {
330
- /**
331
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
332
- * has been paid by `who` in an asset `asset_id`.
333
- **/
334
- AssetTxFeePaid: GenericPalletEvent<
335
- Rv,
336
- 'AssetTxPayment',
337
- 'AssetTxFeePaid',
338
- { who: AccountId32; actualFee: bigint; tip: bigint; assetId?: number | undefined }
339
- >;
340
-
341
- /**
342
- * Generic pallet event
343
- **/
344
- [prop: string]: GenericPalletEvent<Rv>;
345
- };
346
335
  /**
347
336
  * Pallet `AssetConversionTxPayment`'s events
348
337
  **/
@@ -355,7 +344,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
355
344
  Rv,
356
345
  'AssetConversionTxPayment',
357
346
  'AssetTxFeePaid',
358
- { who: AccountId32; actualFee: bigint; tip: bigint; assetId: number }
347
+ { who: AccountId32; actualFee: bigint; tip: bigint; assetId: FrameSupportTokensFungibleUnionOfNativeOrWithId }
359
348
  >;
360
349
 
361
350
  /**
@@ -381,7 +370,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
381
370
  * A solution was stored with the given compute.
382
371
  *
383
372
  * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
384
- * the stored solution was submited in the signed phase by a miner with the `AccountId`.
373
+ * the stored solution was submitted in the signed phase by a miner with the `AccountId`.
385
374
  * Otherwise, the solution was stored either during the unsigned phase or by
386
375
  * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
387
376
  * room for this one.
@@ -531,13 +520,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
531
520
  Chilled: GenericPalletEvent<Rv, 'Staking', 'Chilled', { stash: AccountId32 }>;
532
521
 
533
522
  /**
534
- * The stakers' rewards are getting paid.
523
+ * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
535
524
  **/
536
525
  PayoutStarted: GenericPalletEvent<
537
526
  Rv,
538
527
  'Staking',
539
528
  'PayoutStarted',
540
- { eraIndex: number; validatorStash: AccountId32 }
529
+ { eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
541
530
  >;
542
531
 
543
532
  /**
@@ -665,7 +654,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
665
654
  >;
666
655
 
667
656
  /**
668
- * An account has secconded a proposal
657
+ * An account has seconded a proposal
669
658
  **/
670
659
  Seconded: GenericPalletEvent<Rv, 'Democracy', 'Seconded', { seconder: AccountId32; propIndex: number }>;
671
660
 
@@ -800,6 +789,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
800
789
  **/
801
790
  Closed: GenericPalletEvent<Rv, 'Council', 'Closed', { proposalHash: H256; yes: number; no: number }>;
802
791
 
792
+ /**
793
+ * A proposal was killed.
794
+ **/
795
+ Killed: GenericPalletEvent<Rv, 'Council', 'Killed', { proposalHash: H256 }>;
796
+
797
+ /**
798
+ * Some cost for storing a proposal was burned.
799
+ **/
800
+ ProposalCostBurned: GenericPalletEvent<
801
+ Rv,
802
+ 'Council',
803
+ 'ProposalCostBurned',
804
+ { proposalHash: H256; who: AccountId32 }
805
+ >;
806
+
807
+ /**
808
+ * Some cost for storing a proposal was released.
809
+ **/
810
+ ProposalCostReleased: GenericPalletEvent<
811
+ Rv,
812
+ 'Council',
813
+ 'ProposalCostReleased',
814
+ { proposalHash: H256; who: AccountId32 }
815
+ >;
816
+
803
817
  /**
804
818
  * Generic pallet event
805
819
  **/
@@ -866,6 +880,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
866
880
  **/
867
881
  Closed: GenericPalletEvent<Rv, 'TechnicalCommittee', 'Closed', { proposalHash: H256; yes: number; no: number }>;
868
882
 
883
+ /**
884
+ * A proposal was killed.
885
+ **/
886
+ Killed: GenericPalletEvent<Rv, 'TechnicalCommittee', 'Killed', { proposalHash: H256 }>;
887
+
888
+ /**
889
+ * Some cost for storing a proposal was burned.
890
+ **/
891
+ ProposalCostBurned: GenericPalletEvent<
892
+ Rv,
893
+ 'TechnicalCommittee',
894
+ 'ProposalCostBurned',
895
+ { proposalHash: H256; who: AccountId32 }
896
+ >;
897
+
898
+ /**
899
+ * Some cost for storing a proposal was released.
900
+ **/
901
+ ProposalCostReleased: GenericPalletEvent<
902
+ Rv,
903
+ 'TechnicalCommittee',
904
+ 'ProposalCostReleased',
905
+ { proposalHash: H256; who: AccountId32 }
906
+ >;
907
+
869
908
  /**
870
909
  * Generic pallet event
871
910
  **/
@@ -1006,11 +1045,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1006
1045
  * Pallet `Treasury`'s events
1007
1046
  **/
1008
1047
  treasury: {
1009
- /**
1010
- * New proposal.
1011
- **/
1012
- Proposed: GenericPalletEvent<Rv, 'Treasury', 'Proposed', { proposalIndex: number }>;
1013
-
1014
1048
  /**
1015
1049
  * We have ended a spend period and will now allocate funds.
1016
1050
  **/
@@ -1026,11 +1060,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1026
1060
  { proposalIndex: number; award: bigint; account: AccountId32 }
1027
1061
  >;
1028
1062
 
1029
- /**
1030
- * A proposal was rejected; funds were slashed.
1031
- **/
1032
- Rejected: GenericPalletEvent<Rv, 'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
1033
-
1034
1063
  /**
1035
1064
  * Some of our funds have been burnt.
1036
1065
  **/
@@ -1075,7 +1104,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1075
1104
  'AssetSpendApproved',
1076
1105
  {
1077
1106
  index: number;
1078
- assetKind: number;
1107
+ assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
1079
1108
  amount: bigint;
1080
1109
  beneficiary: AccountId32;
1081
1110
  validFrom: number;
@@ -1113,13 +1142,23 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1113
1142
  * Pallet `AssetRate`'s events
1114
1143
  **/
1115
1144
  assetRate: {
1116
- AssetRateCreated: GenericPalletEvent<Rv, 'AssetRate', 'AssetRateCreated', { assetKind: number; rate: FixedU128 }>;
1117
- AssetRateRemoved: GenericPalletEvent<Rv, 'AssetRate', 'AssetRateRemoved', { assetKind: number }>;
1145
+ AssetRateCreated: GenericPalletEvent<
1146
+ Rv,
1147
+ 'AssetRate',
1148
+ 'AssetRateCreated',
1149
+ { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; rate: FixedU128 }
1150
+ >;
1151
+ AssetRateRemoved: GenericPalletEvent<
1152
+ Rv,
1153
+ 'AssetRate',
1154
+ 'AssetRateRemoved',
1155
+ { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId }
1156
+ >;
1118
1157
  AssetRateUpdated: GenericPalletEvent<
1119
1158
  Rv,
1120
1159
  'AssetRate',
1121
1160
  'AssetRateUpdated',
1122
- { assetKind: number; old: FixedU128; new: FixedU128 }
1161
+ { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; old: FixedU128; new: FixedU128 }
1123
1162
  >;
1124
1163
 
1125
1164
  /**
@@ -1483,6 +1522,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1483
1522
  { sub: AccountId32; main: AccountId32; deposit: bigint }
1484
1523
  >;
1485
1524
 
1525
+ /**
1526
+ * An account's sub-identities were set (in bulk).
1527
+ **/
1528
+ SubIdentitiesSet: GenericPalletEvent<
1529
+ Rv,
1530
+ 'Identity',
1531
+ 'SubIdentitiesSet',
1532
+ { main: AccountId32; numberOfSubs: number; newDeposit: bigint }
1533
+ >;
1534
+
1535
+ /**
1536
+ * A given sub-account's associated name was changed by its super-identity.
1537
+ **/
1538
+ SubIdentityRenamed: GenericPalletEvent<
1539
+ Rv,
1540
+ 'Identity',
1541
+ 'SubIdentityRenamed',
1542
+ { sub: AccountId32; main: AccountId32 }
1543
+ >;
1544
+
1486
1545
  /**
1487
1546
  * A sub-identity was removed from an identity and the deposit freed.
1488
1547
  **/
@@ -1550,6 +1609,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1550
1609
  { who: AccountId32; username: Bytes }
1551
1610
  >;
1552
1611
 
1612
+ /**
1613
+ * A username has been unbound.
1614
+ **/
1615
+ UsernameUnbound: GenericPalletEvent<Rv, 'Identity', 'UsernameUnbound', { username: Bytes }>;
1616
+
1617
+ /**
1618
+ * A username has been removed.
1619
+ **/
1620
+ UsernameRemoved: GenericPalletEvent<Rv, 'Identity', 'UsernameRemoved', { username: Bytes }>;
1621
+
1622
+ /**
1623
+ * A username has been killed.
1624
+ **/
1625
+ UsernameKilled: GenericPalletEvent<Rv, 'Identity', 'UsernameKilled', { username: Bytes }>;
1626
+
1553
1627
  /**
1554
1628
  * Generic pallet event
1555
1629
  **/
@@ -1880,6 +1954,21 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1880
1954
  }
1881
1955
  >;
1882
1956
 
1957
+ /**
1958
+ * The block length limit has been updated.
1959
+ **/
1960
+ BlockLengthLimitSet: GenericPalletEvent<
1961
+ Rv,
1962
+ 'Glutton',
1963
+ 'BlockLengthLimitSet',
1964
+ {
1965
+ /**
1966
+ * The block length limit.
1967
+ **/
1968
+ blockLength: FixedU64;
1969
+ }
1970
+ >;
1971
+
1883
1972
  /**
1884
1973
  * Generic pallet event
1885
1974
  **/
@@ -2287,6 +2376,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2287
2376
  **/
2288
2377
  Blocked: GenericPalletEvent<Rv, 'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
2289
2378
 
2379
+ /**
2380
+ * Some assets were deposited (e.g. for transaction fees).
2381
+ **/
2382
+ Deposited: GenericPalletEvent<Rv, 'Assets', 'Deposited', { assetId: number; who: AccountId32; amount: bigint }>;
2383
+
2384
+ /**
2385
+ * Some assets were withdrawn from the account (e.g. for transaction fees).
2386
+ **/
2387
+ Withdrawn: GenericPalletEvent<Rv, 'Assets', 'Withdrawn', { assetId: number; who: AccountId32; amount: bigint }>;
2388
+
2290
2389
  /**
2291
2390
  * Generic pallet event
2292
2391
  **/
@@ -2472,6 +2571,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2472
2571
  **/
2473
2572
  Blocked: GenericPalletEvent<Rv, 'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
2474
2573
 
2574
+ /**
2575
+ * Some assets were deposited (e.g. for transaction fees).
2576
+ **/
2577
+ Deposited: GenericPalletEvent<Rv, 'PoolAssets', 'Deposited', { assetId: number; who: AccountId32; amount: bigint }>;
2578
+
2579
+ /**
2580
+ * Some assets were withdrawn from the account (e.g. for transaction fees).
2581
+ **/
2582
+ Withdrawn: GenericPalletEvent<Rv, 'PoolAssets', 'Withdrawn', { assetId: number; who: AccountId32; amount: bigint }>;
2583
+
2475
2584
  /**
2476
2585
  * Generic pallet event
2477
2586
  **/
@@ -2601,7 +2710,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2601
2710
  Funded: GenericPalletEvent<Rv, 'Nis', 'Funded', { deficit: bigint }>;
2602
2711
 
2603
2712
  /**
2604
- * A receipt was transfered.
2713
+ * A receipt was transferred.
2605
2714
  **/
2606
2715
  Transferred: GenericPalletEvent<Rv, 'Nis', 'Transferred', { from: AccountId32; to: AccountId32; index: number }>;
2607
2716
 
@@ -3851,6 +3960,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
3851
3960
  **/
3852
3961
  Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
3853
3962
 
3963
+ /**
3964
+ * An account that has voted
3965
+ **/
3966
+ Voted: GenericPalletEvent<
3967
+ Rv,
3968
+ 'ConvictionVoting',
3969
+ 'Voted',
3970
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
3971
+ >;
3972
+
3973
+ /**
3974
+ * A vote that been removed
3975
+ **/
3976
+ VoteRemoved: GenericPalletEvent<
3977
+ Rv,
3978
+ 'ConvictionVoting',
3979
+ 'VoteRemoved',
3980
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
3981
+ >;
3982
+
3854
3983
  /**
3855
3984
  * Generic pallet event
3856
3985
  **/
@@ -3935,6 +4064,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
3935
4064
  **/
3936
4065
  Closed: GenericPalletEvent<Rv, 'AllianceMotion', 'Closed', { proposalHash: H256; yes: number; no: number }>;
3937
4066
 
4067
+ /**
4068
+ * A proposal was killed.
4069
+ **/
4070
+ Killed: GenericPalletEvent<Rv, 'AllianceMotion', 'Killed', { proposalHash: H256 }>;
4071
+
4072
+ /**
4073
+ * Some cost for storing a proposal was burned.
4074
+ **/
4075
+ ProposalCostBurned: GenericPalletEvent<
4076
+ Rv,
4077
+ 'AllianceMotion',
4078
+ 'ProposalCostBurned',
4079
+ { proposalHash: H256; who: AccountId32 }
4080
+ >;
4081
+
4082
+ /**
4083
+ * Some cost for storing a proposal was released.
4084
+ **/
4085
+ ProposalCostReleased: GenericPalletEvent<
4086
+ Rv,
4087
+ 'AllianceMotion',
4088
+ 'ProposalCostReleased',
4089
+ { proposalHash: H256; who: AccountId32 }
4090
+ >;
4091
+
3938
4092
  /**
3939
4093
  * Generic pallet event
3940
4094
  **/
@@ -4137,8 +4291,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
4137
4291
  * A member has been removed from a pool.
4138
4292
  *
4139
4293
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
4294
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
4295
+ * represented by `released_balance`.
4140
4296
  **/
4141
- MemberRemoved: GenericPalletEvent<Rv, 'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
4297
+ MemberRemoved: GenericPalletEvent<
4298
+ Rv,
4299
+ 'NominationPools',
4300
+ 'MemberRemoved',
4301
+ { poolId: number; member: AccountId32; releasedBalance: bigint }
4302
+ >;
4142
4303
 
4143
4304
  /**
4144
4305
  * The roles of a pool have been updated to the given new roles. Note that the depositor
@@ -4627,7 +4788,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
4627
4788
  **/
4628
4789
  assetConversion: {
4629
4790
  /**
4630
- * A successful call of the `CretaPool` extrinsic will create this event.
4791
+ * A successful call of the `CreatePool` extrinsic will create this event.
4631
4792
  **/
4632
4793
  PoolCreated: GenericPalletEvent<
4633
4794
  Rv,
@@ -4816,6 +4977,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
4816
4977
  }
4817
4978
  >;
4818
4979
 
4980
+ /**
4981
+ * Pool has been touched in order to fulfill operational requirements.
4982
+ **/
4983
+ Touched: GenericPalletEvent<
4984
+ Rv,
4985
+ 'AssetConversion',
4986
+ 'Touched',
4987
+ {
4988
+ /**
4989
+ * The ID of the pool.
4990
+ **/
4991
+ poolId: [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId];
4992
+
4993
+ /**
4994
+ * The account initiating the touch.
4995
+ **/
4996
+ who: AccountId32;
4997
+ }
4998
+ >;
4999
+
4819
5000
  /**
4820
5001
  * Generic pallet event
4821
5002
  **/
@@ -5354,12 +5535,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
5354
5535
  /**
5355
5536
  * The old owner of the Region.
5356
5537
  **/
5357
- oldOwner: AccountId32;
5538
+ oldOwner?: AccountId32 | undefined;
5358
5539
 
5359
5540
  /**
5360
5541
  * The new owner of the Region.
5361
5542
  **/
5362
- owner: AccountId32;
5543
+ owner?: AccountId32 | undefined;
5363
5544
  }
5364
5545
  >;
5365
5546
 
@@ -5544,7 +5725,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
5544
5725
  /**
5545
5726
  * The price of Bulk Coretime after the Leadin Period.
5546
5727
  **/
5547
- regularPrice: bigint;
5728
+ endPrice: bigint;
5548
5729
 
5549
5730
  /**
5550
5731
  * The first timeslice of the Regions which are being sold in this sale.
@@ -5558,8 +5739,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
5558
5739
  regionEnd: number;
5559
5740
 
5560
5741
  /**
5561
- * The number of cores we want to sell, ideally. Selling this amount would result in
5562
- * no change to the price for the next sale.
5742
+ * The number of cores we want to sell, ideally.
5563
5743
  **/
5564
5744
  idealCoresSold: number;
5565
5745
 
@@ -5877,10 +6057,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
5877
6057
  /**
5878
6058
  * Some historical Instantaneous Core Pool payment record has been dropped.
5879
6059
  **/
5880
- AllowedRenewalDropped: GenericPalletEvent<
6060
+ PotentialRenewalDropped: GenericPalletEvent<
5881
6061
  Rv,
5882
6062
  'Broker',
5883
- 'AllowedRenewalDropped',
6063
+ 'PotentialRenewalDropped',
5884
6064
  {
5885
6065
  /**
5886
6066
  * The timeslice whose renewal is no longer available.
@@ -5893,6 +6073,69 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
5893
6073
  core: number;
5894
6074
  }
5895
6075
  >;
6076
+ AutoRenewalEnabled: GenericPalletEvent<
6077
+ Rv,
6078
+ 'Broker',
6079
+ 'AutoRenewalEnabled',
6080
+ {
6081
+ /**
6082
+ * The core for which the renewal was enabled.
6083
+ **/
6084
+ core: number;
6085
+
6086
+ /**
6087
+ * The task for which the renewal was enabled.
6088
+ **/
6089
+ task: number;
6090
+ }
6091
+ >;
6092
+ AutoRenewalDisabled: GenericPalletEvent<
6093
+ Rv,
6094
+ 'Broker',
6095
+ 'AutoRenewalDisabled',
6096
+ {
6097
+ /**
6098
+ * The core for which the renewal was disabled.
6099
+ **/
6100
+ core: number;
6101
+
6102
+ /**
6103
+ * The task for which the renewal was disabled.
6104
+ **/
6105
+ task: number;
6106
+ }
6107
+ >;
6108
+
6109
+ /**
6110
+ * Failed to auto-renew a core, likely due to the payer account not being sufficiently
6111
+ * funded.
6112
+ **/
6113
+ AutoRenewalFailed: GenericPalletEvent<
6114
+ Rv,
6115
+ 'Broker',
6116
+ 'AutoRenewalFailed',
6117
+ {
6118
+ /**
6119
+ * The core for which the renewal failed.
6120
+ **/
6121
+ core: number;
6122
+
6123
+ /**
6124
+ * The account which was supposed to pay for renewal.
6125
+ *
6126
+ * If `None` it indicates that we failed to get the sovereign account of a task.
6127
+ **/
6128
+ payer?: AccountId32 | undefined;
6129
+ }
6130
+ >;
6131
+
6132
+ /**
6133
+ * The auto-renewal limit has been reached upon renewing cores.
6134
+ *
6135
+ * This should never happen, given that enable_auto_renew checks for this before enabling
6136
+ * auto-renewal.
6137
+ **/
6138
+ AutoRenewalLimitReached: GenericPalletEvent<Rv, 'Broker', 'AutoRenewalLimitReached', null>;
5896
6139
 
5897
6140
  /**
5898
6141
  * Generic pallet event
@@ -5942,7 +6185,220 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
5942
6185
  /**
5943
6186
  * A transaction fee was skipped.
5944
6187
  **/
5945
- FeeSkipped: GenericPalletEvent<Rv, 'SkipFeelessPayment', 'FeeSkipped', { who: AccountId32 }>;
6188
+ FeeSkipped: GenericPalletEvent<Rv, 'SkipFeelessPayment', 'FeeSkipped', { origin: KitchensinkRuntimeOriginCaller }>;
6189
+
6190
+ /**
6191
+ * Generic pallet event
6192
+ **/
6193
+ [prop: string]: GenericPalletEvent<Rv>;
6194
+ };
6195
+ /**
6196
+ * Pallet `AssetConversionMigration`'s events
6197
+ **/
6198
+ assetConversionMigration: {
6199
+ /**
6200
+ * Indicates that a pool has been migrated to the new account ID.
6201
+ **/
6202
+ MigratedToNewAccount: GenericPalletEvent<
6203
+ Rv,
6204
+ 'AssetConversionMigration',
6205
+ 'MigratedToNewAccount',
6206
+ {
6207
+ /**
6208
+ * Pool's ID.
6209
+ **/
6210
+ poolId: [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId];
6211
+
6212
+ /**
6213
+ * Pool's prior account ID.
6214
+ **/
6215
+ priorAccount: AccountId32;
6216
+
6217
+ /**
6218
+ * Pool's new account ID.
6219
+ **/
6220
+ newAccount: AccountId32;
6221
+ }
6222
+ >;
6223
+
6224
+ /**
6225
+ * Generic pallet event
6226
+ **/
6227
+ [prop: string]: GenericPalletEvent<Rv>;
6228
+ };
6229
+ /**
6230
+ * Pallet `Revive`'s events
6231
+ **/
6232
+ revive: {
6233
+ /**
6234
+ * Contract deployed by address at the specified address.
6235
+ **/
6236
+ Instantiated: GenericPalletEvent<Rv, 'Revive', 'Instantiated', { deployer: H160; contract: H160 }>;
6237
+
6238
+ /**
6239
+ * Contract has been removed.
6240
+ *
6241
+ * # Note
6242
+ *
6243
+ * The only way for a contract to be removed and emitting this event is by calling
6244
+ * `seal_terminate`.
6245
+ **/
6246
+ Terminated: GenericPalletEvent<
6247
+ Rv,
6248
+ 'Revive',
6249
+ 'Terminated',
6250
+ {
6251
+ /**
6252
+ * The contract that was terminated.
6253
+ **/
6254
+ contract: H160;
6255
+
6256
+ /**
6257
+ * The account that received the contracts remaining balance
6258
+ **/
6259
+ beneficiary: H160;
6260
+ }
6261
+ >;
6262
+
6263
+ /**
6264
+ * Code with the specified hash has been stored.
6265
+ **/
6266
+ CodeStored: GenericPalletEvent<Rv, 'Revive', 'CodeStored', { codeHash: H256; depositHeld: bigint; uploader: H160 }>;
6267
+
6268
+ /**
6269
+ * A custom event emitted by the contract.
6270
+ **/
6271
+ ContractEmitted: GenericPalletEvent<
6272
+ Rv,
6273
+ 'Revive',
6274
+ 'ContractEmitted',
6275
+ {
6276
+ /**
6277
+ * The contract that emitted the event.
6278
+ **/
6279
+ contract: H160;
6280
+
6281
+ /**
6282
+ * Data supplied by the contract. Metadata generated during contract compilation
6283
+ * is needed to decode it.
6284
+ **/
6285
+ data: Bytes;
6286
+
6287
+ /**
6288
+ * A list of topics used to index the event.
6289
+ * Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
6290
+ **/
6291
+ topics: Array<H256>;
6292
+ }
6293
+ >;
6294
+
6295
+ /**
6296
+ * A code with the specified hash was removed.
6297
+ **/
6298
+ CodeRemoved: GenericPalletEvent<
6299
+ Rv,
6300
+ 'Revive',
6301
+ 'CodeRemoved',
6302
+ { codeHash: H256; depositReleased: bigint; remover: H160 }
6303
+ >;
6304
+
6305
+ /**
6306
+ * A contract's code was updated.
6307
+ **/
6308
+ ContractCodeUpdated: GenericPalletEvent<
6309
+ Rv,
6310
+ 'Revive',
6311
+ 'ContractCodeUpdated',
6312
+ {
6313
+ /**
6314
+ * The contract that has been updated.
6315
+ **/
6316
+ contract: H160;
6317
+
6318
+ /**
6319
+ * New code hash that was set for the contract.
6320
+ **/
6321
+ newCodeHash: H256;
6322
+
6323
+ /**
6324
+ * Previous code hash of the contract.
6325
+ **/
6326
+ oldCodeHash: H256;
6327
+ }
6328
+ >;
6329
+
6330
+ /**
6331
+ * A contract was called either by a plain account or another contract.
6332
+ *
6333
+ * # Note
6334
+ *
6335
+ * Please keep in mind that like all events this is only emitted for successful
6336
+ * calls. This is because on failure all storage changes including events are
6337
+ * rolled back.
6338
+ **/
6339
+ Called: GenericPalletEvent<
6340
+ Rv,
6341
+ 'Revive',
6342
+ 'Called',
6343
+ {
6344
+ /**
6345
+ * The caller of the `contract`.
6346
+ **/
6347
+ caller: PalletReviveExecOrigin;
6348
+
6349
+ /**
6350
+ * The contract that was called.
6351
+ **/
6352
+ contract: H160;
6353
+ }
6354
+ >;
6355
+
6356
+ /**
6357
+ * A contract delegate called a code hash.
6358
+ *
6359
+ * # Note
6360
+ *
6361
+ * Please keep in mind that like all events this is only emitted for successful
6362
+ * calls. This is because on failure all storage changes including events are
6363
+ * rolled back.
6364
+ **/
6365
+ DelegateCalled: GenericPalletEvent<
6366
+ Rv,
6367
+ 'Revive',
6368
+ 'DelegateCalled',
6369
+ {
6370
+ /**
6371
+ * The contract that performed the delegate call and hence in whose context
6372
+ * the `code_hash` is executed.
6373
+ **/
6374
+ contract: H160;
6375
+
6376
+ /**
6377
+ * The code hash that was delegate called.
6378
+ **/
6379
+ codeHash: H256;
6380
+ }
6381
+ >;
6382
+
6383
+ /**
6384
+ * Some funds have been transferred and held as storage deposit.
6385
+ **/
6386
+ StorageDepositTransferredAndHeld: GenericPalletEvent<
6387
+ Rv,
6388
+ 'Revive',
6389
+ 'StorageDepositTransferredAndHeld',
6390
+ { from: H160; to: H160; amount: bigint }
6391
+ >;
6392
+
6393
+ /**
6394
+ * Some storage deposit funds have been transferred and released.
6395
+ **/
6396
+ StorageDepositTransferredAndReleased: GenericPalletEvent<
6397
+ Rv,
6398
+ 'Revive',
6399
+ 'StorageDepositTransferredAndReleased',
6400
+ { from: H160; to: H160; amount: bigint }
6401
+ >;
5946
6402
 
5947
6403
  /**
5948
6404
  * Generic pallet event