|
|
|
@@ -2546,10 +2546,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* - `proxy_type`: The permissions allowed for this proxy account.
|
|
|
|
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
|
|
|
* zero.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of the number of proxies the user has (P).
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
|
|
|
|
|
/**
|
|
|
|
@@ -2568,12 +2564,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* Parameters:
|
|
|
|
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
|
|
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of:
|
|
|
|
|
* - A: the number of announcements made.
|
|
|
|
|
* - P: the number of proxies the user has.
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
|
|
|
/**
|
|
|
|
@@ -2595,36 +2585,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* same sender, with the same parameters.
|
|
|
|
|
*
|
|
|
|
|
* Fails if there are insufficient funds to pay for deposit.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of the number of proxies the user has (P).
|
|
|
|
|
* # </weight>
|
|
|
|
|
* TODO: Might be over counting 1 read
|
|
|
|
|
**/
|
|
|
|
|
anonymous: AugmentedSubmittable<(proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeProxyType, u32, u16]>;
|
|
|
|
|
createPure: AugmentedSubmittable<(proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeProxyType, u32, u16]>;
|
|
|
|
|
/**
|
|
|
|
|
* Removes a previously spawned anonymous proxy.
|
|
|
|
|
* Removes a previously spawned pure proxy.
|
|
|
|
|
*
|
|
|
|
|
* WARNING: **All access to this account will be lost.** Any funds held in it will be
|
|
|
|
|
* inaccessible.
|
|
|
|
|
*
|
|
|
|
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
|
|
|
* `anonymous` with corresponding parameters.
|
|
|
|
|
* `pure` with corresponding parameters.
|
|
|
|
|
*
|
|
|
|
|
* - `spawner`: The account that originally called `anonymous` to create this account.
|
|
|
|
|
* - `index`: The disambiguation index originally passed to `anonymous`. Probably `0`.
|
|
|
|
|
* - `proxy_type`: The proxy type originally passed to `anonymous`.
|
|
|
|
|
* - `height`: The height of the chain when the call to `anonymous` was processed.
|
|
|
|
|
* - `ext_index`: The extrinsic index in which the call to `anonymous` was processed.
|
|
|
|
|
* - `spawner`: The account that originally called `pure` to create this account.
|
|
|
|
|
* - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
|
|
|
|
|
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
|
|
|
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
|
|
|
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
|
|
|
*
|
|
|
|
|
* Fails with `NoPermission` in case the caller is not a previously created anonymous
|
|
|
|
|
* account whose `anonymous` call has corresponding parameters.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of the number of proxies the user has (P).
|
|
|
|
|
* # </weight>
|
|
|
|
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
|
|
|
* account whose `pure` call has corresponding parameters.
|
|
|
|
|
**/
|
|
|
|
|
killAnonymous: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | 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>]>;
|
|
|
|
|
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | 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>]>;
|
|
|
|
|
/**
|
|
|
|
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
|
|
|
* `add_proxy`.
|
|
|
|
@@ -2637,10 +2618,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
|
|
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
|
|
|
* - `call`: The call to be made by the `real` account.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of the number of proxies the user has (P).
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | 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]>;
|
|
|
|
|
/**
|
|
|
|
@@ -2655,12 +2632,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
|
|
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
|
|
|
* - `call`: The call to be made by the `real` account.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of:
|
|
|
|
|
* - A: the number of announcements made.
|
|
|
|
|
* - P: the number of proxies the user has.
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | 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]>;
|
|
|
|
|
/**
|
|
|
|
@@ -2674,12 +2645,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* Parameters:
|
|
|
|
|
* - `delegate`: The account that previously announced the call.
|
|
|
|
|
* - `call_hash`: The hash of the call to be made.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of:
|
|
|
|
|
* - A: the number of announcements made.
|
|
|
|
|
* - P: the number of proxies the user has.
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
|
|
|
/**
|
|
|
|
@@ -2693,12 +2658,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* Parameters:
|
|
|
|
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
|
|
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of:
|
|
|
|
|
* - A: the number of announcements made.
|
|
|
|
|
* - P: the number of proxies the user has.
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
|
|
|
/**
|
|
|
|
@@ -2706,12 +2665,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
*
|
|
|
|
|
* The dispatch origin for this call must be _Signed_.
|
|
|
|
|
*
|
|
|
|
|
* WARNING: This may be called on accounts created by `anonymous`, however if done, then
|
|
|
|
|
* WARNING: This may be called on accounts created by `pure`, however if done, then
|
|
|
|
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of the number of proxies the user has (P).
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
|
|
|
/**
|
|
|
|
@@ -2722,10 +2677,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* Parameters:
|
|
|
|
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
|
|
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* Weight is a function of the number of proxies the user has (P).
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
|
|
|
|
|
/**
|
|
|
|
@@ -3640,31 +3591,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
setController: AugmentedSubmittable<(controller: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
|
|
|
/**
|
|
|
|
|
* Set `HistoryDepth` value. This function will delete any history information
|
|
|
|
|
* when `HistoryDepth` is reduced.
|
|
|
|
|
*
|
|
|
|
|
* Parameters:
|
|
|
|
|
* - `new_history_depth`: The new history depth you would like to set.
|
|
|
|
|
* - `era_items_deleted`: The number of items that will be deleted by this dispatch. This
|
|
|
|
|
* should report all the storage items that will be deleted by clearing old era history.
|
|
|
|
|
* Needed to report an accurate weight for the dispatch. Trusted by `Root` to report an
|
|
|
|
|
* accurate number.
|
|
|
|
|
*
|
|
|
|
|
* Origin must be root.
|
|
|
|
|
*
|
|
|
|
|
* # <weight>
|
|
|
|
|
* - E: Number of history depths removed, i.e. 10 -> 7 = 3
|
|
|
|
|
* - Weight: O(E)
|
|
|
|
|
* - DB Weight:
|
|
|
|
|
* - Reads: Current Era, History Depth
|
|
|
|
|
* - Writes: History Depth
|
|
|
|
|
* - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs
|
|
|
|
|
* - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake,
|
|
|
|
|
* ErasStartSessionIndex
|
|
|
|
|
* # </weight>
|
|
|
|
|
**/
|
|
|
|
|
setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<u32> | AnyNumber | Uint8Array, eraItemsDeleted: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
|
|
|
|
|
/**
|
|
|
|
|
* Set the validators who cannot be slashed (if any).
|
|
|
|
|
*
|
|
|
|
@@ -3704,7 +3630,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
|
|
* * `min_commission`: The minimum amount of commission that each validators must maintain.
|
|
|
|
|
* This is checked only upon calling `validate`. Existing validators are not affected.
|
|
|
|
|
*
|
|
|
|
|
* Origin must be Root to call this function.
|
|
|
|
|
* RuntimeOrigin must be Root to call this function.
|
|
|
|
|
*
|
|
|
|
|
* NOTE: Existing nominators and validators will not be affected by this update.
|
|
|
|
|
* to kick people under the new limits, `chill_other` should be called.
|
|
|
|
|