@polkadot/api-augment 9.7.1 → 9.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +101 -14
- package/kusama/errors.d.ts +256 -29
- package/kusama/events.d.ts +297 -62
- package/kusama/query.d.ts +120 -28
- package/kusama/runtime.d.ts +2 -2
- package/kusama/tx.d.ts +718 -139
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +22 -13
- package/polkadot/errors.d.ts +33 -29
- package/polkadot/events.d.ts +45 -62
- package/polkadot/query.d.ts +17 -28
- package/polkadot/runtime.d.ts +2 -2
- package/polkadot/tx.d.ts +233 -139
- package/substrate/consts.d.ts +7 -0
- package/substrate/errors.d.ts +11 -3
- package/substrate/events.d.ts +9 -3
- package/substrate/runtime.d.ts +13 -7
- package/substrate/tx.d.ts +6 -4
package/polkadot/tx.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/submittable';
|
|
2
2
|
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Data } from '@polkadot/types';
|
|
4
|
-
import type { Bytes, Compact, Option, U8aFixed, Vec,
|
|
4
|
+
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
|
-
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent
|
|
8
|
-
import type {
|
|
7
|
+
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
|
+
import type { FrameSupportPreimagesBounded, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
9
|
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
10
|
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
11
11
|
export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -882,11 +882,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
882
882
|
/**
|
|
883
883
|
* Sets the maximum amount of weight any individual upward message may consume.
|
|
884
884
|
**/
|
|
885
|
-
setUmpMaxIndividualWeight: AugmentedSubmittable<(updated:
|
|
885
|
+
setUmpMaxIndividualWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | {
|
|
886
|
+
refTime?: any;
|
|
887
|
+
proofSize?: any;
|
|
888
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
|
|
886
889
|
/**
|
|
887
890
|
* Sets the soft limit for the phase of dispatching dispatchable upward messages.
|
|
888
891
|
**/
|
|
889
|
-
setUmpServiceTotalWeight: AugmentedSubmittable<(updated:
|
|
892
|
+
setUmpServiceTotalWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | {
|
|
893
|
+
refTime?: any;
|
|
894
|
+
proofSize?: any;
|
|
895
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
|
|
890
896
|
/**
|
|
891
897
|
* Set the validation upgrade cooldown.
|
|
892
898
|
**/
|
|
@@ -939,7 +945,45 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
939
945
|
* - up to 3 events
|
|
940
946
|
* # </weight>
|
|
941
947
|
**/
|
|
942
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound:
|
|
948
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
|
|
949
|
+
refTime?: any;
|
|
950
|
+
proofSize?: any;
|
|
951
|
+
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
952
|
+
/**
|
|
953
|
+
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
954
|
+
*
|
|
955
|
+
* May be called by any signed account in order to finish voting and close the proposal.
|
|
956
|
+
*
|
|
957
|
+
* If called before the end of the voting period it will only close the vote if it is
|
|
958
|
+
* has enough votes to be approved or disapproved.
|
|
959
|
+
*
|
|
960
|
+
* If called after the end of the voting period abstentions are counted as rejections
|
|
961
|
+
* unless there is a prime member set and the prime member cast an approval.
|
|
962
|
+
*
|
|
963
|
+
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
964
|
+
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
965
|
+
*
|
|
966
|
+
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
967
|
+
* proposal.
|
|
968
|
+
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
969
|
+
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
970
|
+
*
|
|
971
|
+
* # <weight>
|
|
972
|
+
* ## Weight
|
|
973
|
+
* - `O(B + M + P1 + P2)` where:
|
|
974
|
+
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
975
|
+
* - `M` is members-count (code- and governance-bounded)
|
|
976
|
+
* - `P1` is the complexity of `proposal` preimage.
|
|
977
|
+
* - `P2` is proposal-count (code-bounded)
|
|
978
|
+
* - DB:
|
|
979
|
+
* - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)
|
|
980
|
+
* - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec
|
|
981
|
+
* `O(P2)`)
|
|
982
|
+
* - any mutations done while executing `proposal` (`P1`)
|
|
983
|
+
* - up to 3 events
|
|
984
|
+
* # </weight>
|
|
985
|
+
**/
|
|
986
|
+
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
943
987
|
/**
|
|
944
988
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
945
989
|
* state.
|
|
@@ -1185,16 +1229,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1185
1229
|
* Weight: `O(p)` where `p = PublicProps::<T>::decode_len()`
|
|
1186
1230
|
**/
|
|
1187
1231
|
cancelProposal: AugmentedSubmittable<(propIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
1188
|
-
/**
|
|
1189
|
-
* Cancel a proposal queued for enactment.
|
|
1190
|
-
*
|
|
1191
|
-
* The dispatch origin of this call must be _Root_.
|
|
1192
|
-
*
|
|
1193
|
-
* - `which`: The index of the referendum to cancel.
|
|
1194
|
-
*
|
|
1195
|
-
* Weight: `O(D)` where `D` is the items in the dispatch queue. Weighted as `D = 10`.
|
|
1196
|
-
**/
|
|
1197
|
-
cancelQueued: AugmentedSubmittable<(which: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1198
1232
|
/**
|
|
1199
1233
|
* Remove a referendum.
|
|
1200
1234
|
*
|
|
@@ -1257,10 +1291,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1257
1291
|
* Weight: `O(1)`.
|
|
1258
1292
|
**/
|
|
1259
1293
|
emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1260
|
-
/**
|
|
1261
|
-
* Enact a proposal from a referendum. For now we just make the weight be the maximum.
|
|
1262
|
-
**/
|
|
1263
|
-
enactProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32]>;
|
|
1264
1294
|
/**
|
|
1265
1295
|
* Schedule a referendum to be tabled once it is legal to schedule an external
|
|
1266
1296
|
* referendum.
|
|
@@ -1268,11 +1298,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1268
1298
|
* The dispatch origin of this call must be `ExternalOrigin`.
|
|
1269
1299
|
*
|
|
1270
1300
|
* - `proposal_hash`: The preimage hash of the proposal.
|
|
1271
|
-
*
|
|
1272
|
-
* Weight: `O(V)` with V number of vetoers in the blacklist of proposal.
|
|
1273
|
-
* Decoding vec of length V. Charged as maximum
|
|
1274
1301
|
**/
|
|
1275
|
-
externalPropose: AugmentedSubmittable<(
|
|
1302
|
+
externalPropose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
1303
|
+
Legacy: any;
|
|
1304
|
+
} | {
|
|
1305
|
+
Inline: any;
|
|
1306
|
+
} | {
|
|
1307
|
+
Lookup: any;
|
|
1308
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
|
|
1276
1309
|
/**
|
|
1277
1310
|
* Schedule a negative-turnout-bias referendum to be tabled next once it is legal to
|
|
1278
1311
|
* schedule an external referendum.
|
|
@@ -1286,7 +1319,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1286
1319
|
*
|
|
1287
1320
|
* Weight: `O(1)`
|
|
1288
1321
|
**/
|
|
1289
|
-
externalProposeDefault: AugmentedSubmittable<(
|
|
1322
|
+
externalProposeDefault: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
1323
|
+
Legacy: any;
|
|
1324
|
+
} | {
|
|
1325
|
+
Inline: any;
|
|
1326
|
+
} | {
|
|
1327
|
+
Lookup: any;
|
|
1328
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
|
|
1290
1329
|
/**
|
|
1291
1330
|
* Schedule a majority-carries referendum to be tabled next once it is legal to schedule
|
|
1292
1331
|
* an external referendum.
|
|
@@ -1300,7 +1339,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1300
1339
|
*
|
|
1301
1340
|
* Weight: `O(1)`
|
|
1302
1341
|
**/
|
|
1303
|
-
externalProposeMajority: AugmentedSubmittable<(
|
|
1342
|
+
externalProposeMajority: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
1343
|
+
Legacy: any;
|
|
1344
|
+
} | {
|
|
1345
|
+
Inline: any;
|
|
1346
|
+
} | {
|
|
1347
|
+
Lookup: any;
|
|
1348
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
|
|
1304
1349
|
/**
|
|
1305
1350
|
* Schedule the currently externally-proposed majority-carries referendum to be tabled
|
|
1306
1351
|
* immediately. If there is no externally-proposed referendum currently, or if there is one
|
|
@@ -1309,7 +1354,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1309
1354
|
* The dispatch of this call must be `FastTrackOrigin`.
|
|
1310
1355
|
*
|
|
1311
1356
|
* - `proposal_hash`: The hash of the current external proposal.
|
|
1312
|
-
* - `voting_period`: The period that is allowed for voting on this proposal.
|
|
1357
|
+
* - `voting_period`: The period that is allowed for voting on this proposal. Increased to
|
|
1313
1358
|
* Must be always greater than zero.
|
|
1314
1359
|
* For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.
|
|
1315
1360
|
* - `delay`: The number of block after voting has ended in approval and this should be
|
|
@@ -1320,42 +1365,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1320
1365
|
* Weight: `O(1)`
|
|
1321
1366
|
**/
|
|
1322
1367
|
fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, u32]>;
|
|
1323
|
-
/**
|
|
1324
|
-
* Register the preimage for an upcoming proposal. This requires the proposal to be
|
|
1325
|
-
* in the dispatch queue. No deposit is needed. When this call is successful, i.e.
|
|
1326
|
-
* the preimage has not been uploaded before and matches some imminent proposal,
|
|
1327
|
-
* no fee is paid.
|
|
1328
|
-
*
|
|
1329
|
-
* The dispatch origin of this call must be _Signed_.
|
|
1330
|
-
*
|
|
1331
|
-
* - `encoded_proposal`: The preimage of a proposal.
|
|
1332
|
-
*
|
|
1333
|
-
* Emits `PreimageNoted`.
|
|
1334
|
-
*
|
|
1335
|
-
* Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit).
|
|
1336
|
-
**/
|
|
1337
|
-
noteImminentPreimage: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1338
|
-
/**
|
|
1339
|
-
* Same as `note_imminent_preimage` but origin is `OperationalPreimageOrigin`.
|
|
1340
|
-
**/
|
|
1341
|
-
noteImminentPreimageOperational: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1342
|
-
/**
|
|
1343
|
-
* Register the preimage for an upcoming proposal. This doesn't require the proposal to be
|
|
1344
|
-
* in the dispatch queue but does require a deposit, returned once enacted.
|
|
1345
|
-
*
|
|
1346
|
-
* The dispatch origin of this call must be _Signed_.
|
|
1347
|
-
*
|
|
1348
|
-
* - `encoded_proposal`: The preimage of a proposal.
|
|
1349
|
-
*
|
|
1350
|
-
* Emits `PreimageNoted`.
|
|
1351
|
-
*
|
|
1352
|
-
* Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit).
|
|
1353
|
-
**/
|
|
1354
|
-
notePreimage: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1355
|
-
/**
|
|
1356
|
-
* Same as `note_preimage` but origin is `OperationalPreimageOrigin`.
|
|
1357
|
-
**/
|
|
1358
|
-
notePreimageOperational: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1359
1368
|
/**
|
|
1360
1369
|
* Propose a sensitive action to be taken.
|
|
1361
1370
|
*
|
|
@@ -1366,28 +1375,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1366
1375
|
* - `value`: The amount of deposit (must be at least `MinimumDeposit`).
|
|
1367
1376
|
*
|
|
1368
1377
|
* Emits `Proposed`.
|
|
1369
|
-
*
|
|
1370
|
-
* Weight: `O(p)`
|
|
1371
1378
|
**/
|
|
1372
|
-
propose: AugmentedSubmittable<(
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
* - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is
|
|
1380
|
-
* weighted according to this value with no refund.
|
|
1381
|
-
*
|
|
1382
|
-
* This will only work after `VotingPeriod` blocks from the time that the preimage was
|
|
1383
|
-
* noted, if it's the same account doing it. If it's a different account, then it'll only
|
|
1384
|
-
* work an additional `EnactmentPeriod` later.
|
|
1385
|
-
*
|
|
1386
|
-
* Emits `PreimageReaped`.
|
|
1387
|
-
*
|
|
1388
|
-
* Weight: `O(D)` where D is length of proposal.
|
|
1389
|
-
**/
|
|
1390
|
-
reapPreimage: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, proposalLenUpperBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>]>;
|
|
1379
|
+
propose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
1380
|
+
Legacy: any;
|
|
1381
|
+
} | {
|
|
1382
|
+
Inline: any;
|
|
1383
|
+
} | {
|
|
1384
|
+
Lookup: any;
|
|
1385
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded, Compact<u128>]>;
|
|
1391
1386
|
/**
|
|
1392
1387
|
* Remove a vote for a referendum.
|
|
1393
1388
|
*
|
|
@@ -1453,12 +1448,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1453
1448
|
* must have funds to cover the deposit, equal to the original deposit.
|
|
1454
1449
|
*
|
|
1455
1450
|
* - `proposal`: The index of the proposal to second.
|
|
1456
|
-
* - `seconds_upper_bound`: an upper bound on the current number of seconds on this
|
|
1457
|
-
* proposal. Extrinsic is weighted according to this value with no refund.
|
|
1458
|
-
*
|
|
1459
|
-
* Weight: `O(S)` where S is the number of seconds a proposal already has.
|
|
1460
1451
|
**/
|
|
1461
|
-
second: AugmentedSubmittable<(proposal: Compact<u32> | AnyNumber | Uint8Array
|
|
1452
|
+
second: AugmentedSubmittable<(proposal: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
1462
1453
|
/**
|
|
1463
1454
|
* Undelegate the voting power of the sending account.
|
|
1464
1455
|
*
|
|
@@ -1514,8 +1505,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1514
1505
|
*
|
|
1515
1506
|
* - `ref_index`: The index of the referendum to vote for.
|
|
1516
1507
|
* - `vote`: The vote configuration.
|
|
1517
|
-
*
|
|
1518
|
-
* Weight: `O(R)` where R is the number of referendums the voter has voted on.
|
|
1519
1508
|
**/
|
|
1520
1509
|
vote: AugmentedSubmittable<(refIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | {
|
|
1521
1510
|
Standard: any;
|
|
@@ -1720,6 +1709,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1720
1709
|
* Number of inbound and outbound channels for `para` must be provided as witness data of weighing.
|
|
1721
1710
|
**/
|
|
1722
1711
|
forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, inbound: u32 | AnyNumber | Uint8Array, outbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
|
|
1712
|
+
/**
|
|
1713
|
+
* Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although
|
|
1714
|
+
* opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay
|
|
1715
|
+
* Chain's configured limits.
|
|
1716
|
+
*
|
|
1717
|
+
* Expected use is when one of the `ParaId`s involved in the channel is governed by the
|
|
1718
|
+
* Relay Chain, e.g. a common good parachain.
|
|
1719
|
+
**/
|
|
1720
|
+
forceOpenHrmpChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array, maxCapacity: u32 | AnyNumber | Uint8Array, maxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32]>;
|
|
1723
1721
|
/**
|
|
1724
1722
|
* Force process HRMP close channel requests.
|
|
1725
1723
|
*
|
|
@@ -2397,7 +2395,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2397
2395
|
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2398
2396
|
height?: any;
|
|
2399
2397
|
index?: any;
|
|
2400
|
-
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight:
|
|
2398
|
+
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
|
|
2399
|
+
refTime?: any;
|
|
2400
|
+
proofSize?: any;
|
|
2401
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
|
|
2401
2402
|
/**
|
|
2402
2403
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
2403
2404
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -2440,15 +2441,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2440
2441
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
2441
2442
|
* -------------------------------
|
|
2442
2443
|
* - DB Weight:
|
|
2443
|
-
* - Reads: Multisig Storage, [Caller Account]
|
|
2444
|
-
* - Writes: Multisig Storage, [Caller Account]
|
|
2444
|
+
* - Reads: Multisig Storage, [Caller Account]
|
|
2445
|
+
* - Writes: Multisig Storage, [Caller Account]
|
|
2445
2446
|
* - Plus Call Weight
|
|
2446
2447
|
* # </weight>
|
|
2447
2448
|
**/
|
|
2448
2449
|
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2449
2450
|
height?: any;
|
|
2450
2451
|
index?: any;
|
|
2451
|
-
} | string, call:
|
|
2452
|
+
} | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
|
|
2453
|
+
refTime?: any;
|
|
2454
|
+
proofSize?: any;
|
|
2455
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
|
|
2452
2456
|
/**
|
|
2453
2457
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
2454
2458
|
*
|
|
@@ -2492,8 +2496,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2492
2496
|
* - Storage: removes one item.
|
|
2493
2497
|
* ----------------------------------
|
|
2494
2498
|
* - DB Weight:
|
|
2495
|
-
* - Read: Multisig Storage, [Caller Account], Refund Account
|
|
2496
|
-
* - Write: Multisig Storage, [Caller Account], Refund Account
|
|
2499
|
+
* - Read: Multisig Storage, [Caller Account], Refund Account
|
|
2500
|
+
* - Write: Multisig Storage, [Caller Account], Refund Account
|
|
2497
2501
|
* # </weight>
|
|
2498
2502
|
**/
|
|
2499
2503
|
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | {
|
|
@@ -2588,6 +2592,45 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2588
2592
|
} | {
|
|
2589
2593
|
Address20: any;
|
|
2590
2594
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
|
2595
|
+
/**
|
|
2596
|
+
* Create a new delegation pool with a previously used pool id
|
|
2597
|
+
*
|
|
2598
|
+
* # Arguments
|
|
2599
|
+
*
|
|
2600
|
+
* same as `create` with the inclusion of
|
|
2601
|
+
* * `pool_id` - `A valid PoolId.
|
|
2602
|
+
**/
|
|
2603
|
+
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
|
|
2604
|
+
Id: any;
|
|
2605
|
+
} | {
|
|
2606
|
+
Index: any;
|
|
2607
|
+
} | {
|
|
2608
|
+
Raw: any;
|
|
2609
|
+
} | {
|
|
2610
|
+
Address32: any;
|
|
2611
|
+
} | {
|
|
2612
|
+
Address20: any;
|
|
2613
|
+
} | string | Uint8Array, nominator: MultiAddress | {
|
|
2614
|
+
Id: any;
|
|
2615
|
+
} | {
|
|
2616
|
+
Index: any;
|
|
2617
|
+
} | {
|
|
2618
|
+
Raw: any;
|
|
2619
|
+
} | {
|
|
2620
|
+
Address32: any;
|
|
2621
|
+
} | {
|
|
2622
|
+
Address20: any;
|
|
2623
|
+
} | string | Uint8Array, stateToggler: MultiAddress | {
|
|
2624
|
+
Id: any;
|
|
2625
|
+
} | {
|
|
2626
|
+
Index: any;
|
|
2627
|
+
} | {
|
|
2628
|
+
Raw: any;
|
|
2629
|
+
} | {
|
|
2630
|
+
Address32: any;
|
|
2631
|
+
} | {
|
|
2632
|
+
Address20: any;
|
|
2633
|
+
} | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
|
2591
2634
|
/**
|
|
2592
2635
|
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
2593
2636
|
* pools account and immediately increases the pools bond.
|
|
@@ -3031,6 +3074,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3031
3074
|
requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
3032
3075
|
/**
|
|
3033
3076
|
* Clear an unrequested preimage from the runtime storage.
|
|
3077
|
+
*
|
|
3078
|
+
* If `len` is provided, then it will be a much cheaper operation.
|
|
3079
|
+
*
|
|
3080
|
+
* - `hash`: The hash of the preimage to be removed from the store.
|
|
3081
|
+
* - `len`: The length of the preimage of `hash`.
|
|
3034
3082
|
**/
|
|
3035
3083
|
unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
3036
3084
|
/**
|
|
@@ -3284,6 +3332,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3284
3332
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3285
3333
|
};
|
|
3286
3334
|
registrar: {
|
|
3335
|
+
/**
|
|
3336
|
+
* Add a manager lock from a para. This will prevent the manager of a
|
|
3337
|
+
* para to deregister or swap a para.
|
|
3338
|
+
*
|
|
3339
|
+
* Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
|
|
3340
|
+
**/
|
|
3341
|
+
addLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3287
3342
|
/**
|
|
3288
3343
|
* Deregister a Para Id, freeing all data and returning any deposit.
|
|
3289
3344
|
*
|
|
@@ -3299,13 +3354,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3299
3354
|
* can be registered, including sub-1000 IDs which are System Parachains.
|
|
3300
3355
|
**/
|
|
3301
3356
|
forceRegister: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u32, Bytes, Bytes]>;
|
|
3302
|
-
/**
|
|
3303
|
-
* Remove a manager lock from a para. This will allow the manager of a
|
|
3304
|
-
* previously locked para to deregister or swap a para without using governance.
|
|
3305
|
-
*
|
|
3306
|
-
* Can only be called by the Root origin.
|
|
3307
|
-
**/
|
|
3308
|
-
forceRemoveLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3309
3357
|
/**
|
|
3310
3358
|
* Register head data and validation code for a reserved Para Id.
|
|
3311
3359
|
*
|
|
@@ -3323,6 +3371,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3323
3371
|
* The `Registered` event is emitted in case of success.
|
|
3324
3372
|
**/
|
|
3325
3373
|
register: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, Bytes]>;
|
|
3374
|
+
/**
|
|
3375
|
+
* Remove a manager lock from a para. This will allow the manager of a
|
|
3376
|
+
* previously locked para to deregister or swap a para without using governance.
|
|
3377
|
+
*
|
|
3378
|
+
* Can only be called by the Root origin or the parachain.
|
|
3379
|
+
**/
|
|
3380
|
+
removeLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3326
3381
|
/**
|
|
3327
3382
|
* Reserve a Para Id on the relay chain.
|
|
3328
3383
|
*
|
|
@@ -3340,6 +3395,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3340
3395
|
* The `Reserved` event is emitted in case of success, which provides the ID reserved for use.
|
|
3341
3396
|
**/
|
|
3342
3397
|
reserve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3398
|
+
/**
|
|
3399
|
+
* Schedule a parachain upgrade.
|
|
3400
|
+
*
|
|
3401
|
+
* Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
|
|
3402
|
+
**/
|
|
3403
|
+
scheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
3404
|
+
/**
|
|
3405
|
+
* Set the parachain's current head.
|
|
3406
|
+
*
|
|
3407
|
+
* Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
|
|
3408
|
+
**/
|
|
3409
|
+
setCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
3343
3410
|
/**
|
|
3344
3411
|
* Swap a parachain with another parachain or parathread.
|
|
3345
3412
|
*
|
|
@@ -3367,15 +3434,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3367
3434
|
/**
|
|
3368
3435
|
* Cancel a named scheduled task.
|
|
3369
3436
|
**/
|
|
3370
|
-
cancelNamed: AugmentedSubmittable<(id:
|
|
3437
|
+
cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
|
|
3371
3438
|
/**
|
|
3372
3439
|
* Anonymously schedule a task.
|
|
3373
3440
|
**/
|
|
3374
|
-
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call:
|
|
3375
|
-
Value: any;
|
|
3376
|
-
} | {
|
|
3377
|
-
Hash: any;
|
|
3378
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
|
|
3441
|
+
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
|
|
3379
3442
|
/**
|
|
3380
3443
|
* Anonymously schedule a task after a delay.
|
|
3381
3444
|
*
|
|
@@ -3383,19 +3446,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3383
3446
|
* Same as [`schedule`].
|
|
3384
3447
|
* # </weight>
|
|
3385
3448
|
**/
|
|
3386
|
-
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call:
|
|
3387
|
-
Value: any;
|
|
3388
|
-
} | {
|
|
3389
|
-
Hash: any;
|
|
3390
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
|
|
3449
|
+
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
|
|
3391
3450
|
/**
|
|
3392
3451
|
* Schedule a named task.
|
|
3393
3452
|
**/
|
|
3394
|
-
scheduleNamed: AugmentedSubmittable<(id:
|
|
3395
|
-
Value: any;
|
|
3396
|
-
} | {
|
|
3397
|
-
Hash: any;
|
|
3398
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
|
|
3453
|
+
scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
|
|
3399
3454
|
/**
|
|
3400
3455
|
* Schedule a named task after a delay.
|
|
3401
3456
|
*
|
|
@@ -3403,11 +3458,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3403
3458
|
* Same as [`schedule_named`](Self::schedule_named).
|
|
3404
3459
|
* # </weight>
|
|
3405
3460
|
**/
|
|
3406
|
-
scheduleNamedAfter: AugmentedSubmittable<(id:
|
|
3407
|
-
Value: any;
|
|
3408
|
-
} | {
|
|
3409
|
-
Hash: any;
|
|
3410
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
|
|
3461
|
+
scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
|
|
3411
3462
|
/**
|
|
3412
3463
|
* Generic tx
|
|
3413
3464
|
**/
|
|
@@ -3663,7 +3714,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3663
3714
|
**/
|
|
3664
3715
|
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
3665
3716
|
/**
|
|
3666
|
-
* Increments the ideal number of validators
|
|
3717
|
+
* Increments the ideal number of validators upto maximum of
|
|
3718
|
+
* `ElectionProviderBase::MaxWinners`.
|
|
3667
3719
|
*
|
|
3668
3720
|
* The dispatch origin must be Root.
|
|
3669
3721
|
*
|
|
@@ -3772,7 +3824,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3772
3824
|
**/
|
|
3773
3825
|
rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
|
3774
3826
|
/**
|
|
3775
|
-
* Scale up the ideal number of validators by a factor
|
|
3827
|
+
* Scale up the ideal number of validators by a factor upto maximum of
|
|
3828
|
+
* `ElectionProviderBase::MaxWinners`.
|
|
3776
3829
|
*
|
|
3777
3830
|
* The dispatch origin must be Root.
|
|
3778
3831
|
*
|
|
@@ -4071,7 +4124,45 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4071
4124
|
* - up to 3 events
|
|
4072
4125
|
* # </weight>
|
|
4073
4126
|
**/
|
|
4074
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound:
|
|
4127
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
|
|
4128
|
+
refTime?: any;
|
|
4129
|
+
proofSize?: any;
|
|
4130
|
+
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
4131
|
+
/**
|
|
4132
|
+
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
4133
|
+
*
|
|
4134
|
+
* May be called by any signed account in order to finish voting and close the proposal.
|
|
4135
|
+
*
|
|
4136
|
+
* If called before the end of the voting period it will only close the vote if it is
|
|
4137
|
+
* has enough votes to be approved or disapproved.
|
|
4138
|
+
*
|
|
4139
|
+
* If called after the end of the voting period abstentions are counted as rejections
|
|
4140
|
+
* unless there is a prime member set and the prime member cast an approval.
|
|
4141
|
+
*
|
|
4142
|
+
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
4143
|
+
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
4144
|
+
*
|
|
4145
|
+
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
4146
|
+
* proposal.
|
|
4147
|
+
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
4148
|
+
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
4149
|
+
*
|
|
4150
|
+
* # <weight>
|
|
4151
|
+
* ## Weight
|
|
4152
|
+
* - `O(B + M + P1 + P2)` where:
|
|
4153
|
+
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
4154
|
+
* - `M` is members-count (code- and governance-bounded)
|
|
4155
|
+
* - `P1` is the complexity of `proposal` preimage.
|
|
4156
|
+
* - `P2` is proposal-count (code-bounded)
|
|
4157
|
+
* - DB:
|
|
4158
|
+
* - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)
|
|
4159
|
+
* - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec
|
|
4160
|
+
* `O(P2)`)
|
|
4161
|
+
* - any mutations done while executing `proposal` (`P1`)
|
|
4162
|
+
* - up to 3 events
|
|
4163
|
+
* # </weight>
|
|
4164
|
+
**/
|
|
4165
|
+
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
4075
4166
|
/**
|
|
4076
4167
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
4077
4168
|
* state.
|
|
@@ -4592,7 +4683,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4592
4683
|
* Events:
|
|
4593
4684
|
* - `OverweightServiced`: On success.
|
|
4594
4685
|
**/
|
|
4595
|
-
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit:
|
|
4686
|
+
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
|
|
4687
|
+
refTime?: any;
|
|
4688
|
+
proofSize?: any;
|
|
4689
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, SpWeightsWeightV2Weight]>;
|
|
4596
4690
|
/**
|
|
4597
4691
|
* Generic tx
|
|
4598
4692
|
**/
|
|
@@ -4618,13 +4712,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4618
4712
|
/**
|
|
4619
4713
|
* Send a batch of dispatch calls.
|
|
4620
4714
|
*
|
|
4621
|
-
* May be called from any origin
|
|
4715
|
+
* May be called from any origin except `None`.
|
|
4622
4716
|
*
|
|
4623
4717
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
4624
4718
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
4625
4719
|
*
|
|
4626
|
-
* If origin is root then
|
|
4627
|
-
* bypassing `frame_system::Config::BaseCallFilter`).
|
|
4720
|
+
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
4721
|
+
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
4628
4722
|
*
|
|
4629
4723
|
* # <weight>
|
|
4630
4724
|
* - Complexity: O(C) where C is the number of calls to be batched.
|
|
@@ -4641,13 +4735,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4641
4735
|
* Send a batch of dispatch calls and atomically execute them.
|
|
4642
4736
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
4643
4737
|
*
|
|
4644
|
-
* May be called from any origin
|
|
4738
|
+
* May be called from any origin except `None`.
|
|
4645
4739
|
*
|
|
4646
4740
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
4647
4741
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
4648
4742
|
*
|
|
4649
|
-
* If origin is root then
|
|
4650
|
-
* bypassing `frame_system::Config::BaseCallFilter`).
|
|
4743
|
+
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
4744
|
+
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
4651
4745
|
*
|
|
4652
4746
|
* # <weight>
|
|
4653
4747
|
* - Complexity: O(C) where C is the number of calls to be batched.
|
|
@@ -4683,13 +4777,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4683
4777
|
* Send a batch of dispatch calls.
|
|
4684
4778
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
4685
4779
|
*
|
|
4686
|
-
* May be called from any origin
|
|
4780
|
+
* May be called from any origin except `None`.
|
|
4687
4781
|
*
|
|
4688
4782
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
4689
4783
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
4690
4784
|
*
|
|
4691
|
-
* If origin is root then
|
|
4692
|
-
* bypassing `frame_system::Config::BaseCallFilter`).
|
|
4785
|
+
* If origin is root then the calls are dispatch without checking origin filter. (This
|
|
4786
|
+
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
4693
4787
|
*
|
|
4694
4788
|
* # <weight>
|
|
4695
4789
|
* - Complexity: O(C) where C is the number of calls to be batched.
|
|
@@ -4924,7 +5018,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4924
5018
|
V1: any;
|
|
4925
5019
|
} | {
|
|
4926
5020
|
V2: any;
|
|
4927
|
-
} | string | Uint8Array, maxWeight:
|
|
5021
|
+
} | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;
|
|
4928
5022
|
/**
|
|
4929
5023
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
4930
5024
|
* version a destination can accept is unknown).
|