@dedot/chaintypes 0.93.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kusama/consts.d.ts +5 -2
- package/kusama/errors.d.ts +3 -45
- package/kusama/events.d.ts +50 -40
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +55 -30
- package/kusama/runtime.d.ts +38 -21
- package/kusama/tx.d.ts +68 -74
- package/kusama/types.d.ts +444 -386
- package/moonbeam/errors.d.ts +8 -1
- package/moonbeam/events.d.ts +8 -2
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +24 -2
- package/moonbeam/tx.d.ts +3 -88
- package/moonbeam/types.d.ts +49 -53
- package/package.json +2 -2
package/kusama/runtime.d.ts
CHANGED
|
@@ -28,18 +28,18 @@ import type {
|
|
|
28
28
|
PolkadotPrimitivesV8ValidatorAppPublic,
|
|
29
29
|
PolkadotPrimitivesV8ValidatorIndex,
|
|
30
30
|
PolkadotPrimitivesV8GroupRotationInfo,
|
|
31
|
-
|
|
31
|
+
PolkadotPrimitivesVstagingCoreState,
|
|
32
32
|
PolkadotPrimitivesV8PersistedValidationData,
|
|
33
33
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
34
34
|
PolkadotPrimitivesV8OccupiedCoreAssumption,
|
|
35
35
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
36
36
|
PolkadotPrimitivesV8CandidateCommitments,
|
|
37
37
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
PolkadotPrimitivesVstagingCommittedCandidateReceiptV2,
|
|
39
|
+
PolkadotPrimitivesVstagingCandidateEvent,
|
|
40
40
|
PolkadotCorePrimitivesInboundDownwardMessage,
|
|
41
41
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
42
|
-
|
|
42
|
+
PolkadotPrimitivesVstagingScrapedOnChainVotes,
|
|
43
43
|
PolkadotPrimitivesV8SessionInfo,
|
|
44
44
|
PolkadotPrimitivesV8PvfCheckStatement,
|
|
45
45
|
PolkadotPrimitivesV8ValidatorAppSignature,
|
|
@@ -49,7 +49,7 @@ import type {
|
|
|
49
49
|
PolkadotPrimitivesV8SlashingPendingSlashes,
|
|
50
50
|
PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof,
|
|
51
51
|
PolkadotPrimitivesV8SlashingDisputeProof,
|
|
52
|
-
|
|
52
|
+
PolkadotPrimitivesVstagingAsyncBackingBackingState,
|
|
53
53
|
PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
|
|
54
54
|
PolkadotPrimitivesV8ApprovalVotingParams,
|
|
55
55
|
PolkadotPrimitivesV8CoreIndex,
|
|
@@ -314,7 +314,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
314
314
|
*
|
|
315
315
|
* @callname: ParachainHost_availability_cores
|
|
316
316
|
**/
|
|
317
|
-
availabilityCores: GenericRuntimeApiMethod<Rv, () => Promise<Array<
|
|
317
|
+
availabilityCores: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesVstagingCoreState>>>;
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Yields the persisted validation data for the given `ParaId` along with an assumption that
|
|
@@ -408,7 +408,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
408
408
|
Rv,
|
|
409
409
|
(
|
|
410
410
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
411
|
-
) => Promise<
|
|
411
|
+
) => Promise<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 | undefined>
|
|
412
412
|
>;
|
|
413
413
|
|
|
414
414
|
/**
|
|
@@ -416,7 +416,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
416
416
|
*
|
|
417
417
|
* @callname: ParachainHost_candidate_events
|
|
418
418
|
**/
|
|
419
|
-
candidateEvents: GenericRuntimeApiMethod<Rv, () => Promise<Array<
|
|
419
|
+
candidateEvents: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesVstagingCandidateEvent>>>;
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
* Get all the pending inbound messages in the downward message queue for a para.
|
|
@@ -463,7 +463,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
463
463
|
*
|
|
464
464
|
* @callname: ParachainHost_on_chain_votes
|
|
465
465
|
**/
|
|
466
|
-
onChainVotes: GenericRuntimeApiMethod<Rv, () => Promise<
|
|
466
|
+
onChainVotes: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>>;
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
469
|
* Get the session info for the given session, if stored.
|
|
@@ -593,13 +593,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
593
593
|
* Returns the state of parachain backing for a given para.
|
|
594
594
|
*
|
|
595
595
|
* @callname: ParachainHost_para_backing_state
|
|
596
|
-
* @param {PolkadotParachainPrimitivesPrimitivesId}
|
|
596
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} __runtime_api_generated_name_0__
|
|
597
597
|
**/
|
|
598
598
|
paraBackingState: GenericRuntimeApiMethod<
|
|
599
599
|
Rv,
|
|
600
600
|
(
|
|
601
|
-
|
|
602
|
-
) => Promise<
|
|
601
|
+
runtimeApiGeneratedName0: PolkadotParachainPrimitivesPrimitivesId,
|
|
602
|
+
) => Promise<PolkadotPrimitivesVstagingAsyncBackingBackingState | undefined>
|
|
603
603
|
>;
|
|
604
604
|
|
|
605
605
|
/**
|
|
@@ -649,9 +649,18 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
649
649
|
**/
|
|
650
650
|
candidatesPendingAvailability: GenericRuntimeApiMethod<
|
|
651
651
|
Rv,
|
|
652
|
-
(
|
|
652
|
+
(
|
|
653
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
654
|
+
) => Promise<Array<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>
|
|
653
655
|
>;
|
|
654
656
|
|
|
657
|
+
/**
|
|
658
|
+
* Retrieve the maximum uncompressed code size.
|
|
659
|
+
*
|
|
660
|
+
* @callname: ParachainHost_validation_code_bomb_limit
|
|
661
|
+
**/
|
|
662
|
+
validationCodeBombLimit: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
|
|
663
|
+
|
|
655
664
|
/**
|
|
656
665
|
* Generic runtime api call
|
|
657
666
|
**/
|
|
@@ -1288,17 +1297,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1288
1297
|
**/
|
|
1289
1298
|
dryRunApi: {
|
|
1290
1299
|
/**
|
|
1291
|
-
* Dry run call.
|
|
1300
|
+
* Dry run call V2.
|
|
1292
1301
|
*
|
|
1293
1302
|
* @callname: DryRunApi_dry_run_call
|
|
1294
1303
|
* @param {StagingKusamaRuntimeOriginCaller} origin
|
|
1295
1304
|
* @param {StagingKusamaRuntimeRuntimeCallLike} call
|
|
1305
|
+
* @param {number} result_xcms_version
|
|
1296
1306
|
**/
|
|
1297
1307
|
dryRunCall: GenericRuntimeApiMethod<
|
|
1298
1308
|
Rv,
|
|
1299
1309
|
(
|
|
1300
1310
|
origin: StagingKusamaRuntimeOriginCaller,
|
|
1301
1311
|
call: StagingKusamaRuntimeRuntimeCallLike,
|
|
1312
|
+
resultXcmsVersion: number,
|
|
1302
1313
|
) => Promise<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>
|
|
1303
1314
|
>;
|
|
1304
1315
|
|
|
@@ -1383,9 +1394,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1383
1394
|
/**
|
|
1384
1395
|
* Returns the pending slash for a given pool member.
|
|
1385
1396
|
*
|
|
1386
|
-
* If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on
|
|
1387
|
-
* chain.
|
|
1388
|
-
*
|
|
1389
1397
|
* @callname: NominationPoolsApi_member_pending_slash
|
|
1390
1398
|
* @param {AccountId32Like} member
|
|
1391
1399
|
**/
|
|
@@ -1436,6 +1444,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1436
1444
|
**/
|
|
1437
1445
|
poolBalance: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<bigint>>;
|
|
1438
1446
|
|
|
1447
|
+
/**
|
|
1448
|
+
* Returns the bonded account and reward account associated with the pool_id.
|
|
1449
|
+
*
|
|
1450
|
+
* @callname: NominationPoolsApi_pool_accounts
|
|
1451
|
+
* @param {number} pool_id
|
|
1452
|
+
**/
|
|
1453
|
+
poolAccounts: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<[AccountId32, AccountId32]>>;
|
|
1454
|
+
|
|
1439
1455
|
/**
|
|
1440
1456
|
* Generic runtime api call
|
|
1441
1457
|
**/
|
|
@@ -1484,9 +1500,10 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1484
1500
|
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the
|
|
1485
1501
|
* storage.
|
|
1486
1502
|
*
|
|
1487
|
-
* In the case of a FRAME-based runtime, this function deserializes the full
|
|
1488
|
-
*
|
|
1489
|
-
* deserialization fails, an error
|
|
1503
|
+
* In the case of a FRAME-based runtime, this function deserializes the full
|
|
1504
|
+
* `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the
|
|
1505
|
+
* provided JSON blob is incorrect or incomplete or the deserialization fails, an error
|
|
1506
|
+
* is returned.
|
|
1490
1507
|
*
|
|
1491
1508
|
* Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no
|
|
1492
1509
|
* defaults will be used.
|
|
@@ -1500,7 +1517,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1500
1517
|
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
|
|
1501
1518
|
* `id`.
|
|
1502
1519
|
*
|
|
1503
|
-
* If `id` is `None` the function
|
|
1520
|
+
* If `id` is `None` the function should return JSON blob representation of the default
|
|
1504
1521
|
* `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default
|
|
1505
1522
|
* `RuntimeGenesisConfig`.
|
|
1506
1523
|
*
|
package/kusama/tx.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ import type {
|
|
|
52
52
|
PolkadotRuntimeCommonClaimsEcdsaSignature,
|
|
53
53
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
54
54
|
PalletVestingVestingInfo,
|
|
55
|
-
|
|
55
|
+
KusamaRuntimeConstantsProxyProxyType,
|
|
56
56
|
PalletMultisigTimepoint,
|
|
57
57
|
PalletElectionProviderMultiPhaseRawSolution,
|
|
58
58
|
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
|
|
@@ -71,7 +71,7 @@ import type {
|
|
|
71
71
|
PolkadotPrimitivesV8ExecutorParams,
|
|
72
72
|
PolkadotPrimitivesV8ApprovalVotingParams,
|
|
73
73
|
PolkadotPrimitivesV8SchedulerParams,
|
|
74
|
-
|
|
74
|
+
PolkadotPrimitivesVstagingInherentData,
|
|
75
75
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
76
76
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
77
77
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
@@ -85,7 +85,7 @@ import type {
|
|
|
85
85
|
PolkadotRuntimeParachainsAssignerCoretimePartsOf57600,
|
|
86
86
|
XcmVersionedXcm,
|
|
87
87
|
XcmVersionedAssets,
|
|
88
|
-
|
|
88
|
+
StagingXcmV5Location,
|
|
89
89
|
XcmV3WeightLimit,
|
|
90
90
|
StagingXcmExecutorAssetTransferTransferType,
|
|
91
91
|
XcmVersionedAssetId,
|
|
@@ -995,7 +995,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
995
995
|
/**
|
|
996
996
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
997
997
|
* period ends. If this leaves an amount actively bonded less than
|
|
998
|
-
*
|
|
998
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
999
999
|
*
|
|
1000
1000
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
1001
1001
|
*
|
|
@@ -3517,7 +3517,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
3517
3517
|
* Attest to a statement, needed to finalize the claims process.
|
|
3518
3518
|
*
|
|
3519
3519
|
* WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
|
|
3520
|
-
* `
|
|
3520
|
+
* `TransactionExtension`.
|
|
3521
3521
|
*
|
|
3522
3522
|
* Unsigned Validation:
|
|
3523
3523
|
* A call to attest is deemed valid if the sender has a `Preclaim` registered
|
|
@@ -5120,14 +5120,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5120
5120
|
* - `call`: The call to be made by the `real` account.
|
|
5121
5121
|
*
|
|
5122
5122
|
* @param {MultiAddressLike} real
|
|
5123
|
-
* @param {
|
|
5123
|
+
* @param {KusamaRuntimeConstantsProxyProxyType | undefined} forceProxyType
|
|
5124
5124
|
* @param {StagingKusamaRuntimeRuntimeCallLike} call
|
|
5125
5125
|
**/
|
|
5126
5126
|
proxy: GenericTxCall<
|
|
5127
5127
|
Rv,
|
|
5128
5128
|
(
|
|
5129
5129
|
real: MultiAddressLike,
|
|
5130
|
-
forceProxyType:
|
|
5130
|
+
forceProxyType: KusamaRuntimeConstantsProxyProxyType | undefined,
|
|
5131
5131
|
call: StagingKusamaRuntimeRuntimeCallLike,
|
|
5132
5132
|
) => ChainSubmittableExtrinsic<
|
|
5133
5133
|
Rv,
|
|
@@ -5137,7 +5137,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5137
5137
|
name: 'Proxy';
|
|
5138
5138
|
params: {
|
|
5139
5139
|
real: MultiAddressLike;
|
|
5140
|
-
forceProxyType:
|
|
5140
|
+
forceProxyType: KusamaRuntimeConstantsProxyProxyType | undefined;
|
|
5141
5141
|
call: StagingKusamaRuntimeRuntimeCallLike;
|
|
5142
5142
|
};
|
|
5143
5143
|
};
|
|
@@ -5157,14 +5157,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5157
5157
|
* zero.
|
|
5158
5158
|
*
|
|
5159
5159
|
* @param {MultiAddressLike} delegate
|
|
5160
|
-
* @param {
|
|
5160
|
+
* @param {KusamaRuntimeConstantsProxyProxyType} proxyType
|
|
5161
5161
|
* @param {number} delay
|
|
5162
5162
|
**/
|
|
5163
5163
|
addProxy: GenericTxCall<
|
|
5164
5164
|
Rv,
|
|
5165
5165
|
(
|
|
5166
5166
|
delegate: MultiAddressLike,
|
|
5167
|
-
proxyType:
|
|
5167
|
+
proxyType: KusamaRuntimeConstantsProxyProxyType,
|
|
5168
5168
|
delay: number,
|
|
5169
5169
|
) => ChainSubmittableExtrinsic<
|
|
5170
5170
|
Rv,
|
|
@@ -5172,7 +5172,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5172
5172
|
pallet: 'Proxy';
|
|
5173
5173
|
palletCall: {
|
|
5174
5174
|
name: 'AddProxy';
|
|
5175
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
5175
|
+
params: { delegate: MultiAddressLike; proxyType: KusamaRuntimeConstantsProxyProxyType; delay: number };
|
|
5176
5176
|
};
|
|
5177
5177
|
}
|
|
5178
5178
|
>
|
|
@@ -5188,14 +5188,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5188
5188
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
5189
5189
|
*
|
|
5190
5190
|
* @param {MultiAddressLike} delegate
|
|
5191
|
-
* @param {
|
|
5191
|
+
* @param {KusamaRuntimeConstantsProxyProxyType} proxyType
|
|
5192
5192
|
* @param {number} delay
|
|
5193
5193
|
**/
|
|
5194
5194
|
removeProxy: GenericTxCall<
|
|
5195
5195
|
Rv,
|
|
5196
5196
|
(
|
|
5197
5197
|
delegate: MultiAddressLike,
|
|
5198
|
-
proxyType:
|
|
5198
|
+
proxyType: KusamaRuntimeConstantsProxyProxyType,
|
|
5199
5199
|
delay: number,
|
|
5200
5200
|
) => ChainSubmittableExtrinsic<
|
|
5201
5201
|
Rv,
|
|
@@ -5203,7 +5203,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5203
5203
|
pallet: 'Proxy';
|
|
5204
5204
|
palletCall: {
|
|
5205
5205
|
name: 'RemoveProxy';
|
|
5206
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
5206
|
+
params: { delegate: MultiAddressLike; proxyType: KusamaRuntimeConstantsProxyProxyType; delay: number };
|
|
5207
5207
|
};
|
|
5208
5208
|
}
|
|
5209
5209
|
>
|
|
@@ -5251,14 +5251,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5251
5251
|
*
|
|
5252
5252
|
* Fails if there are insufficient funds to pay for deposit.
|
|
5253
5253
|
*
|
|
5254
|
-
* @param {
|
|
5254
|
+
* @param {KusamaRuntimeConstantsProxyProxyType} proxyType
|
|
5255
5255
|
* @param {number} delay
|
|
5256
5256
|
* @param {number} index
|
|
5257
5257
|
**/
|
|
5258
5258
|
createPure: GenericTxCall<
|
|
5259
5259
|
Rv,
|
|
5260
5260
|
(
|
|
5261
|
-
proxyType:
|
|
5261
|
+
proxyType: KusamaRuntimeConstantsProxyProxyType,
|
|
5262
5262
|
delay: number,
|
|
5263
5263
|
index: number,
|
|
5264
5264
|
) => ChainSubmittableExtrinsic<
|
|
@@ -5267,7 +5267,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5267
5267
|
pallet: 'Proxy';
|
|
5268
5268
|
palletCall: {
|
|
5269
5269
|
name: 'CreatePure';
|
|
5270
|
-
params: { proxyType:
|
|
5270
|
+
params: { proxyType: KusamaRuntimeConstantsProxyProxyType; delay: number; index: number };
|
|
5271
5271
|
};
|
|
5272
5272
|
}
|
|
5273
5273
|
>
|
|
@@ -5292,7 +5292,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5292
5292
|
* account whose `pure` call has corresponding parameters.
|
|
5293
5293
|
*
|
|
5294
5294
|
* @param {MultiAddressLike} spawner
|
|
5295
|
-
* @param {
|
|
5295
|
+
* @param {KusamaRuntimeConstantsProxyProxyType} proxyType
|
|
5296
5296
|
* @param {number} index
|
|
5297
5297
|
* @param {number} height
|
|
5298
5298
|
* @param {number} extIndex
|
|
@@ -5301,7 +5301,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5301
5301
|
Rv,
|
|
5302
5302
|
(
|
|
5303
5303
|
spawner: MultiAddressLike,
|
|
5304
|
-
proxyType:
|
|
5304
|
+
proxyType: KusamaRuntimeConstantsProxyProxyType,
|
|
5305
5305
|
index: number,
|
|
5306
5306
|
height: number,
|
|
5307
5307
|
extIndex: number,
|
|
@@ -5313,7 +5313,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5313
5313
|
name: 'KillPure';
|
|
5314
5314
|
params: {
|
|
5315
5315
|
spawner: MultiAddressLike;
|
|
5316
|
-
proxyType:
|
|
5316
|
+
proxyType: KusamaRuntimeConstantsProxyProxyType;
|
|
5317
5317
|
index: number;
|
|
5318
5318
|
height: number;
|
|
5319
5319
|
extIndex: number;
|
|
@@ -5439,7 +5439,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5439
5439
|
*
|
|
5440
5440
|
* @param {MultiAddressLike} delegate
|
|
5441
5441
|
* @param {MultiAddressLike} real
|
|
5442
|
-
* @param {
|
|
5442
|
+
* @param {KusamaRuntimeConstantsProxyProxyType | undefined} forceProxyType
|
|
5443
5443
|
* @param {StagingKusamaRuntimeRuntimeCallLike} call
|
|
5444
5444
|
**/
|
|
5445
5445
|
proxyAnnounced: GenericTxCall<
|
|
@@ -5447,7 +5447,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5447
5447
|
(
|
|
5448
5448
|
delegate: MultiAddressLike,
|
|
5449
5449
|
real: MultiAddressLike,
|
|
5450
|
-
forceProxyType:
|
|
5450
|
+
forceProxyType: KusamaRuntimeConstantsProxyProxyType | undefined,
|
|
5451
5451
|
call: StagingKusamaRuntimeRuntimeCallLike,
|
|
5452
5452
|
) => ChainSubmittableExtrinsic<
|
|
5453
5453
|
Rv,
|
|
@@ -5458,7 +5458,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5458
5458
|
params: {
|
|
5459
5459
|
delegate: MultiAddressLike;
|
|
5460
5460
|
real: MultiAddressLike;
|
|
5461
|
-
forceProxyType:
|
|
5461
|
+
forceProxyType: KusamaRuntimeConstantsProxyProxyType | undefined;
|
|
5462
5462
|
call: StagingKusamaRuntimeRuntimeCallLike;
|
|
5463
5463
|
};
|
|
5464
5464
|
};
|
|
@@ -6091,6 +6091,41 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6091
6091
|
>
|
|
6092
6092
|
>;
|
|
6093
6093
|
|
|
6094
|
+
/**
|
|
6095
|
+
* Approve bountry and propose a curator simultaneously.
|
|
6096
|
+
* This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
|
|
6097
|
+
*
|
|
6098
|
+
* May only be called from `T::SpendOrigin`.
|
|
6099
|
+
*
|
|
6100
|
+
* - `bounty_id`: Bounty ID to approve.
|
|
6101
|
+
* - `curator`: The curator account whom will manage this bounty.
|
|
6102
|
+
* - `fee`: The curator fee.
|
|
6103
|
+
*
|
|
6104
|
+
* ## Complexity
|
|
6105
|
+
* - O(1).
|
|
6106
|
+
*
|
|
6107
|
+
* @param {number} bountyId
|
|
6108
|
+
* @param {MultiAddressLike} curator
|
|
6109
|
+
* @param {bigint} fee
|
|
6110
|
+
**/
|
|
6111
|
+
approveBountyWithCurator: GenericTxCall<
|
|
6112
|
+
Rv,
|
|
6113
|
+
(
|
|
6114
|
+
bountyId: number,
|
|
6115
|
+
curator: MultiAddressLike,
|
|
6116
|
+
fee: bigint,
|
|
6117
|
+
) => ChainSubmittableExtrinsic<
|
|
6118
|
+
Rv,
|
|
6119
|
+
{
|
|
6120
|
+
pallet: 'Bounties';
|
|
6121
|
+
palletCall: {
|
|
6122
|
+
name: 'ApproveBountyWithCurator';
|
|
6123
|
+
params: { bountyId: number; curator: MultiAddressLike; fee: bigint };
|
|
6124
|
+
};
|
|
6125
|
+
}
|
|
6126
|
+
>
|
|
6127
|
+
>;
|
|
6128
|
+
|
|
6094
6129
|
/**
|
|
6095
6130
|
* Generic pallet tx call
|
|
6096
6131
|
**/
|
|
@@ -7097,9 +7132,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7097
7132
|
**/
|
|
7098
7133
|
nominationPools: {
|
|
7099
7134
|
/**
|
|
7100
|
-
* Stake funds with a pool. The amount to bond is
|
|
7101
|
-
*
|
|
7102
|
-
* increases the pool's bond.
|
|
7135
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
|
7136
|
+
* account and immediately increases the pools bond.
|
|
7103
7137
|
*
|
|
7104
7138
|
* The method of transferring the amount to the pool account is determined by
|
|
7105
7139
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
@@ -7841,10 +7875,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7841
7875
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
7842
7876
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
7843
7877
|
*
|
|
7844
|
-
*
|
|
7845
|
-
*
|
|
7846
|
-
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
|
7847
|
-
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
|
7878
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
|
7879
|
+
* slash to be applied, caller may be rewarded with the part of the slash.
|
|
7848
7880
|
*
|
|
7849
7881
|
* @param {MultiAddressLike} memberAccount
|
|
7850
7882
|
**/
|
|
@@ -8177,25 +8209,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8177
8209
|
>
|
|
8178
8210
|
>;
|
|
8179
8211
|
|
|
8180
|
-
/**
|
|
8181
|
-
* Set the max number of times a claim may timeout on a core before it is abandoned
|
|
8182
|
-
*
|
|
8183
|
-
* @param {number} new_
|
|
8184
|
-
**/
|
|
8185
|
-
setMaxAvailabilityTimeouts: GenericTxCall<
|
|
8186
|
-
Rv,
|
|
8187
|
-
(new_: number) => ChainSubmittableExtrinsic<
|
|
8188
|
-
Rv,
|
|
8189
|
-
{
|
|
8190
|
-
pallet: 'Configuration';
|
|
8191
|
-
palletCall: {
|
|
8192
|
-
name: 'SetMaxAvailabilityTimeouts';
|
|
8193
|
-
params: { new: number };
|
|
8194
|
-
};
|
|
8195
|
-
}
|
|
8196
|
-
>
|
|
8197
|
-
>;
|
|
8198
|
-
|
|
8199
8212
|
/**
|
|
8200
8213
|
* Set the parachain validator-group rotation frequency
|
|
8201
8214
|
*
|
|
@@ -8868,25 +8881,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8868
8881
|
>
|
|
8869
8882
|
>;
|
|
8870
8883
|
|
|
8871
|
-
/**
|
|
8872
|
-
* Set the on demand (parathreads) ttl in the claimqueue.
|
|
8873
|
-
*
|
|
8874
|
-
* @param {number} new_
|
|
8875
|
-
**/
|
|
8876
|
-
setOnDemandTtl: GenericTxCall<
|
|
8877
|
-
Rv,
|
|
8878
|
-
(new_: number) => ChainSubmittableExtrinsic<
|
|
8879
|
-
Rv,
|
|
8880
|
-
{
|
|
8881
|
-
pallet: 'Configuration';
|
|
8882
|
-
palletCall: {
|
|
8883
|
-
name: 'SetOnDemandTtl';
|
|
8884
|
-
params: { new: number };
|
|
8885
|
-
};
|
|
8886
|
-
}
|
|
8887
|
-
>
|
|
8888
|
-
>;
|
|
8889
|
-
|
|
8890
8884
|
/**
|
|
8891
8885
|
* Set the minimum backing votes threshold.
|
|
8892
8886
|
*
|
|
@@ -8997,17 +8991,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8997
8991
|
/**
|
|
8998
8992
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
8999
8993
|
*
|
|
9000
|
-
* @param {
|
|
8994
|
+
* @param {PolkadotPrimitivesVstagingInherentData} data
|
|
9001
8995
|
**/
|
|
9002
8996
|
enter: GenericTxCall<
|
|
9003
8997
|
Rv,
|
|
9004
|
-
(data:
|
|
8998
|
+
(data: PolkadotPrimitivesVstagingInherentData) => ChainSubmittableExtrinsic<
|
|
9005
8999
|
Rv,
|
|
9006
9000
|
{
|
|
9007
9001
|
pallet: 'ParaInherent';
|
|
9008
9002
|
palletCall: {
|
|
9009
9003
|
name: 'Enter';
|
|
9010
|
-
params: { data:
|
|
9004
|
+
params: { data: PolkadotPrimitivesVstagingInherentData };
|
|
9011
9005
|
};
|
|
9012
9006
|
}
|
|
9013
9007
|
>
|
|
@@ -10805,13 +10799,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
10805
10799
|
* - `location`: The destination that is being described.
|
|
10806
10800
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
10807
10801
|
*
|
|
10808
|
-
* @param {
|
|
10802
|
+
* @param {StagingXcmV5Location} location
|
|
10809
10803
|
* @param {number} version
|
|
10810
10804
|
**/
|
|
10811
10805
|
forceXcmVersion: GenericTxCall<
|
|
10812
10806
|
Rv,
|
|
10813
10807
|
(
|
|
10814
|
-
location:
|
|
10808
|
+
location: StagingXcmV5Location,
|
|
10815
10809
|
version: number,
|
|
10816
10810
|
) => ChainSubmittableExtrinsic<
|
|
10817
10811
|
Rv,
|
|
@@ -10819,7 +10813,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
10819
10813
|
pallet: 'XcmPallet';
|
|
10820
10814
|
palletCall: {
|
|
10821
10815
|
name: 'ForceXcmVersion';
|
|
10822
|
-
params: { location:
|
|
10816
|
+
params: { location: StagingXcmV5Location; version: number };
|
|
10823
10817
|
};
|
|
10824
10818
|
}
|
|
10825
10819
|
>
|