Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87bee8ac29 | ||
|
|
49724380f2 | ||
|
|
68d928742d | ||
|
|
fc9c5c8279 | ||
|
|
d402744e7d | ||
|
|
cf7e7cd92a | ||
|
|
e71c2b0cc5 | ||
|
|
6aef459464 | ||
|
|
5954ec8d98 | ||
|
|
1f751e07fc | ||
|
|
b872fc1e9c | ||
|
|
1e604cc5fb | ||
|
|
25ab1d1239 | ||
|
|
df6530831d | ||
|
|
0bfa069f1b | ||
|
|
a204048320 | ||
|
|
a887cd0159 | ||
|
|
8cddcd2513 | ||
|
|
72d1326de6 | ||
|
|
27de09999c | ||
|
|
55c6a4f267 | ||
|
|
92dfe00851 | ||
|
|
f82c572704 | ||
|
|
119f88e6d2 | ||
|
|
e5dc4065ff | ||
|
|
e2b4e0d3e6 | ||
|
|
1921d75d01 | ||
|
|
216435e1a1 | ||
|
|
86398e21f8 | ||
|
|
fd84892dac | ||
|
|
2329af239e | ||
|
|
f95f36110f | ||
|
|
3b7b44f048 | ||
|
|
a1e7566114 | ||
|
|
ec4ec4fa5e | ||
|
|
cf26e34008 | ||
|
|
15c440d72f | ||
|
|
9b9c621265 | ||
|
|
eb7fd94c20 | ||
|
|
54baf26d4f | ||
|
|
1ab7475a58 | ||
|
|
b5adbe72f8 | ||
|
|
778d79a9a5 | ||
|
|
cd4b5e36dd | ||
|
|
9de00f5a46 | ||
|
|
60e8148e8c | ||
|
|
56358b1016 | ||
|
|
68ce512573 |
Vendored
-894
File diff suppressed because one or more lines are too long
+925
File diff suppressed because one or more lines are too long
+1
-1
@@ -12,4 +12,4 @@ logFilters:
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.3.1.cjs
|
||||
yarnPath: .yarn/releases/yarn-4.4.1.cjs
|
||||
|
||||
@@ -1,5 +1,67 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 13.0.1 Sep 10, 2024
|
||||
|
||||
Breaking Changes:
|
||||
|
||||
- Change assetId type in `SignerPayloadJSON` to HexString ([#5967](https://github.com/polkadot-js/api/pull/5967))
|
||||
- Keep assetId hex as an Option for `toPayload` ([#5968](https://github.com/polkadot-js/api/pull/5968))
|
||||
|
||||
NOTE: This is part of the current change to generalize the SignerPayloadJSON in order to simplify its integration across other tools. The return value of `assetId` field with `toPayload` will always be its true type now, which in this case is `Option<TAssetConversion>` where `TAssetConversion` is equal to `MultiLocation | AssetId`.
|
||||
|
||||
Changes:
|
||||
|
||||
- Bump dev and typescript ([#5964](https://github.com/polkadot-js/api/pull/5964))
|
||||
- Bump yarn to 4.1.1 ([#5978](https://github.com/polkadot-js/api/pull/5978))
|
||||
- Add kusama types-known v1.3.0 upgrade ([#5971](https://github.com/polkadot-js/api/pull/5971))
|
||||
- Update Kusama augmented types to 1.3.0 ([#5972](https://github.com/polkadot-js/api/pull/5972))
|
||||
- Please reference the PR above to view any changes in the runtime types
|
||||
|
||||
## 12.4.2 Aug 21, 2024
|
||||
|
||||
Changes:
|
||||
|
||||
- Fix derive.balances.all when data is undefined ([#5961](https://github.com/polkadot-js/api/pull/5961))
|
||||
|
||||
|
||||
## 12.4.1 Aug 19, 2024
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add a check for tip in Submittable (Thanks to https://github.com/gupnik) ([#5953](https://github.com/polkadot-js/api/pull/5953))
|
||||
|
||||
Changes:
|
||||
|
||||
- Bump yarn to 4.4.0 ([#5952](https://github.com/polkadot-js/api/pull/5952))
|
||||
- Update General Deps (patch only) ([#5954](https://github.com/polkadot-js/api/pull/5954))
|
||||
- Rework api.derive.balance.{account, all} to work with the new frame account data ([#5955](https://github.com/polkadot-js/api/pull/5955))
|
||||
- Adds `transferable` and `frameSystemAccountInfo` to the output of `api.derive.balance.all`
|
||||
- Revise api.derive.balances.all to include ED when necessary ([#5957](https://github.com/polkadot-js/api/pull/5957))
|
||||
- Fixes the formula used for transferable balance
|
||||
|
||||
|
||||
## 12.3.1 Aug 5, 2024
|
||||
|
||||
Contributed:
|
||||
|
||||
- Revert alias for Noir types (Thanks to https://github.com/conr2d) ([#5946](https://github.com/polkadot-js/api/pull/5946))
|
||||
- Increase Vec Max Length (Thanks to https://github.com/rzadp) ([#5947](https://github.com/polkadot-js/api/pull/5947))
|
||||
|
||||
Changes:
|
||||
|
||||
- Upgrade known Polkadot and Westend CodeUpdated blocks ([#5948](https://github.com/polkadot-js/api/pull/5948))
|
||||
- Update substrate types via metadata ([#5949](https://github.com/polkadot-js/api/pull/5949))
|
||||
- Note: Please review the above PR for any changes to the augmented types.
|
||||
- Support for BeefyApi v4 ([#5950](https://github.com/polkadot-js/api/pull/5950))
|
||||
|
||||
|
||||
## 12.2.3 July 29, 2024
|
||||
|
||||
Contributed:
|
||||
|
||||
- Fix Fungible Api (Thanks to https://github.com/bkontur)
|
||||
|
||||
|
||||
## 12.2.2 July 25, 2024
|
||||
|
||||
Changes:
|
||||
|
||||
+5
-3
@@ -1,6 +1,6 @@
|
||||
3512 Jaco Bump deps (#5785)
|
||||
99 Tarik Gul 13.0.1 (#5979)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
79 Tarik Gul 12.2.2 (#5943)
|
||||
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)
|
||||
@@ -10,8 +10,8 @@
|
||||
11 Ian He HttpProvider support clone() (#3949)
|
||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||
6 Andreea Eftene Update check for contract instantiation (#5699)
|
||||
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
||||
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
||||
5 Branislav Kontur Adjusted `LocationToAccountApi` (#5919)
|
||||
5 Chevdor Fix metadata package link (#3458)
|
||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||
5 Julien Eluard General WsProvider extensibility improvements (#5467)
|
||||
@@ -29,6 +29,7 @@
|
||||
3 Ewa Kowalska Handle no council for bounties proposals (#3062)
|
||||
3 hamidra add support for n key entries for NMaps (#3886)
|
||||
3 Hamza Tokuchi more typos (#2532)
|
||||
3 Jeeyong Um Revert "Alias for Noir types (#5678)" (#5946)
|
||||
3 Josep M Sobrepere docs: improve rpc-provider README (#4719)
|
||||
3 KarishmaBothara Backward compatibility thing (#3511)
|
||||
3 Miguel Hervas Adding RT4 Types (#3007)
|
||||
@@ -42,7 +43,6 @@
|
||||
2 Jakub Pánik All heads subscription (#1899)
|
||||
2 James Lefrère Add `.eq()` usage to docs and fix docs typos (#1405)
|
||||
2 Javier Viola add muln(2), as was in the old code (#5829)
|
||||
2 Jeeyong Um Alias for Noir types (#5678)
|
||||
2 Jegor Sidorenko Use Box<XcmV3MultiLocation> instead of MultiAssetId (#5700)
|
||||
2 Keith Yeung Allow keyPrefix to accept an additional argument for double maps (#2230)
|
||||
2 MOZGIII Follow-up fix after #4665 (#4666)
|
||||
@@ -80,6 +80,7 @@
|
||||
1 Gérard Dethier Fix LRUCache memory leak. (#4520)
|
||||
1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
|
||||
1 girazoki Implement xcm payment api (#5911)
|
||||
1 gupnik Adds a check for tip in Submittable (#5953)
|
||||
1 HackFisher fix OutboundLaneData types (#3992)
|
||||
1 Hoani Bryson Multiple Endpoint support for WsProvider (#2234)
|
||||
1 Hyungsuk Kang Update fees.ts (#1014)
|
||||
@@ -112,6 +113,7 @@
|
||||
1 philipstanislaus Update types for centrifuge chain v1.2.0 (#2424)
|
||||
1 Pierre Krieger Update substrate/connect to 0.7.6 (#4940)
|
||||
1 polymath-eric Allow unset external signer (#5649)
|
||||
1 Przemek Rzad Increase Vec max length (#5947)
|
||||
1 Qinxuan Chen Add fp_account::AccountId20 mapping (#5551)
|
||||
1 qiuhao update DeriveCustom type (#2581)
|
||||
1 r0t0r-r0t0r Fix memory leak on raw rpc call (#4505)
|
||||
|
||||
+7
-7
@@ -6,7 +6,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api#readme",
|
||||
"license": "Apache-2.0",
|
||||
"packageManager": "yarn@4.3.1",
|
||||
"packageManager": "yarn@4.4.1",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"versions": {
|
||||
"git": "12.2.2",
|
||||
"npm": "12.2.2"
|
||||
"git": "13.0.1",
|
||||
"npm": "13.0.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
@@ -40,11 +40,11 @@
|
||||
"test:one": "polkadot-dev-run-test --env node"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.79.3",
|
||||
"@polkadot/dev": "^0.80.1",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/node": "^20.11.6"
|
||||
"@types/node": "^20.15.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.5.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "12.2.2",
|
||||
"@polkadot/rpc-augment": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-augment": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/api-base": "13.0.1",
|
||||
"@polkadot/rpc-augment": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-augment": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -80,10 +80,14 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
/**
|
||||
* The maximum number of locks that should exist on an account.
|
||||
* Not strictly enforced, but used for weight estimation.
|
||||
*
|
||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxLocks: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of named reserves that can exist on an account.
|
||||
*
|
||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxReserves: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -204,9 +208,13 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
};
|
||||
coretime: {
|
||||
/**
|
||||
* The ParaId of the broker system parachain.
|
||||
* The ParaId of the coretime chain.
|
||||
**/
|
||||
brokerId: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The coretime chain pot location.
|
||||
**/
|
||||
brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
@@ -290,18 +298,10 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* this value.
|
||||
**/
|
||||
signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Duration of the signed phase.
|
||||
**/
|
||||
signedPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Base reward for a signed solution
|
||||
**/
|
||||
signedRewardBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Duration of the unsigned phase.
|
||||
**/
|
||||
unsignedPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
@@ -389,6 +389,14 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
||||
**/
|
||||
heapSize: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
|
||||
* should be provided to the message queue for servicing enqueued items `on_idle`.
|
||||
* Useful for parachains to process messages at the same block they are received.
|
||||
*
|
||||
* If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
|
||||
**/
|
||||
idleMaxServiceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
||||
* can happen. Once there are more stale pages than this, then historical pages may be
|
||||
@@ -397,10 +405,11 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
maxStale: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount of weight (if any) which should be provided to the message queue for
|
||||
* servicing enqueued items.
|
||||
* servicing enqueued items `on_initialize`.
|
||||
*
|
||||
* This may be legitimately `None` in the case that you will call
|
||||
* `ServiceQueues::service_queues` manually.
|
||||
* `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
|
||||
* it run in `on_idle`.
|
||||
**/
|
||||
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -515,10 +524,14 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
/**
|
||||
* The maximum number of locks that should exist on an account.
|
||||
* Not strictly enforced, but used for weight estimation.
|
||||
*
|
||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxLocks: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of named reserves that can exist on an account.
|
||||
*
|
||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxReserves: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -556,6 +569,15 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
[key: string]: Codec;
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* The maximum number of blocks some historical revenue
|
||||
* information stored for.
|
||||
**/
|
||||
maxHistoricalRevenue: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Identifier for the internal revenue balance.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The default value for the spot traffic multiplier.
|
||||
**/
|
||||
@@ -872,7 +894,7 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
ss58Prefix: u16 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Get the chain's current version.
|
||||
* Get the chain's in-code version.
|
||||
**/
|
||||
version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -944,19 +966,6 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* The period during which an approved treasury spend has to be claimed.
|
||||
**/
|
||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Fraction of a proposal's value that should be bonded in order to place the proposal.
|
||||
* An accepted proposal gets these back. A rejected proposal does not.
|
||||
**/
|
||||
proposalBond: Permill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
proposalBondMinimum: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Period between successive spends.
|
||||
**/
|
||||
|
||||
@@ -16,6 +16,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
||||
**/
|
||||
AlreadyExists: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Overflow ocurred when calculating the inverse rate.
|
||||
**/
|
||||
Overflow: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The given asset ID is unknown.
|
||||
**/
|
||||
@@ -274,7 +278,7 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
AlreadyDelegating: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The account currently has votes attached to it and the operation cannot succeed until
|
||||
* these are removed, either through `unvote` or `reap_vote`.
|
||||
* these are removed through `remove_vote`.
|
||||
**/
|
||||
AlreadyVoting: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -323,10 +327,19 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
coretime: {
|
||||
/**
|
||||
* Failed to transfer assets to the coretime chain
|
||||
**/
|
||||
AssetTransferFailed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The paraid making the call is not the coretime brokerage system parachain.
|
||||
**/
|
||||
NotBroker: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Requested revenue information `when` parameter was in the future from the current
|
||||
* block height.
|
||||
**/
|
||||
RequestedFutureRevenue: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
@@ -485,7 +498,7 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
OcwCallWrongEra: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Sumission was prepared for a different round.
|
||||
* Submission was prepared for a different round.
|
||||
**/
|
||||
PreDispatchDifferentRound: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -598,6 +611,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The new member to exchange is the same as the old member
|
||||
**/
|
||||
SameMember: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The max member count for the rank has been reached.
|
||||
**/
|
||||
TooManyMembers: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
@@ -648,6 +665,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The preimage does not exist.
|
||||
**/
|
||||
PreimageNotExist: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The preimage is stored with a different length than the one provided.
|
||||
**/
|
||||
PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The queue of the track is empty.
|
||||
**/
|
||||
@@ -950,7 +971,7 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
DurationTooSmall: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The operation would result in a receipt worth an insignficant value.
|
||||
* The operation would result in a receipt worth an insignificant value.
|
||||
**/
|
||||
MakesDust: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -1046,6 +1067,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* pool at a time.
|
||||
**/
|
||||
AccountBelongsToOtherPool: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The pool or member delegation has already migrated to delegate stake.
|
||||
**/
|
||||
AlreadyMigrated: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Bonding extra is restricted to the exact pending reward amount.
|
||||
**/
|
||||
@@ -1137,10 +1162,18 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* No imbalance in the ED deposit for the pool.
|
||||
**/
|
||||
NothingToAdjust: AugmentedError<ApiType>;
|
||||
/**
|
||||
* No slash pending that can be applied to the member.
|
||||
**/
|
||||
NothingToSlash: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
||||
**/
|
||||
NotKickerOrDestroying: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The pool or member delegation has not migrated yet to delegate stake.
|
||||
**/
|
||||
NotMigrated: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The caller does not have nominating permissions for the pool.
|
||||
**/
|
||||
@@ -1149,6 +1182,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The pool is not open to join
|
||||
**/
|
||||
NotOpen: AugmentedError<ApiType>;
|
||||
/**
|
||||
* This call is not allowed in the current state of the pallet.
|
||||
**/
|
||||
NotSupported: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The transaction could not be executed due to overflow risk for the pool.
|
||||
**/
|
||||
@@ -1183,11 +1220,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* The `ParaId` supplied to the `place_order` call is not a valid `ParaThread`, making the
|
||||
* call is invalid.
|
||||
**/
|
||||
InvalidParaId: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The order queue is full, `place_order` will not continue.
|
||||
**/
|
||||
@@ -1203,24 +1235,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
paraInclusion: {
|
||||
/**
|
||||
* Bitfield consists of zeros only.
|
||||
**/
|
||||
BitfieldAllZeros: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Multiple bitfields submitted by same validator or validators out of order by index.
|
||||
**/
|
||||
BitfieldDuplicateOrUnordered: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A bitfield that references a freed core,
|
||||
* either intentionally or as part of a concluded
|
||||
* invalid dispute.
|
||||
**/
|
||||
BitfieldReferencesFreedCore: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Candidate scheduled despite pending candidate already existing for the para.
|
||||
**/
|
||||
CandidateScheduledBeforeParaFree: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The candidate's relay-parent was not allowed. Either it was
|
||||
* not recent enough or it didn't advance based on the last parachain block.
|
||||
@@ -1251,10 +1265,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Invalid (bad signature, unknown validator, etc.) backing.
|
||||
**/
|
||||
InvalidBacking: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid signature
|
||||
**/
|
||||
InvalidBitfieldSignature: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid group index in core assignment.
|
||||
**/
|
||||
@@ -1288,30 +1298,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Code upgrade prematurely.
|
||||
**/
|
||||
PrematureCodeUpgrade: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Scheduled cores out of order.
|
||||
**/
|
||||
ScheduledOutOfOrder: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A different relay parent was provided compared to the on-chain stored one.
|
||||
**/
|
||||
UnexpectedRelayParent: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Candidate submitted but para not scheduled.
|
||||
**/
|
||||
UnscheduledCandidate: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Backed candidates are out of order (core index) or contain duplicates.
|
||||
**/
|
||||
UnsortedOrDuplicateBackedCandidates: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Dispute statement sets are out of order or contain duplicates.
|
||||
**/
|
||||
UnsortedOrDuplicateDisputeStatementSet: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Validator indices are out of order or contains duplicates.
|
||||
**/
|
||||
UnsortedOrDuplicateValidatorIndices: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The validation data hash does not match expected.
|
||||
**/
|
||||
@@ -1320,10 +1310,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Validator index out of bounds.
|
||||
**/
|
||||
ValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Availability bitfield has unexpected size.
|
||||
**/
|
||||
WrongBitfieldSize: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
@@ -1331,25 +1317,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
};
|
||||
paraInherent: {
|
||||
/**
|
||||
* A candidate was backed by a disabled validator
|
||||
* A candidate was filtered during inherent execution. This should have only been done
|
||||
* during creation.
|
||||
**/
|
||||
BackedByDisabled: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A candidate was backed even though the paraid was not scheduled.
|
||||
**/
|
||||
BackedOnUnscheduledCore: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Disputed candidate that was concluded invalid.
|
||||
**/
|
||||
CandidateConcludedInvalid: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A dispute statement was invalid.
|
||||
**/
|
||||
DisputeInvalid: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The ordering of dispute statements was invalid.
|
||||
**/
|
||||
DisputeStatementsUnsortedOrDuplicates: AugmentedError<ApiType>;
|
||||
CandidatesFilteredDuringExecution: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The data given to the inherent will result in an overweight block.
|
||||
**/
|
||||
@@ -1393,6 +1364,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Parachain cannot currently schedule a code upgrade.
|
||||
**/
|
||||
CannotUpgradeCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid validation code size.
|
||||
**/
|
||||
InvalidCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Para is not registered in our system.
|
||||
**/
|
||||
@@ -1504,6 +1479,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Preimage has already been noted on-chain.
|
||||
**/
|
||||
AlreadyNoted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
|
||||
**/
|
||||
NoCost: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The user is not authorized to perform this action.
|
||||
**/
|
||||
@@ -1690,6 +1669,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The preimage does not exist.
|
||||
**/
|
||||
PreimageNotExist: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The preimage is stored with a different length than the one provided.
|
||||
**/
|
||||
PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The queue of the track is empty.
|
||||
**/
|
||||
@@ -1729,14 +1712,14 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Invalid para code size.
|
||||
**/
|
||||
CodeTooLarge: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Registering parachain with empty code is not allowed.
|
||||
**/
|
||||
EmptyCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid para head data size.
|
||||
**/
|
||||
HeadDataTooLarge: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The validation code is invalid.
|
||||
**/
|
||||
InvalidCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The caller is not the owner of this Id.
|
||||
**/
|
||||
@@ -2058,6 +2041,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Not a controller account.
|
||||
**/
|
||||
NotController: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Not enough funds available to withdraw.
|
||||
**/
|
||||
NotEnoughFunds: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Items are not sorted and unique.
|
||||
**/
|
||||
@@ -2070,6 +2057,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Can not rebond without unlocking chunks.
|
||||
**/
|
||||
NoUnlockChunk: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Provided reward destination is not allowed.
|
||||
**/
|
||||
RewardDestinationRestricted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* There are too many nominators in the system. Governance needs to adjust the staking
|
||||
* settings to keep things safe for the runtime.
|
||||
@@ -2084,6 +2075,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* staking settings to keep things safe for the runtime.
|
||||
**/
|
||||
TooManyValidators: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Operation not allowed for virtual stakers.
|
||||
**/
|
||||
VirtualStakerNotAllowed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
@@ -2105,6 +2100,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* and the new runtime.
|
||||
**/
|
||||
InvalidSpecName: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
||||
**/
|
||||
MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Suicide called when the account has non-default composite data.
|
||||
**/
|
||||
@@ -2153,10 +2152,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* amount to be spent.
|
||||
**/
|
||||
InsufficientPermission: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Proposer's balance is too low.
|
||||
**/
|
||||
InsufficientProposersBalance: AugmentedError<ApiType>;
|
||||
/**
|
||||
* No proposal, bounty or spend at that index.
|
||||
**/
|
||||
@@ -2305,10 +2300,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The unlock operation cannot succeed because there are still consumers of the lock.
|
||||
**/
|
||||
InUse: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid non-concrete asset.
|
||||
**/
|
||||
InvalidAssetNotConcrete: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid asset, reserve chain could not be determined for it.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -343,7 +343,7 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A solution was stored with the given compute.
|
||||
*
|
||||
* The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
|
||||
* the stored solution was submited in the signed phase by a miner with the `AccountId`.
|
||||
* the stored solution was submitted in the signed phase by a miner with the `AccountId`.
|
||||
* Otherwise, the solution was stored either during the unsigned phase or by
|
||||
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
||||
* room for this one.
|
||||
@@ -614,7 +614,7 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool], { index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool }>;
|
||||
/**
|
||||
* A receipt was transfered.
|
||||
* A receipt was transferred.
|
||||
**/
|
||||
Transferred: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, index: u32], { from: AccountId32, to: AccountId32, index: u32 }>;
|
||||
/**
|
||||
@@ -828,13 +828,13 @@ declare module '@polkadot/api-base/types/events' {
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* An order was placed at some spot price amount.
|
||||
* An order was placed at some spot price amount by orderer ordered_by
|
||||
**/
|
||||
OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128], { paraId: u32, spotPrice: u128 }>;
|
||||
OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128, orderedBy: AccountId32], { paraId: u32, spotPrice: u128, orderedBy: AccountId32 }>;
|
||||
/**
|
||||
* The value of the spot traffic multiplier changed.
|
||||
* The value of the spot price has likely changed
|
||||
**/
|
||||
SpotTrafficSet: AugmentedEvent<ApiType, [traffic: u128], { traffic: u128 }>;
|
||||
SpotPriceSet: AugmentedEvent<ApiType, [spotPrice: u128], { spotPrice: u128 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -844,15 +844,15 @@ declare module '@polkadot/api-base/types/events' {
|
||||
/**
|
||||
* A candidate was backed. `[candidate, head_data]`
|
||||
**/
|
||||
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
|
||||
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
|
||||
/**
|
||||
* A candidate was included. `[candidate, head_data]`
|
||||
**/
|
||||
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
|
||||
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
|
||||
/**
|
||||
* A candidate timed out. `[candidate, head_data]`
|
||||
**/
|
||||
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32]>;
|
||||
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32]>;
|
||||
/**
|
||||
* Some upward messages have been received and will be processed.
|
||||
**/
|
||||
@@ -862,6 +862,18 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
parameters: {
|
||||
/**
|
||||
* A Parameter was set.
|
||||
*
|
||||
* Is also emitted when the value was not changed.
|
||||
**/
|
||||
Updated: AugmentedEvent<ApiType, [key: StagingKusamaRuntimeRuntimeParametersKey, oldValue: Option<StagingKusamaRuntimeRuntimeParametersValue>, newValue: Option<StagingKusamaRuntimeRuntimeParametersValue>], { key: StagingKusamaRuntimeRuntimeParametersKey, oldValue: Option<StagingKusamaRuntimeRuntimeParametersValue>, newValue: Option<StagingKusamaRuntimeRuntimeParametersValue> }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
paras: {
|
||||
/**
|
||||
* A para has been queued to execute pending actions. `para_id`
|
||||
@@ -1095,6 +1107,19 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* The given task can never be executed since it is overweight.
|
||||
**/
|
||||
PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
||||
/**
|
||||
* Cancel a retry configuration for some task.
|
||||
**/
|
||||
RetryCancelled: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
||||
/**
|
||||
* The given task was unable to be retried since the agenda is full at that block or there
|
||||
* was not enough weight to reschedule it.
|
||||
**/
|
||||
RetryFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
||||
/**
|
||||
* Set a retry configuration for some task.
|
||||
**/
|
||||
RetrySet: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, period: u32, retries: u8], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, period: u32, retries: u8 }>;
|
||||
/**
|
||||
* Scheduled some task.
|
||||
**/
|
||||
@@ -1367,14 +1392,6 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A payment failed and can be retried.
|
||||
**/
|
||||
PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: u64], { index: u32, paymentId: u64 }>;
|
||||
/**
|
||||
* New proposal.
|
||||
**/
|
||||
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
|
||||
/**
|
||||
* A proposal was rejected; funds were slashed.
|
||||
**/
|
||||
Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
|
||||
/**
|
||||
* Spending has finished; this is the amount that rolls over until next spend.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeSessionKeys, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, StagingXcmV4Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||
@@ -245,10 +245,14 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Any liquidity locks on some account balances.
|
||||
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
||||
*
|
||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* Named reserves on some account balances.
|
||||
*
|
||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
@@ -958,7 +962,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Freeze locks on account balances.
|
||||
**/
|
||||
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* Holds on account balances.
|
||||
**/
|
||||
@@ -973,10 +977,14 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Any liquidity locks on some account balances.
|
||||
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
||||
*
|
||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* Named reserves on some account balances.
|
||||
*
|
||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
@@ -1073,13 +1081,13 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* A reverse lookup from the pool's account id to its id.
|
||||
*
|
||||
* This is only used for slashing. In all other instances, the pool id is used, and the
|
||||
* accounts are deterministically derived from it.
|
||||
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
||||
* pool id is used, and the accounts are deterministically derived from it.
|
||||
**/
|
||||
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
||||
* claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
|
||||
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
||||
**/
|
||||
rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
@@ -1116,21 +1124,27 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* The order storage entry. Uses a VecDeque to be able to push to the front of the
|
||||
* queue from the scheduler on session boundaries.
|
||||
* Queue entries that are currently bound to a particular core due to core affinity.
|
||||
**/
|
||||
onDemandQueue: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
||||
**/
|
||||
freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
|
||||
* it's lookahead. Keeping track of this affinity prevents parallel execution of the same
|
||||
* `ParaId` on two or more `CoreIndex`es.
|
||||
**/
|
||||
paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Keeps track of the multiplier used to calculate the current spot price for the on demand
|
||||
* assigner.
|
||||
* Overall status of queue (both free + affinity entries)
|
||||
**/
|
||||
spotTraffic: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Keeps track of accumulated revenue from on demand order sales.
|
||||
**/
|
||||
revenue: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1138,17 +1152,13 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
};
|
||||
paraInclusion: {
|
||||
/**
|
||||
* The latest bitfield for each validator, referred to by their index in the validator set.
|
||||
* Candidates pending availability by `ParaId`. They form a chain starting from the latest
|
||||
* included head of the para.
|
||||
* Use a different prefix post-migration to v1, since the v0 `PendingAvailability` storage
|
||||
* would otherwise have the exact same prefix which could cause undefined behaviour when doing
|
||||
* the migration.
|
||||
**/
|
||||
availabilityBitfields: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Candidates pending availability by `ParaId`.
|
||||
**/
|
||||
pendingAvailability: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* The commitments of candidates pending availability, by `ParaId`.
|
||||
**/
|
||||
pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
v1: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1167,7 +1177,17 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
||||
**/
|
||||
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV6ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV7ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
parameters: {
|
||||
/**
|
||||
* Stored parameters.
|
||||
**/
|
||||
parameters: AugmentedQuery<ApiType, (arg: StagingKusamaRuntimeRuntimeParametersKey | { Inflation: any } | string | Uint8Array) => Observable<Option<StagingKusamaRuntimeRuntimeParametersValue>>, [StagingKusamaRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [StagingKusamaRuntimeRuntimeParametersKey]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1202,11 +1222,23 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
futureCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* The block number at which the planned code change is expected for a para.
|
||||
* The block number at which the planned code change is expected for a parachain.
|
||||
*
|
||||
* The change will be applied after the first parablock for this ID included which executes
|
||||
* in the context of a relay chain block with a number >= `expected_at`.
|
||||
**/
|
||||
futureCodeUpgrades: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* The list of upcoming future code upgrades.
|
||||
*
|
||||
* Each item is a pair of the parachain and the expected block at which the upgrade should be
|
||||
* applied. The upgrade will be applied at the given relay chain block. In contrast to
|
||||
* [`FutureCodeUpgrades`] this code upgrade will be applied regardless the parachain making any
|
||||
* progress or not.
|
||||
*
|
||||
* Ordered ascending by block number.
|
||||
**/
|
||||
futureCodeUpgradesAt: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The head-data of every registered para.
|
||||
**/
|
||||
@@ -1267,8 +1299,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
upcomingParasGenesis: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasParaGenesisArgs>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* The list of upcoming code upgrades. Each item is a pair of which para performs a code
|
||||
* upgrade and at which relay-chain block it is expected at.
|
||||
* The list of upcoming code upgrades.
|
||||
*
|
||||
* Each item is a pair of which para performs a code upgrade and at which relay-chain block it
|
||||
* is expected at.
|
||||
*
|
||||
* Ordered ascending by block number.
|
||||
**/
|
||||
@@ -1291,7 +1325,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
||||
* the format will require migration of parachains.
|
||||
**/
|
||||
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* This is used by the relay-chain to communicate that there are restrictions for performing
|
||||
* an upgrade for this parachain.
|
||||
@@ -1303,7 +1337,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
||||
* the format will require migration of parachains.
|
||||
**/
|
||||
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1311,10 +1345,8 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
};
|
||||
paraScheduler: {
|
||||
/**
|
||||
* One entry for each availability core. Entries are `None` if the core is not currently
|
||||
* occupied. Can be temporarily `Some` if scheduled but not occupied.
|
||||
* The i'th parachain belongs to the i'th core, with the remaining cores all being
|
||||
* parathread-multiplexers.
|
||||
* One entry for each availability core. The i'th parachain belongs to the i'th core, with the
|
||||
* remaining cores all being on demand parachain multiplexers.
|
||||
*
|
||||
* Bounded by the maximum of either of these two values:
|
||||
* * The number of parachains and parathread multiplexers
|
||||
@@ -1323,10 +1355,8 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
||||
* scheduled on that core. `None` is used to signal to not schedule the next para of the core
|
||||
* as there is one currently being scheduled. Not using `None` here would overwrite the
|
||||
* `CoreState` in the runtime API. The value contained here will not be valid after the end of
|
||||
* a block. Runtime APIs should be used to determine scheduled cores/ for the upcoming block.
|
||||
* scheduled on that core. The value contained here will not be valid after the end of
|
||||
* a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
|
||||
**/
|
||||
claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerPalletParasEntry>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
@@ -1363,7 +1393,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* All ongoing or concluded disputes for the last several sessions.
|
||||
**/
|
||||
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV6DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
||||
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
||||
/**
|
||||
* Whether the chain is frozen. Starts as `None`. When this is `Some`,
|
||||
* the chain will not accept any new parachain blocks for backing or inclusion,
|
||||
@@ -1396,7 +1426,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
||||
* When in doubt, use `Sessions` API instead.
|
||||
**/
|
||||
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV6AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The earliest session for which previous session info is stored.
|
||||
**/
|
||||
@@ -1404,13 +1434,13 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Executor parameter set for a given session index
|
||||
**/
|
||||
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Session information in a rolling window.
|
||||
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
|
||||
* Does not have any entries before the session index in the first session change notification.
|
||||
**/
|
||||
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1426,7 +1456,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* The parachain attestation keys of the validators actively participating in parachain
|
||||
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
||||
**/
|
||||
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV6ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* All allowed relay-parents.
|
||||
**/
|
||||
@@ -1444,7 +1474,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Validators pending dispute slashes.
|
||||
**/
|
||||
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV6SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
||||
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
||||
/**
|
||||
* `ValidatorSetCount` per session.
|
||||
**/
|
||||
@@ -1575,6 +1605,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* identities.
|
||||
**/
|
||||
lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
||||
/**
|
||||
* Retry configurations for items to be executed, indexed by task address.
|
||||
**/
|
||||
retries: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletSchedulerRetryConfig>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1781,6 +1815,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Counter for the related counted storage map
|
||||
**/
|
||||
counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Counter for the related counted storage map
|
||||
**/
|
||||
counterForVirtualStakers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The current era index.
|
||||
*
|
||||
@@ -1794,6 +1832,16 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
||||
**/
|
||||
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Indices of validators that have offended in the active era. The offenders are disabled for a
|
||||
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
|
||||
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
|
||||
* implicitly means that the implementor also controls the max number of disabled validators.
|
||||
*
|
||||
* The vec is always kept sorted so that we can find whether a given validator has previously
|
||||
* offended using binary search.
|
||||
**/
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Rewards for the last [`Config::HistoryDepth`] eras.
|
||||
* If reward hasn't been set or has been removed then 0 reward is returned.
|
||||
@@ -1902,6 +1950,12 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* When this value is not set, no limits are enforced.
|
||||
**/
|
||||
maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
||||
* is used for stake rewards.
|
||||
* See [Era payout](./index.html#era-payout).
|
||||
**/
|
||||
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The maximum validator count before we stop allowing new validators to join.
|
||||
*
|
||||
@@ -1956,18 +2010,6 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
||||
**/
|
||||
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
||||
/**
|
||||
* Indices of validators that have offended in the active era and whether they are currently
|
||||
* disabled.
|
||||
*
|
||||
* This value should be a superset of disabled validators since not all offences lead to the
|
||||
* validator being disabled (if there was no slash). This is needed to track the percentage of
|
||||
* validators that have offended in the current era, ensuring a new era is forced if
|
||||
* `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
|
||||
* whether a given validator has previously offended using binary search. It gets cleared when
|
||||
* the era ends.
|
||||
**/
|
||||
offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Where the reward payment should be made. Keyed by stash.
|
||||
*
|
||||
@@ -2008,6 +2050,15 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* and slash value of the era.
|
||||
**/
|
||||
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
||||
/**
|
||||
* Stakers whose funds are managed by other pallets.
|
||||
*
|
||||
* This pallet does not apply any locks on them, therefore they are only virtually bonded. They
|
||||
* are expected to be keyless accounts and hence should not be allowed to mutate their ledger
|
||||
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
||||
* via low level apis. We keep track of them to do minimal integrity checks.
|
||||
**/
|
||||
virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -2077,6 +2128,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
||||
**/
|
||||
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Whether all inherents have been applied.
|
||||
**/
|
||||
inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
||||
**/
|
||||
@@ -2227,6 +2282,15 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* The latest available query index.
|
||||
**/
|
||||
queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
||||
* will be stored here.
|
||||
* Runtime APIs can fetch the XCM that was executed by accessing this value.
|
||||
*
|
||||
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
||||
* implementation in the XCM executor configuration.
|
||||
**/
|
||||
recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV4Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Fungible assets which we know are locked on a remote chain.
|
||||
**/
|
||||
@@ -2236,6 +2300,16 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* then the destinations whose XCM version is unknown are considered unreachable.
|
||||
**/
|
||||
safeXcmVersion: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
||||
* Only one XCM program will be recorded at a time.
|
||||
* This is meant to be used in runtime APIs, and it's advised it stays false
|
||||
* for all other use cases, so as to not degrade regular performance.
|
||||
*
|
||||
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
||||
* implementation in the XCM executor configuration.
|
||||
**/
|
||||
shouldRecordXcm: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The Latest versions that we know various locations support.
|
||||
**/
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
import '@polkadot/api-base/types/calls';
|
||||
|
||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Null, Option, Result, U64, Vec, bool, u32 } from '@polkadot/types-codec';
|
||||
import type { BTreeMap, Bytes, Null, Option, Result, U64, Vec, bool, u128, u32 } from '@polkadot/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
||||
import type { BeefyAuthoritySet, BeefyEquivocationProof, BeefyNextAuthoritySet, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
||||
@@ -19,14 +19,17 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
|
||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
|
||||
import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
|
||||
import type { ApprovalVotingParams, AsyncBackingParams, BackingState, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, NodeFeatures, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
||||
import type { ApprovalVotingParams, AsyncBackingParams, BackingState, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreIndex, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, NodeFeatures, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
||||
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
||||
import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
||||
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
||||
import type { ValidatorIndex } from '@polkadot/types/interfaces/staking';
|
||||
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
||||
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
||||
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
||||
import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi';
|
||||
import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi';
|
||||
import type { XcmVersionedAssetId, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -148,7 +151,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdf6acb689907609b/4 */
|
||||
/** 0xdf6acb689907609b/5 */
|
||||
core: {
|
||||
/**
|
||||
* Execute the given block.
|
||||
@@ -157,7 +160,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
/**
|
||||
* Initialize a block with the given header.
|
||||
**/
|
||||
initializeBlock: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<Null>>;
|
||||
initializeBlock: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<ExtrinsicInclusionMode>>;
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
**/
|
||||
@@ -205,6 +208,17 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x9ffb505aa738d69c/1 */
|
||||
locationToAccountApi: {
|
||||
/**
|
||||
* Converts `Location` to `AccountId`
|
||||
**/
|
||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<AccountId, Error>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37e397fc7c91f5e4/2 */
|
||||
metadata: {
|
||||
/**
|
||||
@@ -281,7 +295,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xaf2c0297a23e6d3d/10 */
|
||||
/** 0xaf2c0297a23e6d3d/11 */
|
||||
parachainHost: {
|
||||
/**
|
||||
* Approval voting configuration parameters
|
||||
@@ -311,6 +325,10 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
* Checks if the given validation outputs pass the acceptance criteria.
|
||||
**/
|
||||
checkValidationOutputs: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, outputs: CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Claim queue
|
||||
**/
|
||||
claimQueue: AugmentedCall<ApiType, () => Observable<BTreeMap<CoreIndex, Vec<u32>>>>;
|
||||
/**
|
||||
* Returns a list of all disabled validators at the given block
|
||||
**/
|
||||
@@ -487,5 +505,24 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6ff52ee858e6c5bd/1 */
|
||||
xcmPaymentApi: {
|
||||
/**
|
||||
* The API to query acceptable payment assets
|
||||
**/
|
||||
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: WeightV2 | { refTime?: any; proofSize?: any } | string | Uint8Array, asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<u128, XcmPaymentApiError>>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<WeightV2, XcmPaymentApiError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
} // AugmentedCalls
|
||||
} // declare module
|
||||
|
||||
+3086
-408
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -353,6 +353,11 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* The maximum allowable length in bytes for storage keys.
|
||||
**/
|
||||
maxStorageKeyLen: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum size of the transient storage in bytes.
|
||||
* This includes keys, values, and previous entries used for storage rollback.
|
||||
**/
|
||||
maxTransientStorageSize: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Cost schedule and limits.
|
||||
**/
|
||||
|
||||
@@ -484,9 +484,21 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
InvalidConfiguration: AugmentedError<ApiType>;
|
||||
/**
|
||||
* An equivocation proof provided as part of an equivocation report is invalid.
|
||||
* A double voting proof provided as part of an equivocation report is invalid.
|
||||
**/
|
||||
InvalidEquivocationProof: AugmentedError<ApiType>;
|
||||
InvalidDoubleVotingProof: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The session of the equivocation proof is invalid
|
||||
**/
|
||||
InvalidEquivocationProofSession: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A fork voting proof provided as part of an equivocation report is invalid.
|
||||
**/
|
||||
InvalidForkVotingProof: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A future block voting proof provided as part of an equivocation report is invalid.
|
||||
**/
|
||||
InvalidFutureBlockVotingProof: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A key ownership proof provided as part of an equivocation report is invalid.
|
||||
**/
|
||||
@@ -801,6 +813,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The executed contract exhausted its gas limit.
|
||||
**/
|
||||
OutOfGas: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Can not add more data to transient storage.
|
||||
**/
|
||||
OutOfTransientStorage: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The output buffer supplied to a contract API call was too small.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U64, Vec, bool, u128, u32 } from '@po
|
||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { TAssetBalance } from '@polkadot/types/interfaces/assets';
|
||||
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
||||
import type { BeefyEquivocationProof, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
||||
import type { ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
||||
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
||||
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
||||
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
||||
@@ -29,7 +29,7 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
||||
import type { StatementStoreInvalidStatement, StatementStoreStatementSource, StatementStoreValidStatement } from '@polkadot/types/interfaces/statement';
|
||||
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
||||
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
||||
import type { SpStatementStoreStatement, StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
|
||||
import type { SpConsensusBeefyDoubleVotingProof, SpStatementStoreStatement, StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -120,7 +120,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x49eaaf1b548a0cb0/3 */
|
||||
/** 0x49eaaf1b548a0cb0/4 */
|
||||
beefyApi: {
|
||||
/**
|
||||
* Return the block number where BEEFY consensus is enabled/started
|
||||
@@ -131,9 +131,9 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: ValidatorSetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report an equivocation.
|
||||
* Submits an unsigned extrinsic to report a double voting equivocation.
|
||||
**/
|
||||
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: BeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Return the current active BEEFY validator set
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
|
||||
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerOnDemandRevenueRecord, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeOption, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerOnDemandRevenueRecord, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeOption, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||
@@ -988,7 +988,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* against the extracted offender. If both are valid, the offence
|
||||
* will be reported.
|
||||
**/
|
||||
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
|
||||
reportDoubleVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
|
||||
/**
|
||||
* Report voter equivocation/misbehavior. This method will verify the
|
||||
* equivocation proof and validate the given key ownership proof
|
||||
@@ -1000,7 +1000,41 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* if the block author is defined it will be defined as the equivocation
|
||||
* reporter.
|
||||
**/
|
||||
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
|
||||
reportDoubleVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
|
||||
/**
|
||||
* Report fork voting equivocation. This method will verify the equivocation proof
|
||||
* and validate the given key ownership proof against the extracted offender.
|
||||
* If both are valid, the offence will be reported.
|
||||
**/
|
||||
reportForkVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProof, SpSessionMembershipProof]>;
|
||||
/**
|
||||
* Report fork voting equivocation. This method will verify the equivocation proof
|
||||
* and validate the given key ownership proof against the extracted offender.
|
||||
* If both are valid, the offence will be reported.
|
||||
*
|
||||
* This extrinsic must be called unsigned and it is expected that only
|
||||
* block authors will call it (validated in `ValidateUnsigned`), as such
|
||||
* if the block author is defined it will be defined as the equivocation
|
||||
* reporter.
|
||||
**/
|
||||
reportForkVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProof, SpSessionMembershipProof]>;
|
||||
/**
|
||||
* Report future block voting equivocation. This method will verify the equivocation proof
|
||||
* and validate the given key ownership proof against the extracted offender.
|
||||
* If both are valid, the offence will be reported.
|
||||
**/
|
||||
reportFutureBlockVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
|
||||
/**
|
||||
* Report future block voting equivocation. This method will verify the equivocation proof
|
||||
* and validate the given key ownership proof against the extracted offender.
|
||||
* If both are valid, the offence will be reported.
|
||||
*
|
||||
* This extrinsic must be called unsigned and it is expected that only
|
||||
* block authors will call it (validated in `ValidateUnsigned`), as such
|
||||
* if the block author is defined it will be defined as the equivocation
|
||||
* reporter.
|
||||
**/
|
||||
reportFutureBlockVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
|
||||
/**
|
||||
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
|
||||
* future.
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/rpc-core": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "12.2.2",
|
||||
"@polkadot/api-augment": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/types-create": "12.2.2",
|
||||
"@polkadot/api": "13.0.1",
|
||||
"@polkadot/api-augment": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/types-create": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "12.2.2",
|
||||
"@polkadot/api-augment": "13.0.1",
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/types-support": "12.2.2"
|
||||
"@polkadot/types-support": "13.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "12.2.2",
|
||||
"@polkadot/api-augment": "12.2.2",
|
||||
"@polkadot/api-base": "12.2.2",
|
||||
"@polkadot/rpc-core": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/api": "13.0.1",
|
||||
"@polkadot/api-augment": "13.0.1",
|
||||
"@polkadot/api-base": "13.0.1",
|
||||
"@polkadot/rpc-core": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "12.2.2",
|
||||
"@polkadot/api-augment": "12.2.2",
|
||||
"@polkadot/rpc-augment": "12.2.2",
|
||||
"@polkadot/rpc-provider": "12.2.2",
|
||||
"@polkadot/types-support": "12.2.2"
|
||||
"@polkadot/api": "13.0.1",
|
||||
"@polkadot/api-augment": "13.0.1",
|
||||
"@polkadot/rpc-augment": "13.0.1",
|
||||
"@polkadot/rpc-provider": "13.0.1",
|
||||
"@polkadot/types-support": "13.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { QueryableStorageEntry } from '@polkadot/api-base/types';
|
||||
import type { AccountData, AccountId, AccountIndex, AccountInfo, Address, Balance, Index } from '@polkadot/types/interfaces';
|
||||
import type { FrameSystemAccountInfo, PalletBalancesAccountData } from '@polkadot/types/lookup';
|
||||
import type { ITuple } from '@polkadot/types/types';
|
||||
import type { DeriveApi, DeriveBalancesAccount, DeriveBalancesAccountData } from '../types.js';
|
||||
|
||||
@@ -15,7 +16,9 @@ import { memo } from '../util/index.js';
|
||||
|
||||
type BalanceResult = [Balance, Balance, Balance, Balance];
|
||||
|
||||
type Result = [Index, BalanceResult[]];
|
||||
type Result = [Index, BalanceResult[], AccountType];
|
||||
|
||||
interface AccountType { isFrameAccountData: boolean }
|
||||
|
||||
type DeriveCustomAccount = DeriveApi['derive'] & Record<string, {
|
||||
customAccount?: DeriveApi['query']['balances']['account']
|
||||
@@ -25,24 +28,38 @@ function zeroBalance (api: DeriveApi) {
|
||||
return api.registry.createType('Balance');
|
||||
}
|
||||
|
||||
function getBalance (api: DeriveApi, [freeBalance, reservedBalance, frozenFee, frozenMisc]: BalanceResult): DeriveBalancesAccountData {
|
||||
function getBalance (api: DeriveApi, [freeBalance, reservedBalance, frozenFeeOrFrozen, frozenMiscOrFlags]: BalanceResult, accType: AccountType): DeriveBalancesAccountData {
|
||||
const votingBalance = api.registry.createType('Balance', freeBalance.toBn());
|
||||
|
||||
if (accType.isFrameAccountData) {
|
||||
return {
|
||||
frameSystemAccountInfo: {
|
||||
flags: frozenMiscOrFlags,
|
||||
frozen: frozenFeeOrFrozen
|
||||
},
|
||||
freeBalance,
|
||||
frozenFee: api.registry.createType('Balance', 0),
|
||||
frozenMisc: api.registry.createType('Balance', 0),
|
||||
reservedBalance,
|
||||
votingBalance
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
freeBalance,
|
||||
frozenFee,
|
||||
frozenMisc,
|
||||
frozenFee: frozenFeeOrFrozen,
|
||||
frozenMisc: frozenMiscOrFlags,
|
||||
reservedBalance,
|
||||
votingBalance
|
||||
};
|
||||
}
|
||||
|
||||
function calcBalances (api: DeriveApi, [accountId, [accountNonce, [primary, ...additional]]]: [AccountId, Result]): DeriveBalancesAccount {
|
||||
function calcBalances (api: DeriveApi, [accountId, [accountNonce, [primary, ...additional], accType]]: [AccountId, Result]): DeriveBalancesAccount {
|
||||
return objectSpread({
|
||||
accountId,
|
||||
accountNonce,
|
||||
additional: additional.map((b) => getBalance(api, b))
|
||||
}, getBalance(api, primary));
|
||||
additional: additional.map((b) => getBalance(api, b, accType))
|
||||
}, getBalance(api, primary, accType));
|
||||
}
|
||||
|
||||
// old
|
||||
@@ -54,7 +71,8 @@ function queryBalancesFree (api: DeriveApi, accountId: AccountId): Observable<Re
|
||||
]).pipe(
|
||||
map(([freeBalance, reservedBalance, accountNonce]): Result => [
|
||||
accountNonce,
|
||||
[[freeBalance, reservedBalance, zeroBalance(api), zeroBalance(api)]]
|
||||
[[freeBalance, reservedBalance, zeroBalance(api), zeroBalance(api)]],
|
||||
{ isFrameAccountData: false }
|
||||
])
|
||||
);
|
||||
}
|
||||
@@ -62,7 +80,8 @@ function queryBalancesFree (api: DeriveApi, accountId: AccountId): Observable<Re
|
||||
function queryNonceOnly (api: DeriveApi, accountId: AccountId): Observable<Result> {
|
||||
const fill = (nonce: Index): Result => [
|
||||
nonce,
|
||||
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]]
|
||||
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]],
|
||||
{ isFrameAccountData: false }
|
||||
];
|
||||
|
||||
return isFunction(api.query.system.account)
|
||||
@@ -83,7 +102,8 @@ function queryBalancesAccount (api: DeriveApi, accountId: AccountId, modules: st
|
||||
|
||||
const extract = (nonce: Index, data: AccountData[]): Result => [
|
||||
nonce,
|
||||
data.map(({ feeFrozen, free, miscFrozen, reserved }): BalanceResult => [free, reserved, feeFrozen, miscFrozen])
|
||||
data.map(({ feeFrozen, free, miscFrozen, reserved }): BalanceResult => [free, reserved, feeFrozen, miscFrozen]),
|
||||
{ isFrameAccountData: false }
|
||||
];
|
||||
|
||||
// NOTE this is for the first case where we do have instances specified
|
||||
@@ -106,7 +126,7 @@ function queryBalancesAccount (api: DeriveApi, accountId: AccountId, modules: st
|
||||
|
||||
function querySystemAccount (api: DeriveApi, accountId: AccountId): Observable<Result> {
|
||||
// AccountInfo is current, support old, eg. Edgeware
|
||||
return api.query.system.account<AccountInfo | ITuple<[Index, AccountData]>>(accountId).pipe(
|
||||
return api.query.system.account<AccountInfo | FrameSystemAccountInfo | ITuple<[Index, AccountData]>>(accountId).pipe(
|
||||
map((infoOrTuple): Result => {
|
||||
const data = (infoOrTuple as AccountInfo).nonce
|
||||
? (infoOrTuple as AccountInfo).data
|
||||
@@ -117,16 +137,30 @@ function querySystemAccount (api: DeriveApi, accountId: AccountId): Observable<R
|
||||
if (!data || data.isEmpty) {
|
||||
return [
|
||||
nonce,
|
||||
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]]
|
||||
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]],
|
||||
{ isFrameAccountData: false }
|
||||
];
|
||||
}
|
||||
|
||||
const { feeFrozen, free, miscFrozen, reserved } = data;
|
||||
const isFrameType = !!(infoOrTuple as FrameSystemAccountInfo).data.frozen;
|
||||
|
||||
return [
|
||||
nonce,
|
||||
[[free, reserved, feeFrozen, miscFrozen]]
|
||||
];
|
||||
if (isFrameType) {
|
||||
const { flags, free, frozen, reserved } = (data as unknown as PalletBalancesAccountData);
|
||||
|
||||
return [
|
||||
nonce,
|
||||
[[free, reserved, frozen, flags]],
|
||||
{ isFrameAccountData: true }
|
||||
];
|
||||
} else {
|
||||
const { feeFrozen, free, miscFrozen, reserved } = data;
|
||||
|
||||
return [
|
||||
nonce,
|
||||
[[free, reserved, feeFrozen, miscFrozen]],
|
||||
{ isFrameAccountData: false }
|
||||
];
|
||||
}
|
||||
})
|
||||
);
|
||||
}
|
||||
@@ -168,7 +202,8 @@ export function account (instanceId: string, api: DeriveApi): (address: AccountI
|
||||
])
|
||||
: of([api.registry.createType('AccountId'), [
|
||||
api.registry.createType('Index'),
|
||||
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]]
|
||||
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]],
|
||||
{ isFrameAccountData: false }
|
||||
]])
|
||||
)
|
||||
),
|
||||
|
||||
@@ -54,11 +54,28 @@ function calcLocked (api: DeriveApi, bestNumber: BlockNumber, locks: (PalletBala
|
||||
|
||||
function calcShared (api: DeriveApi, bestNumber: BlockNumber, data: DeriveBalancesAccountData, locks: (PalletBalancesBalanceLock | BalanceLockTo212)[]): DeriveBalancesAllAccountData {
|
||||
const { allLocked, lockedBalance, lockedBreakdown, vestingLocked } = calcLocked(api, bestNumber, locks);
|
||||
let transferable = null;
|
||||
|
||||
if (data?.frameSystemAccountInfo?.frozen) {
|
||||
const { frameSystemAccountInfo, freeBalance, reservedBalance } = data;
|
||||
const noFrozenReserved = frameSystemAccountInfo.frozen.isZero() && reservedBalance.isZero();
|
||||
const ED = api.consts.balances.existentialDeposit;
|
||||
const maybeED = noFrozenReserved ? new BN(0) : ED;
|
||||
const frozenReserveDif = frameSystemAccountInfo.frozen.sub(reservedBalance);
|
||||
|
||||
transferable = api.registry.createType(
|
||||
'Balance',
|
||||
allLocked
|
||||
? 0
|
||||
: freeBalance.sub(bnMax(maybeED, frozenReserveDif))
|
||||
);
|
||||
}
|
||||
|
||||
return objectSpread({}, data, {
|
||||
availableBalance: api.registry.createType('Balance', allLocked ? 0 : bnMax(new BN(0), data?.freeBalance ? data.freeBalance.sub(lockedBalance) : new BN(0))),
|
||||
lockedBalance,
|
||||
lockedBreakdown,
|
||||
transferable,
|
||||
vestingLocked
|
||||
});
|
||||
}
|
||||
|
||||
@@ -6,6 +6,10 @@ import type { PalletBalancesBalanceLock, PalletBalancesReserveData } from '@polk
|
||||
import type { BN } from '@polkadot/util';
|
||||
|
||||
export interface DeriveBalancesAccountData {
|
||||
frameSystemAccountInfo?: {
|
||||
frozen: Balance;
|
||||
flags: Balance;
|
||||
}
|
||||
freeBalance: Balance;
|
||||
frozenFee: Balance;
|
||||
frozenMisc: Balance;
|
||||
@@ -20,9 +24,34 @@ export interface DeriveBalancesAccount extends DeriveBalancesAccountData {
|
||||
}
|
||||
|
||||
export interface DeriveBalancesAllAccountData extends DeriveBalancesAccountData {
|
||||
/**
|
||||
* Calculated available balance. This uses the formula: max(0, free - locked)
|
||||
* This is only correct when the return type of `api.query.system.account` is `AccountInfo` which was replaced by `FrameSystemAccountInfo`.
|
||||
* See `transferable` for the correct balance calculation.
|
||||
*
|
||||
* ref: https://github.com/paritytech/substrate/pull/12951
|
||||
*/
|
||||
availableBalance: Balance;
|
||||
/**
|
||||
* The amount of balance locked away.
|
||||
*/
|
||||
lockedBalance: Balance;
|
||||
/**
|
||||
* The breakdown of locked balances.
|
||||
*/
|
||||
lockedBreakdown: (PalletBalancesBalanceLock | BalanceLockTo212)[];
|
||||
/**
|
||||
* Calculated transferable balance. This uses the formula: free - max(maybeEd, frozen - reserve)
|
||||
* Where `maybeEd` means if there is no frozen and reserves it will be zero, else it will be the existential deposit.
|
||||
* This is only correct when the return type of `api.query.system.account` is `FrameSystemAccountInfo`.
|
||||
* Which is the most up to date calulcation for transferrable balances.
|
||||
*
|
||||
* ref: https://github.com/paritytech/polkadot-sdk/issues/1833
|
||||
*/
|
||||
transferable: Balance | null;
|
||||
/**
|
||||
* Amount locked in vesting.
|
||||
*/
|
||||
vestingLocked: Balance;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
+15
-15
@@ -18,29 +18,29 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "12.2.2",
|
||||
"@polkadot/api-base": "12.2.2",
|
||||
"@polkadot/api-derive": "12.2.2",
|
||||
"@polkadot/api-augment": "13.0.1",
|
||||
"@polkadot/api-base": "13.0.1",
|
||||
"@polkadot/api-derive": "13.0.1",
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/rpc-augment": "12.2.2",
|
||||
"@polkadot/rpc-core": "12.2.2",
|
||||
"@polkadot/rpc-provider": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-augment": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/types-create": "12.2.2",
|
||||
"@polkadot/types-known": "12.2.2",
|
||||
"@polkadot/rpc-augment": "13.0.1",
|
||||
"@polkadot/rpc-core": "13.0.1",
|
||||
"@polkadot/rpc-provider": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-augment": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/types-create": "13.0.1",
|
||||
"@polkadot/types-known": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "12.2.2",
|
||||
"@polkadot/types-support": "12.2.2"
|
||||
"@polkadot/api-augment": "13.0.1",
|
||||
"@polkadot/types-support": "13.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -348,7 +348,7 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
|
||||
const ext = this.registry.createTypeUnsafe<Extrinsic>('Extrinsic', [result.signedTransaction]);
|
||||
const newSignerPayload = this.registry.createTypeUnsafe<SignerPayload>('SignerPayload', [objectSpread({}, {
|
||||
address,
|
||||
assetId: ext.assetId ? ext.assetId.toHex() : null,
|
||||
assetId: ext.assetId && ext.assetId.isSome ? ext.assetId.toHex() : null,
|
||||
blockHash: payload.blockHash,
|
||||
blockNumber: header ? header.number : 0,
|
||||
era: ext.era.toHex(),
|
||||
@@ -359,7 +359,7 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
|
||||
nonce: ext.nonce.toHex(),
|
||||
runtimeVersion: payload.runtimeVersion,
|
||||
signedExtensions: payload.signedExtensions,
|
||||
tip: ext.tip.toHex(),
|
||||
tip: ext.tip ? ext.tip.toHex() : null,
|
||||
version: payload.version
|
||||
})]);
|
||||
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/rpc-core": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "12.2.2",
|
||||
"@polkadot/rpc-provider": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/rpc-augment": "13.0.1",
|
||||
"@polkadot/rpc-provider": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/rpc-augment": "12.2.2"
|
||||
"@polkadot/rpc-augment": "13.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-support": "12.2.2",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-support": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"@polkadot/x-fetch": "^13.0.2",
|
||||
@@ -31,13 +31,13 @@
|
||||
"@polkadot/x-ws": "^13.0.2",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"mock-socket": "^9.3.1",
|
||||
"nock": "^13.5.0",
|
||||
"tslib": "^2.6.2"
|
||||
"nock": "^13.5.4",
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@substrate/connect": "0.8.10"
|
||||
"@substrate/connect": "0.8.11"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@substrate/connect": "0.8.10"
|
||||
"@substrate/connect": "0.8.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,23 +28,23 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "12.2.2",
|
||||
"@polkadot/api-augment": "12.2.2",
|
||||
"@polkadot/rpc-augment": "12.2.2",
|
||||
"@polkadot/rpc-provider": "12.2.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-augment": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/types-create": "12.2.2",
|
||||
"@polkadot/types-support": "12.2.2",
|
||||
"@polkadot/api": "13.0.1",
|
||||
"@polkadot/api-augment": "13.0.1",
|
||||
"@polkadot/rpc-augment": "13.0.1",
|
||||
"@polkadot/rpc-provider": "13.0.1",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-augment": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/types-create": "13.0.1",
|
||||
"@polkadot/types-support": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"@polkadot/x-ws": "^13.0.2",
|
||||
"handlebars": "^4.7.8",
|
||||
"tslib": "^2.6.2",
|
||||
"tslib": "^2.7.0",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/yargs": "^17.0.32"
|
||||
"@types/yargs": "^17.0.33"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ function renderPage (page: Page): string {
|
||||
md += `\n- **${bullet}**: ${
|
||||
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|
||||
item[bullet] instanceof Vec
|
||||
? docsVecToMarkdown(item[bullet] as Vec<Text>, 2).toString()
|
||||
? docsVecToMarkdown(item[bullet], 2).toString()
|
||||
: item[bullet]
|
||||
}`;
|
||||
});
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,36 +5,26 @@
|
||||
|
||||
export default {
|
||||
/**
|
||||
* Lookup49: staging_kusama_runtime::pallet_im_online::pallet::Event<T>
|
||||
**/
|
||||
StagingKusamaRuntimePalletImOnlinePalletEvent: {
|
||||
_enum: {
|
||||
HeartbeatReceived: {
|
||||
authorityId: 'StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public',
|
||||
},
|
||||
AllGood: 'Null',
|
||||
SomeOffline: {
|
||||
offline: 'Vec<(AccountId32,SpStakingExposure)>'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup50: staging_kusama_runtime::pallet_im_online::sr25519::app_sr25519::Public
|
||||
**/
|
||||
StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public: 'SpCoreSr25519Public',
|
||||
/**
|
||||
* Lookup134: staging_kusama_runtime::SessionKeys
|
||||
* Lookup125: staging_kusama_runtime::SessionKeys
|
||||
**/
|
||||
StagingKusamaRuntimeSessionKeys: {
|
||||
grandpa: 'SpConsensusGrandpaAppPublic',
|
||||
babe: 'SpConsensusBabeAppPublic',
|
||||
paraValidator: 'PolkadotPrimitivesV6ValidatorAppPublic',
|
||||
paraAssignment: 'PolkadotPrimitivesV6AssignmentAppPublic',
|
||||
paraValidator: 'PolkadotPrimitivesV7ValidatorAppPublic',
|
||||
paraAssignment: 'PolkadotPrimitivesV7AssignmentAppPublic',
|
||||
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic',
|
||||
beefy: 'SpConsensusBeefyEcdsaCryptoPublic'
|
||||
},
|
||||
/**
|
||||
* Lookup161: staging_kusama_runtime::OriginCaller
|
||||
* Lookup126: polkadot_primitives::v7::validator_app::Public
|
||||
**/
|
||||
PolkadotPrimitivesV7ValidatorAppPublic: '[u8;32]',
|
||||
/**
|
||||
* Lookup127: polkadot_primitives::v7::assignment_app::Public
|
||||
**/
|
||||
PolkadotPrimitivesV7AssignmentAppPublic: '[u8;32]',
|
||||
/**
|
||||
* Lookup150: staging_kusama_runtime::OriginCaller
|
||||
**/
|
||||
StagingKusamaRuntimeOriginCaller: {
|
||||
_enum: {
|
||||
@@ -141,16 +131,56 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup163: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin
|
||||
* Lookup152: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin
|
||||
**/
|
||||
StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: {
|
||||
_enum: ['StakingAdmin', 'Treasurer', 'FellowshipAdmin', 'GeneralAdmin', 'AuctionAdmin', 'LeaseAdmin', 'ReferendumCanceller', 'ReferendumKiller', 'SmallTipper', 'BigTipper', 'SmallSpender', 'MediumSpender', 'BigSpender', 'WhitelistedCaller', 'FellowshipInitiates', 'Fellows', 'FellowshipExperts', 'FellowshipMasters', 'Fellowship1Dan', 'Fellowship2Dan', 'Fellowship3Dan', 'Fellowship4Dan', 'Fellowship5Dan', 'Fellowship6Dan', 'Fellowship7Dan', 'Fellowship8Dan', 'Fellowship9Dan', 'WishForChange']
|
||||
},
|
||||
/**
|
||||
* Lookup163: staging_kusama_runtime::RuntimeParameters
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParameters: {
|
||||
_enum: {
|
||||
Inflation: 'StagingKusamaRuntimeDynamicParamsInflationParameters'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup164: staging_kusama_runtime::dynamic_params::inflation::Parameters
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParameters: {
|
||||
_enum: {
|
||||
MinInflation: '(StagingKusamaRuntimeDynamicParamsInflationMinInflation,Option<Perquintill>)',
|
||||
MaxInflation: '(StagingKusamaRuntimeDynamicParamsInflationMaxInflation,Option<Perquintill>)',
|
||||
IdealStake: '(StagingKusamaRuntimeDynamicParamsInflationIdealStake,Option<Perquintill>)',
|
||||
Falloff: '(StagingKusamaRuntimeDynamicParamsInflationFalloff,Option<Perquintill>)',
|
||||
UseAuctionSlots: '(StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots,Option<bool>)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup165: staging_kusama_runtime::dynamic_params::inflation::MinInflation
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationMinInflation: 'Null',
|
||||
/**
|
||||
* Lookup168: staging_kusama_runtime::dynamic_params::inflation::MaxInflation
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationMaxInflation: 'Null',
|
||||
/**
|
||||
* Lookup169: staging_kusama_runtime::dynamic_params::inflation::IdealStake
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationIdealStake: 'Null',
|
||||
/**
|
||||
* Lookup170: staging_kusama_runtime::dynamic_params::inflation::Falloff
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationFalloff: 'Null',
|
||||
/**
|
||||
* Lookup171: staging_kusama_runtime::dynamic_params::inflation::UseAuctionSlots
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots: 'Null',
|
||||
/**
|
||||
* Lookup192: staging_kusama_runtime::ProxyType
|
||||
**/
|
||||
StagingKusamaRuntimeProxyType: {
|
||||
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'CancelProxy', 'Auction', 'Society', 'NominationPools']
|
||||
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'CancelProxy', 'Auction', 'Society', 'NominationPools', 'Spokesperson']
|
||||
},
|
||||
/**
|
||||
* Lookup202: staging_kusama_runtime::NposCompactSolution24
|
||||
@@ -182,7 +212,212 @@ export default {
|
||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||
},
|
||||
/**
|
||||
* Lookup360: polkadot_runtime_parachains::assigner_on_demand::pallet::Call<T>
|
||||
* Lookup303: polkadot_primitives::v7::async_backing::AsyncBackingParams
|
||||
**/
|
||||
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: {
|
||||
maxCandidateDepth: 'u32',
|
||||
allowedAncestryLen: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup304: polkadot_primitives::v7::executor_params::ExecutorParams
|
||||
**/
|
||||
PolkadotPrimitivesV7ExecutorParams: 'Vec<PolkadotPrimitivesV7ExecutorParamsExecutorParam>',
|
||||
/**
|
||||
* Lookup306: polkadot_primitives::v7::executor_params::ExecutorParam
|
||||
**/
|
||||
PolkadotPrimitivesV7ExecutorParamsExecutorParam: {
|
||||
_enum: {
|
||||
__Unused0: 'Null',
|
||||
MaxMemoryPages: 'u32',
|
||||
StackLogicalMax: 'u32',
|
||||
StackNativeMax: 'u32',
|
||||
PrecheckingMaxMemory: 'u64',
|
||||
PvfPrepTimeout: '(PolkadotPrimitivesV7PvfPrepKind,u64)',
|
||||
PvfExecTimeout: '(PolkadotPrimitivesV7PvfExecKind,u64)',
|
||||
WasmExtBulkMemory: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup307: polkadot_primitives::v7::PvfPrepKind
|
||||
**/
|
||||
PolkadotPrimitivesV7PvfPrepKind: {
|
||||
_enum: ['Precheck', 'Prepare']
|
||||
},
|
||||
/**
|
||||
* Lookup308: polkadot_primitives::v7::PvfExecKind
|
||||
**/
|
||||
PolkadotPrimitivesV7PvfExecKind: {
|
||||
_enum: ['Backing', 'Approval']
|
||||
},
|
||||
/**
|
||||
* Lookup309: polkadot_primitives::v7::ApprovalVotingParams
|
||||
**/
|
||||
PolkadotPrimitivesV7ApprovalVotingParams: {
|
||||
maxApprovalCoalesceCount: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup310: polkadot_primitives::vstaging::SchedulerParams<BlockNumber>
|
||||
**/
|
||||
PolkadotPrimitivesVstagingSchedulerParams: {
|
||||
groupRotationFrequency: 'u32',
|
||||
parasAvailabilityPeriod: 'u32',
|
||||
maxValidatorsPerCore: 'Option<u32>',
|
||||
lookahead: 'u32',
|
||||
numCores: 'u32',
|
||||
maxAvailabilityTimeouts: 'u32',
|
||||
onDemandQueueMaxSize: 'u32',
|
||||
onDemandTargetQueueUtilization: 'Perbill',
|
||||
onDemandFeeVariability: 'Perbill',
|
||||
onDemandBaseFee: 'u128',
|
||||
ttl: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup314: polkadot_primitives::v7::InherentData<sp_runtime::generic::header::Header<Number, Hash>>
|
||||
**/
|
||||
PolkadotPrimitivesV7InherentData: {
|
||||
bitfields: 'Vec<PolkadotPrimitivesV7SignedUncheckedSigned>',
|
||||
backedCandidates: 'Vec<PolkadotPrimitivesV7BackedCandidate>',
|
||||
disputes: 'Vec<PolkadotPrimitivesV7DisputeStatementSet>',
|
||||
parentHeader: 'SpRuntimeHeader'
|
||||
},
|
||||
/**
|
||||
* Lookup316: polkadot_primitives::v7::signed::UncheckedSigned<polkadot_primitives::v7::AvailabilityBitfield, polkadot_primitives::v7::AvailabilityBitfield>
|
||||
**/
|
||||
PolkadotPrimitivesV7SignedUncheckedSigned: {
|
||||
payload: 'BitVec',
|
||||
validatorIndex: 'u32',
|
||||
signature: 'PolkadotPrimitivesV7ValidatorAppSignature'
|
||||
},
|
||||
/**
|
||||
* Lookup321: polkadot_primitives::v7::validator_app::Signature
|
||||
**/
|
||||
PolkadotPrimitivesV7ValidatorAppSignature: '[u8;64]',
|
||||
/**
|
||||
* Lookup323: polkadot_primitives::v7::BackedCandidate<primitive_types::H256>
|
||||
**/
|
||||
PolkadotPrimitivesV7BackedCandidate: {
|
||||
candidate: 'PolkadotPrimitivesV7CommittedCandidateReceipt',
|
||||
validityVotes: 'Vec<PolkadotPrimitivesV7ValidityAttestation>',
|
||||
validatorIndices: 'BitVec'
|
||||
},
|
||||
/**
|
||||
* Lookup324: polkadot_primitives::v7::CommittedCandidateReceipt<primitive_types::H256>
|
||||
**/
|
||||
PolkadotPrimitivesV7CommittedCandidateReceipt: {
|
||||
descriptor: 'PolkadotPrimitivesV7CandidateDescriptor',
|
||||
commitments: 'PolkadotPrimitivesV7CandidateCommitments'
|
||||
},
|
||||
/**
|
||||
* Lookup325: polkadot_primitives::v7::CandidateDescriptor<primitive_types::H256>
|
||||
**/
|
||||
PolkadotPrimitivesV7CandidateDescriptor: {
|
||||
paraId: 'u32',
|
||||
relayParent: 'H256',
|
||||
collator: 'PolkadotPrimitivesV7CollatorAppPublic',
|
||||
persistedValidationDataHash: 'H256',
|
||||
povHash: 'H256',
|
||||
erasureRoot: 'H256',
|
||||
signature: 'PolkadotPrimitivesV7CollatorAppSignature',
|
||||
paraHead: 'H256',
|
||||
validationCodeHash: 'H256'
|
||||
},
|
||||
/**
|
||||
* Lookup326: polkadot_primitives::v7::collator_app::Public
|
||||
**/
|
||||
PolkadotPrimitivesV7CollatorAppPublic: '[u8;32]',
|
||||
/**
|
||||
* Lookup327: polkadot_primitives::v7::collator_app::Signature
|
||||
**/
|
||||
PolkadotPrimitivesV7CollatorAppSignature: '[u8;64]',
|
||||
/**
|
||||
* Lookup329: polkadot_primitives::v7::CandidateCommitments<N>
|
||||
**/
|
||||
PolkadotPrimitivesV7CandidateCommitments: {
|
||||
upwardMessages: 'Vec<Bytes>',
|
||||
horizontalMessages: 'Vec<PolkadotCorePrimitivesOutboundHrmpMessage>',
|
||||
newValidationCode: 'Option<Bytes>',
|
||||
headData: 'Bytes',
|
||||
processedDownwardMessages: 'u32',
|
||||
hrmpWatermark: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup338: polkadot_primitives::v7::ValidityAttestation
|
||||
**/
|
||||
PolkadotPrimitivesV7ValidityAttestation: {
|
||||
_enum: {
|
||||
__Unused0: 'Null',
|
||||
Implicit: 'PolkadotPrimitivesV7ValidatorAppSignature',
|
||||
Explicit: 'PolkadotPrimitivesV7ValidatorAppSignature'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup340: polkadot_primitives::v7::DisputeStatementSet
|
||||
**/
|
||||
PolkadotPrimitivesV7DisputeStatementSet: {
|
||||
candidateHash: 'H256',
|
||||
session: 'u32',
|
||||
statements: 'Vec<(PolkadotPrimitivesV7DisputeStatement,u32,PolkadotPrimitivesV7ValidatorAppSignature)>'
|
||||
},
|
||||
/**
|
||||
* Lookup344: polkadot_primitives::v7::DisputeStatement
|
||||
**/
|
||||
PolkadotPrimitivesV7DisputeStatement: {
|
||||
_enum: {
|
||||
Valid: 'PolkadotPrimitivesV7ValidDisputeStatementKind',
|
||||
Invalid: 'PolkadotPrimitivesV7InvalidDisputeStatementKind'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup345: polkadot_primitives::v7::ValidDisputeStatementKind
|
||||
**/
|
||||
PolkadotPrimitivesV7ValidDisputeStatementKind: {
|
||||
_enum: {
|
||||
Explicit: 'Null',
|
||||
BackingSeconded: 'H256',
|
||||
BackingValid: 'H256',
|
||||
ApprovalChecking: 'Null',
|
||||
ApprovalCheckingMultipleCandidates: 'Vec<H256>'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup347: polkadot_primitives::v7::InvalidDisputeStatementKind
|
||||
**/
|
||||
PolkadotPrimitivesV7InvalidDisputeStatementKind: {
|
||||
_enum: ['Explicit']
|
||||
},
|
||||
/**
|
||||
* Lookup349: polkadot_primitives::v7::PvfCheckStatement
|
||||
**/
|
||||
PolkadotPrimitivesV7PvfCheckStatement: {
|
||||
accept: 'bool',
|
||||
subject: 'H256',
|
||||
sessionIndex: 'u32',
|
||||
validatorIndex: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup355: polkadot_primitives::v7::slashing::DisputeProof
|
||||
**/
|
||||
PolkadotPrimitivesV7SlashingDisputeProof: {
|
||||
timeSlot: 'PolkadotPrimitivesV7SlashingDisputesTimeSlot',
|
||||
kind: 'PolkadotPrimitivesV7SlashingSlashingOffenceKind',
|
||||
validatorIndex: 'u32',
|
||||
validatorId: 'PolkadotPrimitivesV7ValidatorAppPublic'
|
||||
},
|
||||
/**
|
||||
* Lookup356: polkadot_primitives::v7::slashing::DisputesTimeSlot
|
||||
**/
|
||||
PolkadotPrimitivesV7SlashingDisputesTimeSlot: {
|
||||
sessionIndex: 'u32',
|
||||
candidateHash: 'H256'
|
||||
},
|
||||
/**
|
||||
* Lookup357: polkadot_primitives::v7::slashing::SlashingOffenceKind
|
||||
**/
|
||||
PolkadotPrimitivesV7SlashingSlashingOffenceKind: {
|
||||
_enum: ['ForInvalid', 'AgainstValid']
|
||||
},
|
||||
/**
|
||||
* Lookup358: polkadot_runtime_parachains::assigner_on_demand::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandPalletCall: {
|
||||
_enum: {
|
||||
@@ -197,7 +432,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup371: polkadot_runtime_parachains::coretime::pallet::Call<T>
|
||||
* Lookup368: polkadot_runtime_parachains::coretime::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsCoretimePalletCall: {
|
||||
_enum: {
|
||||
@@ -205,7 +440,9 @@ export default {
|
||||
request_core_count: {
|
||||
count: 'u16',
|
||||
},
|
||||
__Unused2: 'Null',
|
||||
request_revenue_at: {
|
||||
when: 'u32',
|
||||
},
|
||||
__Unused3: 'Null',
|
||||
assign_core: {
|
||||
core: 'u16',
|
||||
@@ -216,21 +453,69 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup512: polkadot_runtime_parachains::assigner_on_demand::pallet::Event<T>
|
||||
* Lookup414: xcm::v3::OriginKind
|
||||
**/
|
||||
XcmV3OriginKind: {
|
||||
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
|
||||
},
|
||||
/**
|
||||
* Lookup479: staging_kusama_runtime::RuntimeParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParametersKey: {
|
||||
_enum: {
|
||||
Inflation: 'StagingKusamaRuntimeDynamicParamsInflationParametersKey'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup480: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersKey: {
|
||||
_enum: ['MinInflation', 'MaxInflation', 'IdealStake', 'Falloff', 'UseAuctionSlots']
|
||||
},
|
||||
/**
|
||||
* Lookup482: staging_kusama_runtime::RuntimeParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParametersValue: {
|
||||
_enum: {
|
||||
Inflation: 'StagingKusamaRuntimeDynamicParamsInflationParametersValue'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup483: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersValue: {
|
||||
_enum: {
|
||||
MinInflation: 'Perquintill',
|
||||
MaxInflation: 'Perquintill',
|
||||
IdealStake: 'Perquintill',
|
||||
Falloff: 'Perquintill',
|
||||
UseAuctionSlots: 'bool'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup508: polkadot_primitives::v7::CandidateReceipt<primitive_types::H256>
|
||||
**/
|
||||
PolkadotPrimitivesV7CandidateReceipt: {
|
||||
descriptor: 'PolkadotPrimitivesV7CandidateDescriptor',
|
||||
commitmentsHash: 'H256'
|
||||
},
|
||||
/**
|
||||
* Lookup516: polkadot_runtime_parachains::assigner_on_demand::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandPalletEvent: {
|
||||
_enum: {
|
||||
OnDemandOrderPlaced: {
|
||||
paraId: 'u32',
|
||||
spotPrice: 'u128',
|
||||
orderedBy: 'AccountId32',
|
||||
},
|
||||
SpotTrafficSet: {
|
||||
traffic: 'u128'
|
||||
SpotPriceSet: {
|
||||
spotPrice: 'u128'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup517: polkadot_runtime_parachains::coretime::pallet::Event<T>
|
||||
* Lookup521: polkadot_runtime_parachains::coretime::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsCoretimePalletEvent: {
|
||||
_enum: {
|
||||
@@ -243,7 +528,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup566: staging_kusama_runtime::RuntimeHoldReason
|
||||
* Lookup570: staging_kusama_runtime::RuntimeHoldReason
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeHoldReason: {
|
||||
_enum: {
|
||||
@@ -289,7 +574,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup572: staging_kusama_runtime::RuntimeFreezeReason
|
||||
* Lookup576: staging_kusama_runtime::RuntimeFreezeReason
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeFreezeReason: {
|
||||
_enum: {
|
||||
@@ -338,33 +623,122 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup742: pallet_balances::types::IdAmount<Id, Balance>
|
||||
* Lookup749: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
|
||||
**/
|
||||
PalletBalancesIdAmount: {
|
||||
FrameSupportTokensMiscIdAmount: {
|
||||
id: 'Null',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup841: polkadot_runtime_parachains::assigner_on_demand::EnqueuedOrder
|
||||
* Lookup791: polkadot_primitives::v7::ScrapedOnChainVotes<primitive_types::H256>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder: {
|
||||
paraId: 'u32'
|
||||
PolkadotPrimitivesV7ScrapedOnChainVotes: {
|
||||
session: 'u32',
|
||||
backingValidatorsPerCandidate: 'Vec<(PolkadotPrimitivesV7CandidateReceipt,Vec<(u32,PolkadotPrimitivesV7ValidityAttestation)>)>',
|
||||
disputes: 'Vec<PolkadotPrimitivesV7DisputeStatementSet>'
|
||||
},
|
||||
/**
|
||||
* Lookup842: polkadot_runtime_parachains::assigner_on_demand::CoreAffinityCount
|
||||
* Lookup809: polkadot_runtime_parachains::paras::UpgradeStrategy
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount: {
|
||||
coreIdx: 'u32',
|
||||
PolkadotRuntimeParachainsParasUpgradeStrategy: {
|
||||
_enum: ['SetGoAheadSignal', 'ApplyAtExpectedBlock']
|
||||
},
|
||||
/**
|
||||
* Lookup818: polkadot_primitives::v7::UpgradeGoAhead
|
||||
**/
|
||||
PolkadotPrimitivesV7UpgradeGoAhead: {
|
||||
_enum: ['Abort', 'GoAhead']
|
||||
},
|
||||
/**
|
||||
* Lookup819: polkadot_primitives::v7::UpgradeRestriction
|
||||
**/
|
||||
PolkadotPrimitivesV7UpgradeRestriction: {
|
||||
_enum: ['Present']
|
||||
},
|
||||
/**
|
||||
* Lookup835: polkadot_primitives::v7::SessionInfo
|
||||
**/
|
||||
PolkadotPrimitivesV7SessionInfo: {
|
||||
activeValidatorIndices: 'Vec<u32>',
|
||||
randomSeed: '[u8;32]',
|
||||
disputePeriod: 'u32',
|
||||
validators: 'PolkadotPrimitivesV7IndexedVecValidatorIndex',
|
||||
discoveryKeys: 'Vec<SpAuthorityDiscoveryAppPublic>',
|
||||
assignmentKeys: 'Vec<PolkadotPrimitivesV7AssignmentAppPublic>',
|
||||
validatorGroups: 'PolkadotPrimitivesV7IndexedVecGroupIndex',
|
||||
nCores: 'u32',
|
||||
zerothDelayTrancheWidth: 'u32',
|
||||
relayVrfModuloSamples: 'u32',
|
||||
nDelayTranches: 'u32',
|
||||
noShowSlots: 'u32',
|
||||
neededApprovals: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup836: polkadot_primitives::v7::IndexedVec<polkadot_primitives::v7::ValidatorIndex, polkadot_primitives::v7::validator_app::Public>
|
||||
**/
|
||||
PolkadotPrimitivesV7IndexedVecValidatorIndex: 'Vec<PolkadotPrimitivesV7ValidatorAppPublic>',
|
||||
/**
|
||||
* Lookup837: polkadot_primitives::v7::IndexedVec<polkadot_primitives::v7::GroupIndex, V>
|
||||
**/
|
||||
PolkadotPrimitivesV7IndexedVecGroupIndex: 'Vec<Vec<u32>>',
|
||||
/**
|
||||
* Lookup839: polkadot_primitives::v7::DisputeState<N>
|
||||
**/
|
||||
PolkadotPrimitivesV7DisputeState: {
|
||||
validatorsFor: 'BitVec',
|
||||
validatorsAgainst: 'BitVec',
|
||||
start: 'u32',
|
||||
concludedAt: 'Option<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup842: polkadot_primitives::v7::slashing::PendingSlashes
|
||||
**/
|
||||
PolkadotPrimitivesV7SlashingPendingSlashes: {
|
||||
_alias: {
|
||||
keys_: 'keys'
|
||||
},
|
||||
keys_: 'BTreeMap<u32, PolkadotPrimitivesV7ValidatorAppPublic>',
|
||||
kind: 'PolkadotPrimitivesV7SlashingSlashingOffenceKind'
|
||||
},
|
||||
/**
|
||||
* Lookup847: polkadot_runtime_parachains::assigner_on_demand::types::CoreAffinityCount
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount: {
|
||||
coreIndex: 'u32',
|
||||
count: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup843: polkadot_runtime_parachains::assigner_on_demand::pallet::Error<T>
|
||||
* Lookup848: polkadot_runtime_parachains::assigner_on_demand::types::QueueStatusType
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandPalletError: {
|
||||
_enum: ['InvalidParaId', 'QueueFull', 'SpotPriceHigherThanMaxAmount']
|
||||
PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType: {
|
||||
traffic: 'u128',
|
||||
nextIndex: 'u32',
|
||||
smallestIndex: 'u32',
|
||||
freedIndices: 'BinaryHeapReverseQueueIndex'
|
||||
},
|
||||
/**
|
||||
* Lookup845: polkadot_runtime_parachains::assigner_coretime::Schedule<N>
|
||||
* Lookup850: BinaryHeap<polkadot_runtime_parachains::assigner_on_demand::types::ReverseQueueIndex>
|
||||
**/
|
||||
BinaryHeapReverseQueueIndex: 'Vec<u32>',
|
||||
/**
|
||||
* Lookup853: BinaryHeap<polkadot_runtime_parachains::assigner_on_demand::types::EnqueuedOrder>
|
||||
**/
|
||||
BinaryHeapEnqueuedOrder: 'Vec<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>',
|
||||
/**
|
||||
* Lookup854: polkadot_runtime_parachains::assigner_on_demand::types::EnqueuedOrder
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder: {
|
||||
paraId: 'u32',
|
||||
idx: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup858: polkadot_runtime_parachains::assigner_on_demand::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerOnDemandPalletError: {
|
||||
_enum: ['QueueFull', 'SpotPriceHigherThanMaxAmount']
|
||||
},
|
||||
/**
|
||||
* Lookup860: polkadot_runtime_parachains::assigner_coretime::Schedule<N>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerCoretimeSchedule: {
|
||||
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,u16)>',
|
||||
@@ -372,21 +746,21 @@ export default {
|
||||
nextSchedule: 'Option<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup846: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N>
|
||||
* Lookup861: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor: {
|
||||
queue: 'Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>',
|
||||
currentWork: 'Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>'
|
||||
},
|
||||
/**
|
||||
* Lookup848: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N>
|
||||
* Lookup863: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor: {
|
||||
first: 'u32',
|
||||
last: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup850: polkadot_runtime_parachains::assigner_coretime::WorkState<N>
|
||||
* Lookup865: polkadot_runtime_parachains::assigner_coretime::WorkState<N>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerCoretimeWorkState: {
|
||||
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,PolkadotRuntimeParachainsAssignerCoretimeAssignmentState)>',
|
||||
@@ -395,26 +769,26 @@ export default {
|
||||
step: 'u16'
|
||||
},
|
||||
/**
|
||||
* Lookup853: polkadot_runtime_parachains::assigner_coretime::AssignmentState
|
||||
* Lookup868: polkadot_runtime_parachains::assigner_coretime::AssignmentState
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerCoretimeAssignmentState: {
|
||||
ratio: 'u16',
|
||||
remaining: 'u16'
|
||||
},
|
||||
/**
|
||||
* Lookup854: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T>
|
||||
* Lookup869: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsAssignerCoretimePalletError: {
|
||||
_enum: ['AssignmentsEmpty', 'OverScheduled', 'UnderScheduled', 'DisallowedInsert', 'DuplicateInsert', 'AssignmentsNotSorted']
|
||||
},
|
||||
/**
|
||||
* Lookup868: polkadot_runtime_parachains::coretime::pallet::Error<T>
|
||||
* Lookup882: polkadot_runtime_parachains::coretime::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsCoretimePalletError: {
|
||||
_enum: ['NotBroker']
|
||||
_enum: ['NotBroker', 'RequestedFutureRevenue', 'AssetTransferFailed']
|
||||
},
|
||||
/**
|
||||
* Lookup915: staging_kusama_runtime::Runtime
|
||||
* Lookup929: staging_kusama_runtime::Runtime
|
||||
**/
|
||||
StagingKusamaRuntimeRuntime: 'Null'
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5,39 +5,28 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/lookup';
|
||||
|
||||
import type { Compact, Enum, Null, Option, Struct, Vec, u128, u16, u32 } from '@polkadot/types-codec';
|
||||
import type { BTreeMap, BitVec, Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AccountId32, H256, PerU16, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
declare module '@polkadot/types/lookup' {
|
||||
/** @name StagingKusamaRuntimePalletImOnlinePalletEvent (49) */
|
||||
interface StagingKusamaRuntimePalletImOnlinePalletEvent extends Enum {
|
||||
readonly isHeartbeatReceived: boolean;
|
||||
readonly asHeartbeatReceived: {
|
||||
readonly authorityId: StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public;
|
||||
} & Struct;
|
||||
readonly isAllGood: boolean;
|
||||
readonly isSomeOffline: boolean;
|
||||
readonly asSomeOffline: {
|
||||
readonly offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>;
|
||||
} & Struct;
|
||||
readonly type: 'HeartbeatReceived' | 'AllGood' | 'SomeOffline';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public (50) */
|
||||
interface StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public extends SpCoreSr25519Public {}
|
||||
|
||||
/** @name StagingKusamaRuntimeSessionKeys (134) */
|
||||
/** @name StagingKusamaRuntimeSessionKeys (125) */
|
||||
interface StagingKusamaRuntimeSessionKeys extends Struct {
|
||||
readonly grandpa: SpConsensusGrandpaAppPublic;
|
||||
readonly babe: SpConsensusBabeAppPublic;
|
||||
readonly paraValidator: PolkadotPrimitivesV6ValidatorAppPublic;
|
||||
readonly paraAssignment: PolkadotPrimitivesV6AssignmentAppPublic;
|
||||
readonly paraValidator: PolkadotPrimitivesV7ValidatorAppPublic;
|
||||
readonly paraAssignment: PolkadotPrimitivesV7AssignmentAppPublic;
|
||||
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
|
||||
readonly beefy: SpConsensusBeefyEcdsaCryptoPublic;
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeOriginCaller (161) */
|
||||
/** @name PolkadotPrimitivesV7ValidatorAppPublic (126) */
|
||||
interface PolkadotPrimitivesV7ValidatorAppPublic extends U8aFixed {}
|
||||
|
||||
/** @name PolkadotPrimitivesV7AssignmentAppPublic (127) */
|
||||
interface PolkadotPrimitivesV7AssignmentAppPublic extends U8aFixed {}
|
||||
|
||||
/** @name StagingKusamaRuntimeOriginCaller (150) */
|
||||
interface StagingKusamaRuntimeOriginCaller extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||
@@ -51,7 +40,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'System' | 'Void' | 'Origins' | 'ParachainsOrigin' | 'XcmPallet';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (163) */
|
||||
/** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (152) */
|
||||
interface StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin extends Enum {
|
||||
readonly isStakingAdmin: boolean;
|
||||
readonly isTreasurer: boolean;
|
||||
@@ -84,6 +73,43 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'StakingAdmin' | 'Treasurer' | 'FellowshipAdmin' | 'GeneralAdmin' | 'AuctionAdmin' | 'LeaseAdmin' | 'ReferendumCanceller' | 'ReferendumKiller' | 'SmallTipper' | 'BigTipper' | 'SmallSpender' | 'MediumSpender' | 'BigSpender' | 'WhitelistedCaller' | 'FellowshipInitiates' | 'Fellows' | 'FellowshipExperts' | 'FellowshipMasters' | 'Fellowship1Dan' | 'Fellowship2Dan' | 'Fellowship3Dan' | 'Fellowship4Dan' | 'Fellowship5Dan' | 'Fellowship6Dan' | 'Fellowship7Dan' | 'Fellowship8Dan' | 'Fellowship9Dan' | 'WishForChange';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParameters (163) */
|
||||
interface StagingKusamaRuntimeRuntimeParameters extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParameters;
|
||||
readonly type: 'Inflation';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParameters (164) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParameters extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly asMinInflation: ITuple<[StagingKusamaRuntimeDynamicParamsInflationMinInflation, Option<Perquintill>]>;
|
||||
readonly isMaxInflation: boolean;
|
||||
readonly asMaxInflation: ITuple<[StagingKusamaRuntimeDynamicParamsInflationMaxInflation, Option<Perquintill>]>;
|
||||
readonly isIdealStake: boolean;
|
||||
readonly asIdealStake: ITuple<[StagingKusamaRuntimeDynamicParamsInflationIdealStake, Option<Perquintill>]>;
|
||||
readonly isFalloff: boolean;
|
||||
readonly asFalloff: ITuple<[StagingKusamaRuntimeDynamicParamsInflationFalloff, Option<Perquintill>]>;
|
||||
readonly isUseAuctionSlots: boolean;
|
||||
readonly asUseAuctionSlots: ITuple<[StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, Option<bool>]>;
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationMinInflation (165) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationMinInflation = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationMaxInflation (168) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationMaxInflation = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationIdealStake (169) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationIdealStake = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationFalloff (170) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationFalloff = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots (171) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeProxyType (192) */
|
||||
interface StagingKusamaRuntimeProxyType extends Enum {
|
||||
readonly isAny: boolean;
|
||||
@@ -94,7 +120,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isAuction: boolean;
|
||||
readonly isSociety: boolean;
|
||||
readonly isNominationPools: boolean;
|
||||
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools';
|
||||
readonly isSpokesperson: boolean;
|
||||
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeNposCompactSolution24 (202) */
|
||||
@@ -125,7 +152,201 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletCall (360) */
|
||||
/** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (303) */
|
||||
interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct {
|
||||
readonly maxCandidateDepth: u32;
|
||||
readonly allowedAncestryLen: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7ExecutorParams (304) */
|
||||
interface PolkadotPrimitivesV7ExecutorParams extends Vec<PolkadotPrimitivesV7ExecutorParamsExecutorParam> {}
|
||||
|
||||
/** @name PolkadotPrimitivesV7ExecutorParamsExecutorParam (306) */
|
||||
interface PolkadotPrimitivesV7ExecutorParamsExecutorParam extends Enum {
|
||||
readonly isMaxMemoryPages: boolean;
|
||||
readonly asMaxMemoryPages: u32;
|
||||
readonly isStackLogicalMax: boolean;
|
||||
readonly asStackLogicalMax: u32;
|
||||
readonly isStackNativeMax: boolean;
|
||||
readonly asStackNativeMax: u32;
|
||||
readonly isPrecheckingMaxMemory: boolean;
|
||||
readonly asPrecheckingMaxMemory: u64;
|
||||
readonly isPvfPrepTimeout: boolean;
|
||||
readonly asPvfPrepTimeout: ITuple<[PolkadotPrimitivesV7PvfPrepKind, u64]>;
|
||||
readonly isPvfExecTimeout: boolean;
|
||||
readonly asPvfExecTimeout: ITuple<[PolkadotPrimitivesV7PvfExecKind, u64]>;
|
||||
readonly isWasmExtBulkMemory: boolean;
|
||||
readonly type: 'MaxMemoryPages' | 'StackLogicalMax' | 'StackNativeMax' | 'PrecheckingMaxMemory' | 'PvfPrepTimeout' | 'PvfExecTimeout' | 'WasmExtBulkMemory';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7PvfPrepKind (307) */
|
||||
interface PolkadotPrimitivesV7PvfPrepKind extends Enum {
|
||||
readonly isPrecheck: boolean;
|
||||
readonly isPrepare: boolean;
|
||||
readonly type: 'Precheck' | 'Prepare';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7PvfExecKind (308) */
|
||||
interface PolkadotPrimitivesV7PvfExecKind extends Enum {
|
||||
readonly isBacking: boolean;
|
||||
readonly isApproval: boolean;
|
||||
readonly type: 'Backing' | 'Approval';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7ApprovalVotingParams (309) */
|
||||
interface PolkadotPrimitivesV7ApprovalVotingParams extends Struct {
|
||||
readonly maxApprovalCoalesceCount: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesVstagingSchedulerParams (310) */
|
||||
interface PolkadotPrimitivesVstagingSchedulerParams extends Struct {
|
||||
readonly groupRotationFrequency: u32;
|
||||
readonly parasAvailabilityPeriod: u32;
|
||||
readonly maxValidatorsPerCore: Option<u32>;
|
||||
readonly lookahead: u32;
|
||||
readonly numCores: u32;
|
||||
readonly maxAvailabilityTimeouts: u32;
|
||||
readonly onDemandQueueMaxSize: u32;
|
||||
readonly onDemandTargetQueueUtilization: Perbill;
|
||||
readonly onDemandFeeVariability: Perbill;
|
||||
readonly onDemandBaseFee: u128;
|
||||
readonly ttl: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7InherentData (314) */
|
||||
interface PolkadotPrimitivesV7InherentData extends Struct {
|
||||
readonly bitfields: Vec<PolkadotPrimitivesV7SignedUncheckedSigned>;
|
||||
readonly backedCandidates: Vec<PolkadotPrimitivesV7BackedCandidate>;
|
||||
readonly disputes: Vec<PolkadotPrimitivesV7DisputeStatementSet>;
|
||||
readonly parentHeader: SpRuntimeHeader;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7SignedUncheckedSigned (316) */
|
||||
interface PolkadotPrimitivesV7SignedUncheckedSigned extends Struct {
|
||||
readonly payload: BitVec;
|
||||
readonly validatorIndex: u32;
|
||||
readonly signature: PolkadotPrimitivesV7ValidatorAppSignature;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7ValidatorAppSignature (321) */
|
||||
interface PolkadotPrimitivesV7ValidatorAppSignature extends U8aFixed {}
|
||||
|
||||
/** @name PolkadotPrimitivesV7BackedCandidate (323) */
|
||||
interface PolkadotPrimitivesV7BackedCandidate extends Struct {
|
||||
readonly candidate: PolkadotPrimitivesV7CommittedCandidateReceipt;
|
||||
readonly validityVotes: Vec<PolkadotPrimitivesV7ValidityAttestation>;
|
||||
readonly validatorIndices: BitVec;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7CommittedCandidateReceipt (324) */
|
||||
interface PolkadotPrimitivesV7CommittedCandidateReceipt extends Struct {
|
||||
readonly descriptor: PolkadotPrimitivesV7CandidateDescriptor;
|
||||
readonly commitments: PolkadotPrimitivesV7CandidateCommitments;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7CandidateDescriptor (325) */
|
||||
interface PolkadotPrimitivesV7CandidateDescriptor extends Struct {
|
||||
readonly paraId: u32;
|
||||
readonly relayParent: H256;
|
||||
readonly collator: PolkadotPrimitivesV7CollatorAppPublic;
|
||||
readonly persistedValidationDataHash: H256;
|
||||
readonly povHash: H256;
|
||||
readonly erasureRoot: H256;
|
||||
readonly signature: PolkadotPrimitivesV7CollatorAppSignature;
|
||||
readonly paraHead: H256;
|
||||
readonly validationCodeHash: H256;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7CollatorAppPublic (326) */
|
||||
interface PolkadotPrimitivesV7CollatorAppPublic extends U8aFixed {}
|
||||
|
||||
/** @name PolkadotPrimitivesV7CollatorAppSignature (327) */
|
||||
interface PolkadotPrimitivesV7CollatorAppSignature extends U8aFixed {}
|
||||
|
||||
/** @name PolkadotPrimitivesV7CandidateCommitments (329) */
|
||||
interface PolkadotPrimitivesV7CandidateCommitments extends Struct {
|
||||
readonly upwardMessages: Vec<Bytes>;
|
||||
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
|
||||
readonly newValidationCode: Option<Bytes>;
|
||||
readonly headData: Bytes;
|
||||
readonly processedDownwardMessages: u32;
|
||||
readonly hrmpWatermark: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7ValidityAttestation (338) */
|
||||
interface PolkadotPrimitivesV7ValidityAttestation extends Enum {
|
||||
readonly isImplicit: boolean;
|
||||
readonly asImplicit: PolkadotPrimitivesV7ValidatorAppSignature;
|
||||
readonly isExplicit: boolean;
|
||||
readonly asExplicit: PolkadotPrimitivesV7ValidatorAppSignature;
|
||||
readonly type: 'Implicit' | 'Explicit';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7DisputeStatementSet (340) */
|
||||
interface PolkadotPrimitivesV7DisputeStatementSet extends Struct {
|
||||
readonly candidateHash: H256;
|
||||
readonly session: u32;
|
||||
readonly statements: Vec<ITuple<[PolkadotPrimitivesV7DisputeStatement, u32, PolkadotPrimitivesV7ValidatorAppSignature]>>;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7DisputeStatement (344) */
|
||||
interface PolkadotPrimitivesV7DisputeStatement extends Enum {
|
||||
readonly isValid: boolean;
|
||||
readonly asValid: PolkadotPrimitivesV7ValidDisputeStatementKind;
|
||||
readonly isInvalid: boolean;
|
||||
readonly asInvalid: PolkadotPrimitivesV7InvalidDisputeStatementKind;
|
||||
readonly type: 'Valid' | 'Invalid';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7ValidDisputeStatementKind (345) */
|
||||
interface PolkadotPrimitivesV7ValidDisputeStatementKind extends Enum {
|
||||
readonly isExplicit: boolean;
|
||||
readonly isBackingSeconded: boolean;
|
||||
readonly asBackingSeconded: H256;
|
||||
readonly isBackingValid: boolean;
|
||||
readonly asBackingValid: H256;
|
||||
readonly isApprovalChecking: boolean;
|
||||
readonly isApprovalCheckingMultipleCandidates: boolean;
|
||||
readonly asApprovalCheckingMultipleCandidates: Vec<H256>;
|
||||
readonly type: 'Explicit' | 'BackingSeconded' | 'BackingValid' | 'ApprovalChecking' | 'ApprovalCheckingMultipleCandidates';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7InvalidDisputeStatementKind (347) */
|
||||
interface PolkadotPrimitivesV7InvalidDisputeStatementKind extends Enum {
|
||||
readonly isExplicit: boolean;
|
||||
readonly type: 'Explicit';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7PvfCheckStatement (349) */
|
||||
interface PolkadotPrimitivesV7PvfCheckStatement extends Struct {
|
||||
readonly accept: bool;
|
||||
readonly subject: H256;
|
||||
readonly sessionIndex: u32;
|
||||
readonly validatorIndex: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7SlashingDisputeProof (355) */
|
||||
interface PolkadotPrimitivesV7SlashingDisputeProof extends Struct {
|
||||
readonly timeSlot: PolkadotPrimitivesV7SlashingDisputesTimeSlot;
|
||||
readonly kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
|
||||
readonly validatorIndex: u32;
|
||||
readonly validatorId: PolkadotPrimitivesV7ValidatorAppPublic;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7SlashingDisputesTimeSlot (356) */
|
||||
interface PolkadotPrimitivesV7SlashingDisputesTimeSlot extends Struct {
|
||||
readonly sessionIndex: u32;
|
||||
readonly candidateHash: H256;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7SlashingSlashingOffenceKind (357) */
|
||||
interface PolkadotPrimitivesV7SlashingSlashingOffenceKind extends Enum {
|
||||
readonly isForInvalid: boolean;
|
||||
readonly isAgainstValid: boolean;
|
||||
readonly type: 'ForInvalid' | 'AgainstValid';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletCall (358) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandPalletCall extends Enum {
|
||||
readonly isPlaceOrderAllowDeath: boolean;
|
||||
readonly asPlaceOrderAllowDeath: {
|
||||
@@ -140,12 +361,16 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'PlaceOrderAllowDeath' | 'PlaceOrderKeepAlive';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsCoretimePalletCall (371) */
|
||||
/** @name PolkadotRuntimeParachainsCoretimePalletCall (368) */
|
||||
interface PolkadotRuntimeParachainsCoretimePalletCall extends Enum {
|
||||
readonly isRequestCoreCount: boolean;
|
||||
readonly asRequestCoreCount: {
|
||||
readonly count: u16;
|
||||
} & Struct;
|
||||
readonly isRequestRevenueAt: boolean;
|
||||
readonly asRequestRevenueAt: {
|
||||
readonly when: u32;
|
||||
} & Struct;
|
||||
readonly isAssignCore: boolean;
|
||||
readonly asAssignCore: {
|
||||
readonly core: u16;
|
||||
@@ -153,24 +378,79 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
|
||||
readonly endHint: Option<u32>;
|
||||
} & Struct;
|
||||
readonly type: 'RequestCoreCount' | 'AssignCore';
|
||||
readonly type: 'RequestCoreCount' | 'RequestRevenueAt' | 'AssignCore';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletEvent (512) */
|
||||
/** @name XcmV3OriginKind (414) */
|
||||
interface XcmV3OriginKind extends Enum {
|
||||
readonly isNative: boolean;
|
||||
readonly isSovereignAccount: boolean;
|
||||
readonly isSuperuser: boolean;
|
||||
readonly isXcm: boolean;
|
||||
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersKey (479) */
|
||||
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
|
||||
readonly type: 'Inflation';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (480) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersKey extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly isMaxInflation: boolean;
|
||||
readonly isIdealStake: boolean;
|
||||
readonly isFalloff: boolean;
|
||||
readonly isUseAuctionSlots: boolean;
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersValue (482) */
|
||||
interface StagingKusamaRuntimeRuntimeParametersValue extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
|
||||
readonly type: 'Inflation';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (483) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersValue extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly asMinInflation: Perquintill;
|
||||
readonly isMaxInflation: boolean;
|
||||
readonly asMaxInflation: Perquintill;
|
||||
readonly isIdealStake: boolean;
|
||||
readonly asIdealStake: Perquintill;
|
||||
readonly isFalloff: boolean;
|
||||
readonly asFalloff: Perquintill;
|
||||
readonly isUseAuctionSlots: boolean;
|
||||
readonly asUseAuctionSlots: bool;
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7CandidateReceipt (508) */
|
||||
interface PolkadotPrimitivesV7CandidateReceipt extends Struct {
|
||||
readonly descriptor: PolkadotPrimitivesV7CandidateDescriptor;
|
||||
readonly commitmentsHash: H256;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletEvent (516) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandPalletEvent extends Enum {
|
||||
readonly isOnDemandOrderPlaced: boolean;
|
||||
readonly asOnDemandOrderPlaced: {
|
||||
readonly paraId: u32;
|
||||
readonly spotPrice: u128;
|
||||
readonly orderedBy: AccountId32;
|
||||
} & Struct;
|
||||
readonly isSpotTrafficSet: boolean;
|
||||
readonly asSpotTrafficSet: {
|
||||
readonly traffic: u128;
|
||||
readonly isSpotPriceSet: boolean;
|
||||
readonly asSpotPriceSet: {
|
||||
readonly spotPrice: u128;
|
||||
} & Struct;
|
||||
readonly type: 'OnDemandOrderPlaced' | 'SpotTrafficSet';
|
||||
readonly type: 'OnDemandOrderPlaced' | 'SpotPriceSet';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsCoretimePalletEvent (517) */
|
||||
/** @name PolkadotRuntimeParachainsCoretimePalletEvent (521) */
|
||||
interface PolkadotRuntimeParachainsCoretimePalletEvent extends Enum {
|
||||
readonly isRevenueInfoRequested: boolean;
|
||||
readonly asRevenueInfoRequested: {
|
||||
@@ -183,7 +463,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'RevenueInfoRequested' | 'CoreAssigned';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeHoldReason (566) */
|
||||
/** @name StagingKusamaRuntimeRuntimeHoldReason (570) */
|
||||
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isPreimage: boolean;
|
||||
readonly asPreimage: PalletPreimageHoldReason;
|
||||
@@ -192,58 +472,136 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Preimage' | 'Nis';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeFreezeReason (572) */
|
||||
/** @name StagingKusamaRuntimeRuntimeFreezeReason (576) */
|
||||
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
|
||||
readonly isNominationPools: boolean;
|
||||
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
||||
readonly type: 'NominationPools';
|
||||
}
|
||||
|
||||
/** @name PalletBalancesIdAmount (742) */
|
||||
interface PalletBalancesIdAmount extends Struct {
|
||||
/** @name FrameSupportTokensMiscIdAmount (749) */
|
||||
interface FrameSupportTokensMiscIdAmount extends Struct {
|
||||
readonly id: Null;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder (841) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder extends Struct {
|
||||
readonly paraId: u32;
|
||||
/** @name PolkadotPrimitivesV7ScrapedOnChainVotes (791) */
|
||||
interface PolkadotPrimitivesV7ScrapedOnChainVotes extends Struct {
|
||||
readonly session: u32;
|
||||
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesV7CandidateReceipt, Vec<ITuple<[u32, PolkadotPrimitivesV7ValidityAttestation]>>]>>;
|
||||
readonly disputes: Vec<PolkadotPrimitivesV7DisputeStatementSet>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount (842) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount extends Struct {
|
||||
readonly coreIdx: u32;
|
||||
/** @name PolkadotRuntimeParachainsParasUpgradeStrategy (809) */
|
||||
interface PolkadotRuntimeParachainsParasUpgradeStrategy extends Enum {
|
||||
readonly isSetGoAheadSignal: boolean;
|
||||
readonly isApplyAtExpectedBlock: boolean;
|
||||
readonly type: 'SetGoAheadSignal' | 'ApplyAtExpectedBlock';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7UpgradeGoAhead (818) */
|
||||
interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum {
|
||||
readonly isAbort: boolean;
|
||||
readonly isGoAhead: boolean;
|
||||
readonly type: 'Abort' | 'GoAhead';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7UpgradeRestriction (819) */
|
||||
interface PolkadotPrimitivesV7UpgradeRestriction extends Enum {
|
||||
readonly isPresent: boolean;
|
||||
readonly type: 'Present';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7SessionInfo (835) */
|
||||
interface PolkadotPrimitivesV7SessionInfo extends Struct {
|
||||
readonly activeValidatorIndices: Vec<u32>;
|
||||
readonly randomSeed: U8aFixed;
|
||||
readonly disputePeriod: u32;
|
||||
readonly validators: PolkadotPrimitivesV7IndexedVecValidatorIndex;
|
||||
readonly discoveryKeys: Vec<SpAuthorityDiscoveryAppPublic>;
|
||||
readonly assignmentKeys: Vec<PolkadotPrimitivesV7AssignmentAppPublic>;
|
||||
readonly validatorGroups: PolkadotPrimitivesV7IndexedVecGroupIndex;
|
||||
readonly nCores: u32;
|
||||
readonly zerothDelayTrancheWidth: u32;
|
||||
readonly relayVrfModuloSamples: u32;
|
||||
readonly nDelayTranches: u32;
|
||||
readonly noShowSlots: u32;
|
||||
readonly neededApprovals: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7IndexedVecValidatorIndex (836) */
|
||||
interface PolkadotPrimitivesV7IndexedVecValidatorIndex extends Vec<PolkadotPrimitivesV7ValidatorAppPublic> {}
|
||||
|
||||
/** @name PolkadotPrimitivesV7IndexedVecGroupIndex (837) */
|
||||
interface PolkadotPrimitivesV7IndexedVecGroupIndex extends Vec<Vec<u32>> {}
|
||||
|
||||
/** @name PolkadotPrimitivesV7DisputeState (839) */
|
||||
interface PolkadotPrimitivesV7DisputeState extends Struct {
|
||||
readonly validatorsFor: BitVec;
|
||||
readonly validatorsAgainst: BitVec;
|
||||
readonly start: u32;
|
||||
readonly concludedAt: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV7SlashingPendingSlashes (842) */
|
||||
interface PolkadotPrimitivesV7SlashingPendingSlashes extends Struct {
|
||||
readonly keys_: BTreeMap<u32, PolkadotPrimitivesV7ValidatorAppPublic>;
|
||||
readonly kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount (847) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount extends Struct {
|
||||
readonly coreIndex: u32;
|
||||
readonly count: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletError (843) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandPalletError extends Enum {
|
||||
readonly isInvalidParaId: boolean;
|
||||
readonly isQueueFull: boolean;
|
||||
readonly isSpotPriceHigherThanMaxAmount: boolean;
|
||||
readonly type: 'InvalidParaId' | 'QueueFull' | 'SpotPriceHigherThanMaxAmount';
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType (848) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType extends Struct {
|
||||
readonly traffic: u128;
|
||||
readonly nextIndex: u32;
|
||||
readonly smallestIndex: u32;
|
||||
readonly freedIndices: BinaryHeapReverseQueueIndex;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeSchedule (845) */
|
||||
/** @name BinaryHeapReverseQueueIndex (850) */
|
||||
interface BinaryHeapReverseQueueIndex extends Vec<u32> {}
|
||||
|
||||
/** @name BinaryHeapEnqueuedOrder (853) */
|
||||
interface BinaryHeapEnqueuedOrder extends Vec<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder> {}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder (854) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder extends Struct {
|
||||
readonly paraId: u32;
|
||||
readonly idx: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletError (858) */
|
||||
interface PolkadotRuntimeParachainsAssignerOnDemandPalletError extends Enum {
|
||||
readonly isQueueFull: boolean;
|
||||
readonly isSpotPriceHigherThanMaxAmount: boolean;
|
||||
readonly type: 'QueueFull' | 'SpotPriceHigherThanMaxAmount';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeSchedule (860) */
|
||||
interface PolkadotRuntimeParachainsAssignerCoretimeSchedule extends Struct {
|
||||
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
|
||||
readonly endHint: Option<u32>;
|
||||
readonly nextSchedule: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (846) */
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (861) */
|
||||
interface PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor extends Struct {
|
||||
readonly queue: Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>;
|
||||
readonly currentWork: Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (848) */
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (863) */
|
||||
interface PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor extends Struct {
|
||||
readonly first: u32;
|
||||
readonly last: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (850) */
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (865) */
|
||||
interface PolkadotRuntimeParachainsAssignerCoretimeWorkState extends Struct {
|
||||
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]>>;
|
||||
readonly endHint: Option<u32>;
|
||||
@@ -251,13 +609,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly step: u16;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (853) */
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (868) */
|
||||
interface PolkadotRuntimeParachainsAssignerCoretimeAssignmentState extends Struct {
|
||||
readonly ratio: u16;
|
||||
readonly remaining: u16;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (854) */
|
||||
/** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (869) */
|
||||
interface PolkadotRuntimeParachainsAssignerCoretimePalletError extends Enum {
|
||||
readonly isAssignmentsEmpty: boolean;
|
||||
readonly isOverScheduled: boolean;
|
||||
@@ -268,13 +626,15 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'AssignmentsEmpty' | 'OverScheduled' | 'UnderScheduled' | 'DisallowedInsert' | 'DuplicateInsert' | 'AssignmentsNotSorted';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsCoretimePalletError (868) */
|
||||
/** @name PolkadotRuntimeParachainsCoretimePalletError (882) */
|
||||
interface PolkadotRuntimeParachainsCoretimePalletError extends Enum {
|
||||
readonly isNotBroker: boolean;
|
||||
readonly type: 'NotBroker';
|
||||
readonly isRequestedFutureRevenue: boolean;
|
||||
readonly isAssetTransferFailed: boolean;
|
||||
readonly type: 'NotBroker' | 'RequestedFutureRevenue' | 'AssetTransferFailed';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntime (915) */
|
||||
/** @name StagingKusamaRuntimeRuntime (929) */
|
||||
type StagingKusamaRuntimeRuntime = Null;
|
||||
|
||||
} // declare module
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -5,34 +5,84 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/types/registry';
|
||||
|
||||
import type { PalletBalancesIdAmount, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimePalletError, PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerCoretimeWorkState, PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandPalletCall, PolkadotRuntimeParachainsAssignerOnDemandPalletError, PolkadotRuntimeParachainsAssignerOnDemandPalletEvent, PolkadotRuntimeParachainsCoretimePalletCall, PolkadotRuntimeParachainsCoretimePalletError, PolkadotRuntimeParachainsCoretimePalletEvent, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimePalletImOnlinePalletEvent, StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
|
||||
import type { BinaryHeapEnqueuedOrder, BinaryHeapReverseQueueIndex, FrameSupportTokensMiscIdAmount, PolkadotPrimitivesV7ApprovalVotingParams, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, PolkadotPrimitivesV7BackedCandidate, PolkadotPrimitivesV7CandidateCommitments, PolkadotPrimitivesV7CandidateDescriptor, PolkadotPrimitivesV7CandidateReceipt, PolkadotPrimitivesV7CollatorAppPublic, PolkadotPrimitivesV7CollatorAppSignature, PolkadotPrimitivesV7CommittedCandidateReceipt, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7DisputeStatement, PolkadotPrimitivesV7DisputeStatementSet, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ExecutorParamsExecutorParam, PolkadotPrimitivesV7IndexedVecGroupIndex, PolkadotPrimitivesV7IndexedVecValidatorIndex, PolkadotPrimitivesV7InherentData, PolkadotPrimitivesV7InvalidDisputeStatementKind, PolkadotPrimitivesV7PvfCheckStatement, PolkadotPrimitivesV7PvfExecKind, PolkadotPrimitivesV7PvfPrepKind, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SignedUncheckedSigned, PolkadotPrimitivesV7SlashingDisputeProof, PolkadotPrimitivesV7SlashingDisputesTimeSlot, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7SlashingSlashingOffenceKind, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidDisputeStatementKind, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotPrimitivesV7ValidatorAppSignature, PolkadotPrimitivesV7ValidityAttestation, PolkadotPrimitivesVstagingSchedulerParams, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimePalletError, PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerCoretimeWorkState, PolkadotRuntimeParachainsAssignerOnDemandPalletCall, PolkadotRuntimeParachainsAssignerOnDemandPalletError, PolkadotRuntimeParachainsAssignerOnDemandPalletEvent, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsCoretimePalletCall, PolkadotRuntimeParachainsCoretimePalletError, PolkadotRuntimeParachainsCoretimePalletEvent, PolkadotRuntimeParachainsParasUpgradeStrategy, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, XcmV3OriginKind } from '@polkadot/types/lookup';
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
interface InterfaceTypes {
|
||||
PalletBalancesIdAmount: PalletBalancesIdAmount;
|
||||
BinaryHeapEnqueuedOrder: BinaryHeapEnqueuedOrder;
|
||||
BinaryHeapReverseQueueIndex: BinaryHeapReverseQueueIndex;
|
||||
FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount;
|
||||
PolkadotPrimitivesV7ApprovalVotingParams: PolkadotPrimitivesV7ApprovalVotingParams;
|
||||
PolkadotPrimitivesV7AssignmentAppPublic: PolkadotPrimitivesV7AssignmentAppPublic;
|
||||
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
|
||||
PolkadotPrimitivesV7BackedCandidate: PolkadotPrimitivesV7BackedCandidate;
|
||||
PolkadotPrimitivesV7CandidateCommitments: PolkadotPrimitivesV7CandidateCommitments;
|
||||
PolkadotPrimitivesV7CandidateDescriptor: PolkadotPrimitivesV7CandidateDescriptor;
|
||||
PolkadotPrimitivesV7CandidateReceipt: PolkadotPrimitivesV7CandidateReceipt;
|
||||
PolkadotPrimitivesV7CollatorAppPublic: PolkadotPrimitivesV7CollatorAppPublic;
|
||||
PolkadotPrimitivesV7CollatorAppSignature: PolkadotPrimitivesV7CollatorAppSignature;
|
||||
PolkadotPrimitivesV7CommittedCandidateReceipt: PolkadotPrimitivesV7CommittedCandidateReceipt;
|
||||
PolkadotPrimitivesV7DisputeState: PolkadotPrimitivesV7DisputeState;
|
||||
PolkadotPrimitivesV7DisputeStatement: PolkadotPrimitivesV7DisputeStatement;
|
||||
PolkadotPrimitivesV7DisputeStatementSet: PolkadotPrimitivesV7DisputeStatementSet;
|
||||
PolkadotPrimitivesV7ExecutorParams: PolkadotPrimitivesV7ExecutorParams;
|
||||
PolkadotPrimitivesV7ExecutorParamsExecutorParam: PolkadotPrimitivesV7ExecutorParamsExecutorParam;
|
||||
PolkadotPrimitivesV7IndexedVecGroupIndex: PolkadotPrimitivesV7IndexedVecGroupIndex;
|
||||
PolkadotPrimitivesV7IndexedVecValidatorIndex: PolkadotPrimitivesV7IndexedVecValidatorIndex;
|
||||
PolkadotPrimitivesV7InherentData: PolkadotPrimitivesV7InherentData;
|
||||
PolkadotPrimitivesV7InvalidDisputeStatementKind: PolkadotPrimitivesV7InvalidDisputeStatementKind;
|
||||
PolkadotPrimitivesV7PvfCheckStatement: PolkadotPrimitivesV7PvfCheckStatement;
|
||||
PolkadotPrimitivesV7PvfExecKind: PolkadotPrimitivesV7PvfExecKind;
|
||||
PolkadotPrimitivesV7PvfPrepKind: PolkadotPrimitivesV7PvfPrepKind;
|
||||
PolkadotPrimitivesV7ScrapedOnChainVotes: PolkadotPrimitivesV7ScrapedOnChainVotes;
|
||||
PolkadotPrimitivesV7SessionInfo: PolkadotPrimitivesV7SessionInfo;
|
||||
PolkadotPrimitivesV7SignedUncheckedSigned: PolkadotPrimitivesV7SignedUncheckedSigned;
|
||||
PolkadotPrimitivesV7SlashingDisputeProof: PolkadotPrimitivesV7SlashingDisputeProof;
|
||||
PolkadotPrimitivesV7SlashingDisputesTimeSlot: PolkadotPrimitivesV7SlashingDisputesTimeSlot;
|
||||
PolkadotPrimitivesV7SlashingPendingSlashes: PolkadotPrimitivesV7SlashingPendingSlashes;
|
||||
PolkadotPrimitivesV7SlashingSlashingOffenceKind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
|
||||
PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead;
|
||||
PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction;
|
||||
PolkadotPrimitivesV7ValidDisputeStatementKind: PolkadotPrimitivesV7ValidDisputeStatementKind;
|
||||
PolkadotPrimitivesV7ValidatorAppPublic: PolkadotPrimitivesV7ValidatorAppPublic;
|
||||
PolkadotPrimitivesV7ValidatorAppSignature: PolkadotPrimitivesV7ValidatorAppSignature;
|
||||
PolkadotPrimitivesV7ValidityAttestation: PolkadotPrimitivesV7ValidityAttestation;
|
||||
PolkadotPrimitivesVstagingSchedulerParams: PolkadotPrimitivesVstagingSchedulerParams;
|
||||
PolkadotRuntimeParachainsAssignerCoretimeAssignmentState: PolkadotRuntimeParachainsAssignerCoretimeAssignmentState;
|
||||
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor: PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor;
|
||||
PolkadotRuntimeParachainsAssignerCoretimePalletError: PolkadotRuntimeParachainsAssignerCoretimePalletError;
|
||||
PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor: PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor;
|
||||
PolkadotRuntimeParachainsAssignerCoretimeSchedule: PolkadotRuntimeParachainsAssignerCoretimeSchedule;
|
||||
PolkadotRuntimeParachainsAssignerCoretimeWorkState: PolkadotRuntimeParachainsAssignerCoretimeWorkState;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount: PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder: PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandPalletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCall;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandPalletError: PolkadotRuntimeParachainsAssignerOnDemandPalletError;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandPalletEvent: PolkadotRuntimeParachainsAssignerOnDemandPalletEvent;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount: PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder: PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder;
|
||||
PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType;
|
||||
PolkadotRuntimeParachainsCoretimePalletCall: PolkadotRuntimeParachainsCoretimePalletCall;
|
||||
PolkadotRuntimeParachainsCoretimePalletError: PolkadotRuntimeParachainsCoretimePalletError;
|
||||
PolkadotRuntimeParachainsCoretimePalletEvent: PolkadotRuntimeParachainsCoretimePalletEvent;
|
||||
PolkadotRuntimeParachainsParasUpgradeStrategy: PolkadotRuntimeParachainsParasUpgradeStrategy;
|
||||
StagingKusamaRuntimeDynamicParamsInflationFalloff: StagingKusamaRuntimeDynamicParamsInflationFalloff;
|
||||
StagingKusamaRuntimeDynamicParamsInflationIdealStake: StagingKusamaRuntimeDynamicParamsInflationIdealStake;
|
||||
StagingKusamaRuntimeDynamicParamsInflationMaxInflation: StagingKusamaRuntimeDynamicParamsInflationMaxInflation;
|
||||
StagingKusamaRuntimeDynamicParamsInflationMinInflation: StagingKusamaRuntimeDynamicParamsInflationMinInflation;
|
||||
StagingKusamaRuntimeDynamicParamsInflationParameters: StagingKusamaRuntimeDynamicParamsInflationParameters;
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersKey: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersValue: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
|
||||
StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots: StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots;
|
||||
StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
|
||||
StagingKusamaRuntimeNposCompactSolution24: StagingKusamaRuntimeNposCompactSolution24;
|
||||
StagingKusamaRuntimeOriginCaller: StagingKusamaRuntimeOriginCaller;
|
||||
StagingKusamaRuntimePalletImOnlinePalletEvent: StagingKusamaRuntimePalletImOnlinePalletEvent;
|
||||
StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public: StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public;
|
||||
StagingKusamaRuntimeProxyType: StagingKusamaRuntimeProxyType;
|
||||
StagingKusamaRuntimeRuntime: StagingKusamaRuntimeRuntime;
|
||||
StagingKusamaRuntimeRuntimeFreezeReason: StagingKusamaRuntimeRuntimeFreezeReason;
|
||||
StagingKusamaRuntimeRuntimeHoldReason: StagingKusamaRuntimeRuntimeHoldReason;
|
||||
StagingKusamaRuntimeRuntimeParameters: StagingKusamaRuntimeRuntimeParameters;
|
||||
StagingKusamaRuntimeRuntimeParametersKey: StagingKusamaRuntimeRuntimeParametersKey;
|
||||
StagingKusamaRuntimeRuntimeParametersValue: StagingKusamaRuntimeRuntimeParametersValue;
|
||||
StagingKusamaRuntimeSessionKeys: StagingKusamaRuntimeSessionKeys;
|
||||
XcmV3OriginKind: XcmV3OriginKind;
|
||||
} // InterfaceTypes
|
||||
} // declare module
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/x-bigint": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-augment": "12.2.2",
|
||||
"@polkadot/types-support": "12.2.2",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-augment": "13.0.1",
|
||||
"@polkadot/types-support": "13.0.1",
|
||||
"@polkadot/util-crypto": "^13.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import { compactFromU8aLim, identity, isHex, isU8a, logger, stringify, u8aToU8a
|
||||
import { AbstractArray } from '../abstract/Array.js';
|
||||
import { decodeU8aVec, typeToConstructor } from '../utils/index.js';
|
||||
|
||||
const MAX_LENGTH = 64 * 1024;
|
||||
const MAX_LENGTH = 512 * 1024;
|
||||
|
||||
const l = logger('Vec');
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "12.2.2"
|
||||
"@polkadot/types": "13.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^13.0.2",
|
||||
"@polkadot/types": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/types-create": "12.2.2",
|
||||
"@polkadot/types": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/types-create": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "12.2.2"
|
||||
"@polkadot/api": "13.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -5270,5 +5270,103 @@ export const upgrades: ChainUpgradesExpanded = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
24786390,
|
||||
1003000,
|
||||
[
|
||||
[
|
||||
"0xc51ff1fa3f5d0cca",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
5
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
11
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x2a5e924655399e60",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x6ff52ee858e6c5bd",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91b1c8b16328eb92",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x9ffb505aa738d69c",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
@@ -3626,5 +3626,87 @@ export const upgrades: ChainUpgradesExpanded = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
21800141,
|
||||
1002007,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
10
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x2a5e924655399e60",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
@@ -5674,5 +5674,283 @@ export const upgrades: ChainUpgradesExpanded = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
21300429,
|
||||
1013000,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
5
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
11
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x2a5e924655399e60",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x6ff52ee858e6c5bd",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91b1c8b16328eb92",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
21460051,
|
||||
1014000,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
5
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
11
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x2a5e924655399e60",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x6ff52ee858e6c5bd",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91b1c8b16328eb92",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x9ffb505aa738d69c",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
21925427,
|
||||
1015000,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
5
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
11
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x2a5e924655399e60",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x6ff52ee858e6c5bd",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91b1c8b16328eb92",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x9ffb505aa738d69c",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
@@ -22,5 +22,5 @@ export const upgrades: ChainUpgradesRaw = [
|
||||
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
|
||||
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002],
|
||||
[22515962, 1001003], [22790000, 1002000], [23176015, 1002001], [23450253, 1002004], [23565293, 1002005],
|
||||
[23780224, 1002006]
|
||||
[23780224, 1002006], [24786390, 1003000]
|
||||
];
|
||||
|
||||
@@ -15,5 +15,5 @@ export const upgrades: ChainUpgradesRaw = [
|
||||
[11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300],
|
||||
[13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430],
|
||||
[17840000, 9431], [18407475, 1000001], [19551000, 1001002], [20181758, 1001003],
|
||||
[20438530, 1002000], [21169168, 1002004], [21455374, 1002005], [21558004, 1002006]
|
||||
[20438530, 1002000], [21169168, 1002004], [21455374, 1002005], [21558004, 1002006], [21800141, 1002007]
|
||||
];
|
||||
|
||||
@@ -21,5 +21,6 @@ export const upgrades: ChainUpgradesRaw = [
|
||||
[14849830, 9390], [15146832, 9400], [15332317, 9401], [15661793, 9420], [16165469, 9430],
|
||||
[18293984, 102000], [18293991, 103000], [18451783, 104000], [18679741, 1005000], [19166695, 1006000],
|
||||
[19234157, 1006001], [19542944, 1007000], [19621258, 1007001], [19761406, 1008000], [20056997, 1009000],
|
||||
[20368318, 1010000], [20649086, 1011000], [21217837, 1011001]
|
||||
[20368318, 1010000], [20649086, 1011000], [21217837, 1011001], [21300429, 1013000], [21460051, 1014000],
|
||||
[21925427, 1015000]
|
||||
];
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -9,12 +9,16 @@ export default {
|
||||
"specName": "kusama",
|
||||
"implName": "parity-kusama",
|
||||
"authoringVersion": 2,
|
||||
"specVersion": 1002006,
|
||||
"specVersion": 1003000,
|
||||
"implVersion": 0,
|
||||
"apis": [
|
||||
[
|
||||
"0xc51ff1fa3f5d0cca",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
5
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
@@ -34,7 +38,7 @@ export default {
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
10
|
||||
11
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
@@ -76,6 +80,18 @@ export default {
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x6ff52ee858e6c5bd",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91b1c8b16328eb92",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x9ffb505aa738d69c",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -86,7 +86,7 @@ export default {
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
3
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -18,20 +18,20 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.2.2",
|
||||
"version": "13.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/types-augment": "12.2.2",
|
||||
"@polkadot/types-codec": "12.2.2",
|
||||
"@polkadot/types-create": "12.2.2",
|
||||
"@polkadot/types-augment": "13.0.1",
|
||||
"@polkadot/types-codec": "13.0.1",
|
||||
"@polkadot/types-create": "13.0.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/types-support": "12.2.2"
|
||||
"@polkadot/types-support": "13.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber, IOption }
|
||||
import type { GenericExtrinsicEra } from './ExtrinsicEra.js';
|
||||
|
||||
import { AbstractBase } from '@polkadot/types-codec';
|
||||
import { u8aToHex } from '@polkadot/util';
|
||||
import { hexToU8a, isHex, u8aToHex } from '@polkadot/util';
|
||||
|
||||
import { DEFAULT_VERSION } from './constants.js';
|
||||
|
||||
@@ -36,6 +36,24 @@ function decodeExtrinsicPayload (registry: Registry, value?: GenericExtrinsicPay
|
||||
return value.unwrap();
|
||||
}
|
||||
|
||||
/**
|
||||
* HACK: In order to change the assetId from `number | object` to HexString (While maintaining the true type ie Option<TAssetConversion>),
|
||||
* to allow for easier generalization of the SignerPayloadJSON interface the below check is necessary. The ExtrinsicPayloadV4 class does not like
|
||||
* a value passed in as an Option, and can't decode it properly. Therefore, we ensure to convert the following below, and then pass the option as a unwrapped
|
||||
* JSON value.
|
||||
*
|
||||
* ref: https://github.com/polkadot-js/api/pull/5968
|
||||
* ref: https://github.com/polkadot-js/api/pull/5967
|
||||
*/
|
||||
if (value && (value as ExtrinsicPayloadValue).assetId && isHex((value as ExtrinsicPayloadValue).assetId)) {
|
||||
const adjustedPayload = {
|
||||
...(value as ExtrinsicPayloadValue),
|
||||
assetId: registry.createType('TAssetConversion', hexToU8a((value as ExtrinsicPayloadValue).assetId)).toJSON()
|
||||
};
|
||||
|
||||
return registry.createTypeUnsafe(VERSIONS[version] || VERSIONS[0], [adjustedPayload, { version }]);
|
||||
}
|
||||
|
||||
return registry.createTypeUnsafe(VERSIONS[version] || VERSIONS[0], [value, { version }]);
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
|
||||
import { u8aToHex } from '@polkadot/util';
|
||||
|
||||
import { TypeRegistry } from '../create/index.js';
|
||||
import { Metadata } from '../metadata/index.js';
|
||||
@@ -18,7 +19,7 @@ describe('SignerPayload', (): void => {
|
||||
const TEST = {
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
|
||||
assetId: '0x0002043205ed01',
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x00231d30',
|
||||
era: '0x0703',
|
||||
@@ -35,6 +36,11 @@ describe('SignerPayload', (): void => {
|
||||
withSignedTransaction: false
|
||||
};
|
||||
|
||||
const TEST_WITH_ASSETID_HEX = {
|
||||
...TEST,
|
||||
assetId: '0x010002043205ed01'
|
||||
};
|
||||
|
||||
it('creates a valid JSON output', (): void => {
|
||||
expect(
|
||||
new SignerPayload(registry, {
|
||||
@@ -57,7 +63,7 @@ describe('SignerPayload', (): void => {
|
||||
).toEqual({
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
|
||||
assetId: '0x010002043205ed01',
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x00231d30',
|
||||
era: '0x0703',
|
||||
@@ -88,12 +94,12 @@ describe('SignerPayload', (): void => {
|
||||
expect(
|
||||
test.toPayload().assetId
|
||||
// eslint-disable-next-line sort-keys
|
||||
).toEqual({ parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } });
|
||||
).toEqual('0x010002043205ed01');
|
||||
|
||||
expect(
|
||||
new SignerPayload(registry, { assetId: 0 }).toPayload().assetId
|
||||
// eslint-disable-next-line sort-keys
|
||||
).toEqual({ parents: 0, interior: { here: null } });
|
||||
).toEqual('0x010000');
|
||||
});
|
||||
|
||||
it('re-constructs from JSON', (): void => {
|
||||
@@ -102,7 +108,7 @@ describe('SignerPayload', (): void => {
|
||||
...TEST,
|
||||
runtimeVersion: { specVersion: 0x06, transactionVersion: 0x07 }
|
||||
}).toPayload()
|
||||
).toEqual(TEST);
|
||||
).toEqual(TEST_WITH_ASSETID_HEX);
|
||||
});
|
||||
|
||||
it('re-constructs from itself', (): void => {
|
||||
@@ -114,14 +120,12 @@ describe('SignerPayload', (): void => {
|
||||
runtimeVersion: { specVersion: 0x06, transactionVersion: 0x07 }
|
||||
})
|
||||
).toPayload()
|
||||
).toEqual(TEST);
|
||||
).toEqual(TEST_WITH_ASSETID_HEX);
|
||||
});
|
||||
|
||||
it('can be used as a feed to ExtrinsicPayload', (): void => {
|
||||
const signer = new SignerPayload(registry, {
|
||||
...TEST,
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } }
|
||||
...TEST
|
||||
}).toPayload();
|
||||
const payload = registry.createType('ExtrinsicPayload', signer, { version: signer.version });
|
||||
|
||||
@@ -130,11 +134,11 @@ describe('SignerPayload', (): void => {
|
||||
expect(payload.blockHash.toHex()).toEqual(TEST.blockHash);
|
||||
expect(payload.nonce.eq(TEST.nonce)).toBe(true);
|
||||
expect(payload.tip.eq(TEST.tip)).toBe(true);
|
||||
expect(payload.assetId.isSome && payload.assetId
|
||||
?.eq(registry.createType('MultiLocation', {
|
||||
expect(u8aToHex(payload.assetId?.toU8a()))
|
||||
.toEqual(u8aToHex(registry.createType('Option<MultiLocation>', {
|
||||
// eslint-disable-next-line sort-keys
|
||||
parents: 0, interior: { X2: [{ palletInstance: 50 }, { generalIndex: 123 }] }
|
||||
}))).toBe(true);
|
||||
}).toU8a()));
|
||||
});
|
||||
|
||||
const TEST_WITHOUT_CHECK = {
|
||||
|
||||
@@ -159,7 +159,7 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
|
||||
// the known defaults as managed explicitly and has different
|
||||
// formatting in cases, e.g. we mostly expose a hex format here
|
||||
address: this.address.toString(),
|
||||
assetId: this.assetId ? this.assetId.toJSON() : null,
|
||||
assetId: this.assetId && this.assetId.isSome ? this.assetId.toHex() : null,
|
||||
blockHash: this.blockHash.toHex(),
|
||||
blockNumber: this.blockNumber.toHex(),
|
||||
era: this.era.toHex(),
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { DefinitionCall, DefinitionsCall } from '../../types/index.js';
|
||||
|
||||
const BEEFY_V1_V3: Record<string, DefinitionCall> = {
|
||||
const BEEFY_V3: Record<string, DefinitionCall> = {
|
||||
beefy_genesis: {
|
||||
description: 'Return the block number where BEEFY consensus is enabled/started',
|
||||
params: [],
|
||||
@@ -23,6 +23,15 @@ const BEEFY_V1_V3: Record<string, DefinitionCall> = {
|
||||
],
|
||||
type: 'Option<OpaqueKeyOwnershipProof>'
|
||||
},
|
||||
validator_set: {
|
||||
description: 'Return the current active BEEFY validator set',
|
||||
params: [],
|
||||
type: 'Option<ValidatorSet>'
|
||||
}
|
||||
};
|
||||
|
||||
const BEEFY_V1_V3: Record<string, DefinitionCall> = {
|
||||
...BEEFY_V3,
|
||||
submit_report_equivocation_unsigned_extrinsic: {
|
||||
description: 'Submits an unsigned extrinsic to report an equivocation.',
|
||||
params: [
|
||||
@@ -36,11 +45,24 @@ const BEEFY_V1_V3: Record<string, DefinitionCall> = {
|
||||
}
|
||||
],
|
||||
type: 'Option<Null>'
|
||||
},
|
||||
validator_set: {
|
||||
description: 'Return the current active BEEFY validator set',
|
||||
params: [],
|
||||
type: 'Option<ValidatorSet>'
|
||||
}
|
||||
};
|
||||
|
||||
const BEEFY_V4: Record<string, DefinitionCall> = {
|
||||
...BEEFY_V3,
|
||||
submit_report_double_voting_unsigned_extrinsic: {
|
||||
description: 'Submits an unsigned extrinsic to report a double voting equivocation.',
|
||||
params: [
|
||||
{
|
||||
name: 'equivocationProof',
|
||||
type: 'SpConsensusBeefyDoubleVotingProof'
|
||||
},
|
||||
{
|
||||
name: 'keyOwnerProof',
|
||||
type: 'OpaqueKeyOwnershipProof'
|
||||
}
|
||||
],
|
||||
type: 'Option<Null>'
|
||||
}
|
||||
};
|
||||
|
||||
@@ -59,6 +81,10 @@ const BEEFY_MMR_V1: Record<string, DefinitionCall> = {
|
||||
|
||||
export const runtime: DefinitionsCall = {
|
||||
BeefyApi: [
|
||||
{
|
||||
methods: BEEFY_V4,
|
||||
version: 4
|
||||
},
|
||||
{
|
||||
methods: BEEFY_V1_V3,
|
||||
version: 3
|
||||
|
||||
@@ -122,7 +122,7 @@ describe('runtime definitions', (): void => {
|
||||
for (const { methods, version } of versions) {
|
||||
describe(`version ${version}`, (): void => {
|
||||
const methodsEntries = Object.entries<DefinitionCall>(methods);
|
||||
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'];
|
||||
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedAssets, FungiblesAccessError>', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'];
|
||||
|
||||
for (const [key, { params, type }] of methodsEntries) {
|
||||
describe(`${key}`, (): void => {
|
||||
|
||||
@@ -30,7 +30,7 @@ export const runtime: DefinitionsCall = {
|
||||
type: 'AccountId'
|
||||
}
|
||||
],
|
||||
type: 'Result<XcmVersionedMultiAssets, FungiblesAccessError>'
|
||||
type: 'Result<XcmVersionedAssets, FungiblesAccessError>'
|
||||
}
|
||||
},
|
||||
version: 2
|
||||
|
||||
@@ -83,10 +83,7 @@ const PATHS_ALIAS = splitNamespace([
|
||||
'ink::env::types::*',
|
||||
'ink::primitives::types::*',
|
||||
'ink_env::types::*',
|
||||
'ink_primitives::types::*',
|
||||
// noir
|
||||
'np_runtime::accountname::AccountName',
|
||||
'np_runtime::universaladdress::UniversalAddress'
|
||||
'ink_primitives::types::*'
|
||||
]);
|
||||
|
||||
// Mappings for types that should be converted to set via BitVec
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '13.0.1' };
|
||||
|
||||
@@ -38,7 +38,7 @@ export interface SignerPayloadJSON {
|
||||
/**
|
||||
* @description The id of the asset used to pay fees, in hex
|
||||
*/
|
||||
assetId?: number | object;
|
||||
assetId?: HexString;
|
||||
|
||||
/**
|
||||
* @description The checkpoint hash of the block, in hex
|
||||
@@ -220,7 +220,7 @@ export interface ExtrinsicPayloadValue {
|
||||
specVersion: AnyNumber;
|
||||
tip: AnyNumber;
|
||||
transactionVersion: AnyNumber;
|
||||
assetId?: AnyNumber | object;
|
||||
assetId?: HexString;
|
||||
mode?: AnyNumber;
|
||||
metadataHash?: AnyU8a;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
"extends": "@polkadot/dev/config/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
||||
"noUnusedLocals": false,
|
||||
"paths": {
|
||||
"@polkadot/api": ["api/src/index.ts"],
|
||||
"@polkadot/api/base": ["api/src/base/index.ts"],
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"composite": true
|
||||
"composite": true,
|
||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
||||
"noUnusedLocals": false
|
||||
},
|
||||
"files": [],
|
||||
"references": [
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./packages",
|
||||
"composite": false
|
||||
"composite": false,
|
||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
||||
"noUnusedLocals": false
|
||||
},
|
||||
"include": [
|
||||
"packages/**/src/**/*",
|
||||
|
||||
+3
-1
@@ -3,7 +3,9 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./packages",
|
||||
"composite": false,
|
||||
"resolveJsonModule": true
|
||||
"resolveJsonModule": true,
|
||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
||||
"noUnusedLocals": false
|
||||
},
|
||||
"include": [
|
||||
"packages/**/src/**/*",
|
||||
|
||||
@@ -380,93 +380,96 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1"
|
||||
checksum: 10/6ee0916504ab702ac40eb1f983c21246738c1cd8624b35886a075430271800543d32ba5a7f9e6a0cb078880f9756db1bdc83cb86c42b39d326e780a8cf9bf22a
|
||||
"@polkadot-api/json-rpc-provider-proxy@npm:^0.1.0":
|
||||
version: 0.1.0
|
||||
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.1.0"
|
||||
checksum: 10/1a232337a4f6f32f3ec0350d5aaceaab21547ccee3cca63318d4b9238982efa5ff2406b033c320318c72d067b73508c0a1af21eb47acabaff714c1c21477bafa
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/json-rpc-provider@npm:0.0.1":
|
||||
"@polkadot-api/json-rpc-provider@npm:0.0.1, @polkadot-api/json-rpc-provider@npm:^0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1"
|
||||
checksum: 10/1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/metadata-builders@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/metadata-builders@npm:0.0.1"
|
||||
"@polkadot-api/metadata-builders@npm:0.3.2":
|
||||
version: 0.3.2
|
||||
resolution: "@polkadot-api/metadata-builders@npm:0.3.2"
|
||||
dependencies:
|
||||
"@polkadot-api/substrate-bindings": "npm:0.0.1"
|
||||
"@polkadot-api/utils": "npm:0.0.1"
|
||||
checksum: 10/e7bf0ad10cbddf75012eaaa1b30060fb1eb142c02f7dfd8edc5a1d78a40ef078b09c85d36bf9f2ac4ab309970ba01dc648ef46745412b006e62e4ddf4f334339
|
||||
"@polkadot-api/substrate-bindings": "npm:0.6.0"
|
||||
"@polkadot-api/utils": "npm:0.1.0"
|
||||
checksum: 10/874b38e1fb92beea99b98b889143f25671f137e54113767aeabb79ff5cdf7d61cadb0121f08c7a9a40718b924d7c9a1dd700f81e7e287bc55923b0129e2a6160
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/observable-client@npm:0.1.0":
|
||||
version: 0.1.0
|
||||
resolution: "@polkadot-api/observable-client@npm:0.1.0"
|
||||
"@polkadot-api/observable-client@npm:^0.3.0":
|
||||
version: 0.3.2
|
||||
resolution: "@polkadot-api/observable-client@npm:0.3.2"
|
||||
dependencies:
|
||||
"@polkadot-api/metadata-builders": "npm:0.0.1"
|
||||
"@polkadot-api/substrate-bindings": "npm:0.0.1"
|
||||
"@polkadot-api/substrate-client": "npm:0.0.1"
|
||||
"@polkadot-api/utils": "npm:0.0.1"
|
||||
"@polkadot-api/metadata-builders": "npm:0.3.2"
|
||||
"@polkadot-api/substrate-bindings": "npm:0.6.0"
|
||||
"@polkadot-api/utils": "npm:0.1.0"
|
||||
peerDependencies:
|
||||
"@polkadot-api/substrate-client": 0.1.4
|
||||
rxjs: ">=7.8.0"
|
||||
checksum: 10/822b4b24e8b2522fa2b0d88d68d098862d36e9ef285dba7468a6ac9084a37670ef0782a9b8a00c2c4d5510a0af90b3611ea097f530bdad1b07bef63234341bf5
|
||||
checksum: 10/91b95a06e3ddd477c2489110d7cffdcfaf87a222054b437013c701dc43eac6a5d30438b1ac8fb130166ba039a67808e6199ccb3b2eaac7dcf8d2ef7a835f047b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/substrate-bindings@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/substrate-bindings@npm:0.0.1"
|
||||
"@polkadot-api/substrate-bindings@npm:0.6.0":
|
||||
version: 0.6.0
|
||||
resolution: "@polkadot-api/substrate-bindings@npm:0.6.0"
|
||||
dependencies:
|
||||
"@noble/hashes": "npm:^1.3.1"
|
||||
"@polkadot-api/utils": "npm:0.0.1"
|
||||
"@polkadot-api/utils": "npm:0.1.0"
|
||||
"@scure/base": "npm:^1.1.1"
|
||||
scale-ts: "npm:^1.6.0"
|
||||
checksum: 10/9a1a70bd571f1cf262796b445c7a005b425e8e6f855b11757442c6bbe398d4a90575cd3973c9b1918202d3c7ff7162675c349c014677a31cc70cd84f7f973f90
|
||||
checksum: 10/01926a9083f608514a55c3d23563ebef139e2963d4adbebe7dcd99b65e1a08f1551fc0e147e787a31c749402767333c96eb1399f85a6c71654cfa1cc9d26e445
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/substrate-client@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/substrate-client@npm:0.0.1"
|
||||
checksum: 10/a00521dbda6e87a2d0e860c1608dc164269c62748d60a51326452d3573abfa1d01ed79644f103f1d989c49e8c61169ed04b155d466ec9e6f09f6e424572dea48
|
||||
"@polkadot-api/substrate-client@npm:^0.1.2":
|
||||
version: 0.1.4
|
||||
resolution: "@polkadot-api/substrate-client@npm:0.1.4"
|
||||
dependencies:
|
||||
"@polkadot-api/json-rpc-provider": "npm:0.0.1"
|
||||
"@polkadot-api/utils": "npm:0.1.0"
|
||||
checksum: 10/e7172696db404676d297cd5661b195de110593769f9ce37f32bdb5576ca00c56d32fcb04172a91102986fdda27a13962d909ad9466869a2991611d658ee6ac92
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/utils@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/utils@npm:0.0.1"
|
||||
checksum: 10/4bf89955ccf4dafb2ef34f007fc0a12bd6d983a10c4219464a6b1c07e7bfe80ff26f156fa201b3f11ad53adca0abb261fc7ee43b86dcdc10fa0f5325788359ae
|
||||
"@polkadot-api/utils@npm:0.1.0":
|
||||
version: 0.1.0
|
||||
resolution: "@polkadot-api/utils@npm:0.1.0"
|
||||
checksum: 10/c557daea91ddb03e16b93c7c5a75533495c7b77cbbbdc2b4f5e97af0c1e1132a47e434c9c729a08241bd7b3624b6644ac0950f914aa8b29a0f419bf0fd224c7c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@npm:12.2.2, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@npm:13.0.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
||||
dependencies:
|
||||
"@polkadot/api-base": "npm:12.2.2"
|
||||
"@polkadot/rpc-augment": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-augment": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/api-base": "npm:13.0.1"
|
||||
"@polkadot/rpc-augment": "npm:13.0.1"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-augment": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@npm:12.2.2, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@npm:13.0.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
||||
dependencies:
|
||||
"@polkadot/rpc-core": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/rpc-core": "npm:13.0.1"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -474,93 +477,93 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.2.2"
|
||||
"@polkadot/api-augment": "npm:12.2.2"
|
||||
"@polkadot/api": "npm:13.0.1"
|
||||
"@polkadot/api-augment": "npm:13.0.1"
|
||||
"@polkadot/keyring": "npm:^13.0.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types-create": "npm:12.2.2"
|
||||
"@polkadot/types-support": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/types-create": "npm:13.0.1"
|
||||
"@polkadot/types-support": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@npm:12.2.2, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@npm:13.0.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.2.2"
|
||||
"@polkadot/api-augment": "npm:12.2.2"
|
||||
"@polkadot/api-base": "npm:12.2.2"
|
||||
"@polkadot/rpc-augment": "npm:12.2.2"
|
||||
"@polkadot/rpc-core": "npm:12.2.2"
|
||||
"@polkadot/rpc-provider": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types-support": "npm:12.2.2"
|
||||
"@polkadot/api": "npm:13.0.1"
|
||||
"@polkadot/api-augment": "npm:13.0.1"
|
||||
"@polkadot/api-base": "npm:13.0.1"
|
||||
"@polkadot/rpc-augment": "npm:13.0.1"
|
||||
"@polkadot/rpc-core": "npm:13.0.1"
|
||||
"@polkadot/rpc-provider": "npm:13.0.1"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/types-support": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@npm:12.2.2, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@npm:13.0.1, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@polkadot/api-augment": "npm:12.2.2"
|
||||
"@polkadot/api-base": "npm:12.2.2"
|
||||
"@polkadot/api-derive": "npm:12.2.2"
|
||||
"@polkadot/api-augment": "npm:13.0.1"
|
||||
"@polkadot/api-base": "npm:13.0.1"
|
||||
"@polkadot/api-derive": "npm:13.0.1"
|
||||
"@polkadot/keyring": "npm:^13.0.2"
|
||||
"@polkadot/rpc-augment": "npm:12.2.2"
|
||||
"@polkadot/rpc-core": "npm:12.2.2"
|
||||
"@polkadot/rpc-provider": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-augment": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types-create": "npm:12.2.2"
|
||||
"@polkadot/types-known": "npm:12.2.2"
|
||||
"@polkadot/types-support": "npm:12.2.2"
|
||||
"@polkadot/rpc-augment": "npm:13.0.1"
|
||||
"@polkadot/rpc-core": "npm:13.0.1"
|
||||
"@polkadot/rpc-provider": "npm:13.0.1"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-augment": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/types-create": "npm:13.0.1"
|
||||
"@polkadot/types-known": "npm:13.0.1"
|
||||
"@polkadot/types-support": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/dev-test@npm:^0.79.3":
|
||||
version: 0.79.3
|
||||
resolution: "@polkadot/dev-test@npm:0.79.3"
|
||||
"@polkadot/dev-test@npm:^0.80.1":
|
||||
version: 0.80.1
|
||||
resolution: "@polkadot/dev-test@npm:0.80.1"
|
||||
dependencies:
|
||||
jsdom: "npm:^24.0.0"
|
||||
tslib: "npm:^2.6.2"
|
||||
checksum: 10/30c3145c174e09416d713bcd5eb93e13c6f90f71f2d75defbdc11aa09d87d88aad222ef8ca33e8372317692aa51eb976fbf60c9ccf0901f6db0275a550915c69
|
||||
tslib: "npm:^2.7.0"
|
||||
checksum: 10/bb9cce4ace945b820f2f7192c945a8fa1920f650e8415f3f5c00d7e8b1fd80807623944a8d05b127c51ae488d28345e9c876e4bff2f14e4ac824c09073b71d97
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/dev-ts@npm:^0.79.3":
|
||||
version: 0.79.3
|
||||
resolution: "@polkadot/dev-ts@npm:0.79.3"
|
||||
"@polkadot/dev-ts@npm:^0.80.1":
|
||||
version: 0.80.1
|
||||
resolution: "@polkadot/dev-ts@npm:0.80.1"
|
||||
dependencies:
|
||||
json5: "npm:^2.2.3"
|
||||
tslib: "npm:^2.6.2"
|
||||
typescript: "npm:^5.3.3"
|
||||
checksum: 10/097d579647abda70fe71c98c5c9aa79488a25af27a5d17c754dc70aad33770a49637a1d297aa0d50863b6db2e606dffa005c4336886b0030c73eef34180c6863
|
||||
tslib: "npm:^2.7.0"
|
||||
typescript: "npm:^5.5.4"
|
||||
checksum: 10/aa8f52edc0aae9d3ddfb7485fa15a4a370a236ce519761502904fbd3208e65ebd16ab7a501169a9ef26d4878255b27a330ebc779317eaeacf084884853a49209
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/dev@npm:^0.79.3":
|
||||
version: 0.79.3
|
||||
resolution: "@polkadot/dev@npm:0.79.3"
|
||||
"@polkadot/dev@npm:^0.80.1":
|
||||
version: 0.80.1
|
||||
resolution: "@polkadot/dev@npm:0.80.1"
|
||||
dependencies:
|
||||
"@eslint/js": "npm:^8.56.0"
|
||||
"@polkadot/dev-test": "npm:^0.79.3"
|
||||
"@polkadot/dev-ts": "npm:^0.79.3"
|
||||
"@polkadot/dev-test": "npm:^0.80.1"
|
||||
"@polkadot/dev-ts": "npm:^0.80.1"
|
||||
"@rollup/plugin-alias": "npm:^5.1.0"
|
||||
"@rollup/plugin-commonjs": "npm:^25.0.7"
|
||||
"@rollup/plugin-dynamic-import-vars": "npm:^2.1.2"
|
||||
@@ -593,8 +596,8 @@ __metadata:
|
||||
madge: "npm:^6.1.0"
|
||||
rollup: "npm:^4.9.6"
|
||||
rollup-plugin-cleanup: "npm:^3.2.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
typescript: "npm:^5.3.3"
|
||||
tslib: "npm:^2.7.0"
|
||||
typescript: "npm:^5.5.4"
|
||||
webpack: "npm:^5.89.0"
|
||||
webpack-cli: "npm:^5.1.4"
|
||||
webpack-dev-server: "npm:^4.15.1"
|
||||
@@ -625,7 +628,7 @@ __metadata:
|
||||
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
|
||||
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
|
||||
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
|
||||
checksum: 10/fa7b6834ce28e16f2287d26cad481e43ec047d015ba38ffb3b2953326e087191a7393d1d55cb5973dd3803bc07258312946dec98a2cf0956c657283a7c49341d
|
||||
checksum: 10/f8fd42bd5a05db0d2cea92bdd5cd1ea8483c0afa1c92b58edac691d572df97bf4fff1e983b4e1a28e5881bcadc095726f6c661e277932137538c53699ed1dd02
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -654,49 +657,49 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@npm:12.2.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@npm:13.0.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
||||
dependencies:
|
||||
"@polkadot/rpc-core": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/rpc-core": "npm:13.0.1"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@npm:12.2.2, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@npm:13.0.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^13.0.2"
|
||||
"@polkadot/rpc-augment": "npm:12.2.2"
|
||||
"@polkadot/rpc-provider": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/rpc-augment": "npm:13.0.1"
|
||||
"@polkadot/rpc-provider": "npm:13.0.1"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@npm:12.2.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@npm:13.0.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^13.0.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-support": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-support": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
"@polkadot/x-fetch": "npm:^13.0.2"
|
||||
"@polkadot/x-global": "npm:^13.0.2"
|
||||
"@polkadot/x-ws": "npm:^13.0.2"
|
||||
"@substrate/connect": "npm:0.8.10"
|
||||
"@substrate/connect": "npm:0.8.11"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
mock-socket: "npm:^9.3.1"
|
||||
nock: "npm:^13.5.0"
|
||||
tslib: "npm:^2.6.2"
|
||||
nock: "npm:^13.5.4"
|
||||
tslib: "npm:^2.7.0"
|
||||
dependenciesMeta:
|
||||
"@substrate/connect":
|
||||
optional: true
|
||||
@@ -707,21 +710,21 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.2.2"
|
||||
"@polkadot/api-augment": "npm:12.2.2"
|
||||
"@polkadot/rpc-augment": "npm:12.2.2"
|
||||
"@polkadot/rpc-provider": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-augment": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types-create": "npm:12.2.2"
|
||||
"@polkadot/types-support": "npm:12.2.2"
|
||||
"@polkadot/api": "npm:13.0.1"
|
||||
"@polkadot/api-augment": "npm:13.0.1"
|
||||
"@polkadot/rpc-augment": "npm:13.0.1"
|
||||
"@polkadot/rpc-provider": "npm:13.0.1"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-augment": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/types-create": "npm:13.0.1"
|
||||
"@polkadot/types-support": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
"@polkadot/x-ws": "npm:^13.0.2"
|
||||
"@types/yargs": "npm:^17.0.32"
|
||||
"@types/yargs": "npm:^17.0.33"
|
||||
handlebars: "npm:^4.7.8"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
yargs: "npm:^17.7.2"
|
||||
bin:
|
||||
polkadot-types-chain-info: ./scripts/polkadot-types-chain-info.mjs
|
||||
@@ -732,78 +735,78 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@npm:12.2.2, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@npm:13.0.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@npm:12.2.2, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@npm:13.0.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-augment": "npm:12.2.2"
|
||||
"@polkadot/types-support": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-augment": "npm:13.0.1"
|
||||
"@polkadot/types-support": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
"@polkadot/x-bigint": "npm:^13.0.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@npm:12.2.2, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@npm:13.0.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@npm:12.2.2, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@npm:13.0.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.2.2"
|
||||
"@polkadot/api": "npm:13.0.1"
|
||||
"@polkadot/networks": "npm:^13.0.2"
|
||||
"@polkadot/types": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types-create": "npm:12.2.2"
|
||||
"@polkadot/types": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/types-create": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@npm:12.2.2, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@npm:13.0.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@npm:12.2.2, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@npm:13.0.1, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^13.0.2"
|
||||
"@polkadot/types-augment": "npm:12.2.2"
|
||||
"@polkadot/types-codec": "npm:12.2.2"
|
||||
"@polkadot/types-create": "npm:12.2.2"
|
||||
"@polkadot/types-support": "npm:12.2.2"
|
||||
"@polkadot/types-augment": "npm:13.0.1"
|
||||
"@polkadot/types-codec": "npm:13.0.1"
|
||||
"@polkadot/types-create": "npm:13.0.1"
|
||||
"@polkadot/types-support": "npm:13.0.1"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
tslib: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -1224,39 +1227,39 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@substrate/connect-known-chains@npm:^1.1.4":
|
||||
version: 1.1.4
|
||||
resolution: "@substrate/connect-known-chains@npm:1.1.4"
|
||||
checksum: 10/17fdce09bf2ba042371910a5e1c701d7db7e40b7c021eb67f36ed2d28175b8846e01eb2438be03827e2cd2654d35be5a1a248c36e9588ccdbe4545da0bee5047
|
||||
"@substrate/connect-known-chains@npm:^1.1.5":
|
||||
version: 1.3.0
|
||||
resolution: "@substrate/connect-known-chains@npm:1.3.0"
|
||||
checksum: 10/8d3e08fd0fbd411989f13223ee679978de91c41b366541e7fbb0201307314cf776d8255eaf19bd8cb6c678ad06e3e7c488c4f7bc1789098452616aa8e8d67333
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@substrate/connect@npm:0.8.10":
|
||||
version: 0.8.10
|
||||
resolution: "@substrate/connect@npm:0.8.10"
|
||||
"@substrate/connect@npm:0.8.11":
|
||||
version: 0.8.11
|
||||
resolution: "@substrate/connect@npm:0.8.11"
|
||||
dependencies:
|
||||
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
||||
"@substrate/connect-known-chains": "npm:^1.1.4"
|
||||
"@substrate/light-client-extension-helpers": "npm:^0.0.6"
|
||||
smoldot: "npm:2.0.22"
|
||||
checksum: 10/078c08d12eb12b55b2c8ee0e0c335284db07d13b48cc5329db68a6376173f1fb6b2357fb47f8ec4da7b66f4230d9bc2c3873beb66d755c475969d1cdbbec316f
|
||||
"@substrate/connect-known-chains": "npm:^1.1.5"
|
||||
"@substrate/light-client-extension-helpers": "npm:^1.0.0"
|
||||
smoldot: "npm:2.0.26"
|
||||
checksum: 10/380ba85aa3aec4439fae2ee42173376615ca60262d9c37e6e43d1d65d0d0f63f38c009bb476e9a612b0b9985c1b5808c4d9a75aff9e1828c77e75c8b7584d824
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@substrate/light-client-extension-helpers@npm:^0.0.6":
|
||||
version: 0.0.6
|
||||
resolution: "@substrate/light-client-extension-helpers@npm:0.0.6"
|
||||
"@substrate/light-client-extension-helpers@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "@substrate/light-client-extension-helpers@npm:1.0.0"
|
||||
dependencies:
|
||||
"@polkadot-api/json-rpc-provider": "npm:0.0.1"
|
||||
"@polkadot-api/json-rpc-provider-proxy": "npm:0.0.1"
|
||||
"@polkadot-api/observable-client": "npm:0.1.0"
|
||||
"@polkadot-api/substrate-client": "npm:0.0.1"
|
||||
"@polkadot-api/json-rpc-provider": "npm:^0.0.1"
|
||||
"@polkadot-api/json-rpc-provider-proxy": "npm:^0.1.0"
|
||||
"@polkadot-api/observable-client": "npm:^0.3.0"
|
||||
"@polkadot-api/substrate-client": "npm:^0.1.2"
|
||||
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
||||
"@substrate/connect-known-chains": "npm:^1.1.4"
|
||||
"@substrate/connect-known-chains": "npm:^1.1.5"
|
||||
rxjs: "npm:^7.8.1"
|
||||
peerDependencies:
|
||||
smoldot: 2.x
|
||||
checksum: 10/1a3576019538c8150dd56ddae3ec6ed7b6272af72cd6d17cbb5de76d6ae554af2a0bf72bbb9ffd4b9c64c9eb9ee3f13caaad57e01c5173e35a0cb799fd27574a
|
||||
checksum: 10/ca0726e8271aa9eb4f1edbb13e7f6986d45c9a4ae9a73a1a14aa9a41552821ca291a33459b7e8fc1ec1bde1ead9336a8bca4fb8781c060d5cbdd7e59ca96cb2d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -1419,12 +1422,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/node@npm:*, @types/node@npm:^20.11.6":
|
||||
version: 20.11.6
|
||||
resolution: "@types/node@npm:20.11.6"
|
||||
"@types/node@npm:*, @types/node@npm:^20.15.0":
|
||||
version: 20.15.0
|
||||
resolution: "@types/node@npm:20.15.0"
|
||||
dependencies:
|
||||
undici-types: "npm:~5.26.4"
|
||||
checksum: 10/375dfc75f0aa8b7fb99382d84c317e5dab2969dcc3f54d8490b119151060923eae6483839552347bc78262bbcefb2951ee131e15372f4e80b755be2dda9afe80
|
||||
undici-types: "npm:~6.13.0"
|
||||
checksum: 10/bec475ee6c54dc575ec4d322753df484af2b96e3afdd3f6f8e594353b3918ca5f420e7c30845225661a14a7522fa421d15294fbf68ed7ae16f4ae7942ca809bd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -1516,12 +1519,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/yargs@npm:^17.0.32":
|
||||
version: 17.0.32
|
||||
resolution: "@types/yargs@npm:17.0.32"
|
||||
"@types/yargs@npm:^17.0.33":
|
||||
version: 17.0.33
|
||||
resolution: "@types/yargs@npm:17.0.33"
|
||||
dependencies:
|
||||
"@types/yargs-parser": "npm:*"
|
||||
checksum: 10/1e2b2673847011ce43607df690d392f137d95a2d6ea85aa319403eadda2ef4277365efd4982354d8843f2611ef3846c88599660aaeb537fa9ccddae83c2a89de
|
||||
checksum: 10/16f6681bf4d99fb671bf56029141ed01db2862e3db9df7fc92d8bea494359ac96a1b4b1c35a836d1e95e665fb18ad753ab2015fc0db663454e8fd4e5d5e2ef91
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -6676,14 +6679,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"nock@npm:^13.5.0":
|
||||
version: 13.5.0
|
||||
resolution: "nock@npm:13.5.0"
|
||||
"nock@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "nock@npm:13.5.4"
|
||||
dependencies:
|
||||
debug: "npm:^4.1.0"
|
||||
json-stringify-safe: "npm:^5.0.1"
|
||||
propagate: "npm:^2.0.0"
|
||||
checksum: 10/347e6804d3eadb2ec81e3a0808b4cf8d826e5a6b52aa91b31db9c78c9afb58f0af0d1c941dff13d78ff99968b025dea9593f341cc515463270cb69d8e293c9cf
|
||||
checksum: 10/75bad391bae4efb81b742734af5f2d87309cd93d3ca6b78372fd37946d78ccb254d79104676619866915e6734abfc1b00fee2aa42073a4843ca3c746aad35a4d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -7942,9 +7945,9 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "root-workspace-0b6124@workspace:."
|
||||
dependencies:
|
||||
"@polkadot/dev": "npm:^0.79.3"
|
||||
"@polkadot/dev": "npm:^0.80.1"
|
||||
"@polkadot/typegen": "workspace:packages/typegen"
|
||||
"@types/node": "npm:^20.11.6"
|
||||
"@types/node": "npm:^20.15.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -8329,12 +8332,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"smoldot@npm:2.0.22":
|
||||
version: 2.0.22
|
||||
resolution: "smoldot@npm:2.0.22"
|
||||
"smoldot@npm:2.0.26":
|
||||
version: 2.0.26
|
||||
resolution: "smoldot@npm:2.0.26"
|
||||
dependencies:
|
||||
ws: "npm:^8.8.1"
|
||||
checksum: 10/8d63720ff7aee9ff4cbfb3d6952c68781aaaecf49fcb20d8b76919e854975b029071778c4c3bd50a18a4c3e0c96857b2b6daa526bbad4a3bee20f2aad8dfe388
|
||||
checksum: 10/b975c8ef16e2286b2eddc8c19c18080bd528f27e9abc0e2731304823e67ebe1fc71b01bed2c070d00da1f7e2f69e25c159c976d27eb1796de4a978362dae701e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -8925,10 +8928,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.6.2":
|
||||
version: 2.6.2
|
||||
resolution: "tslib@npm:2.6.2"
|
||||
checksum: 10/bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca
|
||||
"tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.6.2, tslib@npm:^2.7.0":
|
||||
version: 2.7.0
|
||||
resolution: "tslib@npm:2.7.0"
|
||||
checksum: 10/9a5b47ddac65874fa011c20ff76db69f97cf90c78cff5934799ab8894a5342db2d17b4e7613a087046bc1d133d21547ddff87ac558abeec31ffa929c88b7fce6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9071,23 +9074,23 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:^5.3.3":
|
||||
version: 5.3.3
|
||||
resolution: "typescript@npm:5.3.3"
|
||||
"typescript@npm:^5.5.4":
|
||||
version: 5.5.4
|
||||
resolution: "typescript@npm:5.5.4"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/6e4e6a14a50c222b3d14d4ea2f729e79f972fa536ac1522b91202a9a65af3605c2928c4a790a4a50aa13694d461c479ba92cedaeb1e7b190aadaa4e4b96b8e18
|
||||
checksum: 10/1689ccafef894825481fc3d856b4834ba3cc185a9c2878f3c76a9a1ef81af04194849840f3c69e7961e2312771471bb3b460ca92561e1d87599b26c37d0ffb6f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>":
|
||||
version: 5.3.3
|
||||
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
|
||||
"typescript@patch:typescript@npm%3A^5.5.4#optional!builtin<compat/typescript>":
|
||||
version: 5.5.4
|
||||
resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>::version=5.5.4&hash=379a07"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/c93786fcc9a70718ba1e3819bab56064ead5817004d1b8186f8ca66165f3a2d0100fee91fa64c840dcd45f994ca5d615d8e1f566d39a7470fc1e014dbb4cf15d
|
||||
checksum: 10/746fdd0865c5ce4f15e494c57ede03a9e12ede59cfdb40da3a281807853fe63b00ef1c912d7222143499aa82f18b8b472baa1830df8804746d09b55f6cf5b1cc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9112,10 +9115,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"undici-types@npm:~5.26.4":
|
||||
version: 5.26.5
|
||||
resolution: "undici-types@npm:5.26.5"
|
||||
checksum: 10/0097779d94bc0fd26f0418b3a05472410408877279141ded2bd449167be1aed7ea5b76f756562cb3586a07f251b90799bab22d9019ceba49c037c76445f7cddd
|
||||
"undici-types@npm:~6.13.0":
|
||||
version: 6.13.0
|
||||
resolution: "undici-types@npm:6.13.0"
|
||||
checksum: 10/da52e37cbc6da3a75da86fa08dd795ca8924430deb91005eb884b840e46e19013ccd4c1c289f70018e8cf0c338add24a500e7c3acfcd49b1ffb27ff9f91e38b9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user