@polkadot/api-augment 9.10.2 → 9.10.4
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 +83 -50
- package/kusama/errors.d.ts +105 -39
- package/kusama/events.d.ts +173 -42
- package/kusama/query.d.ts +89 -33
- package/kusama/tx.d.ts +245 -56
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/events.d.ts +11 -2
- package/polkadot/query.d.ts +13 -7
- package/polkadot/tx.d.ts +14 -2
- package/substrate/consts.d.ts +96 -50
- package/substrate/errors.d.ts +103 -39
- package/substrate/events.d.ts +138 -43
- package/substrate/query.d.ts +61 -33
- package/substrate/tx.d.ts +133 -62
package/substrate/tx.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
|
|
|
3
3
|
import type { Data } from '@polkadot/types';
|
|
4
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
|
-
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent
|
|
7
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMessageQueueMockHelpersMessageOrigin, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } 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>;
|
|
@@ -1310,7 +1310,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1310
1310
|
* Approve a bounty proposal. At a later time, the bounty will be funded and become active
|
|
1311
1311
|
* and the original deposit will be returned.
|
|
1312
1312
|
*
|
|
1313
|
-
* May only be called from `T::
|
|
1313
|
+
* May only be called from `T::SpendOrigin`.
|
|
1314
1314
|
*
|
|
1315
1315
|
* # <weight>
|
|
1316
1316
|
* - O(1).
|
|
@@ -1397,7 +1397,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Assign a curator to a funded bounty.
|
|
1399
1399
|
*
|
|
1400
|
-
* May only be called from `T::
|
|
1400
|
+
* May only be called from `T::SpendOrigin`.
|
|
1401
1401
|
*
|
|
1402
1402
|
* # <weight>
|
|
1403
1403
|
* - O(1).
|
|
@@ -1937,6 +1937,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1937
1937
|
Standard: any;
|
|
1938
1938
|
} | {
|
|
1939
1939
|
Split: any;
|
|
1940
|
+
} | {
|
|
1941
|
+
SplitAbstain: any;
|
|
1940
1942
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletConvictionVotingVoteAccountVote]>;
|
|
1941
1943
|
/**
|
|
1942
1944
|
* Generic tx
|
|
@@ -2703,57 +2705,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2703
2705
|
**/
|
|
2704
2706
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2705
2707
|
};
|
|
2706
|
-
gilt: {
|
|
2707
|
-
/**
|
|
2708
|
-
* Place a bid for a gilt to be issued.
|
|
2709
|
-
*
|
|
2710
|
-
* Origin must be Signed, and account must have at least `amount` in free balance.
|
|
2711
|
-
*
|
|
2712
|
-
* - `amount`: The amount of the bid; these funds will be reserved. If the bid is
|
|
2713
|
-
* successfully elevated into an issued gilt, then these funds will continue to be
|
|
2714
|
-
* reserved until the gilt expires. Must be at least `MinFreeze`.
|
|
2715
|
-
* - `duration`: The number of periods for which the funds will be locked if the gilt is
|
|
2716
|
-
* issued. It will expire only after this period has elapsed after the point of issuance.
|
|
2717
|
-
* Must be greater than 1 and no more than `QueueCount`.
|
|
2718
|
-
*
|
|
2719
|
-
* Complexities:
|
|
2720
|
-
* - `Queues[duration].len()` (just take max).
|
|
2721
|
-
**/
|
|
2722
|
-
placeBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
2723
|
-
/**
|
|
2724
|
-
* Retract a previously placed bid.
|
|
2725
|
-
*
|
|
2726
|
-
* Origin must be Signed, and the account should have previously issued a still-active bid
|
|
2727
|
-
* of `amount` for `duration`.
|
|
2728
|
-
*
|
|
2729
|
-
* - `amount`: The amount of the previous bid.
|
|
2730
|
-
* - `duration`: The duration of the previous bid.
|
|
2731
|
-
**/
|
|
2732
|
-
retractBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
2733
|
-
/**
|
|
2734
|
-
* Set target proportion of gilt-funds.
|
|
2735
|
-
*
|
|
2736
|
-
* Origin must be `AdminOrigin`.
|
|
2737
|
-
*
|
|
2738
|
-
* - `target`: The target proportion of effective issued funds that should be under gilts
|
|
2739
|
-
* at any one time.
|
|
2740
|
-
**/
|
|
2741
|
-
setTarget: AugmentedSubmittable<(target: Compact<Perquintill> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<Perquintill>]>;
|
|
2742
|
-
/**
|
|
2743
|
-
* Remove an active but expired gilt. Reserved funds under gilt are freed and balance is
|
|
2744
|
-
* adjusted to ensure that the funds grow or shrink to maintain the equivalent proportion
|
|
2745
|
-
* of effective total issued funds.
|
|
2746
|
-
*
|
|
2747
|
-
* Origin must be Signed and the account must be the owner of the gilt of the given index.
|
|
2748
|
-
*
|
|
2749
|
-
* - `index`: The index of the gilt to be thawed.
|
|
2750
|
-
**/
|
|
2751
|
-
thaw: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
2752
|
-
/**
|
|
2753
|
-
* Generic tx
|
|
2754
|
-
**/
|
|
2755
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2756
|
-
};
|
|
2757
2708
|
grandpa: {
|
|
2758
2709
|
/**
|
|
2759
2710
|
* Note that the current authority set of the GRANDPA finality gadget has stalled.
|
|
@@ -3415,6 +3366,44 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3415
3366
|
**/
|
|
3416
3367
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3417
3368
|
};
|
|
3369
|
+
messageQueue: {
|
|
3370
|
+
/**
|
|
3371
|
+
* Execute an overweight message.
|
|
3372
|
+
*
|
|
3373
|
+
* - `origin`: Must be `Signed`.
|
|
3374
|
+
* - `message_origin`: The origin from which the message to be executed arrived.
|
|
3375
|
+
* - `page`: The page in the queue in which the message to be executed is sitting.
|
|
3376
|
+
* - `index`: The index into the queue of the message to be executed.
|
|
3377
|
+
* - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
|
|
3378
|
+
* of the message.
|
|
3379
|
+
*
|
|
3380
|
+
* Benchmark complexity considerations: O(index + weight_limit).
|
|
3381
|
+
**/
|
|
3382
|
+
executeOverweight: AugmentedSubmittable<(messageOrigin: PalletMessageQueueMockHelpersMessageOrigin | {
|
|
3383
|
+
Here: any;
|
|
3384
|
+
} | {
|
|
3385
|
+
There: any;
|
|
3386
|
+
} | {
|
|
3387
|
+
Everywhere: any;
|
|
3388
|
+
} | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
|
|
3389
|
+
refTime?: any;
|
|
3390
|
+
proofSize?: any;
|
|
3391
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletMessageQueueMockHelpersMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>;
|
|
3392
|
+
/**
|
|
3393
|
+
* Remove a page which has no more messages remaining to be processed or is stale.
|
|
3394
|
+
**/
|
|
3395
|
+
reapPage: AugmentedSubmittable<(messageOrigin: PalletMessageQueueMockHelpersMessageOrigin | {
|
|
3396
|
+
Here: any;
|
|
3397
|
+
} | {
|
|
3398
|
+
There: any;
|
|
3399
|
+
} | {
|
|
3400
|
+
Everywhere: any;
|
|
3401
|
+
} | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletMessageQueueMockHelpersMessageOrigin, u32]>;
|
|
3402
|
+
/**
|
|
3403
|
+
* Generic tx
|
|
3404
|
+
**/
|
|
3405
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3406
|
+
};
|
|
3418
3407
|
multisig: {
|
|
3419
3408
|
/**
|
|
3420
3409
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
@@ -3570,6 +3559,53 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3570
3559
|
**/
|
|
3571
3560
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3572
3561
|
};
|
|
3562
|
+
nis: {
|
|
3563
|
+
/**
|
|
3564
|
+
* Ensure we have sufficient funding for all potential payouts.
|
|
3565
|
+
*
|
|
3566
|
+
* - `origin`: Must be accepted by `FundOrigin`.
|
|
3567
|
+
**/
|
|
3568
|
+
fundDeficit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3569
|
+
/**
|
|
3570
|
+
* Place a bid.
|
|
3571
|
+
*
|
|
3572
|
+
* Origin must be Signed, and account must have at least `amount` in free balance.
|
|
3573
|
+
*
|
|
3574
|
+
* - `amount`: The amount of the bid; these funds will be reserved, and if/when
|
|
3575
|
+
* consolidated, removed. Must be at least `MinBid`.
|
|
3576
|
+
* - `duration`: The number of periods before which the newly consolidated bid may be
|
|
3577
|
+
* thawed. Must be greater than 1 and no more than `QueueCount`.
|
|
3578
|
+
*
|
|
3579
|
+
* Complexities:
|
|
3580
|
+
* - `Queues[duration].len()` (just take max).
|
|
3581
|
+
**/
|
|
3582
|
+
placeBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
3583
|
+
/**
|
|
3584
|
+
* Retract a previously placed bid.
|
|
3585
|
+
*
|
|
3586
|
+
* Origin must be Signed, and the account should have previously issued a still-active bid
|
|
3587
|
+
* of `amount` for `duration`.
|
|
3588
|
+
*
|
|
3589
|
+
* - `amount`: The amount of the previous bid.
|
|
3590
|
+
* - `duration`: The duration of the previous bid.
|
|
3591
|
+
**/
|
|
3592
|
+
retractBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
3593
|
+
/**
|
|
3594
|
+
* Reduce or remove an outstanding receipt, placing the according proportion of funds into
|
|
3595
|
+
* the account of the owner.
|
|
3596
|
+
*
|
|
3597
|
+
* - `origin`: Must be Signed and the account must be the owner of the receipt `index` as
|
|
3598
|
+
* well as any fungible counterpart.
|
|
3599
|
+
* - `index`: The index of the receipt.
|
|
3600
|
+
* - `portion`: If `Some`, then only the given portion of the receipt should be thawed. If
|
|
3601
|
+
* `None`, then all of it should be.
|
|
3602
|
+
**/
|
|
3603
|
+
thaw: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, portion: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u128>]>;
|
|
3604
|
+
/**
|
|
3605
|
+
* Generic tx
|
|
3606
|
+
**/
|
|
3607
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3608
|
+
};
|
|
3573
3609
|
nominationPools: {
|
|
3574
3610
|
/**
|
|
3575
3611
|
* Bond `extra` more funds from `origin` into the pool to which they already belong.
|
|
@@ -3813,9 +3849,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3813
3849
|
* # Note
|
|
3814
3850
|
*
|
|
3815
3851
|
* If there are too many unlocking chunks to unbond with the pool account,
|
|
3816
|
-
* [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.
|
|
3817
|
-
*
|
|
3818
|
-
*
|
|
3852
|
+
* [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.
|
|
3853
|
+
* The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]
|
|
3854
|
+
* to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks
|
|
3855
|
+
* are available). However, it may not be possible to release the current unlocking chunks,
|
|
3856
|
+
* in which case, the result of this call will likely be the `NoMoreChunks` error from the
|
|
3857
|
+
* staking system.
|
|
3819
3858
|
**/
|
|
3820
3859
|
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
3821
3860
|
Id: any;
|
|
@@ -4338,6 +4377,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4338
4377
|
* Emits `DecisionDepositRefunded`.
|
|
4339
4378
|
**/
|
|
4340
4379
|
refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4380
|
+
/**
|
|
4381
|
+
* Refund the Submission Deposit for a closed referendum back to the depositor.
|
|
4382
|
+
*
|
|
4383
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
4384
|
+
* - `index`: The index of a closed referendum whose Submission Deposit has not yet been
|
|
4385
|
+
* refunded.
|
|
4386
|
+
*
|
|
4387
|
+
* Emits `SubmissionDepositRefunded`.
|
|
4388
|
+
**/
|
|
4389
|
+
refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4341
4390
|
/**
|
|
4342
4391
|
* Propose a referendum on a privileged action.
|
|
4343
4392
|
*
|
|
@@ -4650,6 +4699,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4650
4699
|
* Emits `DecisionDepositRefunded`.
|
|
4651
4700
|
**/
|
|
4652
4701
|
refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4702
|
+
/**
|
|
4703
|
+
* Refund the Submission Deposit for a closed referendum back to the depositor.
|
|
4704
|
+
*
|
|
4705
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
4706
|
+
* - `index`: The index of a closed referendum whose Submission Deposit has not yet been
|
|
4707
|
+
* refunded.
|
|
4708
|
+
*
|
|
4709
|
+
* Emits `SubmissionDepositRefunded`.
|
|
4710
|
+
**/
|
|
4711
|
+
refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4653
4712
|
/**
|
|
4654
4713
|
* Propose a referendum on a privileged action.
|
|
4655
4714
|
*
|
|
@@ -5603,8 +5662,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5603
5662
|
* the funds out of management ready for transfer.
|
|
5604
5663
|
*
|
|
5605
5664
|
* No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)
|
|
5606
|
-
* can co-exists at the same time.
|
|
5607
|
-
*
|
|
5665
|
+
* can co-exists at the same time. If there are no unlocking chunks slots available
|
|
5666
|
+
* [`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).
|
|
5608
5667
|
*
|
|
5609
5668
|
* If a user encounters the `InsufficientBond` error when calling this extrinsic,
|
|
5610
5669
|
* they should call `chill` first in order to free up their bonded funds.
|
|
@@ -7194,6 +7253,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7194
7253
|
* # </weight>
|
|
7195
7254
|
**/
|
|
7196
7255
|
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
7256
|
+
/**
|
|
7257
|
+
* Dispatch a function call with a specified weight.
|
|
7258
|
+
*
|
|
7259
|
+
* This function does not check the weight of the call, and instead allows the
|
|
7260
|
+
* Root origin to specify the weight of the call.
|
|
7261
|
+
*
|
|
7262
|
+
* The dispatch origin for this call must be _Root_.
|
|
7263
|
+
**/
|
|
7264
|
+
withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
|
|
7265
|
+
refTime?: any;
|
|
7266
|
+
proofSize?: any;
|
|
7267
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
7197
7268
|
/**
|
|
7198
7269
|
* Generic tx
|
|
7199
7270
|
**/
|
|
@@ -7403,10 +7474,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7403
7474
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
7404
7475
|
};
|
|
7405
7476
|
whitelist: {
|
|
7406
|
-
dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callWeightWitness: SpWeightsWeightV2Weight | {
|
|
7477
|
+
dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callEncodedLen: u32 | AnyNumber | Uint8Array, callWeightWitness: SpWeightsWeightV2Weight | {
|
|
7407
7478
|
refTime?: any;
|
|
7408
7479
|
proofSize?: any;
|
|
7409
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpWeightsWeightV2Weight]>;
|
|
7480
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, SpWeightsWeightV2Weight]>;
|
|
7410
7481
|
dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
|
|
7411
7482
|
removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
7412
7483
|
whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|