Bump static metadata (#4712)

This commit is contained in:
Jaco
2022-04-02 13:28:40 +03:00
committed by GitHub
parent b7b707249b
commit 95fc2b2c99
23 changed files with 596 additions and 239 deletions
+1
View File
@@ -13,6 +13,7 @@ Changes:
- Cater for `DispatchError` with `error` as `[u8; 4]` - Cater for `DispatchError` with `error` as `[u8; 4]`
- Add in-flight cache for parallel same-version metadata queries - Add in-flight cache for parallel same-version metadata queries
- Cater for lazy `@polkadot/util-crypto` init (adjustment for React Native) - Cater for lazy `@polkadot/util-crypto` init (adjustment for React Native)
- Update to latest Substrate, Kusama & Polkadot static metadata
## 7.14.3 Mar 28, 2022 ## 7.14.3 Mar 28, 2022
+25 -19
View File
@@ -135,11 +135,6 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
bounties: { bounties: {
/**
* Percentage of the curator fee that will be reserved upfront as deposit for bounty
* curator.
**/
bountyCuratorDeposit: Permill & AugmentedConst<ApiType>;
/** /**
* The amount held on deposit for placing a bounty proposal. * The amount held on deposit for placing a bounty proposal.
**/ **/
@@ -156,6 +151,21 @@ declare module '@polkadot/api-base/types/consts' {
* Minimum value for a bounty. * Minimum value for a bounty.
**/ **/
bountyValueMinimum: u128 & AugmentedConst<ApiType>; bountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
/**
* The curator deposit is calculated as a percentage of the curator fee.
*
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
* `CuratorDepositMin`.
**/
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
/** /**
* The amount held on deposit per byte within the tip report reason or bounty description. * The amount held on deposit per byte within the tip report reason or bounty description.
**/ **/
@@ -172,11 +182,6 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
childBounties: { childBounties: {
/**
* Percentage of child-bounty value to be reserved as curator deposit
* when curator fee is zero.
**/
childBountyCuratorDepositBase: Permill & AugmentedConst<ApiType>;
/** /**
* Minimum value for a child-bounty. * Minimum value for a child-bounty.
**/ **/
@@ -279,6 +284,16 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
electionProviderMultiPhase: { electionProviderMultiPhase: {
/**
* The maximum number of electable targets to put in the snapshot.
**/
maxElectableTargets: u16 & AugmentedConst<ApiType>;
/**
* The maximum number of electing voters to put in the snapshot. At the moment, snapshots
* are only over a single block, but once multi-block elections are introduced they will
* take place over multiple blocks.
**/
maxElectingVoters: u32 & AugmentedConst<ApiType>;
/** /**
* Maximum length (bytes) that the mined solution should consume. * Maximum length (bytes) that the mined solution should consume.
* *
@@ -349,15 +364,6 @@ declare module '@polkadot/api-base/types/consts' {
* Duration of the unsigned phase. * Duration of the unsigned phase.
**/ **/
unsignedPhase: u32 & AugmentedConst<ApiType>; unsignedPhase: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of voters to put in the snapshot. At the moment, snapshots are only
* over a single block, but once multi-block elections are introduced they will take place
* over multiple blocks.
*
* Also, note the data type: If the voters are represented by a `u32` in `type
* CompactSolution`, the same `u32` is used here to ensure bounds are respected.
**/
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
/** /**
* Generic const * Generic const
**/ **/
@@ -722,6 +722,10 @@ declare module '@polkadot/api-base/types/events' {
* A proxy was executed correctly, with the given. * A proxy was executed correctly, with the given.
**/ **/
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>; ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
/**
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, KusamaRuntimeProxyType, u32]>;
/** /**
* Generic event * Generic event
**/ **/
+18 -12
View File
@@ -4408,10 +4408,13 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>; forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;
/** /**
* Transfer some assets from the local chain to the sovereign account of a destination chain and forward * Transfer some assets from the local chain to the sovereign account of a destination
* a notification XCM. * chain and forward a notification XCM.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector. * Fee payment on the destination side is made from the asset in the `assets` vector of
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
* is needed than `weight_limit`, then the operation will fail and the assets send may be
* at risk.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
@@ -4428,7 +4431,10 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* Teleport some assets from the local chain to some destination chain. * Teleport some assets from the local chain to some destination chain.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector. * Fee payment on the destination side is made from the asset in the `assets` vector of
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
* is needed than `weight_limit`, then the operation will fail and the assets send may be
* at risk.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
@@ -4443,12 +4449,12 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>; limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;
/** /**
* Transfer some assets from the local chain to the sovereign account of a destination chain and forward * Transfer some assets from the local chain to the sovereign account of a destination
* a notification XCM. * chain and forward a notification XCM.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector and * Fee payment on the destination side is made from the asset in the `assets` vector of
* fee-weight is calculated locally and thus remote weights are assumed to be equal to * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
* local weights. * with all fees taken as needed from the asset.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
@@ -4465,9 +4471,9 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* Teleport some assets from the local chain to some destination chain. * Teleport some assets from the local chain to some destination chain.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector and * Fee payment on the destination side is made from the asset in the `assets` vector of
* fee-weight is calculated locally and thus remote weights are assumed to be equal to * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
* local weights. * with all fees taken as needed from the asset.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
+25 -19
View File
@@ -135,11 +135,6 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
bounties: { bounties: {
/**
* Percentage of the curator fee that will be reserved upfront as deposit for bounty
* curator.
**/
bountyCuratorDeposit: Permill & AugmentedConst<ApiType>;
/** /**
* The amount held on deposit for placing a bounty proposal. * The amount held on deposit for placing a bounty proposal.
**/ **/
@@ -156,6 +151,21 @@ declare module '@polkadot/api-base/types/consts' {
* Minimum value for a bounty. * Minimum value for a bounty.
**/ **/
bountyValueMinimum: u128 & AugmentedConst<ApiType>; bountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
/**
* The curator deposit is calculated as a percentage of the curator fee.
*
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
* `CuratorDepositMin`.
**/
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
/** /**
* The amount held on deposit per byte within the tip report reason or bounty description. * The amount held on deposit per byte within the tip report reason or bounty description.
**/ **/
@@ -172,11 +182,6 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
childBounties: { childBounties: {
/**
* Percentage of child-bounty value to be reserved as curator deposit
* when curator fee is zero.
**/
childBountyCuratorDepositBase: Permill & AugmentedConst<ApiType>;
/** /**
* Minimum value for a child-bounty. * Minimum value for a child-bounty.
**/ **/
@@ -279,6 +284,16 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
electionProviderMultiPhase: { electionProviderMultiPhase: {
/**
* The maximum number of electable targets to put in the snapshot.
**/
maxElectableTargets: u16 & AugmentedConst<ApiType>;
/**
* The maximum number of electing voters to put in the snapshot. At the moment, snapshots
* are only over a single block, but once multi-block elections are introduced they will
* take place over multiple blocks.
**/
maxElectingVoters: u32 & AugmentedConst<ApiType>;
/** /**
* Maximum length (bytes) that the mined solution should consume. * Maximum length (bytes) that the mined solution should consume.
* *
@@ -349,15 +364,6 @@ declare module '@polkadot/api-base/types/consts' {
* Duration of the unsigned phase. * Duration of the unsigned phase.
**/ **/
unsignedPhase: u32 & AugmentedConst<ApiType>; unsignedPhase: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of voters to put in the snapshot. At the moment, snapshots are only
* over a single block, but once multi-block elections are introduced they will take place
* over multiple blocks.
*
* Also, note the data type: If the voters are represented by a `u32` in `type
* CompactSolution`, the same `u32` is used here to ensure bounds are respected.
**/
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
/** /**
* Generic const * Generic const
**/ **/
@@ -700,6 +700,10 @@ declare module '@polkadot/api-base/types/events' {
* A proxy was executed correctly, with the given. * A proxy was executed correctly, with the given.
**/ **/
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>; ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
/**
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, PolkadotRuntimeProxyType, u32]>;
/** /**
* Generic event * Generic event
**/ **/
+18 -12
View File
@@ -3826,10 +3826,13 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>; forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;
/** /**
* Transfer some assets from the local chain to the sovereign account of a destination chain and forward * Transfer some assets from the local chain to the sovereign account of a destination
* a notification XCM. * chain and forward a notification XCM.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector. * Fee payment on the destination side is made from the asset in the `assets` vector of
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
* is needed than `weight_limit`, then the operation will fail and the assets send may be
* at risk.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
@@ -3846,7 +3849,10 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* Teleport some assets from the local chain to some destination chain. * Teleport some assets from the local chain to some destination chain.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector. * Fee payment on the destination side is made from the asset in the `assets` vector of
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
* is needed than `weight_limit`, then the operation will fail and the assets send may be
* at risk.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
@@ -3861,12 +3867,12 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>; limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;
/** /**
* Transfer some assets from the local chain to the sovereign account of a destination chain and forward * Transfer some assets from the local chain to the sovereign account of a destination
* a notification XCM. * chain and forward a notification XCM.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector and * Fee payment on the destination side is made from the asset in the `assets` vector of
* fee-weight is calculated locally and thus remote weights are assumed to be equal to * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
* local weights. * with all fees taken as needed from the asset.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
@@ -3883,9 +3889,9 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* Teleport some assets from the local chain to some destination chain. * Teleport some assets from the local chain to some destination chain.
* *
* Fee payment on the destination side is made from the first asset listed in the `assets` vector and * Fee payment on the destination side is made from the asset in the `assets` vector of
* fee-weight is calculated locally and thus remote weights are assumed to be equal to * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
* local weights. * with all fees taken as needed from the asset.
* *
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
+26 -30
View File
@@ -5,7 +5,7 @@ import type { ApiTypes } from '@polkadot/api-base/types';
import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types'; import type { Codec } from '@polkadot/types-codec/types';
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime'; import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, PalletStateTrieMigrationMigrationLimits, SpVersionRuntimeVersion } from '@polkadot/types/lookup'; import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/consts' { declare module '@polkadot/api-base/types/consts' {
export interface AugmentedConsts<ApiType extends ApiTypes> { export interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -149,11 +149,6 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
bounties: { bounties: {
/**
* Percentage of the curator fee that will be reserved upfront as deposit for bounty
* curator.
**/
bountyCuratorDeposit: Permill & AugmentedConst<ApiType>;
/** /**
* The amount held on deposit for placing a bounty proposal. * The amount held on deposit for placing a bounty proposal.
**/ **/
@@ -170,6 +165,21 @@ declare module '@polkadot/api-base/types/consts' {
* Minimum value for a bounty. * Minimum value for a bounty.
**/ **/
bountyValueMinimum: u128 & AugmentedConst<ApiType>; bountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
/**
* The curator deposit is calculated as a percentage of the curator fee.
*
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
* `CuratorDepositMin`.
**/
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
/** /**
* The amount held on deposit per byte within the tip report reason or bounty description. * The amount held on deposit per byte within the tip report reason or bounty description.
**/ **/
@@ -186,11 +196,6 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
childBounties: { childBounties: {
/**
* Percentage of child-bounty value to be reserved as curator deposit
* when curator fee is zero.
**/
childBountyCuratorDepositBase: Permill & AugmentedConst<ApiType>;
/** /**
* Minimum value for a child-bounty. * Minimum value for a child-bounty.
**/ **/
@@ -340,6 +345,16 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec; [key: string]: Codec;
}; };
electionProviderMultiPhase: { electionProviderMultiPhase: {
/**
* The maximum number of electable targets to put in the snapshot.
**/
maxElectableTargets: u16 & AugmentedConst<ApiType>;
/**
* The maximum number of electing voters to put in the snapshot. At the moment, snapshots
* are only over a single block, but once multi-block elections are introduced they will
* take place over multiple blocks.
**/
maxElectingVoters: u32 & AugmentedConst<ApiType>;
/** /**
* Maximum length (bytes) that the mined solution should consume. * Maximum length (bytes) that the mined solution should consume.
* *
@@ -410,15 +425,6 @@ declare module '@polkadot/api-base/types/consts' {
* Duration of the unsigned phase. * Duration of the unsigned phase.
**/ **/
unsignedPhase: u32 & AugmentedConst<ApiType>; unsignedPhase: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of voters to put in the snapshot. At the moment, snapshots are only
* over a single block, but once multi-block elections are introduced they will take place
* over multiple blocks.
*
* Also, note the data type: If the voters are represented by a `u32` in `type
* CompactSolution`, the same `u32` is used here to ensure bounds are respected.
**/
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
/** /**
* Generic const * Generic const
**/ **/
@@ -829,16 +835,6 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
stateTrieMigration: {
/**
* The maximum limits that the signed migration could use.
**/
signedMigrationMaxLimits: PalletStateTrieMigrationMigrationLimits & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
system: { system: {
/** /**
* Maximum number of block number to block hash mappings to keep (oldest pruned first). * Maximum number of block number to block hash mappings to keep (oldest pruned first).
@@ -1451,6 +1451,10 @@ declare module '@polkadot/api-base/types/errors' {
* submitter does not have enough funds. * submitter does not have enough funds.
**/ **/
NotEnoughFunds: AugmentedError<ApiType>; NotEnoughFunds: AugmentedError<ApiType>;
/**
* Signed migration is not allowed because the maximum limit is not set yet.
**/
SignedMigrationNotAllowed: AugmentedError<ApiType>;
/** /**
* upper bound of size is exceeded, * upper bound of size is exceeded,
**/ **/
@@ -663,6 +663,10 @@ declare module '@polkadot/api-base/types/events' {
* A proxy was executed correctly, with the given. * A proxy was executed correctly, with the given.
**/ **/
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>; ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
/**
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u32]>;
/** /**
* Generic event * Generic event
**/ **/
@@ -1282,6 +1282,12 @@ declare module '@polkadot/api-base/types/storage' {
* forward by any of the means provided by this pallet. * forward by any of the means provided by this pallet.
**/ **/
migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>; migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The maximum limits that the signed migration could use.
*
* If not set, no signed submission is allowed.
**/
signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
* Generic query * Generic query
**/ **/
+17 -1
View File
@@ -6,7 +6,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup'; import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' { declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> { export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -3795,6 +3795,18 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch origin of this call must be [`Config::ControlOrigin`]. * The dispatch origin of this call must be [`Config::ControlOrigin`].
**/ **/
controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>; controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
/**
* Forcefully set the progress the running migration.
*
* This is only useful in one case: the next key to migrate is too big to be migrated with
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
* used, so probably it is already migrated.
*
* In case you mess things up, you can also, in principle, use this to reset the migration
* process.
**/
forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>;
/** /**
* Migrate the list of child keys by iterating each of them one by one. * Migrate the list of child keys by iterating each of them one by one.
* *
@@ -3811,6 +3823,10 @@ declare module '@polkadot/api-base/types/submittable' {
* should only be used in case any keys are leftover due to a bug. * should only be used in case any keys are leftover due to a bug.
**/ **/
migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>; migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
/**
* Set the maximum limit of the signed migration.
**/
setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits]>;
/** /**
* Generic tx * Generic tx
**/ **/
+25 -10
View File
@@ -130,7 +130,7 @@ export default {
**/ **/
SpRuntimeModuleError: { SpRuntimeModuleError: {
index: 'u8', index: 'u8',
error: 'u8' error: '[u8;4]'
}, },
/** /**
* Lookup24: sp_runtime::TokenError * Lookup24: sp_runtime::TokenError
@@ -848,6 +848,12 @@ export default {
callHash: 'H256', callHash: 'H256',
}, },
ProxyAdded: { ProxyAdded: {
delegator: 'AccountId32',
delegatee: 'AccountId32',
proxyType: 'NodeRuntimeProxyType',
delay: 'u32',
},
ProxyRemoved: {
delegator: 'AccountId32', delegator: 'AccountId32',
delegatee: 'AccountId32', delegatee: 'AccountId32',
proxyType: 'NodeRuntimeProxyType', proxyType: 'NodeRuntimeProxyType',
@@ -1281,7 +1287,7 @@ export default {
} }
}, },
/** /**
* Lookup100: pallet_referenda::pallet::Event<T> * Lookup100: pallet_referenda::pallet::Event<T, I>
**/ **/
PalletReferendaEvent: { PalletReferendaEvent: {
_enum: { _enum: {
@@ -1350,7 +1356,7 @@ export default {
turnout: 'u128' turnout: 'u128'
}, },
/** /**
* Lookup102: pallet_conviction_voting::pallet::Event<T> * Lookup102: pallet_conviction_voting::pallet::Event<T, I>
**/ **/
PalletConvictionVotingEvent: { PalletConvictionVotingEvent: {
_enum: { _enum: {
@@ -3153,7 +3159,14 @@ export default {
migrate_custom_child: { migrate_custom_child: {
root: 'Bytes', root: 'Bytes',
childKeys: 'Vec<Bytes>', childKeys: 'Vec<Bytes>',
totalSize: 'u32' totalSize: 'u32',
},
set_signed_max_limits: {
limits: 'PalletStateTrieMigrationMigrationLimits',
},
force_set_progress: {
progressTop: 'PalletStateTrieMigrationProgress',
progressChild: 'PalletStateTrieMigrationProgress'
} }
} }
}, },
@@ -3230,7 +3243,7 @@ export default {
} }
}, },
/** /**
* Lookup329: pallet_referenda::pallet::Call<T> * Lookup329: pallet_referenda::pallet::Call<T, I>
**/ **/
PalletReferendaCall: { PalletReferendaCall: {
_enum: { _enum: {
@@ -3315,7 +3328,7 @@ export default {
} }
}, },
/** /**
* Lookup336: pallet_conviction_voting::pallet::Call<T> * Lookup336: pallet_conviction_voting::pallet::Call<T, I>
**/ **/
PalletConvictionVotingCall: { PalletConvictionVotingCall: {
_enum: { _enum: {
@@ -3592,7 +3605,7 @@ export default {
* Lookup401: pallet_staking::Releases * Lookup401: pallet_staking::Releases
**/ **/
PalletStakingReleases: { PalletStakingReleases: {
_enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V7_0_0', 'V8_0_0'] _enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V7_0_0', 'V8_0_0', 'V9_0_0']
}, },
/** /**
* Lookup402: pallet_staking::pallet::pallet::Error<T> * Lookup402: pallet_staking::pallet::pallet::Error<T>
@@ -3916,6 +3929,8 @@ export default {
}, },
caller: 'u64', caller: 'u64',
isContract: 'u64', isContract: 'u64',
codeHash: 'u64',
ownCodeHash: 'u64',
callerIsOrigin: 'u64', callerIsOrigin: 'u64',
address: 'u64', address: 'u64',
gasLeft: 'u64', gasLeft: 'u64',
@@ -4412,7 +4427,7 @@ export default {
* Lookup558: pallet_state_trie_migration::pallet::Error<T> * Lookup558: pallet_state_trie_migration::pallet::Error<T>
**/ **/
PalletStateTrieMigrationError: { PalletStateTrieMigrationError: {
_enum: ['MaxSignedLimits', 'NotEnoughFunds', 'BadWitness', 'SizeUpperBoundExceeded'] _enum: ['MaxSignedLimits', 'NotEnoughFunds', 'BadWitness', 'SizeUpperBoundExceeded', 'SignedMigrationNotAllowed']
}, },
/** /**
* Lookup559: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber> * Lookup559: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
@@ -4493,7 +4508,7 @@ export default {
confirming: 'Option<u32>' confirming: 'Option<u32>'
}, },
/** /**
* Lookup571: pallet_referenda::pallet::Error<T> * Lookup571: pallet_referenda::pallet::Error<T, I>
**/ **/
PalletReferendaError: { PalletReferendaError: {
_enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit'] _enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit']
@@ -4537,7 +4552,7 @@ export default {
prior: 'PalletConvictionVotingVotePriorLock' prior: 'PalletConvictionVotingVotePriorLock'
}, },
/** /**
* Lookup583: pallet_conviction_voting::pallet::Error<T> * Lookup583: pallet_conviction_voting::pallet::Error<T, I>
**/ **/
PalletConvictionVotingError: { PalletConvictionVotingError: {
_enum: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass'] _enum: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass']
@@ -129,7 +129,7 @@ declare module '@polkadot/types/lookup' {
/** @name SpRuntimeModuleError (23) */ /** @name SpRuntimeModuleError (23) */
export interface SpRuntimeModuleError extends Struct { export interface SpRuntimeModuleError extends Struct {
readonly index: u8; readonly index: u8;
readonly error: u8; readonly error: U8aFixed;
} }
/** @name SpRuntimeTokenError (24) */ /** @name SpRuntimeTokenError (24) */
@@ -941,7 +941,14 @@ declare module '@polkadot/types/lookup' {
readonly proxyType: NodeRuntimeProxyType; readonly proxyType: NodeRuntimeProxyType;
readonly delay: u32; readonly delay: u32;
} & Struct; } & Struct;
readonly type: 'ProxyExecuted' | 'AnonymousCreated' | 'Announced' | 'ProxyAdded'; readonly isProxyRemoved: boolean;
readonly asProxyRemoved: {
readonly delegator: AccountId32;
readonly delegatee: AccountId32;
readonly proxyType: NodeRuntimeProxyType;
readonly delay: u32;
} & Struct;
readonly type: 'ProxyExecuted' | 'AnonymousCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved';
} }
/** @name NodeRuntimeProxyType (79) */ /** @name NodeRuntimeProxyType (79) */
@@ -3408,7 +3415,16 @@ declare module '@polkadot/types/lookup' {
readonly childKeys: Vec<Bytes>; readonly childKeys: Vec<Bytes>;
readonly totalSize: u32; readonly totalSize: u32;
} & Struct; } & Struct;
readonly type: 'ControlAutoMigration' | 'ContinueMigrate' | 'MigrateCustomTop' | 'MigrateCustomChild'; readonly isSetSignedMaxLimits: boolean;
readonly asSetSignedMaxLimits: {
readonly limits: PalletStateTrieMigrationMigrationLimits;
} & Struct;
readonly isForceSetProgress: boolean;
readonly asForceSetProgress: {
readonly progressTop: PalletStateTrieMigrationProgress;
readonly progressChild: PalletStateTrieMigrationProgress;
} & Struct;
readonly type: 'ControlAutoMigration' | 'ContinueMigrate' | 'MigrateCustomTop' | 'MigrateCustomChild' | 'SetSignedMaxLimits' | 'ForceSetProgress';
} }
/** @name PalletStateTrieMigrationMigrationLimits (325) */ /** @name PalletStateTrieMigrationMigrationLimits (325) */
@@ -3874,7 +3890,8 @@ declare module '@polkadot/types/lookup' {
readonly isV600: boolean; readonly isV600: boolean;
readonly isV700: boolean; readonly isV700: boolean;
readonly isV800: boolean; readonly isV800: boolean;
readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V700' | 'V800'; readonly isV900: boolean;
readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V700' | 'V800' | 'V900';
} }
/** @name PalletStakingPalletError (402) */ /** @name PalletStakingPalletError (402) */
@@ -4261,6 +4278,8 @@ declare module '@polkadot/types/lookup' {
export interface PalletContractsScheduleHostFnWeights extends Struct { export interface PalletContractsScheduleHostFnWeights extends Struct {
readonly caller: u64; readonly caller: u64;
readonly isContract: u64; readonly isContract: u64;
readonly codeHash: u64;
readonly ownCodeHash: u64;
readonly callerIsOrigin: u64; readonly callerIsOrigin: u64;
readonly address: u64; readonly address: u64;
readonly gasLeft: u64; readonly gasLeft: u64;
@@ -4907,7 +4926,8 @@ declare module '@polkadot/types/lookup' {
readonly isNotEnoughFunds: boolean; readonly isNotEnoughFunds: boolean;
readonly isBadWitness: boolean; readonly isBadWitness: boolean;
readonly isSizeUpperBoundExceeded: boolean; readonly isSizeUpperBoundExceeded: boolean;
readonly type: 'MaxSignedLimits' | 'NotEnoughFunds' | 'BadWitness' | 'SizeUpperBoundExceeded'; readonly isSignedMigrationNotAllowed: boolean;
readonly type: 'MaxSignedLimits' | 'NotEnoughFunds' | 'BadWitness' | 'SizeUpperBoundExceeded' | 'SignedMigrationNotAllowed';
} }
/** @name PalletChildBountiesChildBounty (559) */ /** @name PalletChildBountiesChildBounty (559) */
File diff suppressed because one or more lines are too long
@@ -233,7 +233,7 @@
{ {
"name": "BlockWeights", "name": "BlockWeights",
"type": 159, "type": 159,
"value": "0x00f2052a0100000000204aa9d1010000405973070000000001c0766c8f58010000010098f73e5d010000010000000000000000405973070000000001c0febef9cc0100000100204aa9d1010000010088526a740000004059730700000000000000", "value": "0xb04971f80000000000204aa9d1010000300bca040000000001d0c4159258010000010098f73e5d010000010000000000000000300bca040000000001d04c68fccc0100000100204aa9d1010000010088526a74000000300bca0400000000000000",
"docs": [ "docs": [
" Block & extrinsics weights: base values and limits." " Block & extrinsics weights: base values and limits."
] ]
@@ -265,7 +265,7 @@
{ {
"name": "Version", "name": "Version",
"type": 166, "type": 166,
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000dc2300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000b00000000", "value": "0x186b7573616d61347061726974792d6b7573616d6102000000dd2300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000b00000000",
"docs": [ "docs": [
" Get the chain's current version." " Get the chain's current version."
] ]
@@ -855,7 +855,7 @@
{ {
"name": "WeightToFee", "name": "WeightToFee",
"type": 207, "type": 207,
"value": "0x0400000000000000000000000000000000a9e696010001", "value": "0x0400000000000000000000000000000000700379020001",
"docs": [ "docs": [
" The polynomial that is applied in order to derive fee from weight." " The polynomial that is applied in order to derive fee from weight."
] ]
@@ -4048,12 +4048,30 @@
] ]
}, },
{ {
"name": "BountyCuratorDeposit", "name": "CuratorDepositMultiplier",
"type": 561, "type": 561,
"value": "0x20a10700", "value": "0x20a10700",
"docs": [ "docs": [
" Percentage of the curator fee that will be reserved upfront as deposit for bounty", " The curator deposit is calculated as a percentage of the curator fee.",
" curator." "",
" This deposit has optional upper and lower bounds with `CuratorDepositMax` and",
" `CuratorDepositMin`."
]
},
{
"name": "CuratorDepositMax",
"type": 562,
"value": "0x01042669e1030000000000000000000000",
"docs": [
" Maximum amount of funds that should be placed in a deposit for making a proposal."
]
},
{
"name": "CuratorDepositMin",
"type": 562,
"value": "0x015243de13000000000000000000000000",
"docs": [
" Minimum amount of funds that should be placed in a deposit for making a proposal."
] ]
}, },
{ {
@@ -4198,15 +4216,6 @@
"docs": [ "docs": [
" Minimum value for a child-bounty." " Minimum value for a child-bounty."
] ]
},
{
"name": "ChildBountyCuratorDepositBase",
"type": 561,
"value": "0x10270000",
"docs": [
" Percentage of child-bounty value to be reserved as curator deposit",
" when curator fee is zero."
]
} }
], ],
"errors": { "errors": {
@@ -4523,7 +4532,7 @@
{ {
"name": "MinerMaxWeight", "name": "MinerMaxWeight",
"type": 8, "type": 8,
"value": "0xc084666557010000", "value": "0x207ba49957010000",
"docs": [ "docs": [
" Maximum weight that the miner should consume.", " Maximum weight that the miner should consume.",
"", "",
@@ -4548,7 +4557,7 @@
{ {
"name": "SignedMaxWeight", "name": "SignedMaxWeight",
"type": 8, "type": 8,
"value": "0xc084666557010000", "value": "0x207ba49957010000",
"docs": [ "docs": [
" Maximum weight of a signed solution.", " Maximum weight of a signed solution.",
"", "",
@@ -4588,16 +4597,21 @@
] ]
}, },
{ {
"name": "VoterSnapshotPerBlock", "name": "MaxElectingVoters",
"type": 4, "type": 4,
"value": "0xe4570000", "value": "0xd4300000",
"docs": [ "docs": [
" The maximum number of voters to put in the snapshot. At the moment, snapshots are only", " The maximum number of electing voters to put in the snapshot. At the moment, snapshots",
" over a single block, but once multi-block elections are introduced they will take place", " are only over a single block, but once multi-block elections are introduced they will",
" over multiple blocks.", " take place over multiple blocks."
"", ]
" Also, note the data type: If the voters are represented by a `u32` in `type", },
" CompactSolution`, the same `u32` is used here to ensure bounds are respected." {
"name": "MaxElectableTargets",
"type": 76,
"value": "0xffff",
"docs": [
" The maximum number of electable targets to put in the snapshot."
] ]
}, },
{ {
@@ -1334,8 +1334,8 @@
}, },
{ {
"name": "error", "name": "error",
"type": 2, "type": 14,
"typeName": "u8", "typeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]",
"docs": [] "docs": []
} }
] ]
@@ -5229,6 +5229,39 @@
"docs": [ "docs": [
"A proxy was added." "A proxy was added."
] ]
},
{
"name": "ProxyRemoved",
"fields": [
{
"name": "delegator",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "delegatee",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proxy_type",
"type": 75,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 4,
"docs": [
"A proxy was removed."
]
} }
] ]
} }
@@ -15084,6 +15117,12 @@
"fields": [], "fields": [],
"index": 7, "index": 7,
"docs": [] "docs": []
},
{
"name": "V9_0_0",
"fields": [],
"index": 8,
"docs": []
} }
] ]
} }
@@ -32015,9 +32054,9 @@
"docs": [ "docs": [
"Teleport some assets from the local chain to some destination chain.", "Teleport some assets from the local chain to some destination chain.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector and", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"fee-weight is calculated locally and thus remote weights are assumed to be equal to", "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,",
"local weights.", "with all fees taken as needed from the asset.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
@@ -32060,12 +32099,12 @@
], ],
"index": 2, "index": 2,
"docs": [ "docs": [
"Transfer some assets from the local chain to the sovereign account of a destination chain and forward", "Transfer some assets from the local chain to the sovereign account of a destination",
"a notification XCM.", "chain and forward a notification XCM.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector and", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"fee-weight is calculated locally and thus remote weights are assumed to be equal to", "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,",
"local weights.", "with all fees taken as needed from the asset.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
@@ -32228,10 +32267,13 @@
], ],
"index": 8, "index": 8,
"docs": [ "docs": [
"Transfer some assets from the local chain to the sovereign account of a destination chain and forward", "Transfer some assets from the local chain to the sovereign account of a destination",
"a notification XCM.", "chain and forward a notification XCM.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector.", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight",
"is needed than `weight_limit`, then the operation will fail and the assets send may be",
"at risk.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
@@ -32283,7 +32325,10 @@
"docs": [ "docs": [
"Teleport some assets from the local chain to some destination chain.", "Teleport some assets from the local chain to some destination chain.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector.", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight",
"is needed than `weight_limit`, then the operation will fail and the assets send may be",
"at risk.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
File diff suppressed because one or more lines are too long
@@ -233,7 +233,7 @@
{ {
"name": "BlockWeights", "name": "BlockWeights",
"type": 156, "type": 156,
"value": "0x00f2052a0100000000204aa9d1010000405973070000000001c0766c8f58010000010098f73e5d010000010000000000000000405973070000000001c0febef9cc0100000100204aa9d1010000010088526a740000004059730700000000000000", "value": "0xb0fc6d0c0100000000204aa9d10100005844f0040000000001a88bef9158010000010098f73e5d0100000100000000000000005844f0040000000001a81342fccc0100000100204aa9d1010000010088526a740000005844f00400000000000000",
"docs": [ "docs": [
" Block & extrinsics weights: base values and limits." " Block & extrinsics weights: base values and limits."
] ]
@@ -257,7 +257,7 @@
{ {
"name": "DbWeight", "name": "DbWeight",
"type": 162, "type": 162,
"value": "0x40787d010000000000e1f50500000000", "value": "0x38ca38010000000098aaf90400000000",
"docs": [ "docs": [
" The weight of runtime database operations the runtime can invoke." " The weight of runtime database operations the runtime can invoke."
] ]
@@ -265,7 +265,7 @@
{ {
"name": "Version", "name": "Version",
"type": 163, "type": 163,
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000dc2300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000c00000000", "value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000dd2300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000c00000000",
"docs": [ "docs": [
" Get the chain's current version." " Get the chain's current version."
] ]
@@ -980,7 +980,7 @@
{ {
"name": "WeightToFee", "name": "WeightToFee",
"type": 462, "type": 462,
"value": "0x040000000000000000000000000000000000b4c4040001", "value": "0x040000000000000000000000000000000028a031070001",
"docs": [ "docs": [
" The polynomial that is applied in order to derive fee from weight." " The polynomial that is applied in order to derive fee from weight."
] ]
@@ -3607,12 +3607,30 @@
] ]
}, },
{ {
"name": "BountyCuratorDeposit", "name": "CuratorDepositMultiplier",
"type": 536, "type": 536,
"value": "0x20a10700", "value": "0x20a10700",
"docs": [ "docs": [
" Percentage of the curator fee that will be reserved upfront as deposit for bounty", " The curator deposit is calculated as a percentage of the curator fee.",
" curator." "",
" This deposit has optional upper and lower bounds with `CuratorDepositMax` and",
" `CuratorDepositMin`."
]
},
{
"name": "CuratorDepositMax",
"type": 537,
"value": "0x0100204aa9d10100000000000000000000",
"docs": [
" Maximum amount of funds that should be placed in a deposit for making a proposal."
]
},
{
"name": "CuratorDepositMin",
"type": 537,
"value": "0x0100e87648170000000000000000000000",
"docs": [
" Minimum amount of funds that should be placed in a deposit for making a proposal."
] ]
}, },
{ {
@@ -3757,15 +3775,6 @@
"docs": [ "docs": [
" Minimum value for a child-bounty." " Minimum value for a child-bounty."
] ]
},
{
"name": "ChildBountyCuratorDepositBase",
"type": 536,
"value": "0x10270000",
"docs": [
" Percentage of child-bounty value to be reserved as curator deposit",
" when curator fee is zero."
]
} }
], ],
"errors": { "errors": {
@@ -4082,7 +4091,7 @@
{ {
"name": "MinerMaxWeight", "name": "MinerMaxWeight",
"type": 8, "type": 8,
"value": "0xc084666557010000", "value": "0xf88e818557010000",
"docs": [ "docs": [
" Maximum weight that the miner should consume.", " Maximum weight that the miner should consume.",
"", "",
@@ -4107,7 +4116,7 @@
{ {
"name": "SignedMaxWeight", "name": "SignedMaxWeight",
"type": 8, "type": 8,
"value": "0xc084666557010000", "value": "0xf88e818557010000",
"docs": [ "docs": [
" Maximum weight of a signed solution.", " Maximum weight of a signed solution.",
"", "",
@@ -4147,16 +4156,21 @@
] ]
}, },
{ {
"name": "VoterSnapshotPerBlock", "name": "MaxElectingVoters",
"type": 4, "type": 4,
"value": "0xe4570000", "value": "0xe4570000",
"docs": [ "docs": [
" The maximum number of voters to put in the snapshot. At the moment, snapshots are only", " The maximum number of electing voters to put in the snapshot. At the moment, snapshots",
" over a single block, but once multi-block elections are introduced they will take place", " are only over a single block, but once multi-block elections are introduced they will",
" over multiple blocks.", " take place over multiple blocks."
"", ]
" Also, note the data type: If the voters are represented by a `u32` in `type", },
" CompactSolution`, the same `u32` is used here to ensure bounds are respected." {
"name": "MaxElectableTargets",
"type": 75,
"value": "0xffff",
"docs": [
" The maximum number of electable targets to put in the snapshot."
] ]
}, },
{ {
@@ -1295,8 +1295,8 @@
}, },
{ {
"name": "error", "name": "error",
"type": 2, "type": 14,
"typeName": "u8", "typeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]",
"docs": [] "docs": []
} }
] ]
@@ -4795,6 +4795,39 @@
"docs": [ "docs": [
"A proxy was added." "A proxy was added."
] ]
},
{
"name": "ProxyRemoved",
"fields": [
{
"name": "delegator",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "delegatee",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proxy_type",
"type": 74,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 4,
"docs": [
"A proxy was removed."
]
} }
] ]
} }
@@ -26751,9 +26784,9 @@
"docs": [ "docs": [
"Teleport some assets from the local chain to some destination chain.", "Teleport some assets from the local chain to some destination chain.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector and", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"fee-weight is calculated locally and thus remote weights are assumed to be equal to", "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,",
"local weights.", "with all fees taken as needed from the asset.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
@@ -26796,12 +26829,12 @@
], ],
"index": 2, "index": 2,
"docs": [ "docs": [
"Transfer some assets from the local chain to the sovereign account of a destination chain and forward", "Transfer some assets from the local chain to the sovereign account of a destination",
"a notification XCM.", "chain and forward a notification XCM.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector and", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"fee-weight is calculated locally and thus remote weights are assumed to be equal to", "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,",
"local weights.", "with all fees taken as needed from the asset.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
@@ -26964,10 +26997,13 @@
], ],
"index": 8, "index": 8,
"docs": [ "docs": [
"Transfer some assets from the local chain to the sovereign account of a destination chain and forward", "Transfer some assets from the local chain to the sovereign account of a destination",
"a notification XCM.", "chain and forward a notification XCM.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector.", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight",
"is needed than `weight_limit`, then the operation will fail and the assets send may be",
"at risk.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
@@ -27019,7 +27055,10 @@
"docs": [ "docs": [
"Teleport some assets from the local chain to some destination chain.", "Teleport some assets from the local chain to some destination chain.",
"", "",
"Fee payment on the destination side is made from the first asset listed in the `assets` vector.", "Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight",
"is needed than `weight_limit`, then the operation will fail and the assets send may be",
"at risk.",
"", "",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
@@ -31632,6 +31671,12 @@
"fields": [], "fields": [],
"index": 7, "index": 7,
"docs": [] "docs": []
},
{
"name": "V9_0_0",
"fields": [],
"index": 8,
"docs": []
} }
] ]
} }
File diff suppressed because one or more lines are too long
@@ -265,7 +265,7 @@
{ {
"name": "Version", "name": "Version",
"type": 125, "type": 125,
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000c0100000000000034df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a80100000091d5df18b0d2cf5801000000ab3c0572291feb8b010000000200000001", "value": "0x106e6f6465387375627374726174652d6e6f64650a0000000c0100000000000034df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a80100000091d5df18b0d2cf5801000000ab3c0572291feb8b010000000200000001",
"docs": [ "docs": [
" Get the chain's current version." " Get the chain's current version."
] ]
@@ -1233,16 +1233,21 @@
] ]
}, },
{ {
"name": "VoterSnapshotPerBlock", "name": "MaxElectingVoters",
"type": 4, "type": 4,
"value": "0x10270000", "value": "0x10270000",
"docs": [ "docs": [
" The maximum number of voters to put in the snapshot. At the moment, snapshots are only", " The maximum number of electing voters to put in the snapshot. At the moment, snapshots",
" over a single block, but once multi-block elections are introduced they will take place", " are only over a single block, but once multi-block elections are introduced they will",
" over multiple blocks.", " take place over multiple blocks."
"", ]
" Also, note the data type: If the voters are represented by a `u32` in `type", },
" CompactSolution`, the same `u32` is used here to ensure bounds are respected." {
"name": "MaxElectableTargets",
"type": 80,
"value": "0xffff",
"docs": [
" The maximum number of electable targets to put in the snapshot."
] ]
}, },
{ {
@@ -3130,7 +3135,7 @@
{ {
"name": "Schedule", "name": "Schedule",
"type": 449, "type": 449,
"value": "0x0400000000000100008000000010000000001000000001000020000000200000000040000000000200020000009f0b00008a1b0000e01f00008417000051270000080c0000b31500008b1a000028000000c8040100754d01002b070000df0c0000d30e0000860b000089210000bd290000bf0e00007550b100c20b0000b80b0000540b0000b20c0000fa0a0000c80a0000cc0b000089120000fd1100004d12000007120000fd110000751200004312000039120000a712000025120000ad110000851100002b1100000b2c0000372d0000e32b0000c32d000053110000491100005d110000e9110000431200003912000007120000f31100001ab10700000000004ac7b501000000009648030000000000d2a8070000000000fa9907000000000020b6150000000000689f070000000000b093070000000000fea4070000000000589607000000000020f512000000000050e8030000000000727c070000000000730000000000000088d01f0000000000bc0000000000000088b5f52600000000746e180000000000b4462d00000000005241a107000000002603000000000000e6590600000000000843b2070000000017010000000000006a000000000000005658ef0700000000d452ae0700000000680000000000000042fdaa01000000005e000000000000004677af01000000007002000000000000941fb307000000007802000000000000e697830800000000f2243a130000000002a0460d00000000589785080000000020d401000000000096383f2e000000000120000000000000ef0500000000000038610c0000000000ba11000000000000a83f0e0000000000ad0b0000000000006eec0900000000008904000000000000f8d0090000000000890400000000000082d12f0900000000", "value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000000020002000000900b0000701c0000a82000005c17000006270000f40b00008a160000021c000028000000bc0b0100bc4c0100e0060000ea0b00003c0f0000d60b00005a230000842b0000380e00009118b000440c0000e00b00009a0b0000580c00004a0b00000e0b0000440c00008412000070120000481200005212000070120000e81200007a12000066120000341200005212000062110000a8110000a81100003e2b0000642d0000522b0000d22d00009411000080110000da11000084120000481200005c120000521200005c120000964e0700000000004c1fb60100000000fe65c201000000002e1008000000000036350300000000003055070000000000a238070000000000bcbf15000000000050620700000000009a540700000000009e55070000000000d64a070000000000289d12000000000020aa030000000000a02607000000000074000000000000000000000000000000c4000000000000008827e32600000000520918000000000082502d00000000003843a00700000000210300000000000016fd050000000000eae9b0070000000014010000000000006e000000000000004e08ed07000000004696ad0700000000640000000000000046dca901000000006300000000000000b008af01000000006f020000000000002cfbb2070000000080020000000000006a7f860800000000bab1531300000000121a620d0000000084f87f080000000002d4010000000000241e6c2e000000005c26000000000000f50500000000000008f10b0000000000cb11000000000000cec90d0000000000b60b0000000000008a800900000000008f04000000000000427d09000000000090040000000000003ca2470200000000",
"docs": [ "docs": [
" Cost schedule and limits." " Cost schedule and limits."
] ]
@@ -3138,7 +3143,7 @@
{ {
"name": "DeletionQueueDepth", "name": "DeletionQueueDepth",
"type": 4, "type": 4,
"value": "0x52440000", "value": "0x0c570000",
"docs": [ "docs": [
" The maximum number of contracts that can be pending for deletion.", " The maximum number of contracts that can be pending for deletion.",
"", "",
@@ -4542,12 +4547,30 @@
] ]
}, },
{ {
"name": "BountyCuratorDeposit", "name": "CuratorDepositMultiplier",
"type": 440, "type": 440,
"value": "0x20a10700", "value": "0x20a10700",
"docs": [ "docs": [
" Percentage of the curator fee that will be reserved upfront as deposit for bounty", " The curator deposit is calculated as a percentage of the curator fee.",
" curator." "",
" This deposit has optional upper and lower bounds with `CuratorDepositMax` and",
" `CuratorDepositMin`."
]
},
{
"name": "CuratorDepositMax",
"type": 441,
"value": "0x010000c16ff28623000000000000000000",
"docs": [
" Maximum amount of funds that should be placed in a deposit for making a proposal."
]
},
{
"name": "CuratorDepositMin",
"type": 441,
"value": "0x0100407a10f35a00000000000000000000",
"docs": [
" Minimum amount of funds that should be placed in a deposit for making a proposal."
] ]
}, },
{ {
@@ -5665,6 +5688,19 @@
"", "",
" If set to None, then no automatic migration happens." " If set to None, then no automatic migration happens."
] ]
},
{
"name": "SignedMigrationMaxLimits",
"modifier": "Optional",
"type": {
"plain": 325
},
"fallback": "0x00",
"docs": [
" The maximum limits that the signed migration could use.",
"",
" If not set, no signed submission is allowed."
]
} }
] ]
}, },
@@ -5674,16 +5710,7 @@
"events": { "events": {
"type": 97 "type": 97
}, },
"constants": [ "constants": [],
{
"name": "SignedMigrationMaxLimits",
"type": 325,
"value": "0x0000080000020000",
"docs": [
" The maximum limits that the signed migration could use."
]
}
],
"errors": { "errors": {
"type": 558 "type": 558
}, },
@@ -5799,15 +5826,6 @@
"docs": [ "docs": [
" Minimum value for a child-bounty." " Minimum value for a child-bounty."
] ]
},
{
"name": "ChildBountyCuratorDepositBase",
"type": 440,
"value": "0xa0860100",
"docs": [
" Percentage of child-bounty value to be reserved as curator deposit",
" when curator fee is zero."
]
} }
], ],
"errors": { "errors": {
@@ -1321,8 +1321,8 @@
}, },
{ {
"name": "error", "name": "error",
"type": 2, "type": 14,
"typeName": "u8", "typeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]",
"docs": [] "docs": []
} }
] ]
@@ -5696,6 +5696,39 @@
"docs": [ "docs": [
"A proxy was added." "A proxy was added."
] ]
},
{
"name": "ProxyRemoved",
"fields": [
{
"name": "delegator",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "delegatee",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proxy_type",
"type": 79,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 4,
"docs": [
"A proxy was removed."
]
} }
] ]
} }
@@ -8061,6 +8094,10 @@
{ {
"name": "T", "name": "T",
"type": null "type": null
},
{
"name": "I",
"type": null
} }
], ],
"def": { "def": {
@@ -8080,7 +8117,7 @@
{ {
"name": "track", "name": "track",
"type": 2, "type": 2,
"typeName": "TrackIdOf<T>", "typeName": "TrackIdOf<T, I>",
"docs": [ "docs": [
"The track (and by extension proposal dispatch origin) of this referendum." "The track (and by extension proposal dispatch origin) of this referendum."
] ]
@@ -8121,7 +8158,7 @@
{ {
"name": "amount", "name": "amount",
"type": 6, "type": 6,
"typeName": "BalanceOf<T>", "typeName": "BalanceOf<T, I>",
"docs": [ "docs": [
"The amount placed by the account." "The amount placed by the account."
] ]
@@ -8154,7 +8191,7 @@
{ {
"name": "amount", "name": "amount",
"type": 6, "type": 6,
"typeName": "BalanceOf<T>", "typeName": "BalanceOf<T, I>",
"docs": [ "docs": [
"The amount placed by the account." "The amount placed by the account."
] ]
@@ -8179,7 +8216,7 @@
{ {
"name": "amount", "name": "amount",
"type": 6, "type": 6,
"typeName": "BalanceOf<T>", "typeName": "BalanceOf<T, I>",
"docs": [ "docs": [
"The amount placed by the account." "The amount placed by the account."
] ]
@@ -8204,7 +8241,7 @@
{ {
"name": "track", "name": "track",
"type": 2, "type": 2,
"typeName": "TrackIdOf<T>", "typeName": "TrackIdOf<T, I>",
"docs": [ "docs": [
"The track (and by extension proposal dispatch origin) of this referendum." "The track (and by extension proposal dispatch origin) of this referendum."
] ]
@@ -8468,6 +8505,10 @@
{ {
"name": "T", "name": "T",
"type": null "type": null
},
{
"name": "I",
"type": null
} }
], ],
"def": { "def": {
@@ -23957,6 +23998,50 @@
"This does not affect the global migration process tracker ([`MigrationProcess`]), and", "This does not affect the global migration process tracker ([`MigrationProcess`]), and",
"should only be used in case any keys are leftover due to a bug." "should only be used in case any keys are leftover due to a bug."
] ]
},
{
"name": "set_signed_max_limits",
"fields": [
{
"name": "limits",
"type": 325,
"typeName": "MigrationLimits",
"docs": []
}
],
"index": 4,
"docs": [
"Set the maximum limit of the signed migration."
]
},
{
"name": "force_set_progress",
"fields": [
{
"name": "progress_top",
"type": 327,
"typeName": "Progress",
"docs": []
},
{
"name": "progress_child",
"type": 327,
"typeName": "Progress",
"docs": []
}
],
"index": 5,
"docs": [
"Forcefully set the progress the running migration.",
"",
"This is only useful in one case: the next key to migrate is too big to be migrated with",
"a signed account, in a parachain context, and we simply want to skip it. A reasonable",
"example of this would be `:code:`, which is both very expensive to migrate, and commonly",
"used, so probably it is already migrated.",
"",
"In case you mess things up, you can also, in principle, use this to reset the migration",
"process."
]
} }
] ]
} }
@@ -24475,6 +24560,10 @@
{ {
"name": "T", "name": "T",
"type": null "type": null
},
{
"name": "I",
"type": null
} }
], ],
"def": { "def": {
@@ -24622,7 +24711,7 @@
{ {
"name": "track", "name": "track",
"type": 2, "type": 2,
"typeName": "TrackIdOf<T>", "typeName": "TrackIdOf<T, I>",
"docs": [] "docs": []
} }
], ],
@@ -24970,6 +25059,10 @@
{ {
"name": "T", "name": "T",
"type": null "type": null
},
{
"name": "I",
"type": null
} }
], ],
"def": { "def": {
@@ -24981,13 +25074,13 @@
{ {
"name": "poll_index", "name": "poll_index",
"type": 112, "type": 112,
"typeName": "PollIndexOf<T>", "typeName": "PollIndexOf<T, I>",
"docs": [] "docs": []
}, },
{ {
"name": "vote", "name": "vote",
"type": 337, "type": 337,
"typeName": "AccountVote<BalanceOf<T>>", "typeName": "AccountVote<BalanceOf<T, I>>",
"docs": [] "docs": []
} }
], ],
@@ -25010,7 +25103,7 @@
{ {
"name": "class", "name": "class",
"type": 2, "type": 2,
"typeName": "ClassOf<T>", "typeName": "ClassOf<T, I>",
"docs": [] "docs": []
}, },
{ {
@@ -25028,7 +25121,7 @@
{ {
"name": "balance", "name": "balance",
"type": 6, "type": 6,
"typeName": "BalanceOf<T>", "typeName": "BalanceOf<T, I>",
"docs": [] "docs": []
} }
], ],
@@ -25065,7 +25158,7 @@
{ {
"name": "class", "name": "class",
"type": 2, "type": 2,
"typeName": "ClassOf<T>", "typeName": "ClassOf<T, I>",
"docs": [] "docs": []
} }
], ],
@@ -25093,7 +25186,7 @@
{ {
"name": "class", "name": "class",
"type": 2, "type": 2,
"typeName": "ClassOf<T>", "typeName": "ClassOf<T, I>",
"docs": [] "docs": []
}, },
{ {
@@ -25122,13 +25215,13 @@
{ {
"name": "class", "name": "class",
"type": 340, "type": 340,
"typeName": "Option<ClassOf<T>>", "typeName": "Option<ClassOf<T, I>>",
"docs": [] "docs": []
}, },
{ {
"name": "index", "name": "index",
"type": 4, "type": 4,
"typeName": "PollIndexOf<T>", "typeName": "PollIndexOf<T, I>",
"docs": [] "docs": []
} }
], ],
@@ -25177,13 +25270,13 @@
{ {
"name": "class", "name": "class",
"type": 2, "type": 2,
"typeName": "ClassOf<T>", "typeName": "ClassOf<T, I>",
"docs": [] "docs": []
}, },
{ {
"name": "index", "name": "index",
"type": 4, "type": 4,
"typeName": "PollIndexOf<T>", "typeName": "PollIndexOf<T, I>",
"docs": [] "docs": []
} }
], ],
@@ -27493,6 +27586,12 @@
"fields": [], "fields": [],
"index": 7, "index": 7,
"docs": [] "docs": []
},
{
"name": "V9_0_0",
"fields": [],
"index": 8,
"docs": []
} }
] ]
} }
@@ -30405,6 +30504,18 @@
"typeName": "Weight", "typeName": "Weight",
"docs": [] "docs": []
}, },
{
"name": "code_hash",
"type": 8,
"typeName": "Weight",
"docs": []
},
{
"name": "own_code_hash",
"type": 8,
"typeName": "Weight",
"docs": []
},
{ {
"name": "caller_is_origin", "name": "caller_is_origin",
"type": 8, "type": 8,
@@ -35798,6 +35909,14 @@
"docs": [ "docs": [
"upper bound of size is exceeded," "upper bound of size is exceeded,"
] ]
},
{
"name": "SignedMigrationNotAllowed",
"fields": [],
"index": 4,
"docs": [
"Signed migration is not allowed because the maximum limit is not set yet."
]
} }
] ]
} }
@@ -36547,6 +36666,10 @@
{ {
"name": "T", "name": "T",
"type": null "type": null
},
{
"name": "I",
"type": null
} }
], ],
"def": { "def": {
@@ -37015,6 +37138,10 @@
{ {
"name": "T", "name": "T",
"type": null "type": null
},
{
"name": "I",
"type": null
} }
], ],
"def": { "def": {