@polkadot/api-augment 9.2.2 → 9.2.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 +15 -0
- package/kusama/runtime.d.ts +17 -2
- package/kusama/tx.d.ts +478 -38
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -0
- package/polkadot/errors.d.ts +98 -0
- package/polkadot/events.d.ts +111 -1
- package/polkadot/query.d.ts +93 -1
- package/polkadot/runtime.d.ts +17 -2
- package/polkadot/tx.d.ts +569 -25
- package/substrate/consts.d.ts +15 -0
- package/substrate/errors.d.ts +0 -6
- package/substrate/events.d.ts +0 -6
- package/substrate/query.d.ts +0 -5
- package/substrate/tx.d.ts +561 -63
package/substrate/tx.d.ts
CHANGED
|
@@ -1049,7 +1049,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1049
1049
|
* - both nodes are within the same bag,
|
|
1050
1050
|
* - and `origin` has a greater `Score` than `lighter`.
|
|
1051
1051
|
**/
|
|
1052
|
-
putInFrontOf: AugmentedSubmittable<(lighter:
|
|
1052
|
+
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | {
|
|
1053
|
+
Id: any;
|
|
1054
|
+
} | {
|
|
1055
|
+
Index: any;
|
|
1056
|
+
} | {
|
|
1057
|
+
Raw: any;
|
|
1058
|
+
} | {
|
|
1059
|
+
Address32: any;
|
|
1060
|
+
} | {
|
|
1061
|
+
Address20: any;
|
|
1062
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1053
1063
|
/**
|
|
1054
1064
|
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
|
1055
1065
|
* changed its score that it should properly fall into a different bag than its current
|
|
@@ -1062,7 +1072,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1062
1072
|
*
|
|
1063
1073
|
* If `dislocated` does not exists, it returns an error.
|
|
1064
1074
|
**/
|
|
1065
|
-
rebag: AugmentedSubmittable<(dislocated:
|
|
1075
|
+
rebag: AugmentedSubmittable<(dislocated: MultiAddress | {
|
|
1076
|
+
Id: any;
|
|
1077
|
+
} | {
|
|
1078
|
+
Index: any;
|
|
1079
|
+
} | {
|
|
1080
|
+
Raw: any;
|
|
1081
|
+
} | {
|
|
1082
|
+
Address32: any;
|
|
1083
|
+
} | {
|
|
1084
|
+
Address20: any;
|
|
1085
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1066
1086
|
/**
|
|
1067
1087
|
* Generic tx
|
|
1068
1088
|
**/
|
|
@@ -1709,7 +1729,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1709
1729
|
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
|
1710
1730
|
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
|
1711
1731
|
**/
|
|
1712
|
-
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to:
|
|
1732
|
+
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: MultiAddress | {
|
|
1733
|
+
Id: any;
|
|
1734
|
+
} | {
|
|
1735
|
+
Index: any;
|
|
1736
|
+
} | {
|
|
1737
|
+
Raw: any;
|
|
1738
|
+
} | {
|
|
1739
|
+
Address32: any;
|
|
1740
|
+
} | {
|
|
1741
|
+
Address20: any;
|
|
1742
|
+
} | string | Uint8Array, conviction: PalletConvictionVotingConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress, PalletConvictionVotingConviction, u128]>;
|
|
1713
1743
|
/**
|
|
1714
1744
|
* Remove a vote for a poll.
|
|
1715
1745
|
*
|
|
@@ -1728,7 +1758,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1728
1758
|
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
|
1729
1759
|
* Weight is calculated for the maximum number of vote.
|
|
1730
1760
|
**/
|
|
1731
|
-
removeOtherVote: AugmentedSubmittable<(target:
|
|
1761
|
+
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | {
|
|
1762
|
+
Id: any;
|
|
1763
|
+
} | {
|
|
1764
|
+
Index: any;
|
|
1765
|
+
} | {
|
|
1766
|
+
Raw: any;
|
|
1767
|
+
} | {
|
|
1768
|
+
Address32: any;
|
|
1769
|
+
} | {
|
|
1770
|
+
Address20: any;
|
|
1771
|
+
} | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16, u32]>;
|
|
1732
1772
|
/**
|
|
1733
1773
|
* Remove a vote for a poll.
|
|
1734
1774
|
*
|
|
@@ -1789,7 +1829,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1789
1829
|
*
|
|
1790
1830
|
* Weight: `O(R)` with R number of vote of target.
|
|
1791
1831
|
**/
|
|
1792
|
-
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target:
|
|
1832
|
+
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: MultiAddress | {
|
|
1833
|
+
Id: any;
|
|
1834
|
+
} | {
|
|
1835
|
+
Index: any;
|
|
1836
|
+
} | {
|
|
1837
|
+
Raw: any;
|
|
1838
|
+
} | {
|
|
1839
|
+
Address32: any;
|
|
1840
|
+
} | {
|
|
1841
|
+
Address20: any;
|
|
1842
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress]>;
|
|
1793
1843
|
/**
|
|
1794
1844
|
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
|
1795
1845
|
* otherwise it is a vote to keep the status quo.
|
|
@@ -2045,7 +2095,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2045
2095
|
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
|
2046
2096
|
* voted on. Weight is charged as if maximum votes.
|
|
2047
2097
|
**/
|
|
2048
|
-
delegate: AugmentedSubmittable<(to:
|
|
2098
|
+
delegate: AugmentedSubmittable<(to: MultiAddress | {
|
|
2099
|
+
Id: any;
|
|
2100
|
+
} | {
|
|
2101
|
+
Index: any;
|
|
2102
|
+
} | {
|
|
2103
|
+
Raw: any;
|
|
2104
|
+
} | {
|
|
2105
|
+
Address32: any;
|
|
2106
|
+
} | {
|
|
2107
|
+
Address20: any;
|
|
2108
|
+
} | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletDemocracyConviction, u128]>;
|
|
2049
2109
|
/**
|
|
2050
2110
|
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
|
2051
2111
|
* referendum.
|
|
@@ -2205,7 +2265,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2205
2265
|
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
|
2206
2266
|
* Weight is calculated for the maximum number of vote.
|
|
2207
2267
|
**/
|
|
2208
|
-
removeOtherVote: AugmentedSubmittable<(target:
|
|
2268
|
+
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | {
|
|
2269
|
+
Id: any;
|
|
2270
|
+
} | {
|
|
2271
|
+
Index: any;
|
|
2272
|
+
} | {
|
|
2273
|
+
Raw: any;
|
|
2274
|
+
} | {
|
|
2275
|
+
Address32: any;
|
|
2276
|
+
} | {
|
|
2277
|
+
Address20: any;
|
|
2278
|
+
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
|
2209
2279
|
/**
|
|
2210
2280
|
* Remove a vote for a referendum.
|
|
2211
2281
|
*
|
|
@@ -2273,7 +2343,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2273
2343
|
*
|
|
2274
2344
|
* Weight: `O(R)` with R number of vote of target.
|
|
2275
2345
|
**/
|
|
2276
|
-
unlock: AugmentedSubmittable<(target:
|
|
2346
|
+
unlock: AugmentedSubmittable<(target: MultiAddress | {
|
|
2347
|
+
Id: any;
|
|
2348
|
+
} | {
|
|
2349
|
+
Index: any;
|
|
2350
|
+
} | {
|
|
2351
|
+
Raw: any;
|
|
2352
|
+
} | {
|
|
2353
|
+
Address32: any;
|
|
2354
|
+
} | {
|
|
2355
|
+
Address20: any;
|
|
2356
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2277
2357
|
/**
|
|
2278
2358
|
* Veto and blacklist the external proposal hash.
|
|
2279
2359
|
*
|
|
@@ -2636,7 +2716,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2636
2716
|
* - One event.
|
|
2637
2717
|
* # </weight>
|
|
2638
2718
|
**/
|
|
2639
|
-
addRegistrar: AugmentedSubmittable<(account:
|
|
2719
|
+
addRegistrar: AugmentedSubmittable<(account: MultiAddress | {
|
|
2720
|
+
Id: any;
|
|
2721
|
+
} | {
|
|
2722
|
+
Index: any;
|
|
2723
|
+
} | {
|
|
2724
|
+
Raw: any;
|
|
2725
|
+
} | {
|
|
2726
|
+
Address32: any;
|
|
2727
|
+
} | {
|
|
2728
|
+
Address20: any;
|
|
2729
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2640
2730
|
/**
|
|
2641
2731
|
* Add the given account to the sender's subs.
|
|
2642
2732
|
*
|
|
@@ -2891,7 +2981,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2891
2981
|
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
|
2892
2982
|
* # </weight>
|
|
2893
2983
|
**/
|
|
2894
|
-
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated:
|
|
2984
|
+
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | {
|
|
2985
|
+
Id: any;
|
|
2986
|
+
} | {
|
|
2987
|
+
Index: any;
|
|
2988
|
+
} | {
|
|
2989
|
+
Raw: any;
|
|
2990
|
+
} | {
|
|
2991
|
+
Address32: any;
|
|
2992
|
+
} | {
|
|
2993
|
+
Address20: any;
|
|
2994
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
|
2895
2995
|
/**
|
|
2896
2996
|
* Set the fee required for a judgement to be requested from a registrar.
|
|
2897
2997
|
*
|
|
@@ -3066,7 +3166,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3066
3166
|
* - Writes: Indices Accounts, System Account (original owner)
|
|
3067
3167
|
* # </weight>
|
|
3068
3168
|
**/
|
|
3069
|
-
forceTransfer: AugmentedSubmittable<(updated:
|
|
3169
|
+
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
3170
|
+
Id: any;
|
|
3171
|
+
} | {
|
|
3172
|
+
Index: any;
|
|
3173
|
+
} | {
|
|
3174
|
+
Raw: any;
|
|
3175
|
+
} | {
|
|
3176
|
+
Address32: any;
|
|
3177
|
+
} | {
|
|
3178
|
+
Address20: any;
|
|
3179
|
+
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
|
3070
3180
|
/**
|
|
3071
3181
|
* Free up an index owned by the sender.
|
|
3072
3182
|
*
|
|
@@ -3131,7 +3241,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3131
3241
|
* - Writes: Indices Accounts, System Account (recipient)
|
|
3132
3242
|
* # </weight>
|
|
3133
3243
|
**/
|
|
3134
|
-
transfer: AugmentedSubmittable<(updated:
|
|
3244
|
+
transfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
3245
|
+
Id: any;
|
|
3246
|
+
} | {
|
|
3247
|
+
Index: any;
|
|
3248
|
+
} | {
|
|
3249
|
+
Raw: any;
|
|
3250
|
+
} | {
|
|
3251
|
+
Address32: any;
|
|
3252
|
+
} | {
|
|
3253
|
+
Address20: any;
|
|
3254
|
+
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
|
3135
3255
|
/**
|
|
3136
3256
|
* Generic tx
|
|
3137
3257
|
**/
|
|
@@ -3387,7 +3507,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3387
3507
|
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
|
3388
3508
|
* needs at have at least `amount + existential_deposit` transferrable.
|
|
3389
3509
|
**/
|
|
3390
|
-
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root:
|
|
3510
|
+
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
|
|
3511
|
+
Id: any;
|
|
3512
|
+
} | {
|
|
3513
|
+
Index: any;
|
|
3514
|
+
} | {
|
|
3515
|
+
Raw: any;
|
|
3516
|
+
} | {
|
|
3517
|
+
Address32: any;
|
|
3518
|
+
} | {
|
|
3519
|
+
Address20: any;
|
|
3520
|
+
} | string | Uint8Array, nominator: MultiAddress | {
|
|
3521
|
+
Id: any;
|
|
3522
|
+
} | {
|
|
3523
|
+
Index: any;
|
|
3524
|
+
} | {
|
|
3525
|
+
Raw: any;
|
|
3526
|
+
} | {
|
|
3527
|
+
Address32: any;
|
|
3528
|
+
} | {
|
|
3529
|
+
Address20: any;
|
|
3530
|
+
} | string | Uint8Array, stateToggler: MultiAddress | {
|
|
3531
|
+
Id: any;
|
|
3532
|
+
} | {
|
|
3533
|
+
Index: any;
|
|
3534
|
+
} | {
|
|
3535
|
+
Raw: any;
|
|
3536
|
+
} | {
|
|
3537
|
+
Address32: any;
|
|
3538
|
+
} | {
|
|
3539
|
+
Address20: any;
|
|
3540
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
|
3391
3541
|
/**
|
|
3392
3542
|
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
3393
3543
|
* pools account and immediately increases the pools bond.
|
|
@@ -3513,7 +3663,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3513
3663
|
* there are too many unlocking chunks, the result of this call will likely be the
|
|
3514
3664
|
* `NoMoreChunks` error from the staking system.
|
|
3515
3665
|
**/
|
|
3516
|
-
unbond: AugmentedSubmittable<(memberAccount:
|
|
3666
|
+
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
3667
|
+
Id: any;
|
|
3668
|
+
} | {
|
|
3669
|
+
Index: any;
|
|
3670
|
+
} | {
|
|
3671
|
+
Raw: any;
|
|
3672
|
+
} | {
|
|
3673
|
+
Address32: any;
|
|
3674
|
+
} | {
|
|
3675
|
+
Address20: any;
|
|
3676
|
+
} | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
3517
3677
|
/**
|
|
3518
3678
|
* Update the roles of the pool.
|
|
3519
3679
|
*
|
|
@@ -3563,7 +3723,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3563
3723
|
*
|
|
3564
3724
|
* If the target is the depositor, the pool will be destroyed.
|
|
3565
3725
|
**/
|
|
3566
|
-
withdrawUnbonded: AugmentedSubmittable<(memberAccount:
|
|
3726
|
+
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
3727
|
+
Id: any;
|
|
3728
|
+
} | {
|
|
3729
|
+
Index: any;
|
|
3730
|
+
} | {
|
|
3731
|
+
Raw: any;
|
|
3732
|
+
} | {
|
|
3733
|
+
Address32: any;
|
|
3734
|
+
} | {
|
|
3735
|
+
Address20: any;
|
|
3736
|
+
} | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
|
3567
3737
|
/**
|
|
3568
3738
|
* Generic tx
|
|
3569
3739
|
**/
|
|
@@ -3615,7 +3785,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3615
3785
|
* Weight is a function of the number of proxies the user has (P).
|
|
3616
3786
|
* # </weight>
|
|
3617
3787
|
**/
|
|
3618
|
-
addProxy: AugmentedSubmittable<(delegate:
|
|
3788
|
+
addProxy: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3789
|
+
Id: any;
|
|
3790
|
+
} | {
|
|
3791
|
+
Index: any;
|
|
3792
|
+
} | {
|
|
3793
|
+
Raw: any;
|
|
3794
|
+
} | {
|
|
3795
|
+
Address32: any;
|
|
3796
|
+
} | {
|
|
3797
|
+
Address20: any;
|
|
3798
|
+
} | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u32]>;
|
|
3619
3799
|
/**
|
|
3620
3800
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
3621
3801
|
*
|
|
@@ -3639,7 +3819,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3639
3819
|
* - P: the number of proxies the user has.
|
|
3640
3820
|
* # </weight>
|
|
3641
3821
|
**/
|
|
3642
|
-
announce: AugmentedSubmittable<(real:
|
|
3822
|
+
announce: AugmentedSubmittable<(real: MultiAddress | {
|
|
3823
|
+
Id: any;
|
|
3824
|
+
} | {
|
|
3825
|
+
Index: any;
|
|
3826
|
+
} | {
|
|
3827
|
+
Raw: any;
|
|
3828
|
+
} | {
|
|
3829
|
+
Address32: any;
|
|
3830
|
+
} | {
|
|
3831
|
+
Address20: any;
|
|
3832
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3643
3833
|
/**
|
|
3644
3834
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
|
3645
3835
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
|
@@ -3688,7 +3878,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3688
3878
|
* Weight is a function of the number of proxies the user has (P).
|
|
3689
3879
|
* # </weight>
|
|
3690
3880
|
**/
|
|
3691
|
-
killAnonymous: AugmentedSubmittable<(spawner:
|
|
3881
|
+
killAnonymous: AugmentedSubmittable<(spawner: MultiAddress | {
|
|
3882
|
+
Id: any;
|
|
3883
|
+
} | {
|
|
3884
|
+
Index: any;
|
|
3885
|
+
} | {
|
|
3886
|
+
Raw: any;
|
|
3887
|
+
} | {
|
|
3888
|
+
Address32: any;
|
|
3889
|
+
} | {
|
|
3890
|
+
Address20: any;
|
|
3891
|
+
} | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
3692
3892
|
/**
|
|
3693
3893
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
3694
3894
|
* `add_proxy`.
|
|
@@ -3706,7 +3906,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3706
3906
|
* Weight is a function of the number of proxies the user has (P).
|
|
3707
3907
|
* # </weight>
|
|
3708
3908
|
**/
|
|
3709
|
-
proxy: AugmentedSubmittable<(real:
|
|
3909
|
+
proxy: AugmentedSubmittable<(real: MultiAddress | {
|
|
3910
|
+
Id: any;
|
|
3911
|
+
} | {
|
|
3912
|
+
Index: any;
|
|
3913
|
+
} | {
|
|
3914
|
+
Raw: any;
|
|
3915
|
+
} | {
|
|
3916
|
+
Address32: any;
|
|
3917
|
+
} | {
|
|
3918
|
+
Address20: any;
|
|
3919
|
+
} | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KitchensinkRuntimeProxyType>, Call]>;
|
|
3710
3920
|
/**
|
|
3711
3921
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
3712
3922
|
* `add_proxy`.
|
|
@@ -3726,7 +3936,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3726
3936
|
* - P: the number of proxies the user has.
|
|
3727
3937
|
* # </weight>
|
|
3728
3938
|
**/
|
|
3729
|
-
proxyAnnounced: AugmentedSubmittable<(delegate:
|
|
3939
|
+
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3940
|
+
Id: any;
|
|
3941
|
+
} | {
|
|
3942
|
+
Index: any;
|
|
3943
|
+
} | {
|
|
3944
|
+
Raw: any;
|
|
3945
|
+
} | {
|
|
3946
|
+
Address32: any;
|
|
3947
|
+
} | {
|
|
3948
|
+
Address20: any;
|
|
3949
|
+
} | string | Uint8Array, real: MultiAddress | {
|
|
3950
|
+
Id: any;
|
|
3951
|
+
} | {
|
|
3952
|
+
Index: any;
|
|
3953
|
+
} | {
|
|
3954
|
+
Raw: any;
|
|
3955
|
+
} | {
|
|
3956
|
+
Address32: any;
|
|
3957
|
+
} | {
|
|
3958
|
+
Address20: any;
|
|
3959
|
+
} | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KitchensinkRuntimeProxyType>, Call]>;
|
|
3730
3960
|
/**
|
|
3731
3961
|
* Remove the given announcement of a delegate.
|
|
3732
3962
|
*
|
|
@@ -3745,7 +3975,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3745
3975
|
* - P: the number of proxies the user has.
|
|
3746
3976
|
* # </weight>
|
|
3747
3977
|
**/
|
|
3748
|
-
rejectAnnouncement: AugmentedSubmittable<(delegate:
|
|
3978
|
+
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3979
|
+
Id: any;
|
|
3980
|
+
} | {
|
|
3981
|
+
Index: any;
|
|
3982
|
+
} | {
|
|
3983
|
+
Raw: any;
|
|
3984
|
+
} | {
|
|
3985
|
+
Address32: any;
|
|
3986
|
+
} | {
|
|
3987
|
+
Address20: any;
|
|
3988
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3749
3989
|
/**
|
|
3750
3990
|
* Remove a given announcement.
|
|
3751
3991
|
*
|
|
@@ -3764,7 +4004,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3764
4004
|
* - P: the number of proxies the user has.
|
|
3765
4005
|
* # </weight>
|
|
3766
4006
|
**/
|
|
3767
|
-
removeAnnouncement: AugmentedSubmittable<(real:
|
|
4007
|
+
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | {
|
|
4008
|
+
Id: any;
|
|
4009
|
+
} | {
|
|
4010
|
+
Index: any;
|
|
4011
|
+
} | {
|
|
4012
|
+
Raw: any;
|
|
4013
|
+
} | {
|
|
4014
|
+
Address32: any;
|
|
4015
|
+
} | {
|
|
4016
|
+
Address20: any;
|
|
4017
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3768
4018
|
/**
|
|
3769
4019
|
* Unregister all proxy accounts for the sender.
|
|
3770
4020
|
*
|
|
@@ -3791,7 +4041,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3791
4041
|
* Weight is a function of the number of proxies the user has (P).
|
|
3792
4042
|
* # </weight>
|
|
3793
4043
|
**/
|
|
3794
|
-
removeProxy: AugmentedSubmittable<(delegate:
|
|
4044
|
+
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
4045
|
+
Id: any;
|
|
4046
|
+
} | {
|
|
4047
|
+
Index: any;
|
|
4048
|
+
} | {
|
|
4049
|
+
Raw: any;
|
|
4050
|
+
} | {
|
|
4051
|
+
Address32: any;
|
|
4052
|
+
} | {
|
|
4053
|
+
Address20: any;
|
|
4054
|
+
} | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u32]>;
|
|
3795
4055
|
/**
|
|
3796
4056
|
* Generic tx
|
|
3797
4057
|
**/
|
|
@@ -3807,7 +4067,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3807
4067
|
*
|
|
3808
4068
|
* Weight: `O(1)`
|
|
3809
4069
|
**/
|
|
3810
|
-
addMember: AugmentedSubmittable<(who:
|
|
4070
|
+
addMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
4071
|
+
Id: any;
|
|
4072
|
+
} | {
|
|
4073
|
+
Index: any;
|
|
4074
|
+
} | {
|
|
4075
|
+
Raw: any;
|
|
4076
|
+
} | {
|
|
4077
|
+
Address32: any;
|
|
4078
|
+
} | {
|
|
4079
|
+
Address20: any;
|
|
4080
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3811
4081
|
/**
|
|
3812
4082
|
* Remove votes from the given poll. It must have ended.
|
|
3813
4083
|
*
|
|
@@ -3830,7 +4100,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3830
4100
|
*
|
|
3831
4101
|
* Weight: `O(1)`, less if the member's index is highest in its rank.
|
|
3832
4102
|
**/
|
|
3833
|
-
demoteMember: AugmentedSubmittable<(who:
|
|
4103
|
+
demoteMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
4104
|
+
Id: any;
|
|
4105
|
+
} | {
|
|
4106
|
+
Index: any;
|
|
4107
|
+
} | {
|
|
4108
|
+
Raw: any;
|
|
4109
|
+
} | {
|
|
4110
|
+
Address32: any;
|
|
4111
|
+
} | {
|
|
4112
|
+
Address20: any;
|
|
4113
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3834
4114
|
/**
|
|
3835
4115
|
* Increment the rank of an existing member by one.
|
|
3836
4116
|
*
|
|
@@ -3839,7 +4119,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3839
4119
|
*
|
|
3840
4120
|
* Weight: `O(1)`
|
|
3841
4121
|
**/
|
|
3842
|
-
promoteMember: AugmentedSubmittable<(who:
|
|
4122
|
+
promoteMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
4123
|
+
Id: any;
|
|
4124
|
+
} | {
|
|
4125
|
+
Index: any;
|
|
4126
|
+
} | {
|
|
4127
|
+
Raw: any;
|
|
4128
|
+
} | {
|
|
4129
|
+
Address32: any;
|
|
4130
|
+
} | {
|
|
4131
|
+
Address20: any;
|
|
4132
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3843
4133
|
/**
|
|
3844
4134
|
* Remove the member entirely.
|
|
3845
4135
|
*
|
|
@@ -3849,7 +4139,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3849
4139
|
*
|
|
3850
4140
|
* Weight: `O(min_rank)`.
|
|
3851
4141
|
**/
|
|
3852
|
-
removeMember: AugmentedSubmittable<(who:
|
|
4142
|
+
removeMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
4143
|
+
Id: any;
|
|
4144
|
+
} | {
|
|
4145
|
+
Index: any;
|
|
4146
|
+
} | {
|
|
4147
|
+
Raw: any;
|
|
4148
|
+
} | {
|
|
4149
|
+
Address32: any;
|
|
4150
|
+
} | {
|
|
4151
|
+
Address20: any;
|
|
4152
|
+
} | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16]>;
|
|
3853
4153
|
/**
|
|
3854
4154
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
3855
4155
|
*
|
|
@@ -3970,7 +4270,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3970
4270
|
* - `account`: The recovered account you want to make a call on-behalf-of.
|
|
3971
4271
|
* - `call`: The call you want to make with the recovered account.
|
|
3972
4272
|
**/
|
|
3973
|
-
asRecovered: AugmentedSubmittable<(account:
|
|
4273
|
+
asRecovered: AugmentedSubmittable<(account: MultiAddress | {
|
|
4274
|
+
Id: any;
|
|
4275
|
+
} | {
|
|
4276
|
+
Index: any;
|
|
4277
|
+
} | {
|
|
4278
|
+
Raw: any;
|
|
4279
|
+
} | {
|
|
4280
|
+
Address32: any;
|
|
4281
|
+
} | {
|
|
4282
|
+
Address20: any;
|
|
4283
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
|
3974
4284
|
/**
|
|
3975
4285
|
* Cancel the ability to use `as_recovered` for `account`.
|
|
3976
4286
|
*
|
|
@@ -3980,7 +4290,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3980
4290
|
* Parameters:
|
|
3981
4291
|
* - `account`: The recovered account you are able to call on-behalf-of.
|
|
3982
4292
|
**/
|
|
3983
|
-
cancelRecovered: AugmentedSubmittable<(account:
|
|
4293
|
+
cancelRecovered: AugmentedSubmittable<(account: MultiAddress | {
|
|
4294
|
+
Id: any;
|
|
4295
|
+
} | {
|
|
4296
|
+
Index: any;
|
|
4297
|
+
} | {
|
|
4298
|
+
Raw: any;
|
|
4299
|
+
} | {
|
|
4300
|
+
Address32: any;
|
|
4301
|
+
} | {
|
|
4302
|
+
Address20: any;
|
|
4303
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3984
4304
|
/**
|
|
3985
4305
|
* Allow a successful rescuer to claim their recovered account.
|
|
3986
4306
|
*
|
|
@@ -3992,7 +4312,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3992
4312
|
* - `account`: The lost account that you want to claim has been successfully recovered by
|
|
3993
4313
|
* you.
|
|
3994
4314
|
**/
|
|
3995
|
-
claimRecovery: AugmentedSubmittable<(account:
|
|
4315
|
+
claimRecovery: AugmentedSubmittable<(account: MultiAddress | {
|
|
4316
|
+
Id: any;
|
|
4317
|
+
} | {
|
|
4318
|
+
Index: any;
|
|
4319
|
+
} | {
|
|
4320
|
+
Raw: any;
|
|
4321
|
+
} | {
|
|
4322
|
+
Address32: any;
|
|
4323
|
+
} | {
|
|
4324
|
+
Address20: any;
|
|
4325
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3996
4326
|
/**
|
|
3997
4327
|
* As the controller of a recoverable account, close an active recovery
|
|
3998
4328
|
* process for your account.
|
|
@@ -4006,7 +4336,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4006
4336
|
* Parameters:
|
|
4007
4337
|
* - `rescuer`: The account trying to rescue this recoverable account.
|
|
4008
4338
|
**/
|
|
4009
|
-
closeRecovery: AugmentedSubmittable<(rescuer:
|
|
4339
|
+
closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | {
|
|
4340
|
+
Id: any;
|
|
4341
|
+
} | {
|
|
4342
|
+
Index: any;
|
|
4343
|
+
} | {
|
|
4344
|
+
Raw: any;
|
|
4345
|
+
} | {
|
|
4346
|
+
Address32: any;
|
|
4347
|
+
} | {
|
|
4348
|
+
Address20: any;
|
|
4349
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
4010
4350
|
/**
|
|
4011
4351
|
* Create a recovery configuration for your account. This makes your account recoverable.
|
|
4012
4352
|
*
|
|
@@ -4039,7 +4379,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4039
4379
|
* - `account`: The lost account that you want to recover. This account needs to be
|
|
4040
4380
|
* recoverable (i.e. have a recovery configuration).
|
|
4041
4381
|
**/
|
|
4042
|
-
initiateRecovery: AugmentedSubmittable<(account:
|
|
4382
|
+
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | {
|
|
4383
|
+
Id: any;
|
|
4384
|
+
} | {
|
|
4385
|
+
Index: any;
|
|
4386
|
+
} | {
|
|
4387
|
+
Raw: any;
|
|
4388
|
+
} | {
|
|
4389
|
+
Address32: any;
|
|
4390
|
+
} | {
|
|
4391
|
+
Address20: any;
|
|
4392
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
4043
4393
|
/**
|
|
4044
4394
|
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
|
4045
4395
|
*
|
|
@@ -4064,7 +4414,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4064
4414
|
* - `lost`: The "lost account" to be recovered.
|
|
4065
4415
|
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
|
4066
4416
|
**/
|
|
4067
|
-
setRecovered: AugmentedSubmittable<(lost:
|
|
4417
|
+
setRecovered: AugmentedSubmittable<(lost: MultiAddress | {
|
|
4418
|
+
Id: any;
|
|
4419
|
+
} | {
|
|
4420
|
+
Index: any;
|
|
4421
|
+
} | {
|
|
4422
|
+
Raw: any;
|
|
4423
|
+
} | {
|
|
4424
|
+
Address32: any;
|
|
4425
|
+
} | {
|
|
4426
|
+
Address20: any;
|
|
4427
|
+
} | string | Uint8Array, rescuer: MultiAddress | {
|
|
4428
|
+
Id: any;
|
|
4429
|
+
} | {
|
|
4430
|
+
Index: any;
|
|
4431
|
+
} | {
|
|
4432
|
+
Raw: any;
|
|
4433
|
+
} | {
|
|
4434
|
+
Address32: any;
|
|
4435
|
+
} | {
|
|
4436
|
+
Address20: any;
|
|
4437
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
4068
4438
|
/**
|
|
4069
4439
|
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
|
4070
4440
|
* process for that account.
|
|
@@ -4079,7 +4449,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4079
4449
|
* The combination of these two parameters must point to an active recovery
|
|
4080
4450
|
* process.
|
|
4081
4451
|
**/
|
|
4082
|
-
vouchRecovery: AugmentedSubmittable<(lost:
|
|
4452
|
+
vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | {
|
|
4453
|
+
Id: any;
|
|
4454
|
+
} | {
|
|
4455
|
+
Index: any;
|
|
4456
|
+
} | {
|
|
4457
|
+
Raw: any;
|
|
4458
|
+
} | {
|
|
4459
|
+
Address32: any;
|
|
4460
|
+
} | {
|
|
4461
|
+
Address20: any;
|
|
4462
|
+
} | string | Uint8Array, rescuer: MultiAddress | {
|
|
4463
|
+
Id: any;
|
|
4464
|
+
} | {
|
|
4465
|
+
Index: any;
|
|
4466
|
+
} | {
|
|
4467
|
+
Raw: any;
|
|
4468
|
+
} | {
|
|
4469
|
+
Address32: any;
|
|
4470
|
+
} | {
|
|
4471
|
+
Address20: any;
|
|
4472
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
4083
4473
|
/**
|
|
4084
4474
|
* Generic tx
|
|
4085
4475
|
**/
|
|
@@ -4364,7 +4754,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4364
4754
|
* Total Complexity: O(1)
|
|
4365
4755
|
* # </weight>
|
|
4366
4756
|
**/
|
|
4367
|
-
found: AugmentedSubmittable<(founder:
|
|
4757
|
+
found: AugmentedSubmittable<(founder: MultiAddress | {
|
|
4758
|
+
Id: any;
|
|
4759
|
+
} | {
|
|
4760
|
+
Index: any;
|
|
4761
|
+
} | {
|
|
4762
|
+
Raw: any;
|
|
4763
|
+
} | {
|
|
4764
|
+
Address32: any;
|
|
4765
|
+
} | {
|
|
4766
|
+
Address20: any;
|
|
4767
|
+
} | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, Bytes]>;
|
|
4368
4768
|
/**
|
|
4369
4769
|
* Allow suspended judgement origin to make judgement on a suspended candidate.
|
|
4370
4770
|
*
|
|
@@ -4407,7 +4807,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4407
4807
|
* Total Complexity: O(M + logM + B + X)
|
|
4408
4808
|
* # </weight>
|
|
4409
4809
|
**/
|
|
4410
|
-
judgeSuspendedCandidate: AugmentedSubmittable<(who:
|
|
4810
|
+
judgeSuspendedCandidate: AugmentedSubmittable<(who: MultiAddress | {
|
|
4811
|
+
Id: any;
|
|
4812
|
+
} | {
|
|
4813
|
+
Index: any;
|
|
4814
|
+
} | {
|
|
4815
|
+
Raw: any;
|
|
4816
|
+
} | {
|
|
4817
|
+
Address32: any;
|
|
4818
|
+
} | {
|
|
4819
|
+
Address20: any;
|
|
4820
|
+
} | string | Uint8Array, judgement: PalletSocietyJudgement | 'Rebid' | 'Reject' | 'Approve' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletSocietyJudgement]>;
|
|
4411
4821
|
/**
|
|
4412
4822
|
* Allow suspension judgement origin to make judgement on a suspended member.
|
|
4413
4823
|
*
|
|
@@ -4438,7 +4848,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4438
4848
|
* Total Complexity: O(M + logM + B)
|
|
4439
4849
|
* # </weight>
|
|
4440
4850
|
**/
|
|
4441
|
-
judgeSuspendedMember: AugmentedSubmittable<(who:
|
|
4851
|
+
judgeSuspendedMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
4852
|
+
Id: any;
|
|
4853
|
+
} | {
|
|
4854
|
+
Index: any;
|
|
4855
|
+
} | {
|
|
4856
|
+
Raw: any;
|
|
4857
|
+
} | {
|
|
4858
|
+
Address32: any;
|
|
4859
|
+
} | {
|
|
4860
|
+
Address20: any;
|
|
4861
|
+
} | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
4442
4862
|
/**
|
|
4443
4863
|
* Transfer the first matured payout for the sender and remove it from the records.
|
|
4444
4864
|
*
|
|
@@ -4617,7 +5037,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4617
5037
|
* Total Complexity: O(M + B + C + logM + logB + X)
|
|
4618
5038
|
* # </weight>
|
|
4619
5039
|
**/
|
|
4620
|
-
vouch: AugmentedSubmittable<(who:
|
|
5040
|
+
vouch: AugmentedSubmittable<(who: MultiAddress | {
|
|
5041
|
+
Id: any;
|
|
5042
|
+
} | {
|
|
5043
|
+
Index: any;
|
|
5044
|
+
} | {
|
|
5045
|
+
Raw: any;
|
|
5046
|
+
} | {
|
|
5047
|
+
Address32: any;
|
|
5048
|
+
} | {
|
|
5049
|
+
Address20: any;
|
|
5050
|
+
} | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128, u128]>;
|
|
4621
5051
|
/**
|
|
4622
5052
|
* Generic tx
|
|
4623
5053
|
**/
|
|
@@ -5528,7 +5958,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5528
5958
|
*
|
|
5529
5959
|
* May only be called from `T::AddOrigin`.
|
|
5530
5960
|
**/
|
|
5531
|
-
addMember: AugmentedSubmittable<(who:
|
|
5961
|
+
addMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
5962
|
+
Id: any;
|
|
5963
|
+
} | {
|
|
5964
|
+
Index: any;
|
|
5965
|
+
} | {
|
|
5966
|
+
Raw: any;
|
|
5967
|
+
} | {
|
|
5968
|
+
Address32: any;
|
|
5969
|
+
} | {
|
|
5970
|
+
Address20: any;
|
|
5971
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5532
5972
|
/**
|
|
5533
5973
|
* Swap out the sending member for some other key `new`.
|
|
5534
5974
|
*
|
|
@@ -5536,7 +5976,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5536
5976
|
*
|
|
5537
5977
|
* Prime membership is passed from the origin account to `new`, if extant.
|
|
5538
5978
|
**/
|
|
5539
|
-
changeKey: AugmentedSubmittable<(updated:
|
|
5979
|
+
changeKey: AugmentedSubmittable<(updated: MultiAddress | {
|
|
5980
|
+
Id: any;
|
|
5981
|
+
} | {
|
|
5982
|
+
Index: any;
|
|
5983
|
+
} | {
|
|
5984
|
+
Raw: any;
|
|
5985
|
+
} | {
|
|
5986
|
+
Address32: any;
|
|
5987
|
+
} | {
|
|
5988
|
+
Address20: any;
|
|
5989
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5540
5990
|
/**
|
|
5541
5991
|
* Remove the prime member if it exists.
|
|
5542
5992
|
*
|
|
@@ -5548,7 +5998,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5548
5998
|
*
|
|
5549
5999
|
* May only be called from `T::RemoveOrigin`.
|
|
5550
6000
|
**/
|
|
5551
|
-
removeMember: AugmentedSubmittable<(who:
|
|
6001
|
+
removeMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
6002
|
+
Id: any;
|
|
6003
|
+
} | {
|
|
6004
|
+
Index: any;
|
|
6005
|
+
} | {
|
|
6006
|
+
Raw: any;
|
|
6007
|
+
} | {
|
|
6008
|
+
Address32: any;
|
|
6009
|
+
} | {
|
|
6010
|
+
Address20: any;
|
|
6011
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5552
6012
|
/**
|
|
5553
6013
|
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
|
5554
6014
|
* pass `members` pre-sorted.
|
|
@@ -5561,7 +6021,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5561
6021
|
*
|
|
5562
6022
|
* May only be called from `T::PrimeOrigin`.
|
|
5563
6023
|
**/
|
|
5564
|
-
setPrime: AugmentedSubmittable<(who:
|
|
6024
|
+
setPrime: AugmentedSubmittable<(who: MultiAddress | {
|
|
6025
|
+
Id: any;
|
|
6026
|
+
} | {
|
|
6027
|
+
Index: any;
|
|
6028
|
+
} | {
|
|
6029
|
+
Raw: any;
|
|
6030
|
+
} | {
|
|
6031
|
+
Address32: any;
|
|
6032
|
+
} | {
|
|
6033
|
+
Address20: any;
|
|
6034
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5565
6035
|
/**
|
|
5566
6036
|
* Swap out one member `remove` for another `add`.
|
|
5567
6037
|
*
|
|
@@ -5569,7 +6039,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5569
6039
|
*
|
|
5570
6040
|
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
|
5571
6041
|
**/
|
|
5572
|
-
swapMember: AugmentedSubmittable<(remove:
|
|
6042
|
+
swapMember: AugmentedSubmittable<(remove: MultiAddress | {
|
|
6043
|
+
Id: any;
|
|
6044
|
+
} | {
|
|
6045
|
+
Index: any;
|
|
6046
|
+
} | {
|
|
6047
|
+
Raw: any;
|
|
6048
|
+
} | {
|
|
6049
|
+
Address32: any;
|
|
6050
|
+
} | {
|
|
6051
|
+
Address20: any;
|
|
6052
|
+
} | string | Uint8Array, add: MultiAddress | {
|
|
6053
|
+
Id: any;
|
|
6054
|
+
} | {
|
|
6055
|
+
Index: any;
|
|
6056
|
+
} | {
|
|
6057
|
+
Raw: any;
|
|
6058
|
+
} | {
|
|
6059
|
+
Address32: any;
|
|
6060
|
+
} | {
|
|
6061
|
+
Address20: any;
|
|
6062
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
5573
6063
|
/**
|
|
5574
6064
|
* Generic tx
|
|
5575
6065
|
**/
|
|
@@ -5641,7 +6131,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5641
6131
|
* - DbWrites: `Reasons`, `Tips`
|
|
5642
6132
|
* # </weight>
|
|
5643
6133
|
**/
|
|
5644
|
-
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who:
|
|
6134
|
+
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
|
|
6135
|
+
Id: any;
|
|
6136
|
+
} | {
|
|
6137
|
+
Index: any;
|
|
6138
|
+
} | {
|
|
6139
|
+
Raw: any;
|
|
6140
|
+
} | {
|
|
6141
|
+
Address32: any;
|
|
6142
|
+
} | {
|
|
6143
|
+
Address20: any;
|
|
6144
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress]>;
|
|
5645
6145
|
/**
|
|
5646
6146
|
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
|
5647
6147
|
*
|
|
@@ -5730,7 +6230,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5730
6230
|
* - DbWrites: `Reasons`, `Tips`
|
|
5731
6231
|
* # </weight>
|
|
5732
6232
|
**/
|
|
5733
|
-
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who:
|
|
6233
|
+
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
|
|
6234
|
+
Id: any;
|
|
6235
|
+
} | {
|
|
6236
|
+
Index: any;
|
|
6237
|
+
} | {
|
|
6238
|
+
Raw: any;
|
|
6239
|
+
} | {
|
|
6240
|
+
Address32: any;
|
|
6241
|
+
} | {
|
|
6242
|
+
Address20: any;
|
|
6243
|
+
} | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress, Compact<u128>]>;
|
|
5734
6244
|
/**
|
|
5735
6245
|
* Generic tx
|
|
5736
6246
|
**/
|
|
@@ -6017,6 +6527,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6017
6527
|
* `ItemDeposit` funds of sender are reserved.
|
|
6018
6528
|
*
|
|
6019
6529
|
* Parameters:
|
|
6530
|
+
* - `collection`: The identifier of the new collection. This must not be currently in use.
|
|
6020
6531
|
* - `admin`: The admin of this collection. The admin is the initial address of each
|
|
6021
6532
|
* member of the collection's admin team.
|
|
6022
6533
|
*
|
|
@@ -6024,7 +6535,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6024
6535
|
*
|
|
6025
6536
|
* Weight: `O(1)`
|
|
6026
6537
|
**/
|
|
6027
|
-
create: AugmentedSubmittable<(admin: MultiAddress | {
|
|
6538
|
+
create: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, admin: MultiAddress | {
|
|
6028
6539
|
Id: any;
|
|
6029
6540
|
} | {
|
|
6030
6541
|
Index: any;
|
|
@@ -6034,7 +6545,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6034
6545
|
Address32: any;
|
|
6035
6546
|
} | {
|
|
6036
6547
|
Address20: any;
|
|
6037
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
6548
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
|
6038
6549
|
/**
|
|
6039
6550
|
* Destroy a collection of fungible items.
|
|
6040
6551
|
*
|
|
@@ -6066,6 +6577,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6066
6577
|
*
|
|
6067
6578
|
* Unlike `create`, no funds are reserved.
|
|
6068
6579
|
*
|
|
6580
|
+
* - `collection`: The identifier of the new item. This must not be currently in use.
|
|
6069
6581
|
* - `owner`: The owner of this collection of items. The owner has full superuser
|
|
6070
6582
|
* permissions
|
|
6071
6583
|
* over this item, but may later change and configure the permissions using
|
|
@@ -6075,7 +6587,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6075
6587
|
*
|
|
6076
6588
|
* Weight: `O(1)`
|
|
6077
6589
|
**/
|
|
6078
|
-
forceCreate: AugmentedSubmittable<(owner: MultiAddress | {
|
|
6590
|
+
forceCreate: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: MultiAddress | {
|
|
6079
6591
|
Id: any;
|
|
6080
6592
|
} | {
|
|
6081
6593
|
Index: any;
|
|
@@ -6085,7 +6597,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6085
6597
|
Address32: any;
|
|
6086
6598
|
} | {
|
|
6087
6599
|
Address20: any;
|
|
6088
|
-
} | string | Uint8Array, freeHolding: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
6600
|
+
} | string | Uint8Array, freeHolding: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress, bool]>;
|
|
6089
6601
|
/**
|
|
6090
6602
|
* Alter the attributes of a given item.
|
|
6091
6603
|
*
|
|
@@ -6446,20 +6958,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6446
6958
|
} | {
|
|
6447
6959
|
Address20: any;
|
|
6448
6960
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
|
6449
|
-
/**
|
|
6450
|
-
* Increments the `CollectionId` stored in `NextCollectionId`.
|
|
6451
|
-
*
|
|
6452
|
-
* This is only callable when the next `CollectionId` is already being
|
|
6453
|
-
* used for some other collection.
|
|
6454
|
-
*
|
|
6455
|
-
* The origin must be Signed and the sender must have sufficient funds
|
|
6456
|
-
* free.
|
|
6457
|
-
*
|
|
6458
|
-
* Emits `NextCollectionIdIncremented` event when successful.
|
|
6459
|
-
*
|
|
6460
|
-
* Weight: `O(1)`
|
|
6461
|
-
**/
|
|
6462
|
-
tryIncrementId: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
6463
6961
|
/**
|
|
6464
6962
|
* Generic tx
|
|
6465
6963
|
**/
|