@polkadot/api-augment 16.5.4 → 17.0.1

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.
Files changed (51) hide show
  1. package/assetHubKusama/consts.d.ts +140 -53
  2. package/assetHubKusama/errors.d.ts +310 -111
  3. package/assetHubKusama/events.d.ts +420 -149
  4. package/assetHubKusama/query.d.ts +370 -92
  5. package/assetHubKusama/runtime.d.ts +157 -8
  6. package/assetHubKusama/tx.d.ts +690 -600
  7. package/cjs/assetHubKusama/consts.d.ts +140 -53
  8. package/cjs/assetHubKusama/errors.d.ts +310 -111
  9. package/cjs/assetHubKusama/events.d.ts +420 -149
  10. package/cjs/assetHubKusama/query.d.ts +370 -92
  11. package/cjs/assetHubKusama/runtime.d.ts +157 -8
  12. package/cjs/assetHubKusama/tx.d.ts +690 -600
  13. package/cjs/kusama/consts.d.ts +0 -40
  14. package/cjs/kusama/errors.d.ts +25 -151
  15. package/cjs/kusama/events.d.ts +93 -208
  16. package/cjs/kusama/query.d.ts +98 -177
  17. package/cjs/kusama/runtime.d.ts +86 -46
  18. package/cjs/kusama/tx.d.ts +108 -608
  19. package/cjs/packageInfo.js +1 -1
  20. package/cjs/polkadot/consts.d.ts +1 -1
  21. package/cjs/polkadot/errors.d.ts +25 -85
  22. package/cjs/polkadot/events.d.ts +103 -159
  23. package/cjs/polkadot/query.d.ts +108 -172
  24. package/cjs/polkadot/runtime.d.ts +72 -46
  25. package/cjs/polkadot/tx.d.ts +101 -351
  26. package/cjs/substrate/consts.d.ts +12 -3
  27. package/cjs/substrate/errors.d.ts +28 -14
  28. package/cjs/substrate/events.d.ts +66 -1
  29. package/cjs/substrate/query.d.ts +9 -0
  30. package/cjs/substrate/runtime.d.ts +5 -1
  31. package/cjs/substrate/tx.d.ts +81 -2
  32. package/kusama/consts.d.ts +0 -40
  33. package/kusama/errors.d.ts +25 -151
  34. package/kusama/events.d.ts +93 -208
  35. package/kusama/query.d.ts +98 -177
  36. package/kusama/runtime.d.ts +86 -46
  37. package/kusama/tx.d.ts +108 -608
  38. package/package.json +7 -7
  39. package/packageInfo.js +1 -1
  40. package/polkadot/consts.d.ts +1 -1
  41. package/polkadot/errors.d.ts +25 -85
  42. package/polkadot/events.d.ts +103 -159
  43. package/polkadot/query.d.ts +108 -172
  44. package/polkadot/runtime.d.ts +72 -46
  45. package/polkadot/tx.d.ts +101 -351
  46. package/substrate/consts.d.ts +12 -3
  47. package/substrate/errors.d.ts +28 -14
  48. package/substrate/events.d.ts +66 -1
  49. package/substrate/query.d.ts +9 -0
  50. package/substrate/runtime.d.ts +5 -1
  51. package/substrate/tx.d.ts +81 -2
@@ -1,347 +1,15 @@
1
1
  import '@polkadot/api-base/types/submittable';
2
2
  import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
