@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/kusama/tx.d.ts
CHANGED
|
@@ -1235,7 +1235,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1235
1235
|
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
|
1236
1236
|
* voted on. Weight is charged as if maximum votes.
|
|
1237
1237
|
**/
|
|
1238
|
-
delegate: AugmentedSubmittable<(to:
|
|
1238
|
+
delegate: AugmentedSubmittable<(to: MultiAddress | {
|
|
1239
|
+
Id: any;
|
|
1240
|
+
} | {
|
|
1241
|
+
Index: any;
|
|
1242
|
+
} | {
|
|
1243
|
+
Raw: any;
|
|
1244
|
+
} | {
|
|
1245
|
+
Address32: any;
|
|
1246
|
+
} | {
|
|
1247
|
+
Address20: any;
|
|
1248
|
+
} | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletDemocracyConviction, u128]>;
|
|
1239
1249
|
/**
|
|
1240
1250
|
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
|
1241
1251
|
* referendum.
|
|
@@ -1395,7 +1405,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1395
1405
|
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
|
1396
1406
|
* Weight is calculated for the maximum number of vote.
|
|
1397
1407
|
**/
|
|
1398
|
-
removeOtherVote: AugmentedSubmittable<(target:
|
|
1408
|
+
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | {
|
|
1409
|
+
Id: any;
|
|
1410
|
+
} | {
|
|
1411
|
+
Index: any;
|
|
1412
|
+
} | {
|
|
1413
|
+
Raw: any;
|
|
1414
|
+
} | {
|
|
1415
|
+
Address32: any;
|
|
1416
|
+
} | {
|
|
1417
|
+
Address20: any;
|
|
1418
|
+
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
|
1399
1419
|
/**
|
|
1400
1420
|
* Remove a vote for a referendum.
|
|
1401
1421
|
*
|
|
@@ -1463,7 +1483,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1463
1483
|
*
|
|
1464
1484
|
* Weight: `O(R)` with R number of vote of target.
|
|
1465
1485
|
**/
|
|
1466
|
-
unlock: AugmentedSubmittable<(target:
|
|
1486
|
+
unlock: AugmentedSubmittable<(target: MultiAddress | {
|
|
1487
|
+
Id: any;
|
|
1488
|
+
} | {
|
|
1489
|
+
Index: any;
|
|
1490
|
+
} | {
|
|
1491
|
+
Raw: any;
|
|
1492
|
+
} | {
|
|
1493
|
+
Address32: any;
|
|
1494
|
+
} | {
|
|
1495
|
+
Address20: any;
|
|
1496
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1467
1497
|
/**
|
|
1468
1498
|
* Veto and blacklist the external proposal hash.
|
|
1469
1499
|
*
|
|
@@ -1780,7 +1810,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1780
1810
|
* - One event.
|
|
1781
1811
|
* # </weight>
|
|
1782
1812
|
**/
|
|
1783
|
-
addRegistrar: AugmentedSubmittable<(account:
|
|
1813
|
+
addRegistrar: AugmentedSubmittable<(account: MultiAddress | {
|
|
1814
|
+
Id: any;
|
|
1815
|
+
} | {
|
|
1816
|
+
Index: any;
|
|
1817
|
+
} | {
|
|
1818
|
+
Raw: any;
|
|
1819
|
+
} | {
|
|
1820
|
+
Address32: any;
|
|
1821
|
+
} | {
|
|
1822
|
+
Address20: any;
|
|
1823
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1784
1824
|
/**
|
|
1785
1825
|
* Add the given account to the sender's subs.
|
|
1786
1826
|
*
|
|
@@ -2035,7 +2075,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2035
2075
|
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
|
2036
2076
|
* # </weight>
|
|
2037
2077
|
**/
|
|
2038
|
-
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated:
|
|
2078
|
+
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | {
|
|
2079
|
+
Id: any;
|
|
2080
|
+
} | {
|
|
2081
|
+
Index: any;
|
|
2082
|
+
} | {
|
|
2083
|
+
Raw: any;
|
|
2084
|
+
} | {
|
|
2085
|
+
Address32: any;
|
|
2086
|
+
} | {
|
|
2087
|
+
Address20: any;
|
|
2088
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
|
2039
2089
|
/**
|
|
2040
2090
|
* Set the fee required for a judgement to be requested from a registrar.
|
|
2041
2091
|
*
|
|
@@ -2210,7 +2260,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2210
2260
|
* - Writes: Indices Accounts, System Account (original owner)
|
|
2211
2261
|
* # </weight>
|
|
2212
2262
|
**/
|
|
2213
|
-
forceTransfer: AugmentedSubmittable<(updated:
|
|
2263
|
+
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
2264
|
+
Id: any;
|
|
2265
|
+
} | {
|
|
2266
|
+
Index: any;
|
|
2267
|
+
} | {
|
|
2268
|
+
Raw: any;
|
|
2269
|
+
} | {
|
|
2270
|
+
Address32: any;
|
|
2271
|
+
} | {
|
|
2272
|
+
Address20: any;
|
|
2273
|
+
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
|
2214
2274
|
/**
|
|
2215
2275
|
* Free up an index owned by the sender.
|
|
2216
2276
|
*
|
|
@@ -2275,7 +2335,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2275
2335
|
* - Writes: Indices Accounts, System Account (recipient)
|
|
2276
2336
|
* # </weight>
|
|
2277
2337
|
**/
|
|
2278
|
-
transfer: AugmentedSubmittable<(updated:
|
|
2338
|
+
transfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
2339
|
+
Id: any;
|
|
2340
|
+
} | {
|
|
2341
|
+
Index: any;
|
|
2342
|
+
} | {
|
|
2343
|
+
Raw: any;
|
|
2344
|
+
} | {
|
|
2345
|
+
Address32: any;
|
|
2346
|
+
} | {
|
|
2347
|
+
Address20: any;
|
|
2348
|
+
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
|
2279
2349
|
/**
|
|
2280
2350
|
* Generic tx
|
|
2281
2351
|
**/
|
|
@@ -2494,7 +2564,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2494
2564
|
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
|
2495
2565
|
* needs at have at least `amount + existential_deposit` transferrable.
|
|
2496
2566
|
**/
|
|
2497
|
-
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root:
|
|
2567
|
+
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
|
|
2568
|
+
Id: any;
|
|
2569
|
+
} | {
|
|
2570
|
+
Index: any;
|
|
2571
|
+
} | {
|
|
2572
|
+
Raw: any;
|
|
2573
|
+
} | {
|
|
2574
|
+
Address32: any;
|
|
2575
|
+
} | {
|
|
2576
|
+
Address20: any;
|
|
2577
|
+
} | string | Uint8Array, nominator: MultiAddress | {
|
|
2578
|
+
Id: any;
|
|
2579
|
+
} | {
|
|
2580
|
+
Index: any;
|
|
2581
|
+
} | {
|
|
2582
|
+
Raw: any;
|
|
2583
|
+
} | {
|
|
2584
|
+
Address32: any;
|
|
2585
|
+
} | {
|
|
2586
|
+
Address20: any;
|
|
2587
|
+
} | string | Uint8Array, stateToggler: MultiAddress | {
|
|
2588
|
+
Id: any;
|
|
2589
|
+
} | {
|
|
2590
|
+
Index: any;
|
|
2591
|
+
} | {
|
|
2592
|
+
Raw: any;
|
|
2593
|
+
} | {
|
|
2594
|
+
Address32: any;
|
|
2595
|
+
} | {
|
|
2596
|
+
Address20: any;
|
|
2597
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
|
2498
2598
|
/**
|
|
2499
2599
|
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
2500
2600
|
* pools account and immediately increases the pools bond.
|
|
@@ -2620,7 +2720,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2620
2720
|
* there are too many unlocking chunks, the result of this call will likely be the
|
|
2621
2721
|
* `NoMoreChunks` error from the staking system.
|
|
2622
2722
|
**/
|
|
2623
|
-
unbond: AugmentedSubmittable<(memberAccount:
|
|
2723
|
+
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
2724
|
+
Id: any;
|
|
2725
|
+
} | {
|
|
2726
|
+
Index: any;
|
|
2727
|
+
} | {
|
|
2728
|
+
Raw: any;
|
|
2729
|
+
} | {
|
|
2730
|
+
Address32: any;
|
|
2731
|
+
} | {
|
|
2732
|
+
Address20: any;
|
|
2733
|
+
} | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2624
2734
|
/**
|
|
2625
2735
|
* Update the roles of the pool.
|
|
2626
2736
|
*
|
|
@@ -2670,7 +2780,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2670
2780
|
*
|
|
2671
2781
|
* If the target is the depositor, the pool will be destroyed.
|
|
2672
2782
|
**/
|
|
2673
|
-
withdrawUnbonded: AugmentedSubmittable<(memberAccount:
|
|
2783
|
+
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
2784
|
+
Id: any;
|
|
2785
|
+
} | {
|
|
2786
|
+
Index: any;
|
|
2787
|
+
} | {
|
|
2788
|
+
Raw: any;
|
|
2789
|
+
} | {
|
|
2790
|
+
Address32: any;
|
|
2791
|
+
} | {
|
|
2792
|
+
Address20: any;
|
|
2793
|
+
} | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
|
2674
2794
|
/**
|
|
2675
2795
|
* Generic tx
|
|
2676
2796
|
**/
|
|
@@ -2947,7 +3067,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2947
3067
|
* Weight is a function of the number of proxies the user has (P).
|
|
2948
3068
|
* # </weight>
|
|
2949
3069
|
**/
|
|
2950
|
-
addProxy: AugmentedSubmittable<(delegate:
|
|
3070
|
+
addProxy: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3071
|
+
Id: any;
|
|
3072
|
+
} | {
|
|
3073
|
+
Index: any;
|
|
3074
|
+
} | {
|
|
3075
|
+
Raw: any;
|
|
3076
|
+
} | {
|
|
3077
|
+
Address32: any;
|
|
3078
|
+
} | {
|
|
3079
|
+
Address20: any;
|
|
3080
|
+
} | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
|
|
2951
3081
|
/**
|
|
2952
3082
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
2953
3083
|
*
|
|
@@ -2971,7 +3101,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2971
3101
|
* - P: the number of proxies the user has.
|
|
2972
3102
|
* # </weight>
|
|
2973
3103
|
**/
|
|
2974
|
-
announce: AugmentedSubmittable<(real:
|
|
3104
|
+
announce: AugmentedSubmittable<(real: MultiAddress | {
|
|
3105
|
+
Id: any;
|
|
3106
|
+
} | {
|
|
3107
|
+
Index: any;
|
|
3108
|
+
} | {
|
|
3109
|
+
Raw: any;
|
|
3110
|
+
} | {
|
|
3111
|
+
Address32: any;
|
|
3112
|
+
} | {
|
|
3113
|
+
Address20: any;
|
|
3114
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
2975
3115
|
/**
|
|
2976
3116
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
|
2977
3117
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
|
@@ -3020,7 +3160,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3020
3160
|
* Weight is a function of the number of proxies the user has (P).
|
|
3021
3161
|
* # </weight>
|
|
3022
3162
|
**/
|
|
3023
|
-
killAnonymous: AugmentedSubmittable<(spawner:
|
|
3163
|
+
killAnonymous: AugmentedSubmittable<(spawner: MultiAddress | {
|
|
3164
|
+
Id: any;
|
|
3165
|
+
} | {
|
|
3166
|
+
Index: any;
|
|
3167
|
+
} | {
|
|
3168
|
+
Raw: any;
|
|
3169
|
+
} | {
|
|
3170
|
+
Address32: any;
|
|
3171
|
+
} | {
|
|
3172
|
+
Address20: any;
|
|
3173
|
+
} | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
3024
3174
|
/**
|
|
3025
3175
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
3026
3176
|
* `add_proxy`.
|
|
@@ -3038,7 +3188,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3038
3188
|
* Weight is a function of the number of proxies the user has (P).
|
|
3039
3189
|
* # </weight>
|
|
3040
3190
|
**/
|
|
3041
|
-
proxy: AugmentedSubmittable<(real:
|
|
3191
|
+
proxy: AugmentedSubmittable<(real: MultiAddress | {
|
|
3192
|
+
Id: any;
|
|
3193
|
+
} | {
|
|
3194
|
+
Index: any;
|
|
3195
|
+
} | {
|
|
3196
|
+
Raw: any;
|
|
3197
|
+
} | {
|
|
3198
|
+
Address32: any;
|
|
3199
|
+
} | {
|
|
3200
|
+
Address20: any;
|
|
3201
|
+
} | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
|
|
3042
3202
|
/**
|
|
3043
3203
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
3044
3204
|
* `add_proxy`.
|
|
@@ -3058,7 +3218,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3058
3218
|
* - P: the number of proxies the user has.
|
|
3059
3219
|
* # </weight>
|
|
3060
3220
|
**/
|
|
3061
|
-
proxyAnnounced: AugmentedSubmittable<(delegate:
|
|
3221
|
+
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3222
|
+
Id: any;
|
|
3223
|
+
} | {
|
|
3224
|
+
Index: any;
|
|
3225
|
+
} | {
|
|
3226
|
+
Raw: any;
|
|
3227
|
+
} | {
|
|
3228
|
+
Address32: any;
|
|
3229
|
+
} | {
|
|
3230
|
+
Address20: any;
|
|
3231
|
+
} | string | Uint8Array, real: MultiAddress | {
|
|
3232
|
+
Id: any;
|
|
3233
|
+
} | {
|
|
3234
|
+
Index: any;
|
|
3235
|
+
} | {
|
|
3236
|
+
Raw: any;
|
|
3237
|
+
} | {
|
|
3238
|
+
Address32: any;
|
|
3239
|
+
} | {
|
|
3240
|
+
Address20: any;
|
|
3241
|
+
} | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
|
|
3062
3242
|
/**
|
|
3063
3243
|
* Remove the given announcement of a delegate.
|
|
3064
3244
|
*
|
|
@@ -3077,7 +3257,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3077
3257
|
* - P: the number of proxies the user has.
|
|
3078
3258
|
* # </weight>
|
|
3079
3259
|
**/
|
|
3080
|
-
rejectAnnouncement: AugmentedSubmittable<(delegate:
|
|
3260
|
+
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3261
|
+
Id: any;
|
|
3262
|
+
} | {
|
|
3263
|
+
Index: any;
|
|
3264
|
+
} | {
|
|
3265
|
+
Raw: any;
|
|
3266
|
+
} | {
|
|
3267
|
+
Address32: any;
|
|
3268
|
+
} | {
|
|
3269
|
+
Address20: any;
|
|
3270
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3081
3271
|
/**
|
|
3082
3272
|
* Remove a given announcement.
|
|
3083
3273
|
*
|
|
@@ -3096,7 +3286,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3096
3286
|
* - P: the number of proxies the user has.
|
|
3097
3287
|
* # </weight>
|
|
3098
3288
|
**/
|
|
3099
|
-
removeAnnouncement: AugmentedSubmittable<(real:
|
|
3289
|
+
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | {
|
|
3290
|
+
Id: any;
|
|
3291
|
+
} | {
|
|
3292
|
+
Index: any;
|
|
3293
|
+
} | {
|
|
3294
|
+
Raw: any;
|
|
3295
|
+
} | {
|
|
3296
|
+
Address32: any;
|
|
3297
|
+
} | {
|
|
3298
|
+
Address20: any;
|
|
3299
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3100
3300
|
/**
|
|
3101
3301
|
* Unregister all proxy accounts for the sender.
|
|
3102
3302
|
*
|
|
@@ -3123,7 +3323,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3123
3323
|
* Weight is a function of the number of proxies the user has (P).
|
|
3124
3324
|
* # </weight>
|
|
3125
3325
|
**/
|
|
3126
|
-
removeProxy: AugmentedSubmittable<(delegate:
|
|
3326
|
+
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3327
|
+
Id: any;
|
|
3328
|
+
} | {
|
|
3329
|
+
Index: any;
|
|
3330
|
+
} | {
|
|
3331
|
+
Raw: any;
|
|
3332
|
+
} | {
|
|
3333
|
+
Address32: any;
|
|
3334
|
+
} | {
|
|
3335
|
+
Address20: any;
|
|
3336
|
+
} | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
|
|
3127
3337
|
/**
|
|
3128
3338
|
* Generic tx
|
|
3129
3339
|
**/
|
|
@@ -3140,7 +3350,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3140
3350
|
* - `account`: The recovered account you want to make a call on-behalf-of.
|
|
3141
3351
|
* - `call`: The call you want to make with the recovered account.
|
|
3142
3352
|
**/
|
|
3143
|
-
asRecovered: AugmentedSubmittable<(account:
|
|
3353
|
+
asRecovered: AugmentedSubmittable<(account: MultiAddress | {
|
|
3354
|
+
Id: any;
|
|
3355
|
+
} | {
|
|
3356
|
+
Index: any;
|
|
3357
|
+
} | {
|
|
3358
|
+
Raw: any;
|
|
3359
|
+
} | {
|
|
3360
|
+
Address32: any;
|
|
3361
|
+
} | {
|
|
3362
|
+
Address20: any;
|
|
3363
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
|
3144
3364
|
/**
|
|
3145
3365
|
* Cancel the ability to use `as_recovered` for `account`.
|
|
3146
3366
|
*
|
|
@@ -3150,7 +3370,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3150
3370
|
* Parameters:
|
|
3151
3371
|
* - `account`: The recovered account you are able to call on-behalf-of.
|
|
3152
3372
|
**/
|
|
3153
|
-
cancelRecovered: AugmentedSubmittable<(account:
|
|
3373
|
+
cancelRecovered: AugmentedSubmittable<(account: MultiAddress | {
|
|
3374
|
+
Id: any;
|
|
3375
|
+
} | {
|
|
3376
|
+
Index: any;
|
|
3377
|
+
} | {
|
|
3378
|
+
Raw: any;
|
|
3379
|
+
} | {
|
|
3380
|
+
Address32: any;
|
|
3381
|
+
} | {
|
|
3382
|
+
Address20: any;
|
|
3383
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3154
3384
|
/**
|
|
3155
3385
|
* Allow a successful rescuer to claim their recovered account.
|
|
3156
3386
|
*
|
|
@@ -3162,7 +3392,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3162
3392
|
* - `account`: The lost account that you want to claim has been successfully recovered by
|
|
3163
3393
|
* you.
|
|
3164
3394
|
**/
|
|
3165
|
-
claimRecovery: AugmentedSubmittable<(account:
|
|
3395
|
+
claimRecovery: AugmentedSubmittable<(account: MultiAddress | {
|
|
3396
|
+
Id: any;
|
|
3397
|
+
} | {
|
|
3398
|
+
Index: any;
|
|
3399
|
+
} | {
|
|
3400
|
+
Raw: any;
|
|
3401
|
+
} | {
|
|
3402
|
+
Address32: any;
|
|
3403
|
+
} | {
|
|
3404
|
+
Address20: any;
|
|
3405
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3166
3406
|
/**
|
|
3167
3407
|
* As the controller of a recoverable account, close an active recovery
|
|
3168
3408
|
* process for your account.
|
|
@@ -3176,7 +3416,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3176
3416
|
* Parameters:
|
|
3177
3417
|
* - `rescuer`: The account trying to rescue this recoverable account.
|
|
3178
3418
|
**/
|
|
3179
|
-
closeRecovery: AugmentedSubmittable<(rescuer:
|
|
3419
|
+
closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | {
|
|
3420
|
+
Id: any;
|
|
3421
|
+
} | {
|
|
3422
|
+
Index: any;
|
|
3423
|
+
} | {
|
|
3424
|
+
Raw: any;
|
|
3425
|
+
} | {
|
|
3426
|
+
Address32: any;
|
|
3427
|
+
} | {
|
|
3428
|
+
Address20: any;
|
|
3429
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3180
3430
|
/**
|
|
3181
3431
|
* Create a recovery configuration for your account. This makes your account recoverable.
|
|
3182
3432
|
*
|
|
@@ -3209,7 +3459,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3209
3459
|
* - `account`: The lost account that you want to recover. This account needs to be
|
|
3210
3460
|
* recoverable (i.e. have a recovery configuration).
|
|
3211
3461
|
**/
|
|
3212
|
-
initiateRecovery: AugmentedSubmittable<(account:
|
|
3462
|
+
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | {
|
|
3463
|
+
Id: any;
|
|
3464
|
+
} | {
|
|
3465
|
+
Index: any;
|
|
3466
|
+
} | {
|
|
3467
|
+
Raw: any;
|
|
3468
|
+
} | {
|
|
3469
|
+
Address32: any;
|
|
3470
|
+
} | {
|
|
3471
|
+
Address20: any;
|
|
3472
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3213
3473
|
/**
|
|
3214
3474
|
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
|
3215
3475
|
*
|
|
@@ -3234,7 +3494,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3234
3494
|
* - `lost`: The "lost account" to be recovered.
|
|
3235
3495
|
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
|
3236
3496
|
**/
|
|
3237
|
-
setRecovered: AugmentedSubmittable<(lost:
|
|
3497
|
+
setRecovered: AugmentedSubmittable<(lost: MultiAddress | {
|
|
3498
|
+
Id: any;
|
|
3499
|
+
} | {
|
|
3500
|
+
Index: any;
|
|
3501
|
+
} | {
|
|
3502
|
+
Raw: any;
|
|
3503
|
+
} | {
|
|
3504
|
+
Address32: any;
|
|
3505
|
+
} | {
|
|
3506
|
+
Address20: any;
|
|
3507
|
+
} | string | Uint8Array, rescuer: MultiAddress | {
|
|
3508
|
+
Id: any;
|
|
3509
|
+
} | {
|
|
3510
|
+
Index: any;
|
|
3511
|
+
} | {
|
|
3512
|
+
Raw: any;
|
|
3513
|
+
} | {
|
|
3514
|
+
Address32: any;
|
|
3515
|
+
} | {
|
|
3516
|
+
Address20: any;
|
|
3517
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
3238
3518
|
/**
|
|
3239
3519
|
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
|
3240
3520
|
* process for that account.
|
|
@@ -3249,7 +3529,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3249
3529
|
* The combination of these two parameters must point to an active recovery
|
|
3250
3530
|
* process.
|
|
3251
3531
|
**/
|
|
3252
|
-
vouchRecovery: AugmentedSubmittable<(lost:
|
|
3532
|
+
vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | {
|
|
3533
|
+
Id: any;
|
|
3534
|
+
} | {
|
|
3535
|
+
Index: any;
|
|
3536
|
+
} | {
|
|
3537
|
+
Raw: any;
|
|
3538
|
+
} | {
|
|
3539
|
+
Address32: any;
|
|
3540
|
+
} | {
|
|
3541
|
+
Address20: any;
|
|
3542
|
+
} | string | Uint8Array, rescuer: MultiAddress | {
|
|
3543
|
+
Id: any;
|
|
3544
|
+
} | {
|
|
3545
|
+
Index: any;
|
|
3546
|
+
} | {
|
|
3547
|
+
Raw: any;
|
|
3548
|
+
} | {
|
|
3549
|
+
Address32: any;
|
|
3550
|
+
} | {
|
|
3551
|
+
Address20: any;
|
|
3552
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
3253
3553
|
/**
|
|
3254
3554
|
* Generic tx
|
|
3255
3555
|
**/
|
|
@@ -3541,7 +3841,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3541
3841
|
* Total Complexity: O(1)
|
|
3542
3842
|
* # </weight>
|
|
3543
3843
|
**/
|
|
3544
|
-
found: AugmentedSubmittable<(founder:
|
|
3844
|
+
found: AugmentedSubmittable<(founder: MultiAddress | {
|
|
3845
|
+
Id: any;
|
|
3846
|
+
} | {
|
|
3847
|
+
Index: any;
|
|
3848
|
+
} | {
|
|
3849
|
+
Raw: any;
|
|
3850
|
+
} | {
|
|
3851
|
+
Address32: any;
|
|
3852
|
+
} | {
|
|
3853
|
+
Address20: any;
|
|
3854
|
+
} | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, Bytes]>;
|
|
3545
3855
|
/**
|
|
3546
3856
|
* Allow suspended judgement origin to make judgement on a suspended candidate.
|
|
3547
3857
|
*
|
|
@@ -3584,7 +3894,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3584
3894
|
* Total Complexity: O(M + logM + B + X)
|
|
3585
3895
|
* # </weight>
|
|
3586
3896
|
**/
|
|
3587
|
-
judgeSuspendedCandidate: AugmentedSubmittable<(who:
|
|
3897
|
+
judgeSuspendedCandidate: AugmentedSubmittable<(who: MultiAddress | {
|
|
3898
|
+
Id: any;
|
|
3899
|
+
} | {
|
|
3900
|
+
Index: any;
|
|
3901
|
+
} | {
|
|
3902
|
+
Raw: any;
|
|
3903
|
+
} | {
|
|
3904
|
+
Address32: any;
|
|
3905
|
+
} | {
|
|
3906
|
+
Address20: any;
|
|
3907
|
+
} | string | Uint8Array, judgement: PalletSocietyJudgement | 'Rebid' | 'Reject' | 'Approve' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletSocietyJudgement]>;
|
|
3588
3908
|
/**
|
|
3589
3909
|
* Allow suspension judgement origin to make judgement on a suspended member.
|
|
3590
3910
|
*
|
|
@@ -3615,7 +3935,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3615
3935
|
* Total Complexity: O(M + logM + B)
|
|
3616
3936
|
* # </weight>
|
|
3617
3937
|
**/
|
|
3618
|
-
judgeSuspendedMember: AugmentedSubmittable<(who:
|
|
3938
|
+
judgeSuspendedMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
3939
|
+
Id: any;
|
|
3940
|
+
} | {
|
|
3941
|
+
Index: any;
|
|
3942
|
+
} | {
|
|
3943
|
+
Raw: any;
|
|
3944
|
+
} | {
|
|
3945
|
+
Address32: any;
|
|
3946
|
+
} | {
|
|
3947
|
+
Address20: any;
|
|
3948
|
+
} | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
3619
3949
|
/**
|
|
3620
3950
|
* Transfer the first matured payout for the sender and remove it from the records.
|
|
3621
3951
|
*
|
|
@@ -3794,7 +4124,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3794
4124
|
* Total Complexity: O(M + B + C + logM + logB + X)
|
|
3795
4125
|
* # </weight>
|
|
3796
4126
|
**/
|
|
3797
|
-
vouch: AugmentedSubmittable<(who:
|
|
4127
|
+
vouch: AugmentedSubmittable<(who: MultiAddress | {
|
|
4128
|
+
Id: any;
|
|
4129
|
+
} | {
|
|
4130
|
+
Index: any;
|
|
4131
|
+
} | {
|
|
4132
|
+
Raw: any;
|
|
4133
|
+
} | {
|
|
4134
|
+
Address32: any;
|
|
4135
|
+
} | {
|
|
4136
|
+
Address20: any;
|
|
4137
|
+
} | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128, u128]>;
|
|
3798
4138
|
/**
|
|
3799
4139
|
* Generic tx
|
|
3800
4140
|
**/
|
|
@@ -4531,7 +4871,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4531
4871
|
*
|
|
4532
4872
|
* May only be called from `T::AddOrigin`.
|
|
4533
4873
|
**/
|
|
4534
|
-
addMember: AugmentedSubmittable<(who:
|
|
4874
|
+
addMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
4875
|
+
Id: any;
|
|
4876
|
+
} | {
|
|
4877
|
+
Index: any;
|
|
4878
|
+
} | {
|
|
4879
|
+
Raw: any;
|
|
4880
|
+
} | {
|
|
4881
|
+
Address32: any;
|
|
4882
|
+
} | {
|
|
4883
|
+
Address20: any;
|
|
4884
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
4535
4885
|
/**
|
|
4536
4886
|
* Swap out the sending member for some other key `new`.
|
|
4537
4887
|
*
|
|
@@ -4539,7 +4889,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4539
4889
|
*
|
|
4540
4890
|
* Prime membership is passed from the origin account to `new`, if extant.
|
|
4541
4891
|
**/
|
|
4542
|
-
changeKey: AugmentedSubmittable<(updated:
|
|
4892
|
+
changeKey: AugmentedSubmittable<(updated: MultiAddress | {
|
|
4893
|
+
Id: any;
|
|
4894
|
+
} | {
|
|
4895
|
+
Index: any;
|
|
4896
|
+
} | {
|
|
4897
|
+
Raw: any;
|
|
4898
|
+
} | {
|
|
4899
|
+
Address32: any;
|
|
4900
|
+
} | {
|
|
4901
|
+
Address20: any;
|
|
4902
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
4543
4903
|
/**
|
|
4544
4904
|
* Remove the prime member if it exists.
|
|
4545
4905
|
*
|
|
@@ -4551,7 +4911,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4551
4911
|
*
|
|
4552
4912
|
* May only be called from `T::RemoveOrigin`.
|
|
4553
4913
|
**/
|
|
4554
|
-
removeMember: AugmentedSubmittable<(who:
|
|
4914
|
+
removeMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
4915
|
+
Id: any;
|
|
4916
|
+
} | {
|
|
4917
|
+
Index: any;
|
|
4918
|
+
} | {
|
|
4919
|
+
Raw: any;
|
|
4920
|
+
} | {
|
|
4921
|
+
Address32: any;
|
|
4922
|
+
} | {
|
|
4923
|
+
Address20: any;
|
|
4924
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
4555
4925
|
/**
|
|
4556
4926
|
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
|
4557
4927
|
* pass `members` pre-sorted.
|
|
@@ -4564,7 +4934,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4564
4934
|
*
|
|
4565
4935
|
* May only be called from `T::PrimeOrigin`.
|
|
4566
4936
|
**/
|
|
4567
|
-
setPrime: AugmentedSubmittable<(who:
|
|
4937
|
+
setPrime: AugmentedSubmittable<(who: MultiAddress | {
|
|
4938
|
+
Id: any;
|
|
4939
|
+
} | {
|
|
4940
|
+
Index: any;
|
|
4941
|
+
} | {
|
|
4942
|
+
Raw: any;
|
|
4943
|
+
} | {
|
|
4944
|
+
Address32: any;
|
|
4945
|
+
} | {
|
|
4946
|
+
Address20: any;
|
|
4947
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
4568
4948
|
/**
|
|
4569
4949
|
* Swap out one member `remove` for another `add`.
|
|
4570
4950
|
*
|
|
@@ -4572,7 +4952,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4572
4952
|
*
|
|
4573
4953
|
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
|
4574
4954
|
**/
|
|
4575
|
-
swapMember: AugmentedSubmittable<(remove:
|
|
4955
|
+
swapMember: AugmentedSubmittable<(remove: MultiAddress | {
|
|
4956
|
+
Id: any;
|
|
4957
|
+
} | {
|
|
4958
|
+
Index: any;
|
|
4959
|
+
} | {
|
|
4960
|
+
Raw: any;
|
|
4961
|
+
} | {
|
|
4962
|
+
Address32: any;
|
|
4963
|
+
} | {
|
|
4964
|
+
Address20: any;
|
|
4965
|
+
} | string | Uint8Array, add: MultiAddress | {
|
|
4966
|
+
Id: any;
|
|
4967
|
+
} | {
|
|
4968
|
+
Index: any;
|
|
4969
|
+
} | {
|
|
4970
|
+
Raw: any;
|
|
4971
|
+
} | {
|
|
4972
|
+
Address32: any;
|
|
4973
|
+
} | {
|
|
4974
|
+
Address20: any;
|
|
4975
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
4576
4976
|
/**
|
|
4577
4977
|
* Generic tx
|
|
4578
4978
|
**/
|
|
@@ -4644,7 +5044,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4644
5044
|
* - DbWrites: `Reasons`, `Tips`
|
|
4645
5045
|
* # </weight>
|
|
4646
5046
|
**/
|
|
4647
|
-
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who:
|
|
5047
|
+
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
|
|
5048
|
+
Id: any;
|
|
5049
|
+
} | {
|
|
5050
|
+
Index: any;
|
|
5051
|
+
} | {
|
|
5052
|
+
Raw: any;
|
|
5053
|
+
} | {
|
|
5054
|
+
Address32: any;
|
|
5055
|
+
} | {
|
|
5056
|
+
Address20: any;
|
|
5057
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress]>;
|
|
4648
5058
|
/**
|
|
4649
5059
|
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
|
4650
5060
|
*
|
|
@@ -4733,7 +5143,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4733
5143
|
* - DbWrites: `Reasons`, `Tips`
|
|
4734
5144
|
* # </weight>
|
|
4735
5145
|
**/
|
|
4736
|
-
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who:
|
|
5146
|
+
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
|
|
5147
|
+
Id: any;
|
|
5148
|
+
} | {
|
|
5149
|
+
Index: any;
|
|
5150
|
+
} | {
|
|
5151
|
+
Raw: any;
|
|
5152
|
+
} | {
|
|
5153
|
+
Address32: any;
|
|
5154
|
+
} | {
|
|
5155
|
+
Address20: any;
|
|
5156
|
+
} | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress, Compact<u128>]>;
|
|
4737
5157
|
/**
|
|
4738
5158
|
* Generic tx
|
|
4739
5159
|
**/
|
|
@@ -5119,7 +5539,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5119
5539
|
* - both nodes are within the same bag,
|
|
5120
5540
|
* - and `origin` has a greater `Score` than `lighter`.
|
|
5121
5541
|
**/
|
|
5122
|
-
putInFrontOf: AugmentedSubmittable<(lighter:
|
|
5542
|
+
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | {
|
|
5543
|
+
Id: any;
|
|
5544
|
+
} | {
|
|
5545
|
+
Index: any;
|
|
5546
|
+
} | {
|
|
5547
|
+
Raw: any;
|
|
5548
|
+
} | {
|
|
5549
|
+
Address32: any;
|
|
5550
|
+
} | {
|
|
5551
|
+
Address20: any;
|
|
5552
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5123
5553
|
/**
|
|
5124
5554
|
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
|
5125
5555
|
* changed its score that it should properly fall into a different bag than its current
|
|
@@ -5132,7 +5562,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5132
5562
|
*
|
|
5133
5563
|
* If `dislocated` does not exists, it returns an error.
|
|
5134
5564
|
**/
|
|
5135
|
-
rebag: AugmentedSubmittable<(dislocated:
|
|
5565
|
+
rebag: AugmentedSubmittable<(dislocated: MultiAddress | {
|
|
5566
|
+
Id: any;
|
|
5567
|
+
} | {
|
|
5568
|
+
Index: any;
|
|
5569
|
+
} | {
|
|
5570
|
+
Raw: any;
|
|
5571
|
+
} | {
|
|
5572
|
+
Address32: any;
|
|
5573
|
+
} | {
|
|
5574
|
+
Address20: any;
|
|
5575
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5136
5576
|
/**
|
|
5137
5577
|
* Generic tx
|
|
5138
5578
|
**/
|