@polkadot/api-augment 10.8.1 → 10.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +82 -34
- package/kusama/errors.d.ts +150 -26
- package/kusama/events.d.ts +66 -19
- package/kusama/query.d.ts +206 -87
- package/kusama/runtime.d.ts +36 -4
- package/kusama/tx.d.ts +192 -53
- package/package.json +8 -8
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +15 -198
- package/polkadot/errors.d.ts +37 -340
- package/polkadot/events.d.ts +24 -376
- package/polkadot/query.d.ts +63 -272
- package/polkadot/runtime.d.ts +20 -3
- package/polkadot/tx.d.ts +62 -441
- package/substrate/consts.d.ts +118 -34
- package/substrate/errors.d.ts +303 -8
- package/substrate/events.d.ts +379 -25
- package/substrate/query.d.ts +160 -44
- package/substrate/runtime.d.ts +21 -1
- package/substrate/tx.d.ts +252 -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, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState,
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, 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>;
|
|
@@ -235,15 +235,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
235
235
|
/**
|
|
236
236
|
* See [`Pallet::create`].
|
|
237
237
|
**/
|
|
238
|
-
create: AugmentedSubmittable<(
|
|
238
|
+
create: AugmentedSubmittable<(assetKind: u32 | AnyNumber | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
|
239
239
|
/**
|
|
240
240
|
* See [`Pallet::remove`].
|
|
241
241
|
**/
|
|
242
|
-
remove: AugmentedSubmittable<(
|
|
242
|
+
remove: AugmentedSubmittable<(assetKind: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
243
243
|
/**
|
|
244
244
|
* See [`Pallet::update`].
|
|
245
245
|
**/
|
|
246
|
-
update: AugmentedSubmittable<(
|
|
246
|
+
update: AugmentedSubmittable<(assetKind: u32 | AnyNumber | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
|
247
247
|
/**
|
|
248
248
|
* Generic tx
|
|
249
249
|
**/
|
|
@@ -885,6 +885,132 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
885
885
|
**/
|
|
886
886
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
887
887
|
};
|
|
888
|
+
broker: {
|
|
889
|
+
/**
|
|
890
|
+
* See [`Pallet::assign`].
|
|
891
|
+
**/
|
|
892
|
+
assign: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
893
|
+
begin?: any;
|
|
894
|
+
core?: any;
|
|
895
|
+
mask?: any;
|
|
896
|
+
} | string | Uint8Array, task: u32 | AnyNumber | Uint8Array, finality: PalletBrokerFinality | 'Provisional' | 'Final' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, u32, PalletBrokerFinality]>;
|
|
897
|
+
/**
|
|
898
|
+
* See [`Pallet::claim_revenue`].
|
|
899
|
+
**/
|
|
900
|
+
claimRevenue: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
901
|
+
begin?: any;
|
|
902
|
+
core?: any;
|
|
903
|
+
mask?: any;
|
|
904
|
+
} | string | Uint8Array, maxTimeslices: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, u32]>;
|
|
905
|
+
/**
|
|
906
|
+
* See [`Pallet::configure`].
|
|
907
|
+
**/
|
|
908
|
+
configure: AugmentedSubmittable<(config: PalletBrokerConfigRecord | {
|
|
909
|
+
advanceNotice?: any;
|
|
910
|
+
interludeLength?: any;
|
|
911
|
+
leadinLength?: any;
|
|
912
|
+
regionLength?: any;
|
|
913
|
+
idealBulkProportion?: any;
|
|
914
|
+
limitCoresOffered?: any;
|
|
915
|
+
renewalBump?: any;
|
|
916
|
+
contributionTimeout?: any;
|
|
917
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerConfigRecord]>;
|
|
918
|
+
/**
|
|
919
|
+
* See [`Pallet::drop_contribution`].
|
|
920
|
+
**/
|
|
921
|
+
dropContribution: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
922
|
+
begin?: any;
|
|
923
|
+
core?: any;
|
|
924
|
+
mask?: any;
|
|
925
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId]>;
|
|
926
|
+
/**
|
|
927
|
+
* See [`Pallet::drop_history`].
|
|
928
|
+
**/
|
|
929
|
+
dropHistory: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
930
|
+
/**
|
|
931
|
+
* See [`Pallet::drop_region`].
|
|
932
|
+
**/
|
|
933
|
+
dropRegion: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
934
|
+
begin?: any;
|
|
935
|
+
core?: any;
|
|
936
|
+
mask?: any;
|
|
937
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId]>;
|
|
938
|
+
/**
|
|
939
|
+
* See [`Pallet::drop_renewal`].
|
|
940
|
+
**/
|
|
941
|
+
dropRenewal: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, when: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, u32]>;
|
|
942
|
+
/**
|
|
943
|
+
* See [`Pallet::interlace`].
|
|
944
|
+
**/
|
|
945
|
+
interlace: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
946
|
+
begin?: any;
|
|
947
|
+
core?: any;
|
|
948
|
+
mask?: any;
|
|
949
|
+
} | string | Uint8Array, pivot: PalletBrokerCoreMask | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, PalletBrokerCoreMask]>;
|
|
950
|
+
/**
|
|
951
|
+
* See [`Pallet::partition`].
|
|
952
|
+
**/
|
|
953
|
+
partition: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
954
|
+
begin?: any;
|
|
955
|
+
core?: any;
|
|
956
|
+
mask?: any;
|
|
957
|
+
} | string | Uint8Array, pivot: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, u32]>;
|
|
958
|
+
/**
|
|
959
|
+
* See [`Pallet::pool`].
|
|
960
|
+
**/
|
|
961
|
+
pool: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
962
|
+
begin?: any;
|
|
963
|
+
core?: any;
|
|
964
|
+
mask?: any;
|
|
965
|
+
} | string | Uint8Array, payee: AccountId32 | string | Uint8Array, finality: PalletBrokerFinality | 'Provisional' | 'Final' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, AccountId32, PalletBrokerFinality]>;
|
|
966
|
+
/**
|
|
967
|
+
* See [`Pallet::purchase`].
|
|
968
|
+
**/
|
|
969
|
+
purchase: AugmentedSubmittable<(priceLimit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
970
|
+
/**
|
|
971
|
+
* See [`Pallet::purchase_credit`].
|
|
972
|
+
**/
|
|
973
|
+
purchaseCredit: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array, beneficiary: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, AccountId32]>;
|
|
974
|
+
/**
|
|
975
|
+
* See [`Pallet::renew`].
|
|
976
|
+
**/
|
|
977
|
+
renew: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
|
|
978
|
+
/**
|
|
979
|
+
* See [`Pallet::request_core_count`].
|
|
980
|
+
**/
|
|
981
|
+
requestCoreCount: AugmentedSubmittable<(coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
|
|
982
|
+
/**
|
|
983
|
+
* See [`Pallet::reserve`].
|
|
984
|
+
**/
|
|
985
|
+
reserve: AugmentedSubmittable<(workload: Vec<PalletBrokerScheduleItem> | (PalletBrokerScheduleItem | {
|
|
986
|
+
mask?: any;
|
|
987
|
+
assignment?: any;
|
|
988
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletBrokerScheduleItem>]>;
|
|
989
|
+
/**
|
|
990
|
+
* See [`Pallet::set_lease`].
|
|
991
|
+
**/
|
|
992
|
+
setLease: AugmentedSubmittable<(task: u32 | AnyNumber | Uint8Array, until: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
993
|
+
/**
|
|
994
|
+
* See [`Pallet::start_sales`].
|
|
995
|
+
**/
|
|
996
|
+
startSales: AugmentedSubmittable<(initialPrice: u128 | AnyNumber | Uint8Array, coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u16]>;
|
|
997
|
+
/**
|
|
998
|
+
* See [`Pallet::transfer`].
|
|
999
|
+
**/
|
|
1000
|
+
transfer: AugmentedSubmittable<(regionId: PalletBrokerRegionId | {
|
|
1001
|
+
begin?: any;
|
|
1002
|
+
core?: any;
|
|
1003
|
+
mask?: any;
|
|
1004
|
+
} | string | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, AccountId32]>;
|
|
1005
|
+
/**
|
|
1006
|
+
* See [`Pallet::unreserve`].
|
|
1007
|
+
**/
|
|
1008
|
+
unreserve: AugmentedSubmittable<(itemIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Generic tx
|
|
1011
|
+
**/
|
|
1012
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1013
|
+
};
|
|
888
1014
|
childBounties: {
|
|
889
1015
|
/**
|
|
890
1016
|
* See [`Pallet::accept_curator`].
|
|
@@ -1436,11 +1562,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1436
1562
|
/**
|
|
1437
1563
|
* See [`Pallet::set_compute`].
|
|
1438
1564
|
**/
|
|
1439
|
-
setCompute: AugmentedSubmittable<(compute:
|
|
1565
|
+
setCompute: AugmentedSubmittable<(compute: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
1440
1566
|
/**
|
|
1441
1567
|
* See [`Pallet::set_storage`].
|
|
1442
1568
|
**/
|
|
1443
|
-
setStorage: AugmentedSubmittable<(storage:
|
|
1569
|
+
setStorage: AugmentedSubmittable<(storage: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
1444
1570
|
/**
|
|
1445
1571
|
* Generic tx
|
|
1446
1572
|
**/
|
|
@@ -1680,7 +1806,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1680
1806
|
**/
|
|
1681
1807
|
heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
|
|
1682
1808
|
blockNumber?: any;
|
|
1683
|
-
networkState?: any;
|
|
1684
1809
|
sessionIndex?: any;
|
|
1685
1810
|
authorityIndex?: any;
|
|
1686
1811
|
validatorsLen?: any;
|
|
@@ -3449,6 +3574,44 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3449
3574
|
**/
|
|
3450
3575
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3451
3576
|
};
|
|
3577
|
+
safeMode: {
|
|
3578
|
+
/**
|
|
3579
|
+
* See [`Pallet::enter`].
|
|
3580
|
+
**/
|
|
3581
|
+
enter: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3582
|
+
/**
|
|
3583
|
+
* See [`Pallet::extend`].
|
|
3584
|
+
**/
|
|
3585
|
+
extend: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3586
|
+
/**
|
|
3587
|
+
* See [`Pallet::force_enter`].
|
|
3588
|
+
**/
|
|
3589
|
+
forceEnter: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3590
|
+
/**
|
|
3591
|
+
* See [`Pallet::force_exit`].
|
|
3592
|
+
**/
|
|
3593
|
+
forceExit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3594
|
+
/**
|
|
3595
|
+
* See [`Pallet::force_extend`].
|
|
3596
|
+
**/
|
|
3597
|
+
forceExtend: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3598
|
+
/**
|
|
3599
|
+
* See [`Pallet::force_release_deposit`].
|
|
3600
|
+
**/
|
|
3601
|
+
forceReleaseDeposit: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, block: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
3602
|
+
/**
|
|
3603
|
+
* See [`Pallet::force_slash_deposit`].
|
|
3604
|
+
**/
|
|
3605
|
+
forceSlashDeposit: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, block: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
3606
|
+
/**
|
|
3607
|
+
* See [`Pallet::release_deposit`].
|
|
3608
|
+
**/
|
|
3609
|
+
releaseDeposit: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, block: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
3610
|
+
/**
|
|
3611
|
+
* Generic tx
|
|
3612
|
+
**/
|
|
3613
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3614
|
+
};
|
|
3452
3615
|
salary: {
|
|
3453
3616
|
/**
|
|
3454
3617
|
* See [`Pallet::bump`].
|
|
@@ -3533,32 +3696,42 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3533
3696
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3534
3697
|
};
|
|
3535
3698
|
society: {
|
|
3699
|
+
/**
|
|
3700
|
+
* See [`Pallet::bestow_membership`].
|
|
3701
|
+
**/
|
|
3702
|
+
bestowMembership: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
3536
3703
|
/**
|
|
3537
3704
|
* See [`Pallet::bid`].
|
|
3538
3705
|
**/
|
|
3539
3706
|
bid: AugmentedSubmittable<(value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
3707
|
+
/**
|
|
3708
|
+
* See [`Pallet::claim_membership`].
|
|
3709
|
+
**/
|
|
3710
|
+
claimMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3711
|
+
/**
|
|
3712
|
+
* See [`Pallet::cleanup_candidacy`].
|
|
3713
|
+
**/
|
|
3714
|
+
cleanupCandidacy: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
3715
|
+
/**
|
|
3716
|
+
* See [`Pallet::cleanup_challenge`].
|
|
3717
|
+
**/
|
|
3718
|
+
cleanupChallenge: AugmentedSubmittable<(challengeRound: u32 | AnyNumber | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
3540
3719
|
/**
|
|
3541
3720
|
* See [`Pallet::defender_vote`].
|
|
3542
3721
|
**/
|
|
3543
3722
|
defenderVote: AugmentedSubmittable<(approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
3544
3723
|
/**
|
|
3545
|
-
* See [`Pallet::
|
|
3724
|
+
* See [`Pallet::dissolve`].
|
|
3546
3725
|
**/
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
Raw: any;
|
|
3553
|
-
} | {
|
|
3554
|
-
Address32: any;
|
|
3555
|
-
} | {
|
|
3556
|
-
Address20: any;
|
|
3557
|
-
} | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, Bytes]>;
|
|
3726
|
+
dissolve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3727
|
+
/**
|
|
3728
|
+
* See [`Pallet::drop_candidate`].
|
|
3729
|
+
**/
|
|
3730
|
+
dropCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
3558
3731
|
/**
|
|
3559
|
-
* See [`Pallet::
|
|
3732
|
+
* See [`Pallet::found_society`].
|
|
3560
3733
|
**/
|
|
3561
|
-
|
|
3734
|
+
foundSociety: AugmentedSubmittable<(founder: MultiAddress | {
|
|
3562
3735
|
Id: any;
|
|
3563
3736
|
} | {
|
|
3564
3737
|
Index: any;
|
|
@@ -3568,7 +3741,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3568
3741
|
Address32: any;
|
|
3569
3742
|
} | {
|
|
3570
3743
|
Address20: any;
|
|
3571
|
-
} | string | Uint8Array,
|
|
3744
|
+
} | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, maxIntake: u32 | AnyNumber | Uint8Array, maxStrikes: u32 | AnyNumber | Uint8Array, candidateDeposit: u128 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, u32, u32, u128, Bytes]>;
|
|
3572
3745
|
/**
|
|
3573
3746
|
* See [`Pallet::judge_suspended_member`].
|
|
3574
3747
|
**/
|
|
@@ -3583,26 +3756,34 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3583
3756
|
} | {
|
|
3584
3757
|
Address20: any;
|
|
3585
3758
|
} | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
3759
|
+
/**
|
|
3760
|
+
* See [`Pallet::kick_candidate`].
|
|
3761
|
+
**/
|
|
3762
|
+
kickCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
3586
3763
|
/**
|
|
3587
3764
|
* See [`Pallet::payout`].
|
|
3588
3765
|
**/
|
|
3589
3766
|
payout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3590
3767
|
/**
|
|
3591
|
-
* See [`Pallet::
|
|
3768
|
+
* See [`Pallet::punish_skeptic`].
|
|
3592
3769
|
**/
|
|
3593
|
-
|
|
3770
|
+
punishSkeptic: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3594
3771
|
/**
|
|
3595
|
-
* See [`Pallet::
|
|
3772
|
+
* See [`Pallet::resign_candidacy`].
|
|
3596
3773
|
**/
|
|
3597
|
-
|
|
3774
|
+
resignCandidacy: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3598
3775
|
/**
|
|
3599
|
-
* See [`Pallet::
|
|
3776
|
+
* See [`Pallet::set_parameters`].
|
|
3600
3777
|
**/
|
|
3601
|
-
|
|
3778
|
+
setParameters: AugmentedSubmittable<(maxMembers: u32 | AnyNumber | Uint8Array, maxIntake: u32 | AnyNumber | Uint8Array, maxStrikes: u32 | AnyNumber | Uint8Array, candidateDeposit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u128]>;
|
|
3779
|
+
/**
|
|
3780
|
+
* See [`Pallet::unbid`].
|
|
3781
|
+
**/
|
|
3782
|
+
unbid: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3602
3783
|
/**
|
|
3603
3784
|
* See [`Pallet::unvouch`].
|
|
3604
3785
|
**/
|
|
3605
|
-
unvouch: AugmentedSubmittable<(
|
|
3786
|
+
unvouch: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3606
3787
|
/**
|
|
3607
3788
|
* See [`Pallet::vote`].
|
|
3608
3789
|
**/
|
|
@@ -3631,6 +3812,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3631
3812
|
} | {
|
|
3632
3813
|
Address20: any;
|
|
3633
3814
|
} | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128, u128]>;
|
|
3815
|
+
/**
|
|
3816
|
+
* See [`Pallet::waive_repay`].
|
|
3817
|
+
**/
|
|
3818
|
+
waiveRepay: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
3634
3819
|
/**
|
|
3635
3820
|
* Generic tx
|
|
3636
3821
|
**/
|
|
@@ -4219,6 +4404,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4219
4404
|
**/
|
|
4220
4405
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4221
4406
|
};
|
|
4407
|
+
txPause: {
|
|
4408
|
+
/**
|
|
4409
|
+
* See [`Pallet::pause`].
|
|
4410
|
+
**/
|
|
4411
|
+
pause: AugmentedSubmittable<(fullName: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
4412
|
+
/**
|
|
4413
|
+
* See [`Pallet::unpause`].
|
|
4414
|
+
**/
|
|
4415
|
+
unpause: AugmentedSubmittable<(ident: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
4416
|
+
/**
|
|
4417
|
+
* Generic tx
|
|
4418
|
+
**/
|
|
4419
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4420
|
+
};
|
|
4222
4421
|
uniques: {
|
|
4223
4422
|
/**
|
|
4224
4423
|
* See [`Pallet::approve_transfer`].
|
|
@@ -4625,6 +4824,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4625
4824
|
} | {
|
|
4626
4825
|
Address20: any;
|
|
4627
4826
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
4827
|
+
/**
|
|
4828
|
+
* See [`Pallet::put_in_front_of_other`].
|
|
4829
|
+
**/
|
|
4830
|
+
putInFrontOfOther: AugmentedSubmittable<(heavier: MultiAddress | {
|
|
4831
|
+
Id: any;
|
|
4832
|
+
} | {
|
|
4833
|
+
Index: any;
|
|
4834
|
+
} | {
|
|
4835
|
+
Raw: any;
|
|
4836
|
+
} | {
|
|
4837
|
+
Address32: any;
|
|
4838
|
+
} | {
|
|
4839
|
+
Address20: any;
|
|
4840
|
+
} | string | Uint8Array, lighter: MultiAddress | {
|
|
4841
|
+
Id: any;
|
|
4842
|
+
} | {
|
|
4843
|
+
Index: any;
|
|
4844
|
+
} | {
|
|
4845
|
+
Raw: any;
|
|
4846
|
+
} | {
|
|
4847
|
+
Address32: any;
|
|
4848
|
+
} | {
|
|
4849
|
+
Address20: any;
|
|
4850
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
4628
4851
|
/**
|
|
4629
4852
|
* See [`Pallet::rebag`].
|
|
4630
4853
|
**/
|