3
- import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
+ import type { Bytes, Compact, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntimeParameters, AssetHubKusamaRuntimeRuntimeTask, AssetHubKusamaRuntimeSessionKeys, AssetHubKusamaRuntimeStakingNposCompactSolution24, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletAhMigratorMigrationStage, PalletBalancesAdjustmentDirection, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockAdminOperation, PalletElectionProviderMultiBlockPagedRawSolution, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorAccountsAccount, PalletRcMigratorBountiesRcBountiesMessage, PalletRcMigratorChildBountiesPortableChildBountiesMessage, PalletRcMigratorClaimsRcClaimsMessage, PalletRcMigratorConvictionVotingRcConvictionVotingMessage, PalletRcMigratorCrowdloanRcCrowdloanMessage, PalletRcMigratorIndicesRcIndicesIndex, PalletRcMigratorMigrationFinishedData, PalletRcMigratorMultisigRcMultisig, PalletRcMigratorPreimageChunksRcPreimageChunk, PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus, PalletRcMigratorPreimageRequestStatusPortableRequestStatus, PalletRcMigratorProxyRcProxy, PalletRcMigratorProxyRcProxyAnnouncement, PalletRcMigratorQueuePriority, PalletRcMigratorRecoveryPortableRecoveryMessage, PalletRcMigratorReferendaReferendaMessage, PalletRcMigratorSchedulerRcSchedulerMessage, PalletRcMigratorSchedulerSchedulerAgendaMessage, PalletRcMigratorSocietyPortableSocietyMessage, PalletRcMigratorStakingBagsListPortableBagsListMessage, PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage, PalletRcMigratorStakingMessagePortableStakingMessage, PalletRcMigratorStakingNomPoolsRcNomPoolsMessage, PalletRcMigratorTreasuryPortableTreasuryMessage, PalletRcMigratorVestingRcVestingSchedule, PalletReferendaReferendumInfoRcPalletsOrigin, PalletRemoteProxyRemoteProxyProof, PalletStakingAsyncLedgerUnlockChunk, PalletStakingAsyncPalletConfigOpPerbill, PalletStakingAsyncPalletConfigOpPercent, PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpU32, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpNposElectionsElectionScore, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
7
+ import type { AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntimeParameters, AssetHubKusamaRuntimeRuntimeTask, AssetHubKusamaRuntimeSessionKeys, AssetHubKusamaRuntimeStakingNposCompactSolution24, AssetsCommonLocalAndForeignAssetsForeignAssetReserveData, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockAdminOperation, PalletElectionProviderMultiBlockManagerOperation, PalletElectionProviderMultiBlockPagedRawSolution, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRecoveryFriendGroup, PalletRemoteProxyRemoteProxyProof, PalletStakingAsyncLedgerUnlockChunk, PalletStakingAsyncPalletConfigOpBool, PalletStakingAsyncPalletConfigOpPerbill, PalletStakingAsyncPalletConfigOpPercent, PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpU32, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpNposElectionsElectionScore, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
8
8
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
9
9
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
10
10
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
11
11
  declare module '@polkadot/api-base/types/submittable' {
12
12
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
13
- ahMigrator: {
14
- /**
15
- * Finish the migration.
16
- *
17
- * This is typically called by the Relay Chain to signal the migration has finished.
18
- *
19
- * The `data` parameter might be `None` if we are running the migration for a second time
20
- * for some pallets and have already performed the checking account balance correction,
21
- * so we do not need to do it this time.
22
- **/
23
- finishMigration: AugmentedSubmittable<(data: Option<PalletRcMigratorMigrationFinishedData> | null | Uint8Array | PalletRcMigratorMigrationFinishedData | {
24
- rcBalanceKept?: any;
25
- } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletRcMigratorMigrationFinishedData>]>;
26
- /**
27
- * Set the migration stage.
28
- *
29
- * This call is intended for emergency use only and is guarded by the
30
- * [`Config::AdminOrigin`].
31
- **/
32
- forceSetStage: AugmentedSubmittable<(stage: PalletAhMigratorMigrationStage | 'Pending' | 'DataMigrationOngoing' | 'MigrationDone' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAhMigratorMigrationStage]>;
33
- /**
34
- * Receive accounts from the Relay Chain.
35
- *
36
- * The accounts sent with `pallet_rc_migrator::Pallet::migrate_accounts` function.
37
- **/
38
- receiveAccounts: AugmentedSubmittable<(accounts: Vec<PalletRcMigratorAccountsAccount> | (PalletRcMigratorAccountsAccount | {
39
- who?: any;
40
- free?: any;
41
- reserved?: any;
42
- frozen?: any;
43
- holds?: any;
44
- freezes?: any;
45
- locks?: any;
46
- unnamedReserve?: any;
47
- consumers?: any;
48
- providers?: any;
49
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorAccountsAccount>]>;
50
- receiveAssetRates: AugmentedSubmittable<(rates: Vec<ITuple<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>> | ([PolkadotRuntimeCommonImplsVersionedLocatableAsset | {
51
- V3: any;
52
- } | {
53
- V4: any;
54
- } | {
55
- V5: any;
56
- } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>>]>;
57
- receiveBagsListMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorStakingBagsListPortableBagsListMessage> | (PalletRcMigratorStakingBagsListPortableBagsListMessage | {
58
- Node: any;
59
- } | {
60
- Bag: any;
61
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorStakingBagsListPortableBagsListMessage>]>;
62
- receiveBountiesMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorBountiesRcBountiesMessage> | (PalletRcMigratorBountiesRcBountiesMessage | {
63
- BountyCount: any;
64
- } | {
65
- BountyApprovals: any;
66
- } | {
67
- BountyDescriptions: any;
68
- } | {
69
- Bounties: any;
70
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorBountiesRcBountiesMessage>]>;
71
- receiveChildBountiesMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorChildBountiesPortableChildBountiesMessage> | (PalletRcMigratorChildBountiesPortableChildBountiesMessage | {
72
- ChildBountyCount: any;
73
- } | {
74
- ParentChildBounties: any;
75
- } | {
76
- ParentTotalChildBounties: any;
77
- } | {
78
- ChildBounty: any;
79
- } | {
80
- ChildBountyDescriptionsV1: any;
81
- } | {
82
- V0ToV1ChildBountyIds: any;
83
- } | {
84
- ChildrenCuratorFees: any;
85
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorChildBountiesPortableChildBountiesMessage>]>;
86
- receiveClaims: AugmentedSubmittable<(messages: Vec<PalletRcMigratorClaimsRcClaimsMessage> | (PalletRcMigratorClaimsRcClaimsMessage | {
87
- StorageValues: any;
88
- } | {
89
- Claims: any;
90
- } | {
91
- Vesting: any;
92
- } | {
93
- Signing: any;
94
- } | {
95
- Preclaims: any;
96
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorClaimsRcClaimsMessage>]>;
97
- receiveConvictionVotingMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorConvictionVotingRcConvictionVotingMessage> | (PalletRcMigratorConvictionVotingRcConvictionVotingMessage | {
98
- VotingFor: any;
99
- } | {
100
- ClassLocksFor: any;
101
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorConvictionVotingRcConvictionVotingMessage>]>;
102
- receiveCrowdloanMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorCrowdloanRcCrowdloanMessage> | (PalletRcMigratorCrowdloanRcCrowdloanMessage | {
103
- LeaseReserve: any;
104
- } | {
105
- CrowdloanContribution: any;
106
- } | {
107
- CrowdloanReserve: any;
108
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorCrowdloanRcCrowdloanMessage>]>;
109
- receiveDelegatedStakingMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage> | (PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage | {
110
- Delegators: any;
111
- } | {
112
- Agents: any;
113
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage>]>;
114
- receiveIndices: AugmentedSubmittable<(indices: Vec<PalletRcMigratorIndicesRcIndicesIndex> | (PalletRcMigratorIndicesRcIndicesIndex | {
115
- index?: any;
116
- who?: any;
117
- deposit?: any;
118
- frozen?: any;
119
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorIndicesRcIndicesIndex>]>;
120
- /**
121
- * Receive multisigs from the Relay Chain.
122
- *
123
- * This will be called from an XCM `Transact` inside a DMP from the relay chain. The
124
- * multisigs were prepared by
125
- * `pallet_rc_migrator::multisig::MultisigMigrator::migrate_many`.
126
- **/
127
- receiveMultisigs: AugmentedSubmittable<(accounts: Vec<PalletRcMigratorMultisigRcMultisig> | (PalletRcMigratorMultisigRcMultisig | {
128
- creator?: any;
129
- deposit?: any;
130
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorMultisigRcMultisig>]>;
131
- receiveNomPoolsMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage> | (PalletRcMigratorStakingNomPoolsRcNomPoolsMessage | {
132
- StorageValues: any;
133
- } | {
134
- PoolMembers: any;
135
- } | {
136
- BondedPools: any;
137
- } | {
138
- RewardPools: any;
139
- } | {
140
- SubPoolsStorage: any;
141
- } | {
142
- Metadata: any;
143
- } | {
144
- ReversePoolIdLookup: any;
145
- } | {
146
- ClaimPermissions: any;
147
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage>]>;
148
- receivePreimageChunks: AugmentedSubmittable<(chunks: Vec<PalletRcMigratorPreimageChunksRcPreimageChunk> | (PalletRcMigratorPreimageChunksRcPreimageChunk | {
149
- preimageHash?: any;
150
- preimageLen?: any;
151
- chunkByteOffset?: any;
152
- chunkBytes?: any;
153
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorPreimageChunksRcPreimageChunk>]>;
154
- receivePreimageLegacyStatus: AugmentedSubmittable<(legacyStatus: Vec<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus> | (PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus | {
155
- hash_?: any;
156
- depositor?: any;
157
- deposit?: any;
158
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus>]>;
159
- receivePreimageRequestStatus: AugmentedSubmittable<(requestStatus: Vec<PalletRcMigratorPreimageRequestStatusPortableRequestStatus> | (PalletRcMigratorPreimageRequestStatusPortableRequestStatus | {
160
- hash_?: any;
161
- requestStatus?: any;
162
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorPreimageRequestStatusPortableRequestStatus>]>;
163
- /**
164
- * Receive proxy announcements from the Relay Chain.
165
- **/
166
- receiveProxyAnnouncements: AugmentedSubmittable<(announcements: Vec<PalletRcMigratorProxyRcProxyAnnouncement> | (PalletRcMigratorProxyRcProxyAnnouncement | {
167
- depositor?: any;
168
- deposit?: any;
169
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorProxyRcProxyAnnouncement>]>;
170
- /**
171
- * Receive proxies from the Relay Chain.
172
- **/
173
- receiveProxyProxies: AugmentedSubmittable<(proxies: Vec<PalletRcMigratorProxyRcProxy> | (PalletRcMigratorProxyRcProxy | {
174
- delegator?: any;
175
- deposit?: any;
176
- proxies?: any;
177
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorProxyRcProxy>]>;
178
- receiveRecoveryMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorRecoveryPortableRecoveryMessage> | (PalletRcMigratorRecoveryPortableRecoveryMessage | {
179
- Recoverable: any;
180
- } | {
181
- ActiveRecoveries: any;
182
- } | {
183
- Proxy: any;
184
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorRecoveryPortableRecoveryMessage>]>;
185
- receiveReferendaMetadata: AugmentedSubmittable<(metadata: Vec<ITuple<[u32, H256]>> | ([u32 | AnyNumber | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[u32, H256]>>]>;
186
- /**
187
- * Receive referendum counts, deciding counts, votes for the track queue.
188
- **/
189
- receiveReferendaValues: AugmentedSubmittable<(values: Vec<PalletRcMigratorReferendaReferendaMessage> | (PalletRcMigratorReferendaReferendaMessage | {
190
- referendumCount?: any;
191
- decidingCount?: any;
192
- trackQueue?: any;
193
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorReferendaReferendaMessage>]>;
194
- /**
195
- * Receive referendums from the Relay Chain.
196
- **/
197
- receiveReferendums: AugmentedSubmittable<(referendums: Vec<ITuple<[u32, PalletReferendaReferendumInfoRcPalletsOrigin]>> | ([u32 | AnyNumber | Uint8Array, PalletReferendaReferendumInfoRcPalletsOrigin | {
198
- Ongoing: any;
199
- } | {
200
- Approved: any;
201
- } | {
202
- Rejected: any;
203
- } | {
204
- Cancelled: any;
205
- } | {
206
- TimedOut: any;
207
- } | {
208
- Killed: any;
209
- } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[u32, PalletReferendaReferendumInfoRcPalletsOrigin]>>]>;
210
- receiveSchedulerAgendaMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorSchedulerSchedulerAgendaMessage> | (PalletRcMigratorSchedulerSchedulerAgendaMessage | {
211
- block?: any;
212
- agenda?: any;
213
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorSchedulerSchedulerAgendaMessage>]>;
214
- receiveSchedulerMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorSchedulerRcSchedulerMessage> | (PalletRcMigratorSchedulerRcSchedulerMessage | {
215
- IncompleteSince: any;
216
- } | {
217
- Retries: any;
218
- } | {
219
- Lookup: any;
220
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorSchedulerRcSchedulerMessage>]>;
221
- receiveSocietyMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorSocietyPortableSocietyMessage> | (PalletRcMigratorSocietyPortableSocietyMessage | {
222
- Values: any;
223
- } | {
224
- Member: any;
225
- } | {
226
- Payout: any;
227
- } | {
228
- MemberByIndex: any;
229
- } | {
230
- SuspendedMembers: any;
231
- } | {
232
- Candidates: any;
233
- } | {
234
- Votes: any;
235
- } | {
236
- VoteClearCursor: any;
237
- } | {
238
- DefenderVotes: any;
239
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorSocietyPortableSocietyMessage>]>;
240
- receiveStakingMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorStakingMessagePortableStakingMessage> | (PalletRcMigratorStakingMessagePortableStakingMessage | {
241
- Values: any;
242
- } | {
243
- Invulnerables: any;
244
- } | {
245
- Bonded: any;
246
- } | {
247
- Ledger: any;
248
- } | {
249
- Payee: any;
250
- } | {
251
- Validators: any;
252
- } | {
253
- Nominators: any;
254
- } | {
255
- VirtualStakers: any;
256
- } | {
257
- ErasStakersOverview: any;
258
- } | {
259
- ErasStakersPaged: any;
260
- } | {
261
- ClaimedRewards: any;
262
- } | {
263
- ErasValidatorPrefs: any;
264
- } | {
265
- ErasValidatorReward: any;
266
- } | {
267
- ErasRewardPoints: any;
268
- } | {
269
- ErasTotalStake: any;
270
- } | {
271
- UnappliedSlashes: any;
272
- } | {
273
- BondedEras: any;
274
- } | {
275
- ValidatorSlashInEra: any;
276
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorStakingMessagePortableStakingMessage>]>;
277
- receiveTreasuryMessages: AugmentedSubmittable<(messages: Vec<PalletRcMigratorTreasuryPortableTreasuryMessage> | (PalletRcMigratorTreasuryPortableTreasuryMessage | {
278
- ProposalCount: any;
279
- } | {
280
- Proposals: any;
281
- } | {
282
- Approvals: any;
283
- } | {
284
- SpendCount: any;
285
- } | {
286
- Spends: any;
287
- } | {
288
- LastSpendPeriod: any;
289
- } | {
290
- Funds: any;
291
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorTreasuryPortableTreasuryMessage>]>;
292
- receiveVestingSchedules: AugmentedSubmittable<(schedules: Vec<PalletRcMigratorVestingRcVestingSchedule> | (PalletRcMigratorVestingRcVestingSchedule | {
293
- who?: any;
294
- schedules?: any;
295
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRcMigratorVestingRcVestingSchedule>]>;
296
- /**
297
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
298
- * [Config::SendXcm] router which will be able to send messages to the Relay Chain during
299
- * the migration.
300
- **/
301
- sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | {
302
- V3: any;
303
- } | {
304
- V4: any;
305
- } | {
306
- V5: any;
307
- } | string | Uint8Array, message: XcmVersionedXcm | {
308
- V3: any;
309
- } | {
310
- V4: any;
311
- } | {
312
- V5: any;
313
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
314
- /**
315
- * Set the DMP queue priority configuration.
316
- *
317
- * Can only be called by the `AdminOrigin`.
318
- **/
319
- setDmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | {
320
- Config: any;
321
- } | {
322
- OverrideConfig: any;
323
- } | {
324
- Disabled: any;
325
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
326
- /**
327
- * Set the manager account id.
328
- *
329
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
330
- * can not set the manager account id via `set_manager` call.
331
- **/
332
- setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
333
- /**
334
- * Start the data migration.
335
- *
336
- * This is typically called by the Relay Chain to start the migration on the Asset Hub and
337
- * receive a handshake message indicating the Asset Hub's readiness.
338
- **/
339
- startMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
340
- /**
341
- * Generic tx
342
- **/
343
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
344
- };
345
13
  ahOps: {
346
14
  /**
347
15
  * Transfer the balance from the pre-migration treasury account to the post-migration
@@ -353,6 +21,20 @@ declare module '@polkadot/api-base/types/submittable' {
353
21
  parents?: any;
354
22
  interior?: any;
355
23
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location]>;
24
+ /**
25
+ * Translate recursively derived parachain sovereign child account to its sibling.
26
+ *
27
+ * Uses the same derivation path on the sibling. The old and new account arguments are only
28
+ * witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
29
+ *
30
+ * This migrates:
31
+ * - Native DOT balance
32
+ * - All assets listed in `T::RelevantAssets`
33
+ * - Staked balances
34
+ *
35
+ * Things like non-relevant assets or vested transfers may remain on the old account.
36
+ **/
37
+ translateParaSovereignChildToSiblingDerived: AugmentedSubmittable<(paraId: u16 | AnyNumber | Uint8Array, derivationPath: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], oldAccount: AccountId32 | string | Uint8Array, newAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<u16>, AccountId32, AccountId32]>;
356
38
  /**
357
39
  * Unreserve the deposit that was taken for creating a crowdloan.
358
40
  *
@@ -1077,6 +759,18 @@ declare module '@polkadot/api-base/types/submittable' {
1077
759
  * Emits `AssetMinBalanceChanged` event when successful.
1078
760
  **/
1079
761
  setMinBalance: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, u128]>;
762
+ /**
763
+ * Sets the trusted reserve information of an asset.
764
+ *
765
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
766
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
767
+ *
768
+ * - `id`: The identifier of the asset.
769
+ * - `reserves`: The full list of trusted reserves information.
770
+ *
771
+ * Emits `AssetMinBalanceChanged` event when successful.
772
+ **/
773
+ setReserves: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, reserves: Vec<Null> | (Null | null)[]) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Vec<Null>]>;
1080
774
  /**
1081
775
  * Change the Issuer, Admin and Freezer of an asset.
1082
776
  *
@@ -1189,9 +883,10 @@ declare module '@polkadot/api-base/types/submittable' {
1189
883
  *
1190
884
  * A deposit will be taken from the signer account.
1191
885
  *
1192
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
1193
- * must have sufficient funds for a deposit to be taken.
1194
- * - `id`: The identifier of the asset for the account to be created.
886
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
887
+ * to be taken.
888
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
889
+ * be live.
1195
890
  * - `who`: The account to be created.
1196
891
  *
1197
892
  * Emits `Touched` event when successful.
@@ -2864,6 +2559,24 @@ declare module '@polkadot/api-base/types/submittable' {
2864
2559
  parents?: any;
2865
2560
  interior?: any;
2866
2561
  } | string | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u128]>;
2562
+ /**
2563
+ * Sets the trusted reserve information of an asset.
2564
+ *
2565
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
2566
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
2567
+ *
2568
+ * - `id`: The identifier of the asset.
2569
+ * - `reserves`: The full list of trusted reserves information.
2570
+ *
2571
+ * Emits `AssetMinBalanceChanged` event when successful.
2572
+ **/
2573
+ setReserves: AugmentedSubmittable<(id: StagingXcmV5Location | {
2574
+ parents?: any;
2575
+ interior?: any;
2576
+ } | string | Uint8Array, reserves: Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> | (AssetsCommonLocalAndForeignAssetsForeignAssetReserveData | {
2577
+ reserve?: any;
2578
+ teleportable?: any;
2579
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>]>;
2867
2580
  /**
2868
2581
  * Change the Issuer, Admin and Freezer of an asset.
2869
2582
  *
@@ -2991,9 +2704,10 @@ declare module '@polkadot/api-base/types/submittable' {
2991
2704
  *
2992
2705
  * A deposit will be taken from the signer account.
2993
2706
  *
2994
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
2995
- * must have sufficient funds for a deposit to be taken.
2996
- * - `id`: The identifier of the asset for the account to be created.
2707
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
2708
+ * to be taken.
2709
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
2710
+ * be live.
2997
2711
  * - `who`: The account to be created.
2998
2712
  *
2999
2713
  * Emits `Touched` event when successful.
@@ -3306,62 +3020,345 @@ declare module '@polkadot/api-base/types/submittable' {
3306
3020
  /**
3307
3021
  * Execute an overweight message.
3308
3022
  *
3309
- * Temporary processing errors will be propagated whereas permanent errors are treated
3310
- * as success condition.
3023
+ * Temporary processing errors will be propagated whereas permanent errors are treated
3024
+ * as success condition.
3025
+ *
3026
+ * - `origin`: Must be `Signed`.
3027
+ * - `message_origin`: The origin from which the message to be executed arrived.
3028
+ * - `page`: The page in the queue in which the message to be executed is sitting.
3029
+ * - `index`: The index into the queue of the message to be executed.
3030
+ * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
3031
+ * of the message.
3032
+ *
3033
+ * Benchmark complexity considerations: O(index + weight_limit).
3034
+ **/
3035
+ executeOverweight: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | {
3036
+ Here: any;
3037
+ } | {
3038
+ Parent: any;
3039
+ } | {
3040
+ Sibling: any;
3041
+ } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
3042
+ refTime?: any;
3043
+ proofSize?: any;
3044
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>;
3045
+ /**
3046
+ * Remove a page which has no more messages remaining to be processed or is stale.
3047
+ **/
3048
+ reapPage: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | {
3049
+ Here: any;
3050
+ } | {
3051
+ Parent: any;
3052
+ } | {
3053
+ Sibling: any;
3054
+ } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>;
3055
+ /**
3056
+ * Generic tx
3057
+ **/
3058
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3059
+ };
3060
+ multiAssetBounties: {
3061
+ /**
3062
+ * Accept the curator role for a child-/bounty.
3063
+ *
3064
+ * ## Dispatch Origin
3065
+ *
3066
+ * Must be signed by the proposed curator.
3067
+ *
3068
+ * ## Details
3069
+ *
3070
+ * - The child-/bounty must be in the `Funded` state.
3071
+ * - The curator must accept the role by calling this function.
3072
+ * - A deposit will be reserved from the curator and refunded upon successful payout.
3073
+ *
3074
+ * ### Parameters
3075
+ * - `parent_bounty_id`: Index of parent bounty.
3076
+ * - `child_bounty_id`: Index of child-bounty.
3077
+ *
3078
+ * ## Events
3079
+ *
3080
+ * Emits [`Event::BountyBecameActive`] if successful.
3081
+ **/
3082
+ acceptCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>]>;
3083
+ /**
3084
+ * Awards the child-/bounty to a beneficiary account/location,
3085
+ * initiating the payout payments to both the beneficiary and the curator.
3086
+ *
3087
+ * ## Dispatch Origin
3088
+ *
3089
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
3090
+ *
3091
+ * ## Details
3092
+ *
3093
+ * - The child-/bounty must be in the `Active` state.
3094
+ * - if awarding a parent bounty it must not have active or funded child bounties.
3095
+ * - Initiates payout payment from the child-/bounty to the beneficiary account/location.
3096
+ * - If successful the child-/bounty status is updated to `PayoutAttempted`.
3097
+ * - In case of a payout failure, the child-/bounty status must be updated with
3098
+ * `check_status` call before retrying with `retry_payment` call.
3099
+ *
3100
+ * ### Parameters
3101
+ * - `parent_bounty_id`: Index of parent bounty.
3102
+ * - `child_bounty_id`: Index of child-bounty.
3103
+ * - `beneficiary`: Account/location to be awarded the child-/bounty.
3104
+ *
3105
+ * ## Events
3106
+ *
3107
+ * Emits [`Event::BountyAwarded`] and [`Event::Paid`] if successful.
3108
+ **/
3109
+ awardBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Option<u32> | null | Uint8Array | u32 | AnyNumber, beneficiary: ParachainsCommonPayVersionedLocatableAccount | {
3110
+ V4: any;
3111
+ } | {
3112
+ V5: any;
3113
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, ParachainsCommonPayVersionedLocatableAccount]>;
3114
+ /**
3115
+ * Check and update the payment status of a child-/bounty.
3116
+ *
3117
+ * ## Dispatch Origin
3118
+ *
3119
+ * Must be signed.
3120
+ *
3121
+ * ## Details
3122
+ *
3123
+ * - If the child-/bounty status is `FundingAttempted`, it checks if the funding payment
3124
+ * has succeeded. If successful, the bounty status becomes `Funded`.
3125
+ * - If the child-/bounty status is `RefundAttempted`, it checks if the refund payment has
3126
+ * succeeded. If successful, the child-/bounty is removed from storage.
3127
+ * - If the child-/bounty status is `PayoutAttempted`, it checks if the payout payment has
3128
+ * succeeded. If successful, the child-/bounty is removed from storage.
3129
+ *
3130
+ * ### Parameters
3131
+ * - `parent_bounty_id`: Index of parent bounty.
3132
+ * - `child_bounty_id`: Index of child-bounty.
3133
+ *
3134
+ * ## Events
3135
+ *
3136
+ * Emits [`Event::BountyBecameActive`] if the child/bounty status transitions to `Active`.
3137
+ * Emits [`Event::BountyRefundProcessed`] if the refund payment has succeed.
3138
+ * Emits [`Event::BountyPayoutProcessed`] if the payout payment has succeed.
3139
+ * Emits [`Event::PaymentFailed`] if the funding, refund our payment payment has failed.
3140
+ **/
3141
+ checkStatus: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>]>;
3142
+ /**
3143
+ * Cancel an active child-/bounty. A payment to send all the funds to the funding source is
3144
+ * initialized.
3145
+ *
3146
+ * ## Dispatch Origin
3147
+ *
3148
+ * This function can only be called by the `RejectOrigin` or the parent bounty curator.
3149
+ *
3150
+ * ## Details
3151
+ *
3152
+ * - If the child-/bounty is in the `Funded` state, a refund payment is initiated.
3153
+ * - If the child-/bounty is in the `Active` state, a refund payment is initiated and the
3154
+ * child-/bounty status is updated with the curator account/location.
3155
+ * - If the child-/bounty is in the funding or payout phase, it cannot be canceled.
3156
+ * - In case of a refund failure, the child-/bounty status must be updated with the
3157
+ * `check_status` call before retrying with `retry_payment` call.
3158
+ *
3159
+ * ### Parameters
3160
+ * - `parent_bounty_id`: Index of parent bounty.
3161
+ * - `child_bounty_id`: Index of child-bounty.
3162
+ *
3163
+ * ## Events
3164
+ *
3165
+ * Emits [`Event::BountyCanceled`] and [`Event::Paid`] if successful.
3166
+ **/
3167
+ closeBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>]>;
3168
+ /**
3169
+ * Fund a new bounty with a proposed curator, initiating the payment from the
3170
+ * funding source to the bounty account/location.
3171
+ *
3172
+ * ## Dispatch Origin
3173
+ *
3174
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least
3175
+ * the bounty value converted to native balance using [`Config::BalanceConverter`].
3176
+ * The converted native amount is validated against the maximum spendable amount
3177
+ * returned by [`Config::SpendOrigin`].
3178
+ *
3179
+ * ## Details
3180
+ *
3181
+ * - The `SpendOrigin` must have sufficient permissions to fund the bounty.
3182
+ * - The bounty `value` (in asset balance) is converted to native balance for validation.
3183
+ * - In case of a funding failure, the bounty status must be updated with the
3184
+ * `check_status` call before retrying with `retry_payment` call.
3185
+ *
3186
+ * ### Parameters
3187
+ * - `asset_kind`: An indicator of the specific asset class to be funded.
3188
+ * - `value`: The total payment amount of this bounty.
3189
+ * - `curator`: Address of bounty curator.
3190
+ * - `metadata`: The hash of an on-chain stored preimage with bounty metadata.
3191
+ *
3192
+ * ## Events
3193
+ *
3194
+ * Emits [`Event::BountyCreated`] and [`Event::Paid`] if successful.
3195
+ **/
3196
+ fundBounty: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | {
3197
+ V3: any;
3198
+ } | {
3199
+ V4: any;
3200
+ } | {
3201
+ V5: any;
3202
+ } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, curator: MultiAddress | {
3203
+ Id: any;
3204
+ } | {
3205
+ Index: any;
3206
+ } | {
3207
+ Raw: any;
3208
+ } | {
3209
+ Address32: any;
3210
+ } | {
3211
+ Address20: any;
3212
+ } | string | Uint8Array, metadata: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, Compact<u128>, MultiAddress, H256]>;
3213
+ /**
3214
+ * Fund a new child-bounty with a proposed curator, initiating the payment from the parent
3215
+ * bounty to the child-bounty account/location.
3216
+ *
3217
+ * ## Dispatch Origin
3218
+ *
3219
+ * Must be signed by the parent curator.
3220
+ *
3221
+ * ## Details
3222
+ *
3223
+ * - If `curator` is not provided, the child-bounty will default to using the parent
3224
+ * curator, allowing the parent curator to immediately call `check_status` and
3225
+ * `award_bounty` to payout the child-bounty.
3226
+ * - In case of a funding failure, the child-/bounty status must be updated with the
3227
+ * `check_status` call before retrying with `retry_payment` call.
3228
+ *
3229
+ * ### Parameters
3230
+ * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
3231
+ * - `value`: The payment amount of this child-bounty.
3232
+ * - `metadata`: The hash of an on-chain stored preimage with child-bounty metadata.
3233
+ * - `curator`: Address of child-bounty curator.
3234
+ *
3235
+ * ## Events
3236
+ *
3237
+ * Emits [`Event::ChildBountyCreated`] and [`Event::Paid`] if successful.
3238
+ **/
3239
+ fundChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, metadata: H256 | string | Uint8Array, curator: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
3240
+ Id: any;
3241
+ } | {
3242
+ Index: any;
3243
+ } | {
3244
+ Raw: any;
3245
+ } | {
3246
+ Address32: any;
3247
+ } | {
3248
+ Address20: any;
3249
+ } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, H256, Option<MultiAddress>]>;
3250
+ /**
3251
+ * Propose a new curator for a child-/bounty after the previous was unassigned.
3252
+ *
3253
+ * ## Dispatch Origin
3254
+ *
3255
+ * Must be signed by `T::SpendOrigin` for a bounty, or by the parent bounty curator
3256
+ * for a child-bounty.
3257
+ *
3258
+ * ## Details
3259
+ *
3260
+ * - The child-/bounty must be in the `CuratorUnassigned` state.
3261
+ * - For a bounty, the `SpendOrigin` must have sufficient permissions to propose the
3262
+ * curator.
3263
+ *
3264
+ * ### Parameters
3265
+ * - `parent_bounty_id`: Index of bounty.
3266
+ * - `child_bounty_id`: Index of child-bounty.
3267
+ * - `curator`: Account to be proposed as the curator.
3268
+ *
3269
+ * ## Events
3270
+ *
3271
+ * Emits [`Event::CuratorProposed`] if successful.
3272
+ **/
3273
+ proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Option<u32> | null | Uint8Array | u32 | AnyNumber, curator: MultiAddress | {
3274
+ Id: any;
3275
+ } | {
3276
+ Index: any;
3277
+ } | {
3278
+ Raw: any;
3279
+ } | {
3280
+ Address32: any;
3281
+ } | {
3282
+ Address20: any;
3283
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, MultiAddress]>;
3284
+ /**
3285
+ * Retry the funding, refund or payout payments.
3286
+ *
3287
+ * ## Dispatch Origin
3288
+ *
3289
+ * Must be signed.
3290
+ *
3291
+ * ## Details
3292
+ *
3293
+ * - If the child-/bounty status is `FundingAttempted`, it retries the funding payment from
3294
+ * funding source the child-/bounty account/location.
3295
+ * - If the child-/bounty status is `RefundAttempted`, it retries the refund payment from
3296
+ * the child-/bounty account/location to the funding source.
3297
+ * - If the child-/bounty status is `PayoutAttempted`, it retries the payout payment from
3298
+ * the child-/bounty account/location to the beneficiary account/location.
3299
+ *
3300
+ * ### Parameters
3301
+ * - `parent_bounty_id`: Index of parent bounty.
3302
+ * - `child_bounty_id`: Index of child-bounty.
3311
3303
  *
3312
- * - `origin`: Must be `Signed`.
3313
- * - `message_origin`: The origin from which the message to be executed arrived.
3314
- * - `page`: The page in the queue in which the message to be executed is sitting.
3315
- * - `index`: The index into the queue of the message to be executed.
3316
- * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
3317
- * of the message.
3304
+ * ## Events
3318
3305
  *
3319
- * Benchmark complexity considerations: O(index + weight_limit).
3306
+ * Emits [`Event::Paid`] if the funding, refund or payout payment has initiated.
3320
3307
  **/
3321
- executeOverweight: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | {
3322
- Here: any;
3323
- } | {
3324
- Parent: any;
3325
- } | {
3326
- Sibling: any;
3327
- } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
3328
- refTime?: any;
3329
- proofSize?: any;
3330
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>;
3308
+ retryPayment: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>]>;
3331
3309
  /**
3332
- * Remove a page which has no more messages remaining to be processed or is stale.
3310
+ * Unassign curator from a child-/bounty.
3311
+ *
3312
+ * ## Dispatch Origin
3313
+ *
3314
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
3315
+ *
3316
+ * ## Details
3317
+ *
3318
+ * - If this function is called by the `RejectOrigin`, or by the parent curator in the case
3319
+ * of a child bounty, we assume that the curator is malicious or inactive. As a result,
3320
+ * we will slash the curator when possible.
3321
+ * - If the origin is the child-/bounty curator, we take this as a sign they are unable to
3322
+ * do their job and they willingly give up. We could slash them, but for now we allow
3323
+ * them to recover their deposit and exit without issue. (We may want to change this if
3324
+ * it is abused).
3325
+ * - If successful, the child-/bounty status is updated to `CuratorUnassigned`. To
3326
+ * reactivate the bounty, a new curator must be proposed and must accept the role.
3327
+ *
3328
+ * ### Parameters
3329
+ * - `parent_bounty_id`: Index of parent bounty.
3330
+ * - `child_bounty_id`: Index of child-bounty.
3331
+ *
3332
+ * ## Events
3333
+ *
3334
+ * Emits [`Event::CuratorUnassigned`] if successful.
3333
3335
  **/
3334
- reapPage: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | {
3335
- Here: any;
3336
- } | {
3337
- Parent: any;
3338
- } | {
3339
- Sibling: any;
3340
- } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>;
3336
+ unassignCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>]>;
3341
3337
  /**
3342
3338
  * Generic tx
3343
3339
  **/
3344
3340
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
3345
3341
  };
3346
3342
  multiBlockElection: {
3343
+ admin: AugmentedSubmittable<(op: PalletElectionProviderMultiBlockAdminOperation | {
3344
+ EmergencySetSolution: any;
3345
+ } | {
3346
+ SetMinUntrustedScore: any;
3347
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionProviderMultiBlockAdminOperation]>;
3347
3348
  /**
3348
3349
  * Manage this pallet.
3349
3350
  *
3350
- * The origin of this call must be [`Config::AdminOrigin`].
3351
+ * The origin of this call must be [`Config::ManagerOrigin`].
3351
3352
  *
3352
- * See [`AdminOperation`] for various operations that are possible.
3353
+ * See [`ManagerOperation`] for various operations that are possible.
3353
3354
  **/
3354
- manage: AugmentedSubmittable<(op: PalletElectionProviderMultiBlockAdminOperation | {
3355
+ manage: AugmentedSubmittable<(op: PalletElectionProviderMultiBlockManagerOperation | {
3355
3356
  ForceRotateRound: any;
3356
3357
  } | {
3357
3358
  ForceSetPhase: any;
3358
- } | {
3359
- EmergencySetSolution: any;
3360
3359
  } | {
3361
3360
  EmergencyFallback: any;
3362
- } | {
3363
- SetMinUntrustedScore: any;
3364
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionProviderMultiBlockAdminOperation]>;
3361
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionProviderMultiBlockManagerOperation]>;
3365
3362
  /**
3366
3363
  * Generic tx
3367
3364
  **/
@@ -3371,7 +3368,7 @@ declare module '@polkadot/api-base/types/submittable' {
3371
3368
  /**
3372
3369
  * Retract a submission.
3373
3370
  *
3374
- * A portion of the deposit may be returned, based on the [`Config::BailoutGraceRatio`].
3371
+ * A portion of the deposit may be returned, based on the [`Config::EjectGraceRatio`].
3375
3372
  *
3376
3373
  * This will fully remove the solution from storage.
3377
3374
  **/
@@ -3525,6 +3522,13 @@ declare module '@polkadot/api-base/types/submittable' {
3525
3522
  * Register approval for a dispatch to be made from a deterministic composite account if
3526
3523
  * approved by a total of `threshold - 1` of `other_signatories`.
3527
3524
  *
3525
+ * **This function will NEVER execute the call, even if the approval threshold is
3526
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
3527
+ * be called with the full call data by any of the signatories.
3528
+ *
3529
+ * This function is more efficient than `as_multi` for intermediate approvals since it
3530
+ * only requires the call hash, not the full call data.
3531
+ *
3528
3532
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
3529
3533
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
3530
3534
  * is cancelled.
@@ -3539,7 +3543,8 @@ declare module '@polkadot/api-base/types/submittable' {
3539
3543
  * transaction index) of the first approval transaction.
3540
3544
  * - `call_hash`: The hash of the call to be executed.
3541
3545
  *
3542
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
3546
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
3547
+ * `as_multi` with the full call data. This function cannot execute the call.
3543
3548
  *
3544
3549
  * ## Complexity
3545
3550
  * - `O(S)`.
@@ -3564,7 +3569,9 @@ declare module '@polkadot/api-base/types/submittable' {
3564
3569
  * Register approval for a dispatch to be made from a deterministic composite account if
3565
3570
  * approved by a total of `threshold - 1` of `other_signatories`.
3566
3571
  *
3567
- * If there are enough, then dispatch the call.
3572
+ * **If the approval threshold is met (including the sender's approval), this will
3573
+ * immediately execute the call.** This is the only way to execute a multisig call -
3574
+ * `approve_as_multi` will never trigger execution.
3568
3575
  *
3569
3576
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
3570
3577
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -3580,8 +3587,9 @@ declare module '@polkadot/api-base/types/submittable' {
3580
3587
  * transaction index) of the first approval transaction.
3581
3588
  * - `call`: The call to be executed.
3582
3589
  *
3583
- * NOTE: Unless this is the final approval, you will generally want to use
3584
- * `approve_as_multi` instead, since it only requires a hash of the call.
3590
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
3591
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
3592
+ * efficient.
3585
3593
  *
3586
3594
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
3587
3595
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -4282,6 +4290,8 @@ declare module '@polkadot/api-base/types/submittable' {
4282
4290
  Sr25519: any;
4283
4291
  } | {
4284
4292
  Ecdsa: any;
4293
+ } | {
4294
+ Eth: any;
4285
4295
  } | string | Uint8Array, signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedMint, SpRuntimeMultiSignature, AccountId32]>;
4286
4296
  /**
4287
4297
  * Allows to pay the tips.
@@ -4391,6 +4401,8 @@ declare module '@polkadot/api-base/types/submittable' {
4391
4401
  Sr25519: any;
4392
4402
  } | {
4393
4403
  Ecdsa: any;
4404
+ } | {
4405
+ Eth: any;
4394
4406
  } | string | Uint8Array, signer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedAttributes, SpRuntimeMultiSignature, AccountId32]>;
4395
4407
  /**
4396
4408
  * Set the maximum number of items a collection could have.
@@ -5444,6 +5456,8 @@ declare module '@polkadot/api-base/types/submittable' {
5444
5456
  * fee on the `dest` (and possibly reserve) chains.
5445
5457
  * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
5446
5458
  * fees.
5459
+ *
5460
+ * @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
5447
5461
  **/
5448
5462
  reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
5449
5463
  V3: any;
@@ -5496,6 +5510,8 @@ declare module '@polkadot/api-base/types/submittable' {
5496
5510
  * fee on the `dest` chain.
5497
5511
  * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
5498
5512
  * fees.
5513
+ *
5514
+ * @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
5499
5515
  **/
5500
5516
  teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
5501
5517
  V3: any;
@@ -6218,6 +6234,18 @@ declare module '@polkadot/api-base/types/submittable' {
6218
6234
  * Emits `AssetMinBalanceChanged` event when successful.
6219
6235
  **/
6220
6236
  setMinBalance: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
6237
+ /**
6238
+ * Sets the trusted reserve information of an asset.
6239
+ *
6240
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
6241
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
6242
+ *
6243
+ * - `id`: The identifier of the asset.
6244
+ * - `reserves`: The full list of trusted reserves information.
6245
+ *
6246
+ * Emits `AssetMinBalanceChanged` event when successful.
6247
+ **/
6248
+ setReserves: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, reserves: Vec<Null> | (Null | null)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Null>]>;
6221
6249
  /**
6222
6250
  * Change the Issuer, Admin and Freezer of an asset.
6223
6251
  *
@@ -6330,9 +6358,10 @@ declare module '@polkadot/api-base/types/submittable' {
6330
6358
  *
6331
6359
  * A deposit will be taken from the signer account.
6332
6360
  *
6333
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
6334
- * must have sufficient funds for a deposit to be taken.
6335
- * - `id`: The identifier of the asset for the account to be created.
6361
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
6362
+ * to be taken.
6363
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
6364
+ * be live.
6336
6365
  * - `who`: The account to be created.
6337
6366
  *
6338
6367
  * Emits `Touched` event when successful.
@@ -6571,7 +6600,7 @@ declare module '@polkadot/api-base/types/submittable' {
6571
6600
  Address32: any;
6572
6601
  } | {
6573
6602
  Address20: any;
6574
- } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, u32]>;
6603
+ } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, u32]>;
6575
6604
  /**
6576
6605
  * Publish the hash of a proxy-call that will be made in the future.
6577
6606
  *
@@ -6620,7 +6649,7 @@ declare module '@polkadot/api-base/types/submittable' {
6620
6649
  *
6621
6650
  * Fails if there are insufficient funds to pay for deposit.
6622
6651
  **/
6623
- createPure: AugmentedSubmittable<(proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubKusamaRuntimeProxyType, u32, u16]>;
6652
+ createPure: AugmentedSubmittable<(proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubKusamaRuntimeProxyType, u32, u16]>;
6624
6653
  /**
6625
6654
  * Removes a previously spawned pure proxy.
6626
6655
  *
@@ -6649,7 +6678,7 @@ declare module '@polkadot/api-base/types/submittable' {
6649
6678
  Address32: any;
6650
6679
  } | {
6651
6680
  Address20: any;
6652
- } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
6681
+ } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
6653
6682
  /**
6654
6683
  * Poke / Adjust deposits made for proxies and announcements based on current values.
6655
6684
  * This can be used by accounts to possibly lower their locked amount.
@@ -6682,7 +6711,7 @@ declare module '@polkadot/api-base/types/submittable' {
6682
6711
  Address32: any;
6683
6712
  } | {
6684
6713
  Address20: any;
6685
- } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<AssetHubKusamaRuntimeProxyType>, Call]>;
6714
+ } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<AssetHubKusamaRuntimeProxyType>, Call]>;
6686
6715
  /**
6687
6716
  * Dispatch the given `call` from an account that the sender is authorized for through
6688
6717
  * `add_proxy`.
@@ -6716,7 +6745,7 @@ declare module '@polkadot/api-base/types/submittable' {
6716
6745
  Address32: any;
6717
6746
  } | {
6718
6747
  Address20: any;
6719
- } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<AssetHubKusamaRuntimeProxyType>, Call]>;
6748
+ } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<AssetHubKusamaRuntimeProxyType>, Call]>;
6720
6749
  /**
6721
6750
  * Remove the given announcement of a delegate.
6722
6751
  *
@@ -6791,7 +6820,7 @@ declare module '@polkadot/api-base/types/submittable' {
6791
6820
  Address32: any;
6792
6821
  } | {
6793
6822
  Address20: any;
6794
- } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, u32]>;
6823
+ } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, u32]>;
6795
6824
  /**
6796
6825
  * Generic tx
6797
6826
  **/
@@ -6799,36 +6828,13 @@ declare module '@polkadot/api-base/types/submittable' {
6799
6828
  };
6800
6829
  recovery: {
6801
6830
  /**
6802
- * Send a call through a recovered account.
6803
- *
6804
- * The dispatch origin for this call must be _Signed_ and registered to
6805
- * be able to make calls on behalf of the recovered account.
6806
- *
6807
- * Parameters:
6808
- * - `account`: The recovered account you want to make a call on-behalf-of.
6809
- * - `call`: The call you want to make with the recovered account.
6810
- **/
6811
- asRecovered: AugmentedSubmittable<(account: MultiAddress | {
6812
- Id: any;
6813
- } | {
6814
- Index: any;
6815
- } | {
6816
- Raw: any;
6817
- } | {
6818
- Address32: any;
6819
- } | {
6820
- Address20: any;
6821
- } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
6822
- /**
6823
- * Cancel the ability to use `as_recovered` for `account`.
6831
+ * Approve the recovery for a lost account.
6824
6832
  *
6825
- * The dispatch origin for this call must be _Signed_ and registered to
6826
- * be able to make calls on behalf of the recovered account.
6827
- *
6828
- * Parameters:
6829
- * - `account`: The recovered account you are able to call on-behalf-of.
6833
+ * Must be called by a friend of the friend group that the recovery attempt belongs to that
6834
+ * did not yet vote. Voting is only allowed until the threshold is reached.
6835
+ * `finish_attempt` should be called after the last friend voted.
6830
6836
  **/
6831
- cancelRecovered: AugmentedSubmittable<(account: MultiAddress | {
6837
+ approveAttempt: AugmentedSubmittable<(lost: MultiAddress | {
6832
6838
  Id: any;
6833
6839
  } | {
6834
6840
  Index: any;
@@ -6838,19 +6844,15 @@ declare module '@polkadot/api-base/types/submittable' {
6838
6844
  Address32: any;
6839
6845
  } | {
6840
6846
  Address20: any;
6841
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
6847
+ } | string | Uint8Array, friendGroupIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
6842
6848
  /**
6843
- * Allow a successful rescuer to claim their recovered account.
6844
- *
6845
- * The dispatch origin for this call must be _Signed_ and must be a "rescuer"
6846
- * who has successfully completed the account recovery process: collected
6847
- * `threshold` or more vouches, waited `delay_period` blocks since initiation.
6849
+ * The lost account can cancel an attempt at any moment; the initiator, only after a delay.
6848
6850
  *
6849
- * Parameters:
6850
- * - `account`: The lost account that you want to claim has been successfully recovered by
6851
- * you.
6851
+ * This will release the security deposit back to the initiator. The cancel delay must be
6852
+ * respected if the initiator calls it to prevent it from front-running the lost account
6853
+ * from slashing the attempt.
6852
6854
  **/
6853
- claimRecovery: AugmentedSubmittable<(account: MultiAddress | {
6855
+ cancelAttempt: AugmentedSubmittable<(lost: MultiAddress | {
6854
6856
  Id: any;
6855
6857
  } | {
6856
6858
  Index: any;
@@ -6860,21 +6862,15 @@ declare module '@polkadot/api-base/types/submittable' {
6860
6862
  Address32: any;
6861
6863
  } | {
6862
6864
  Address20: any;
6863
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
6865
+ } | string | Uint8Array, friendGroupIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
6864
6866
  /**
6865
- * As the controller of a recoverable account, close an active recovery
6866
- * process for your account.
6867
+ * Allows the inheritor of a recovered account to control it.
6867
6868
  *
6868
- * Payment: By calling this function, the recoverable account will receive
6869
- * the recovery deposit `RecoveryDeposit` placed by the rescuer.
6870
- *
6871
- * The dispatch origin for this call must be _Signed_ and must be a
6872
- * recoverable account with an active recovery process for it.
6873
- *
6874
- * Parameters:
6875
- * - `rescuer`: The account trying to rescue this recoverable account.
6869
+ * The controller is not allowed to dispatch calls of the recovery pallet. Otherwise they
6870
+ * could mess with the recovery configuration and possibly cancel or slash attempts from
6871
+ * higher-priority friend groups.
6876
6872
  **/
6877
- closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | {
6873
+ controlInheritedAccount: AugmentedSubmittable<(recovered: MultiAddress | {
6878
6874
  Id: any;
6879
6875
  } | {
6880
6876
  Index: any;
@@ -6884,40 +6880,13 @@ declare module '@polkadot/api-base/types/submittable' {
6884
6880
  Address32: any;
6885
6881
  } | {
6886
6882
  Address20: any;
6887
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
6888
- /**
6889
- * Create a recovery configuration for your account. This makes your account recoverable.
6890
- *
6891
- * Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance
6892
- * will be reserved for storing the recovery configuration. This deposit is returned
6893
- * in full when the user calls `remove_recovery`.
6894
- *
6895
- * The dispatch origin for this call must be _Signed_.
6896
- *
6897
- * Parameters:
6898
- * - `friends`: A list of friends you trust to vouch for recovery attempts. Should be
6899
- * ordered and contain no duplicate values.
6900
- * - `threshold`: The number of friends that must vouch for a recovery attempt before the
6901
- * account can be recovered. Should be less than or equal to the length of the list of
6902
- * friends.
6903
- * - `delay_period`: The number of blocks after a recovery attempt is initialized that
6904
- * needs to pass before the account can be recovered.
6905
- **/
6906
- createRecovery: AugmentedSubmittable<(friends: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], threshold: u16 | AnyNumber | Uint8Array, delayPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, u16, u32]>;
6883
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
6907
6884
  /**
6908
- * Initiate the process for recovering a recoverable account.
6885
+ * Finish a recovery attempt and make the lost account accessible from the inheritor.
6909
6886
  *
6910
- * Payment: `RecoveryDeposit` balance will be reserved for initiating the
6911
- * recovery process. This deposit will always be repatriated to the account
6912
- * trying to be recovered. See `close_recovery`.
6913
- *
6914
- * The dispatch origin for this call must be _Signed_.
6915
- *
6916
- * Parameters:
6917
- * - `account`: The lost account that you want to recover. This account needs to be
6918
- * recoverable (i.e. have a recovery configuration).
6887
+ * Can be called by anyone who is willing to pay for the inheritor deposit.
6919
6888
  **/
6920
- initiateRecovery: AugmentedSubmittable<(account: MultiAddress | {
6889
+ finishAttempt: AugmentedSubmittable<(lost: MultiAddress | {
6921
6890
  Id: any;
6922
6891
  } | {
6923
6892
  Index: any;
@@ -6927,33 +6896,19 @@ declare module '@polkadot/api-base/types/submittable' {
6927
6896
  Address32: any;
6928
6897
  } | {
6929
6898
  Address20: any;
6930
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
6899
+ } | string | Uint8Array, friendGroupIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
6931
6900
  /**
6932
- * Poke deposits for recovery configurations and / or active recoveries.
6933
- *
6934
- * This can be used by accounts to possibly lower their locked amount.
6935
- *
6936
- * The dispatch origin for this call must be _Signed_.
6937
- *
6938
- * Parameters:
6939
- * - `maybe_account`: Optional recoverable account for which you have an active recovery
6940
- * and want to adjust the deposit for the active recovery.
6941
- *
6942
- * This function checks both recovery configuration deposit and active recovery deposits
6943
- * of the caller:
6944
- * - If the caller has created a recovery configuration, checks and adjusts its deposit
6945
- * - If the caller has initiated any active recoveries, and provides the account in
6946
- * `maybe_account`, checks and adjusts those deposits
6901
+ * Attempt to recover a lost account by a friend within the given friend group.
6947
6902
  *
6948
- * If any deposit is updated, the difference will be reserved/unreserved from the caller's
6949
- * account.
6950
- *
6951
- * The transaction is made free if any deposit is updated and paid otherwise.
6903
+ * The initiator's approval is recorded automatically, so they do not need to call
6904
+ * `approve_attempt` themselves.
6952
6905
  *
6953
- * Emits `DepositPoked` if any deposit is updated.
6954
- * Multiple events may be emitted in case both types of deposits are updated.
6906
+ * Once an account has been recovered by a friend group, no friend group of equal or lower
6907
+ * priority can open a new attempt: it will fail with [`Error::HigherPriorityRecovered`].
6908
+ * Only a strictly higher-priority group (lower numerical
6909
+ * [`FriendGroup::inheritance_priority`]) can take over the inheritor.
6955
6910
  **/
6956
- pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
6911
+ initiateAttempt: AugmentedSubmittable<(lost: MultiAddress | {
6957
6912
  Id: any;
6958
6913
  } | {
6959
6914
  Index: any;
@@ -6963,87 +6918,36 @@ declare module '@polkadot/api-base/types/submittable' {
6963
6918
  Address32: any;
6964
6919
  } | {
6965
6920
  Address20: any;
6966
- } | string) => SubmittableExtrinsic<ApiType>, [Option<MultiAddress>]>;
6921
+ } | string | Uint8Array, friendGroupIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
6967
6922
  /**
6968
- * Remove the recovery process for your account. Recovered accounts are still accessible.
6969
- *
6970
- * NOTE: The user must make sure to call `close_recovery` on all active
6971
- * recovery attempts before calling this function else it will fail.
6972
- *
6973
- * Payment: By calling this function the recoverable account will unreserve
6974
- * their recovery configuration deposit.
6975
- * (`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)
6923
+ * Revoke the inheritor of the calling (lost) account.
6976
6924
  *
6977
- * The dispatch origin for this call must be _Signed_ and must be a
6978
- * recoverable account (i.e. has a recovery configuration).
6925
+ * This removes the inheritor entry and refunds the inheritor deposit. Can only be called
6926
+ * by the lost account itself after it regains access.
6979
6927
  **/
6980
- removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
6928
+ revokeInheritor: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
6981
6929
  /**
6982
- * Allow ROOT to bypass the recovery process and set a rescuer account
6983
- * for a lost account directly.
6930
+ * Set the friend groups of the calling account before it lost access.
6984
6931
  *
6985
- * The dispatch origin for this call must be _ROOT_.
6932
+ * Cannot be used while there are ongoing recovery attempts. The friends of each group
6933
+ * MUST be sorted and unique. Trying to insert two friend groups with the same set of
6934
+ * friends will result in an error.
6986
6935
  *
6987
- * Parameters:
6988
- * - `lost`: The "lost account" to be recovered.
6989
- * - `rescuer`: The "rescuer account" which can call as the lost account.
6936
+ * A `FriendGroupsChanged` event is emitted only when the new friends groups differed from
6937
+ * the old ones.
6990
6938
  **/
6991
- setRecovered: AugmentedSubmittable<(lost: MultiAddress | {
6992
- Id: any;
6993
- } | {
6994
- Index: any;
6995
- } | {
6996
- Raw: any;
6997
- } | {
6998
- Address32: any;
6999
- } | {
7000
- Address20: any;
7001
- } | string | Uint8Array, rescuer: MultiAddress | {
7002
- Id: any;
7003
- } | {
7004
- Index: any;
7005
- } | {
7006
- Raw: any;
7007
- } | {
7008
- Address32: any;
7009
- } | {
7010
- Address20: any;
7011
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
6939
+ setFriendGroups: AugmentedSubmittable<(friendGroups: Vec<PalletRecoveryFriendGroup> | (PalletRecoveryFriendGroup | {
6940
+ friends?: any;
6941
+ friendsNeeded?: any;
6942
+ inheritor?: any;
6943
+ inheritanceDelay?: any;
6944
+ inheritancePriority?: any;
6945
+ cancelDelay?: any;
6946
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletRecoveryFriendGroup>]>;
7012
6947
  /**
7013
- * Allow a "friend" of a recoverable account to vouch for an active recovery
7014
- * process for that account.
7015
- *
7016
- * The dispatch origin for this call must be _Signed_ and must be a "friend"
7017
- * for the recoverable account.
7018
- *
7019
- * Parameters:
7020
- * - `lost`: The lost account that you want to recover.
7021
- * - `rescuer`: The account trying to rescue the lost account that you want to vouch for.
7022
- *
7023
- * The combination of these two parameters must point to an active recovery
7024
- * process.
6948
+ * Slash a malicious recovery attempt and burn the security deposit of the initiator.
7025
6949
  **/
7026
- vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | {
7027
- Id: any;
7028
- } | {
7029
- Index: any;
7030
- } | {
7031
- Raw: any;
7032
- } | {
7033
- Address32: any;
7034
- } | {
7035
- Address20: any;
7036
- } | string | Uint8Array, rescuer: MultiAddress | {
7037
- Id: any;
7038
- } | {
7039
- Index: any;
7040
- } | {
7041
- Raw: any;
7042
- } | {
7043
- Address32: any;
7044
- } | {
7045
- Address20: any;
7046
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
6950
+ slashAttempt: AugmentedSubmittable<(friendGroupIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
7047
6951
  /**
7048
6952
  * Generic tx
7049
6953
  **/
@@ -7145,6 +7049,8 @@ declare module '@polkadot/api-base/types/submittable' {
7145
7049
  PolkadotXcm: any;
7146
7050
  } | {
7147
7051
  CumulusXcm: any;
7052
+ } | {
7053
+ Revive: any;
7148
7054
  } | {
7149
7055
  Origins: any;
7150
7056
  } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | {
@@ -7221,7 +7127,7 @@ declare module '@polkadot/api-base/types/submittable' {
7221
7127
  Address32: any;
7222
7128
  } | {
7223
7129
  Address20: any;
7224
- } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number, call: Call | IMethod | string | Uint8Array, proof: PalletRemoteProxyRemoteProxyProof | {
7130
+ } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number, call: Call | IMethod | string | Uint8Array, proof: PalletRemoteProxyRemoteProxyProof | {
7225
7131
  RelayChain: any;
7226
7132
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<AssetHubKusamaRuntimeProxyType>, Call, PalletRemoteProxyRemoteProxyProof]>;
7227
7133
  /**
@@ -7247,13 +7153,17 @@ declare module '@polkadot/api-base/types/submittable' {
7247
7153
  Address32: any;
7248
7154
  } | {
7249
7155
  Address20: any;
7250
- } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<AssetHubKusamaRuntimeProxyType>, Call]>;
7156
+ } | string | Uint8Array, forceProxyType: Option<AssetHubKusamaRuntimeProxyType> | null | Uint8Array | AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson' | 'StakingOperator' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<AssetHubKusamaRuntimeProxyType>, Call]>;
7251
7157
  /**
7252
7158
  * Generic tx
7253
7159
  **/
7254
7160
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
7255
7161
  };
7256
7162
  revive: {
7163
+ /**
7164
+ * Map many accounts and make the TX free if at least 90% were unmapped or held deposits.
7165
+ **/
7166
+ batchMapAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
7257
7167
  /**
7258
7168
  * Makes a call to an account, optionally transferring some balance.
7259
7169
  *
@@ -7261,7 +7171,7 @@ declare module '@polkadot/api-base/types/submittable' {
7261
7171
  *
7262
7172
  * * `dest`: Address of the contract to call.
7263
7173
  * * `value`: The balance to transfer from the `origin` to `dest`.
7264
- * * `gas_limit`: The gas limit enforced when executing the constructor.
7174
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
7265
7175
  * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
7266
7176
  * caller to pay for the storage consumed.
7267
7177
  * * `data`: The input data to pass to the contract.
@@ -7272,7 +7182,7 @@ declare module '@polkadot/api-base/types/submittable' {
7272
7182
  * * If no account exists and the call value is not less than `existential_deposit`,
7273
7183
  * a regular account will be created and any value will be transferred.
7274
7184
  **/
7275
- call: AugmentedSubmittable<(dest: H160 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
7185
+ call: AugmentedSubmittable<(dest: H160 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
7276
7186
  refTime?: any;
7277
7187
  proofSize?: any;
7278
7188
  } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Compact<u128>, SpWeightsWeightV2Weight, Compact<u128>, Bytes]>;
@@ -7287,33 +7197,71 @@ declare module '@polkadot/api-base/types/submittable' {
7287
7197
  /**
7288
7198
  * Same as [`Self::call`], but intended to be dispatched **only**
7289
7199
  * by an EVM transaction through the EVM compatibility layer.
7200
+ *
7201
+ * # Parameters
7202
+ *
7203
+ * * `dest`: The Ethereum address of the account to be called
7204
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
7205
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
7206
+ * payment
7207
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
7208
+ * * `data`: The input data to pass to the contract constructor.
7209
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
7210
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
7211
+ * is used for building the Ethereum transaction root.
7212
+ * * effective_gas_price: the price of a unit of gas
7213
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
7290
7214
  **/
7291
- ethCall: AugmentedSubmittable<(dest: H160 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
7215
+ ethCall: AugmentedSubmittable<(dest: H160 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
7292
7216
  refTime?: any;
7293
7217
  proofSize?: any;
7294
- } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, U256, SpWeightsWeightV2Weight, Compact<u128>, Bytes]>;
7218
+ } | string | Uint8Array, ethGasLimit: U256 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array, transactionEncoded: Bytes | string | Uint8Array, effectiveGasPrice: U256 | AnyNumber | Uint8Array, encodedLen: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, U256, SpWeightsWeightV2Weight, U256, Bytes, Bytes, U256, u32]>;
7295
7219
  /**
7296
7220
  * Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
7297
7221
  * by an EVM transaction through the EVM compatibility layer.
7298
7222
  *
7223
+ * # Parameters
7224
+ *
7225
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
7226
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
7227
+ * payment
7228
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
7229
+ * * `code`: The contract code to deploy in raw bytes.
7230
+ * * `data`: The input data to pass to the contract constructor.
7231
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
7232
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
7233
+ * is used for building the Ethereum transaction root.
7234
+ * * effective_gas_price: the price of a unit of gas
7235
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
7236
+ *
7299
7237
  * Calling this dispatchable ensures that the origin's nonce is bumped only once,
7300
7238
  * via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
7301
7239
  * also bumps the nonce after contract instantiation, since it may be invoked multiple
7302
7240
  * times within a batch call transaction.
7303
7241
  **/
7304
- ethInstantiateWithCode: AugmentedSubmittable<(value: U256 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
7242
+ ethInstantiateWithCode: AugmentedSubmittable<(value: U256 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
7305
7243
  refTime?: any;
7306
7244
  proofSize?: any;
7307
- } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U256, SpWeightsWeightV2Weight, Compact<u128>, Bytes, Bytes]>;
7245
+ } | string | Uint8Array, ethGasLimit: U256 | AnyNumber | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, transactionEncoded: Bytes | string | Uint8Array, effectiveGasPrice: U256 | AnyNumber | Uint8Array, encodedLen: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U256, SpWeightsWeightV2Weight, U256, Bytes, Bytes, Bytes, U256, u32]>;
7246
+ /**
7247
+ * Executes a Substrate runtime call from an Ethereum transaction.
7248
+ *
7249
+ * This dispatchable is intended to be called **only** through the EVM compatibility
7250
+ * layer. The provided call will be dispatched using `RawOrigin::Signed`.
7251
+ *
7252
+ * # Parameters
7253
+ *
7254
+ * * `origin`: Must be an [`Origin::EthTransaction`] origin.
7255
+ * * `call`: The Substrate runtime call to execute.
7256
+ * * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
7257
+ **/
7258
+ ethSubstrateCall: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, transactionEncoded: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Bytes]>;
7308
7259
  /**
7309
7260
  * A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
7310
7261
  *
7311
7262
  * # Parameters
7312
7263
  *
7313
7264
  * * `payload`: The encoded [`crate::evm::TransactionSigned`].
7314
- * * `gas_limit`: The gas limit enforced during contract execution.
7315
- * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
7316
- * storage usage.
7317
7265
  *
7318
7266
  * # Note
7319
7267
  *
@@ -7330,7 +7278,7 @@ declare module '@polkadot/api-base/types/submittable' {
7330
7278
  * code deployment step. Instead, the `code_hash` of an on-chain deployed vm binary
7331
7279
  * must be supplied.
7332
7280
  **/
7333
- instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
7281
+ instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
7334
7282
  refTime?: any;
7335
7283
  proofSize?: any;
7336
7284
  } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Compact<u128>, H256, Bytes, Option<U8aFixed>]>;
@@ -7345,7 +7293,7 @@ declare module '@polkadot/api-base/types/submittable' {
7345
7293
  * # Parameters
7346
7294
  *
7347
7295
  * * `value`: The balance to transfer from the `origin` to the newly created contract.
7348
- * * `gas_limit`: The gas limit enforced when executing the constructor.
7296
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
7349
7297
  * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
7350
7298
  * from the caller to pay for the storage consumed.
7351
7299
  * * `code`: The contract code to deploy in raw bytes.
@@ -7363,7 +7311,7 @@ declare module '@polkadot/api-base/types/submittable' {
7363
7311
  * - The `value` is transferred to the new account.
7364
7312
  * - The `deploy` function is executed in the context of the newly-created account.
7365
7313
  **/
7366
- instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
7314
+ instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
7367
7315
  refTime?: any;
7368
7316
  proofSize?: any;
7369
7317
  } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Compact<u128>, Bytes, Bytes, Option<U8aFixed>]>;
@@ -7372,6 +7320,9 @@ declare module '@polkadot/api-base/types/submittable' {
7372
7320
  *
7373
7321
  * This will error if the origin is already mapped or is a eth native `Address20`. It will
7374
7322
  * take a deposit that can be released by calling [`Self::unmap_account`].
7323
+ *
7324
+ * Noop when [`Config::AutoMap`] is enabled, as accounts are automatically mapped
7325
+ * on creation via [`AutoMapper`].
7375
7326
  **/
7376
7327
  mapAccount: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
7377
7328
  /**
@@ -7399,14 +7350,16 @@ declare module '@polkadot/api-base/types/submittable' {
7399
7350
  *
7400
7351
  * There is no reason to ever call this function other than freeing up the deposit.
7401
7352
  * This is only useful when the account should no longer be used.
7353
+ *
7354
+ * Disabled when [`Config::AutoMap`] is enabled, as accounts are automatically unmapped
7355
+ * on kill via [`AutoMapper`].
7402
7356
  **/
7403
7357
  unmapAccount: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
7404
7358
  /**
7405
7359
  * Upload new `code` without instantiating a contract from it.
7406
7360
  *
7407
7361
  * If the code does not already exist a deposit is reserved from the caller
7408
- * and unreserved only when [`Self::remove_code`] is called. The size of the reserve
7409
- * depends on the size of the supplied `code`.
7362
+ * The size of the reserve depends on the size of the supplied `code`.
7410
7363
  *
7411
7364
  * # Note
7412
7365
  *
@@ -7414,6 +7367,9 @@ declare module '@polkadot/api-base/types/submittable' {
7414
7367
  * To avoid this situation a constructor could employ access control so that it can
7415
7368
  * only be instantiated by permissioned entities. The same is true when uploading
7416
7369
  * through [`Self::instantiate_with_code`].
7370
+ *
7371
+ * If the refcount of the code reaches zero after terminating the last contract that
7372
+ * references this code, the code will be removed automatically.
7417
7373
  **/
7418
7374
  uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Compact<u128>]>;
7419
7375
  /**
@@ -7423,7 +7379,10 @@ declare module '@polkadot/api-base/types/submittable' {
7423
7379
  };
7424
7380
  scheduler: {
7425
7381
  /**
7426
- * Cancel an anonymously scheduled task.
7382
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
7383
+ * execution in, as well as the index of the task in that block's agenda.
7384
+ *
7385
+ * In the case of a named task, it will remove it from the lookup table as well.
7427
7386
  **/
7428
7387
  cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
7429
7388
  /**
@@ -7467,6 +7426,8 @@ declare module '@polkadot/api-base/types/submittable' {
7467
7426
  * clones of the original task. Their retry configuration will be derived from the
7468
7427
  * original task's configuration, but will have a lower value for `remaining` than the
7469
7428
  * original `total_retries`.
7429
+ *
7430
+ * This call **cannot** be used to set a retry configuration for a named task.
7470
7431
  **/
7471
7432
  setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>, u8, u32]>;
7472
7433
  /**
@@ -7482,6 +7443,8 @@ declare module '@polkadot/api-base/types/submittable' {
7482
7443
  * clones of the original task. Their retry configuration will be derived from the
7483
7444
  * original task's configuration, but will have a lower value for `remaining` than the
7484
7445
  * original `total_retries`.
7446
+ *
7447
+ * This is the only way to set a retry configuration for a named task.
7485
7448
  **/
7486
7449
  setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
7487
7450
  /**
@@ -7499,22 +7462,20 @@ declare module '@polkadot/api-base/types/submittable' {
7499
7462
  * convertible to a validator ID using the chain's typical addressing system (this usually
7500
7463
  * means being a controller account) or directly convertible into a validator ID (which
7501
7464
  * usually means being a stash account).
7502
- *
7503
- * ## Complexity
7504
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
7505
- * `T::Keys::key_ids()` which is fixed.
7506
7465
  **/
7507
7466
  purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
7508
7467
  /**
7509
7468
  * Sets the session key(s) of the function caller to `keys`.
7469
+ *
7510
7470
  * Allows an account to set its session key prior to becoming a validator.
7511
7471
  * This doesn't take effect until the next session.
7512
7472
  *
7513
- * The dispatch origin of this function must be signed.
7514
- *
7515
- * ## Complexity
7516
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
7517
- * fixed.
7473
+ * - `origin`: The dispatch origin of this function must be signed.
7474
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
7475
+ * setup in the runtime.
7476
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
7477
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
7478
+ * proof format.
7518
7479
  **/
7519
7480
  setKeys: AugmentedSubmittable<(keys: AssetHubKusamaRuntimeSessionKeys | {
7520
7481
  aura?: any;
@@ -7651,6 +7612,26 @@ declare module '@polkadot/api-base/types/submittable' {
7651
7612
  * Any bid deposit is lost and voucher is banned.
7652
7613
  **/
7653
7614
  kickCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
7615
+ /**
7616
+ * Kick a member from the society. Callable only by the Signed origin of the Founder.
7617
+ *
7618
+ * The member is fully removed (not suspended). All unclaimed payouts are slashed and
7619
+ * returned to the society pot.
7620
+ *
7621
+ * Parameters:
7622
+ * - `who`: The member to be removed.
7623
+ **/
7624
+ kickMember: AugmentedSubmittable<(who: MultiAddress | {
7625
+ Id: any;
7626
+ } | {
7627
+ Index: any;
7628
+ } | {
7629
+ Raw: any;
7630
+ } | {
7631
+ Address32: any;
7632
+ } | {
7633
+ Address20: any;
7634
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
7654
7635
  /**
7655
7636
  * Transfer the first matured payout for the sender and remove it from the records.
7656
7637
  *
@@ -7800,7 +7781,8 @@ declare module '@polkadot/api-base/types/submittable' {
7800
7781
  * for eras older than the active era.
7801
7782
  *
7802
7783
  * ## Parameters
7803
- * - `slash_era`: The staking era in which the slash was originally scheduled.
7784
+ * - `slash_era`: The application era (`offence_era + SlashDeferDuration`), i.e. the key
7785
+ * into [`UnappliedSlashes`].
7804
7786
  * - `slash_key`: A unique identifier for the slash, represented as a tuple:
7805
7787
  * - `stash`: The stash account of the validator being slashed.
7806
7788
  * - `slash_fraction`: The fraction of the stake that was slashed.
@@ -7923,9 +7905,10 @@ declare module '@polkadot/api-base/types/submittable' {
7923
7905
  **/
7924
7906
  deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
7925
7907
  /**
7926
- * Force a validator to have at least the minimum commission. This will not affect a
7927
- * validator who already has a commission greater than or equal to the minimum. Any account
7928
- * can call this.
7908
+ * Clamps a validator's commission to the `[MinCommission, MaxCommission]` range.
7909
+ *
7910
+ * Named `force_apply_min_commission` for legacy reasons — it also enforces the
7911
+ * maximum. Any account can call this.
7929
7912
  **/
7930
7913
  forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
7931
7914
  /**
@@ -8064,11 +8047,15 @@ declare module '@polkadot/api-base/types/submittable' {
8064
8047
  *
8065
8048
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
8066
8049
  * them, then the list of nominators is paged, with each page being capped at
8067
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
8050
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
8068
8051
  * the call needs to be made for each page separately in order for all the nominators
8069
8052
  * backing a validator to receive the reward. The nominators are not sorted across pages
8070
8053
  * and so it should not be assumed the highest staker would be on the topmost page and vice
8071
8054
  * versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
8055
+ *
8056
+ * The validator's own reward (commission + own-stake share) is prorated across pages
8057
+ * proportional to each page's stake. The full validator reward is the sum across all
8058
+ * pages.
8072
8059
  **/
8073
8060
  payoutStakersByPage: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, u32]>;
8074
8061
  /**
@@ -8148,11 +8135,11 @@ declare module '@polkadot/api-base/types/submittable' {
8148
8135
  **/
8149
8136
  setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
8150
8137
  /**
8151
- * Set the validators who cannot be slashed (if any).
8138
+ * Sets the maximum commission that validators can set.
8152
8139
  *
8153
- * The dispatch origin must be Root.
8140
+ * The dispatch origin must be `T::AdminOrigin`.
8154
8141
  **/
8155
- setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
8142
+ setMaxCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
8156
8143
  /**
8157
8144
  * Sets the minimum amount of commission that each validators must maintain.
8158
8145
  *
@@ -8239,13 +8226,45 @@ declare module '@polkadot/api-base/types/submittable' {
8239
8226
  Set: any;
8240
8227
  } | {
8241
8228
  Remove: any;
8242
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpU32, PalletStakingAsyncPalletConfigOpU32, PalletStakingAsyncPalletConfigOpPercent, PalletStakingAsyncPalletConfigOpPerbill, PalletStakingAsyncPalletConfigOpPercent]>;
8229
+ } | string | Uint8Array, areNominatorsSlashable: PalletStakingAsyncPalletConfigOpBool | {
8230
+ Noop: any;
8231
+ } | {
8232
+ Set: any;
8233
+ } | {
8234
+ Remove: any;
8235
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpU32, PalletStakingAsyncPalletConfigOpU32, PalletStakingAsyncPalletConfigOpPercent, PalletStakingAsyncPalletConfigOpPerbill, PalletStakingAsyncPalletConfigOpPercent, PalletStakingAsyncPalletConfigOpBool]>;
8243
8236
  /**
8244
8237
  * Sets the ideal number of validators.
8245
8238
  *
8246
8239
  * The dispatch origin must be Root.
8247
8240
  **/
8248
8241
  setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
8242
+ /**
8243
+ * Configure the validator self-stake incentive parameters.
8244
+ *
8245
+ * The dispatch origin must be `T::AdminOrigin`.
8246
+ *
8247
+ * Changes take effect in the next era when rewards are calculated.
8248
+ **/
8249
+ setValidatorSelfStakeIncentiveConfig: AugmentedSubmittable<(optimumSelfStake: PalletStakingAsyncPalletConfigOpU128 | {
8250
+ Noop: any;
8251
+ } | {
8252
+ Set: any;
8253
+ } | {
8254
+ Remove: any;
8255
+ } | string | Uint8Array, hardCapSelfStake: PalletStakingAsyncPalletConfigOpU128 | {
8256
+ Noop: any;
8257
+ } | {
8258
+ Set: any;
8259
+ } | {
8260
+ Remove: any;
8261
+ } | string | Uint8Array, selfStakeSlopeFactor: PalletStakingAsyncPalletConfigOpPerbill | {
8262
+ Noop: any;
8263
+ } | {
8264
+ Set: any;
8265
+ } | {
8266
+ Remove: any;
8267
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpU128, PalletStakingAsyncPalletConfigOpPerbill]>;
8249
8268
  /**
8250
8269
  * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
8251
8270
  * period ends. If this leaves an amount actively bonded less than
@@ -8316,6 +8335,35 @@ declare module '@polkadot/api-base/types/submittable' {
8316
8335
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
8317
8336
  };
8318
8337
  stakingRcClient: {
8338
+ /**
8339
+ * Remove session keys for a validator and release the key deposit.
8340
+ *
8341
+ * This purges the keys from the Relay Chain.
8342
+ *
8343
+ * Unlike `set_keys`, this does not require the caller to be a registered validator.
8344
+ * This is intentional: a validator who has chilled (stopped validating) should still
8345
+ * be able to purge their session keys. This matches the behavior of the original
8346
+ * `pallet-session::purge_keys` which allows anyone to call it.
8347
+ *
8348
+ * The Relay Chain will reject the call with `NoKeys` error if the account has no
8349
+ * keys set.
8350
+ *
8351
+ * **Fees:**
8352
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
8353
+ * In addition to the local transaction weight fee, the caller is charged an XCM fee
8354
+ * (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain uses
8355
+ * `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
8356
+ *
8357
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
8358
+ * while the delegating account pays the XCM fee.
8359
+ *
8360
+ * **Max Fee Limit:**
8361
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
8362
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
8363
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
8364
+ * unlimited (no cap).
8365
+ **/
8366
+ purgeKeys: AugmentedSubmittable<(maxDeliveryAndRemoteExecutionFee: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;
8319
8367
  relayNewOffencePaged: AugmentedSubmittable<(offences: Vec<ITuple<[u32, PalletStakingAsyncRcClientOffence]>> | ([u32 | AnyNumber | Uint8Array, PalletStakingAsyncRcClientOffence | {
8320
8368
  offender?: any;
8321
8369
  reporters?: any;
@@ -8330,6 +8378,40 @@ declare module '@polkadot/api-base/types/submittable' {
8330
8378
  activationTimestamp?: any;
8331
8379
  leftover?: any;
8332
8380
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncRcClientSessionReport]>;
8381
+ /**
8382
+ * Set session keys for a validator. Keys are validated on AssetHub and forwarded to RC.
8383
+ *
8384
+ * On the first call, a deposit of `KeyDeposit` is held from the stash. Subsequent calls
8385
+ * do not charge again. The deposit is released on `purge_keys`.
8386
+ *
8387
+ * **Validation on AssetHub:**
8388
+ * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
8389
+ * format.
8390
+ * - Ownership proof is validated using `OpaqueKeys::ownership_proof_is_valid`.
8391
+ *
8392
+ * If validation passes, only the validated keys are sent to RC (with empty proof),
8393
+ * since RC trusts AH's validation.
8394
+ *
8395
+ * **Fees:**
8396
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
8397
+ * In addition to the local transaction weight fee, the stash account is charged an XCM
8398
+ * fee (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain
8399
+ * uses `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
8400
+ *
8401
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
8402
+ * while the stash (delegating account) pays the XCM fee.
8403
+ *
8404
+ * **Max Fee Limit:**
8405
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
8406
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
8407
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
8408
+ * unlimited (no cap).
8409
+ *
8410
+ * NOTE: unlike the current flow for new validators on RC (bond -> set_keys -> validate),
8411
+ * users on Asset Hub MUST call bond and validate BEFORE calling set_keys. Attempting to
8412
+ * set keys before declaring intent to validate will fail with NotValidator.
8413
+ **/
8414
+ setKeys: AugmentedSubmittable<(keys: Bytes | string | Uint8Array, proof: Bytes | string | Uint8Array, maxDeliveryAndRemoteExecutionFee: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Option<u128>]>;
8333
8415
  /**
8334
8416
  * Generic tx
8335
8417
  **/
@@ -8612,6 +8694,8 @@ declare module '@polkadot/api-base/types/submittable' {
8612
8694
  * approval queue, i.e., the proposal has not been approved. This could also mean the
8613
8695
  * proposal does not exist altogether, thus there is no way it would have been approved
8614
8696
  * in the first place.
8697
+ *
8698
+ * @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
8615
8699
  **/
8616
8700
  removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
8617
8701
  /**
@@ -8671,6 +8755,8 @@ declare module '@polkadot/api-base/types/submittable' {
8671
8755
  * ## Events
8672
8756
  *
8673
8757
  * Emits [`Event::SpendApproved`] if successful.
8758
+ *
8759
+ * @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
8674
8760
  **/
8675
8761
  spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
8676
8762
  Id: any;
@@ -9368,6 +9454,8 @@ declare module '@polkadot/api-base/types/submittable' {
9368
9454
  PolkadotXcm: any;
9369
9455
  } | {
9370
9456
  CumulusXcm: any;
9457
+ } | {
9458
+ Revive: any;
9371
9459
  } | {
9372
9460
  Origins: any;
9373
9461
  } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubKusamaRuntimeOriginCaller, Call]>;
@@ -9384,6 +9472,8 @@ declare module '@polkadot/api-base/types/submittable' {
9384
9472
  PolkadotXcm: any;
9385
9473
  } | {
9386
9474
  CumulusXcm: any;
9475
+ } | {
9476
+ Revive: any;
9387
9477
  } | {
9388
9478
  Origins: any;
9389
9479
  } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubKusamaRuntimeOriginCaller, Call]>;