@polkadot/api-augment 10.12.1 → 10.12.3
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 +66 -52
- package/kusama/errors.d.ts +239 -25
- package/kusama/events.d.ts +325 -92
- package/kusama/query.d.ts +247 -90
- package/kusama/runtime.d.ts +2 -120
- package/kusama/tx.d.ts +402 -132
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +68 -47
- package/polkadot/errors.d.ts +186 -24
- package/polkadot/events.d.ts +267 -85
- package/polkadot/query.d.ts +276 -87
- package/polkadot/runtime.d.ts +16 -1
- package/polkadot/tx.d.ts +355 -90
- package/substrate/consts.d.ts +51 -19
- package/substrate/errors.d.ts +94 -34
- package/substrate/events.d.ts +137 -34
- package/substrate/query.d.ts +136 -12
- package/substrate/runtime.d.ts +31 -4
- package/substrate/tx.d.ts +204 -29
package/substrate/tx.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ 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
6
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType,
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, 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>;
|
|
@@ -177,55 +177,55 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
177
177
|
/**
|
|
178
178
|
* See [`Pallet::add_liquidity`].
|
|
179
179
|
**/
|
|
180
|
-
addLiquidity: AugmentedSubmittable<(asset1:
|
|
180
|
+
addLiquidity: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
181
181
|
Native: any;
|
|
182
182
|
} | {
|
|
183
|
-
|
|
184
|
-
} | string | Uint8Array, asset2:
|
|
183
|
+
WithId: any;
|
|
184
|
+
} | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
185
185
|
Native: any;
|
|
186
186
|
} | {
|
|
187
|
-
|
|
188
|
-
} | string | Uint8Array, amount1Desired: u128 | AnyNumber | Uint8Array, amount2Desired: u128 | AnyNumber | Uint8Array, amount1Min: u128 | AnyNumber | Uint8Array, amount2Min: u128 | AnyNumber | Uint8Array, mintTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
187
|
+
WithId: any;
|
|
188
|
+
} | string | Uint8Array, amount1Desired: u128 | AnyNumber | Uint8Array, amount2Desired: u128 | AnyNumber | Uint8Array, amount1Min: u128 | AnyNumber | Uint8Array, amount2Min: u128 | AnyNumber | Uint8Array, mintTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId, u128, u128, u128, u128, AccountId32]>;
|
|
189
189
|
/**
|
|
190
190
|
* See [`Pallet::create_pool`].
|
|
191
191
|
**/
|
|
192
|
-
createPool: AugmentedSubmittable<(asset1:
|
|
192
|
+
createPool: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
193
193
|
Native: any;
|
|
194
194
|
} | {
|
|
195
|
-
|
|
196
|
-
} | string | Uint8Array, asset2:
|
|
195
|
+
WithId: any;
|
|
196
|
+
} | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
197
197
|
Native: any;
|
|
198
198
|
} | {
|
|
199
|
-
|
|
200
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
199
|
+
WithId: any;
|
|
200
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
|
|
201
201
|
/**
|
|
202
202
|
* See [`Pallet::remove_liquidity`].
|
|
203
203
|
**/
|
|
204
|
-
removeLiquidity: AugmentedSubmittable<(asset1:
|
|
204
|
+
removeLiquidity: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
205
205
|
Native: any;
|
|
206
206
|
} | {
|
|
207
|
-
|
|
208
|
-
} | string | Uint8Array, asset2:
|
|
207
|
+
WithId: any;
|
|
208
|
+
} | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
209
209
|
Native: any;
|
|
210
210
|
} | {
|
|
211
|
-
|
|
212
|
-
} | string | Uint8Array, lpTokenBurn: u128 | AnyNumber | Uint8Array, amount1MinReceive: u128 | AnyNumber | Uint8Array, amount2MinReceive: u128 | AnyNumber | Uint8Array, withdrawTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
211
|
+
WithId: any;
|
|
212
|
+
} | string | Uint8Array, lpTokenBurn: u128 | AnyNumber | Uint8Array, amount1MinReceive: u128 | AnyNumber | Uint8Array, amount2MinReceive: u128 | AnyNumber | Uint8Array, withdrawTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId, u128, u128, u128, AccountId32]>;
|
|
213
213
|
/**
|
|
214
214
|
* See [`Pallet::swap_exact_tokens_for_tokens`].
|
|
215
215
|
**/
|
|
216
|
-
swapExactTokensForTokens: AugmentedSubmittable<(path: Vec<
|
|
216
|
+
swapExactTokensForTokens: AugmentedSubmittable<(path: Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId> | (FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
217
217
|
Native: any;
|
|
218
218
|
} | {
|
|
219
|
-
|
|
220
|
-
} | string | Uint8Array)[], amountIn: u128 | AnyNumber | Uint8Array, amountOutMin: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<
|
|
219
|
+
WithId: any;
|
|
220
|
+
} | string | Uint8Array)[], amountIn: u128 | AnyNumber | Uint8Array, amountOutMin: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId>, u128, u128, AccountId32, bool]>;
|
|
221
221
|
/**
|
|
222
222
|
* See [`Pallet::swap_tokens_for_exact_tokens`].
|
|
223
223
|
**/
|
|
224
|
-
swapTokensForExactTokens: AugmentedSubmittable<(path: Vec<
|
|
224
|
+
swapTokensForExactTokens: AugmentedSubmittable<(path: Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId> | (FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
225
225
|
Native: any;
|
|
226
226
|
} | {
|
|
227
|
-
|
|
228
|
-
} | string | Uint8Array)[], amountOut: u128 | AnyNumber | Uint8Array, amountInMax: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<
|
|
227
|
+
WithId: any;
|
|
228
|
+
} | string | Uint8Array)[], amountOut: u128 | AnyNumber | Uint8Array, amountInMax: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId>, u128, u128, AccountId32, bool]>;
|
|
229
229
|
/**
|
|
230
230
|
* Generic tx
|
|
231
231
|
**/
|
|
@@ -692,6 +692,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
692
692
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
693
693
|
};
|
|
694
694
|
balances: {
|
|
695
|
+
/**
|
|
696
|
+
* See [`Pallet::force_adjust_total_issuance`].
|
|
697
|
+
**/
|
|
698
|
+
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
|
695
699
|
/**
|
|
696
700
|
* See [`Pallet::force_set_balance`].
|
|
697
701
|
**/
|
|
@@ -795,6 +799,38 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
795
799
|
**/
|
|
796
800
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
797
801
|
};
|
|
802
|
+
beefy: {
|
|
803
|
+
/**
|
|
804
|
+
* See [`Pallet::report_equivocation`].
|
|
805
|
+
**/
|
|
806
|
+
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | {
|
|
807
|
+
first?: any;
|
|
808
|
+
second?: any;
|
|
809
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
810
|
+
session?: any;
|
|
811
|
+
trieNodes?: any;
|
|
812
|
+
validatorCount?: any;
|
|
813
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
|
|
814
|
+
/**
|
|
815
|
+
* See [`Pallet::report_equivocation_unsigned`].
|
|
816
|
+
**/
|
|
817
|
+
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | {
|
|
818
|
+
first?: any;
|
|
819
|
+
second?: any;
|
|
820
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
821
|
+
session?: any;
|
|
822
|
+
trieNodes?: any;
|
|
823
|
+
validatorCount?: any;
|
|
824
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
|
|
825
|
+
/**
|
|
826
|
+
* See [`Pallet::set_new_genesis`].
|
|
827
|
+
**/
|
|
828
|
+
setNewGenesis: AugmentedSubmittable<(delayInBlocks: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
829
|
+
/**
|
|
830
|
+
* Generic tx
|
|
831
|
+
**/
|
|
832
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
833
|
+
};
|
|
798
834
|
bounties: {
|
|
799
835
|
/**
|
|
800
836
|
* See [`Pallet::accept_curator`].
|
|
@@ -919,6 +955,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
919
955
|
core?: any;
|
|
920
956
|
mask?: any;
|
|
921
957
|
} | string | Uint8Array, pivot: PalletBrokerCoreMask | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, PalletBrokerCoreMask]>;
|
|
958
|
+
/**
|
|
959
|
+
* See [`Pallet::notify_core_count`].
|
|
960
|
+
**/
|
|
961
|
+
notifyCoreCount: AugmentedSubmittable<(coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
|
|
922
962
|
/**
|
|
923
963
|
* See [`Pallet::partition`].
|
|
924
964
|
**/
|
|
@@ -1577,6 +1617,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1577
1617
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1578
1618
|
};
|
|
1579
1619
|
identity: {
|
|
1620
|
+
/**
|
|
1621
|
+
* See [`Pallet::accept_username`].
|
|
1622
|
+
**/
|
|
1623
|
+
acceptUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1580
1624
|
/**
|
|
1581
1625
|
* See [`Pallet::add_registrar`].
|
|
1582
1626
|
**/
|
|
@@ -1617,6 +1661,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1617
1661
|
} | {
|
|
1618
1662
|
ShaThree256: any;
|
|
1619
1663
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
|
|
1664
|
+
/**
|
|
1665
|
+
* See [`Pallet::add_username_authority`].
|
|
1666
|
+
**/
|
|
1667
|
+
addUsernameAuthority: AugmentedSubmittable<(authority: MultiAddress | {
|
|
1668
|
+
Id: any;
|
|
1669
|
+
} | {
|
|
1670
|
+
Index: any;
|
|
1671
|
+
} | {
|
|
1672
|
+
Raw: any;
|
|
1673
|
+
} | {
|
|
1674
|
+
Address32: any;
|
|
1675
|
+
} | {
|
|
1676
|
+
Address20: any;
|
|
1677
|
+
} | string | Uint8Array, suffix: Bytes | string | Uint8Array, allocation: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Bytes, u32]>;
|
|
1620
1678
|
/**
|
|
1621
1679
|
* See [`Pallet::cancel_request`].
|
|
1622
1680
|
**/
|
|
@@ -1671,6 +1729,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1671
1729
|
* See [`Pallet::quit_sub`].
|
|
1672
1730
|
**/
|
|
1673
1731
|
quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1732
|
+
/**
|
|
1733
|
+
* See [`Pallet::remove_dangling_username`].
|
|
1734
|
+
**/
|
|
1735
|
+
removeDanglingUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1736
|
+
/**
|
|
1737
|
+
* See [`Pallet::remove_expired_approval`].
|
|
1738
|
+
**/
|
|
1739
|
+
removeExpiredApproval: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1674
1740
|
/**
|
|
1675
1741
|
* See [`Pallet::remove_sub`].
|
|
1676
1742
|
**/
|
|
@@ -1685,6 +1751,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1685
1751
|
} | {
|
|
1686
1752
|
Address20: any;
|
|
1687
1753
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1754
|
+
/**
|
|
1755
|
+
* See [`Pallet::remove_username_authority`].
|
|
1756
|
+
**/
|
|
1757
|
+
removeUsernameAuthority: AugmentedSubmittable<(authority: MultiAddress | {
|
|
1758
|
+
Id: any;
|
|
1759
|
+
} | {
|
|
1760
|
+
Index: any;
|
|
1761
|
+
} | {
|
|
1762
|
+
Raw: any;
|
|
1763
|
+
} | {
|
|
1764
|
+
Address32: any;
|
|
1765
|
+
} | {
|
|
1766
|
+
Address20: any;
|
|
1767
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1688
1768
|
/**
|
|
1689
1769
|
* See [`Pallet::rename_sub`].
|
|
1690
1770
|
**/
|
|
@@ -1751,6 +1831,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1751
1831
|
image?: any;
|
|
1752
1832
|
twitter?: any;
|
|
1753
1833
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityLegacyIdentityInfo]>;
|
|
1834
|
+
/**
|
|
1835
|
+
* See [`Pallet::set_primary_username`].
|
|
1836
|
+
**/
|
|
1837
|
+
setPrimaryUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1754
1838
|
/**
|
|
1755
1839
|
* See [`Pallet::set_subs`].
|
|
1756
1840
|
**/
|
|
@@ -1767,6 +1851,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1767
1851
|
} | {
|
|
1768
1852
|
ShaThree256: any;
|
|
1769
1853
|
} | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;
|
|
1854
|
+
/**
|
|
1855
|
+
* See [`Pallet::set_username_for`].
|
|
1856
|
+
**/
|
|
1857
|
+
setUsernameFor: AugmentedSubmittable<(who: MultiAddress | {
|
|
1858
|
+
Id: any;
|
|
1859
|
+
} | {
|
|
1860
|
+
Index: any;
|
|
1861
|
+
} | {
|
|
1862
|
+
Raw: any;
|
|
1863
|
+
} | {
|
|
1864
|
+
Address32: any;
|
|
1865
|
+
} | {
|
|
1866
|
+
Address20: any;
|
|
1867
|
+
} | string | Uint8Array, username: Bytes | string | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | {
|
|
1868
|
+
Ed25519: any;
|
|
1869
|
+
} | {
|
|
1870
|
+
Sr25519: any;
|
|
1871
|
+
} | {
|
|
1872
|
+
Ecdsa: any;
|
|
1873
|
+
} | string) => SubmittableExtrinsic<ApiType>, [MultiAddress, Bytes, Option<SpRuntimeMultiSignature>]>;
|
|
1770
1874
|
/**
|
|
1771
1875
|
* Generic tx
|
|
1772
1876
|
**/
|
|
@@ -2330,7 +2434,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2330
2434
|
/**
|
|
2331
2435
|
* See [`Pallet::transfer_ownership`].
|
|
2332
2436
|
**/
|
|
2333
|
-
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array,
|
|
2437
|
+
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: MultiAddress | {
|
|
2334
2438
|
Id: any;
|
|
2335
2439
|
} | {
|
|
2336
2440
|
Index: any;
|
|
@@ -2651,6 +2755,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2651
2755
|
**/
|
|
2652
2756
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2653
2757
|
};
|
|
2758
|
+
parameters: {
|
|
2759
|
+
/**
|
|
2760
|
+
* See [`Pallet::set_parameter`].
|
|
2761
|
+
**/
|
|
2762
|
+
setParameter: AugmentedSubmittable<(keyValue: KitchensinkRuntimeRuntimeParameters | {
|
|
2763
|
+
Storage: any;
|
|
2764
|
+
} | {
|
|
2765
|
+
Contract: any;
|
|
2766
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeRuntimeParameters]>;
|
|
2767
|
+
/**
|
|
2768
|
+
* Generic tx
|
|
2769
|
+
**/
|
|
2770
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2771
|
+
};
|
|
2654
2772
|
poolAssets: {
|
|
2655
2773
|
/**
|
|
2656
2774
|
* See [`Pallet::approve_transfer`].
|
|
@@ -3264,6 +3382,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3264
3382
|
} | {
|
|
3265
3383
|
Address20: any;
|
|
3266
3384
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3385
|
+
/**
|
|
3386
|
+
* See [`Pallet::exchange_member`].
|
|
3387
|
+
**/
|
|
3388
|
+
exchangeMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
3389
|
+
Id: any;
|
|
3390
|
+
} | {
|
|
3391
|
+
Index: any;
|
|
3392
|
+
} | {
|
|
3393
|
+
Raw: any;
|
|
3394
|
+
} | {
|
|
3395
|
+
Address32: any;
|
|
3396
|
+
} | {
|
|
3397
|
+
Address20: any;
|
|
3398
|
+
} | string | Uint8Array, newWho: MultiAddress | {
|
|
3399
|
+
Id: any;
|
|
3400
|
+
} | {
|
|
3401
|
+
Index: any;
|
|
3402
|
+
} | {
|
|
3403
|
+
Raw: any;
|
|
3404
|
+
} | {
|
|
3405
|
+
Address32: any;
|
|
3406
|
+
} | {
|
|
3407
|
+
Address20: any;
|
|
3408
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
3267
3409
|
/**
|
|
3268
3410
|
* See [`Pallet::promote_member`].
|
|
3269
3411
|
**/
|
|
@@ -3662,6 +3804,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3662
3804
|
* See [`Pallet::cancel_named`].
|
|
3663
3805
|
**/
|
|
3664
3806
|
cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
|
|
3807
|
+
/**
|
|
3808
|
+
* See [`Pallet::cancel_retry`].
|
|
3809
|
+
**/
|
|
3810
|
+
cancelRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>]>;
|
|
3811
|
+
/**
|
|
3812
|
+
* See [`Pallet::cancel_retry_named`].
|
|
3813
|
+
**/
|
|
3814
|
+
cancelRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
|
|
3665
3815
|
/**
|
|
3666
3816
|
* See [`Pallet::schedule`].
|
|
3667
3817
|
**/
|
|
@@ -3678,6 +3828,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3678
3828
|
* See [`Pallet::schedule_named_after`].
|
|
3679
3829
|
**/
|
|
3680
3830
|
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]>;
|
|
3831
|
+
/**
|
|
3832
|
+
* See [`Pallet::set_retry`].
|
|
3833
|
+
**/
|
|
3834
|
+
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]>;
|
|
3835
|
+
/**
|
|
3836
|
+
* See [`Pallet::set_retry_named`].
|
|
3837
|
+
**/
|
|
3838
|
+
setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
|
|
3681
3839
|
/**
|
|
3682
3840
|
* Generic tx
|
|
3683
3841
|
**/
|
|
@@ -3697,6 +3855,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3697
3855
|
imOnline?: any;
|
|
3698
3856
|
authorityDiscovery?: any;
|
|
3699
3857
|
mixnet?: any;
|
|
3858
|
+
beefy?: any;
|
|
3700
3859
|
} | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeSessionKeys, Bytes]>;
|
|
3701
3860
|
/**
|
|
3702
3861
|
* Generic tx
|
|
@@ -3860,6 +4019,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3860
4019
|
* See [`Pallet::chill_other`].
|
|
3861
4020
|
**/
|
|
3862
4021
|
chillOther: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
4022
|
+
/**
|
|
4023
|
+
* See [`Pallet::deprecate_controller_batch`].
|
|
4024
|
+
**/
|
|
4025
|
+
deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
3863
4026
|
/**
|
|
3864
4027
|
* See [`Pallet::force_apply_min_commission`].
|
|
3865
4028
|
**/
|
|
@@ -3997,7 +4160,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3997
4160
|
Set: any;
|
|
3998
4161
|
} | {
|
|
3999
4162
|
Remove: any;
|
|
4000
|
-
} | string | Uint8Array
|
|
4163
|
+
} | string | Uint8Array, maxStakedRewards: PalletStakingPalletConfigOpPercent | {
|
|
4164
|
+
Noop: any;
|
|
4165
|
+
} | {
|
|
4166
|
+
Set: any;
|
|
4167
|
+
} | {
|
|
4168
|
+
Remove: any;
|
|
4169
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent]>;
|
|
4001
4170
|
/**
|
|
4002
4171
|
* See [`Pallet::set_validator_count`].
|
|
4003
4172
|
**/
|
|
@@ -4134,11 +4303,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4134
4303
|
};
|
|
4135
4304
|
system: {
|
|
4136
4305
|
/**
|
|
4137
|
-
* See [`Pallet::
|
|
4306
|
+
* See [`Pallet::apply_authorized_upgrade`].
|
|
4307
|
+
**/
|
|
4308
|
+
applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
4309
|
+
/**
|
|
4310
|
+
* See [`Pallet::authorize_upgrade`].
|
|
4311
|
+
**/
|
|
4312
|
+
authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
4313
|
+
/**
|
|
4314
|
+
* See [`Pallet::authorize_upgrade_without_checks`].
|
|
4138
4315
|
**/
|
|
4139
|
-
|
|
4140
|
-
TasksExample: any;
|
|
4141
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeRuntimeTask]>;
|
|
4316
|
+
authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
4142
4317
|
/**
|
|
4143
4318
|
* See [`Pallet::kill_prefix`].
|
|
4144
4319
|
**/
|
|
@@ -4728,7 +4903,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4728
4903
|
/**
|
|
4729
4904
|
* See [`Pallet::transfer_ownership`].
|
|
4730
4905
|
**/
|
|
4731
|
-
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array,
|
|
4906
|
+
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: MultiAddress | {
|
|
4732
4907
|
Id: any;
|
|
4733
4908
|
} | {
|
|
4734
4909
|
Index: any;
|