@dedot/chaintypes 0.144.0 → 0.145.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.144.0",
3
+ "version": "0.145.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@dedot.dev>",
6
6
  "homepage": "https://dedot.dev",
@@ -25,7 +25,7 @@
25
25
  "directory": "dist"
26
26
  },
27
27
  "license": "Apache-2.0",
28
- "gitHead": "4e50b3650a62e81e08a9ba918b56003e1985be43",
28
+ "gitHead": "3fab69bbfc92f3f33086f8b9bda913f34d7fa7dd",
29
29
  "module": "./index.js",
30
30
  "types": "./index.d.ts",
31
31
  "exports": {
@@ -1,12 +1,13 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion } from 'dedot/codecs';
4
+ import type { RuntimeVersion, AccountId32 } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
7
7
  FrameSystemLimitsBlockLength,
8
8
  SpWeightsRuntimeDbWeight,
9
9
  PolkadotParachainPrimitivesPrimitivesId,
10
+ FrameSupportPalletId,
10
11
  SpWeightsWeightV2Weight,
11
12
  } from './types.js';
12
13
 
@@ -209,6 +210,36 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
209
210
  * Pallet `CollatorSelection`'s constants
210
211
  **/
211
212
  collatorSelection: {
213
+ /**
214
+ * Account Identifier from which the internal Pot is generated.
215
+ **/
216
+ potId: FrameSupportPalletId;
217
+
218
+ /**
219
+ * Maximum number of candidates that we should have.
220
+ *
221
+ * This does not take into account the invulnerables.
222
+ **/
223
+ maxCandidates: number;
224
+
225
+ /**
226
+ * Minimum number eligible collators. Should always be greater than zero. This includes
227
+ * Invulnerable collators. This ensures that there will always be one collator who can
228
+ * produce a block.
229
+ **/
230
+ minEligibleCollators: number;
231
+
232
+ /**
233
+ * Maximum number of invulnerables.
234
+ **/
235
+ maxInvulnerables: number;
236
+ kickThreshold: number;
237
+
238
+ /**
239
+ * Gets this pallet's derived pot account.
240
+ **/
241
+ potAccount: AccountId32;
242
+
212
243
  /**
213
244
  * Generic pallet constant
214
245
  **/
@@ -292,6 +323,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
292
323
  * Pallet `PolkadotXcm`'s constants
293
324
  **/
294
325
  polkadotXcm: {
326
+ /**
327
+ * The latest supported version that we advertise. Generally just set it to
328
+ * `pallet_xcm::CurrentXcmVersion`.
329
+ **/
330
+ advertisedXcmVersion: number;
331
+
295
332
  /**
296
333
  * Generic pallet constant
297
334
  **/
@@ -96,16 +96,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
96
96
  **/
97
97
  NotScheduled: GenericPalletError<Rv>;
98
98
 
99
- /**
100
- * No code upgrade has been authorized.
101
- **/
102
- NothingAuthorized: GenericPalletError<Rv>;
103
-
104
- /**
105
- * The given code upgrade has not been authorized.
106
- **/
107
- Unauthorized: GenericPalletError<Rv>;
108
-
109
99
  /**
110
100
  * Generic pallet error
111
101
  **/
@@ -483,6 +473,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
483
473
  **/
484
474
  LocalExecutionIncomplete: GenericPalletError<Rv>;
485
475
 
476
+ /**
477
+ * Too many locations authorized to alias origin.
478
+ **/
479
+ TooManyAuthorizedAliases: GenericPalletError<Rv>;
480
+
481
+ /**
482
+ * Expiry block number is in the past.
483
+ **/
484
+ ExpiresInPast: GenericPalletError<Rv>;
485
+
486
+ /**
487
+ * The alias to remove authorization for was not found.
488
+ **/
489
+ AliasNotFound: GenericPalletError<Rv>;
490
+
486
491
  /**
487
492
  * Generic pallet error
488
493
  **/
@@ -602,12 +607,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
602
607
  SenderInSignatories: GenericPalletError<Rv>;
603
608
 
604
609
  /**
605
- * Multisig operation not found when attempting to cancel.
610
+ * Multisig operation not found in storage.
606
611
  **/
607
612
  NotFound: GenericPalletError<Rv>;
608
613
 
609
614
  /**
610
- * Only the account that originally created the multisig is able to cancel it.
615
+ * Only the account that originally created the multisig is able to cancel it or update
616
+ * its deposits.
611
617
  **/
612
618
  NotOwner: GenericPalletError<Rv>;
613
619
 
@@ -9,15 +9,17 @@ import type {
9
9
  StagingXcmV5TraitsOutcome,
10
10
  StagingXcmV5Location,
11
11
  StagingXcmV5Xcm,
12
+ XcmV3TraitsSendError,
13
+ XcmV5TraitsError,
12
14
  StagingXcmV5Response,
13
15
  XcmVersionedAssets,
14
16
  StagingXcmV5AssetAssets,
15
- XcmV5TraitsError,
16
17
  XcmVersionedLocation,
17
18
  CumulusPrimitivesCoreAggregateMessageOrigin,
18
19
  FrameSupportMessagesProcessMessageError,
19
20
  PalletMultisigTimepoint,
20
21
  PeoplePaseoRuntimeProxyType,
22
+ PalletProxyDepositKind,
21
23
  } from './types.js';
22
24
 
23
25
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
@@ -70,6 +72,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
70
72
  **/
71
73
  UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
72
74
 
75
+ /**
76
+ * An invalid authorized upgrade was rejected while trying to apply it.
77
+ **/
78
+ RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
79
+ Rv,
80
+ 'System',
81
+ 'RejectedInvalidAuthorizedUpgrade',
82
+ { codeHash: H256; error: DispatchError }
83
+ >;
84
+
73
85
  /**
74
86
  * Generic pallet event
75
87
  **/
@@ -510,6 +522,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
510
522
  **/
511
523
  NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
512
524
 
525
+ /**
526
+ * Validator has been disabled.
527
+ **/
528
+ ValidatorDisabled: GenericPalletEvent<Rv, 'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
529
+
530
+ /**
531
+ * Validator has been re-enabled.
532
+ **/
533
+ ValidatorReenabled: GenericPalletEvent<Rv, 'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
534
+
513
535
  /**
514
536
  * Generic pallet event
515
537
  **/
@@ -539,7 +561,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
539
561
  Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
540
562
 
541
563
  /**
542
- * A XCM message was sent.
564
+ * An XCM message was sent.
543
565
  **/
544
566
  Sent: GenericPalletEvent<
545
567
  Rv,
@@ -553,6 +575,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
553
575
  }
554
576
  >;
555
577
 
578
+ /**
579
+ * An XCM message failed to send.
580
+ **/
581
+ SendFailed: GenericPalletEvent<
582
+ Rv,
583
+ 'PolkadotXcm',
584
+ 'SendFailed',
585
+ {
586
+ origin: StagingXcmV5Location;
587
+ destination: StagingXcmV5Location;
588
+ error: XcmV3TraitsSendError;
589
+ messageId: FixedBytes<32>;
590
+ }
591
+ >;
592
+
593
+ /**
594
+ * An XCM message failed to process.
595
+ **/
596
+ ProcessXcmError: GenericPalletEvent<
597
+ Rv,
598
+ 'PolkadotXcm',
599
+ 'ProcessXcmError',
600
+ { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
601
+ >;
602
+
556
603
  /**
557
604
  * Query response received which does not match a registered query. This may be because a
558
605
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -806,6 +853,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
806
853
  **/
807
854
  VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
808
855
 
856
+ /**
857
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
858
+ * `expiry` block number.
859
+ **/
860
+ AliasAuthorized: GenericPalletEvent<
861
+ Rv,
862
+ 'PolkadotXcm',
863
+ 'AliasAuthorized',
864
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
865
+ >;
866
+
867
+ /**
868
+ * `target` removed alias authorization for `aliaser`.
869
+ **/
870
+ AliasAuthorizationRemoved: GenericPalletEvent<
871
+ Rv,
872
+ 'PolkadotXcm',
873
+ 'AliasAuthorizationRemoved',
874
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
875
+ >;
876
+
877
+ /**
878
+ * `target` removed all alias authorizations.
879
+ **/
880
+ AliasesAuthorizationsRemoved: GenericPalletEvent<
881
+ Rv,
882
+ 'PolkadotXcm',
883
+ 'AliasesAuthorizationsRemoved',
884
+ { target: StagingXcmV5Location }
885
+ >;
886
+
809
887
  /**
810
888
  * Generic pallet event
811
889
  **/
@@ -1000,6 +1078,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1000
1078
  **/
1001
1079
  DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1002
1080
 
1081
+ /**
1082
+ * Main call was dispatched.
1083
+ **/
1084
+ IfElseMainSuccess: GenericPalletEvent<Rv, 'Utility', 'IfElseMainSuccess', null>;
1085
+
1086
+ /**
1087
+ * The fallback call was dispatched.
1088
+ **/
1089
+ IfElseFallbackCalled: GenericPalletEvent<Rv, 'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
1090
+
1003
1091
  /**
1004
1092
  * Generic pallet event
1005
1093
  **/
@@ -1055,6 +1143,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1055
1143
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1056
1144
  >;
1057
1145
 
1146
+ /**
1147
+ * The deposit for a multisig operation has been updated/poked.
1148
+ **/
1149
+ DepositPoked: GenericPalletEvent<
1150
+ Rv,
1151
+ 'Multisig',
1152
+ 'DepositPoked',
1153
+ { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
1154
+ >;
1155
+
1058
1156
  /**
1059
1157
  * Generic pallet event
1060
1158
  **/
@@ -1105,6 +1203,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1105
1203
  { delegator: AccountId32; delegatee: AccountId32; proxyType: PeoplePaseoRuntimeProxyType; delay: number }
1106
1204
  >;
1107
1205
 
1206
+ /**
1207
+ * A deposit stored for proxies or announcements was poked / updated.
1208
+ **/
1209
+ DepositPoked: GenericPalletEvent<
1210
+ Rv,
1211
+ 'Proxy',
1212
+ 'DepositPoked',
1213
+ { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
1214
+ >;
1215
+
1108
1216
  /**
1109
1217
  * Generic pallet event
1110
1218
  **/
@@ -25,7 +25,7 @@ export interface VersionedPaseoPeopleApi<Rv extends RpcVersion> extends GenericS
25
25
 
26
26
  /**
27
27
  * @name: PaseoPeopleApi
28
- * @specVersion: 1005001
28
+ * @specVersion: 1006000
29
29
  **/
30
30
  export interface PaseoPeopleApi {
31
31
  legacy: VersionedPaseoPeopleApi<RpcLegacy>;
@@ -19,6 +19,7 @@ import type {
19
19
  FrameSystemEventRecord,
20
20
  FrameSystemLastRuntimeUpgradeInfo,
21
21
  FrameSystemCodeUpgradeAuthorization,
22
+ SpWeightsWeightV2Weight,
22
23
  CumulusPalletParachainSystemUnincludedSegmentAncestor,
23
24
  CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
24
25
  PolkadotPrimitivesV8PersistedValidationData,
@@ -30,7 +31,6 @@ import type {
30
31
  CumulusPrimitivesParachainInherentMessageQueueChain,
31
32
  PolkadotParachainPrimitivesPrimitivesId,
32
33
  PolkadotCorePrimitivesOutboundHrmpMessage,
33
- SpWeightsWeightV2Weight,
34
34
  PalletMigrationsMigrationCursor,
35
35
  PalletBalancesAccountData,
36
36
  PalletBalancesBalanceLock,
@@ -40,6 +40,7 @@ import type {
40
40
  PalletTransactionPaymentReleases,
41
41
  PalletCollatorSelectionCandidateInfo,
42
42
  PeoplePaseoRuntimeSessionKeys,
43
+ SpStakingOffenceOffenceSeverity,
43
44
  SpCoreCryptoKeyTypeId,
44
45
  SpConsensusAuraSr25519AppSr25519Public,
45
46
  SpConsensusSlotsSlot,
@@ -51,6 +52,7 @@ import type {
51
52
  PalletXcmRemoteLockedFungibleRecord,
52
53
  XcmVersionedAssetId,
53
54
  StagingXcmV5Xcm,
55
+ PalletXcmAuthorizedAliasesEntry,
54
56
  PalletMessageQueueBookState,
55
57
  CumulusPrimitivesCoreAggregateMessageOrigin,
56
58
  PalletMessageQueuePage,
@@ -215,6 +217,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
215
217
  **/
216
218
  authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
217
219
 
220
+ /**
221
+ * The weight reclaimed for the extrinsic.
222
+ *
223
+ * This information is available until the end of the extrinsic execution.
224
+ * More precisely this information is removed in `note_applied_extrinsic`.
225
+ *
226
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
227
+ * reduction.
228
+ *
229
+ * @param {Callback<SpWeightsWeightV2Weight> =} callback
230
+ **/
231
+ extrinsicWeightReclaimed: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight>;
232
+
218
233
  /**
219
234
  * Generic pallet storage query
220
235
  **/
@@ -763,9 +778,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
763
778
  * disabled using binary search. It gets cleared when `on_session_ending` returns
764
779
  * a new set of identities.
765
780
  *
766
- * @param {Callback<Array<number>> =} callback
781
+ * @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
767
782
  **/
768
- disabledValidators: GenericStorageQuery<Rv, () => Array<number>>;
783
+ disabledValidators: GenericStorageQuery<Rv, () => Array<[number, SpStakingOffenceOffenceSeverity]>>;
769
784
 
770
785
  /**
771
786
  * The next session keys for a validator.
@@ -833,13 +848,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
833
848
  authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraSr25519AppSr25519Public>>;
834
849
 
835
850
  /**
836
- * Current slot paired with a number of authored blocks.
851
+ * Current relay chain slot paired with a number of authored blocks.
837
852
  *
838
- * Updated on each block initialization.
853
+ * This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay
854
+ * chain slot as provided by the relay chain state proof.
839
855
  *
840
856
  * @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
841
857
  **/
842
- slotInfo: GenericStorageQuery<Rv, () => [SpConsensusSlotsSlot, number] | undefined>;
858
+ relaySlotInfo: GenericStorageQuery<Rv, () => [SpConsensusSlotsSlot, number] | undefined>;
843
859
 
844
860
  /**
845
861
  * Generic pallet storage query
@@ -1078,6 +1094,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1078
1094
  **/
1079
1095
  recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV5Xcm | undefined>;
1080
1096
 
1097
+ /**
1098
+ * Map of authorized aliasers of local origins. Each local location can authorize a list of
1099
+ * other locations to alias into it. Each aliaser is only valid until its inner `expiry`
1100
+ * block number.
1101
+ *
1102
+ * @param {XcmVersionedLocation} arg
1103
+ * @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
1104
+ **/
1105
+ authorizedAliases: GenericStorageQuery<
1106
+ Rv,
1107
+ (arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
1108
+ XcmVersionedLocation
1109
+ >;
1110
+
1081
1111
  /**
1082
1112
  * Generic pallet storage query
1083
1113
  **/
@@ -77,7 +77,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
77
77
  /**
78
78
  * Whether it is legal to extend the chain, assuming the given block is the most
79
79
  * recently included one as-of the relay parent that will be built against, and
80
- * the given slot.
80
+ * the given relay chain slot.
81
81
  *
82
82
  * This should be consistent with the logic the runtime uses when validating blocks to
83
83
  * avoid issues.
@@ -1767,6 +1767,77 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
1767
1767
  >
1768
1768
  >;
1769
1769
 
1770
+ /**
1771
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
1772
+ * The `aliaser` is only authorized until the provided `expiry` block number.
1773
+ * The call can also be used for a previously authorized alias in order to update its
1774
+ * `expiry` block number.
1775
+ *
1776
+ * Usually useful to allow your local account to be aliased into from a remote location
1777
+ * also under your control (like your account on another chain).
1778
+ *
1779
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
1780
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
1781
+ * `origin` in XCM programs executed on the local chain.
1782
+ *
1783
+ * @param {XcmVersionedLocation} aliaser
1784
+ * @param {bigint | undefined} expires
1785
+ **/
1786
+ addAuthorizedAlias: GenericTxCall<
1787
+ Rv,
1788
+ (
1789
+ aliaser: XcmVersionedLocation,
1790
+ expires: bigint | undefined,
1791
+ ) => ChainSubmittableExtrinsic<
1792
+ Rv,
1793
+ {
1794
+ pallet: 'PolkadotXcm';
1795
+ palletCall: {
1796
+ name: 'AddAuthorizedAlias';
1797
+ params: { aliaser: XcmVersionedLocation; expires: bigint | undefined };
1798
+ };
1799
+ }
1800
+ >
1801
+ >;
1802
+
1803
+ /**
1804
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
1805
+ * the local `origin` making this call.
1806
+ *
1807
+ * @param {XcmVersionedLocation} aliaser
1808
+ **/
1809
+ removeAuthorizedAlias: GenericTxCall<
1810
+ Rv,
1811
+ (aliaser: XcmVersionedLocation) => ChainSubmittableExtrinsic<
1812
+ Rv,
1813
+ {
1814
+ pallet: 'PolkadotXcm';
1815
+ palletCall: {
1816
+ name: 'RemoveAuthorizedAlias';
1817
+ params: { aliaser: XcmVersionedLocation };
1818
+ };
1819
+ }
1820
+ >
1821
+ >;
1822
+
1823
+ /**
1824
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
1825
+ * making this call.
1826
+ *
1827
+ **/
1828
+ removeAllAuthorizedAliases: GenericTxCall<
1829
+ Rv,
1830
+ () => ChainSubmittableExtrinsic<
1831
+ Rv,
1832
+ {
1833
+ pallet: 'PolkadotXcm';
1834
+ palletCall: {
1835
+ name: 'RemoveAllAuthorizedAliases';
1836
+ };
1837
+ }
1838
+ >
1839
+ >;
1840
+
1770
1841
  /**
1771
1842
  * Generic pallet tx call
1772
1843
  **/
@@ -2050,6 +2121,78 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2050
2121
  >
2051
2122
  >;
2052
2123
 
2124
+ /**
2125
+ * Dispatch a fallback call in the event the main call fails to execute.
2126
+ * May be called from any origin except `None`.
2127
+ *
2128
+ * This function first attempts to dispatch the `main` call.
2129
+ * If the `main` call fails, the `fallback` is attemted.
2130
+ * if the fallback is successfully dispatched, the weights of both calls
2131
+ * are accumulated and an event containing the main call error is deposited.
2132
+ *
2133
+ * In the event of a fallback failure the whole call fails
2134
+ * with the weights returned.
2135
+ *
2136
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
2137
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
2138
+ *
2139
+ * ## Dispatch Logic
2140
+ * - If the origin is `root`, both the main and fallback calls are executed without
2141
+ * applying any origin filters.
2142
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
2143
+ * `fallback` calls.
2144
+ *
2145
+ * ## Use Case
2146
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
2147
+ * or both.
2148
+ *
2149
+ * @param {PeoplePaseoRuntimeRuntimeCallLike} main
2150
+ * @param {PeoplePaseoRuntimeRuntimeCallLike} fallback
2151
+ **/
2152
+ ifElse: GenericTxCall<
2153
+ Rv,
2154
+ (
2155
+ main: PeoplePaseoRuntimeRuntimeCallLike,
2156
+ fallback: PeoplePaseoRuntimeRuntimeCallLike,
2157
+ ) => ChainSubmittableExtrinsic<
2158
+ Rv,
2159
+ {
2160
+ pallet: 'Utility';
2161
+ palletCall: {
2162
+ name: 'IfElse';
2163
+ params: { main: PeoplePaseoRuntimeRuntimeCallLike; fallback: PeoplePaseoRuntimeRuntimeCallLike };
2164
+ };
2165
+ }
2166
+ >
2167
+ >;
2168
+
2169
+ /**
2170
+ * Dispatches a function call with a provided origin.
2171
+ *
2172
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
2173
+ *
2174
+ * The dispatch origin for this call must be _Root_.
2175
+ *
2176
+ * @param {PeoplePaseoRuntimeOriginCaller} asOrigin
2177
+ * @param {PeoplePaseoRuntimeRuntimeCallLike} call
2178
+ **/
2179
+ dispatchAsFallible: GenericTxCall<
2180
+ Rv,
2181
+ (
2182
+ asOrigin: PeoplePaseoRuntimeOriginCaller,
2183
+ call: PeoplePaseoRuntimeRuntimeCallLike,
2184
+ ) => ChainSubmittableExtrinsic<
2185
+ Rv,
2186
+ {
2187
+ pallet: 'Utility';
2188
+ palletCall: {
2189
+ name: 'DispatchAsFallible';
2190
+ params: { asOrigin: PeoplePaseoRuntimeOriginCaller; call: PeoplePaseoRuntimeRuntimeCallLike };
2191
+ };
2192
+ }
2193
+ >
2194
+ >;
2195
+
2053
2196
  /**
2054
2197
  * Generic pallet tx call
2055
2198
  **/
@@ -2282,6 +2425,43 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2282
2425
  >
2283
2426
  >;
2284
2427
 
2428
+ /**
2429
+ * Poke the deposit reserved for an existing multisig operation.
2430
+ *
2431
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
2432
+ * the multisig operation.
2433
+ *
2434
+ * The transaction fee is waived if the deposit amount has changed.
2435
+ *
2436
+ * - `threshold`: The total number of approvals needed for this multisig.
2437
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
2438
+ * multisig.
2439
+ * - `call_hash`: The hash of the call this deposit is reserved for.
2440
+ *
2441
+ * Emits `DepositPoked` if successful.
2442
+ *
2443
+ * @param {number} threshold
2444
+ * @param {Array<AccountId32Like>} otherSignatories
2445
+ * @param {FixedBytes<32>} callHash
2446
+ **/
2447
+ pokeDeposit: GenericTxCall<
2448
+ Rv,
2449
+ (
2450
+ threshold: number,
2451
+ otherSignatories: Array<AccountId32Like>,
2452
+ callHash: FixedBytes<32>,
2453
+ ) => ChainSubmittableExtrinsic<
2454
+ Rv,
2455
+ {
2456
+ pallet: 'Multisig';
2457
+ palletCall: {
2458
+ name: 'PokeDeposit';
2459
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
2460
+ };
2461
+ }
2462
+ >
2463
+ >;
2464
+
2285
2465
  /**
2286
2466
  * Generic pallet tx call
2287
2467
  **/
@@ -2649,6 +2829,30 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2649
2829
  >
2650
2830
  >;
2651
2831
 
2832
+ /**
2833
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
2834
+ * This can be used by accounts to possibly lower their locked amount.
2835
+ *
2836
+ * The dispatch origin for this call must be _Signed_.
2837
+ *
2838
+ * The transaction fee is waived if the deposit amount has changed.
2839
+ *
2840
+ * Emits `DepositPoked` if successful.
2841
+ *
2842
+ **/
2843
+ pokeDeposit: GenericTxCall<
2844
+ Rv,
2845
+ () => ChainSubmittableExtrinsic<
2846
+ Rv,
2847
+ {
2848
+ pallet: 'Proxy';
2849
+ palletCall: {
2850
+ name: 'PokeDeposit';
2851
+ };
2852
+ }
2853
+ >
2854
+ >;
2855
+
2652
2856
  /**
2653
2857
  * Generic pallet tx call
2654
2858
  **/
@@ -13,6 +13,7 @@ import type {
13
13
  MultiAddress,
14
14
  MultiAddressLike,
15
15
  AccountId32Like,
16
+ Perbill,
16
17
  Data,
17
18
  Era,
18
19
  Header,
@@ -95,7 +96,11 @@ export type FrameSystemEvent =
95
96
  /**
96
97
  * An upgrade was authorized.
97
98
  **/
98
- | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
99
+ | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
100
+ /**
101
+ * An invalid authorized upgrade was rejected while trying to apply it.
102
+ **/
103
+ | { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
99
104
 
100
105
  export type FrameSystemDispatchEventInfo = {
101
106
  weight: SpWeightsWeightV2Weight;
@@ -432,7 +437,15 @@ export type PalletSessionEvent =
432
437
  * New session has happened. Note that the argument is the session index, not the
433
438
  * block number as the type might suggest.
434
439
  **/
435
- { name: 'NewSession'; data: { sessionIndex: number } };
440
+ | { name: 'NewSession'; data: { sessionIndex: number } }
441
+ /**
442
+ * Validator has been disabled.
443
+ **/
444
+ | { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
445
+ /**
446
+ * Validator has been re-enabled.
447
+ **/
448
+ | { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
436
449
 
437
450
  /**
438
451
  * The `Event` enum of this pallet
@@ -452,7 +465,7 @@ export type PalletXcmEvent =
452
465
  **/
453
466
  | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
454
467
  /**
455
- * A XCM message was sent.
468
+ * An XCM message was sent.
456
469
  **/
457
470
  | {
458
471
  name: 'Sent';
@@ -463,6 +476,25 @@ export type PalletXcmEvent =
463
476
  messageId: FixedBytes<32>;
464
477
  };
465
478
  }
479
+ /**
480
+ * An XCM message failed to send.
481
+ **/
482
+ | {
483
+ name: 'SendFailed';
484
+ data: {
485
+ origin: StagingXcmV5Location;
486
+ destination: StagingXcmV5Location;
487
+ error: XcmV3TraitsSendError;
488
+ messageId: FixedBytes<32>;
489
+ };
490
+ }
491
+ /**
492
+ * An XCM message failed to process.
493
+ **/
494
+ | {
495
+ name: 'ProcessXcmError';
496
+ data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
497
+ }
466
498
  /**
467
499
  * Query response received which does not match a registered query. This may be because a
468
500
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -619,7 +651,23 @@ export type PalletXcmEvent =
619
651
  /**
620
652
  * A XCM version migration finished.
621
653
  **/
622
- | { name: 'VersionMigrationFinished'; data: { version: number } };
654
+ | { name: 'VersionMigrationFinished'; data: { version: number } }
655
+ /**
656
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
657
+ * `expiry` block number.
658
+ **/
659
+ | {
660
+ name: 'AliasAuthorized';
661
+ data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
662
+ }
663
+ /**
664
+ * `target` removed alias authorization for `aliaser`.
665
+ **/
666
+ | { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
667
+ /**
668
+ * `target` removed all alias authorizations.
669
+ **/
670
+ | { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
623
671
 
624
672
  export type StagingXcmV5TraitsOutcome =
625
673
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
@@ -904,6 +952,15 @@ export type StagingXcmV5AssetAssetTransferFilter =
904
952
 
905
953
  export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
906
954
 
955
+ export type XcmV3TraitsSendError =
956
+ | 'NotApplicable'
957
+ | 'Transport'
958
+ | 'Unroutable'
959
+ | 'DestinationUnsupported'
960
+ | 'ExceedsMaxMessageSize'
961
+ | 'MissingArgument'
962
+ | 'Fees';
963
+
907
964
  export type XcmVersionedAssets =
908
965
  | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
909
966
  | { type: 'V4'; value: StagingXcmV4AssetAssets }
@@ -1212,7 +1269,15 @@ export type PalletUtilityEvent =
1212
1269
  /**
1213
1270
  * A call was dispatched.
1214
1271
  **/
1215
- | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } };
1272
+ | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
1273
+ /**
1274
+ * Main call was dispatched.
1275
+ **/
1276
+ | { name: 'IfElseMainSuccess' }
1277
+ /**
1278
+ * The fallback call was dispatched.
1279
+ **/
1280
+ | { name: 'IfElseFallbackCalled'; data: { mainError: DispatchError } };
1216
1281
 
1217
1282
  /**
1218
1283
  * The `Event` enum of this pallet
@@ -1258,6 +1323,13 @@ export type PalletMultisigEvent =
1258
1323
  multisig: AccountId32;
1259
1324
  callHash: FixedBytes<32>;
1260
1325
  };
1326
+ }
1327
+ /**
1328
+ * The deposit for a multisig operation has been updated/poked.
1329
+ **/
1330
+ | {
1331
+ name: 'DepositPoked';
1332
+ data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
1261
1333
  };
1262
1334
 
1263
1335
  export type PalletMultisigTimepoint = { height: number; index: number };
@@ -1300,6 +1372,13 @@ export type PalletProxyEvent =
1300
1372
  | {
1301
1373
  name: 'ProxyRemoved';
1302
1374
  data: { delegator: AccountId32; delegatee: AccountId32; proxyType: PeoplePaseoRuntimeProxyType; delay: number };
1375
+ }
1376
+ /**
1377
+ * A deposit stored for proxies or announcements was poked / updated.
1378
+ **/
1379
+ | {
1380
+ name: 'DepositPoked';
1381
+ data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
1303
1382
  };
1304
1383
 
1305
1384
  export type PeoplePaseoRuntimeProxyType =
@@ -1310,6 +1389,8 @@ export type PeoplePaseoRuntimeProxyType =
1310
1389
  | 'IdentityJudgement'
1311
1390
  | 'Collator';
1312
1391
 
1392
+ export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
1393
+
1313
1394
  /**
1314
1395
  * The `Event` enum of this pallet
1315
1396
  **/
@@ -1831,15 +1912,7 @@ export type CumulusPalletParachainSystemError =
1831
1912
  /**
1832
1913
  * No validation function upgrade is currently scheduled.
1833
1914
  **/
1834
- | 'NotScheduled'
1835
- /**
1836
- * No code upgrade has been authorized.
1837
- **/
1838
- | 'NothingAuthorized'
1839
- /**
1840
- * The given code upgrade has not been authorized.
1841
- **/
1842
- | 'Unauthorized';
1915
+ | 'NotScheduled';
1843
1916
 
1844
1917
  /**
1845
1918
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2003,7 +2076,9 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
2003
2076
 
2004
2077
  export type FrameSupportTokensMiscIdAmount = { id: PeoplePaseoRuntimeRuntimeHoldReason; amount: bigint };
2005
2078
 
2006
- export type PeoplePaseoRuntimeRuntimeHoldReason = null;
2079
+ export type PeoplePaseoRuntimeRuntimeHoldReason = { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
2080
+
2081
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
2007
2082
 
2008
2083
  export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
2009
2084
 
@@ -2412,6 +2487,8 @@ export type PalletCollatorSelectionCallLike =
2412
2487
  **/
2413
2488
  | { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
2414
2489
 
2490
+ export type FrameSupportPalletId = FixedBytes<8>;
2491
+
2415
2492
  /**
2416
2493
  * The `Error` enum of this pallet.
2417
2494
  **/
@@ -2489,6 +2566,8 @@ export type PeoplePaseoRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr2
2489
2566
 
2490
2567
  export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
2491
2568
 
2569
+ export type SpStakingOffenceOffenceSeverity = Perbill;
2570
+
2492
2571
  export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
2493
2572
 
2494
2573
  /**
@@ -2815,6 +2894,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
2815
2894
  consumers: Array<[[], bigint]>;
2816
2895
  };
2817
2896
 
2897
+ export type PalletXcmAuthorizedAliasesEntry = {
2898
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
2899
+ ticket: FrameSupportStorageDisabled;
2900
+ };
2901
+
2902
+ export type FrameSupportStorageDisabled = {};
2903
+
2904
+ export type PalletXcmMaxAuthorizedAliases = {};
2905
+
2906
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
2907
+ location: XcmVersionedLocation;
2908
+ expiry?: bigint | undefined;
2909
+ };
2910
+
2818
2911
  /**
2819
2912
  * Contains a variant per dispatchable extrinsic that this pallet has.
2820
2913
  **/
@@ -3128,7 +3221,31 @@ export type PalletXcmCall =
3128
3221
  customXcmOnDest: XcmVersionedXcm;
3129
3222
  weightLimit: XcmV3WeightLimit;
3130
3223
  };
3131
- };
3224
+ }
3225
+ /**
3226
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
3227
+ * The `aliaser` is only authorized until the provided `expiry` block number.
3228
+ * The call can also be used for a previously authorized alias in order to update its
3229
+ * `expiry` block number.
3230
+ *
3231
+ * Usually useful to allow your local account to be aliased into from a remote location
3232
+ * also under your control (like your account on another chain).
3233
+ *
3234
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
3235
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
3236
+ * `origin` in XCM programs executed on the local chain.
3237
+ **/
3238
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
3239
+ /**
3240
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
3241
+ * the local `origin` making this call.
3242
+ **/
3243
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
3244
+ /**
3245
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
3246
+ * making this call.
3247
+ **/
3248
+ | { name: 'RemoveAllAuthorizedAliases' };
3132
3249
 
3133
3250
  export type PalletXcmCallLike =
3134
3251
  | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
@@ -3440,7 +3557,31 @@ export type PalletXcmCallLike =
3440
3557
  customXcmOnDest: XcmVersionedXcm;
3441
3558
  weightLimit: XcmV3WeightLimit;
3442
3559
  };
3443
- };
3560
+ }
3561
+ /**
3562
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
3563
+ * The `aliaser` is only authorized until the provided `expiry` block number.
3564
+ * The call can also be used for a previously authorized alias in order to update its
3565
+ * `expiry` block number.
3566
+ *
3567
+ * Usually useful to allow your local account to be aliased into from a remote location
3568
+ * also under your control (like your account on another chain).
3569
+ *
3570
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
3571
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
3572
+ * `origin` in XCM programs executed on the local chain.
3573
+ **/
3574
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
3575
+ /**
3576
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
3577
+ * the local `origin` making this call.
3578
+ **/
3579
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
3580
+ /**
3581
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
3582
+ * making this call.
3583
+ **/
3584
+ | { name: 'RemoveAllAuthorizedAliases' };
3444
3585
 
3445
3586
  export type XcmVersionedXcm =
3446
3587
  | { type: 'V3'; value: XcmV3Xcm }
@@ -3787,7 +3928,19 @@ export type PalletXcmError =
3787
3928
  /**
3788
3929
  * Local XCM execution incomplete.
3789
3930
  **/
3790
- | 'LocalExecutionIncomplete';
3931
+ | 'LocalExecutionIncomplete'
3932
+ /**
3933
+ * Too many locations authorized to alias origin.
3934
+ **/
3935
+ | 'TooManyAuthorizedAliases'
3936
+ /**
3937
+ * Expiry block number is in the past.
3938
+ **/
3939
+ | 'ExpiresInPast'
3940
+ /**
3941
+ * The alias to remove authorization for was not found.
3942
+ **/
3943
+ | 'AliasNotFound';
3791
3944
 
3792
3945
  /**
3793
3946
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4019,7 +4172,44 @@ export type PalletUtilityCall =
4019
4172
  *
4020
4173
  * The dispatch origin for this call must be _Root_.
4021
4174
  **/
4022
- | { name: 'WithWeight'; params: { call: PeoplePaseoRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } };
4175
+ | { name: 'WithWeight'; params: { call: PeoplePaseoRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
4176
+ /**
4177
+ * Dispatch a fallback call in the event the main call fails to execute.
4178
+ * May be called from any origin except `None`.
4179
+ *
4180
+ * This function first attempts to dispatch the `main` call.
4181
+ * If the `main` call fails, the `fallback` is attemted.
4182
+ * if the fallback is successfully dispatched, the weights of both calls
4183
+ * are accumulated and an event containing the main call error is deposited.
4184
+ *
4185
+ * In the event of a fallback failure the whole call fails
4186
+ * with the weights returned.
4187
+ *
4188
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
4189
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
4190
+ *
4191
+ * ## Dispatch Logic
4192
+ * - If the origin is `root`, both the main and fallback calls are executed without
4193
+ * applying any origin filters.
4194
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
4195
+ * `fallback` calls.
4196
+ *
4197
+ * ## Use Case
4198
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
4199
+ * or both.
4200
+ **/
4201
+ | { name: 'IfElse'; params: { main: PeoplePaseoRuntimeRuntimeCall; fallback: PeoplePaseoRuntimeRuntimeCall } }
4202
+ /**
4203
+ * Dispatches a function call with a provided origin.
4204
+ *
4205
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
4206
+ *
4207
+ * The dispatch origin for this call must be _Root_.
4208
+ **/
4209
+ | {
4210
+ name: 'DispatchAsFallible';
4211
+ params: { asOrigin: PeoplePaseoRuntimeOriginCaller; call: PeoplePaseoRuntimeRuntimeCall };
4212
+ };
4023
4213
 
4024
4214
  export type PalletUtilityCallLike =
4025
4215
  /**
@@ -4111,7 +4301,44 @@ export type PalletUtilityCallLike =
4111
4301
  *
4112
4302
  * The dispatch origin for this call must be _Root_.
4113
4303
  **/
4114
- | { name: 'WithWeight'; params: { call: PeoplePaseoRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
4304
+ | { name: 'WithWeight'; params: { call: PeoplePaseoRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
4305
+ /**
4306
+ * Dispatch a fallback call in the event the main call fails to execute.
4307
+ * May be called from any origin except `None`.
4308
+ *
4309
+ * This function first attempts to dispatch the `main` call.
4310
+ * If the `main` call fails, the `fallback` is attemted.
4311
+ * if the fallback is successfully dispatched, the weights of both calls
4312
+ * are accumulated and an event containing the main call error is deposited.
4313
+ *
4314
+ * In the event of a fallback failure the whole call fails
4315
+ * with the weights returned.
4316
+ *
4317
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
4318
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
4319
+ *
4320
+ * ## Dispatch Logic
4321
+ * - If the origin is `root`, both the main and fallback calls are executed without
4322
+ * applying any origin filters.
4323
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
4324
+ * `fallback` calls.
4325
+ *
4326
+ * ## Use Case
4327
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
4328
+ * or both.
4329
+ **/
4330
+ | { name: 'IfElse'; params: { main: PeoplePaseoRuntimeRuntimeCallLike; fallback: PeoplePaseoRuntimeRuntimeCallLike } }
4331
+ /**
4332
+ * Dispatches a function call with a provided origin.
4333
+ *
4334
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
4335
+ *
4336
+ * The dispatch origin for this call must be _Root_.
4337
+ **/
4338
+ | {
4339
+ name: 'DispatchAsFallible';
4340
+ params: { asOrigin: PeoplePaseoRuntimeOriginCaller; call: PeoplePaseoRuntimeRuntimeCallLike };
4341
+ };
4115
4342
 
4116
4343
  export type PeoplePaseoRuntimeRuntimeCall =
4117
4344
  | { pallet: 'System'; palletCall: FrameSystemCall }
@@ -4294,6 +4521,25 @@ export type PalletMultisigCall =
4294
4521
  timepoint: PalletMultisigTimepoint;
4295
4522
  callHash: FixedBytes<32>;
4296
4523
  };
4524
+ }
4525
+ /**
4526
+ * Poke the deposit reserved for an existing multisig operation.
4527
+ *
4528
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
4529
+ * the multisig operation.
4530
+ *
4531
+ * The transaction fee is waived if the deposit amount has changed.
4532
+ *
4533
+ * - `threshold`: The total number of approvals needed for this multisig.
4534
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
4535
+ * multisig.
4536
+ * - `call_hash`: The hash of the call this deposit is reserved for.
4537
+ *
4538
+ * Emits `DepositPoked` if successful.
4539
+ **/
4540
+ | {
4541
+ name: 'PokeDeposit';
4542
+ params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
4297
4543
  };
4298
4544
 
4299
4545
  export type PalletMultisigCallLike =
@@ -4439,6 +4685,25 @@ export type PalletMultisigCallLike =
4439
4685
  timepoint: PalletMultisigTimepoint;
4440
4686
  callHash: FixedBytes<32>;
4441
4687
  };
4688
+ }
4689
+ /**
4690
+ * Poke the deposit reserved for an existing multisig operation.
4691
+ *
4692
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
4693
+ * the multisig operation.
4694
+ *
4695
+ * The transaction fee is waived if the deposit amount has changed.
4696
+ *
4697
+ * - `threshold`: The total number of approvals needed for this multisig.
4698
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
4699
+ * multisig.
4700
+ * - `call_hash`: The hash of the call this deposit is reserved for.
4701
+ *
4702
+ * Emits `DepositPoked` if successful.
4703
+ **/
4704
+ | {
4705
+ name: 'PokeDeposit';
4706
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
4442
4707
  };
4443
4708
 
4444
4709
  /**
@@ -4609,7 +4874,18 @@ export type PalletProxyCall =
4609
4874
  forceProxyType?: PeoplePaseoRuntimeProxyType | undefined;
4610
4875
  call: PeoplePaseoRuntimeRuntimeCall;
4611
4876
  };
4612
- };
4877
+ }
4878
+ /**
4879
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
4880
+ * This can be used by accounts to possibly lower their locked amount.
4881
+ *
4882
+ * The dispatch origin for this call must be _Signed_.
4883
+ *
4884
+ * The transaction fee is waived if the deposit amount has changed.
4885
+ *
4886
+ * Emits `DepositPoked` if successful.
4887
+ **/
4888
+ | { name: 'PokeDeposit' };
4613
4889
 
4614
4890
  export type PalletProxyCallLike =
4615
4891
  /**
@@ -4779,7 +5055,18 @@ export type PalletProxyCallLike =
4779
5055
  forceProxyType?: PeoplePaseoRuntimeProxyType | undefined;
4780
5056
  call: PeoplePaseoRuntimeRuntimeCallLike;
4781
5057
  };
4782
- };
5058
+ }
5059
+ /**
5060
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
5061
+ * This can be used by accounts to possibly lower their locked amount.
5062
+ *
5063
+ * The dispatch origin for this call must be _Signed_.
5064
+ *
5065
+ * The transaction fee is waived if the deposit amount has changed.
5066
+ *
5067
+ * Emits `DepositPoked` if successful.
5068
+ **/
5069
+ | { name: 'PokeDeposit' };
4783
5070
 
4784
5071
  /**
4785
5072
  * Identity pallet declaration.
@@ -5454,11 +5741,12 @@ export type PalletMultisigError =
5454
5741
  **/
5455
5742
  | 'SenderInSignatories'
5456
5743
  /**
5457
- * Multisig operation not found when attempting to cancel.
5744
+ * Multisig operation not found in storage.
5458
5745
  **/
5459
5746
  | 'NotFound'
5460
5747
  /**
5461
- * Only the account that originally created the multisig is able to cancel it.
5748
+ * Only the account that originally created the multisig is able to cancel it or update
5749
+ * its deposits.
5462
5750
  **/
5463
5751
  | 'NotOwner'
5464
5752
  /**