Compare commits

...
12 Commits
Author SHA1 Message Date
github-actions[bot] cebcc054da [CI Skip] release/stable 9.4.2
skip-checks: true
2022-09-24 09:20:45 +00:00
Jaco dc9c225eb8 9.4.2 (#5235) 2022-09-24 12:10:34 +03:00
github-actions[bot] a3b0d9a794 [CI Skip] bump/beta 9.4.2-4-x
skip-checks: true
2022-09-24 08:10:46 +00:00
Jaco 43efff7ade Bump metadata (#5233)
* Bump metadata

* historyDepth as const

* bagsList rename

* CHANGELOG
2022-09-24 11:02:29 +03:00
github-actions[bot] a81d83a25c [CI Skip] bump/beta 9.4.2-3-x
skip-checks: true
2022-09-24 06:31:29 +00:00
Nikos Kontakis 6dea8d9a07 Add resubscription delete on unsubscribe (#5230) 2022-09-24 09:22:02 +03:00
github-actions[bot] 4677ecc55f [CI Skip] bump/beta 9.4.2-2-x
skip-checks: true
2022-09-24 06:16:40 +00:00
Jaco 4038260b37 Deps (#5231) 2022-09-24 09:08:59 +03:00
github-actions[bot] ec87b5b244 [CI Skip] bump/beta 9.4.2-1-x
skip-checks: true
2022-09-23 09:55:34 +00:00
Nikos KontakisandJaco 421f767b0d Add autoconnect to ScProvider (#5217)
* Add autoconnect to ScProvider

* Add autoconnect flag

* remove autoconnect solution and create resubscribe

* Satisfy lint

* Update packages/rpc-provider/src/substrate-connect/ScProvider.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2022-09-23 12:47:44 +03:00
github-actions[bot] cfc7e2490c [CI Skip] bump/beta 9.4.2-0-x
skip-checks: true
2022-09-22 08:22:25 +00:00
Jaco 2051a3d772 Bump deps (#5226) 2022-09-22 11:14:40 +03:00
71 changed files with 7210 additions and 6644 deletions
+12
View File
@@ -1,5 +1,17 @@
# CHANGELOG
## 9.4.2 Sep 24, 2022
Contributed:
- Allow for re-subscriptions on `ScProvider` (Thanks to https://github.com/wirednkod)
Changes:
- Align derives to cater for latest (& previous) Substrate interfaces
- Update to latest Substrate, Polkadot & Kusama metadata
## 9.4.1 Sep 17, 2022
Contributed:
+2 -2
View File
@@ -1,13 +1,13 @@
3229 Jaco 9.4.1 (#5225)
3233 Jaco 9.4.2 (#5235)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709)
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
16 Xiliang Chen implement entriesPaged and keysPages for query at (#4701)
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
12 Nikos Kontakis Add resubscription delete on unsubscribe (#5230)
11 Ian He HttpProvider support clone() (#3949)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
10 Nikos Kontakis Bump substrate connect to 0.7.12 (#5214)
5 Chevdor Fix metadata package link (#3458)
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
+4 -4
View File
@@ -11,10 +11,10 @@
},
"sideEffects": false,
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"versions": {
"git": "9.4.1",
"npm": "9.4.1"
"git": "9.4.2",
"npm": "9.4.2"
},
"workspaces": [
"packages/*"
@@ -39,7 +39,7 @@
"@babel/core": "^7.19.1",
"@babel/register": "^7.18.9",
"@babel/runtime": "^7.19.0",
"@polkadot/dev": "^0.67.130",
"@polkadot/dev": "^0.67.132",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^29.0.3",
"copyfiles": "^2.4.1"
+8 -8
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/api-base": "9.4.1",
"@polkadot/rpc-augment": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/types-augment": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/util": "^10.1.8"
"@polkadot/api-base": "9.4.2",
"@polkadot/rpc-augment": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/types-augment": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/util": "^10.1.9"
},
"devDependencies": {
"@polkadot/types-support": "9.4.1"
"@polkadot/types-support": "9.4.2"
}
}
+22
View File
@@ -727,6 +727,28 @@ declare module '@polkadot/api-base/types/consts' {
* Number of eras that staked funds must remain bonded for.
**/
bondingDuration: u32 & AugmentedConst<ApiType>;
/**
* Number of eras to keep in history.
*
* Following information is kept for eras in `[current_era -
* HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
* `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
* `ErasTotalStake`, `ErasStartSessionIndex`,
* `StakingLedger.claimed_rewards`.
*
* Must be more than the number of eras delayed by session.
* I.e. active era must always be in history. I.e. `active_era >
* current_era - history_depth` must be guaranteed.
*
* If migrating an existing pallet from storage value to config value,
* this should be set to same value or greater as in storage.
*
* Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
* item `StakingLedger.claimed_rewards`. Setting this value lower than
* the existing value can lead to inconsistencies and will need to be
* handled properly in a migration.
**/
historyDepth: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of nominations per nominator.
**/
@@ -1682,6 +1682,10 @@ declare module '@polkadot/api-base/types/errors' {
* A nomination target was supplied that was blocked or otherwise not a validator.
**/
BadTarget: AugmentedError<ApiType>;
/**
* Some bound is not met.
**/
BoundNotMet: AugmentedError<ApiType>;
/**
* The user has enough bond and thus cannot be chilled forcefully by an external person.
**/
+7 -7
View File
@@ -778,11 +778,6 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* Anonymous account has been created by new proxy with given
* disambiguation index and proxy type.
**/
AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType: KusamaRuntimeProxyType, disambiguationIndex: u16], { anonymous: AccountId32, who: AccountId32, proxyType: KusamaRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* A proxy was added.
**/
@@ -795,6 +790,11 @@ declare module '@polkadot/api-base/types/events' {
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeProxyType, delay: u32 }>;
/**
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* Generic event
**/
@@ -998,8 +998,8 @@ declare module '@polkadot/api-base/types/events' {
**/
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* One validator (and its nominators) has been slashed by the given amount.
* \[validator, amount\]
* One staker (and potentially its nominators) has been slashed by the given amount.
* \[staker, amount\]
**/
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
-10
View File
@@ -1590,16 +1590,6 @@ declare module '@polkadot/api-base/types/storage' {
* Mode of era forcing.
**/
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of eras to keep in history.
*
* Information is kept for eras in `[current_era - history_depth; current_era]`.
*
* Must be more than the number of eras delayed by session otherwise. I.e. active era must
* always be in history. I.e. `active_era > current_era - history_depth` must be
* guaranteed.
**/
historyDepth: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
* easy to initialize and the performance hit is minimal (we expect no more than four
+13 -87
View File
@@ -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.
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.4.2' };
@@ -594,6 +594,28 @@ declare module '@polkadot/api-base/types/consts' {
* Number of eras that staked funds must remain bonded for.
**/
bondingDuration: u32 & AugmentedConst<ApiType>;
/**
* Number of eras to keep in history.
*
* Following information is kept for eras in `[current_era -
* HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
* `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
* `ErasTotalStake`, `ErasStartSessionIndex`,
* `StakingLedger.claimed_rewards`.
*
* Must be more than the number of eras delayed by session.
* I.e. active era must always be in history. I.e. `active_era >
* current_era - history_depth` must be guaranteed.
*
* If migrating an existing pallet from storage value to config value,
* this should be set to same value or greater as in storage.
*
* Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
* item `StakingLedger.claimed_rewards`. Setting this value lower than
* the existing value can lead to inconsistencies and will need to be
* handled properly in a migration.
**/
historyDepth: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of nominations per nominator.
**/
@@ -1495,6 +1495,10 @@ declare module '@polkadot/api-base/types/errors' {
* A nomination target was supplied that was blocked or otherwise not a validator.
**/
BadTarget: AugmentedError<ApiType>;
/**
* Some bound is not met.
**/
BoundNotMet: AugmentedError<ApiType>;
/**
* The user has enough bond and thus cannot be chilled forcefully by an external person.
**/
+7 -7
View File
@@ -756,11 +756,6 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* Anonymous account has been created by new proxy with given
* disambiguation index and proxy type.
**/
AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeProxyType, disambiguationIndex: u16], { anonymous: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* A proxy was added.
**/
@@ -773,6 +768,11 @@ declare module '@polkadot/api-base/types/events' {
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeProxyType, delay: u32 }>;
/**
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* Generic event
**/
@@ -873,8 +873,8 @@ declare module '@polkadot/api-base/types/events' {
**/
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* One validator (and its nominators) has been slashed by the given amount.
* \[validator, amount\]
* One staker (and potentially its nominators) has been slashed by the given amount.
* \[staker, amount\]
**/
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
@@ -1470,16 +1470,6 @@ declare module '@polkadot/api-base/types/storage' {
* Mode of era forcing.
**/
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of eras to keep in history.
*
* Information is kept for eras in `[current_era - history_depth; current_era]`.
*
* Must be more than the number of eras delayed by session otherwise. I.e. active era must
* always be in history. I.e. `active_era > current_era - history_depth` must be
* guaranteed.
**/
historyDepth: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
* easy to initialize and the performance hit is minimal (we expect no more than four
+13 -87
View File
@@ -2495,10 +2495,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: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
/**
@@ -2517,12 +2513,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]>;
/**
@@ -2544,36 +2534,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: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeProxyType, u32, u16]>;
createPure: AugmentedSubmittable<(proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeProxyType, 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: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
/**
* Dispatch the given `call` from an account that the sender is authorised for through
* `add_proxy`.
@@ -2586,10 +2567,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<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
/**
@@ -2604,12 +2581,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<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
/**
@@ -2623,12 +2594,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]>;
/**
@@ -2642,12 +2607,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]>;
/**
@@ -2655,12 +2614,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>, []>;
/**
@@ -2671,10 +2626,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: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
/**
@@ -3136,31 +3087,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).
*
@@ -3200,7 +3126,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.
+74 -52
View File
@@ -110,58 +110,6 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
bagsList: {
/**
* The list of thresholds separating the various bags.
*
* Ids are separated into unsorted bags according to their score. This specifies the
* thresholds separating the bags. An id's bag is the largest bag for which the id's score
* is less than or equal to its upper threshold.
*
* When ids are iterated, higher bags are iterated completely before lower bags. This means
* that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
* score, but peer ids within a particular bag are sorted in insertion order.
*
* # Expressing the constant
*
* This constant must be sorted in strictly increasing order. Duplicate items are not
* permitted.
*
* There is an implied upper limit of `Score::MAX`; that value does not need to be
* specified within the bag. For any two threshold lists, if one ends with
* `Score::MAX`, the other one does not, and they are otherwise equal, the two
* lists will behave identically.
*
* # Calculation
*
* It is recommended to generate the set of thresholds in a geometric series, such that
* there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
* constant_ratio).max(threshold[k] + 1)` for all `k`.
*
* The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
*
* # Examples
*
* - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
* iteration is strictly in insertion order.
* - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
* the procedure given above, then the constant ratio is equal to 2.
* - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
* the procedure given above, then the constant ratio is approximately equal to 1.248.
* - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
* into bag 0, an id with score 2 will fall into bag 1, etc.
*
* # Migration
*
* In the event that this list ever changes, a copy of the old bags list must be retained.
* With that `List::migrate` can be called, which will perform the appropriate migration.
**/
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
balances: {
/**
* The minimum amount required to keep an account open.
@@ -930,6 +878,28 @@ declare module '@polkadot/api-base/types/consts' {
* Number of eras that staked funds must remain bonded for.
**/
bondingDuration: u32 & AugmentedConst<ApiType>;
/**
* Number of eras to keep in history.
*
* Following information is kept for eras in `[current_era -
* HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
* `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
* `ErasTotalStake`, `ErasStartSessionIndex`,
* `StakingLedger.claimed_rewards`.
*
* Must be more than the number of eras delayed by session.
* I.e. active era must always be in history. I.e. `active_era >
* current_era - history_depth` must be guaranteed.
*
* If migrating an existing pallet from storage value to config value,
* this should be set to same value or greater as in storage.
*
* Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
* item `StakingLedger.claimed_rewards`. Setting this value lower than
* the existing value can lead to inconsistencies and will need to be
* handled properly in a migration.
**/
historyDepth: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of nominations per nominator.
**/
@@ -1194,5 +1164,57 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
voterBagsList: {
/**
* The list of thresholds separating the various bags.
*
* Ids are separated into unsorted bags according to their score. This specifies the
* thresholds separating the bags. An id's bag is the largest bag for which the id's score
* is less than or equal to its upper threshold.
*
* When ids are iterated, higher bags are iterated completely before lower bags. This means
* that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
* score, but peer ids within a particular bag are sorted in insertion order.
*
* # Expressing the constant
*
* This constant must be sorted in strictly increasing order. Duplicate items are not
* permitted.
*
* There is an implied upper limit of `Score::MAX`; that value does not need to be
* specified within the bag. For any two threshold lists, if one ends with
* `Score::MAX`, the other one does not, and they are otherwise equal, the two
* lists will behave identically.
*
* # Calculation
*
* It is recommended to generate the set of thresholds in a geometric series, such that
* there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
* constant_ratio).max(threshold[k] + 1)` for all `k`.
*
* The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
*
* # Examples
*
* - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
* iteration is strictly in insertion order.
* - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
* the procedure given above, then the constant ratio is equal to 2.
* - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
* the procedure given above, then the constant ratio is approximately equal to 1.248.
* - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
* into bag 0, an id with score 2 will fall into bag 1, etc.
*
* # Migration
*
* In the event that this list ever changes, a copy of the old bags list must be retained.
* With that `List::migrate` can be called, which will perform the appropriate migration.
**/
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
} // AugmentedConsts
} // declare module
+42 -10
View File
@@ -292,16 +292,6 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
bagsList: {
/**
* A error in the list interface implementation.
**/
List: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
balances: {
/**
* Beneficiary account must pre-exist
@@ -900,6 +890,34 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
fastUnstake: {
/**
* The provided un-staker is already in Head, and cannot deregister.
**/
AlreadyHead: AugmentedError<ApiType>;
/**
* The bonded account has already been queued.
**/
AlreadyQueued: AugmentedError<ApiType>;
/**
* The provided Controller account was not found.
*
* This means that the given account is not bonded.
**/
NotController: AugmentedError<ApiType>;
/**
* The bonded account has active unlocking chunks.
**/
NotFullyBonded: AugmentedError<ApiType>;
/**
* The provided un-staker is not in the `Queue`.
**/
NotQueued: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
gilt: {
/**
* The amount of the bid is less than the minimum allowed.
@@ -1724,6 +1742,10 @@ declare module '@polkadot/api-base/types/errors' {
* A nomination target was supplied that was blocked or otherwise not a validator.
**/
BadTarget: AugmentedError<ApiType>;
/**
* Some bound is not met.
**/
BoundNotMet: AugmentedError<ApiType>;
/**
* The user has enough bond and thus cannot be chilled forcefully by an external person.
**/
@@ -2183,6 +2205,16 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
voterBagsList: {
/**
* A error in the list interface implementation.
**/
List: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
whitelist: {
/**
* The call was already whitelisted; No-Op.
+48 -21
View File
@@ -195,20 +195,6 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
bagsList: {
/**
* Moved an account from one bag to another.
**/
Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], { who: AccountId32, from: u64, to: u64 }>;
/**
* Updated the score of some account to the given amount.
**/
ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], { who: AccountId32, newScore: u64 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
balances: {
/**
* A balance was set by root.
@@ -588,6 +574,33 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
fastUnstake: {
/**
* A staker was partially checked for the given eras, but the process did not finish.
**/
Checking: AugmentedEvent<ApiType, [stash: AccountId32, eras: Vec<u32>], { stash: AccountId32, eras: Vec<u32> }>;
/**
* Some internal error happened while migrating stash. They are removed as head as a
* consequence.
**/
Errored: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
/**
* An internal error happened. Operations will be paused now.
**/
InternalError: AugmentedEvent<ApiType, []>;
/**
* A staker was slashed for requesting fast-unstake whilst being exposed.
**/
Slashed: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
/**
* A staker was unstaked.
**/
Unstaked: AugmentedEvent<ApiType, [stash: AccountId32, maybePoolId: Option<u32>, result: Result<Null, SpRuntimeDispatchError>], { stash: AccountId32, maybePoolId: Option<u32>, result: Result<Null, SpRuntimeDispatchError> }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
gilt: {
/**
* A bid was successfully placed.
@@ -858,11 +871,6 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* Anonymous account has been created by new proxy with given
* disambiguation index and proxy type.
**/
AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], { anonymous: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* A proxy was added.
**/
@@ -875,6 +883,11 @@ declare module '@polkadot/api-base/types/events' {
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KitchensinkRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: KitchensinkRuntimeProxyType, delay: u32 }>;
/**
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* Generic event
**/
@@ -1190,8 +1203,8 @@ declare module '@polkadot/api-base/types/events' {
**/
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* One validator (and its nominators) has been slashed by the given amount.
* \[validator, amount\]
* One staker (and potentially its nominators) has been slashed by the given amount.
* \[staker, amount\]
**/
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
@@ -1612,6 +1625,20 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
voterBagsList: {
/**
* Moved an account from one bag to another.
**/
Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], { who: AccountId32, from: u64, to: u64 }>;
/**
* Updated the score of some account to the given amount.
**/
ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], { who: AccountId32, newScore: u64 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
whitelist: {
CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], { callHash: H256 }>;
WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], { callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }>;
+54 -34
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -245,28 +245,6 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
bagsList: {
/**
* Counter for the related counted storage map
**/
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A bag stored in storage.
*
* Stores a `Bag` struct, which stores head and tail pointers to itself.
**/
listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* A single node, within some bag.
*
* Nodes store links forward and back within their respective bags.
**/
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
balances: {
/**
* The Balances pallet example of storing the balance of an account.
@@ -378,7 +356,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
**/
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletContractsStorageRawContractInfo>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletContractsStorageContractInfo>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Evicted contracts that await child trie deletion.
*
@@ -662,6 +640,36 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
fastUnstake: {
/**
* Counter for the related counted storage map
**/
counterForQueue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of eras to check per block.
*
* If set to 0, this pallet does absolutely nothing.
*
* Based on the amount of weight available at `on_idle`, up to this many eras of a single
* nominator might be checked.
**/
erasToCheckPerBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current "head of the queue" being unstaked.
**/
head: AugmentedQuery<ApiType, () => Observable<Option<PalletFastUnstakeUnstakeRequest>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The map of all accounts wishing to be unstaked.
*
* Points the `AccountId` wishing to unstake to the optional `PoolId` they wish to join
* thereafter.
**/
queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Option<u32>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
gilt: {
/**
* The currently active gilts, indexed according to the order of creation.
@@ -1353,16 +1361,6 @@ declare module '@polkadot/api-base/types/storage' {
* Mode of era forcing.
**/
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of eras to keep in history.
*
* Information is kept for eras in `[current_era - history_depth; current_era]`.
*
* Must be more than the number of eras delayed by session otherwise. I.e. active era must
* always be in history. I.e. `active_era > current_era - history_depth` must be
* guaranteed.
**/
historyDepth: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
* easy to initialize and the performance hit is minimal (we expect no more than four
@@ -1804,6 +1802,28 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
voterBagsList: {
/**
* Counter for the related counted storage map
**/
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A bag stored in storage.
*
* Stores a `Bag` struct, which stores head and tail pointers to itself.
**/
listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* A single node, within some bag.
*
* Nodes store links forward and back within their respective bags.
**/
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
whitelist: {
whitelistedCall: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
+87 -117
View File
@@ -740,36 +740,6 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
bagsList: {
/**
* Move the caller's Id directly in front of `lighter`.
*
* The dispatch origin for this call must be _Signed_ and can only be called by the Id of
* the account going in front of `lighter`.
*
* Only works if
* - both nodes are within the same bag,
* - and `origin` has a greater `Score` than `lighter`.
**/
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
* changed its score that it should properly fall into a different bag than its current
* one.
*
* Anyone can call this function about any potentially dislocated account.
*
* Will always update the stored score of `dislocated` to the correct score, based on
* `ScoreProvider`.
*
* If `dislocated` does not exists, it returns an error.
**/
rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
balances: {
/**
* Exactly as `transfer`, except the origin must be root and the source account may be
@@ -2045,6 +2015,50 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
fastUnstake: {
/**
* Control the operation of this pallet.
*
* Dispatch origin must be signed by the [`Config::ControlOrigin`].
**/
control: AugmentedSubmittable<(uncheckedErasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Deregister oneself from the fast-unstake (also cancels joining the pool if that was
* supplied on `register_fast_unstake` .
*
* This is useful if one is registered, they are still waiting, and they change their mind.
*
* Note that the associated stash is still fully unbonded and chilled as a consequence of
* calling `register_fast_unstake`. This should probably be followed by a call to
* `Staking::rebond`.
**/
deregister: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Register oneself for fast-unstake.
*
* The dispatch origin of this call must be signed by the controller account, similar to
* `staking::unbond`.
*
* The stash associated with the origin must have no ongoing unlocking chunks. If
* successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
* to be checked in further blocks.
*
* If by the time this is called, the stash is actually eligible for fast-unstake, then
* they are guaranteed to remain eligible, because the call will chill them as well.
*
* If the check works, the entire staking data is removed, i.e. the stash is fully
* unstaked, and they potentially join a pool with their entire bonded stake.
*
* If the check fails, the stash remains chilled and waiting for being unbonded as in with
* the normal staking system, but they lose part of their unbonding chunks due to consuming
* the chain's resources.
**/
registerFastUnstake: AugmentedSubmittable<(maybePoolId: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
gilt: {
/**
* Place a bid for a gilt to be issued.
@@ -2950,10 +2964,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: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u32]>;
/**
@@ -2972,12 +2982,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]>;
/**
@@ -2999,36 +3003,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: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeProxyType, u32, u16]>;
createPure: AugmentedSubmittable<(proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeProxyType, 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: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
/**
* Dispatch the given `call` from an account that the sender is authorised for through
* `add_proxy`.
@@ -3041,10 +3036,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<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KitchensinkRuntimeProxyType>, Call]>;
/**
@@ -3059,12 +3050,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<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KitchensinkRuntimeProxyType>, Call]>;
/**
@@ -3078,12 +3063,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]>;
/**
@@ -3097,12 +3076,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]>;
/**
@@ -3110,12 +3083,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>, []>;
/**
@@ -3126,10 +3095,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: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u32]>;
/**
@@ -4173,31 +4138,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).
*
@@ -4237,7 +4177,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.
@@ -5602,6 +5542,36 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
voterBagsList: {
/**
* Move the caller's Id directly in front of `lighter`.
*
* The dispatch origin for this call must be _Signed_ and can only be called by the Id of
* the account going in front of `lighter`.
*
* Only works if
* - both nodes are within the same bag,
* - and `origin` has a greater `Score` than `lighter`.
**/
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
* changed its score that it should properly fall into a different bag than its current
* one.
*
* Anyone can call this function about any potentially dislocated account.
*
* Will always update the stored score of `dislocated` to the correct score, based on
* `ScoreProvider`.
*
* If `dislocated` does not exists, it returns an error.
**/
rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
whitelist: {
dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callWeightWitness: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Weight]>;
dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/rpc-core": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/rpc-core": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/util": "^10.1.9",
"rxjs": "^7.5.6"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.4.2' };
+9 -9
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/api": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/types-create": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/util-crypto": "^10.1.8",
"@polkadot/api": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/types-create": "9.4.2",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/api-augment": "9.4.1",
"@polkadot/keyring": "^10.1.8"
"@polkadot/api-augment": "9.4.2",
"@polkadot/keyring": "^10.1.9"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.4.2' };
+14 -14
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/api": "9.4.1",
"@polkadot/api-augment": "9.4.1",
"@polkadot/api-base": "9.4.1",
"@polkadot/rpc-core": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/util-crypto": "^10.1.8",
"@polkadot/api": "9.4.2",
"@polkadot/api-augment": "9.4.2",
"@polkadot/api-base": "9.4.2",
"@polkadot/rpc-core": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/api": "9.4.1",
"@polkadot/api-augment": "9.4.1",
"@polkadot/rpc-augment": "9.4.1",
"@polkadot/rpc-provider": "9.4.1",
"@polkadot/types-support": "9.4.1"
"@polkadot/api": "9.4.2",
"@polkadot/api-augment": "9.4.2",
"@polkadot/rpc-augment": "9.4.2",
"@polkadot/rpc-provider": "9.4.2",
"@polkadot/types-support": "9.4.2"
}
}
+7 -2
View File
@@ -13,6 +13,7 @@ import { map, of, switchMap } from 'rxjs';
import { BN_ZERO, bnToBn, objectSpread } from '@polkadot/util';
import { memo } from '../util';
import { getQueryInterface } from './util';
function orderBags (ids: BN[], bags: Option<PalletBagsListListBag>[]): Bag[] {
const sorted = ids
@@ -36,11 +37,13 @@ function orderBags (ids: BN[], bags: Option<PalletBagsListListBag>[]): Bag[] {
}
export function _getIds (instanceId: string, api: DeriveApi): (ids: (BN | number)[]) => Observable<Bag[]> {
const query = getQueryInterface(api);
return memo(instanceId, (_ids: (BN | number)[]): Observable<Bag[]> => {
const ids = _ids.map((id) => bnToBn(id));
return ids.length
? (api.query.voterList || api.query.bagsList).listBags.multi<Option<PalletBagsListListBag>>(ids).pipe(
? query.listBags.multi<Option<PalletBagsListListBag>>(ids).pipe(
map((bags) => orderBags(ids, bags))
)
: of([]);
@@ -48,8 +51,10 @@ export function _getIds (instanceId: string, api: DeriveApi): (ids: (BN | number
}
export function all (instanceId: string, api: DeriveApi): () => Observable<Bag[]> {
const query = getQueryInterface(api);
return memo(instanceId, (): Observable<Bag[]> =>
(api.query.voterList || api.query.bagsList).listBags.keys<[u64]>().pipe(
query.listBags.keys<[u64]>().pipe(
switchMap((keys) =>
api.derive.bagsList._getIds(keys.map(({ args: [id] }) => id))
),
@@ -12,13 +12,15 @@ import { BehaviorSubject, map, of, switchMap, tap, toArray } from 'rxjs';
import { nextTick } from '@polkadot/util';
import { memo } from '../util';
import { getQueryInterface } from './util';
function traverseLinks (api: DeriveApi, head: AccountId32 | string): Observable<PalletBagsListListNode[]> {
const subject = new BehaviorSubject<AccountId32 | string>(head);
const query = getQueryInterface(api);
return subject.pipe(
switchMap((account) =>
(api.query.voterList || api.query.bagsList).listNodes<Option<PalletBagsListListNode>>(account)
query.listNodes<Option<PalletBagsListListNode>>(account)
),
tap((node: Option<PalletBagsListListNode>): void => {
nextTick((): void => {
+16
View File
@@ -0,0 +1,16 @@
// Copyright 2017-2022 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { QueryableStorage } from '@polkadot/api-base/types';
import type { DeriveApi } from '../types';
export function getQueryInterface (api: DeriveApi): QueryableStorage<'rxjs'>['voterBagsList'] {
return (
// latest substrate (latest always first)
api.query.voterBagsList ||
// previous substrate
api.query.bagsList ||
// latest polkadot
api.query.voterList
);
}
+1 -1
View File
@@ -27,7 +27,7 @@ const checks: Record<string, Avail> = {
methods: []
},
bagsList: {
instances: ['voterList', 'bagsList'],
instances: ['voterBagsList', 'voterList', 'bagsList'],
methods: [],
withDetect: true
},
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.4.2' };
@@ -2,12 +2,12 @@
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
import type { Option, u32 } from '@polkadot/types';
import type { ActiveEraInfo, EraIndex } from '@polkadot/types/interfaces';
import type { u32 } from '@polkadot/types';
import type { EraIndex } from '@polkadot/types/interfaces';
import type { BN } from '@polkadot/util';
import type { DeriveApi } from '../types';
import { map } from 'rxjs';
import { combineLatest, map, of } from 'rxjs';
import { BN_ONE, BN_ZERO } from '@polkadot/util';
@@ -15,9 +15,11 @@ import { memo } from '../util';
export function erasHistoric (instanceId: string, api: DeriveApi): (withActive?: boolean) => Observable<EraIndex[]> {
return memo(instanceId, (withActive?: boolean): Observable<EraIndex[]> =>
api.queryMulti<[Option<ActiveEraInfo>, u32]>([
api.query.staking.activeEra,
api.query.staking.historyDepth
combineLatest([
api.query.staking.activeEra(),
api.consts.staking.historyDepth
? of(api.consts.staking.historyDepth)
: api.query.staking.historyDepth<u32>()
]).pipe(
map(([activeEraOpt, historyDepth]): EraIndex[] => {
const result: EraIndex[] = [];
+17 -17
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/api-augment": "9.4.1",
"@polkadot/api-base": "9.4.1",
"@polkadot/api-derive": "9.4.1",
"@polkadot/keyring": "^10.1.8",
"@polkadot/rpc-augment": "9.4.1",
"@polkadot/rpc-core": "9.4.1",
"@polkadot/rpc-provider": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/types-augment": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/types-create": "9.4.1",
"@polkadot/types-known": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/util-crypto": "^10.1.8",
"@polkadot/api-augment": "9.4.2",
"@polkadot/api-base": "9.4.2",
"@polkadot/api-derive": "9.4.2",
"@polkadot/keyring": "^10.1.9",
"@polkadot/rpc-augment": "9.4.2",
"@polkadot/rpc-core": "9.4.2",
"@polkadot/rpc-provider": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/types-augment": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/types-create": "9.4.2",
"@polkadot/types-known": "9.4.2",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"eventemitter3": "^4.0.7",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/api-augment": "9.4.1",
"@polkadot/types-support": "9.4.1"
"@polkadot/api-augment": "9.4.2",
"@polkadot/types-support": "9.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.4.2' };
+5 -5
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/rpc-core": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/util": "^10.1.8"
"@polkadot/rpc-core": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/util": "^10.1.9"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.4.2' };
+7 -7
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/rpc-augment": "9.4.1",
"@polkadot/rpc-provider": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/rpc-augment": "9.4.2",
"@polkadot/rpc-provider": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/util": "^10.1.9",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/keyring": "^10.1.8",
"@polkadot/rpc-augment": "9.4.1"
"@polkadot/keyring": "^10.1.9",
"@polkadot/rpc-augment": "9.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.4.2' };
+10 -10
View File
@@ -20,19 +20,19 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/keyring": "^10.1.8",
"@polkadot/types": "9.4.1",
"@polkadot/types-support": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/util-crypto": "^10.1.8",
"@polkadot/x-fetch": "^10.1.8",
"@polkadot/x-global": "^10.1.8",
"@polkadot/x-ws": "^10.1.8",
"@substrate/connect": "0.7.13",
"@polkadot/keyring": "^10.1.9",
"@polkadot/types": "9.4.2",
"@polkadot/types-support": "9.4.2",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"@polkadot/x-fetch": "^10.1.9",
"@polkadot/x-global": "^10.1.9",
"@polkadot/x-ws": "^10.1.9",
"@substrate/connect": "0.7.14",
"eventemitter3": "^4.0.7",
"mock-socket": "^9.1.5",
"nock": "^13.2.9"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.4.2' };
@@ -7,13 +7,15 @@ import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, Pro
import { Chain, createScClient, ScClient, WellKnownChain } from '@substrate/connect';
import EventEmitter from 'eventemitter3';
import { isError, objectSpread } from '@polkadot/util';
import { isError, logger, objectSpread } from '@polkadot/util';
import { RpcCoder } from '../coder';
import { healthChecker } from './Health';
type ResponseCallback = (response: string | Error) => void
const l = logger('api-substrate-connect');
// These methods have been taken from:
// https://github.com/paritytech/smoldot/blob/17425040ddda47d539556eeaf62b88c4240d1d42/src/json_rpc/methods.rs#L338-L462
// It's important to take into account that smoldot is adding support to the new
@@ -37,11 +39,19 @@ const scClients = new WeakMap<ScProvider, ScClient>();
export { WellKnownChain };
interface ActiveSubs {
type: string,
method: string,
params: any[],
callback: ProviderInterfaceCallback
}
export class ScProvider implements ProviderInterface {
readonly #coder: RpcCoder = new RpcCoder();
readonly #spec: string | WellKnownChain;
readonly #sharedSandbox?: ScProvider;
readonly #subscriptions: Map<string, [ResponseCallback, { unsubscribeMethod: string; id: string | number }]> = new Map();
readonly #resubscribeMethods: Map<string, ActiveSubs> = new Map();
readonly #requests: Map<number, ResponseCallback> = new Map();
readonly #eventemitter: EventEmitter = new EventEmitter();
#chain: Promise<Chain> | null = null;
@@ -207,11 +217,17 @@ export class ScProvider implements ProviderInterface {
staleSubscriptions.push(s[1]);
});
cleanup();
this.#eventemitter.emit('disconnected');
} else {
killStaleSubscriptions();
}
this.#eventemitter.emit(isReady ? 'connected' : 'disconnected');
this.#eventemitter.emit('connected');
if (this.#resubscribeMethods.size) {
this.#resubscribe();
}
}
});
return objectSpread({}, chain, {
@@ -233,6 +249,32 @@ export class ScProvider implements ProviderInterface {
}
}
#resubscribe = (): void => {
const promises: any[] = [];
this.#resubscribeMethods.forEach((subDetails: ActiveSubs): void => {
// only re-create subscriptions which are not in author (only area where
// transactions are created, i.e. submissions such as 'author_submitAndWatchExtrinsic'
// are not included (and will not be re-broadcast)
if (subDetails.type.startsWith('author_')) {
return;
}
try {
const promise: Promise<void> = new Promise((resolve) => {
this.subscribe(subDetails.type, subDetails.method, subDetails.params, subDetails.callback).catch((error) => console.log(error));
resolve();
});
promises.push(promise);
} catch (error) {
l.error(error);
}
});
Promise.all(promises).catch((err) => l.log(err));
};
async disconnect (): Promise<void> {
if (!this.#chain) {
return;
@@ -322,6 +364,8 @@ export class ScProvider implements ProviderInterface {
throw new Error('Invalid unsubscribe method found');
}
this.#resubscribeMethods.set(subscriptionId, { callback, method, params, type });
this.#subscriptions.set(subscriptionId, [cb, { id, unsubscribeMethod }]);
return id;
@@ -340,6 +384,7 @@ export class ScProvider implements ProviderInterface {
);
}
this.#resubscribeMethods.delete(subscriptionId);
this.#subscriptions.delete(subscriptionId);
return this.send(method, [id]);
+14 -14
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,24 +33,24 @@
"@babel/core": "^7.19.1",
"@babel/register": "^7.18.9",
"@babel/runtime": "^7.19.0",
"@polkadot/api": "9.4.1",
"@polkadot/api-augment": "9.4.1",
"@polkadot/rpc-augment": "9.4.1",
"@polkadot/rpc-provider": "9.4.1",
"@polkadot/types": "9.4.1",
"@polkadot/types-augment": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/types-create": "9.4.1",
"@polkadot/types-support": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/util-crypto": "^10.1.8",
"@polkadot/x-ws": "^10.1.8",
"@polkadot/api": "9.4.2",
"@polkadot/api-augment": "9.4.2",
"@polkadot/rpc-augment": "9.4.2",
"@polkadot/rpc-provider": "9.4.2",
"@polkadot/types": "9.4.2",
"@polkadot/types-augment": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/types-create": "9.4.2",
"@polkadot/types-support": "9.4.2",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"@polkadot/x-ws": "^10.1.9",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
"yargs": "^17.5.1"
},
"devDependencies": {
"@types/websocket": "^1.0.5",
"@types/yargs": "^17.0.12"
"@types/yargs": "^17.0.13"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.4.2' };
+4 -4
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/types": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/util": "^10.1.8"
"@polkadot/types": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/util": "^10.1.9"
}
}
+4 -4
View File
@@ -11,7 +11,7 @@ export default {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction', 'Society']
},
/**
* Lookup263: kusama_runtime::SessionKeys
* Lookup264: kusama_runtime::SessionKeys
**/
KusamaRuntimeSessionKeys: {
grandpa: 'SpFinalityGrandpaAppPublic',
@@ -22,7 +22,7 @@ export default {
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
},
/**
* Lookup338: kusama_runtime::OriginCaller
* Lookup339: kusama_runtime::OriginCaller
**/
KusamaRuntimeOriginCaller: {
_enum: {
@@ -129,7 +129,7 @@ export default {
}
},
/**
* Lookup404: kusama_runtime::NposCompactSolution24
* Lookup405: kusama_runtime::NposCompactSolution24
**/
KusamaRuntimeNposCompactSolution24: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -158,7 +158,7 @@ export default {
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
},
/**
* Lookup779: kusama_runtime::Runtime
* Lookup780: kusama_runtime::Runtime
**/
KusamaRuntimeRuntime: 'Null'
};
+48 -48
View File
@@ -1851,13 +1851,13 @@ export default {
}
},
/**
* Lookup557: polkadot_runtime_common::claims::pallet::Error<T>
* Lookup558: polkadot_runtime_common::claims::pallet::Error<T>
**/
PolkadotRuntimeCommonClaimsPalletError: {
_enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']
},
/**
* Lookup630: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
* Lookup631: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
**/
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
maxCodeSize: 'u32',
@@ -1905,20 +1905,20 @@ export default {
minimumValidationUpgradeDelay: 'u32'
},
/**
* Lookup633: polkadot_runtime_parachains::configuration::pallet::Error<T>
* Lookup634: polkadot_runtime_parachains::configuration::pallet::Error<T>
**/
PolkadotRuntimeParachainsConfigurationPalletError: {
_enum: ['InvalidNewValue']
},
/**
* Lookup636: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
* Lookup637: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
**/
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
bitfield: 'BitVec',
submittedAt: 'u32'
},
/**
* Lookup637: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
* Lookup638: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
**/
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
_alias: {
@@ -1934,13 +1934,13 @@ export default {
backingGroup: 'u32'
},
/**
* Lookup638: polkadot_runtime_parachains::inclusion::pallet::Error<T>
* Lookup639: polkadot_runtime_parachains::inclusion::pallet::Error<T>
**/
PolkadotRuntimeParachainsInclusionPalletError: {
_enum: ['UnsortedOrDuplicateValidatorIndices', 'UnsortedOrDuplicateDisputeStatementSet', 'UnsortedOrDuplicateBackedCandidates', 'UnexpectedRelayParent', 'WrongBitfieldSize', 'BitfieldAllZeros', 'BitfieldDuplicateOrUnordered', 'ValidatorIndexOutOfBounds', 'InvalidBitfieldSignature', 'UnscheduledCandidate', 'CandidateScheduledBeforeParaFree', 'WrongCollator', 'ScheduledOutOfOrder', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'CandidateNotInParentContext', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'NotCollatorSigned', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch', 'BitfieldReferencesFreedCore']
},
/**
* Lookup639: polkadot_primitives::v2::ScrapedOnChainVotes<primitive_types::H256>
* Lookup640: polkadot_primitives::v2::ScrapedOnChainVotes<primitive_types::H256>
**/
PolkadotPrimitivesV2ScrapedOnChainVotes: {
session: 'u32',
@@ -1948,38 +1948,38 @@ export default {
disputes: 'Vec<PolkadotPrimitivesV2DisputeStatementSet>'
},
/**
* Lookup644: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
* Lookup645: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasInherentPalletError: {
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'CandidateConcludedInvalid', 'InherentOverweight', 'DisputeStatementsUnsortedOrDuplicates', 'DisputeInvalid']
},
/**
* Lookup646: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
* Lookup647: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
**/
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
nextCoreOffset: 'u32'
},
/**
* Lookup648: polkadot_runtime_parachains::scheduler::QueuedParathread
* Lookup649: polkadot_runtime_parachains::scheduler::QueuedParathread
**/
PolkadotRuntimeParachainsSchedulerQueuedParathread: {
claim: 'PolkadotPrimitivesV2ParathreadEntry',
coreOffset: 'u32'
},
/**
* Lookup649: polkadot_primitives::v2::ParathreadEntry
* Lookup650: polkadot_primitives::v2::ParathreadEntry
**/
PolkadotPrimitivesV2ParathreadEntry: {
claim: 'PolkadotPrimitivesV2ParathreadClaim',
retries: 'u32'
},
/**
* Lookup650: polkadot_primitives::v2::ParathreadClaim
* Lookup651: polkadot_primitives::v2::ParathreadClaim
**/
PolkadotPrimitivesV2ParathreadClaim: '(u32,PolkadotPrimitivesV2CollatorAppPublic)',
/**
* Lookup653: polkadot_primitives::v2::CoreOccupied
* Lookup654: polkadot_primitives::v2::CoreOccupied
**/
PolkadotPrimitivesV2CoreOccupied: {
_enum: {
@@ -1988,7 +1988,7 @@ export default {
}
},
/**
* Lookup656: polkadot_runtime_parachains::scheduler::CoreAssignment
* Lookup657: polkadot_runtime_parachains::scheduler::CoreAssignment
**/
PolkadotRuntimeParachainsSchedulerCoreAssignment: {
core: 'u32',
@@ -1997,7 +1997,7 @@ export default {
groupIdx: 'u32'
},
/**
* Lookup657: polkadot_runtime_parachains::scheduler::AssignmentKind
* Lookup658: polkadot_runtime_parachains::scheduler::AssignmentKind
**/
PolkadotRuntimeParachainsSchedulerAssignmentKind: {
_enum: {
@@ -2006,7 +2006,7 @@ export default {
}
},
/**
* Lookup658: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
* Lookup659: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState: {
votesAccept: 'BitVec',
@@ -2016,7 +2016,7 @@ export default {
causes: 'Vec<PolkadotRuntimeParachainsParasPvfCheckCause>'
},
/**
* Lookup660: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
* Lookup661: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckCause: {
_enum: {
@@ -2028,39 +2028,39 @@ export default {
}
},
/**
* Lookup662: polkadot_runtime_parachains::paras::ParaLifecycle
* Lookup663: polkadot_runtime_parachains::paras::ParaLifecycle
**/
PolkadotRuntimeParachainsParasParaLifecycle: {
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
},
/**
* Lookup664: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
* Lookup665: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
**/
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
lastPruned: 'Option<u32>'
},
/**
* Lookup666: polkadot_runtime_parachains::paras::ReplacementTimes<N>
* Lookup667: polkadot_runtime_parachains::paras::ReplacementTimes<N>
**/
PolkadotRuntimeParachainsParasReplacementTimes: {
expectedAt: 'u32',
activatedAt: 'u32'
},
/**
* Lookup668: polkadot_primitives::v2::UpgradeGoAhead
* Lookup669: polkadot_primitives::v2::UpgradeGoAhead
**/
PolkadotPrimitivesV2UpgradeGoAhead: {
_enum: ['Abort', 'GoAhead']
},
/**
* Lookup669: polkadot_primitives::v2::UpgradeRestriction
* Lookup670: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
* Lookup670: polkadot_runtime_parachains::paras::ParaGenesisArgs
* Lookup671: polkadot_runtime_parachains::paras::ParaGenesisArgs
**/
PolkadotRuntimeParachainsParasParaGenesisArgs: {
genesisHead: 'Bytes',
@@ -2068,13 +2068,13 @@ export default {
parachain: 'bool'
},
/**
* Lookup671: polkadot_runtime_parachains::paras::pallet::Error<T>
* Lookup672: polkadot_runtime_parachains::paras::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasPalletError: {
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade', 'PvfCheckStatementStale', 'PvfCheckStatementFuture', 'PvfCheckValidatorIndexOutOfBounds', 'PvfCheckInvalidSignature', 'PvfCheckDoubleVote', 'PvfCheckSubjectInvalid', 'PvfCheckDisabled']
},
/**
* Lookup673: polkadot_runtime_parachains::initializer::BufferedSessionChange
* Lookup674: polkadot_runtime_parachains::initializer::BufferedSessionChange
**/
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
validators: 'Vec<PolkadotPrimitivesV2ValidatorAppPublic>',
@@ -2082,20 +2082,20 @@ export default {
sessionIndex: 'u32'
},
/**
* Lookup675: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
* Lookup676: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
* Lookup677: polkadot_runtime_parachains::ump::pallet::Error<T>
* Lookup678: polkadot_runtime_parachains::ump::pallet::Error<T>
**/
PolkadotRuntimeParachainsUmpPalletError: {
_enum: ['UnknownMessageIndex', 'WeightOverLimit']
},
/**
* Lookup678: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
* Lookup679: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
@@ -2106,7 +2106,7 @@ export default {
maxTotalSize: 'u32'
},
/**
* Lookup680: polkadot_runtime_parachains::hrmp::HrmpChannel
* Lookup681: polkadot_runtime_parachains::hrmp::HrmpChannel
**/
PolkadotRuntimeParachainsHrmpHrmpChannel: {
maxCapacity: 'u32',
@@ -2119,20 +2119,20 @@ export default {
recipientDeposit: 'u128'
},
/**
* Lookup683: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
* Lookup684: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
* Lookup686: polkadot_runtime_parachains::hrmp::pallet::Error<T>
* Lookup687: polkadot_runtime_parachains::hrmp::pallet::Error<T>
**/
PolkadotRuntimeParachainsHrmpPalletError: {
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed', 'WrongWitness']
},
/**
* Lookup688: polkadot_primitives::v2::SessionInfo
* Lookup689: polkadot_primitives::v2::SessionInfo
**/
PolkadotPrimitivesV2SessionInfo: {
activeValidatorIndices: 'Vec<u32>',
@@ -2150,7 +2150,7 @@ export default {
neededApprovals: 'u32'
},
/**
* Lookup691: polkadot_primitives::v2::DisputeState<N>
* Lookup692: polkadot_primitives::v2::DisputeState<N>
**/
PolkadotPrimitivesV2DisputeState: {
validatorsFor: 'BitVec',
@@ -2159,13 +2159,13 @@ export default {
concludedAt: 'Option<u32>'
},
/**
* Lookup692: polkadot_runtime_parachains::disputes::pallet::Error<T>
* Lookup693: polkadot_runtime_parachains::disputes::pallet::Error<T>
**/
PolkadotRuntimeParachainsDisputesPalletError: {
_enum: ['DuplicateDisputeStatementSets', 'AncientDisputeStatement', 'ValidatorIndexOutOfBounds', 'InvalidSignature', 'DuplicateStatement', 'PotentialSpam', 'SingleSidedDispute']
},
/**
* Lookup693: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
* Lookup694: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
**/
PolkadotRuntimeCommonParasRegistrarParaInfo: {
manager: 'AccountId32',
@@ -2173,25 +2173,25 @@ export default {
locked: 'bool'
},
/**
* Lookup694: polkadot_runtime_common::paras_registrar::pallet::Error<T>
* Lookup695: polkadot_runtime_common::paras_registrar::pallet::Error<T>
**/
PolkadotRuntimeCommonParasRegistrarPalletError: {
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved', 'EmptyCode', 'CannotSwap']
},
/**
* Lookup696: polkadot_runtime_common::slots::pallet::Error<T>
* Lookup697: polkadot_runtime_common::slots::pallet::Error<T>
**/
PolkadotRuntimeCommonSlotsPalletError: {
_enum: ['ParaNotOnboarding', 'LeaseError']
},
/**
* Lookup701: polkadot_runtime_common::auctions::pallet::Error<T>
* Lookup702: polkadot_runtime_common::auctions::pallet::Error<T>
**/
PolkadotRuntimeCommonAuctionsPalletError: {
_enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut']
},
/**
* Lookup702: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
* Lookup703: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
**/
PolkadotRuntimeCommonCrowdloanFundInfo: {
depositor: 'AccountId32',
@@ -2206,7 +2206,7 @@ export default {
fundIndex: 'u32'
},
/**
* Lookup703: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
* Lookup704: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
**/
PolkadotRuntimeCommonCrowdloanLastContribution: {
_enum: {
@@ -2216,13 +2216,13 @@ export default {
}
},
/**
* Lookup704: polkadot_runtime_common::crowdloan::pallet::Error<T>
* Lookup705: polkadot_runtime_common::crowdloan::pallet::Error<T>
**/
PolkadotRuntimeCommonCrowdloanPalletError: {
_enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod']
},
/**
* Lookup705: pallet_xcm::pallet::QueryStatus<BlockNumber>
* Lookup706: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
PalletXcmQueryStatus: {
_enum: {
@@ -2242,7 +2242,7 @@ export default {
}
},
/**
* Lookup708: xcm::VersionedResponse
* Lookup709: xcm::VersionedResponse
**/
XcmVersionedResponse: {
_enum: {
@@ -2252,7 +2252,7 @@ export default {
}
},
/**
* Lookup714: pallet_xcm::pallet::VersionMigrationStage
* Lookup715: pallet_xcm::pallet::VersionMigrationStage
**/
PalletXcmVersionMigrationStage: {
_enum: {
@@ -2263,21 +2263,21 @@ export default {
}
},
/**
* Lookup715: pallet_xcm::pallet::Error<T>
* Lookup716: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
* Lookup726: pallet_transaction_payment::ChargeTransactionPayment<T>
* Lookup727: pallet_transaction_payment::ChargeTransactionPayment<T>
**/
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
* Lookup727: polkadot_runtime_common::claims::PrevalidateAttests<T>
* Lookup728: polkadot_runtime_common::claims::PrevalidateAttests<T>
**/
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
/**
* Lookup728: polkadot_runtime::Runtime
* Lookup729: polkadot_runtime::Runtime
**/
PolkadotRuntimeRuntime: 'Null'
};
File diff suppressed because it is too large Load Diff
@@ -23,7 +23,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society';
}
/** @name KusamaRuntimeSessionKeys (263) */
/** @name KusamaRuntimeSessionKeys (264) */
interface KusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpFinalityGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic;
@@ -33,7 +33,7 @@ declare module '@polkadot/types/lookup' {
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
}
/** @name KusamaRuntimeOriginCaller (338) */
/** @name KusamaRuntimeOriginCaller (339) */
interface KusamaRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
@@ -49,7 +49,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'ParachainsOrigin' | 'XcmPallet';
}
/** @name KusamaRuntimeNposCompactSolution24 (404) */
/** @name KusamaRuntimeNposCompactSolution24 (405) */
interface KusamaRuntimeNposCompactSolution24 extends Struct {
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
@@ -77,7 +77,7 @@ declare module '@polkadot/types/lookup' {
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name KusamaRuntimeRuntime (779) */
/** @name KusamaRuntimeRuntime (780) */
type KusamaRuntimeRuntime = Null;
} // declare module
@@ -1813,7 +1813,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Assets' | 'Version';
}
/** @name PolkadotRuntimeCommonClaimsPalletError (557) */
/** @name PolkadotRuntimeCommonClaimsPalletError (558) */
interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
readonly isInvalidEthereumSignature: boolean;
readonly isSignerHasNoClaim: boolean;
@@ -1824,7 +1824,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidEthereumSignature' | 'SignerHasNoClaim' | 'SenderHasNoClaim' | 'PotUnderflow' | 'InvalidStatement' | 'VestedBalanceExists';
}
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (630) */
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (631) */
interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1871,19 +1871,19 @@ declare module '@polkadot/types/lookup' {
readonly minimumValidationUpgradeDelay: u32;
}
/** @name PolkadotRuntimeParachainsConfigurationPalletError (633) */
/** @name PolkadotRuntimeParachainsConfigurationPalletError (634) */
interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
readonly isInvalidNewValue: boolean;
readonly type: 'InvalidNewValue';
}
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (636) */
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (637) */
interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
readonly bitfield: BitVec;
readonly submittedAt: u32;
}
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (637) */
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (638) */
interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
readonly core: u32;
readonly hash_: H256;
@@ -1895,7 +1895,7 @@ declare module '@polkadot/types/lookup' {
readonly backingGroup: u32;
}
/** @name PolkadotRuntimeParachainsInclusionPalletError (638) */
/** @name PolkadotRuntimeParachainsInclusionPalletError (639) */
interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
readonly isUnsortedOrDuplicateValidatorIndices: boolean;
readonly isUnsortedOrDuplicateDisputeStatementSet: boolean;
@@ -1929,14 +1929,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'UnsortedOrDuplicateValidatorIndices' | 'UnsortedOrDuplicateDisputeStatementSet' | 'UnsortedOrDuplicateBackedCandidates' | 'UnexpectedRelayParent' | 'WrongBitfieldSize' | 'BitfieldAllZeros' | 'BitfieldDuplicateOrUnordered' | 'ValidatorIndexOutOfBounds' | 'InvalidBitfieldSignature' | 'UnscheduledCandidate' | 'CandidateScheduledBeforeParaFree' | 'WrongCollator' | 'ScheduledOutOfOrder' | 'HeadDataTooLarge' | 'PrematureCodeUpgrade' | 'NewCodeTooLarge' | 'CandidateNotInParentContext' | 'InvalidGroupIndex' | 'InsufficientBacking' | 'InvalidBacking' | 'NotCollatorSigned' | 'ValidationDataHashMismatch' | 'IncorrectDownwardMessageHandling' | 'InvalidUpwardMessages' | 'HrmpWatermarkMishandling' | 'InvalidOutboundHrmp' | 'InvalidValidationCodeHash' | 'ParaHeadMismatch' | 'BitfieldReferencesFreedCore';
}
/** @name PolkadotPrimitivesV2ScrapedOnChainVotes (639) */
/** @name PolkadotPrimitivesV2ScrapedOnChainVotes (640) */
interface PolkadotPrimitivesV2ScrapedOnChainVotes extends Struct {
readonly session: u32;
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesV2CandidateReceipt, Vec<ITuple<[u32, PolkadotPrimitivesV2ValidityAttestation]>>]>>;
readonly disputes: Vec<PolkadotPrimitivesV2DisputeStatementSet>;
}
/** @name PolkadotRuntimeParachainsParasInherentPalletError (644) */
/** @name PolkadotRuntimeParachainsParasInherentPalletError (645) */
interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
readonly isTooManyInclusionInherents: boolean;
readonly isInvalidParentHeader: boolean;
@@ -1947,28 +1947,28 @@ declare module '@polkadot/types/lookup' {
readonly type: 'TooManyInclusionInherents' | 'InvalidParentHeader' | 'CandidateConcludedInvalid' | 'InherentOverweight' | 'DisputeStatementsUnsortedOrDuplicates' | 'DisputeInvalid';
}
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (646) */
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (647) */
interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
readonly nextCoreOffset: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (648) */
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (649) */
interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
readonly claim: PolkadotPrimitivesV2ParathreadEntry;
readonly coreOffset: u32;
}
/** @name PolkadotPrimitivesV2ParathreadEntry (649) */
/** @name PolkadotPrimitivesV2ParathreadEntry (650) */
interface PolkadotPrimitivesV2ParathreadEntry extends Struct {
readonly claim: PolkadotPrimitivesV2ParathreadClaim;
readonly retries: u32;
}
/** @name PolkadotPrimitivesV2ParathreadClaim (650) */
/** @name PolkadotPrimitivesV2ParathreadClaim (651) */
interface PolkadotPrimitivesV2ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV2CollatorAppPublic]> {}
/** @name PolkadotPrimitivesV2CoreOccupied (653) */
/** @name PolkadotPrimitivesV2CoreOccupied (654) */
interface PolkadotPrimitivesV2CoreOccupied extends Enum {
readonly isParathread: boolean;
readonly asParathread: PolkadotPrimitivesV2ParathreadEntry;
@@ -1976,7 +1976,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parathread' | 'Parachain';
}
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (656) */
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (657) */
interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
readonly core: u32;
readonly paraId: u32;
@@ -1984,7 +1984,7 @@ declare module '@polkadot/types/lookup' {
readonly groupIdx: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (657) */
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (658) */
interface PolkadotRuntimeParachainsSchedulerAssignmentKind extends Enum {
readonly isParachain: boolean;
readonly isParathread: boolean;
@@ -1992,7 +1992,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parachain' | 'Parathread';
}
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (658) */
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (659) */
interface PolkadotRuntimeParachainsParasPvfCheckActiveVoteState extends Struct {
readonly votesAccept: BitVec;
readonly votesReject: BitVec;
@@ -2001,7 +2001,7 @@ declare module '@polkadot/types/lookup' {
readonly causes: Vec<PolkadotRuntimeParachainsParasPvfCheckCause>;
}
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (660) */
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (661) */
interface PolkadotRuntimeParachainsParasPvfCheckCause extends Enum {
readonly isOnboarding: boolean;
readonly asOnboarding: u32;
@@ -2013,7 +2013,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Upgrade';
}
/** @name PolkadotRuntimeParachainsParasParaLifecycle (662) */
/** @name PolkadotRuntimeParachainsParasParaLifecycle (663) */
interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
readonly isOnboarding: boolean;
readonly isParathread: boolean;
@@ -2025,39 +2025,39 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Parathread' | 'Parachain' | 'UpgradingParathread' | 'DowngradingParachain' | 'OffboardingParathread' | 'OffboardingParachain';
}
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (664) */
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (665) */
interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
readonly lastPruned: Option<u32>;
}
/** @name PolkadotRuntimeParachainsParasReplacementTimes (666) */
/** @name PolkadotRuntimeParachainsParasReplacementTimes (667) */
interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
readonly expectedAt: u32;
readonly activatedAt: u32;
}
/** @name PolkadotPrimitivesV2UpgradeGoAhead (668) */
/** @name PolkadotPrimitivesV2UpgradeGoAhead (669) */
interface PolkadotPrimitivesV2UpgradeGoAhead extends Enum {
readonly isAbort: boolean;
readonly isGoAhead: boolean;
readonly type: 'Abort' | 'GoAhead';
}
/** @name PolkadotPrimitivesV2UpgradeRestriction (669) */
/** @name PolkadotPrimitivesV2UpgradeRestriction (670) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (670) */
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (671) */
interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
readonly genesisHead: Bytes;
readonly validationCode: Bytes;
readonly parachain: bool;
}
/** @name PolkadotRuntimeParachainsParasPalletError (671) */
/** @name PolkadotRuntimeParachainsParasPalletError (672) */
interface PolkadotRuntimeParachainsParasPalletError extends Enum {
readonly isNotRegistered: boolean;
readonly isCannotOnboard: boolean;
@@ -2074,27 +2074,27 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotRegistered' | 'CannotOnboard' | 'CannotOffboard' | 'CannotUpgrade' | 'CannotDowngrade' | 'PvfCheckStatementStale' | 'PvfCheckStatementFuture' | 'PvfCheckValidatorIndexOutOfBounds' | 'PvfCheckInvalidSignature' | 'PvfCheckDoubleVote' | 'PvfCheckSubjectInvalid' | 'PvfCheckDisabled';
}
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (673) */
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (674) */
interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
readonly validators: Vec<PolkadotPrimitivesV2ValidatorAppPublic>;
readonly queued: Vec<PolkadotPrimitivesV2ValidatorAppPublic>;
readonly sessionIndex: u32;
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (675) */
/** @name PolkadotCorePrimitivesInboundDownwardMessage (676) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotRuntimeParachainsUmpPalletError (677) */
/** @name PolkadotRuntimeParachainsUmpPalletError (678) */
interface PolkadotRuntimeParachainsUmpPalletError extends Enum {
readonly isUnknownMessageIndex: boolean;
readonly isWeightOverLimit: boolean;
readonly type: 'UnknownMessageIndex' | 'WeightOverLimit';
}
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (678) */
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (679) */
interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly age: u32;
@@ -2104,7 +2104,7 @@ declare module '@polkadot/types/lookup' {
readonly maxTotalSize: u32;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (680) */
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (681) */
interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -2116,13 +2116,13 @@ declare module '@polkadot/types/lookup' {
readonly recipientDeposit: u128;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (683) */
/** @name PolkadotCorePrimitivesInboundHrmpMessage (684) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name PolkadotRuntimeParachainsHrmpPalletError (686) */
/** @name PolkadotRuntimeParachainsHrmpPalletError (687) */
interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
readonly isOpenHrmpChannelToSelf: boolean;
readonly isOpenHrmpChannelInvalidRecipient: boolean;
@@ -2146,7 +2146,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'OpenHrmpChannelToSelf' | 'OpenHrmpChannelInvalidRecipient' | 'OpenHrmpChannelZeroCapacity' | 'OpenHrmpChannelCapacityExceedsLimit' | 'OpenHrmpChannelZeroMessageSize' | 'OpenHrmpChannelMessageSizeExceedsLimit' | 'OpenHrmpChannelAlreadyExists' | 'OpenHrmpChannelAlreadyRequested' | 'OpenHrmpChannelLimitExceeded' | 'AcceptHrmpChannelDoesntExist' | 'AcceptHrmpChannelAlreadyConfirmed' | 'AcceptHrmpChannelLimitExceeded' | 'CloseHrmpChannelUnauthorized' | 'CloseHrmpChannelDoesntExist' | 'CloseHrmpChannelAlreadyUnderway' | 'CancelHrmpOpenChannelUnauthorized' | 'OpenHrmpChannelDoesntExist' | 'OpenHrmpChannelAlreadyConfirmed' | 'WrongWitness';
}
/** @name PolkadotPrimitivesV2SessionInfo (688) */
/** @name PolkadotPrimitivesV2SessionInfo (689) */
interface PolkadotPrimitivesV2SessionInfo extends Struct {
readonly activeValidatorIndices: Vec<u32>;
readonly randomSeed: U8aFixed;
@@ -2163,7 +2163,7 @@ declare module '@polkadot/types/lookup' {
readonly neededApprovals: u32;
}
/** @name PolkadotPrimitivesV2DisputeState (691) */
/** @name PolkadotPrimitivesV2DisputeState (692) */
interface PolkadotPrimitivesV2DisputeState extends Struct {
readonly validatorsFor: BitVec;
readonly validatorsAgainst: BitVec;
@@ -2171,7 +2171,7 @@ declare module '@polkadot/types/lookup' {
readonly concludedAt: Option<u32>;
}
/** @name PolkadotRuntimeParachainsDisputesPalletError (692) */
/** @name PolkadotRuntimeParachainsDisputesPalletError (693) */
interface PolkadotRuntimeParachainsDisputesPalletError extends Enum {
readonly isDuplicateDisputeStatementSets: boolean;
readonly isAncientDisputeStatement: boolean;
@@ -2183,14 +2183,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DuplicateDisputeStatementSets' | 'AncientDisputeStatement' | 'ValidatorIndexOutOfBounds' | 'InvalidSignature' | 'DuplicateStatement' | 'PotentialSpam' | 'SingleSidedDispute';
}
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (693) */
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (694) */
interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
readonly manager: AccountId32;
readonly deposit: u128;
readonly locked: bool;
}
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (694) */
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (695) */
interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
readonly isNotRegistered: boolean;
readonly isAlreadyRegistered: boolean;
@@ -2209,14 +2209,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotRegistered' | 'AlreadyRegistered' | 'NotOwner' | 'CodeTooLarge' | 'HeadDataTooLarge' | 'NotParachain' | 'NotParathread' | 'CannotDeregister' | 'CannotDowngrade' | 'CannotUpgrade' | 'ParaLocked' | 'NotReserved' | 'EmptyCode' | 'CannotSwap';
}
/** @name PolkadotRuntimeCommonSlotsPalletError (696) */
/** @name PolkadotRuntimeCommonSlotsPalletError (697) */
interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
readonly isParaNotOnboarding: boolean;
readonly isLeaseError: boolean;
readonly type: 'ParaNotOnboarding' | 'LeaseError';
}
/** @name PolkadotRuntimeCommonAuctionsPalletError (701) */
/** @name PolkadotRuntimeCommonAuctionsPalletError (702) */
interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
readonly isAuctionInProgress: boolean;
readonly isLeasePeriodInPast: boolean;
@@ -2228,7 +2228,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AuctionInProgress' | 'LeasePeriodInPast' | 'ParaNotRegistered' | 'NotCurrentAuction' | 'NotAuction' | 'AuctionEnded' | 'AlreadyLeasedOut';
}
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (702) */
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (703) */
interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
readonly depositor: AccountId32;
readonly verifier: Option<SpRuntimeMultiSigner>;
@@ -2242,7 +2242,7 @@ declare module '@polkadot/types/lookup' {
readonly fundIndex: u32;
}
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (703) */
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (704) */
interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
readonly isNever: boolean;
readonly isPreEnding: boolean;
@@ -2252,7 +2252,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Never' | 'PreEnding' | 'Ending';
}
/** @name PolkadotRuntimeCommonCrowdloanPalletError (704) */
/** @name PolkadotRuntimeCommonCrowdloanPalletError (705) */
interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
readonly isFirstPeriodInPast: boolean;
readonly isFirstPeriodTooFarInFuture: boolean;
@@ -2280,7 +2280,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'FirstPeriodInPast' | 'FirstPeriodTooFarInFuture' | 'LastPeriodBeforeFirstPeriod' | 'LastPeriodTooFarInFuture' | 'CannotEndInPast' | 'EndTooFarInFuture' | 'Overflow' | 'ContributionTooSmall' | 'InvalidParaId' | 'CapExceeded' | 'ContributionPeriodOver' | 'InvalidOrigin' | 'NotParachain' | 'LeaseActive' | 'BidOrLeaseActive' | 'FundNotEnded' | 'NoContributions' | 'NotReadyToDissolve' | 'InvalidSignature' | 'MemoTooLarge' | 'AlreadyInNewRaise' | 'VrfDelayInProgress' | 'NoLeasePeriod';
}
/** @name PalletXcmQueryStatus (705) */
/** @name PalletXcmQueryStatus (706) */
interface PalletXcmQueryStatus extends Enum {
readonly isPending: boolean;
readonly asPending: {
@@ -2301,7 +2301,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Pending' | 'VersionNotifier' | 'Ready';
}
/** @name XcmVersionedResponse (708) */
/** @name XcmVersionedResponse (709) */
interface XcmVersionedResponse extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Response;
@@ -2312,7 +2312,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'V0' | 'V1' | 'V2';
}
/** @name PalletXcmVersionMigrationStage (714) */
/** @name PalletXcmVersionMigrationStage (715) */
interface PalletXcmVersionMigrationStage extends Enum {
readonly isMigrateSupportedVersion: boolean;
readonly isMigrateVersionNotifiers: boolean;
@@ -2322,7 +2322,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';
}
/** @name PalletXcmError (715) */
/** @name PalletXcmError (716) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2340,13 +2340,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
/** @name PalletTransactionPaymentChargeTransactionPayment (726) */
/** @name PalletTransactionPaymentChargeTransactionPayment (727) */
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (727) */
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (728) */
type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
/** @name PolkadotRuntimeRuntime (728) */
/** @name PolkadotRuntimeRuntime (729) */
type PolkadotRuntimeRuntime = Null;
} // declare module
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.4.2' };
File diff suppressed because one or more lines are too long
+7 -7
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/util": "^10.1.8",
"@polkadot/x-bigint": "^10.1.8"
"@polkadot/util": "^10.1.9",
"@polkadot/x-bigint": "^10.1.9"
},
"devDependencies": {
"@polkadot/types": "9.4.1",
"@polkadot/types-augment": "9.4.1",
"@polkadot/types-support": "9.4.1",
"@polkadot/util-crypto": "^10.1.8"
"@polkadot/types": "9.4.2",
"@polkadot/types-augment": "9.4.2",
"@polkadot/types-support": "9.4.2",
"@polkadot/util-crypto": "^10.1.9"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.4.2' };
+4 -4
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/types-codec": "9.4.1",
"@polkadot/util": "^10.1.8"
"@polkadot/types-codec": "9.4.2",
"@polkadot/util": "^10.1.9"
},
"devDependencies": {
"@polkadot/types": "9.4.1"
"@polkadot/types": "9.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.4.2' };
+7 -7
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/networks": "^10.1.8",
"@polkadot/types": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/types-create": "9.4.1",
"@polkadot/util": "^10.1.8"
"@polkadot/networks": "^10.1.9",
"@polkadot/types": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/types-create": "9.4.2",
"@polkadot/util": "^10.1.9"
},
"devDependencies": {
"@polkadot/api": "9.4.1"
"@polkadot/api": "9.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.4.2' };
+2 -2
View File
@@ -20,10 +20,10 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/util": "^10.1.8"
"@polkadot/util": "^10.1.9"
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.4.2' };
+9 -9
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.4.1",
"version": "9.4.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/keyring": "^10.1.8",
"@polkadot/types-augment": "9.4.1",
"@polkadot/types-codec": "9.4.1",
"@polkadot/types-create": "9.4.1",
"@polkadot/util": "^10.1.8",
"@polkadot/util-crypto": "^10.1.8",
"@polkadot/keyring": "^10.1.9",
"@polkadot/types-augment": "9.4.2",
"@polkadot/types-codec": "9.4.2",
"@polkadot/types-create": "9.4.2",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/keyring": "^10.1.8",
"@polkadot/types-support": "9.4.1"
"@polkadot/keyring": "^10.1.9",
"@polkadot/types-support": "9.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.4.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.4.2' };
+281 -289
View File
@@ -1477,14 +1477,14 @@ __metadata:
languageName: node
linkType: hard
"@humanwhocodes/config-array@npm:^0.10.4":
version: 0.10.4
resolution: "@humanwhocodes/config-array@npm:0.10.4"
"@humanwhocodes/config-array@npm:^0.10.5":
version: 0.10.5
resolution: "@humanwhocodes/config-array@npm:0.10.5"
dependencies:
"@humanwhocodes/object-schema": ^1.2.1
debug: ^4.1.1
minimatch: ^3.0.4
checksum: d480e5d57e6d787565b6cff78e27c3d1b380692d4ffb0ada7d7f5957a56c9032f034da05a3e443065dbd0671ebf4d859036ced34e96b325bbc1badbae3c05300
checksum: af4fa2633c57414be22ddba0a072cc611ef9a07104542fa24bde918a0153b89b6e08ca6a20ccc9079de6079e219e2406e38414d1b662db8bb59a3ba9d6eee6e3
languageName: node
linkType: hard
@@ -2000,29 +2000,29 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@9.4.1, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@9.4.2, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/api-base": 9.4.1
"@polkadot/rpc-augment": 9.4.1
"@polkadot/types": 9.4.1
"@polkadot/types-augment": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/types-support": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/api-base": 9.4.2
"@polkadot/rpc-augment": 9.4.2
"@polkadot/types": 9.4.2
"@polkadot/types-augment": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/types-support": 9.4.2
"@polkadot/util": ^10.1.9
languageName: unknown
linkType: soft
"@polkadot/api-base@9.4.1, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@9.4.2, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/rpc-core": 9.4.1
"@polkadot/types": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/rpc-core": 9.4.2
"@polkadot/types": 9.4.2
"@polkadot/util": ^10.1.9
rxjs: ^7.5.6
languageName: unknown
linkType: soft
@@ -2032,66 +2032,66 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/api": 9.4.1
"@polkadot/api-augment": 9.4.1
"@polkadot/keyring": ^10.1.8
"@polkadot/types": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/types-create": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/util-crypto": ^10.1.8
"@polkadot/api": 9.4.2
"@polkadot/api-augment": 9.4.2
"@polkadot/keyring": ^10.1.9
"@polkadot/types": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/types-create": 9.4.2
"@polkadot/util": ^10.1.9
"@polkadot/util-crypto": ^10.1.9
rxjs: ^7.5.6
languageName: unknown
linkType: soft
"@polkadot/api-derive@9.4.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@9.4.2, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/api": 9.4.1
"@polkadot/api-augment": 9.4.1
"@polkadot/api-base": 9.4.1
"@polkadot/rpc-augment": 9.4.1
"@polkadot/rpc-core": 9.4.1
"@polkadot/rpc-provider": 9.4.1
"@polkadot/types": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/types-support": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/util-crypto": ^10.1.8
"@polkadot/api": 9.4.2
"@polkadot/api-augment": 9.4.2
"@polkadot/api-base": 9.4.2
"@polkadot/rpc-augment": 9.4.2
"@polkadot/rpc-core": 9.4.2
"@polkadot/rpc-provider": 9.4.2
"@polkadot/types": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/types-support": 9.4.2
"@polkadot/util": ^10.1.9
"@polkadot/util-crypto": ^10.1.9
rxjs: ^7.5.6
languageName: unknown
linkType: soft
"@polkadot/api@9.4.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@9.4.2, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/api-augment": 9.4.1
"@polkadot/api-base": 9.4.1
"@polkadot/api-derive": 9.4.1
"@polkadot/keyring": ^10.1.8
"@polkadot/rpc-augment": 9.4.1
"@polkadot/rpc-core": 9.4.1
"@polkadot/rpc-provider": 9.4.1
"@polkadot/types": 9.4.1
"@polkadot/types-augment": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/types-create": 9.4.1
"@polkadot/types-known": 9.4.1
"@polkadot/types-support": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/util-crypto": ^10.1.8
"@polkadot/api-augment": 9.4.2
"@polkadot/api-base": 9.4.2
"@polkadot/api-derive": 9.4.2
"@polkadot/keyring": ^10.1.9
"@polkadot/rpc-augment": 9.4.2
"@polkadot/rpc-core": 9.4.2
"@polkadot/rpc-provider": 9.4.2
"@polkadot/types": 9.4.2
"@polkadot/types-augment": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/types-create": 9.4.2
"@polkadot/types-known": 9.4.2
"@polkadot/types-support": 9.4.2
"@polkadot/util": ^10.1.9
"@polkadot/util-crypto": ^10.1.9
eventemitter3: ^4.0.7
rxjs: ^7.5.6
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.67.130":
version: 0.67.130
resolution: "@polkadot/dev@npm:0.67.130"
"@polkadot/dev@npm:^0.67.132":
version: 0.67.132
resolution: "@polkadot/dev@npm:0.67.132"
dependencies:
"@babel/cli": ^7.18.10
"@babel/core": ^7.19.1
@@ -2117,8 +2117,8 @@ __metadata:
"@rollup/plugin-json": ^4.1.0
"@rollup/plugin-node-resolve": ^14.1.0
"@rushstack/eslint-patch": ^1.2.0
"@typescript-eslint/eslint-plugin": 5.37.0
"@typescript-eslint/parser": 5.37.0
"@typescript-eslint/eslint-plugin": 5.38.0
"@typescript-eslint/parser": 5.38.0
"@vue/component-compiler-utils": ^3.3.0
babel-jest: ^29.0.3
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
@@ -2126,13 +2126,13 @@ __metadata:
babel-plugin-styled-components: ^2.0.7
browserslist: ^4.21.4
coveralls: ^3.1.1
eslint: ^8.23.1
eslint: ^8.24.0
eslint-config-standard: ^17.0.0
eslint-import-resolver-node: ^0.3.6
eslint-plugin-header: ^3.1.1
eslint-plugin-import: ^2.26.0
eslint-plugin-import-newlines: ^1.2.3
eslint-plugin-n: ^15.2.5
eslint-plugin-n: ^15.3.0
eslint-plugin-promise: ^6.0.1
eslint-plugin-react: ^7.31.8
eslint-plugin-react-hooks: ^4.6.0
@@ -2154,12 +2154,12 @@ __metadata:
mkdirp: ^1.0.4
prettier: ^2.7.1
rimraf: ^3.0.2
rollup: ^2.79.0
rollup: ^2.79.1
rollup-plugin-cleanup: ^3.2.1
typescript: ^4.8.3
webpack: ^5.74.0
webpack-cli: ^4.10.0
webpack-dev-server: ^4.11.0
webpack-dev-server: ^4.11.1
webpack-merge: ^5.8.0
webpack-subresource-integrity: ^5.1.0
yargs: ^17.5.1
@@ -2188,75 +2188,75 @@ __metadata:
polkadot-exec-swc: scripts/polkadot-exec-swc.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: 8321db87c0deb68123031f3f59a32384f4118465d2b0e5f1df8baa4299cf57322610ae1ffef3f5eb930d613ac699c01a11ab15f7b752c5a071f56f273dd24ee9
checksum: f32ab7455685448ca30586375c9a2bf0acd68c88d3f8fafc8cf7e3c2258511e8f17081cab21f3ffc9c6368b524e9e6d89638974146c882b840c9cb9990e77144
languageName: node
linkType: hard
"@polkadot/keyring@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/keyring@npm:10.1.8"
"@polkadot/keyring@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/keyring@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/util": 10.1.8
"@polkadot/util-crypto": 10.1.8
"@polkadot/util": 10.1.9
"@polkadot/util-crypto": 10.1.9
peerDependencies:
"@polkadot/util": 10.1.8
"@polkadot/util-crypto": 10.1.8
checksum: b52f0b6b5550ede6ad8b99334bbeab31c2c0cf62cabefeae33ca7349b5d43dc9ba10c799ed1a027b69cc7e0be8b862ee7d99e4fa66c7b2fa6e5b872eb3bef9be
"@polkadot/util": 10.1.9
"@polkadot/util-crypto": 10.1.9
checksum: 4778ddfae31592f15075a15e85a8ab25a3591ebb9d5ad6241cd402ccac8d4fa7bbbf55ba10aba84f0fb76be5505bc9871a2d7828415d1fd5b14b4103832e3333
languageName: node
linkType: hard
"@polkadot/networks@npm:10.1.8, @polkadot/networks@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/networks@npm:10.1.8"
"@polkadot/networks@npm:10.1.9, @polkadot/networks@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/networks@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/util": 10.1.8
"@substrate/ss58-registry": ^1.29.0
checksum: 185e3d87d98616cddaebfe1787b10e1344dcf62804e3e74e1d86abc737289e62c3155f618b15384fe00cdd006aa09d14fdcd54e4c836ba0787ae3ad003d50f36
"@polkadot/util": 10.1.9
"@substrate/ss58-registry": ^1.29.1
checksum: ae9c42f8cd3a06b509d7b0f3d5a59e010064862ceabe35add9d041b4d4e2e4546aebc56eb42fbad27a193b615fc878a8a73d42c2f2c5463d8d5c3c80affddfec
languageName: node
linkType: hard
"@polkadot/rpc-augment@9.4.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@9.4.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/rpc-core": 9.4.1
"@polkadot/types": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/rpc-core": 9.4.2
"@polkadot/types": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/util": ^10.1.9
languageName: unknown
linkType: soft
"@polkadot/rpc-core@9.4.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@9.4.2, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/keyring": ^10.1.8
"@polkadot/rpc-augment": 9.4.1
"@polkadot/rpc-provider": 9.4.1
"@polkadot/types": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/keyring": ^10.1.9
"@polkadot/rpc-augment": 9.4.2
"@polkadot/rpc-provider": 9.4.2
"@polkadot/types": 9.4.2
"@polkadot/util": ^10.1.9
rxjs: ^7.5.6
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@9.4.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@9.4.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/keyring": ^10.1.8
"@polkadot/types": 9.4.1
"@polkadot/types-support": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/util-crypto": ^10.1.8
"@polkadot/x-fetch": ^10.1.8
"@polkadot/x-global": ^10.1.8
"@polkadot/x-ws": ^10.1.8
"@substrate/connect": 0.7.13
"@polkadot/keyring": ^10.1.9
"@polkadot/types": 9.4.2
"@polkadot/types-support": 9.4.2
"@polkadot/util": ^10.1.9
"@polkadot/util-crypto": ^10.1.9
"@polkadot/x-fetch": ^10.1.9
"@polkadot/x-global": ^10.1.9
"@polkadot/x-ws": ^10.1.9
"@substrate/connect": 0.7.14
eventemitter3: ^4.0.7
mock-socket: ^9.1.5
nock: ^13.2.9
@@ -2270,20 +2270,20 @@ __metadata:
"@babel/core": ^7.19.1
"@babel/register": ^7.18.9
"@babel/runtime": ^7.19.0
"@polkadot/api": 9.4.1
"@polkadot/api-augment": 9.4.1
"@polkadot/rpc-augment": 9.4.1
"@polkadot/rpc-provider": 9.4.1
"@polkadot/types": 9.4.1
"@polkadot/types-augment": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/types-create": 9.4.1
"@polkadot/types-support": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/util-crypto": ^10.1.8
"@polkadot/x-ws": ^10.1.8
"@polkadot/api": 9.4.2
"@polkadot/api-augment": 9.4.2
"@polkadot/rpc-augment": 9.4.2
"@polkadot/rpc-provider": 9.4.2
"@polkadot/types": 9.4.2
"@polkadot/types-augment": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/types-create": 9.4.2
"@polkadot/types-support": 9.4.2
"@polkadot/util": ^10.1.9
"@polkadot/util-crypto": ^10.1.9
"@polkadot/x-ws": ^10.1.9
"@types/websocket": ^1.0.5
"@types/yargs": ^17.0.12
"@types/yargs": ^17.0.13
handlebars: ^4.7.7
websocket: ^1.0.34
yargs: ^17.5.1
@@ -2296,114 +2296,114 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@9.4.1, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@9.4.2, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/types": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/types": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/util": ^10.1.9
languageName: unknown
linkType: soft
"@polkadot/types-codec@9.4.1, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@9.4.2, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/types": 9.4.1
"@polkadot/types-augment": 9.4.1
"@polkadot/types-support": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/util-crypto": ^10.1.8
"@polkadot/x-bigint": ^10.1.8
"@polkadot/types": 9.4.2
"@polkadot/types-augment": 9.4.2
"@polkadot/types-support": 9.4.2
"@polkadot/util": ^10.1.9
"@polkadot/util-crypto": ^10.1.9
"@polkadot/x-bigint": ^10.1.9
languageName: unknown
linkType: soft
"@polkadot/types-create@9.4.1, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@9.4.2, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/types": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/types": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/util": ^10.1.9
languageName: unknown
linkType: soft
"@polkadot/types-known@9.4.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@9.4.2, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/api": 9.4.1
"@polkadot/networks": ^10.1.8
"@polkadot/types": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/types-create": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/api": 9.4.2
"@polkadot/networks": ^10.1.9
"@polkadot/types": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/types-create": 9.4.2
"@polkadot/util": ^10.1.9
languageName: unknown
linkType: soft
"@polkadot/types-support@9.4.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@9.4.2, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/util": ^10.1.8
"@polkadot/util": ^10.1.9
languageName: unknown
linkType: soft
"@polkadot/types@9.4.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@9.4.2, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/keyring": ^10.1.8
"@polkadot/types-augment": 9.4.1
"@polkadot/types-codec": 9.4.1
"@polkadot/types-create": 9.4.1
"@polkadot/types-support": 9.4.1
"@polkadot/util": ^10.1.8
"@polkadot/util-crypto": ^10.1.8
"@polkadot/keyring": ^10.1.9
"@polkadot/types-augment": 9.4.2
"@polkadot/types-codec": 9.4.2
"@polkadot/types-create": 9.4.2
"@polkadot/types-support": 9.4.2
"@polkadot/util": ^10.1.9
"@polkadot/util-crypto": ^10.1.9
rxjs: ^7.5.6
languageName: unknown
linkType: soft
"@polkadot/util-crypto@npm:10.1.8, @polkadot/util-crypto@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/util-crypto@npm:10.1.8"
"@polkadot/util-crypto@npm:10.1.9, @polkadot/util-crypto@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/util-crypto@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@noble/hashes": 1.1.2
"@noble/secp256k1": 1.7.0
"@polkadot/networks": 10.1.8
"@polkadot/util": 10.1.8
"@polkadot/networks": 10.1.9
"@polkadot/util": 10.1.9
"@polkadot/wasm-crypto": ^6.3.1
"@polkadot/x-bigint": 10.1.8
"@polkadot/x-randomvalues": 10.1.8
"@polkadot/x-bigint": 10.1.9
"@polkadot/x-randomvalues": 10.1.9
"@scure/base": 1.1.1
ed2curve: ^0.3.0
tweetnacl: ^1.0.3
peerDependencies:
"@polkadot/util": 10.1.8
checksum: 0887e7231eeb9c41677b164469491d50c5936badfa8512d4c6ec8f07bf8491feea4ce6a91d133eb3646a8538862009b3c4e807aee7b9ee940ccd82e4cdfd9bb7
"@polkadot/util": 10.1.9
checksum: 8a1a18b9741181ea79064e31bac328eb751a7724f9b05298ebcf181a87fad2196aa5677660b4d4894466d850fa4e74d5efc74db8db553a50eb5218fcd4196f37
languageName: node
linkType: hard
"@polkadot/util@npm:10.1.8, @polkadot/util@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/util@npm:10.1.8"
"@polkadot/util@npm:10.1.9, @polkadot/util@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/util@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/x-bigint": 10.1.8
"@polkadot/x-global": 10.1.8
"@polkadot/x-textdecoder": 10.1.8
"@polkadot/x-textencoder": 10.1.8
"@polkadot/x-bigint": 10.1.9
"@polkadot/x-global": 10.1.9
"@polkadot/x-textdecoder": 10.1.9
"@polkadot/x-textencoder": 10.1.9
"@types/bn.js": ^5.1.1
bn.js: ^5.2.1
checksum: ab908bb7cf0e7dd77b2f246234174640415f11f3ebef322097c5fca7c5ae87409b7b77e3b4200311509c77b883ee69bfb622a24540a5116c6443e51ee9382945
checksum: 3bf53842567636a7744e4631e9880f83246ff73899f920acd96da6551e44260290f67a657aecdce290ea3f9d87776a37c2ff1ae6e7e4d08faa1132fc479eb7e8
languageName: node
linkType: hard
@@ -2485,76 +2485,76 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/x-bigint@npm:10.1.8, @polkadot/x-bigint@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/x-bigint@npm:10.1.8"
"@polkadot/x-bigint@npm:10.1.9, @polkadot/x-bigint@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/x-bigint@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/x-global": 10.1.8
checksum: c2ca2c90c668e2920899596bbd077d55a1417a54fa5e1fa42697373e3f18ff4e84bb7a39114b5bf5237ce0df94b6d85e9419d6409e6bd2afd36b475e62d65141
"@polkadot/x-global": 10.1.9
checksum: 37a0fc7a8a79db43e83131f3b011142cec1f6374d1ea41c077a530b549b162d890d8a4b8a2b2d9bfffb9067ff7be33518e073bf8a324557c3ecec0e6d75b42b8
languageName: node
linkType: hard
"@polkadot/x-fetch@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/x-fetch@npm:10.1.8"
"@polkadot/x-fetch@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/x-fetch@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/x-global": 10.1.8
"@polkadot/x-global": 10.1.9
"@types/node-fetch": ^2.6.2
node-fetch: ^3.2.10
checksum: 6fe40ecbc2b6dfe9add302a4ce5c43f290d23943d14ed7b2ea911620eb3998ae97f893ddfb59797ec911c1a4407a50c673f8aa4bec433bfb7961a1ff5cf739e2
checksum: cdcfe8a4ef546a2ecd517e446109c80cca91f50845f3ee18ff0c647233ac82653bc18c9abb16fd9a0fe73534c347602707f97e71d55029a315065225a078311f
languageName: node
linkType: hard
"@polkadot/x-global@npm:10.1.8, @polkadot/x-global@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/x-global@npm:10.1.8"
"@polkadot/x-global@npm:10.1.9, @polkadot/x-global@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/x-global@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
checksum: e6b925cec66a0b4715c784ddd122285a8034e6a7e8d7178a0433b87abe3273950efa157dbfca860a0c0f5eac9b2b10aa916ecacbb91467dd47870c917fdac815
checksum: 077b60ca10aded15b980af4814373476f1636f48e4e370a75f7c16aaca7e8beb45455e57ba3655ffa90d2c6c4b79d267922e059c5b1cf91c88bdb30ed4bfa5da
languageName: node
linkType: hard
"@polkadot/x-randomvalues@npm:10.1.8":
version: 10.1.8
resolution: "@polkadot/x-randomvalues@npm:10.1.8"
"@polkadot/x-randomvalues@npm:10.1.9":
version: 10.1.9
resolution: "@polkadot/x-randomvalues@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/x-global": 10.1.8
checksum: ae9b3a5dfb1af56c2f9855c090a3edb949cf6be35e52b160ee051283f587ef8a67f5a5918476fe7d82bc91d5a02710f8dc0ad3236d46aa70f1c8b1aa7e6b976c
"@polkadot/x-global": 10.1.9
checksum: 2478a3ca35c65b4c711b4a042b8ac1e9a8a3bb0b0904dcb48b27a7445bb246215599a219f90cf816b33fa1a7c18aa39ef25db97951051a824f2ebb4eeb8d59d5
languageName: node
linkType: hard
"@polkadot/x-textdecoder@npm:10.1.8":
version: 10.1.8
resolution: "@polkadot/x-textdecoder@npm:10.1.8"
"@polkadot/x-textdecoder@npm:10.1.9":
version: 10.1.9
resolution: "@polkadot/x-textdecoder@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/x-global": 10.1.8
checksum: c47ad72d50324840bd48e365b2983e374ae84372511c3dd2680781571d04375eefc96a96446438103837ab85cffa735f1fa8ea55e0aa7748cfd7c266a9789ce1
"@polkadot/x-global": 10.1.9
checksum: bd3c70c454c0b8275f9078e1e84bbfd5abc8ba5ee91540e9b8793c9f81320ced488a0b5744e7ed8a9416ca540a153be95bcac40b2d1180042ebf313ca502bb8d
languageName: node
linkType: hard
"@polkadot/x-textencoder@npm:10.1.8":
version: 10.1.8
resolution: "@polkadot/x-textencoder@npm:10.1.8"
"@polkadot/x-textencoder@npm:10.1.9":
version: 10.1.9
resolution: "@polkadot/x-textencoder@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/x-global": 10.1.8
checksum: 5c82e3e1445a4afb2a4c40560f191be245efe10c7fd90930eee20cb9be59bf11f0abe178eeeb455e9d11292a546414688f3f1cc3dcfe5539d8fc8ffc8d4df14c
"@polkadot/x-global": 10.1.9
checksum: 1e67625a6a8041fc2f7b7788ff47106823ce413f6a316defef587bde06f85f750a17177e47402dc234ac18906f10e13894b87b75391c9ff91b038726c5a4aefd
languageName: node
linkType: hard
"@polkadot/x-ws@npm:^10.1.8":
version: 10.1.8
resolution: "@polkadot/x-ws@npm:10.1.8"
"@polkadot/x-ws@npm:^10.1.9":
version: 10.1.9
resolution: "@polkadot/x-ws@npm:10.1.9"
dependencies:
"@babel/runtime": ^7.19.0
"@polkadot/x-global": 10.1.8
"@polkadot/x-global": 10.1.9
"@types/websocket": ^1.0.5
websocket: ^1.0.34
checksum: 522d045c9ddb2399484421bd1af97a3ccb866a7fc34717dc509d061ca24bfcc27d1bc69fa4ef1df1bf70d5cbaf6de55f18ee570a9e13077c0730a935ba31def0
checksum: a79bef87d013e1ecffeaa95723bd50d07c845b79dd26b902b8c7e0b305f2832df2a3188b61e7adc4f81ab8733291f1ffd46257dc9b2ff0264e885ad40646881a
languageName: node
linkType: hard
@@ -2716,31 +2716,31 @@ __metadata:
languageName: node
linkType: hard
"@substrate/connect@npm:0.7.13":
version: 0.7.13
resolution: "@substrate/connect@npm:0.7.13"
"@substrate/connect@npm:0.7.14":
version: 0.7.14
resolution: "@substrate/connect@npm:0.7.14"
dependencies:
"@substrate/connect-extension-protocol": ^1.0.1
"@substrate/smoldot-light": 0.6.33
"@substrate/smoldot-light": 0.6.34
eventemitter3: ^4.0.7
checksum: b0589f8bf39d64881da5d0b9150dc0956c59f5f8c2f39cf7a9dd022f903611de2e196971c2a2dde9ee804ce29ef7fe693368f3d5ef5df1b69c6f97115a942117
checksum: b125d3f12021e570f11d7fcb59b1f4ea020884b4228c3675349e8b6ed28abcbdc404f54e43a64e6358035b57e79bb6fe0b8717c7bb2b1a610f6a4bd6f84fc72e
languageName: node
linkType: hard
"@substrate/smoldot-light@npm:0.6.33":
version: 0.6.33
resolution: "@substrate/smoldot-light@npm:0.6.33"
"@substrate/smoldot-light@npm:0.6.34":
version: 0.6.34
resolution: "@substrate/smoldot-light@npm:0.6.34"
dependencies:
pako: ^2.0.4
ws: ^8.8.1
checksum: 9e1f011bdd97c6547fa93227de5701b4eeea738963574b959ee035f5f98f29270b48fb29ca2ab985daaac49a6d6dbdcdfe13606006a5d655dea7b34502a2123f
checksum: 123c93dc8968f8efc68ce68c22fca306fc21c57f9f9f239690e1509ff7cbe5051b5e130de1683e4a9605262a83f6430a5f466ead3ff4497051e16b7dafaad20e
languageName: node
linkType: hard
"@substrate/ss58-registry@npm:^1.29.0":
version: 1.29.0
resolution: "@substrate/ss58-registry@npm:1.29.0"
checksum: 75993e5d3cace064adfb7b7e35ed567be674e786c0b111ef199ebfa9eec84c8457e3b3d20046fc8af3b4cc2267ae1bddfc6f6e854ddc5de66f7008332a8b4071
"@substrate/ss58-registry@npm:^1.29.1":
version: 1.29.1
resolution: "@substrate/ss58-registry@npm:1.29.1"
checksum: 66ed3ca7b1264499d3b6a30df810fa0ad809d617aad1ac7a9dfe53f5eb005854d30b959c04195eb2bbf58e8bcefdea544544925ac2e2e3f950918fa5623ec226
languageName: node
linkType: hard
@@ -3129,24 +3129,23 @@ __metadata:
languageName: node
linkType: hard
"@types/yargs@npm:^17.0.12, @types/yargs@npm:^17.0.8":
version: 17.0.12
resolution: "@types/yargs@npm:17.0.12"
"@types/yargs@npm:^17.0.13, @types/yargs@npm:^17.0.8":
version: 17.0.13
resolution: "@types/yargs@npm:17.0.13"
dependencies:
"@types/yargs-parser": "*"
checksum: 5b41d21d8624199f89db82209b2adab2e47867b3677e852fde65698be2ca48364b14c2e70cb0adc9bca4a2102c93dad2409cae0ad666ea36ae031ae1cb08a7b5
checksum: 0ab269abc2da2223cf0a8c16d578850fbe327d40fb85724b5c3f9f6cf38d03656ef699518c05d4df3bc337339ec6d0aad7df01682a9dca4783ad1ccc7336cf12
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.37.0"
"@typescript-eslint/eslint-plugin@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.38.0"
dependencies:
"@typescript-eslint/scope-manager": 5.37.0
"@typescript-eslint/type-utils": 5.37.0
"@typescript-eslint/utils": 5.37.0
"@typescript-eslint/scope-manager": 5.38.0
"@typescript-eslint/type-utils": 5.38.0
"@typescript-eslint/utils": 5.38.0
debug: ^4.3.4
functional-red-black-tree: ^1.0.1
ignore: ^5.2.0
regexpp: ^3.2.0
semver: ^7.3.7
@@ -3157,43 +3156,43 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 9ef75628fcd6f5425002d0172514ad27e51c6ca438aba65ad445be3c63187de3cb294bcc994bd2859dff4fc0221a22da497b34990e8165dcfd1fec33d7d17fb3
checksum: e9cd1970c7c8a438aee912cf00aa27bdcde0a0fb57bbfe70eccda93eefa5b4fb4c7ebf5ba7a51744c1ec2b4df3a72b8dcd19dc17a9c3e4e3435f631ac6b10a6a
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/parser@npm:5.37.0"
"@typescript-eslint/parser@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/parser@npm:5.38.0"
dependencies:
"@typescript-eslint/scope-manager": 5.37.0
"@typescript-eslint/types": 5.37.0
"@typescript-eslint/typescript-estree": 5.37.0
"@typescript-eslint/scope-manager": 5.38.0
"@typescript-eslint/types": 5.38.0
"@typescript-eslint/typescript-estree": 5.38.0
debug: ^4.3.4
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 33343e27c9602820d43ee12de9797365d97a5cf3f716e750fa44de760f2a2c6800f3bc4fa54931ac70c0e0ede77a92224f8151da7f30fed3bf692a029d6659af
checksum: d5fb2d8f3a25cd6ff31326c665db4617f2d428247cad690f0404de440abbcfc7261528f54d642d2b121aae34aadecb55a24b72c8ef341cafdc7b2bbcbf7dae8d
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/scope-manager@npm:5.37.0"
"@typescript-eslint/scope-manager@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/scope-manager@npm:5.38.0"
dependencies:
"@typescript-eslint/types": 5.37.0
"@typescript-eslint/visitor-keys": 5.37.0
checksum: 1c439e21ffa63ebaadb8c8363e9d668132a835a28203e5b779366bfa56772f332e5dedb50d63dffb836839b9d9c4e66aa9e3ea47b8c59465b18a0cbd063ec7a3
"@typescript-eslint/types": 5.38.0
"@typescript-eslint/visitor-keys": 5.38.0
checksum: a34d2976e9c755b853b6524e0b9fb1da237340ddff9f6839a51ba37998527c02d0f2f16ffc3d4baa47898f2bb7eb85a6749d6ca588c0461dbd654d8f9925dd0f
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/type-utils@npm:5.37.0"
"@typescript-eslint/type-utils@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/type-utils@npm:5.38.0"
dependencies:
"@typescript-eslint/typescript-estree": 5.37.0
"@typescript-eslint/utils": 5.37.0
"@typescript-eslint/typescript-estree": 5.38.0
"@typescript-eslint/utils": 5.38.0
debug: ^4.3.4
tsutils: ^3.21.0
peerDependencies:
@@ -3201,7 +3200,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 79dac78eefdbdb3c168da6b303381461af3523e2b45fdeb821eb05e6a5cac797a8850e1dd9e1b6cd1a7c22408acfa2a09854a0f85ff038518c312db8eae9aa4f
checksum: 43f2f55329b2357bedf158a93a469d058a11c69f8f88ff891080b8cb5977bffe8d679923bce7048cbc076c083e0f5741c83b761355309d606cc4e217e1da4208
languageName: node
linkType: hard
@@ -3212,19 +3211,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/types@npm:5.37.0"
checksum: 899e59e7775fa95c2d9fcac5cc02cc49d83af5f1ffc706df495046c3b3733f79d5489568b01bfaf8c9ae4636e057056866adc783113036f774580086d0189f21
"@typescript-eslint/types@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/types@npm:5.38.0"
checksum: 03aec1de64417e60830c6d33bb4f1bf4402411080371013513f55c7a2fadb6f8745a89a7604cde03d89aa53307f94bc913060c5897ed93285247e4c39af43a00
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/typescript-estree@npm:5.37.0"
"@typescript-eslint/typescript-estree@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/typescript-estree@npm:5.38.0"
dependencies:
"@typescript-eslint/types": 5.37.0
"@typescript-eslint/visitor-keys": 5.37.0
"@typescript-eslint/types": 5.38.0
"@typescript-eslint/visitor-keys": 5.38.0
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
@@ -3233,7 +3232,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 80365a50fa11ed39bf54d9ef06e264fbbf3bdbcc55b7d7d555ef0be915edae40ec30e98d08b3f6ef048e1874450cbcb1e7d9f429d4f420dacbbde45d3376a7bc
checksum: 174461c91e49a0340945da2d31e38ec175cd90b2b5068f3c925518cc9182100fe1435d3225908a52f62257e97bc2b995cbc6b6bd1b7143ff0a0e4b483bd70834
languageName: node
linkType: hard
@@ -3255,19 +3254,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/utils@npm:5.37.0"
"@typescript-eslint/utils@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/utils@npm:5.38.0"
dependencies:
"@types/json-schema": ^7.0.9
"@typescript-eslint/scope-manager": 5.37.0
"@typescript-eslint/types": 5.37.0
"@typescript-eslint/typescript-estree": 5.37.0
"@typescript-eslint/scope-manager": 5.38.0
"@typescript-eslint/types": 5.38.0
"@typescript-eslint/typescript-estree": 5.38.0
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: dc6c19ab07b50113f6fa3722518b2f31ce04036ec018855587d4c467108cb4e3c2866e54ed2e18ce61d1e7d0eaab24f94ee39574031b7d8e1c05e4b83ff84ef2
checksum: c927a68d4ff5029ed3dbc7e6e87702f7cdfba26452ccf401b37cc68f6e5cca72eb884831dbc7957512998d59950b1852b2ecea19f174a20fe659d851b4afd4fd
languageName: node
linkType: hard
@@ -3281,13 +3280,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.37.0":
version: 5.37.0
resolution: "@typescript-eslint/visitor-keys@npm:5.37.0"
"@typescript-eslint/visitor-keys@npm:5.38.0":
version: 5.38.0
resolution: "@typescript-eslint/visitor-keys@npm:5.38.0"
dependencies:
"@typescript-eslint/types": 5.37.0
"@typescript-eslint/types": 5.38.0
eslint-visitor-keys: ^3.3.0
checksum: d6193550f77413aead0cb267e058df80b80a488c8fb4e39beb5f0a70b971c41682a6391903fbc5f3dd859a872016288c434d631b8efc3ac5a04edbdb7b63b5f6
checksum: cc3d0c6eb0c9a20a25d66b640d759cb1b52f8df485f16d948218d63d798b5c0672ef298f5dae5e5327ec021c0f8369d1da5d26b9c16a245a20fa44a9365956bc
languageName: node
linkType: hard
@@ -5689,9 +5688,9 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-n@npm:^15.2.5":
version: 15.2.5
resolution: "eslint-plugin-n@npm:15.2.5"
"eslint-plugin-n@npm:^15.3.0":
version: 15.3.0
resolution: "eslint-plugin-n@npm:15.3.0"
dependencies:
builtins: ^5.0.1
eslint-plugin-es: ^4.1.0
@@ -5703,7 +5702,7 @@ __metadata:
semver: ^7.3.7
peerDependencies:
eslint: ">=7.0.0"
checksum: 3be265957b3dda6a049841803335c17689cf98a4b3859eeed3e57b44850b241e7d20640890b2dea7e83816c938fc16274bf78d370f571e211d00d9a3c513f281
checksum: a5a4c778804a0d343ca904c917b8e583b4df28aaad593ea6d41893befac45d4f92ab38d895aac018ac757583697d38e99397d4deda783ec8ff650bb2041d23c8
languageName: node
linkType: hard
@@ -5830,12 +5829,12 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.23.1":
version: 8.23.1
resolution: "eslint@npm:8.23.1"
"eslint@npm:^8.24.0":
version: 8.24.0
resolution: "eslint@npm:8.24.0"
dependencies:
"@eslint/eslintrc": ^1.3.2
"@humanwhocodes/config-array": ^0.10.4
"@humanwhocodes/config-array": ^0.10.5
"@humanwhocodes/gitignore-to-minimatch": ^1.0.2
"@humanwhocodes/module-importer": ^1.0.1
ajv: ^6.10.0
@@ -5875,7 +5874,7 @@ __metadata:
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
checksum: a727e15492786a03b438bcf021db49f715680679846a7b8d79b98ad34576f2a570404ffe882d3c3e26f6359bff7277ef11fae5614bfe8629adb653f20d018c71
checksum: ca293ce7116599b742d7ab4d43db469beec22f40dd272092d809498be3cff3a7c567769f9763bdf6799aac13dd53447b93a99629b7b54092783046eb57eaced6
languageName: node
linkType: hard
@@ -6523,13 +6522,6 @@ __metadata:
languageName: node
linkType: hard
"functional-red-black-tree@npm:^1.0.1":
version: 1.0.1
resolution: "functional-red-black-tree@npm:1.0.1"
checksum: ca6c170f37640e2d94297da8bb4bf27a1d12bea3e00e6a3e007fd7aa32e37e000f5772acf941b4e4f3cf1c95c3752033d0c509af157ad8f526e7f00723b9eb9f
languageName: node
linkType: hard
"functions-have-names@npm:^1.2.2":
version: 1.2.3
resolution: "functions-have-names@npm:1.2.3"
@@ -10493,9 +10485,9 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"rollup@npm:^2.79.0":
version: 2.79.0
resolution: "rollup@npm:2.79.0"
"rollup@npm:^2.79.1":
version: 2.79.1
resolution: "rollup@npm:2.79.1"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -10503,7 +10495,7 @@ resolve@^2.0.0-next.3:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 166f1ffea1898e157003920065b3a328e7012ea6808860ee8fe5d1ce94804fcce9985c95a3c0f7fe9c611aff0d09a70f073f1d6f715c8faba28e4e40f71ee3bb
checksum: 6a2bf167b3587d4df709b37d149ad0300692cc5deb510f89ac7bdc77c8738c9546ae3de9322b0968e1ed2b0e984571f5f55aae28fa7de4cfcb1bc5402a4e2be6
languageName: node
linkType: hard
@@ -10514,7 +10506,7 @@ resolve@^2.0.0-next.3:
"@babel/core": ^7.19.1
"@babel/register": ^7.18.9
"@babel/runtime": ^7.19.0
"@polkadot/dev": ^0.67.130
"@polkadot/dev": ^0.67.132
"@polkadot/typegen": "workspace:packages/typegen"
"@types/jest": ^29.0.3
copyfiles: ^2.4.1
@@ -10624,12 +10616,12 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"selfsigned@npm:^2.0.1":
version: 2.0.1
resolution: "selfsigned@npm:2.0.1"
"selfsigned@npm:^2.1.1":
version: 2.1.1
resolution: "selfsigned@npm:2.1.1"
dependencies:
node-forge: ^1
checksum: 864e65c2f31ca877bce3ccdaa3bdef5e1e992b63b2a03641e00c24cd305bf2acce093431d1fed2e5ae9f526558db4be5e90baa2b3474c0428fcf7e25cc86ac93
checksum: aa9ce2150a54838978d5c0aee54d7ebe77649a32e4e690eb91775f71fdff773874a4fbafd0ac73d8ec3b702ff8a395c604df4f8e8868528f36fd6c15076fb43a
languageName: node
linkType: hard
@@ -12025,9 +12017,9 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"webpack-dev-server@npm:^4.11.0":
version: 4.11.0
resolution: "webpack-dev-server@npm:4.11.0"
"webpack-dev-server@npm:^4.11.1":
version: 4.11.1
resolution: "webpack-dev-server@npm:4.11.1"
dependencies:
"@types/bonjour": ^3.5.9
"@types/connect-history-api-fallback": ^1.3.5
@@ -12052,7 +12044,7 @@ resolve@^2.0.0-next.3:
p-retry: ^4.5.0
rimraf: ^3.0.2
schema-utils: ^4.0.0
selfsigned: ^2.0.1
selfsigned: ^2.1.1
serve-index: ^1.9.1
sockjs: ^0.3.24
spdy: ^4.0.2
@@ -12065,7 +12057,7 @@ resolve@^2.0.0-next.3:
optional: true
bin:
webpack-dev-server: bin/webpack-dev-server.js
checksum: b2c7e9810138d0c6fa670a890410a74b29d4dd23d428e92e61e0233c542689f57caf9b31c031fbcc772170b6710b0752e81fa9cbc41ac0deefdc32d5749ce08d
checksum: b7601a39ee0f413988259e29a36835b0a68522cfaa161de5b7ec99b3399acdd99d44189add4aaf4a5191258bb130f9cf3e68919324a1955c7557f5fe6ab0d96c
languageName: node
linkType: hard